/* The Foundry Hub — patron-facing styles. [2026-09-25; redesign R0 2026-10-17]
 * Redesign tokens from the designer's mockups (owner decisions 2026-10-17): charcoal field, one amber
 * accent, Carrois Gothic SC for display and titles, Afacad Flux at weight 300 for text. Dark is the
 * default; the light theme keeps the same amber on warm off-white. */
:root {
  --bg: #0d0f13; --panel: #15181e; --panel2: #1c2027; --line: #2a2f38; --txt: #f3efe6; --mut: #9aa0ab;
  --amber: #f0a93a; --amber2: #f6b94f; --acc: #f0a93a; --acc2: #f6b94f; --ink: #15120a;
  --ok: #2fbf71; --bad: #e05252; --warn: #f0a93a; --dum: #8b7cf6;
  --r: 12px; color-scheme: dark;
}
:root[data-theme="light"] { --bg: #f7f5f0; --panel: #fff; --panel2: #efece5; --line: #e0dbd0; --txt: #15120a; --mut: #5e5a52; color-scheme: light; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--txt); font: 300 16px/1.55 "Afacad Flux", "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
b, strong, th, .btn, .pill, .badge, .stat b, .tile .price, .big-price { font-weight: 600; }
h1, h2, h3, .brand span, .ld-h1 { font-family: "Carrois Gothic SC", "Afacad Flux", system-ui, sans-serif; font-weight: 400; letter-spacing: .01em; }
.btn, .nav a, .tabbar a, .step b, .post-head .nm { font-family: "Afacad Flux", "Source Sans 3", system-ui, sans-serif; }
h1, h2 { letter-spacing: .005em; }
a { color: var(--acc2); text-decoration: none; } a:hover { text-decoration: underline; }
.muted { color: var(--mut); } .small { font-size: 13px; } .right { text-align: right; }
[hidden] { display: none !important; }

/* header — logo 15% larger than v1 (owner 2026-09-27); nav lives in the sidebar */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 16px; padding: 8px 20px; min-height: 62px;
  background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 9px; color: var(--txt); font-weight: 700; letter-spacing: .01em; }
