.shop-screen{width:min(100%,1180px);margin-inline:auto}
.gamepad-icon{display:block;width:38px;height:38px;object-fit:contain}.mobile-home-card-games .gamepad-icon{width:42px;height:42px}.mobile-home-card-games .mobile-home-card-icon{overflow:visible}.game-card-nekobox{border-color:rgba(255,190,108,.42);background:radial-gradient(circle at 88% 8%,rgba(255,180,79,.18),transparent 36%),linear-gradient(145deg,#302d48,#1c2538)}.nekobox-card-icon{overflow:hidden;border-color:rgba(255,211,137,.56);background:linear-gradient(145deg,#fff1d0,#e6a34a)}.nekobox-card-icon img{display:block;width:100%;height:100%;object-fit:contain}.game-coming-soon{display:inline-flex;align-items:center;min-height:38px;padding:8px 13px;border:1px solid rgba(255,220,153,.5);border-radius:999px;color:#3c280e;background:linear-gradient(135deg,#ffe3a6,#eeb665);font-size:.78rem;font-weight:900;letter-spacing:.04em}
.shop-top-button{display:grid;place-items:center;flex:none;width:31px;height:31px;margin-right:10px;padding:6px;border:1px solid var(--line);border-radius:50%;color:var(--cream);background:var(--surface)}.shop-top-button[hidden]{display:none!important}.shop-top-button:hover{border-color:#f2a9bf;color:#f2a9bf}.shop-top-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.mobile-home-card-shop{border-color:rgba(242,169,191,.38);background:linear-gradient(145deg,#5c3d50,#302b39)}
.shop-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:28px;margin:18px 0 26px;padding:clamp(22px,4vw,38px);overflow:hidden;border:1px solid rgba(255,178,202,.34);border-radius:28px;background:radial-gradient(circle at 87% 8%,rgba(255,190,211,.19),transparent 28%),linear-gradient(135deg,rgba(62,35,57,.96),rgba(26,38,54,.96));box-shadow:0 24px 60px rgba(3,7,15,.32)}
.shop-hero h1{margin:4px 0 10px;font-size:clamp(2.25rem,6vw,4.6rem);line-height:.94;letter-spacing:-.055em}.shop-hero h1 em{color:#ffc4d6;font-style:normal}.shop-hero .intro{max-width:620px;margin:0}
.shop-wallet{display:flex;align-items:center;gap:13px;min-width:235px;padding:15px 18px;border:1px solid rgba(255,224,153,.45);border-radius:18px;background:rgba(10,14,26,.62);box-shadow:inset 0 1px rgba(255,255,255,.08)}
.shop-wallet>span{display:grid;place-items:center;width:46px;height:46px;border-radius:15px;color:#30250e;background:linear-gradient(145deg,#ffe69a,#dba74e);font-size:1.35rem;box-shadow:0 8px 20px rgba(218,164,73,.24)}.shop-wallet small,.shop-wallet strong{display:block}.shop-wallet small{margin-bottom:2px;color:var(--muted);font-size:.72rem;text-transform:uppercase;letter-spacing:.09em}.shop-wallet strong{color:#fff1bd;font-size:1.02rem}
.shop-filters{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 18px}.shop-filters button{min-height:43px;padding:9px 18px;border:1px solid var(--line);border-radius:999px;color:var(--muted);background:rgba(23,27,36,.84);font:inherit;font-weight:800;cursor:pointer;transition:border-color .18s ease,color .18s ease,background .18s ease,transform .18s ease}.shop-filters button:hover{color:#fff;border-color:#d48aa1;transform:translateY(-1px)}.shop-filters button[aria-pressed=true]{border-color:#f2a9bf;color:#23171c;background:linear-gradient(135deg,#ffd0dc,#f2a9bf);box-shadow:0 7px 18px rgba(233,133,165,.22)}
.shop-status{min-height:24px;margin:0 0 13px;color:var(--muted);font-size:.88rem}.shop-status.is-error{color:#ffb0b4}
.shop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.shop-card{position:relative;display:flex;min-width:0;overflow:hidden;border:1px solid rgba(255,255,255,.14);border-radius:22px;background:linear-gradient(155deg,rgba(46,51,65,.96),rgba(27,30,39,.98));box-shadow:0 15px 34px rgba(4,7,13,.25);flex-direction:column}.shop-card.is-owned{border-color:rgba(130,207,166,.46)}
.shop-card-visual{position:relative;display:grid;place-items:center;aspect-ratio:16/11;overflow:hidden;background:linear-gradient(145deg,#694653,#263c4d)}.shop-card-visual img{width:100%;height:100%;object-fit:cover}.shop-card-avatar .shop-card-visual img{object-position:center}.shop-card-title .shop-card-visual{padding:24px;background:radial-gradient(circle at 25% 20%,rgba(255,210,222,.18),transparent 35%),linear-gradient(145deg,#38283d,#1b3341)}.shop-card-title .shop-title-ja{display:block;color:#fff2de;font-family:"Yu Mincho",YuMincho,"Hiragino Mincho ProN",serif;font-size:clamp(2.3rem,6vw,4.2rem);text-shadow:0 8px 24px rgba(0,0,0,.4)}.shop-card-theme .shop-card-visual:after{position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(7,10,17,.68));content:""}
.shop-owned-badge{position:absolute;z-index:2;top:12px;right:12px;padding:6px 9px;border:1px solid rgba(223,255,233,.55);border-radius:999px;color:#e1ffea;background:rgba(38,106,70,.88);font-size:.68rem;font-weight:900;letter-spacing:.05em;text-transform:uppercase}.shop-card-body{display:flex;gap:12px;min-height:210px;padding:18px;flex:1;flex-direction:column}.shop-card-category{margin:0;color:#f3abc1;font-size:.68rem;font-weight:900;letter-spacing:.11em;text-transform:uppercase}.shop-card h2{margin:-4px 0 0;color:var(--cream);font-size:1.25rem}.shop-card-description{margin:0;color:var(--muted);font-size:.86rem;line-height:1.5}.shop-card-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto}.shop-card-price{color:#ffe6a0;font-size:1rem;font-weight:900}.shop-card button{flex:none}.shop-card button:disabled{cursor:not-allowed;opacity:.58}
.shop-purchase-dialog{width:min(calc(100% - 28px),470px);padding:0;border:1px solid rgba(255,178,202,.55);border-radius:25px;color:var(--text);background:linear-gradient(155deg,#303645,#1d212c);box-shadow:0 28px 90px rgba(0,0,0,.62)}.shop-purchase-dialog::backdrop{background:rgba(3,6,12,.76);backdrop-filter:blur(5px)}.shop-purchase-dialog form{position:relative;display:grid;gap:13px;padding:24px}.shop-dialog-close{position:absolute;z-index:2;top:12px;right:12px;display:grid;place-items:center;width:34px;height:34px;border:1px solid rgba(255,255,255,.2);border-radius:50%;color:#fff;background:rgba(8,11,18,.68);font-size:1.35rem;cursor:pointer}.shop-dialog-preview{height:190px;margin:-24px -24px 5px;overflow:hidden;border-radius:24px 24px 0 0;background:linear-gradient(145deg,#694653,#263c4d)}.shop-dialog-preview img{width:100%;height:100%;object-fit:cover}.shop-dialog-preview .shop-title-ja{display:grid;place-items:center;width:100%;height:100%;font-family:"Yu Mincho",YuMincho,serif;font-size:4rem}.shop-purchase-dialog h2,.shop-purchase-dialog p{margin:0}.shop-purchase-dialog>form>p:not(.eyebrow){color:var(--muted);line-height:1.55}.shop-dialog-price{display:flex;align-items:center;justify-content:space-between;padding:13px 15px;border:1px solid rgba(255,224,153,.3);border-radius:14px;background:rgba(10,14,24,.5)}.shop-dialog-price span{color:var(--muted)}.shop-dialog-price strong{color:#ffe6a0}.shop-dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:4px}
body.theme-notebook-study{background-image:linear-gradient(rgba(17,25,31,.84),rgba(17,25,31,.9)),url("assets/themes/notebook-site-render-v1.png");background-position:center;background-size:cover;background-attachment:fixed}body.theme-notebook-study .app-shell{background:linear-gradient(180deg,rgba(23,36,42,.8),rgba(18,25,31,.88))}
body.theme-back-to-school-2026{--bg:#182333;--surface:#263344;--surface-2:#34465a;--line:#64758a;--red:#bd5969;--red-soft:#ef9a99;--cream:#fff0cf;background-image:linear-gradient(rgba(12,22,34,.7),rgba(11,19,30,.84)),url("assets/themes/back-to-school-2026-v1.png");background-position:center;background-size:cover;background-attachment:fixed}body.theme-back-to-school-2026 .app-shell{padding-inline:clamp(10px,2vw,22px);border:1px solid rgba(255,226,177,.15);border-radius:24px;background:linear-gradient(180deg,rgba(21,32,47,.72),rgba(15,24,36,.88));box-shadow:0 24px 80px rgba(4,9,17,.42)}body.theme-back-to-school-2026 .topbar{padding-top:14px}body.theme-back-to-school-2026 .shop-hero{border-color:rgba(239,154,153,.42);background:linear-gradient(135deg,rgba(77,45,59,.94),rgba(28,49,66,.95))}
@media(max-width:900px){.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.shop-hero{align-items:stretch;grid-template-columns:1fr}.shop-wallet{width:max-content;max-width:100%}}
@media(max-width:650px){body.mobile-home-active .shop-top-button{display:grid;order:4;flex:0 0 42px;width:42px;height:42px;margin:0;padding:10px;border:2px solid rgba(255,255,255,.2);color:#fff;background:linear-gradient(145deg,#d77b98,#8f405f);box-shadow:0 7px 17px rgba(0,0,0,.24)}body.mobile-home-active .profile-menu{order:5}body.theme-back-to-school-2026.mobile-home-active .app-shell{width:calc(100% - 20px);padding-inline:0}}
@media(max-width:580px){.shop-hero{margin-top:10px;padding:20px;border-radius:21px}.shop-wallet{width:100%;min-width:0}.shop-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.shop-filters button{min-width:0;padding-inline:8px;font-size:.78rem}.shop-grid{grid-template-columns:1fr}.shop-card-body{min-height:185px}.shop-dialog-actions{align-items:stretch;flex-direction:column-reverse}.shop-dialog-actions button{width:100%}}
@media(max-width:390px){body.mobile-home-active .shop-top-button{flex-basis:38px;width:38px;height:38px;padding:9px}body.mobile-home-active .profile-button>span:nth-child(2){display:none}}
@media(prefers-reduced-motion:reduce){.shop-filters button{transition:none}}
