/* EON Carte Yu-Gi-Oh! — sopra site.css (stessi colori e font), pensata per il telefono */

.cards-page { min-height: 100vh; background: radial-gradient(ellipse at top, rgba(166, 61, 255, .14), transparent 55%), var(--bg); }

.c-top { position: sticky; top: 0; z-index: 20; background: rgba(8, 6, 15, .88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.c-top-in { display: flex; align-items: center; justify-content: space-between; min-height: 60px; }
.c-top .brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 900 17px var(--display); letter-spacing: .02em; }
.c-top .brand b { background: var(--neon); -webkit-background-clip: text; background-clip: text; color: transparent; }

.c-main { padding-top: 20px; padding-bottom: 48px; display: grid; gap: 16px; max-width: 720px; }

.c-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px; }
.c-title { font: 900 26px/1.2 var(--display); margin-bottom: 8px; }
.c-h2 { font: 700 19px var(--display); margin-bottom: 6px; }
.c-h3 { font: 700 15px var(--body); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin: 18px 0 8px; }
.c-muted { color: var(--muted); }
.c-small { color: var(--dim); font-size: 14px; margin-top: 10px; }
.c-error { color: #ff9b9b; font-size: 15px; margin-top: 4px; }
.c-warn { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 138, 31, .12); border: 1px solid rgba(255, 138, 31, .4); color: #ffd0a6; font-size: 15px; }

.c-login { margin-top: 6vh; }
.c-login .c-small .c-link { padding: 0 2px; font-size: inherit; }
.c-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 16px; padding: 5px; border-radius: 14px; border: 1px solid var(--line); background: rgba(8, 6, 15, .6); }
.c-tabs button { padding: 10px; border-radius: 10px; border: 1px solid transparent; background: transparent; color: var(--muted); font: 700 15px var(--display); cursor: pointer; }
.c-tabs button[aria-selected="true"] { background: rgba(166, 61, 255, .14); border-color: var(--violet); color: var(--text); }
.c-ok { margin-top: 14px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(70, 200, 140, .45); background: rgba(70, 200, 140, .1); color: #bff2d6; font-size: 15px; }
.c-social { display: grid; gap: 10px; margin-top: 16px; }
.c-google { min-height: 44px; display: flex; justify-content: center; }
.c-apple { display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border-radius: 999px; border: 1px solid #fff; background: #000; color: #fff; font: 600 16px var(--body); cursor: pointer; }
.c-apple svg { width: 20px; height: 20px; }
.c-or { display: flex; align-items: center; gap: 10px; color: var(--dim); font-size: 13px; margin: 2px 0 -6px; }
.c-or::before, .c-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.c-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.c-check input { margin-top: 3px; width: 18px; height: 18px; flex: none; }
.c-check a { color: #c9a3ff; }
.c-oneshop { display: flex; gap: 12px; align-items: flex-start; margin: 18px 0 4px; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(255, 196, 61, .55); background: rgba(255, 196, 61, .1); color: #ffe7b0; font-size: 15px; line-height: 1.45; }
.c-oneshop svg { flex: none; width: 24px; height: 24px; color: #ffc43d; margin-top: 1px; }
.c-oneshop b { display: block; color: #fff3d6; font: 700 16px var(--display); margin-bottom: 2px; }
.c-code-login { margin-top: 18px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 14px; }
.c-code-login > summary { cursor: pointer; color: var(--muted); font-weight: 600; }
.c-code-login[open] > summary { margin-bottom: 4px; }

.c-form { display: grid; gap: 12px; margin-top: 16px; }
.c-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.c-field { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.c-field input, .c-field select {
  width: 100%; min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--bg-2); color: var(--text); font: 500 16px var(--body); /* 16px: niente zoom automatico su iPhone */
}
.c-field input:focus, .c-field select:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(166, 61, 255, .25); }
#code { font: 700 20px var(--display); letter-spacing: .08em; text-transform: uppercase; text-align: center; }

.c-btn-line { background: transparent; border-color: var(--line); color: var(--text); }
.c-btn-line:hover { border-color: var(--violet); }
.c-link { background: none; border: 0; color: var(--muted); font: 600 15px var(--body); cursor: pointer; padding: 8px 4px; text-decoration: underline; text-underline-offset: 3px; }
.c-link.danger { color: #ff9b9b; }

/* Saldo */
.c-balance { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.c-balance > div { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 10px; display: grid; gap: 2px; }
.c-balance strong { font: 900 18px var(--display); }
.c-balance .c-free { border-color: rgba(46, 224, 122, .45); }
.c-balance .c-free strong { color: var(--on); }
.c-balance strong.neg { color: var(--live); }
.c-label { font-size: 12px; color: var(--dim); text-transform: uppercase; letter-spacing: .06em; }

.c-vouchers { margin-top: 12px; }
.c-vouchers summary, .c-privacy summary { cursor: pointer; color: var(--muted); font-weight: 600; }
.c-vouchers ul { margin-top: 8px; display: grid; gap: 6px; }
.c-vouchers li { display: grid; grid-template-columns: 1fr auto; gap: 0 10px; padding: 8px 10px; border-radius: 10px; background: var(--bg-2); font-size: 15px; }
.c-vouchers li.off { opacity: .5; }
.v-amount { font-weight: 700; text-align: right; }
.v-state { grid-column: 1 / -1; color: var(--dim); font-size: 13px; }

/* Suggerimenti */
.c-suggest-wrap { position: relative; }
.c-suggest {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 10; margin-top: 4px; max-height: 300px; overflow-y: auto;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .7);
}
.c-suggest li { display: grid; gap: 1px; padding: 10px 14px; cursor: pointer; border-bottom: 1px solid var(--line); color: var(--text); }
.c-suggest li:last-child { border-bottom: 0; }
.c-suggest li:hover, .c-suggest li:focus { background: rgba(166, 61, 255, .18); }
.c-suggest li span { color: var(--dim); font-size: 13px; }

/* Carrello */
.c-cart { margin-top: 8px; border-top: 1px solid var(--line); }
#cart-list { display: grid; gap: 8px; }
#cart-list li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; background: var(--bg-2); border-radius: 12px; }
#cart-list li > div { flex: 1; display: grid; gap: 2px; font-size: 15px; min-width: 0; }
#cart-list span { color: var(--muted); font-size: 14px; }
#cart-list span.muted { color: var(--dim); }
#cart-list em { color: var(--dim); font-size: 13px; }
.c-x { flex: none; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; }
.c-x:hover { color: #ff9b9b; border-color: #ff9b9b; }

.c-sum { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin-top: 14px; font-size: 15px; }
.c-sum dt { color: var(--muted); }
.c-sum dd { margin: 0; text-align: right; font-weight: 600; }
.c-sum .c-total { font: 900 18px var(--display); color: var(--text); padding-top: 6px; border-top: 1px solid var(--line); }
.c-send { width: 100%; margin-top: 14px; }
.c-confirm { margin-top: 12px; padding: 12px; border-radius: 12px; border: 1px solid rgba(255, 138, 31, .5); background: rgba(255, 138, 31, .08); display: grid; gap: 10px; }
.c-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* Richieste */
.c-requests { display: grid; gap: 10px; margin-top: 10px; }
.c-request { padding: 12px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); display: grid; gap: 8px; }
.r-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; }
.r-status { padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; border: 1px solid var(--line); }
.st-received { color: #c9b8ff; border-color: rgba(166, 61, 255, .5); }
.st-ordered { color: #a9b8ff; border-color: rgba(79, 109, 255, .55); }
.st-arrived { color: var(--gold); border-color: rgba(245, 197, 66, .5); }
.st-ready { color: var(--on); border-color: rgba(46, 224, 122, .55); background: rgba(46, 224, 122, .1); }
.st-cancelled { color: var(--dim); }
.r-date { color: var(--dim); font-size: 13px; }
.r-items { display: grid; gap: 4px; font-size: 15px; }
.r-items li span { color: var(--muted); font-size: 14px; }
.r-items li em { color: var(--dim); font-size: 13px; }
.r-items li.off { opacity: .55; text-decoration: line-through; }

.c-privacy { color: var(--muted); font-size: 14px; padding: 4px 4px 0; }
.c-privacy p { margin-top: 8px; }

.c-toast {
  position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 40;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--text); padding: 12px 18px; border-radius: 14px;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .8); max-width: calc(100% - 32px);
}

@media (max-width: 420px) {
  .c-row { grid-template-columns: 1fr; }
  .c-balance strong { font-size: 15px; }
  .c-card { padding: 18px 14px; }
}
@media (min-width: 720px) {
  .c-main { padding-top: 32px; }
}

/* Foto delle carte (scaricate una volta da YGOPRODeck e servite dalla sala) */
.c-suggest li { grid-template-columns: 34px 1fr; align-items: center; gap: 10px; }
.c-suggest li img { width: 34px; height: 50px; object-fit: cover; border-radius: 3px; background: var(--bg-2); }
.c-suggest li div { display: grid; gap: 1px; min-width: 0; }
.c-picked { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); }
.c-picked img { width: 84px; height: 123px; object-fit: cover; border-radius: 5px; flex: none; background: var(--surface-2); }
.c-picked .c-small { margin-top: 0; }
#cart-list li img { width: 44px; height: 64px; object-fit: cover; border-radius: 4px; flex: none; background: var(--surface-2); }
.c-noimg { width: 44px; height: 64px; border-radius: 4px; flex: none; display: grid; place-items: center; background: var(--surface-2); color: var(--dim); font-weight: 700; }
.r-items li { display: flex; gap: 8px; align-items: flex-start; }
.r-items li img { width: 30px; height: 44px; object-fit: cover; border-radius: 3px; flex: none; }

/* Barra del carrello, fissa in basso finché il riepilogo non è sullo schermo */
.c-cartbar {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 30;
  width: min(560px, calc(100% - 24px)); min-height: 54px; display: flex; align-items: center; gap: 10px; padding: 0 16px;
  border: 0; border-radius: 16px; background: var(--hot); color: var(--hot-ink); font: 700 16px var(--body); cursor: pointer;
  box-shadow: 0 14px 34px -10px rgba(255, 138, 31, .75);
}
.c-cartbar-icon { font-size: 20px; }
.c-cartbar-go { margin-left: auto; font-size: 14px; }
.cards-page .c-main { padding-bottom: 96px; }

/* Prezzo indicativo CardTrader */
.c-price { padding: 10px 12px; border-radius: 12px; background: rgba(79, 109, 255, .08); border: 1px solid rgba(79, 109, 255, .35); display: grid; gap: 2px; font-size: 15px; }
.c-price .muted { color: var(--dim); font-size: 14px; }
.c-price-main b { color: var(--on); font-size: 17px; }
.c-price-sub { color: var(--muted); font-size: 13px; }
.c-price .c-link { justify-self: start; padding: 4px 0; font-size: 14px; color: #b9c6ff; }
.c-est { color: #b9c6ff !important; }

/* Scelta del negozio (CardTrader / Cardmarket): due ordini separati, ognuno con la sua spedizione */
.c-source { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.c-source legend { font-size: 14px; color: var(--muted); margin-bottom: 6px; padding: 0; }
.c-source label { position: relative; cursor: pointer; }
.c-source input { position: absolute; opacity: 0; inset: 0; }
.c-source span { display: grid; gap: 2px; min-height: 56px; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2); }
.c-source small { color: var(--dim); font-size: 13px; }
.c-source input:checked + span { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(166, 61, 255, .25); background: rgba(166, 61, 255, .1); }
.c-source input:focus-visible + span { outline: 2px solid var(--violet); outline-offset: 2px; }
.c-badge { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; border: 1px solid var(--line); margin-right: 6px; vertical-align: 1px; }
.c-badge.ct { color: #b9c6ff; border-color: rgba(79, 109, 255, .5); }
.c-badge.cm { color: #9fe3c0; border-color: rgba(46, 224, 122, .45); }
.c-price a { color: #b9c6ff; font-size: 14px; justify-self: start; }

/* Conto della settimana: voci separate */
.c-bills { display: grid; gap: 8px; margin: 10px 0 4px; }
.c-bill { padding: 10px 12px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); }
.c-bill h3 { font: 700 14px var(--body); color: var(--muted); margin-bottom: 6px; }
.c-bill .c-sum { margin-top: 0; font-size: 14px; }
.c-bill .c-total { font-size: 16px; }
.r-items li.hold em { color: #ffd0a6; font-style: normal; }
.c-ask { margin-top: 6px; padding: 10px; border-radius: 10px; border: 1px solid rgba(255, 138, 31, .5); background: rgba(255, 138, 31, .1); display: grid; gap: 8px; }
.c-ask p { color: #ffd0a6; font-size: 14px; }
.c-tiny { font-size: 11px; color: var(--dim); }
.c-balance .c-free strong { font-size: 22px; }
.c-tip { margin-top: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(46, 224, 122, .4); background: rgba(46, 224, 122, .08); font-size: 14px; display: grid; gap: 6px; }
.c-tip button, .c-warn button { justify-self: start; }
.c-warn ul { margin: 4px 0 0 18px; padding: 0; display: grid; gap: 2px; }
.c-top-right { display: flex; align-items: center; gap: 14px; }
.c-info { position: relative; }
.c-info summary { list-style: none; cursor: pointer; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font: 700 15px/1 Georgia, serif; font-style: italic; color: var(--muted); }
.c-info summary::-webkit-details-marker { display: none; }
.c-info[open] summary, .c-info summary:hover { color: #fff; border-color: rgba(255, 255, 255, .5); }
.c-info-panel { position: absolute; right: 0; top: 38px; width: min(330px, calc(100vw - 32px)); padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-2); box-shadow: 0 12px 30px rgba(0, 0, 0, .5); font-size: 14px; color: var(--muted); display: grid; gap: 8px; z-index: 30; }
.c-info-panel b { color: #fff; }
.c-info-title { font-size: 15px; }
.c-source-3 label:first-of-type { grid-column: 1 / -1; }
.c-ready { margin-top: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(46, 224, 122, .5); background: rgba(46, 224, 122, .1); color: #b8f5d0; font-weight: 600; }
.c-shop { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 12px; }
.c-prod { display: grid; gap: 6px; align-content: start; padding: 10px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-2); }
.c-prod img, .c-prod .c-noimg { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: #0b0816; }
.c-prod .c-noimg { display: grid; place-items: center; color: var(--dim); font-size: 26px; }
.c-prod b { font-size: 15px; line-height: 1.25; }
.c-desc-box { display: grid; gap: 2px; }
.c-prod .c-desc { font-size: 13px; line-height: 1.45; color: var(--muted); white-space: pre-line; }
.c-prod .c-desc.clamp { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.c-more { justify-self: start; padding: 2px 0; border: 0; background: none; color: #b9c6ff; font-size: 13px; cursor: pointer; }
.c-prod select, .c-prod input {
  width: 100%; min-height: 42px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line);
  background: #0b0816; color: var(--text); font: 500 16px var(--body);
}
.c-prod select:focus, .c-prod input:focus { outline: none; border-color: var(--violet); }
.c-prod .c-pprice { font: 800 17px var(--display); }
.c-prod .c-left { font-size: 12px; color: var(--gold); }
.c-prod .c-out { font-size: 13px; color: var(--dim); }
.c-h3 { font: 700 16px var(--display); margin: 18px 0 4px; }
.c-cat { grid-column: 1 / -1; font-size: 12px; color: var(--dim); text-transform: uppercase; letter-spacing: .06em; margin-top: 6px; }

/* Saldo: quanto si può ancora spendere in grande, il resto sotto */
.c-balance { grid-template-columns: 1fr 1fr; }
.c-balance .c-free { grid-column: 1 / -1; padding: 12px 14px; }
.c-balance .c-free strong { font-size: 30px; }
.c-balance > div:not(.c-free) strong { font-size: 16px; }

/* Selettore Carte singole / Prodotti in sala */
.c-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0 0; position: sticky; top: 64px; z-index: 15; padding: 6px; border-radius: 16px; background: rgba(8, 6, 15, .92); backdrop-filter: blur(8px); border: 1px solid var(--line); }
.c-switch button { position: relative; display: grid; gap: 2px; text-align: left; padding: 10px 12px; border-radius: 12px; border: 1px solid transparent; background: transparent; color: var(--muted); cursor: pointer; }
.c-switch button b { font: 700 15px var(--display); color: var(--text); }
.c-switch button small { font-size: 12px; color: var(--dim); }
.c-switch button[aria-pressed="true"] { background: rgba(166, 61, 255, .14); border-color: var(--violet); }
.c-switch .c-badge { position: absolute; top: -7px; right: -5px; box-shadow: 0 0 0 3px #08060f; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--gold); color: #1a1205; font: 800 12px/20px var(--body); text-align: center; }
.c-shop { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.c-switch button b { display: grid; gap: 4px; justify-items: start; }
.c-sw-ico { width: 24px; height: 24px; color: var(--dim); }
.c-sw-txt { display: grid; gap: 2px; min-width: 0; }
.c-sw-txt small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-switch button[aria-pressed="true"] .c-sw-ico { color: #c9a3ff; }

/* Conto alla rovescia del giro */
.c-timer { --tc: #a63dff; --tc2: #4f6dff; position: relative; padding: 14px; border-radius: 16px; border: 1px solid rgba(166, 61, 255, .45);
  background: radial-gradient(120% 140% at 0% 0%, rgba(166, 61, 255, .18), transparent 60%), radial-gradient(120% 140% at 100% 100%, rgba(79, 109, 255, .16), transparent 60%), var(--bg-2);
  margin-bottom: 16px; overflow: hidden; }
.c-timer-head { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.c-timer-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--tc); box-shadow: 0 0 10px var(--tc); animation: c-blink 1.6s ease-in-out infinite; }
.c-timer-digits { display: flex; align-items: flex-start; justify-content: space-between; gap: 4px; margin: 10px 0 8px; }
.c-timer-digits > div { flex: 1; display: grid; justify-items: center; padding: 8px 2px 6px; border-radius: 12px; background: rgba(8, 6, 15, .7); border: 1px solid rgba(255, 255, 255, .08); }
.c-timer-digits b { font: 900 30px/1 var(--display); color: #fff; font-variant-numeric: tabular-nums; text-shadow: 0 0 14px var(--tc); }
.c-timer-digits small { font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }
.c-timer-digits i { font: 900 24px/1 var(--display); color: var(--dim); font-style: normal; padding-top: 10px; }
.c-timer-bar { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.c-timer-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--tc2), var(--tc)); transition: width .6s ease; }
.c-timer-foot { margin-top: 8px; font-size: 13px; color: var(--muted); }
.c-timer.soon { --tc: #f5c542; --tc2: #ff8a1f; border-color: rgba(245, 197, 66, .55); }
.c-timer.last { --tc: #ff4d6d; --tc2: #ff8a1f; border-color: rgba(255, 77, 109, .6); }
.c-timer.last .c-timer-digits b { animation: c-pulse 1s ease-in-out infinite; }
.c-timer.closed { --tc: #6b6585; --tc2: #6b6585; border-color: var(--line); }
@keyframes c-blink { 50% { opacity: .35; } }
@keyframes c-pulse { 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .c-timer-dot, .c-timer.last .c-timer-digits b { animation: none; } }

/* Come funziona: percorso a tappe */
.c-quest { margin-bottom: 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg-2); }
.c-quest > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 12px 14px; }
.c-quest > summary::-webkit-details-marker { display: none; }
.c-quest > summary::before { content: '?'; width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 8px; font: 900 15px var(--display); color: #fff;
  background: linear-gradient(135deg, #a63dff, #4f6dff); box-shadow: 0 0 12px rgba(166, 61, 255, .5); }
.c-quest-title { font: 700 16px var(--display); }
.c-quest-sub { margin-left: auto; font-size: 13px; color: var(--gold); }
.c-quest-sub::after { content: ' ▾'; color: var(--dim); }
.c-quest[open] .c-quest-sub::after { content: ' ▴'; }
.c-quest-steps { list-style: none; margin: 0; padding: 0 14px 12px; display: grid; gap: 0; }
.c-quest-steps > li { position: relative; padding-left: 0; }
.c-quest-steps > li:not(:last-child)::after { content: ''; position: absolute; left: 15px; top: 40px; bottom: -4px; border-left: 2px dashed rgba(166, 61, 255, .45); }
.c-quest-steps summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.c-quest-steps summary::-webkit-details-marker { display: none; }
.c-quest-steps summary b { font-size: 15px; }
.c-step-n { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 10px;
  background: #0b0816; border: 2px solid #a63dff; font: 800 14px var(--display); color: #fff; }
.c-quest-steps li.done .c-step-n { background: linear-gradient(135deg, #2ee07a, #16a35a); border-color: #2ee07a; }
.c-quest-steps li.now .c-step-n { box-shadow: 0 0 0 4px rgba(245, 197, 66, .35); border-color: var(--gold); }
.c-step-body { padding: 0 0 10px 44px; display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.c-shops { display: grid; gap: 8px; }
.c-shops > div { padding: 10px; border-radius: 12px; background: rgba(8, 6, 15, .6); border: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.c-shops > div > b { color: #fff; margin-right: 4px; }
.c-shops p { flex-basis: 100%; }
.c-shop-ct { border-color: rgba(79, 109, 255, .45) !important; }
.c-shop-cm { border-color: rgba(46, 224, 122, .4) !important; }
.c-tag { font-size: 12px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); color: #c9d2ff; }
.c-tag.slow { color: #ffd08a; border-color: rgba(245, 197, 66, .4); }
.c-tag.fast { color: #b8f5d0; border-color: rgba(46, 224, 122, .4); }