.brand:hover { text-decoration: none; }
.brand img { height: 46px; width: 46px; display: block; filter: drop-shadow(0 2px 6px #0008); }
.brand span { font-size: 19px; letter-spacing: .14em; text-transform: uppercase; } .brand em { font-style: normal; color: var(--amber); }
.menu-btn { display: none; background: none; border: 0; color: var(--txt); padding: 6px; border-radius: 8px; cursor: pointer; }
.cart-btn { position: relative; background: none; border: 1px solid var(--line); color: var(--txt); padding: 7px 9px; border-radius: 10px; cursor: pointer; display: inline-flex; align-items: center; }
.cart-btn:hover { background: var(--panel2); } .cart-btn .badge { position: absolute; top: -6px; right: -6px; }
.drawer-bg { position: fixed; inset: 0; background: #0009; z-index: 40; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 92vw); background: var(--panel); border-left: 1px solid var(--line); z-index: 41; display: flex; flex-direction: column; box-shadow: -12px 0 40px #000a; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.drawer-body { padding: 14px 16px; overflow: auto; flex: 1; }
.drawer .line { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.drawer .line .card-img { border-radius: 6px; }
.drawer .tot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-weight: 700; }
.menu-btn:hover { background: var(--panel2); }
.search { flex: 1; display: flex; justify-content: center; }
.search input { width: min(440px, 100%); border-radius: 999px; padding: 8px 16px; background: var(--panel); }

/* shell: sidebar | main | rail */
.shell { display: grid; grid-template-columns: 232px minmax(0, 1fr) 300px; gap: 24px; max-width: 1320px; margin: 0 auto; padding: 18px 20px 60px; align-items: start; }
.side { position: sticky; top: 78px; display: flex; flex-direction: column; gap: 14px; }
.side .nav { display: flex; flex-direction: column; gap: 2px; }
.side .nav a { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 10px; color: var(--mut); font-weight: 600; font-size: 15px; }
.side .nav a:hover, .side .nav a.on { color: var(--txt); background: var(--panel2); text-decoration: none; }
.side .nav a.on { box-shadow: inset 3px 0 0 var(--amber); }
.side .nav a.scan-cta { margin-top: 8px; background: var(--amber); color: var(--ink); font-weight: 700; justify-content: center; }
.side .nav a.scan-cta:hover { background: var(--amber2); color: var(--ink); }
.tabbar a.scan-tab svg { width: 44px; height: 44px; padding: 10px; margin-top: -22px; border-radius: 50%; background: var(--amber); color: var(--ink); stroke: var(--ink); box-shadow: 0 6px 16px #0008; }
.nav svg, .tabbar svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.side-foot { padding: 12px; line-height: 1.5; }
.rail { position: sticky; top: 78px; display: flex; flex-direction: column; gap: 14px; }
body.wide .shell { grid-template-columns: 232px minmax(0, 1fr); max-width: 1680px; } body.wide .rail { display: none; }
/* Just listed rail as a compact list [2026-10-04] */
.rl { display: flex; gap: 10px; align-items: center; padding: 6px 0; border-top: 1px solid var(--line); color: var(--txt); } .rl:first-of-type { border-top: 0; }
.rl:hover { text-decoration: none; } .rl:hover b { color: var(--acc); } .rl .card-img, .rl .card-ph { width: 44px; flex: none; border-radius: 4px; }
.rl b { display: block; font-size: 13.5px; line-height: 1.25; } .rl span { font-size: 12.5px; color: var(--mut); }
.rail .tile { padding: 8px; } .rail .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
.tabbar { display: none; }
.side-open .side { display: flex; }
.banner { display: block; width: 100%; border-radius: var(--r); margin: 26px 0 6px; box-shadow: 0 16px 40px #0008; }
.hero-art { display: block; width: min(360px, 80%); margin: 0 auto; border-radius: 50%; filter: drop-shadow(0 22px 40px #000a); }
.step img { width: 58px; height: 58px; object-fit: contain; display: block; margin-bottom: 4px; }
.empty img { width: 84px; opacity: .85; display: block; margin: 0 auto 10px; }
.nav { display: flex; gap: 4px; flex: 1; flex-wrap: wrap; }
.nav a { color: var(--mut); padding: 6px 10px; border-radius: 8px; }
.nav a:hover, .nav a.on { color: var(--txt); background: var(--panel2); text-decoration: none; }
.who { display: flex; align-items: center; gap: 10px; min-height: 32px; }
.badge { display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 9px; background: var(--acc); color: #fff; font-size: 11.5px; text-align: center; }
main { min-width: 0; min-height: 70vh; }
.foot { padding: 26px 22px 24px; border-top: 1px solid var(--line); font-size: 13.5px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 18px; max-width: 1320px; margin: 0 auto; }
.foot-grid > div { display: flex; flex-direction: column; gap: 5px; } .foot-grid > div > b { color: var(--mut); text-transform: uppercase; letter-spacing: .06em; font-size: 11.5px; margin-bottom: 4px; }
.foot-grid a { color: var(--txt); } .foot-grid a:hover { color: var(--acc2); }
.foot-brand { flex-direction: row !important; align-items: flex-start; gap: 10px !important; } .foot-brand em { font-style: normal; color: #f59e0b; }
.foot-line { max-width: 1320px; margin: 18px auto 0; padding-top: 12px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.doc-tabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin: 0 0 16px; }
.doc-tabs a { padding: 9px 13px; color: var(--mut); border-bottom: 2px solid transparent; font-weight: 600; font-family: "Manrope", system-ui, sans-serif; }
.doc-tabs a.on { color: var(--txt); border-bottom-color: var(--acc); } .doc-tabs a:hover { text-decoration: none; color: var(--txt); }

/* feed */
.feed { display: flex; flex-direction: column; gap: 14px; max-width: 680px; }
.composer textarea { width: 100%; min-height: 76px; resize: vertical; }
.composer .row.tools { margin-top: 8px; gap: 8px; }
.composer .tools .btn.ghost { padding: 6px 10px; font-size: 13.5px; }
.pick-strip { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.pick-strip .pk { position: relative; width: 74px; }
.pick-strip img { width: 100%; border-radius: 6px; display: block; aspect-ratio: 1; object-fit: cover; }
.pick-strip .pk.card img { aspect-ratio: 63 / 88; }
.pick-strip .x { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; border: 0; background: var(--bad); color: #fff; font-size: 12px; cursor: pointer; line-height: 20px; padding: 0; }
.post { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.post.pinned { border-color: #3b3f86; }
.post-head { display: flex; align-items: center; gap: 10px; }
.post-head .nm { font-weight: 700; } .post-head .nm .pill { margin-left: 6px; vertical-align: middle; }
.post-head .when { color: var(--mut); font-size: 12.5px; }
.post-body { margin: 10px 0 4px; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.5; }
.post-media { display: grid; gap: 4px; margin-top: 10px; border-radius: 10px; overflow: hidden; }
.post-media.n2, .post-media.n4 { grid-template-columns: 1fr 1fr; } .post-media.n3 { grid-template-columns: 2fr 1fr 1fr; }
.post-media img { width: 100%; height: 100%; max-height: 520px; object-fit: cover; display: block; background: var(--panel2); cursor: zoom-in; }
.post-media.n3 img:first-child { grid-row: span 2; }
.post-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin-top: 10px; }
.post-cards .tile { padding: 8px; } .post-cards .nm { font-size: 13px; } .post-cards .price { font-size: 15px; }
.buy-chip { display: inline-flex; align-items: center; gap: 5px; margin-top: 2px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--acc); color: #fff; }
.post-link { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel2); font-size: 14px; }
.post-acts { display: flex; gap: 4px; margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--line); }
.post-acts button { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; color: var(--mut); font: inherit; font-size: 13.5px; padding: 6px 10px; border-radius: 8px; cursor: pointer; }
.post-acts button:hover { background: var(--panel2); color: var(--txt); } .post-acts button.on { color: #fca5a5; }
.post-acts svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.post-acts button.on svg { fill: currentColor; }
.comments { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.comment { display: flex; gap: 10px; align-items: flex-start; }
.comment .bubble { background: var(--panel2); border-radius: 12px; padding: 7px 12px; max-width: 100%; }
.comment .bubble b { font-size: 13.5px; } .comment .bubble p { margin: 2px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; }
.comment-form { display: flex; gap: 8px; margin-top: 10px; } .comment-form input { flex: 1; border-radius: 999px; }
.welcome { background: linear-gradient(120deg, #1e1b4b, #312e81 55%, #581c87); border-radius: var(--r); padding: 18px 20px; margin-bottom: 14px; max-width: 680px; }
.welcome h2 { margin: 0 0 6px; font-size: 22px; } .welcome p { margin: 0 0 12px; color: #c7d2fe; }
.lightbox { position: fixed; inset: 0; background: #000d; z-index: 60; display: grid; place-items: center; cursor: zoom-out; }
.lightbox img { max-width: 96vw; max-height: 94vh; border-radius: 8px; }

/* building blocks */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid transparent; background: var(--amber); color: var(--ink);
  color: #fff; font: inherit; font-weight: 600; padding: 9px 16px; border-radius: 10px; cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--amber2); color: var(--ink); text-decoration: none; } .btn:disabled { opacity: .5; cursor: default; }
.btn.ghost { background: transparent; border-color: var(--line); color: var(--txt); } .btn.ghost:hover { background: var(--panel2); }
.btn.ok { background: var(--ok); color: #06210f; } .btn.bad { background: transparent; border-color: #5b2330; color: #fca5a5; }
.btn.big { padding: 13px 22px; font-size: 16.5px; border-radius: 12px; } .btn.sm { padding: 5px 10px; font-size: 13px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.grow { flex: 1; }
input, select, textarea { font: inherit; color: var(--txt); background: var(--panel2); border: 1px solid var(--line); border-radius: 9px; padding: 8px 10px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--acc); outline-offset: 0; }
label.f { display: grid; gap: 4px; font-size: 13px; color: var(--mut); }
h1 { font-size: 28px; font-weight: 700; margin: 4px 0 14px; } h2 { font-size: 21px; margin: 22px 0 10px; } h3 { margin: 0 0 8px; font-size: 17px; }
.pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; border: 1px solid var(--line); color: var(--mut); }
.pill.sale { color: #86efac; border-color: #1f5133; background: #0f2418; }
.pill.offer { color: #fcd34d; border-color: #5c4413; background: #22190a; }
.pill.auction { color: #d8b4fe; border-color: #4c2a73; background: #1d1330; }
.pill.nfs { color: var(--mut); } .pill.feat { color: #c7d2fe; border-color: #3b3f86; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--mut); cursor: pointer; font: inherit; font-size: 14px; }
.chip.on { background: var(--acc); border-color: var(--acc); color: #fff; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 16px; overflow-x: auto; }
.tabs button { background: none; border: 0; border-bottom: 2px solid transparent; color: var(--mut); font: inherit; padding: 9px 14px; cursor: pointer; white-space: nowrap; }
.tabs button.on { color: var(--txt); border-bottom-color: var(--acc); }
.empty { text-align: center; padding: 48px 20px; color: var(--mut); border: 1px dashed var(--line); border-radius: var(--r); }
#toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); background: var(--panel2); border: 1px solid var(--line);
  padding: 10px 16px; border-radius: 10px; z-index: 50; box-shadow: 0 10px 30px #0008; max-width: 90vw; }
#toast.bad { border-color: #7f1d1d; color: #fecaca; }
.spin { width: 22px; height: 22px; border: 3px solid var(--line); border-top-color: var(--acc); border-radius: 50%; animation: sp 0.8s linear infinite; margin: 40px auto; }
@keyframes sp { to { transform: rotate(360deg); } }

/* hero */
.hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; padding: 26px 0 10px; }
.hero h1 { font-size: 42px; line-height: 1.08; margin: 0 0 12px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--acc2), var(--dum)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: 17px; color: var(--mut); margin: 0 0 20px; max-width: 34em; }
.fan { position: relative; height: 300px; }
.fan .card-img { position: absolute; width: 170px; top: 20px; left: 50%; box-shadow: 0 18px 40px #000a; transition: transform .4s; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 26px 0; }
.how { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 22px 0; }
.how .step { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.how .step img { width: 96px; height: 96px; object-fit: contain; margin-bottom: 4px; }
.how .step b { font-size: 18px; }
.signup { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; } .signup input { flex: 1; min-width: 220px; }
.faq details { border-top: 1px solid var(--line); padding: 10px 0; } .faq summary { cursor: pointer; font-weight: 700; font-family: "Manrope", system-ui, sans-serif; } .faq p { margin: 8px 0 0; color: var(--mut); }
.step b { display: block; font-size: 16px; margin: 6px 0 4px; }
.step .n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--acc); color: #fff; font-weight: 700; }

/* card grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 12px; }
/* Market with an eBay-style filter column [2026-10-04]; folds into a Filters drop-down on phones and tablets. */
.mkt { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 18px; align-items: start; }
.mkt-filters > summary { display: none; } .mkt-filters { position: sticky; top: 70px; }
.fgrp { display: flex; flex-direction: column; gap: 2px; margin-bottom: 16px; } .fgrp > b { font-size: 13px; margin-bottom: 4px; }
.fsub { font-size: 12.5px; color: var(--mut); margin: 4px 0 2px; }
.fopt { display: flex; justify-content: space-between; gap: 6px; text-align: left; background: none; border: 0; color: var(--txt); font: inherit; font-size: 13.5px; padding: 4px 6px; border-radius: 6px; cursor: pointer; }
.fopt span { color: var(--mut); font-size: 12px; } .fopt:hover { background: var(--panel2); text-decoration: none; } .fopt.on { background: var(--panel2); color: var(--acc); font-weight: 600; }
@media (max-width: 900px) { .mkt { grid-template-columns: 1fr; } .mkt-filters { position: static; } .mkt-filters > summary { display: block; cursor: pointer; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; } }
/* Marketplace tile [2026-10-04]: compact, eBay-style text block under the image. */
.tile .tag { display: inline-block; margin-left: 4px; padding: 1px 6px; border-radius: 6px; font: 600 11px/1.5 "Source Sans 3", system-ui, sans-serif; color: var(--mut); border: 1px solid var(--line); vertical-align: middle; }
.tile .st.listed { color: var(--ok); }
.tile .nm { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 8px; display: flex; flex-direction: column; gap: 3px; color: var(--txt); transition: transform .15s, border-color .15s; }
a.tile:hover { transform: translateY(-3px); border-color: var(--acc); text-decoration: none; }
.tile.sel { outline: 2px solid var(--acc); }
.card-img { width: 100%; aspect-ratio: 63 / 88; object-fit: cover; border-radius: 8px; background: var(--panel2); display: block; }
.card-ph { width: 100%; aspect-ratio: 63 / 88; border-radius: 8px; background: linear-gradient(160deg, var(--panel2), #262b44); display: grid; place-items: center; text-align: center; padding: 10px; color: var(--mut); font-size: 13px; }
.tile .nm { font-weight: 600; font-size: 14px; line-height: 1.25; }
.tile .st { font-size: 12.5px; color: var(--mut); }
.tile .price { font-size: 16px; font-weight: 700; margin-top: 2px; }
.tile .ribbon { position: absolute; top: 16px; left: 16px; }
.tile .chk { position: absolute; top: 16px; right: 16px; width: 20px; height: 20px; accent-color: var(--acc); }
.mv { font-size: 12px; color: var(--mut); }

/* item page */
.item { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: 28px; align-items: start; }
.item .card-img, .item .card-ph { max-width: 420px; box-shadow: 0 16px 40px #0009; }
.big-price { font-size: 32px; font-weight: 800; margin: 4px 0; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; font-size: 14px; }
.kv dt { color: var(--mut); } .kv dd { margin: 0; }
.clock { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--warn); }

/* profile */
.cover { height: 210px; border-radius: var(--r); background: linear-gradient(120deg, #1e1b4b, #312e81 45%, #581c87); background-size: cover; background-position: center; }
.prof { display: flex; gap: 18px; align-items: flex-end; margin: -52px 0 16px 22px; flex-wrap: wrap; }
.avatar { width: 112px; height: 112px; border-radius: 50%; border: 4px solid var(--bg); background: var(--panel2); object-fit: cover; display: grid; place-items: center; font-size: 40px; font-weight: 700; color: var(--acc2); }
.avatar.sm { width: 30px; height: 30px; border-width: 0; font-size: 14px; }
.stats { display: flex; gap: 22px; } .stats b { display: block; font-size: 20px; }

/* tables */
table.t { width: 100%; border-collapse: collapse; font-size: 14px; }
table.t th, table.t td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.t th { color: var(--mut); font-weight: 600; font-size: 12.5px; }
.bulk { position: sticky; top: 58px; z-index: 10; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; background: var(--panel2);
  border: 1px solid var(--acc); border-radius: var(--r); padding: 10px 14px; margin-bottom: 14px; }
.modal-bg { position: fixed; inset: 0; background: #000a; z-index: 40; display: grid; place-items: center; padding: 16px; }
.modal { width: min(560px, 100%); max-height: 90vh; overflow: auto; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.form { display: grid; gap: 12px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

@media (max-width: 1100px) { .shell { grid-template-columns: 220px minmax(0, 1fr); } .rail { display: none; } }
@media (max-width: 820px) {
  .hero, .item { grid-template-columns: 1fr; } .hero h1 { font-size: 32px; } .fan { display: none; }
  .steps { grid-template-columns: 1fr; } .top { gap: 8px; padding: 6px 12px; min-height: 56px; } .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; }
  .brand span { display: none; } .brand img { width: 42px; height: 42px; } .menu-btn { display: inline-flex; }
  .search { order: 5; flex-basis: 100%; display: none; } .top.search-open .search { display: flex; }
  .shell { display: block; padding: 14px 16px 80px; }
  .side { display: none; position: fixed; top: 56px; left: 0; bottom: 0; width: min(280px, 85vw); z-index: 30; background: var(--panel); border-right: 1px solid var(--line); padding: 12px; box-shadow: 8px 0 30px #0008; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
    background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--mut); font-size: 11px; font-weight: 600; padding: 4px; border-radius: 8px; }
  .tabbar a.on { color: var(--txt); } .tabbar a:hover { text-decoration: none; }
  .foot { padding-bottom: 80px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; } .two { grid-template-columns: 1fr; }
  .prof { margin-left: 8px; } .avatar { width: 86px; height: 86px; }
}

/* Notifications [2026-10-04] */
.note { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-top: 1px solid var(--line); color: var(--txt); }
.note:first-child { border-top: 0; } .note:hover { background: var(--panel2); text-decoration: none; }
.note.unread { box-shadow: inset 3px 0 0 var(--acc); } .note-av { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: var(--panel2); flex: none; display: inline-block; }
#bell-btn { margin-right: 6px; }
/* Mystery pack tile [2026-10-04] */
.pack-tile .card-img { object-fit: cover; } .pack-tile select { padding: 4px 6px; }

/* Category tiles above the market grid [2026-10-08] */
.cat-row { display: grid; grid-auto-flow: column; grid-auto-columns: 132px; gap: 10px; overflow-x: auto; padding: 2px 2px 10px; margin: 0 0 14px; scroll-snap-type: x proximity; }
.cat-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 8px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); color: var(--txt); cursor: pointer; font: inherit; text-align: center; scroll-snap-align: start; text-decoration: none; }
.cat-tile:hover { border-color: var(--acc); text-decoration: none; }
.cat-tile.on { border-color: var(--acc); box-shadow: inset 0 0 0 1px var(--acc); }
.cat-tile.empty { opacity: .62; }
.cat-tile img { width: 96px; height: 96px; border-radius: 12px; }
.cat-tile span { font-weight: 700; font-size: 13px; line-height: 1.2; }
.cat-tile em { font-style: normal; font-size: 11.5px; color: var(--mut); }
@media (max-width: 600px) { .cat-row { grid-auto-columns: 104px; } .cat-tile img { width: 72px; height: 72px; } }

/* Card restoration page [2026-10-14] */
.rs-hero { display: flex; gap: 20px; align-items: center; }
.rs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.rs-grid .rs-wide { grid-column: 1 / -1; }
.rs-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.rs-table th, .rs-table td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.rs-table th { color: var(--mut); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.rs-price { white-space: nowrap; font-weight: 800; font-size: 18px; }
.rs-steps { padding-left: 20px; margin: 0; } .rs-steps li { margin: 7px 0; }
.rs-list { padding-left: 20px; margin: 0; } .rs-list li { margin: 4px 0; } .rs-list.no li { color: var(--mut); }
.rs-terms ol { padding-left: 20px; } .rs-terms li { margin: 8px 0; font-size: 14.5px; }
.rs-f { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .rs-f label { display: grid; gap: 4px; font-size: 13px; color: var(--mut); }
.rs-f input, .rs-f select, .rs-card > label input { width: 100%; }
.rs-card { border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin: 8px 0; display: grid; gap: 8px; }
.rs-card > label { display: grid; gap: 4px; font-size: 13px; color: var(--mut); }
.rs-issues { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 13px; } .rs-issues label { display: inline-flex; gap: 5px; align-items: center; }
.rs-photos { display: flex; flex-wrap: wrap; gap: 8px; } .rs-photos > div { position: relative; width: 84px; height: 84px; }
.rs-photos img { width: 84px; height: 84px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.rs-photos button { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel); color: var(--txt); cursor: pointer; }
.rs-add { display: grid; place-items: center; width: 84px; height: 84px; border: 1px dashed var(--line); border-radius: 8px; cursor: pointer; font-size: 13px; color: var(--mut); }
.rs-tier { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: var(--panel2); font-size: 14px; }
@media (max-width: 760px) { .rs-grid, .rs-f { grid-template-columns: 1fr; } .rs-hero { display: block; } }

.rs-care { max-width: 760px; } .rs-care h2 { margin: 18px 0 6px; font-size: 17px; } .rs-care ul { padding-left: 20px; } .rs-care li { margin: 5px 0; }
@media print { .side, .rail, .tabbar, .foot, header.top, #toast { display: none !important; } .rs-care { border: 0; } }

/* Deck Builder [2026-10-16] */
.dk { display: grid; grid-template-columns: 1fr 320px; gap: 16px; align-items: start; }
.dk-filters { display: grid; gap: 10px; margin-bottom: 14px; }
.dk-row { display: flex; flex-wrap: wrap; gap: 10px; } .dk-row label { display: grid; gap: 3px; font-size: 12.5px; color: var(--mut); min-width: 120px; flex: 1; }
.dk-checks label { display: inline-flex; flex-direction: row; gap: 6px; align-items: center; flex: 0 0 auto; min-width: 0; }
.dk-chips { display: flex; flex-wrap: wrap; gap: 6px; } .dk-chip { border: 1px solid var(--line); background: transparent; color: var(--txt); border-radius: 999px; padding: 4px 10px; font-size: 13px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.dk-chip.on { background: var(--acc); border-color: var(--acc); color: #fff; }
.dk-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; border: 1px solid #0003; vertical-align: middle; }
.dk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.dk-card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.dk-card img { width: 100%; aspect-ratio: 245 / 342; object-fit: cover; background: var(--panel2); }
.dk-body { padding: 10px; display: grid; gap: 5px; font-size: 14px; } .dk-name b { font-size: 15px; }
.dk-acts { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.dk-deck { position: sticky; top: 76px; max-height: calc(100vh - 96px); overflow: auto; }
.dk-sec { margin-top: 10px; } .dk-line-row { display: flex; align-items: center; gap: 6px; padding: 3px 0; font-size: 13.5px; } .dk-ln { flex: 1; } .dk-n { font-weight: 800; width: 18px; text-align: right; }
.dk-deck-acts { display: grid; gap: 6px; margin-top: 12px; }
.dk-line { display: flex; gap: 10px; overflow-x: auto; align-items: flex-start; } .dk-stage { min-width: 200px; flex: 1; } .dk-stage-h { margin-bottom: 6px; }
.dk-arrow { align-self: center; font-size: 24px; color: var(--mut); }
.dk-mini { display: flex; gap: 8px; margin-bottom: 8px; } .dk-mini img { width: 64px; border-radius: 5px; }
@media (max-width: 980px) { .dk { grid-template-columns: 1fr; } .dk-deck { position: static; max-height: none; } }

/* Scan a card [2026-10-17] */
.sc { max-width: 980px; }
.sc-top { display: grid; grid-template-columns: 300px 1fr; gap: 16px; align-items: start; }
.sc-drop { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 22px 16px; cursor: pointer; border: 2px dashed var(--line); transition: border-color .15s, background .15s; }
.sc-drop:hover, .sc-drop.hover { border-color: var(--acc); background: var(--panel2); }
.sc-drop.busy { opacity: .6; pointer-events: none; }
.sc-drop.off { opacity: .45; pointer-events: none; }
.sc-thumb { width: 150px; height: 210px; display: grid; place-items: center; border-radius: 10px; background: var(--panel2); color: var(--mut); overflow: hidden; }
.sc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sc-cta { font-size: 17px; color: var(--acc2); }
.sc-count { color: var(--mut); margin-top: 4px; }
.sc-wait { display: flex; gap: 14px; align-items: center; }
.sc-spin { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--acc); animation: sc-rot .8s linear infinite; flex: none; }
@keyframes sc-rot { to { transform: rotate(360deg); } }
.sc-result { display: grid; grid-template-columns: 180px 1fr; gap: 16px; }
.sc-img { width: 100%; border-radius: 8px; }
.sc-prices { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 18px; }
.sc-add { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 6px 0 10px; }
.sc-links { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.sc-alts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.sc-alt { display: flex; gap: 8px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; color: var(--txt); cursor: pointer; text-align: left; font-size: 12.5px; }
.sc-alt img { width: 34px; border-radius: 3px; } .sc-alt.on { border-color: var(--acc); }
.sc-join .sc-perks { margin: 0 0 12px; padding-left: 18px; }
.sc-how { margin-top: 26px; }
.sc-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 0; list-style: none; counter-reset: s; }
.sc-steps li { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 12px; display: grid; gap: 4px; counter-increment: s; }
.sc-steps li::before { content: counter(s); width: 24px; height: 24px; border-radius: 50%; background: var(--acc); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.sc-steps span, .sc-faq { color: var(--mut); font-size: 14px; }
.sc-faq li { margin-bottom: 6px; } .sc-faq b { color: var(--txt); }
@media (max-width: 760px) {
  .sc-top, .sc-result { grid-template-columns: 1fr; }
  .sc-steps { grid-template-columns: 1fr 1fr; }
  .sc-result .sc-img { max-width: 220px; }
}


/* ---- Landing page (R0, 2026-10-17) ---- */
body.landing .rail { display: none; } body.landing .shell { grid-template-columns: minmax(0, 1fr); max-width: 1240px; }
body.landing .side { display: none; }
.ld-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 28px; align-items: center; padding: 28px 0 10px; }
.ld-h1 { font-size: clamp(40px, 5.2vw, 64px); line-height: 1.02; margin: 0 0 16px; } .ld-h1 .dot { color: var(--amber); }
.ld-sub { font-size: 19px; color: var(--mut); max-width: 520px; margin: 0 0 22px; }
.ld-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.ld-art { position: relative; } .ld-art img { width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line); display: block; }
.ld-phone { position: absolute; right: -8px; bottom: -18px; width: 150px; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 12px; font-size: 12px; box-shadow: 0 18px 40px #000a; }
.ld-phone b { display: block; text-align: center; margin-bottom: 8px; } .ld-phone-card { height: 150px; border-radius: 8px; background: linear-gradient(160deg, #2a2f38, #15181e); border: 1px solid var(--amber); margin-bottom: 8px; }
.ld-phone span { display: block; background: var(--panel2); border-radius: 6px; padding: 4px 8px; margin-bottom: 6px; } .ld-phone em { display: block; font-style: normal; text-align: center; background: var(--amber); color: var(--ink); border-radius: 8px; padding: 6px; font-weight: 700; }
.ld-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 34px 0 30px; }
.ld-steps div { padding: 18px 14px; border-right: 1px solid var(--line); } .ld-steps div:last-child { border-right: 0; }
.ld-steps b { display: block; font-size: 17px; margin-bottom: 4px; } .ld-steps i { font-style: normal; color: var(--amber); margin-right: 8px; font-size: 13px; } .ld-steps span { color: var(--mut); font-size: 14.5px; }
.ld-feat h2 { font-size: 30px; margin: 0 0 16px; }
.ld-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ld-cards a { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background-size: cover; background-position: center; border: 1px solid var(--line); color: #fff; }
.ld-cards a:hover { text-decoration: none; transform: translateY(-2px); transition: transform .15s; }
.ld-cards span { position: absolute; inset: auto 0 0 0; padding: 40px 16px 16px; background: linear-gradient(to top, #000d, #0000); font-size: 14px; }
.ld-cards b { display: block; font-size: 19px; margin-bottom: 2px; }
.ld-chips { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 18px 0 8px; }
.ld-close { text-align: center; padding: 36px 0 60px; } .ld-close h2 { font-size: 30px; margin-bottom: 18px; } .ld-close .btn { margin: 0 6px; }
@media (max-width: 900px) { .ld-hero { grid-template-columns: 1fr; } .ld-steps, .ld-cards { grid-template-columns: 1fr; } .ld-steps div { border-right: 0; border-bottom: 1px solid var(--line); } .ld-phone { right: 6px; bottom: -14px; } }

.btn:not(.ghost):not(.bad) { color: var(--ink); }   /* amber buttons carry dark ink text (R0) */

/* ---- Collection header + binders (R1, 2026-10-17) ---- */
.col-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 26px 22px 18px; border-radius: 16px; border: 1px solid var(--line);
  background: radial-gradient(120% 140% at 80% 0%, #3a2a12 0%, #15181e 55%); background-size: cover; background-position: center; margin-bottom: 12px; flex-wrap: wrap; }
.col-id { display: flex; gap: 16px; align-items: center; } .col-av { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 3px solid var(--amber); }
.col-av-x { display: grid; place-items: center; background: var(--panel2); font: 700 34px "Carrois Gothic SC", sans-serif; color: var(--amber); }
.col-bio { margin-top: 4px; color: var(--txt); opacity: .85; }
.col-stats { display: grid; grid-template-columns: repeat(3, auto) 1fr; gap: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.col-stats > * { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-right: 1px solid var(--line); }
.col-stats > *:last-child { border-right: 0; justify-content: flex-end; }
.col-stats svg { width: 22px; height: 22px; fill: none; stroke: var(--mut); stroke-width: 1.7; } .col-stats b { font-size: 22px; } .col-stats span { color: var(--mut); font-size: 13px; line-height: 1.25; } .col-stats em { font-style: normal; font-size: 11px; }
.col-toggle { cursor: pointer; } .col-toggle input { display: none; } .col-toggle i { width: 38px; height: 22px; border-radius: 999px; background: var(--panel2); border: 1px solid var(--line); position: relative; flex: none; }
.col-toggle i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--mut); transition: left .15s; }
.col-toggle input:checked + i { background: var(--amber); } .col-toggle input:checked + i::after { left: 18px; background: var(--ink); }
.bd-shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; margin: 6px 0 18px; }
.bd-book { display: flex; gap: 12px; align-items: center; text-align: left; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 10px; color: var(--txt); cursor: pointer; font: inherit; }
.bd-book.on { border-color: var(--amber); box-shadow: 0 0 0 1px var(--amber) inset; } .bd-book:hover { background: var(--panel2); }
.bd-cover { width: 54px; height: 72px; border-radius: 6px; background: linear-gradient(160deg, #3a2a12, #15181e) center/cover; flex: none; border: 1px solid var(--line); }
.bd-meta { display: grid; gap: 3px; min-width: 0; } .bd-meta b { font-weight: 600; } .bd-meta span { color: var(--mut); font-size: 13px; }
.bd-bar { display: block; height: 6px; border-radius: 999px; background: var(--panel2); overflow: hidden; width: 100%; } .bd-bar i { display: block; height: 100%; background: var(--amber); border-radius: 999px; }
.bd-bar.wide { width: 180px; display: inline-block; vertical-align: middle; }
.bd-new { justify-content: center; border-style: dashed; color: var(--mut); flex-direction: column; } .bd-new span { font-size: 26px; line-height: 1; }
.bd-head { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.bd-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.bd-page { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 16px 16px 16px 40px; border-radius: 14px; border: 1px solid var(--line);
  background: repeating-linear-gradient(0deg, #ffffff05 0 2px, transparent 2px 6px), linear-gradient(160deg, #1d1712, #121014); position: relative; }
.bd-page::before { content: ""; position: absolute; left: 12px; top: 18%; bottom: 18%; width: 10px; background: radial-gradient(circle, #6b6f78 0 4px, transparent 5px) 0 0 / 10px 33.3% repeat-y; }
.bd-pocket { aspect-ratio: 63 / 88; border-radius: 8px; border: 1px solid #ffffff14; background: #ffffff08; display: grid; place-items: center; text-align: center; padding: 6px; color: var(--mut); font: inherit; font-size: 12px; cursor: pointer; position: relative; overflow: hidden; }
.bd-pocket.has { padding: 0; border-color: #ffffff22; } .bd-pocket.has img { width: 100%; height: 100%; object-fit: cover; } .bd-pocket.has:hover { outline: 2px solid var(--amber); }
.bd-pocket.gap { border: 1px dashed #ffffff33; gap: 4px; } .bd-pocket.gap svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.4; } .bd-pocket.gap small { font-size: 11px; opacity: .8; }
.bd-pocket.gap:hover { color: var(--amber); border-color: var(--amber); } .bd-pocket.gap:disabled { opacity: .55; cursor: default; }
.bd-pocket.empty-pocket { border: 1px dashed #ffffff22; } .bd-pocket.empty-pocket span { font-size: 22px; } .bd-pocket.blank { cursor: default; background: transparent; border-color: #ffffff0a; }
.bd-tag { position: absolute; left: 6px; bottom: 6px; font-style: normal; font-size: 10.5px; background: var(--amber); color: var(--ink); padding: 1px 6px; border-radius: 999px; font-weight: 700; }
.bd-side { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: grid; gap: 6px; }
.bd-big { width: 100%; border-radius: 10px; } .bd-acts { display: flex; gap: 8px; } .bd-side label { display: grid; gap: 4px; }
.bd-pager { display: flex; gap: 12px; align-items: center; justify-content: center; margin: 14px 0; }
.bd-sets, .bd-pick { display: grid; gap: 6px; max-height: 46vh; overflow: auto; }
.bd-sets button, .bd-pick button { display: flex; gap: 10px; align-items: center; text-align: left; background: var(--panel2); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; color: var(--txt); font: inherit; cursor: pointer; }
.bd-sets button.on { border-color: var(--amber); } .bd-sets small, .bd-pick small { display: block; color: var(--mut); font-size: 12px; } .bd-pick img { width: 36px; border-radius: 4px; }
@media (max-width: 900px) { .bd-wrap { grid-template-columns: 1fr; } .col-stats { grid-template-columns: 1fr 1fr; } .col-stats > * { border-bottom: 1px solid var(--line); } .bd-page { padding-left: 30px; } }

/* ---- Scanner R2: page mode, hand-off, review rows (2026-10-17) ---- */
.sc .chips { margin-bottom: 12px; }
.sc-hand { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.sc-qrcode { width: 132px; height: 132px; background: #fff; border-radius: 10px; padding: 6px; flex: none; } .sc-qrcode svg { width: 100%; height: 100%; display: block; }
.sc-thumb.page { width: 180px; height: 180px; } .sc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; width: 100%; height: 100%; padding: 10px; }
.sc-grid i { border: 1.5px dashed var(--amber); border-radius: 4px; opacity: .7; }
.sc-rows { display: grid; gap: 6px; } .sc-row { display: flex; gap: 10px; align-items: center; background: var(--panel2); border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; }
.sc-row.warn { border-color: #f0a93a88; background: #f0a93a12; } .sc-row i { font-style: normal; color: var(--mut); width: 16px; text-align: center; }
.sc-row img, .sc-ph { width: 38px; height: 53px; border-radius: 4px; object-fit: cover; background: var(--panel); flex: none; } .sc-rn { flex: 1; min-width: 0; } .sc-rn small { display: block; color: var(--mut); font-size: 12.5px; }
.ok-pill { color: var(--ok); border-color: #2fbf7166; }
.sc-total { margin: 10px 0 0; text-align: right; }
.sc-next { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.sc-out { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; background: var(--panel2); border: 1px solid var(--line); color: var(--txt); } .sc-out:hover { border-color: var(--amber); text-decoration: none; } .sc-out span { color: var(--mut); font-size: 13px; }
@media (max-width: 760px) { .sc-next { grid-template-columns: 1fr; } .sc-hand { display: none; } }

/* ---- Item page + order timeline (R3, 2026-10-17) ---- */
.it-main { position: relative; } .it-zoom { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #0d0f13cc; color: var(--txt); display: grid; place-items: center; cursor: pointer; }
.it-zoom svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.it-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; } .it-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 8px; background: none; cursor: pointer; }
.it-thumbs button.on { border-color: var(--amber); } .it-thumbs img { width: 70px; height: 96px; object-fit: cover; border-radius: 6px; display: block; }
.it-seller { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; }
.it-disc { margin-top: 12px; } .it-disc summary { cursor: pointer; }
.it-others { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.it-others a { display: grid; gap: 4px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 8px; color: var(--txt); } .it-others a:hover { border-color: var(--amber); text-decoration: none; }
.it-others img { width: 100%; aspect-ratio: 63 / 88; object-fit: cover; border-radius: 8px; background: var(--panel2); } .it-others span { color: var(--mut); font-size: 12.5px; }
.or-line { display: flex; gap: 0; list-style: none; padding: 0; margin: 10px 0; } .or-line li { flex: 1; position: relative; padding-top: 16px; font-size: 12.5px; color: var(--mut); }
.or-line li::before { content: ""; position: absolute; top: 4px; left: 0; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--line); background: var(--bg); }
.or-line li::after { content: ""; position: absolute; top: 9px; left: 14px; right: 4px; height: 2px; background: var(--line); } .or-line li:last-child::after { display: none; }
.or-line li.done { color: var(--txt); } .or-line li.done::before { background: var(--amber); border-color: var(--amber); } .or-line li.done::after { background: var(--amber); }
.or-line b { display: block; font-weight: 600; } .or-line span { font-size: 11.5px; }

/* want-list matches (redesign R4) [2026-10-17] */
.wm-strip { display: flex; gap: 18px; margin: 0 0 14px; color: var(--mut); }
.wm-strip b { color: var(--txt); font-size: 18px; }
.wm-card { margin-bottom: 12px; }
.wm-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.wm-av { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.wm-av-x { display: grid; place-items: center; background: var(--panel2, #1b1f27); color: var(--amber); font-weight: 700; }
.wm-have { margin: 10px 0 8px; font-size: 15px; }
.wm-have b { color: var(--amber); }
.wm-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.wm-cards a { display: flex; flex-direction: column; gap: 2px; color: inherit; text-decoration: none; font-size: 13px; }
.wm-cards img { width: 100%; aspect-ratio: 63/88; object-fit: cover; border-radius: 6px; }
.wm-cards span { color: var(--mut); font-size: 12px; }
.wm-cards em { font-style: normal; color: var(--amber); font-weight: 600; }
.wm-acts { display: flex; gap: 8px; justify-content: flex-end; margin-top: 12px; flex-wrap: wrap; }
.wm-none { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }

/* messages (redesign R4) [2026-10-17] */
.mtag { display: inline-block; font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 999px; vertical-align: 2px; border: 1px solid var(--line); color: var(--mut); }
.mtag-buying { color: var(--amber); border-color: var(--amber); }
.mtag-selling { color: #34d399; border-color: #34d399; }
.mabout { margin-top: 10px; }
.mabout-img { width: 54px; aspect-ratio: 63/88; object-fit: cover; border-radius: 5px; }
.msg .mb { background: var(--panel2); padding: 8px 12px; border-radius: 14px; white-space: pre-wrap; word-break: break-word; }
.msg.mine .mb { background: var(--amber); color: #15120c; }

/* seller workspace (redesign R5) [2026-10-17] */
.sw-order { margin-bottom: 10px; }
.sw-lines { margin: 8px 0; padding-left: 18px; }
.sw-late { color: var(--bad, #ef4444); } .sw-soon { color: var(--amber); }
.sw-bulk { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; position: sticky; top: 64px; z-index: 5; }
.sw-tab td { vertical-align: middle; }
.sw-img { width: 34px; aspect-ratio: 63/88; object-fit: cover; border-radius: 3px; }
.sw-chk { display: inline-block; font-size: 11px; padding: 1px 7px; margin: 1px 4px 1px 0; border-radius: 999px; border: 1px solid var(--line); color: var(--mut); white-space: nowrap; }
.sw-high, .sw-low, .sw-held { color: var(--amber); border-color: var(--amber); }

/* deck builder badges (redesign R5) [2026-10-17] */
.pill.dk-own { color: #34d399; border-color: #34d399; }
.pill.dk-miss { color: var(--mut); }
.dk-own-s { font-size: 11px; color: #34d399; }
.dk-miss-s { font-size: 11px; color: var(--amber); }

/* events (redesign R6) [2026-10-17] */
.ev-bar { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; margin: 14px 0; }
.ev-bar label { display: grid; gap: 4px; font-size: 13px; color: var(--mut); }
.ev-card { display: flex; gap: 14px; align-items: center; margin-bottom: 10px; color: var(--txt); text-decoration: none; }
.ev-card:hover { border-color: var(--amber); text-decoration: none; }
.ev-feat { border-color: var(--amber); }
.ev-date { flex: none; width: 56px; text-align: center; border: 1px solid var(--line); border-radius: 10px; padding: 6px 0; }
.ev-date b { display: block; font-size: 22px; line-height: 1; } .ev-date span { font-size: 12px; text-transform: uppercase; color: var(--amber); }
.ev-kind { font-size: 12px; color: var(--mut); } .ev-title { font-size: 17px; }
.ev-side { text-align: right; flex: none; }
.ev-official { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; margin-top: 18px; }
.ev-detail { display: flex; gap: 16px; align-items: flex-start; }
.ev-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ev-form label { display: grid; gap: 4px; font-size: 13px; } .ev-form .wide { grid-column: 1 / -1; }
@media (max-width: 560px) { .ev-form { grid-template-columns: 1fr; } .ev-side { display: none; } }

/* feed flair, local tab, rail (redesign R7) [2026-10-17] */
.flair { display: inline-block; font: 600 11.5px/1 var(--font-ui, inherit); padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line); background: none; color: var(--mut); cursor: default; vertical-align: 1px; }
button.flair { cursor: pointer; font-size: 12.5px; padding: 6px 11px; }
button.flair.on { background: var(--amber); border-color: var(--amber); color: #15120c; }
.flair-pull { color: #f0a93a; border-color: #6b4d1f; } .flair-collection { color: #60a5fa; border-color: #1e3a5f; }
.flair-for_sale { color: #34d399; border-color: #14532d; } .flair-looking_for { color: #c084fc; border-color: #4c1d95; }
.flair-deck { color: #f87171; border-color: #7f1d1d; } .flair-question { color: #fbbf24; border-color: #713f12; }
.flair-event { color: #2dd4bf; border-color: #134e4a; } .flair-news { color: #e5e7eb; border-color: #4b5563; }
.flair-pick, .flair-row { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin: 8px 0; }
.rail-match { display: block; color: var(--txt); text-decoration: none; border-color: var(--amber); }
.rail-match b { color: var(--amber); font-size: 20px; } .rail-match span { display: block; margin-top: 6px; color: var(--amber); font-size: 13px; }
.rail-day { flex: none; width: 46px; font-size: 12px; font-weight: 700; color: var(--amber); text-transform: uppercase; }

/* featured event tiers [2026-10-17] */
.ev-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ev-tier { display: flex; flex-direction: column; gap: 4px; cursor: pointer; margin: 0; }
.ev-tier:has(input:checked) { border-color: var(--amber); }
.ev-tier input { align-self: flex-start; }
.ev-tier-price { font-size: 20px; font-weight: 700; color: var(--amber); }
@media (max-width: 560px) { .ev-tiers { grid-template-columns: 1fr; } }

/* ---- shell to the mock (feed screen) [2026-10-17] ---------------------------------- */
.top { gap: 14px; }
.search { flex: 1; justify-content: flex-start; max-width: 760px; }
.search input { width: 100%; border-radius: 12px; padding: 10px 16px 10px 42px; font-size: 15px;
  background: var(--panel) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa0ab' stroke-width='2' stroke-linecap='round'><circle cx='11' cy='11' r='7'/><path d='M20 20l-3.5-3.5'/></svg>") 14px 50% / 18px no-repeat; }
.who { margin-left: 6px; }
.side .nav a { padding: 11px 14px; border-radius: 10px; font-size: 15.5px; }
.side .nav a.on { background: color-mix(in srgb, var(--amber) 13%, transparent); box-shadow: none; color: var(--txt); }
.side .nav a.on svg { stroke: var(--amber); }
.side .nav a.scan-cta { margin: 10px 0 6px; padding: 12px 14px; border-radius: 10px; }
.nav-h { display: block; margin: 12px 14px 4px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mut); }

/* ---- feed to the mock ---- */
.fd { max-width: 820px; }
.fd-ban { position: relative; display: flex; align-items: center; gap: 16px; padding: 16px 190px 16px 18px; margin-bottom: 18px; overflow: hidden;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); }
.fd-ban > svg { width: 38px; height: 38px; flex: none; stroke: var(--amber); fill: none; stroke-width: 1.8; stroke-linecap: round; }
.fd-ban b { display: block; font-size: 16px; } .fd-ban span { color: var(--mut); font-size: 13.5px; }
.fd-ban .btn { flex: none; white-space: nowrap; z-index: 1; }
.fd-ban img { position: absolute; right: 0; top: 0; height: 100%; width: 190px; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%); }
.fd-ban-x { position: absolute; top: 6px; right: 8px; z-index: 2; background: #0008; border: 0; color: #fff; width: 24px; height: 24px; border-radius: 50%; cursor: pointer; line-height: 1; }
.fd-h1 { font-size: 40px; line-height: 1.05; margin: 2px 0 4px; letter-spacing: 0; }
.fd-sub { margin: 0 0 10px; font-size: 19px; color: var(--mut); }
.fd-tabs { display: flex; align-items: center; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.fd-tabs button { background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; color: var(--mut); font: inherit; font-size: 16px; padding: 8px 2px 10px; margin-right: 22px; cursor: pointer; }
.fd-tabs button.on { color: var(--txt); border-bottom-color: var(--amber); font-weight: 600; }
.fd-sel { background: var(--panel); border: 1px solid var(--line); color: var(--txt); border-radius: 999px; padding: 6px 30px 6px 12px; font: inherit; font-size: 13.5px; }
.cmp { padding: 12px 14px; margin-bottom: 14px; }
.cmp-row { display: flex; align-items: center; gap: 12px; }
.cmp-row textarea { flex: 1; min-height: 0; resize: none; border-radius: 999px; padding: 10px 16px; font-size: 15px; line-height: 1.4; overflow: hidden; }
.cmp-row textarea.open { border-radius: 14px; }
.cmp-tool { display: inline-flex; align-items: center; gap: 7px; background: none; border: 0; color: var(--txt); font: inherit; font-size: 14px; padding: 8px 10px; border-radius: 8px; cursor: pointer; white-space: nowrap; }
.cmp-tool:hover { background: var(--panel2); }
.cmp-tool svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cmp-foot { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.feed { max-width: none; gap: 16px; }
.post { padding: 16px 18px; }
.post-head { position: relative; align-items: flex-start; }
.avatar.md { width: 40px; height: 40px; border-width: 0; font-size: 17px; }
.post-head .nm { font-size: 16px; display: flex; align-items: center; gap: 6px; }
.rb { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 4px; background: var(--amber); color: var(--ink); font-size: 10px; font-weight: 800; line-height: 1; }
.rb img { width: 14px; height: 14px; }
.post-head .when { font-size: 13px; }
.post-more { background: none; border: 0; color: var(--mut); font-size: 20px; line-height: 1; padding: 2px 8px; border-radius: 8px; cursor: pointer; }
.post-more:hover { background: var(--panel2); color: var(--txt); }
.post-menu { position: absolute; right: 0; top: 32px; z-index: 5; min-width: 160px; background: var(--panel2); border: 1px solid var(--line); border-radius: 10px; padding: 4px; box-shadow: 0 10px 30px #000a; }
.post-menu button { display: block; width: 100%; text-align: left; background: none; border: 0; color: var(--txt); font: inherit; font-size: 14px; padding: 8px 10px; border-radius: 6px; cursor: pointer; }
.post-menu button:hover { background: var(--panel); }
.post-body { font-size: 16px; margin: 8px 0 2px; }
.post-media { margin-top: 12px; border-radius: 10px; }
.post-media img { max-height: 560px; }
.post-acts { gap: 14px; margin-top: 12px; padding-top: 10px; border-top: 0; }
.post-acts button, .post-acts a.act { display: inline-flex; align-items: center; gap: 7px; background: none; border: 0; color: var(--mut); font: inherit; font-size: 14px; padding: 4px 2px; border-radius: 8px; cursor: pointer; }
.post-acts button:hover, .post-acts a.act:hover { background: none; color: var(--txt); text-decoration: none; }
.post-acts svg { width: 20px; height: 20px; }
.post-acts button.on { color: #f05a5a; }

/* ---- right rail to the mock ---- */
.rp { padding: 16px; }
.rp-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.rp-h h3 { margin: 0; font-size: 19px; } .rp-h a { font-size: 13px; color: var(--amber); }
.rp-sub { margin: 0 0 12px; font-size: 13px; color: var(--mut); }
.rp-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.rp-card { display: flex; flex-direction: column; gap: 1px; padding: 8px; border: 1px solid var(--line); border-radius: 10px; color: var(--txt); font-size: 13px; }
.rp-card:hover { text-decoration: none; border-color: var(--amber); }
.rp-card img { width: 100%; aspect-ratio: 63 / 88; object-fit: cover; border-radius: 6px; margin-bottom: 6px; background: var(--panel2); }
.rp-card b { font-size: 14px; line-height: 1.2; } .rp-card span { color: var(--mut); font-size: 12px; } .rp-card em { font-style: normal; font-weight: 700; font-size: 15px; margin-top: 3px; }
.rp-btn { display: flex; justify-content: center; align-items: center; gap: 6px; width: 100%; padding: 9px 12px; border: 1px solid var(--amber); border-radius: 10px; color: var(--amber); font-weight: 600; font-size: 14px; }
.rp-btn:hover { background: color-mix(in srgb, var(--amber) 12%, transparent); text-decoration: none; }
.rp-spot { display: grid; grid-template-columns: minmax(0, 1fr) 118px; gap: 12px; margin: 8px 0 12px; }
.rp-spot .avatar { width: 56px; height: 56px; border-width: 0; font-size: 22px; }
.rp-spot-img { width: 118px; height: 150px; object-fit: cover; border-radius: 10px; background: var(--panel2); }
.rp-quote { display: block; margin-top: 10px; font-style: italic; font-size: 15px; line-height: 1.4; }
.rp-quote::before, .rp-quote::after { content: '"'; }
.rp-meta { display: block; font-size: 12.5px; color: var(--mut); }
.rp-ev { display: block; color: var(--txt); margin: 8px 0 12px; }
.rp-ev:hover { text-decoration: none; }
.rp-ev-img { width: 100%; height: 86px; object-fit: cover; border-radius: 10px; display: block; margin-bottom: 10px; }
.rp-ev-row { display: flex; gap: 12px; align-items: flex-start; }
.rp-ev-row b { display: block; font-size: 15.5px; line-height: 1.25; } .rp-ev-row span { display: block; font-size: 12.5px; color: var(--mut); }
.rp-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.rp-tags span { font-size: 11.5px; padding: 3px 9px; border-radius: 999px; background: var(--panel2); color: var(--txt); }
@media (max-width: 820px) {
  .fd-h1 { font-size: 30px; } .fd-ban { padding-right: 18px; } .fd-ban img { display: none; }
  .cmp-tool span { display: none; } .fd-tabs button { margin-right: 14px; }
}

/* ---- deck builder to the mock [2026-10-17] ---- */
.dk2 { max-width: 1400px; }
.dk-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.dk-bar { display: flex; align-items: center; gap: 12px; padding: 10px 12px; margin-bottom: 14px; }
.dk-name { display: inline-flex; align-items: center; gap: 10px; background: var(--panel2); border: 1px solid var(--line); border-radius: 10px; color: var(--txt); font: inherit; font-size: 17px; font-weight: 600; padding: 8px 14px; cursor: pointer; }
.dk-name svg { width: 16px; height: 16px; fill: none; stroke: var(--mut); stroke-width: 1.8; }
.dk-fmt { display: inline-flex; align-items: center; gap: 8px; color: var(--mut); font-size: 14px; } .dk-fmt select { padding: 7px 28px 7px 10px; }
.dk { grid-template-columns: 220px minmax(0, 1fr) 300px; gap: 16px; }
.dk-filt { padding: 14px; position: sticky; top: 76px; }
.dk-filt h3 { margin: 16px 0 8px; font-size: 15px; } .dk-filt h3:first-child { margin-top: 0; }
.dk-filt input[type="search"] { width: 100%; }
.dk-seg { display: flex; gap: 6px; } .dk-seg button { flex: 1; background: var(--panel2); border: 1px solid var(--line); border-radius: 8px; color: var(--txt); font: inherit; font-size: 13.5px; padding: 7px 4px; cursor: pointer; }
.dk-seg button.on { background: var(--amber); border-color: var(--amber); color: var(--ink); font-weight: 600; }
.dk-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.dk-types .dk-chip { display: flex; flex-direction: column; align-items: center; gap: 4px; border: 1px solid transparent; border-radius: 10px; padding: 6px 2px; font-size: 12px; color: var(--mut); background: none; }
.dk-types .dk-chip.on { background: var(--panel2); border-color: var(--amber); color: var(--txt); }
.dk-ti { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #15120a; font-style: normal; font-weight: 800; font-size: 16px; }
.dk-check { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; font-size: 14px; cursor: pointer; }
.dk-adv { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 10px; } .dk-adv summary { cursor: pointer; font-weight: 600; font-size: 14px; }
.dk-adv label { display: grid; gap: 3px; font-size: 12.5px; color: var(--mut); margin-top: 10px; }
.dk-adv .dk-chips { margin-top: 10px; } .dk-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .dk-adv #f-reset { margin-top: 12px; }
.dk-chip.on { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.dk-tools { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.dk-grid { grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 14px; }
.dk-card img { padding: 6px 6px 0; border-radius: 12px; }
.dk-body { padding: 8px 10px 10px; gap: 4px; }
.dk-nm b { font-size: 15px; }
.dk-line2 { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.dk-price { font-weight: 700; font-size: 15px; }
.dk-st { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--mut); } .dk-st.ok { color: #34d399; } .dk-st.miss { color: #f87171; }
.dk-st svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dk-acts { display: grid; grid-template-columns: 40px 1fr; gap: 6px; margin-top: 4px; } .dk-acts .btn { padding: 8px; }
.dk-heart { display: grid; place-items: center; background: none; border: 1px solid var(--line); border-radius: 8px; color: var(--mut); cursor: pointer; }
.dk-heart svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; } .dk-heart.on { color: #f05a5a; } .dk-heart.on svg { fill: currentColor; }
.dk-promo { position: relative; display: flex; align-items: center; gap: 16px; padding: 20px 220px 20px 22px; margin-top: 18px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); }
.dk-promo b { display: block; font-size: 20px; line-height: 1.2; margin-bottom: 4px; } .dk-promo span { color: var(--mut); font-size: 14px; } .dk-promo .btn { flex: none; z-index: 1; white-space: nowrap; }
.dk-promo img { position: absolute; right: 0; top: 0; height: 100%; width: 260px; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); mask-image: linear-gradient(90deg, transparent, #000 40%); }
.dk-deck { padding: 16px; }
.dk-dh { display: flex; align-items: baseline; justify-content: space-between; } .dk-dh h3 { margin: 0; font-size: 19px; } .dk-dh b { font-size: 19px; }
.dk-prog { height: 8px; border-radius: 999px; background: var(--panel2); margin: 10px 0 6px; overflow: hidden; } .dk-prog i { display: block; height: 100%; background: var(--amber); border-radius: 999px; }
.dk-left { color: var(--amber); } .dk-left.pos { color: #34d399; } .dk-left.bad { color: #f87171; }
.dk-sech { display: flex; justify-content: space-between; margin: 14px 0 6px; font-size: 15px; } .dk-sech span { color: var(--mut); }
.dk-line-row { gap: 8px; padding: 5px 0; } .dk-thumb { width: 28px; height: 28px; border-radius: 6px; object-fit: cover; background: var(--panel2); flex: none; display: inline-block; }
.dk-step { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.dk-step button { width: 26px; height: 26px; background: none; border: 0; color: var(--txt); font: inherit; font-size: 16px; cursor: pointer; } .dk-step button:hover { background: var(--panel2); }
.dk-step b { min-width: 22px; text-align: center; font-size: 13px; }
.dk-sum { display: grid; gap: 6px; margin: 14px 0 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; }
.dk-sum span { display: inline-flex; align-items: center; gap: 8px; } .dk-sum svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dk-sum .pos { color: #34d399; } .dk-sum .bad { color: #f87171; }
.dk-wide { width: 100%; margin-top: 8px; padding: 11px; } .dk-wide svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.dk-small-acts { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; } .dk-small-acts button { background: none; border: 0; color: var(--mut); font: inherit; font-size: 13px; cursor: pointer; padding: 0; } .dk-small-acts button:hover { color: var(--txt); text-decoration: underline; }
.dk-miss-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); } .dk-miss-row img { width: 36px; border-radius: 4px; }
@media (max-width: 1180px) { .dk { grid-template-columns: 200px minmax(0, 1fr); } .dk-deck { grid-column: 1 / -1; position: static; max-height: none; } }
@media (max-width: 820px) { .dk { grid-template-columns: 1fr; } .dk-filt { position: static; } .dk-head { flex-direction: column; align-items: flex-start; } .dk-promo { padding-right: 22px; } .dk-promo img { display: none; } }

/* ---- restoration to the redesign [2026-10-17] ---- */
.rs-hero2 { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 24px; align-items: center; margin-bottom: 22px; }
.rs-kicker { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); margin-bottom: 6px; }
.rs-hero2 .fd-sub { max-width: 640px; margin-bottom: 14px; }
.rs-stats { display: grid; gap: 10px; }
.rs-stats > div { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: flex; align-items: baseline; gap: 10px; }
.rs-stats b { font-size: 26px; color: var(--amber); font-family: "Carrois Gothic SC", "Afacad Flux", sans-serif; } .rs-stats span { color: var(--mut); font-size: 13.5px; }
.rs-h2 { margin: 6px 0 10px; font-size: 24px; }
.rs-svcs { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.rs-svc { display: flex; flex-direction: column; gap: 6px; padding: 16px; } .rs-svc > b { font-size: 16px; } .rs-svc p { margin: 0; font-size: 14px; color: var(--mut); flex: 1; }
.rs-svc .rs-price { font-size: 26px; color: var(--amber); font-family: "Carrois Gothic SC", "Afacad Flux", sans-serif; font-weight: 400; } .rs-svc .rs-price span { font-size: 12.5px; color: var(--mut); margin-left: 6px; font-family: inherit; }
.rs-steps { list-style: none; padding: 0; counter-reset: rs; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px 18px; }
.rs-steps li { counter-increment: rs; position: relative; padding-left: 40px; margin: 0; font-size: 14.5px; }
.rs-steps li::before { content: counter(rs); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--amber); color: var(--ink); font-weight: 800; display: grid; place-items: center; font-size: 14px; }
@media (max-width: 820px) { .rs-hero2 { grid-template-columns: 1fr; } .rs-stats { grid-template-columns: 1fr 1fr 1fr; } .rs-stats > div { flex-direction: column; gap: 0; } }
