/* Ventesima sessione: negozio, collezione, monete, codice creatore. Stessa grafica del resto del gioco (carta e inchiostro). */
.shop-screen { z-index: 55; padding: 12px; background: radial-gradient(ellipse at center, rgba(20, 30, 52, 0.55), rgba(20, 30, 52, 0.85)); }
.shop-wrap { width: min(1180px, 100%); height: min(860px, 100%); margin: auto; display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; border-width: 3px; }
.shop-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 2.5px solid var(--ink); flex-wrap: wrap;
  background: linear-gradient(180deg, var(--paper), var(--paper-2)); }
.shop-title { margin: 0; font: 400 26px var(--display); letter-spacing: 0.02em; }
.shop-tabs { display: flex; gap: 6px; flex: 1; flex-wrap: wrap; }
.shop-tab { font: 400 15px var(--display); padding: 6px 14px; border-radius: 12px; border: 2px solid var(--ink); background: var(--surface); box-shadow: 0 3px 0 var(--ink);
  transition: transform 0.08s, box-shadow 0.08s; }
.shop-tab:hover { transform: translateY(-1px); }
.shop-tab.on { background: var(--gold); transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.shop-coins { display: flex; align-items: center; gap: 8px; }
.coins-n { font: 400 20px var(--display); padding: 3px 12px; border-radius: 999px; background: #fff6d6; border: 2px solid var(--ink); box-shadow: 0 2px 0 var(--ink); }
.shop-body { flex: 1; overflow: auto; padding: 14px 18px 26px; scroll-behavior: smooth; }
.shop-h { margin: 22px 0 10px; font: 400 20px var(--display); letter-spacing: 0.02em; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.shop-h:first-child { margin-top: 4px; }
.shop-h small { font: 600 12px var(--font); color: var(--muted); letter-spacing: 0; }
.shop-h small a { color: var(--blue-d); }
.shop-note { padding: 10px 14px; border-radius: 14px; background: #eaf6e3; border: 2px solid var(--ink); box-shadow: 0 3px 0 var(--ink); font-size: 13px; font-weight: 600; line-height: 1.45; }
.shop-empty { color: var(--muted); font-weight: 600; padding: 16px 4px; }
.shop-empty.big { text-align: center; padding: 40px 10px; font-size: 18px; }
.shop-empty code, .cr-card code { background: var(--surface); border: 1px solid var(--ink); border-radius: 5px; padding: 0 4px; font-size: 12px; }
.muted.sm { font-size: 12px; }

/* --- schede degli oggetti --- */
.sc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(206px, 1fr)); gap: 18px 16px; margin-bottom: 6px; }
.sc { --rc: #8a93a6; position: relative; display: flex; flex-direction: column; gap: 8px; padding: 8px 8px 11px; border-radius: 18px; background: var(--surface); border: 2.5px solid var(--ink);
  box-shadow: 0 4px 0 var(--ink); transition: transform 0.1s, box-shadow 0.1s; }
.sc:hover { transform: translateY(-3px); box-shadow: 0 7px 0 var(--ink); }
.sc.r-c { --rc: #8a93a6; } .sc.r-r { --rc: #2f7de0; } .sc.r-e { --rc: #9b3fe0; } .sc.r-l { --rc: #f39c12; } .sc.r-d { --rc: #98a2b3; }
.sc-pv { position: relative; aspect-ratio: 150 / 84; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: #eef2f6; border: 3px solid var(--rc); }
.sc.html .sc-pv { background: radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--rc) 22%, #fff), #eef2f6 78%); }
.sc.r-l .sc-pv { box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.7) inset, 0 0 14px rgba(243, 156, 18, 0.55); }
.sc-pv canvas.pv { width: 100%; height: 100%; display: block; }
.sc-rar { position: absolute; z-index: 2; left: 6px; bottom: 6px; font: 400 11px var(--display); letter-spacing: 0.05em; text-transform: uppercase; color: #fff; padding: 1px 8px;
  border-radius: 999px; background: var(--rc); border: 1.5px solid var(--ink); }
.sc-badge { position: absolute; z-index: 2; right: 6px; top: 6px; font: 400 11px var(--display); padding: 1px 8px; border-radius: 999px; background: var(--gold); border: 1.5px solid var(--ink); cursor: pointer; }
.sc-badge:hover { background: #ffd66b; }
.pv-html { width: 100%; height: 100%; display: grid; place-items: center; }
.pv-stk { transform: scale(0.86); transform-origin: center; }
.pv-tag { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 17px; }
.pv-tag .tag { font-size: 15px; }
.pv-snd { display: flex; flex-direction: column; align-items: center; gap: 4px; padding-bottom: 10px; }
.pv-big { font-size: 40px; line-height: 1; }
.pv-frame .av { width: 62px; height: 62px; font-size: 32px; }
.sc-nm { font: 400 17px var(--display); text-align: center; padding: 0 2px; line-height: 1.15; }
.sc-nm small { display: block; font: 600 11px var(--font); color: var(--muted); margin-top: -1px; }
.sc-act { display: flex; justify-content: center; min-height: 34px; align-items: center; margin-top: auto; }
.sc-act .btn { width: 100%; }
.sc-act .buy { font: 400 17px var(--display); padding: 6px 8px; white-space: nowrap; }
.sc-act .buy.armed { background: var(--good); color: #fff; }
.sc-own { font: 400 15px var(--display); color: var(--good); }
.sc-own.big { font-size: 20px; }
.sc-on { font: 400 15px var(--display); color: var(--blue-d); }
.sc-lock { font: 600 12px var(--font); color: var(--muted); }
.sc.own { background: #f4fbef; }
.sc.own .sc-pv { filter: saturate(0.85); }

/* miniatura del tema della HUD */
.hp { width: 100%; height: 100%; padding: 8px; display: flex; flex-direction: column; gap: 5px; background: var(--hb); font-family: var(--hf); }
.hp-top { display: flex; align-items: center; gap: 5px; background: var(--hp); border: 2px solid var(--hi); border-radius: 7px; padding: 2px 6px; color: var(--ht); font-size: 11px; }
.hp-top i { width: 14px; height: 9px; background: linear-gradient(90deg, #009246 33%, #fff 33% 66%, #ce2b37 66%); border: 1px solid var(--hi); }
.hp-top span { margin-left: auto; color: var(--ha); }
.hp-panel { flex: 1; background: var(--hp); border: 2px solid var(--hi); border-radius: 7px; padding: 3px 6px; color: var(--ht); font-size: 10px; display: flex; flex-direction: column; gap: 3px; }
.hp-panel em { font-style: normal; color: var(--hi); }
.hp-panel u { display: block; height: 4px; border-radius: 2px; background: var(--ha); opacity: 0.6; text-decoration: none; }
.hp-panel u + u { width: 60%; }
.hp-btn { align-self: flex-start; font-size: 10px; padding: 1px 8px; border-radius: 6px; background: var(--ha); color: var(--hp); border: 2px solid var(--hi); }

/* --- In evidenza: il bundle della settimana --- */
.trust { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.trust span { font: 700 12.5px var(--font); padding: 4px 12px; border-radius: 999px; background: #eaf6e3; border: 2px solid var(--ink); }
.hero { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; border: 3px solid var(--ink); border-radius: 24px; overflow: hidden; box-shadow: 0 6px 0 var(--ink); background: var(--surface); margin-bottom: 18px; }
.hero-art { position: relative; display: grid; place-items: center; min-height: 250px;
  background: radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.4), transparent 62%), linear-gradient(135deg, var(--b1), var(--b2)); }
.hero-emoji { font-size: 120px; line-height: 1; filter: drop-shadow(0 6px 0 rgba(0, 0, 0, 0.28)); font-family: "Noto Color Emoji", "Segoe UI Emoji", sans-serif; animation: hero-bob 3.2s ease-in-out infinite; }
@keyframes hero-bob { 50% { transform: translateY(-8px) rotate(-3deg); } }
.hero-tag { position: absolute; left: 12px; top: 12px; font: 400 14px var(--display); padding: 2px 12px; border-radius: 999px; background: var(--surface); border: 2px solid var(--ink); box-shadow: 0 2px 0 var(--ink); }
.hero-save { position: absolute; right: 12px; bottom: 12px; width: 92px; height: 92px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: var(--red); color: #fff; border: 3px solid var(--ink); box-shadow: 0 4px 0 var(--ink); transform: rotate(-9deg); font: 700 9.5px/1.15 var(--font); padding: 0 8px; }
.hero-save b { font: 400 30px/1 var(--display); }
.hero-info { padding: 16px 22px 18px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.hero-left { align-self: flex-start; font: 700 13px var(--font); padding: 3px 12px; border-radius: 999px; background: #ffe3e0; border: 2px solid var(--ink); }
.hero-left b { font-variant-numeric: tabular-nums; }
.hero-info h2 { margin: 2px 0 0; font: 400 38px/1.05 var(--display); }
.hero-info p { margin: 0; color: var(--muted); font-size: 14px; font-weight: 600; line-height: 1.4; }
.bd-chips { display: flex; flex-wrap: wrap; gap: 5px; margin: 4px 0; }
.bd-chip { font: 700 12px var(--font); padding: 2px 9px; border-radius: 999px; border: 1.5px solid var(--ink); background: #f4f6fa; white-space: nowrap; }
.bd-chip.r-r { background: #e1edff; } .bd-chip.r-e { background: #f0e0ff; } .bd-chip.r-l { background: #ffe9b8; }
.bd-chip.own { opacity: 0.55; text-decoration: line-through; }
.bd-chip.more { background: transparent; border-style: dashed; }
.hero-buy { margin-top: auto; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.hero-price s { color: var(--muted); font: 400 20px var(--display); }
.hero-price b { font: 400 38px/1 var(--display); }
.hero-price em { font: 700 12px var(--font); font-style: normal; background: #dcf5d0; border: 2px solid var(--ink); border-radius: 999px; padding: 2px 10px; color: #21641a; }
.btn.big { font: 400 20px var(--display); padding: 10px 24px; }

.style-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.style { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 12px 8px 10px; border-radius: 16px; border: 2.5px solid var(--ink); background: var(--surface); box-shadow: 0 4px 0 var(--ink);
  transition: transform 0.1s; text-align: center; }
.style:hover { transform: translateY(-3px); background: #fff6d6; }
.style span { font-size: 36px; line-height: 1.1; }
.style b { font: 400 16px var(--display); }
.style small { color: var(--muted); font-size: 11.5px; font-weight: 600; }
.style i { margin-top: 5px; font: 400 12px var(--display); font-style: normal; background: var(--gold); border: 1.5px solid var(--ink); border-radius: 999px; padding: 0 10px; }

/* --- catalogo e collezione: menù a sinistra, oggetti a destra --- */
.cat-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; align-items: start; }
.cat-side { position: sticky; top: 0; display: flex; flex-direction: column; gap: 7px; }
.cs { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 6px; padding: 7px 10px; text-align: left; border-radius: 13px; border: 2px solid var(--ink); background: var(--surface);
  box-shadow: 0 3px 0 var(--ink); transition: transform 0.08s; }
.cs:hover { transform: translateX(3px); }
.cs.on { background: var(--gold); transform: translateX(8px); }
.cs-ic { font-size: 20px; text-align: center; }
.cs b { font: 400 15px var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs i { font: 400 12px var(--display); font-style: normal; min-width: 22px; text-align: center; padding: 0 6px; border-radius: 999px; background: var(--ink); color: var(--paper); }
.cat-head h2 { margin: 0; font: 400 30px var(--display); }
.cat-head p { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; font-weight: 600; }
.cat-tools { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 12px 0 16px; padding: 8px 10px; border-radius: 14px; background: var(--paper-2); border: 2px solid var(--ink); }
.rchips { display: flex; gap: 6px; flex-wrap: wrap; }
.rchip { --rc: #8a93a6; font: 400 13px var(--display); padding: 3px 12px; border-radius: 999px; border: 2px solid var(--ink); background: var(--surface); box-shadow: 0 2px 0 var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.rchip.r-c { --rc: #8a93a6; } .rchip.r-r { --rc: #2f7de0; } .rchip.r-e { --rc: #9b3fe0; } .rchip.r-l { --rc: #f39c12; }
.rchip:not(.r-all):not(.tog)::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--rc); border: 1.5px solid var(--ink); }
.rchip.on { background: var(--gold); transform: translateY(1px); box-shadow: 0 1px 0 var(--ink); }
.rchip.tog { margin-left: auto; }
.f-q { font: 600 13px var(--font); padding: 5px 10px; border-radius: 10px; border: 2px solid var(--ink); background: var(--surface); color: var(--text); min-width: 150px; }
.all-set { margin: 4px 0 18px; padding: 16px; text-align: center; border-radius: 16px; border: 2.5px dashed var(--ink); background: #eaf6e3; font: 400 18px var(--display); }
.all-set.soft { background: var(--paper-2); font-size: 16px; }
.all-set a { color: var(--blue-d); }

/* --- cronologia degli acquisti --- */
.hi-sum { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.hi-sum div { padding: 8px 18px; border-radius: 14px; border: 2.5px solid var(--ink); background: #fff6d6; box-shadow: 0 3px 0 var(--ink); }
.hi-sum b { display: block; font: 400 26px var(--display); }
.hi-sum small { color: var(--muted); font-weight: 700; font-size: 11.5px; }
.hi-list { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.hi { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 14px; border: 2px solid var(--ink); background: var(--surface); box-shadow: 0 3px 0 var(--ink); }
.hi-ic { font-size: 24px; text-align: center; }
.hi-t b { font: 400 16px var(--display); display: block; }
.hi-t small { color: var(--muted); font-size: 12px; font-weight: 600; }
.hi-n { font: 400 18px var(--display); }
.hi.in .hi-n { color: var(--good); }

/* la collezione ha un'aria sua: intestazione azzurra, così non si scambia con il negozio */
.shop-wrap.is-coll .shop-head { background: linear-gradient(180deg, #e3f0ff, #cfe3fb); }
.shop-wrap.is-coll .shop-title { color: #234a86; }

.loadout { padding: 6px 0 4px; }
.lo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.lo { display: grid; grid-template-columns: 30px 1fr; align-items: center; column-gap: 8px; padding: 6px 10px; text-align: left; border-radius: 12px; border: 2px solid var(--ink); background: var(--surface);
  box-shadow: 0 3px 0 var(--ink); }
.lo span { grid-row: span 2; font-size: 22px; }
.lo b { font: 400 14px var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lo small { color: var(--muted); font-size: 11px; font-weight: 700; }
.lo:hover { background: #fff6d6; }
.lo-emoji { margin-top: 12px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lo-emoji > div { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.lo-e { display: inline-block; transform: scale(0.42); transform-origin: left center; width: 60px; height: 40px; cursor: pointer; }
.lo-opts { margin-top: 10px; }
.chk { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.chk small { color: var(--muted); }
.flag-ed { margin-top: 10px; padding: 10px 14px 14px; border: 2px dashed var(--ink); border-radius: 16px; background: var(--surface); }
.fe-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; align-items: center; }
.fbtn { font: 600 13px var(--font); padding: 3px 9px; border: 2px solid var(--ink); border-radius: 8px; background: var(--paper); }
.fbtn.on { background: var(--gold); }
.swc { width: 24px; height: 24px; border-radius: 6px; border: 2px solid var(--ink); cursor: pointer; }
.swc.on { outline: 3px solid var(--gold); outline-offset: 1px; }
#flag-cv { border-radius: 8px; }

/* --- codice creatore --- */
.cr-page { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 16px; align-items: start; }
.cr-card { padding: 4px 16px 16px; border: 2.5px solid var(--ink); border-radius: 18px; background: var(--surface); box-shadow: 0 4px 0 var(--ink); }
.cr-card p { color: var(--muted); font-size: 13.5px; line-height: 1.5; font-weight: 500; }
.cr-now { margin: 8px 0; padding: 8px 12px; background: #fff6d6; border: 2px solid var(--ink); border-radius: 12px; font-weight: 600; }
.cr-row, .cr-form { display: flex; gap: 8px; flex-wrap: wrap; }
.cr-form { flex-direction: column; }
.cr-card input, .creator-row input { font: 600 14px var(--font); padding: 8px 12px; border-radius: 10px; border: 2px solid var(--ink); background: var(--paper); flex: 1; min-width: 0; text-transform: uppercase; }
.cr-form input { text-transform: none; }
.cr-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; }
.cr-stats div { background: var(--paper); border: 2px solid var(--ink); border-radius: 12px; padding: 6px 10px; text-align: center; }
.cr-stats b { font: 400 22px var(--display); display: block; }
.cr-stats small { color: var(--muted); font-weight: 700; font-size: 11px; }

/* --- monete --- */
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0 10px; }
.pack { position: relative; padding: 14px 8px 12px; border-radius: 16px; border: 3px solid var(--ink); background: linear-gradient(180deg, #fff6d6, #ffe08a); box-shadow: 0 4px 0 var(--ink);
  display: flex; flex-direction: column; align-items: center; gap: 4px; transition: transform 0.08s; }
.pack:hover { transform: translateY(-2px); }
.pack:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.pack-c { font: 400 26px var(--display); }
.pack-e { font: 400 17px var(--display); background: var(--surface); border: 2px solid var(--ink); border-radius: 999px; padding: 1px 12px; }
.pack i { font: 700 11px var(--font); color: var(--good); font-style: normal; }
.pay-methods { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; font-weight: 600; }
.pay-methods em { font-style: normal; background: #ffd1d1; border: 1px solid var(--ink); border-radius: 5px; padding: 0 5px; font-size: 10px; text-transform: uppercase; }

/* --- menù iniziale: monete e "New" sul riquadro del negozio --- */
.coins-chip { font: 400 15px var(--display); padding: 1px 9px; border-radius: 999px; background: #fff6d6; border: 2px solid var(--ink); white-space: nowrap; }
.tile-tag.new { background: var(--red); color: #fff; }
.creator-row input { text-transform: uppercase; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { min-height: 170px; }
  .hero-emoji { font-size: 84px; }
  .cat-layout { grid-template-columns: 1fr; gap: 10px; }
  .cat-side { position: static; flex-direction: row; overflow-x: auto; padding: 2px 2px 8px; }
  .cs { flex: none; grid-template-columns: 24px auto auto; }
  .cs.on, .cs:hover { transform: none; }
}
@media (max-width: 760px) {
  .shop-head { padding: 8px 10px; gap: 8px; }
  .shop-title { font-size: 20px; }
  .shop-tabs { order: 5; flex-basis: 100%; }
  .shop-body { padding: 10px 10px 24px; }
  .sc-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px 10px; }
  .hero-info h2 { font-size: 28px; }
  .hero-price b { font-size: 30px; }
  .rchip.tog { margin-left: 0; }
  .packs { grid-template-columns: 1fr; }
}

/* --- accesso con nome e password --- */
.pw-form { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.pw-form input { font: 600 15px var(--font); padding: 10px 14px; border-radius: 12px; border: 2.5px solid var(--ink); background: var(--surface); color: var(--text); outline: none; }
.pw-form input:focus { box-shadow: 0 0 0 4px rgba(244, 181, 52, 0.55); }
.pw-form .btn { padding: 10px; font-size: 16px; }
.pw-form .link { background: none; border: 0; color: var(--blue-d); font-weight: 700; font-size: 13px; text-decoration: underline; padding: 2px; }
.pw-note { color: var(--muted); font-size: 11.5px; line-height: 1.4; font-weight: 600; }
.auth-btns { display: flex; gap: 8px; margin: 6px 0; }
.auth-btns .btn { flex: 1; }
.shop-head .btn { flex: none; width: auto; }
.shop-tabs { flex: 1 1 320px; }
.shop-coins { flex: none; }

/* --- emoji del negozio sopra la mappa --- */
#stickers { position: fixed; inset: 0; pointer-events: none; z-index: 4; overflow: hidden; }
.sticker-fly { position: absolute; left: 0; top: 0; will-change: transform; }
.sticker-fly .sticker { max-width: 150px; }
/* nel menu del tasto destro: le emoji che hai portato in guerra */
.ci-wheel { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; padding-top: 6px; border-top: 2px dashed var(--line); }
.ci-wheel button { position: relative; width: 58px; height: 34px; border: 1.5px solid var(--ink); background: var(--surface); border-radius: 10px; box-shadow: 0 2px 0 var(--ink); overflow: hidden; padding: 0; }
.ci-wheel button:hover { background: #fff6d6; transform: translateY(-2px); }
.ci-wheel .sticker { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(0.36); transform-origin: center; }
.ci-wheel small { flex-basis: 100%; font-size: 10.5px; font-weight: 700; color: var(--muted); }

/* riquadro del negozio nel menù: il testo non si affolla accanto alle monete */
#shop-btn { flex-wrap: wrap; }
#shop-btn .tile-t { flex: 1 1 110px; }
#shop-btn .coins-chip { margin-left: auto; }
.consent { align-items: flex-start; margin: 4px 0 10px; font-size: 12px; color: var(--muted); line-height: 1.4; }
.consent input { margin-top: 2px; flex: none; }

/* --- collezione: il menù laterale è anche il tuo equipaggiamento --- */
.cat-layout.coll { grid-template-columns: 250px minmax(0, 1fr); }
.cat-side { max-height: calc(100vh - 150px); overflow-y: auto; padding: 2px 8px 8px 2px; }
.cs.slot { grid-template-columns: 30px 1fr auto; padding: 6px 10px; }
.cs-t { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.cs-t small { color: var(--muted); font: 700 11.5px var(--font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs.on .cs-t small { color: #5a4300; }
.cs i.zero { display: none; }
.cat-head.with-opt { display: flex; gap: 12px; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; }
.cat-head.with-opt .side-opt { margin: 0; flex: none; }
.side-opt { display: flex; gap: 9px; align-items: flex-start; margin-top: 6px; padding: 9px 11px; border-radius: 13px; border: 2px dashed var(--ink); background: var(--paper-2); cursor: pointer; }
.side-opt input { margin-top: 3px; flex: none; }
.side-opt span { display: flex; flex-direction: column; line-height: 1.2; }
.side-opt b { font: 400 14px var(--display); }
.side-opt small { color: var(--muted); font: 600 11px var(--font); }
.sc.eq { border-color: var(--blue-d); box-shadow: 0 4px 0 var(--blue-d); background: #eef5ff; }
.sc.eq::after { content: "WEARING"; position: absolute; right: 12px; top: 12px; z-index: 3; font: 400 11px var(--display); letter-spacing: 0.05em; padding: 1px 9px; border-radius: 999px;
  background: var(--blue-d); color: #fff; border: 1.5px solid var(--ink); }
.sc.eq:hover { box-shadow: 0 7px 0 var(--blue-d); }
.sc-act .btn:not(.primary) { background: var(--surface); }
.wheel { margin: 12px 0 0; padding: 10px 12px 12px; border-radius: 16px; border: 2.5px solid var(--ink); background: var(--surface); box-shadow: 0 3px 0 var(--ink); }
.wheel-t { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.wheel-t b { font: 400 18px var(--display); }
.wheel-t small { color: var(--muted); font-size: 12px; font-weight: 600; }
.wheel-s { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.wh { position: relative; height: 62px; border-radius: 12px; border: 2px dashed #a9b0bf; background: var(--paper-2); display: grid; place-items: center; overflow: hidden; padding: 0; }
.wh small { color: #a9b0bf; font: 400 18px var(--display); }
.wh.full { border: 2px solid var(--ink); border-style: solid; background: #fff; box-shadow: 0 2px 0 var(--ink); }
.wh.full:hover { background: #ffe3e0; }
.wh .lo-e { transform: scale(0.42); transform-origin: center; width: 60px; height: 40px; display: block; }
@media (max-width: 900px) {
  .cat-layout.coll { grid-template-columns: 1fr; }
  .cat-side { max-height: none; overflow-y: visible; flex-direction: row; overflow-x: auto; }
  .side-opt { flex: none; margin-top: 0; }
}

/* piano di lancio 2I.2: "Coming soon!" (si guarda, non si compra e non si equipaggia) */
.soon-banner { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; padding: 12px 16px; border-radius: 14px; border: 2.5px solid var(--ink);
  background: linear-gradient(180deg, #fff3c4, #ffe08a); color: var(--ink); box-shadow: 0 3px 0 var(--ink); }
.soon-banner .soon-ic { font-size: 28px; line-height: 1; }
.soon-banner b { display: block; font: 400 20px var(--display); letter-spacing: 0.03em; }
.soon-banner small { font: 600 12.5px/1.35 var(--font); color: #5a4a1a; }
.soon-pill { display: inline-flex; align-items: center; gap: 4px; padding: 4px 12px; border-radius: 999px; border: 2px solid var(--ink);
  background: linear-gradient(180deg, #ffe38d, var(--gold)); font: 400 15px var(--display); letter-spacing: 0.03em; color: var(--ink); white-space: nowrap; }
.soon-pill.big { font-size: 19px; padding: 7px 18px; }
.sc-soon { font: 600 12px var(--font); color: var(--muted); padding: 5px 8px; border-radius: 9px; border: 2px dashed var(--muted); white-space: nowrap; }
