.island-shop.overlay-page{padding:0!important;background:#ffedcc;overflow:hidden}
.island-shop>div{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;border:0!important;border-radius:0!important;padding:0!important;box-shadow:none!important;background:#fff0d0 url('assets/shop-island-bg.webp') center/100% 100% no-repeat!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
.island-shop-head{height:24%;flex:none;display:flex;align-items:flex-start;justify-content:space-between;padding:24px 28px 0}
.island-shop-head h1{width:40%;margin:0;padding:14px 12px;color:#fff3cc;background:#9d5a2a;border:3px solid #e9b76d;border-radius:22px;text-shadow:0 3px #653011;font-size:36px;line-height:1.1;text-align:center}
.island-shop.has-shop-art .island-shop-head h1{visibility:hidden}
.island-shop-head nav{display:flex;gap:10px;align-items:center;padding-top:8px}
.island-shop-head nav>*{display:flex;align-items:center;gap:6px;border:2px solid #d6a15d;border-radius:28px;padding:10px 17px;font:900 21px/1.2 'Microsoft YaHei',sans-serif;white-space:nowrap;box-shadow:0 3px 0 #c7965555;color:#613116;background:#fff4dc}
.island-shop-head nav button{cursor:pointer;touch-action:manipulation}
.island-shop-head nav .island-bag{background:linear-gradient(#42d6ba,#06a99a);color:#fffbe9;border-color:#07675c}
.island-shop-head nav .island-home{background:linear-gradient(#39c8fa,#008be4);color:#fffbed;border-color:#086ea4}.island-home svg{width:25px;height:25px;fill:currentColor}
.island-shop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:16px;flex:1;min-height:0;margin:0 28px}
.island-product{position:relative;display:grid;grid-template-columns:47% minmax(0,1fr);gap:10px;padding:10px;background:#fff8e7;border:2px solid #c88a22;border-radius:24px;box-shadow:inset 0 0 0 4px #ffe4a5,0 4px 0 #d9ae64;min-width:0;min-height:0}
.island-product-photo{position:relative;min-width:0;min-height:0;border-radius:16px;overflow:hidden;background:#f1e0bf}
.island-product-photo img{position:absolute;width:100%;height:100%;object-fit:cover;inset:0}
.island-photo-pending{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;background:linear-gradient(145deg,#faecd2,#e9d7b6);color:#97754a;text-align:center}.island-photo-pending[hidden]{display:none}.island-photo-pending span{font-size:38px}.island-photo-pending small{font-size:13px;font-weight:700}
.island-product-info{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:5px 0;border-left:1px dashed #e4bd72;padding-left:10px}
.island-product-info h2{font:900 23px/1.2 'Microsoft YaHei',sans-serif;color:#60280f;margin:0 0 5px;overflow-wrap:anywhere}
.island-product-info p{font-size:16px;font-weight:800;line-height:1.25;color:#6b3219;margin:0 0 6px}
.island-product-bottom{display:flex;flex-direction:column;gap:7px}.island-product-bottom strong{font-size:19px;color:#6b3219;white-space:nowrap}
.island-exchange,.island-confirm-buy{border:1px solid #e77819;border-radius:25px;background:linear-gradient(#ffa336,#ff701f);color:white;font-weight:900;font-size:20px;padding:6px;cursor:pointer;box-shadow:inset 0 2px #ffd58d,0 2px #ce591a;touch-action:manipulation}
.island-exchange:disabled{background:#d2c6b0;color:#796a51;border-color:#b4a48b;box-shadow:none;cursor:default}
.island-shop-foot{height:14%;flex:none;display:flex;align-items:center;justify-content:center;color:#fffbed;font-size:18px;font-weight:800;text-shadow:0 1px #075679}
.island-shop-foot::before{content:'';position:absolute;bottom:3%;left:29%;right:29%;height:7%;border:2px solid #fff0d2;border-radius:30px;background:#139ec7;z-index:-1}
.island-shop-foot{isolation:isolate;position:relative}.island-shop-foot::before{inset:25% 22%;height:auto}
.island-confirm{position:absolute;inset:0;z-index:50;background:#153c466e;display:grid;place-items:center}.island-confirm>div{background:#fff7e3;border:3px solid #d9ac64;border-radius:24px;padding:24px;text-align:center;color:#65351d;min-width:360px}.island-confirm p{font-size:19px;margin:14px 0}.island-confirm strong{font-size:23px}.island-confirm button{margin:8px;padding:10px 24px;font-size:18px;border-radius:24px}.island-cancel{background:#fff9eb;border:1px solid #c9a572;color:#694c2a;cursor:pointer}
/* Fill the remaining three games without changing their logical input mapping. */
.responsive-game .modal-mask:has(.night-modal,.float-modal,.putt-modal){padding:0!important;background:#07556a;backdrop-filter:none}
.responsive-game :is(.night-modal,.float-modal,.putt-modal){width:100%!important;height:100%!important;max-height:none!important;border:0!important;border-radius:0!important;scale:1!important;box-shadow:none!important;flex:none}
.responsive-game :is(.night-body,.float-body,.putt-body){flex:1!important;min-height:0;display:flex!important;flex-direction:column;overflow:hidden}
.responsive-game :is(.night-arena,.float-arena,.putt-scene){flex:1;min-height:0;height:auto}
.responsive-game :is(.night-footer,.float-footer,.putt-bar){flex:none}
