/* Compact shelves share the approved product artwork and the existing dialog shell. */
.shop-page{color:#41634c;}
.shop-topline{display:flex;justify-content:flex-end;align-items:center;margin:0 0 9px;min-height:30px;}
.shop-wallet{display:inline-flex;align-items:center;gap:6px;padding:5px 11px;background:#f2e8c9;border:1px solid #ddc996;border-radius:999px;color:#806439;font-variant-numeric:tabular-nums;font-size:15px;font-weight:750;line-height:1;}
.shop-coin{display:inline-block;width:18px;height:18px;vertical-align:middle;flex-shrink:0;}
.shop-coin svg{width:100%;height:100%;display:block;}
.shop-categories{display:flex;gap:6px;overflow-x:auto;padding:0 0 10px;margin:0 0 10px;scrollbar-width:thin;}
.shop-categories button{flex:1 0 auto;min-height:44px;padding:8px 13px;border:1px solid #ddd3b3;border-radius:12px;background:#faf6e5;color:#8c8b6d;font-size:12px;white-space:nowrap;}
.shop-categories button[aria-pressed=true]{background:#e0e9cb;border-color:#91aa79;color:#3d684a;font-weight:800;box-shadow:inset 0 -2px 0 #8da56b26;}
.shop-page .store-grid{gap:12px;}
.shop-page .store-card{border-radius:18px;display:flex;flex-direction:column;}
.shop-page .store-picture{height:150px;flex-shrink:0;}
.shop-page .store-picture img{height:141px;max-width:100%;}
.shop-page .store-picture .shop-count{position:absolute;top:auto;left:auto;right:9px;bottom:9px;min-width:27px;height:27px;display:grid;place-items:center;padding:2px 7px;border-radius:9px;background:#fffbeded;border:1px solid #c8d0a3;color:#486b4e;font-size:13px;font-weight:800;line-height:1;box-shadow:0 2px 5px #4e683419;}
.shop-page .store-copy{padding:12px;display:flex;flex-direction:column;flex:1;}
.shop-page .store-copy h4{font-size:15px;line-height:1.5;margin:0 0 4px;}
.shop-page .store-copy p{font-size:11px;line-height:1.65;min-height:0;margin:0 0 10px;color:#8a8b71;}
.shop-page .store-copy>div{display:flex;flex-direction:row;align-items:center;justify-content:space-between;margin-top:auto;gap:6px;}
.shop-price{display:inline-flex;align-items:center;gap:4px;font-size:17px!important;color:#967340;white-space:nowrap;}
.shop-price .shop-coin{width:15px;height:15px;}
.shop-page .store-copy button{min-height:44px;padding:8px 12px;font-size:12px;border-radius:12px;}
.shop-page .store-picture>.game-icon{width:105px;height:105px;}
.shop-page .store-picture .white-shrimp-portrait{width:128px;height:128px;}
.shop-selection{margin:0 0 13px;display:flex;align-items:center;gap:9px;}
.shop-selection label{font-size:12px;white-space:nowrap;color:#7f8769;}
.shop-selection select{min-width:0;flex:1;min-height:44px;padding:7px 10px;border:1px solid #d4c9a5;border-radius:11px;background:#fffbed;color:#486a50;font:inherit;font-size:12px;}
.shop-seed-chooser{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:0 0 13px;}
.shop-seed-chooser button{position:relative;min-width:0;min-height:124px;padding:8px 4px;border:1px solid #dcd1af;border-radius:14px;background:#fbf7e7;color:#657759;display:flex;flex-direction:column;align-items:center;gap:4px;}
.shop-seed-chooser button[aria-pressed=true]{border:2px solid #8da97a;padding:7px 3px;background:#e9efd8;color:#3a6349;}
.shop-seed-chooser .game-icon,.shop-seed-chooser .white-shrimp-portrait{width:59px;height:59px;}
.shop-seed-chooser b{font-size:12px;line-height:1.4;}.shop-seed-chooser small{font-size:10px;color:#9a885d;}
.shop-seed-heading{font-size:15px;margin:8px 0;color:#47694f;}
.shop-note{font-size:11px;line-height:1.7;color:#8b8d73;margin:10px 0;}
.shop-status{padding:13px;border:1px solid #d8d6b6;border-radius:13px;background:#f1f1dd;font-size:12px;line-height:1.8;margin:12px 0;}
.shop-status button{margin-top:9px;min-height:44px;display:block;width:100%;}
.shop-seed-quantity{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;}
.shop-seed-quantity button{min-height:116px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border:1px solid #c3ce9f;border-radius:14px;background:#f4f3dd;color:#48684e;padding:10px 5px;}
.shop-seed-quantity b{font-size:19px;}.shop-seed-quantity b small{font-size:10px;margin-left:2px;}.shop-seed-quantity .shop-price{font-size:14px!important;}.shop-seed-quantity em{font-style:normal;font-size:10px;color:#8d8d6a;}
.shop-custom-count{margin-top:13px;padding:12px;border:1px solid #ddd1ad;border-radius:13px;}.shop-custom-count label{display:block;font-size:12px;margin-bottom:8px;}.shop-custom-count>div{display:flex;gap:9px;}.shop-custom-count input{width:0;flex:1;min-height:44px;border:1px solid #c8c9a7;border-radius:10px;padding:8px;font:inherit;background:#fffdf3;}.shop-custom-count button{min-height:44px;padding:8px 12px;}.shop-custom-count small{font-size:10px;line-height:1.6;display:block;color:#91866a;margin-top:6px;}
.facility-ui[data-panel=shop] [data-action-notes],.facility-ui[data-panel=shop] [data-action-notes-wrapper]{display:none;}
@media(max-width:620px){.shop-page .store-grid{gap:9px;}.shop-page .store-picture{height:132px;}.shop-page .store-picture img{height:127px;}.shop-page .store-copy{padding:10px;}.shop-page .store-copy h4{font-size:13px;}.shop-page .store-copy p{font-size:10px;}.shop-page .store-copy>div{flex-wrap:wrap;gap:7px;}.shop-page .store-copy button{width:auto;flex:1;padding:8px 9px;}.shop-page .shop-price{font-size:16px!important;}.shop-categories button{padding:7px 11px;font-size:12px;}.shop-seed-chooser{gap:5px;}.shop-seed-chooser button{min-height:116px;}.shop-seed-chooser b{font-size:11px;}.shop-seed-chooser .game-icon,.shop-seed-chooser .white-shrimp-portrait{width:55px;height:55px;}}
@media(max-height:500px) and (orientation:landscape){.shop-page .store-grid{grid-template-columns:repeat(3,minmax(0,1fr));}.shop-page .store-picture{height:110px;}.shop-page .store-picture img{height:105px;}.shop-topline{margin-bottom:5px;}.shop-seed-chooser{max-width:480px;}.shop-page .store-copy p{display:none;}}

.facility-ui[data-panel=shop] .play-notes{display:none!important;}
.shop-topline{position:sticky;top:0;z-index:3;background:linear-gradient(#fffbea 85%,#fffbea00);}
.shop-categories{position:sticky;top:39px;z-index:2;background:#fffbea;}
.shop-page .shop-single-shelf{grid-template-columns:minmax(0,540px)!important;}
.shop-page .shop-single-shelf .store-card{display:grid;grid-template-columns:43% minmax(0,1fr);}
.shop-page .shop-single-shelf .store-picture{height:190px;}
.shop-page .shop-single-shelf .store-picture img{width:100%;height:170px;}
.shop-page .shop-single-shelf .store-copy{justify-content:center;padding:15px;}
.shop-page .shop-single-shelf .store-copy>div{margin-top:10px;flex-wrap:wrap;}
.shop-seed-art{display:grid;place-items:center;position:relative;width:100%;height:59px;}
.shop-seed-portrait{display:block;width:100%;height:59px;object-fit:contain;}
.shop-seed-count{position:absolute;right:0;bottom:0;min-width:18px;padding:2px 4px;border-radius:6px;background:#fffce8e8;border:1px solid #ccd1b2;color:#607653;font-size:9px;line-height:1.2;}
@media(max-width:620px){.shop-page .shop-single-shelf .store-copy{padding:12px;}.shop-page .shop-single-shelf .store-copy button{flex:auto;width:100%;}.shop-page .shop-single-shelf .store-picture{height:185px;}.shop-seed-art{height:55px;}}
.shop-page .shop-single-shelf .store-picture{height:auto;min-height:195px;}
.shop-page .store-copy .shop-equipment-note{display:block;font-size:11px;line-height:1.7;color:#957e50;}
.shop-seed-chooser button:disabled{opacity:1;cursor:default;background:#f1efdf;color:#8c987d;}
.shop-seed-chooser button:disabled .game-icon,.shop-seed-chooser button:disabled .white-shrimp-portrait{opacity:.65;}
.shop-seed-chooser button:disabled .shop-seed-portrait{opacity:.65;}
@media(max-width:620px){.shop-seed-portrait{height:55px;}}
@media(max-height:500px) and (orientation:landscape){
 .shop-page{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:10px;}
 .shop-topline{grid-column:2;grid-row:1;min-height:44px;margin:0;top:0;}
 .shop-categories{grid-column:1;grid-row:1;top:0;margin:0;padding:0;min-width:0;}
 #shop-shelf{grid-column:1/-1;margin-top:11px;}
 .shop-page .store-picture{height:88px;}.shop-page .store-picture img{height:84px;}
 .shop-page .store-copy{padding:9px;}.shop-page .store-copy h4{font-size:13px;margin-bottom:3px;}
 .shop-page .shop-single-shelf .store-picture{min-height:155px;}
}
