.fan-nav { grid-template-columns:repeat(7,minmax(0,1fr)); }
.shop-intro,.shop-bar,.wallet-top,.shop-actions,.shop-inline,.proof-code { display:flex;align-items:center;gap:12px; }
.shop-intro,.shop-bar,.wallet-top { justify-content:space-between; }
.shop-intro>.minor-link { flex:none; }
.shop-overview { display:grid;grid-template-columns:1.05fr 1fr;gap:20px; }
.shop-wallet,.shop-rule,.shop-box,.shop-card,.shop-empty { border-radius:18px;padding:clamp(20px,3vw,34px); }
.shop-wallet { background:linear-gradient(115deg,#62334c,#854563);color:white; }
.shop-wallet h2,.shop-rule h2,.shop-box h2,.shop-empty h2 { margin:0;font-size:1.22rem; }
.wallet-top h2 { display:flex;gap:10px;align-items:center; }
.wallet-top>span { color:#ffebf4;font-size:.94rem;overflow-wrap:anywhere; }
.wallet-number { display:block;font-size:clamp(2.4rem,5vw,3.4rem);line-height:1.12;margin:13px 0 8px;font-variant-numeric:tabular-nums; }
.wallet-number small { font-size:.46em;font-weight:600;color:#ffdfec; }
.shop-wallet p { margin:8px 0 0;color:#fff1f6; }
.wallet-action { margin-top:13px; }
.shop-wallet progress { width:100%;height:8px;border:0;display:block;border-radius:8px;overflow:hidden;background:#9e7188;accent-color:#ffdfed; }
.shop-wallet progress::-webkit-progress-bar { background:#9e7188; }.shop-wallet progress::-webkit-progress-value { background:#ffdfed; }.shop-wallet progress::-moz-progress-bar { background:#ffdfed; }
.shop-rule,.shop-box,.shop-card,.shop-empty { border:1px solid var(--line);background:white; }
.shop-rule { background:#fcf3f7;align-content:center; }
.shop-rule p,.shop-box p,.shop-empty p,.shop-card p { color:var(--muted);line-height:1.6; }
.shop-rule .rule-rate { color:var(--ink);font-size:clamp(1.15rem,2vw,1.45rem);margin:11px 0 5px; }
.rule-rate strong { color:#933a5d; }.shop-rule .shop-caption,.shop-caption { margin:8px 0;color:var(--muted);font-size:.9rem; }
.shop-message { border-left:3px solid #b95479;background:#fff0f5;padding:10px 14px;margin:15px 0 5px; }
.shop-tabs { display:flex;gap:clamp(15px,3vw,38px);margin:clamp(26px,4vw,46px) 0 22px;border-bottom:1px solid var(--line); }
.shop-tabs button { border:0;background:transparent;color:var(--muted);font:inherit;font-weight:650;padding:10px 0;border-bottom:3px solid transparent; }
.shop-tabs button[aria-pressed="true"] { border-color:var(--berry);color:var(--berry); }
.shop-empty { display:grid;justify-items:center;align-content:center;text-align:center;gap:7px;min-height:215px;background:#fffdfd; }
.shop-stamp { border-radius:16px;display:grid;place-items:center;width:54px;height:54px;background:#f8e7ef;color:#923d61; }
.shop-stamp .icon { width:32px;height:32px; }.shop-empty .button { margin-top:8px; }
.shop-grid { display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:15px; }.shop-card { display:flex;flex-direction:column;align-items:start;gap:9px;overflow-wrap:anywhere; }
.shop-card h3,.shop-form h3 { margin:0; }.shop-card p { white-space:pre-line; }.shop-card .price { color:var(--berry);font-size:1.32rem;font-weight:730; }
.shop-card .stock { color:var(--muted);font-size:.9rem; }.shop-card .button { margin-top:auto; }
.shop-box { margin-top:16px;min-width:0; }.shop-box>p { margin:6px 0 13px; }
.shop-box>summary { font-weight:700;cursor:pointer; }.shop-box[open]>summary { margin-bottom:12px; }
.shop-box label { display:block;font-weight:620;line-height:1.5; }.shop-box label small { color:var(--muted);font-weight:500; }.shop-box input:not([type="checkbox"]),.shop-box textarea { display:block;width:100%;min-height:43px;border:1px solid #c7b8c0;border-radius:8px;padding:8px 11px;font:inherit;background:white;color:var(--ink);margin-top:4px; }
.shop-inline { align-items:end;flex-wrap:wrap;margin:12px 0; }.shop-inline label { flex:1 1 220px; }.shop-inline .button { flex:none; }
.proof-code { flex-wrap:wrap;padding:12px;background:#fcf2f7;border-radius:8px; }.proof-code code { overflow-wrap:anywhere; }.shop-form { display:grid;gap:13px;max-width:650px;border-top:1px solid var(--line);padding-top:16px;margin-top:16px; }.shop-form>.button { justify-self:start; }
.shop-fields { display:grid;grid-template-columns:1fr 1fr;gap:13px; }.shop-box .shop-check { display:flex;gap:8px;align-items:center; }.shop-check input { width:17px;height:17px;accent-color:var(--berry); }
.shop-rows { list-style:none;margin:9px 0 0;padding:0; }.shop-rows li { display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 12px;border-bottom:1px solid var(--line);padding:12px 0;overflow-wrap:anywhere; }.shop-rows li:last-child { border-bottom:0; }
.shop-rows small { display:block;color:var(--muted);font-size:.9rem; }.shop-rows b { color:#783451; }.shop-actions { flex-wrap:wrap; }
.shop-confirm-body { padding:clamp(20px,4vw,35px); }.shop-confirm-body h2 { margin-bottom:7px; }.shop-confirm-body p { margin:8px 0 18px; }.shop-confirm-body .shop-actions { justify-content:flex-end; }
#shop-confirm-error { color:#9a254d; }.shop-box .button:disabled,.shop-card .button:disabled { cursor:default; }
@media(max-width:760px){.shop-overview { grid-template-columns:1fr;gap:12px; }.shop-rule { padding:19px 22px; }}
@media(max-width:590px){.fan-nav { display:flex;flex-wrap:wrap;justify-content:center; }.fan-nav a { flex:0 0 25%;min-width:0;min-height:46px;flex-direction:column;gap:2px;padding:3px 0; }.shop-intro { align-items:start;flex-wrap:wrap;gap:6px; }.shop-fields { grid-template-columns:1fr; }.shop-tabs { gap:18px; }.wallet-top { flex-wrap:wrap; }.shop-grid { grid-template-columns:1fr; }}
