/* LuckyBer — design system (mobile-first) */
:root {
  --red-900: #6e0b0e;
  --red-800: #8e0f13;
  --red-700: #b4161b;
  --red-600: #c9252a;
  --red-100: #fbe3e3;
  --red-50: #fdf3f2;
  --gold-700: #8f6a1f;
  --gold-600: #b8862b;
  --gold-500: #c99a2e;
  --gold-400: #e0b75a;
  --gold-200: #f3dfae;
  --gold-50: #fdf8ec;
  --ink: #1f1a17;
  --ink-2: #4a423d;
  --muted: #7a706a;
  --line: #ece4da;
  --line-2: #ddd2c4;
  --bg: #faf7f2;
  --surface: #ffffff;
  --green: #1f8a4c;
  --green-50: #e9f6ee;
  --amber: #a7660d;
  --amber-50: #fdf3e2;
  --blue: #1f5fbf;
  --blue-50: #eaf1fc;
  --ais: #5fa833;
  --true: #e3262b;
  --dtac: #0a9bd0;
  --nt: #e59a00;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(60, 30, 10, .06), 0 4px 14px rgba(60, 30, 10, .06);
  --shadow-lg: 0 10px 30px rgba(60, 20, 10, .14);
  --font: "Noto Sans Thai", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Prompt", "Noto Sans Thai", system-ui, sans-serif;
  --wrap: 1200px;
}
.lang-zh { --font: "Noto Sans Thai", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif; --font-display: "Prompt", "PingFang SC", "Microsoft YaHei", sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-700); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.25; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.005em; }
h1 { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem); }
h2 { font-size: clamp(1.25rem, 1.1rem + .7vw, 1.6rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
small { font-size: .82em; }
code, .mono { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.page { padding-top: 18px; padding-bottom: 48px; }
.narrow-page { max-width: 860px; }
.narrow { max-width: 860px; margin: 0 auto; }
.section { margin: 40px auto; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section-head h2 { margin: 0; }
.section-title { margin: 28px 0 14px; }
.center { text-align: center; }
.lead { font-size: 1.06rem; color: var(--ink-2); max-width: 760px; }
.page-title { margin-bottom: .35em; }
.muted { color: var(--muted); }
.tiny { font-size: .8rem; }
.warn { color: var(--amber); }
.disclaimer { font-size: .85rem; color: var(--muted); margin-top: 18px; }
.empty { background: var(--surface); border: 1px dashed var(--line-2); border-radius: var(--radius); padding: 32px 20px; text-align: center; color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }
.linklike { background: none; border: 0; padding: 0; color: var(--red-700); cursor: pointer; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: .98rem; line-height: 1.2; cursor: pointer; text-decoration: none !important; transition: background .15s, box-shadow .15s, transform .05s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red-700); color: #fff; }
.btn-primary:hover { background: var(--red-800); }
.btn-gold { background: linear-gradient(180deg, var(--gold-400), var(--gold-500)); color: #3a2604; border-color: var(--gold-600); }
.btn-gold:hover { background: var(--gold-500); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--red-700); color: var(--red-700); }
.btn-light { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-light:hover { background: rgba(255, 255, 255, .22); }
.btn-line { background: #06c755; color: #fff; }
.btn-line:hover { background: #05a948; }
.btn-wechat { background: #1aad19; color: #fff; }
.btn-sm { min-height: 36px; padding: 7px 14px; font-size: .9rem; }
.btn-xs { min-height: 30px; padding: 4px 10px; font-size: .82rem; }
.btn-lg { min-height: 52px; padding: 12px 24px; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; }

/* ---------- Forms ---------- */
.input { width: 100%; min-height: 44px; padding: 9px 12px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: #fff; font-size: 1rem; }
.input:focus { border-color: var(--red-700); outline: none; box-shadow: 0 0 0 3px rgba(180, 22, 27, .12); }
textarea.input { min-height: 90px; resize: vertical; }
.input-xl { min-height: 56px; font-size: 1.35rem; font-family: var(--font-display); letter-spacing: .04em; text-align: center; }
.f-label { display: block; font-size: .88rem; font-weight: 600; color: var(--ink-2); margin: 12px 0 5px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.f-row > div > .f-label:first-child { margin-top: 12px; }
.check { display: flex; align-items: center; gap: 8px; margin: 12px 0; font-size: .92rem; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--red-700); }
.form .btn { margin-top: 16px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-block; padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 999px; font-size: .88rem; background: #fff; }
.seg input:checked + span { background: var(--red-700); border-color: var(--red-700); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--gold-400); }
.digit-boxes { display: flex; gap: 4px; }
.digit-boxes input { width: 100%; min-width: 0; height: 42px; text-align: center; border: 1px solid var(--line-2); border-radius: 8px; font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; background: #fff; padding: 0; }
.digit-boxes input:focus { border-color: var(--red-700); outline: none; box-shadow: 0 0 0 3px rgba(180, 22, 27, .12); }
.digit-boxes input.gap { margin-right: 6px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.hdr { display: flex; align-items: center; gap: 14px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none !important; flex-shrink: 0; }
.brand-mark { width: 36px; height: 36px; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -.01em; }
.brand-name b { color: var(--red-700); font-weight: 700; }
.brand-light .brand-name { color: #fff; }
.brand-light .brand-name b { color: var(--gold-400); }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.main-nav > a, .nav-drop > summary { padding: 8px 10px; border-radius: 8px; color: var(--ink); font-weight: 500; font-size: .95rem; cursor: pointer; text-decoration: none; white-space: nowrap; }
.main-nav > a:hover, .nav-drop > summary:hover { background: var(--red-50); color: var(--red-700); }
.nav-drop { position: relative; }
.nav-drop > summary { list-style: none; }
.nav-drop > summary::-webkit-details-marker { display: none; }
.nav-drop > summary::after { content: "▾"; font-size: .75em; margin-left: 4px; }
.nav-panel { position: absolute; top: calc(100% + 6px); left: 0; width: 480px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.nav-panel a { padding: 7px 10px; border-radius: 8px; color: var(--ink); font-size: .92rem; }
.nav-panel a:hover { background: var(--red-50); color: var(--red-700); text-decoration: none; }
.nav-mobile-only { display: none; }
.hdr-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.lang-switch { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; }
.lang-switch a { padding: 5px 9px; font-size: .8rem; font-weight: 600; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.lang-switch a.is-active { background: var(--red-700); color: #fff; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; color: var(--ink); }
.icon-btn:hover { background: var(--red-50); color: var(--red-700); }
.fav-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--red-700); color: #fff; font-size: .7rem; font-weight: 700; line-height: 18px; text-align: center; }
.hdr-login { font-weight: 600; font-size: .95rem; color: var(--ink); white-space: nowrap; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 0; background: none; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Flash ---------- */
.flash-wrap { margin-top: 14px; }
.flash { position: relative; padding: 12px 44px 12px 16px; border-radius: var(--radius-sm); margin-bottom: 8px; font-weight: 500; }
.flash-success { background: var(--green-50); color: #135c33; border: 1px solid #bfe3cc; }
.flash-error { background: var(--red-50); color: var(--red-800); border: 1px solid #f2c4c4; }
.flash-info { background: var(--blue-50); color: #1a4b94; border: 1px solid #c8daf6; }
.flash-x { position: absolute; right: 8px; top: 6px; width: 30px; height: 30px; border: 0; background: none; font-size: 1.3rem; cursor: pointer; color: inherit; opacity: .7; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1200px 500px at 85% -10%, rgba(224, 183, 90, .35), transparent 60%), linear-gradient(160deg, var(--red-800) 0%, var(--red-700) 55%, #9a1217 100%); }
.hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 520px; height: 520px; border-radius: 50%; border: 1px solid rgba(243, 223, 174, .25); box-shadow: 0 0 0 60px rgba(243, 223, 174, .05), 0 0 0 130px rgba(243, 223, 174, .04); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; padding-top: 44px; padding-bottom: 48px; }
.hero-inner-center { grid-template-columns: 1fr; text-align: center; max-width: 860px; }
.hero h1 { color: #fff; margin-bottom: .4em; }
.hero-sub { font-size: 1.1rem; color: #fbe9dc; max-width: 560px; }
.hero-inner-center .hero-sub { margin-left: auto; margin-right: auto; }
.hero-stats { color: var(--gold-200); font-size: .95rem; }
.hero-stats b { color: #fff; font-family: var(--font-display); font-size: 1.15rem; }
.hero-search { background: #fff; color: var(--ink); border-radius: 18px; padding: 16px; box-shadow: var(--shadow-lg); }
.hero-q { display: flex; gap: 8px; }
.hero-q input { flex: 1; min-width: 0; min-height: 52px; padding: 10px 16px; border: 2px solid var(--line-2); border-radius: 999px; font-size: 1.08rem; font-family: var(--font-display); }
.hero-q input:focus { border-color: var(--red-700); outline: none; }
.hero-adv { margin-top: 10px; }
.hero-adv > summary { cursor: pointer; font-size: .9rem; font-weight: 600; color: var(--red-700); padding: 4px 0; }
.hero-selects { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.hero-inner > * { min-width: 0; }
.hero-selects select { width: 100%; min-width: 0; min-height: 42px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 6px 8px; background: #fff; font-size: .9rem; }
select.input { max-width: 100%; }
.hero-adv .btn { margin-top: 10px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.hero-chips a { padding: 6px 12px; border-radius: 999px; background: var(--gold-50); border: 1px solid var(--gold-200); color: var(--gold-700); font-size: .86rem; font-weight: 600; text-decoration: none; }
.hero-chips a:hover { background: var(--gold-200); }
.promo-line { display: inline-block; background: var(--gold-50); color: var(--gold-700); border: 1px solid var(--gold-200); border-radius: 999px; padding: 6px 14px; font-size: .9rem; font-weight: 600; }
.hero .promo-line, .band-sell .promo-line { background: rgba(255, 255, 255, .14); color: var(--gold-200); border-color: rgba(243, 223, 174, .45); }

/* ---------- Chips, badges ---------- */
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; background: #f4efe8; color: var(--ink-2); font-size: .8rem; font-weight: 600; border: 1px solid transparent; text-decoration: none; }
a.chip:hover { border-color: var(--red-700); color: var(--red-700); text-decoration: none; }
.chip.is-active { background: var(--red-700); color: #fff; }
.chip small { opacity: .75; font-weight: 500; }
.chip-gold { background: var(--gold-50); color: var(--gold-700); border-color: var(--gold-200); }
.chip-ok { background: var(--green-50); color: var(--green); }
.chip-warn { background: var(--amber-50); color: var(--amber); }
.chip-dark { background: var(--ink); color: #fff; }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 22px; }
.net { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; color: #fff; background: var(--muted); }
.net-ais { background: var(--ais); }
.net-true { background: var(--true); }
.net-dtac { background: var(--dtac); }
.net-nt { background: var(--nt); }
.grade { display: inline-grid; place-items: center; min-width: 30px; height: 24px; padding: 0 6px; border-radius: 6px; font-family: var(--font-display); font-weight: 700; font-size: .8rem; color: #fff; background: #9b928b; }
.grade-ap { background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); color: #3a2604; }
.grade-a { background: var(--red-700); }
.grade-b { background: #c76b2a; }
.grade-c { background: #9b928b; }
.grade-d { background: #6d6560; }
.grade-xl { min-width: 64px; height: 64px; border-radius: 16px; font-size: 1.7rem; }
.grade-cn { background: linear-gradient(135deg, var(--red-600), var(--red-800)); color: var(--gold-200); }
.vbadge { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--green); color: #fff; font-size: .65rem; font-weight: 700; vertical-align: 1px; }
.plan-badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .75rem; font-weight: 700; background: #efe9e2; color: var(--ink-2); }
.plan-pro { background: var(--red-700); color: #fff; }
.plan-premium { background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); color: #3a2604; }
.rating { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .76rem; font-weight: 700; white-space: nowrap; }
.rating-great { background: var(--gold-50); color: var(--gold-700); border: 1px solid var(--gold-200); }
.rating-good { background: var(--green-50); color: var(--green); }
.rating-mid { background: #f1ede8; color: var(--muted); }
.rating-bad { background: var(--red-50); color: var(--red-700); }

/* ---------- Number cards ---------- */
.ngrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(222px, 1fr)); gap: 14px; }
.ncard { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transition: box-shadow .18s, transform .18s, border-color .18s; overflow: hidden; }
.ncard:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: var(--gold-200); }
.ncard.is-featured { border-color: var(--gold-400); background: linear-gradient(180deg, var(--gold-50), #fff 45%); }
.ncard-link { display: block; padding: 12px 14px 10px; color: inherit; text-decoration: none !important; flex: 1; }
.ncard-top { display: flex; align-items: center; gap: 6px; min-height: 24px; }
.ncard-top .grade { margin-left: auto; }
.ncard-num { margin: 10px 0 6px; font-family: var(--font-display); font-weight: 600; font-size: 1.55rem; letter-spacing: .015em; white-space: nowrap; color: var(--ink); font-variant-numeric: tabular-nums; }
.ncard-num i, .num-big i { font-style: normal; color: #c7bdb3; margin: 0 1px; }
.ncard-num em, .num-big em { font-style: normal; color: var(--red-700); }
.ncard-meta { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--muted); }
.sum { font-weight: 600; color: var(--ink-2); }
.sum.is-good { color: var(--gold-700); }
.sum.is-good::after { content: " ★"; color: var(--gold-500); }
.cn-score { padding: 1px 7px; border-radius: 999px; background: var(--red-50); color: var(--red-700); font-weight: 700; font-size: .75rem; }
.ncard-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.ncard-tags span { font-size: .74rem; padding: 1px 8px; border-radius: 999px; background: #f6f1ea; color: var(--ink-2); font-weight: 600; }
.ncard-price { margin-top: 10px; }
.ncard-price strong { font-family: var(--font-display); font-size: 1.22rem; font-weight: 700; color: var(--red-700); }
.ncard-price small { color: var(--muted); margin-left: 4px; }
.ncard-price .sold { color: var(--muted); }
.ncard-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px 8px 14px; border-top: 1px solid var(--line); background: #fdfbf8; }
.ncard-shop { font-size: .82rem; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fav-btn { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; cursor: pointer; color: #b9ada3; padding: 6px; border-radius: 999px; }
.fav-btn svg { fill: none; stroke: currentColor; stroke-width: 2; }
.fav-btn:hover { color: var(--red-700); }
.fav-btn[aria-pressed="true"] { color: var(--red-700); }
.fav-btn[aria-pressed="true"] svg { fill: currentColor; }
.fav-btn-lg { border: 1px solid var(--line-2); padding: 8px 14px; color: var(--ink-2); background: #fff; font-weight: 600; font-size: .9rem; }
.stale-flag { position: absolute; top: 0; left: 50%; transform: translateX(-50%); padding: 1px 10px; border-radius: 0 0 8px 8px; background: var(--amber-50); color: var(--amber); font-size: .7rem; font-weight: 700; white-space: nowrap; }
.stale-flag.is-reserved { background: #fff1d6; }
.ncard.is-stale .ncard-num { color: var(--ink-2); }
.ncard.is-sold { opacity: .65; }

/* ---------- Home ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.cat-tile { display: flex; flex-direction: column; gap: 2px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none !important; transition: border-color .15s, box-shadow .15s; }
.cat-tile:hover { border-color: var(--red-700); box-shadow: var(--shadow); }
.cat-icon { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--red-700); letter-spacing: .02em; }
.cat-name { font-weight: 600; }
.cat-count { font-size: .8rem; color: var(--muted); }
.band { padding: 44px 0; }
.band-tools { background: linear-gradient(180deg, #fff, var(--gold-50)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tools-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tool-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); }
.inline-form { display: flex; gap: 8px; margin: 12px 0; }
.inline-form .input { flex: 1; }
.tool-links { font-size: .9rem; }
.day-chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.day-chips a { display: flex; flex-direction: column; align-items: center; padding: 9px 4px; border-radius: 12px; border: 1px solid var(--line); border-top: 4px solid var(--day, var(--red-700)); background: #fff; color: var(--ink); font-weight: 600; font-size: .86rem; text-align: center; text-decoration: none; }
.day-chips a small { color: var(--muted); font-weight: 500; font-size: .74rem; }
.day-chips a:hover { box-shadow: var(--shadow); }
.cn-band { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; }
.cn-copy .btn { margin: 4px 6px 0 0; }
.cn-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cn-list li { display: flex; flex-direction: column; align-items: center; padding: 12px 6px; border-radius: 14px; background: var(--red-50); }
.cn-list b { font-family: var(--font-display); font-size: 1.4rem; color: var(--red-700); }
.cn-list span { font-size: .85rem; color: var(--ink-2); }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.shop-card { display: flex; align-items: center; gap: 12px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none !important; }
.shop-card:hover { border-color: var(--red-700); }
.shop-logo { flex-shrink: 0; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--red-50); color: var(--red-700); font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; overflow: hidden; }
.shop-logo img { width: 100%; height: 100%; object-fit: cover; }
.shop-logo-lg { width: 88px; height: 88px; border-radius: 22px; font-size: 2rem; border: 3px solid #fff; box-shadow: var(--shadow); }
.shop-info { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.shop-info strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shop-info small { color: var(--muted); }
.band-sell { background: linear-gradient(135deg, var(--red-800), var(--red-700)); color: #fff; }
.sell-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.sell-band h2 { color: #fff; }
.sell-band p { color: #fbe9dc; margin: 0 0 .6em; max-width: 640px; }
.sell-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.wanted-band { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: var(--gold-50); border: 1px solid var(--gold-200); border-radius: 22px; padding: 24px 28px; }
.wanted-band h2 { margin-bottom: .2em; }
.wanted-band p { margin: 0; color: var(--ink-2); }
.seo-text { max-width: 900px; color: var(--ink-2); }
.seo-text h2 { color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { margin-top: 32px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 8px; }
.faq summary { cursor: pointer; padding: 14px 44px 14px 16px; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 10px; font-size: 1.4rem; color: var(--red-700); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 16px 14px; margin: 0; color: var(--ink-2); }

/* ---------- Breadcrumbs & pager ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0 0 12px; padding: 0; font-size: .85rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 4px; color: #c2b6ab; }
.crumbs a { color: var(--muted); }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 28px 0 8px; }
.pager a, .pager span { min-width: 40px; height: 40px; padding: 0 10px; display: inline-grid; place-items: center; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); font-weight: 600; font-size: .92rem; text-decoration: none; }
.pager a:hover { border-color: var(--red-700); color: var(--red-700); }
.pager .is-current { background: var(--red-700); border-color: var(--red-700); color: #fff; }

/* ---------- Listing + filters ---------- */
.listing { display: grid; grid-template-columns: 280px 1fr; gap: 22px; align-items: start; }
.listing-side { position: sticky; top: 80px; max-height: calc(100vh - 96px); overflow: auto; }
.filters { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 16px 16px; }
.filters-head { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; }
.filters-head h2 { font-size: 1.05rem; margin: 0; }
.filters-close { display: none; border: 0; background: none; font-size: 1.6rem; cursor: pointer; }
.filters-actions { display: grid; gap: 8px; margin-top: 14px; }
.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.results-count { margin: 0; color: var(--ink-2); }
.results-count b { font-family: var(--font-display); color: var(--ink); }
.results-tools { display: flex; align-items: center; gap: 8px; }
.show-filters { display: none; }
.sort select { min-height: 38px; border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 12px; background: #fff; font-size: .9rem; }
.cat-head { border-left: 5px solid var(--day, var(--red-700)); padding-left: 16px; }
.cat-head p:last-child { margin-bottom: 0; }

/* ---------- Number page ---------- */
.num-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.num-hero { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); text-align: center; position: relative; overflow: hidden; }
.num-hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: linear-gradient(90deg, var(--red-700), var(--gold-400), var(--red-700)); }
.num-hero-top { display: flex; justify-content: center; align-items: center; gap: 6px; flex-wrap: wrap; }
.num-big { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.1rem, 1.3rem + 4vw, 3.6rem); letter-spacing: .02em; margin: 14px 0 8px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.num-big-center { text-align: center; }
.num-tags { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.num-tags .tag { padding: 3px 10px; border-radius: 999px; background: #f6f1ea; font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.num-tags .sum { padding: 3px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); font-size: .82rem; }
.num-price { margin: 16px 0 6px; }
.num-price strong { font-family: var(--font-display); font-size: 2rem; color: var(--red-700); }
.num-price small { color: var(--muted); font-size: 1rem; }
.confirmed { color: var(--green); font-size: .9rem; font-weight: 600; }
.notice { padding: 12px 16px; border-radius: var(--radius-sm); margin: 12px 0; font-size: .95rem; text-align: left; }
.notice-warn { background: var(--amber-50); color: #7a4a07; border: 1px solid #f1d6a8; }
.notice-info { background: var(--blue-50); color: #1a4b94; border: 1px solid #c8daf6; }
.notice-error { background: var(--red-50); color: var(--red-800); border: 1px solid #f2c4c4; }
.notice-ok { background: var(--green-50); color: #135c33; border: 1px solid #bfe3cc; }
.notice-action { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.notice-action form { margin: 0; }
.contact-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.share-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.share { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-size: .86rem; font-weight: 600; color: var(--ink-2); cursor: pointer; text-decoration: none; }
.share:hover { border-color: var(--red-700); color: var(--red-700); text-decoration: none; }
.share-line { color: #06a24a; }
.share-fb { color: #1d4fb8; }
.card-block { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-top: 16px; }
.card-block h2 { font-size: 1.12rem; }
.num-side > section { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 14px; }
.num-side h2 { font-size: 1.08rem; }
.shop-box-head { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none !important; }
.shop-box-head strong { display: block; }
.shop-box-head small { color: var(--muted); }
.shop-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.lead-box .btn { margin-top: 12px; }
.tip-box { background: var(--gold-50) !important; border-color: var(--gold-200) !important; font-size: .92rem; }
.sticky-contact { display: none; }

/* ---------- Analysis ---------- */
.analysis { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; margin-top: 16px; }
.analysis h3 { margin-top: 22px; }
.ana-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.ana-summary > div { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: #fbf8f4; border: 1px solid var(--line); }
.ana-summary strong { display: block; }
.ana-summary small { color: var(--muted); display: block; line-height: 1.45; }
.sum-big { display: inline-grid; place-items: center; min-width: 64px; height: 64px; border-radius: 16px; background: #efe9e2; font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; color: var(--ink); flex-shrink: 0; }
.sum-big.is-good { background: linear-gradient(135deg, var(--gold-200), var(--gold-400)); color: #3a2604; }
.cn-dial { --v: 50; display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0; background: conic-gradient(var(--red-700) calc(var(--v) * 1%), #eee5dc 0); }
.cn-dial b { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; font-family: var(--font-display); font-size: 1.1rem; }
.pair-list { display: grid; gap: 6px; }
.pair-row { display: grid; grid-template-columns: 70px 92px 1fr; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: #fbf8f4; border-left: 4px solid #d8cfc5; }
.pair-great { border-left-color: var(--gold-500); background: var(--gold-50); }
.pair-good { border-left-color: var(--green); }
.pair-bad { border-left-color: var(--red-700); background: var(--red-50); }
.pair-num { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.pair-text { font-size: .93rem; color: var(--ink-2); }
.pair-note { grid-column: 1 / -1; font-size: .78rem; color: var(--muted); }
.day-check { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.day-pill { display: flex; flex-direction: column; padding: 9px 10px; border-radius: 12px; border: 1px solid var(--line); border-top: 4px solid var(--day); font-weight: 600; font-size: .88rem; }
.day-pill small { font-weight: 500; color: var(--muted); }
.day-pill.is-ok { background: #fff; }
.day-pill.is-bad { background: #f6f2ee; color: var(--muted); }
.cn-box ul { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 6px; }
.cn-box li { padding: 8px 12px; border-radius: 10px; font-size: .93rem; }
.cn-good li { background: var(--gold-50); }
.cn-bad li { background: var(--red-50); }
.cn-box b { font-family: var(--font-display); margin-right: 6px; }

/* ---------- Tools & guides ---------- */
.analyze-form { display: flex; gap: 10px; margin: 18px 0; }
.analyze-form .input { flex: 1; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0; }
.how { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.how b { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--red-700); color: #fff; font-family: var(--font-display); margin-bottom: 8px; }
.how p { margin: 0; }
.legend { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.pair-matrix { display: grid; gap: 4px; margin: 14px 0 26px; }
.pm-row { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; }
.pm-cell { display: grid; place-items: center; aspect-ratio: 1.4; border-radius: 8px; font-family: var(--font-display); font-weight: 600; font-size: .95rem; text-decoration: none !important; color: var(--ink); }
.pm-great { background: linear-gradient(135deg, var(--gold-200), var(--gold-400)); color: #3a2604; }
.pm-good { background: #d8efdf; color: #14552f; }
.pm-mid { background: #ece6df; color: var(--ink-2); }
.pm-bad { background: #f6cfcf; color: var(--red-800); }
.pair-list-full .pair-row { grid-template-columns: 90px 92px 1fr; }
.anchor { display: block; position: relative; top: -90px; }
.sum-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; margin: 18px 0; }
.sum-card { display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none !important; }
.sum-card:hover { border-color: var(--red-700); }
.sum-card .sum-big { grid-row: 1 / 3; }
.sum-text { font-size: .92rem; }
.sum-card small { color: var(--muted); }
.sum-all { display: flex; flex-wrap: wrap; gap: 6px; }
.sum-all a { min-width: 44px; height: 40px; display: inline-grid; place-items: center; border-radius: 10px; background: #fff; border: 1px solid var(--line-2); color: var(--ink); font-family: var(--font-display); font-weight: 600; text-decoration: none; }
.sum-all a.is-empty { opacity: .45; }
.day-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin: 18px 0; }
.day-card { display: flex; flex-direction: column; padding: 16px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--day); color: var(--ink); text-decoration: none !important; }
.day-card:hover { box-shadow: var(--shadow); }
.day-name { font-weight: 700; font-family: var(--font-display); font-size: 1.1rem; }
.day-digit { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--day); line-height: 1.1; margin: 6px 0; text-decoration: line-through; text-decoration-thickness: 3px; }
.day-note { font-size: .85rem; color: var(--muted); }
.prose { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(18px, 3vw, 36px); }
.prose h2 { margin-top: 1.4em; }
.plain-list { margin: 0 0 1em; padding-left: 1.2em; }
.plain-list li { margin: 4px 0; }
.check-list { list-style: none; padding: 0; margin: 0 0 1em; }
.check-list li { position: relative; padding-left: 28px; margin: 8px 0; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--green-50); color: var(--green); display: grid; place-items: center; font-size: .75rem; font-weight: 700; }
.cta-box { text-align: center; background: var(--gold-50); border: 1px solid var(--gold-200); border-radius: 22px; padding: 26px 20px; margin: 36px 0 10px; }
.cta-box .btn { margin: 4px; }
.error-page { text-align: center; padding-top: 50px; }
.err-code { font-family: var(--font-display); font-size: 5rem; font-weight: 700; color: var(--red-700); margin: 0; line-height: 1; }
.error-page .inline-form { max-width: 480px; margin: 18px auto; }

/* ---------- Shop page ---------- */
.shop-hero { border-radius: 22px; background: linear-gradient(135deg, var(--red-800), var(--red-700)) center / cover no-repeat; padding-top: 70px; overflow: hidden; }
/* Cover photo in 3 sizes: the browser downloads only the one that matches the screen. */
.shop-hero.has-cover { background-image: var(--cover-sm); }
@media (min-width: 641px) { .shop-hero.has-cover { background-image: var(--cover-md); } }
@media (min-width: 1281px), (min-width: 641px) and (min-resolution: 2dppx) { .shop-hero.has-cover { background-image: var(--cover-lg); } }
.shop-hero-inner { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; background: #fff; padding: 16px 20px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 22px 22px; }
.shop-hero-inner .shop-logo-lg { margin-top: -54px; }
.shop-hero-text { flex: 1; min-width: 220px; }
.shop-hero-text h1 { margin: 0 0 6px; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); }
.shop-hero-text .shop-badges { margin: 0; }
.shop-hero .contact-btns { justify-content: flex-start; margin-top: 0; }
.shop-about { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }

/* ---------- Sell & pricing ---------- */
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.benefit { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.benefit h3 { color: var(--red-700); }
.benefit p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.price-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 22px 0; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); }
.price-card.is-popular { border: 2px solid var(--red-700); box-shadow: var(--shadow-lg); }
.price-card h3 { font-size: 1.3rem; margin-bottom: 4px; }
.ribbon { position: absolute; top: -12px; right: 18px; background: var(--red-700); color: #fff; font-size: .75rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.price-main { margin: 6px 0 2px; color: var(--muted); }
.price-main b { font-family: var(--font-display); font-size: 2.3rem; color: var(--ink); }
.price-alt { font-size: .86rem; color: var(--muted); }
.price-desc { font-size: .93rem; color: var(--ink-2); min-height: 3em; }
.price-features { list-style: none; padding: 0; margin: 0 0 18px; flex: 1; font-size: .92rem; }
.price-features li { padding: 6px 0; border-bottom: 1px dashed var(--line); }
.yes { color: var(--green); font-weight: 700; }
.no { color: #c5bbb1; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); }
.compare { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: .93rem; }
.compare th, .compare td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { background: #fbf8f4; font-family: var(--font-display); }
.steps { list-style: none; padding: 0; margin: 16px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.steps b { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--gold-200); color: var(--gold-700); font-family: var(--font-display); margin-bottom: 8px; }
.steps p { margin: 0; color: var(--ink-2); font-size: .93rem; }

/* ---------- Contact, wanted, auth ---------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; align-items: start; }
.wanted-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; }
.wanted-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.wanted-list li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.wanted-want { font-weight: 600; margin-bottom: 6px; }
.wanted-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .85rem; }
.auth-page { max-width: 980px; }
.auth-card { max-width: 440px; margin: 20px auto; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 1.6rem; }
.auth-links { margin-top: 16px; text-align: center; font-size: .92rem; }
.auth-split { display: grid; grid-template-columns: 1fr 440px; gap: 28px; align-items: center; }
.auth-split .auth-card { margin: 20px 0; }
.auth-pitch h2 { font-size: 1.5rem; }

/* ---------- Dashboard & admin ---------- */
.dash { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 22px; padding-top: 18px; padding-bottom: 48px; align-items: start; }
.dash-nav { position: sticky; top: 80px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.dash-shop { display: flex; flex-direction: column; gap: 4px; padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px solid var(--line); font-size: .9rem; }
.dash-shop strong { font-family: var(--font-display); font-size: 1.05rem; }
.dash-shop .plan-badge { align-self: flex-start; }
.dash-nav nav { display: flex; flex-direction: column; gap: 2px; }
.dash-nav nav a, .dash-nav nav .linklike { display: flex; align-items: center; justify-content: space-between; padding: 9px 10px; border-radius: 8px; color: var(--ink); font-weight: 500; font-size: .95rem; text-align: left; width: 100%; }
.dash-nav nav a:hover { background: var(--red-50); text-decoration: none; }
.dash-nav nav a.is-active { background: var(--red-700); color: #fff; }
.dash-nav form { margin: 6px 0 0; }
.count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--gold-400); color: #3a2604; font-size: .75rem; font-weight: 700; }
.dash-main { min-width: 0; }
.dash-title { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); }
.dash-title small { color: var(--muted); font-size: .6em; }
.dash-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 14px 0; }
.tile { display: flex; flex-direction: column; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.tile span { font-size: .82rem; color: var(--muted); font-weight: 600; }
.tile b { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.2; }
.tile small { color: var(--muted); font-size: .75rem; }
.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.usage { height: 10px; border-radius: 999px; background: #efe8e0; overflow: hidden; margin: 4px 0 10px; }
.usage span { display: block; height: 100%; background: linear-gradient(90deg, var(--red-700), var(--gold-400)); border-radius: 999px; }
.usage-label { font-size: .88rem; margin: 6px 0 2px; color: var(--ink-2); }
.bars { display: flex; align-items: flex-end; gap: 2px; height: 120px; padding-top: 6px; border-bottom: 1px solid var(--line); }
.bar { flex: 1; display: flex; align-items: flex-end; gap: 1px; height: 100%; }
.bar i { flex: 1; display: block; min-height: 2px; background: #e8c8c9; border-radius: 3px 3px 0 0; }
.bar i.c { background: var(--red-700); }
.legend-mini { font-size: .8rem; color: var(--muted); margin-top: 6px; }
.legend-mini span { display: inline-block; width: 10px; height: 10px; border-radius: 2px; vertical-align: -1px; margin-left: 8px; }
.lg-v { background: #e8c8c9; }
.lg-c { background: var(--red-700); }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; background: #fff; }
.table th, .table td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table th { font-size: .8rem; color: var(--muted); font-weight: 600; background: #fbf8f4; white-space: nowrap; }
.table tr.is-stale td { background: #fffaf1; }
.table tr.is-new td { background: var(--gold-50); }
.lead-list { list-style: none; padding: 0; margin: 0 0 10px; }
.lead-list li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.dash-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0; }
.dash-filter .input { width: auto; flex: 1 1 160px; min-height: 38px; }
.bulk-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0; padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.bulk-bar .check { margin: 0; }
.bulk-bar .input { width: auto; min-height: 36px; flex: 1 1 200px; }
.numbers-table .mono { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.numbers-table .mono em { font-style: normal; color: var(--red-700); }
.numbers-table .mono i { font-style: normal; color: #c7bdb3; }
.input-price { width: 110px; min-height: 36px; padding: 5px 8px; }
.input-price.is-saved { border-color: var(--green); box-shadow: 0 0 0 3px rgba(31, 138, 76, .15); }
.state { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: #efe9e2; }
.state-available { background: var(--green-50); color: var(--green); }
.state-reserved { background: var(--amber-50); color: var(--amber); }
.state-sold { background: #e9e5e1; color: var(--ink-2); }
.state-pay-approved { background: var(--green-50); color: var(--green); }
.state-pay-pending { background: var(--amber-50); color: var(--amber); }
.state-pay-rejected { background: var(--red-50); color: var(--red-700); }
.report { border-color: var(--gold-200); background: var(--gold-50); }
.fail-list { margin: 0 0 12px; padding-left: 18px; font-size: .9rem; max-height: 260px; overflow: auto; }
.logo-preview { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; margin-bottom: 6px; }
.pay-box { border: 2px solid var(--red-700); }
.pay-amount { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--red-700); margin: 0 0 10px; }
.pay-grid { display: grid; grid-template-columns: 260px 1fr; gap: 20px; align-items: start; }
.qr-wrap { text-align: center; }
.qr { width: 240px; height: 240px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.qr canvas, .qr svg { width: 100%; height: 100%; }
.price-cards-dash { grid-template-columns: 1fr 1fr; }
.dur { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px dashed var(--line); cursor: pointer; font-size: .95rem; }
.dur input { accent-color: var(--red-700); }
.price-card .btn { margin-top: 14px; }
.admin-table td { font-size: .88rem; }
.inline-admin { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 6px; }
.inline-admin .input { width: auto; min-height: 34px; padding: 4px 8px; font-size: .88rem; flex: 0 1 150px; }
.inline-admin .check { margin: 0; font-size: .85rem; }
.msg-list { list-style: none; padding: 0; margin: 0; }
.msg-list .is-new { border-color: var(--gold-400); }
.tips .check-list li { font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 40px; background: #1d1412; color: #d9cdc3; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 24px; padding-top: 40px; padding-bottom: 28px; }
.foot-grid h3 { color: #fff; font-size: 1rem; margin-bottom: 10px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin: 6px 0; }
.foot-grid a { color: #d9cdc3; font-size: .92rem; }
.foot-grid a:hover { color: var(--gold-400); }
.foot-brand p { font-size: .92rem; color: #b6a89d; margin: 10px 0; }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; color: #9c8f85; }
.lang-suggest { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 70; display: flex; align-items: center; gap: 12px; background: #1d1412; color: #fff; padding: 10px 14px 10px 18px; border-radius: 999px; box-shadow: var(--shadow-lg); font-size: .92rem; max-width: calc(100% - 24px); }
.lang-suggest[hidden] { display: none; }
.lang-suggest .flash-x { position: static; color: #fff; }
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 980px; margin: 0 auto; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; background: #fff; color: var(--ink); border: 1px solid var(--line-2); border-radius: 18px; padding: 16px 18px; box-shadow: 0 12px 40px rgba(40, 15, 5, .22); font-size: .92rem; }
.cookie-banner[hidden] { display: none; }
.cookie-main { flex: 1 1 420px; }
.cookie-main p { margin: 0; }
.cookie-main strong { display: block; font-family: var(--font-display); font-size: 1rem; margin-bottom: 2px; }
.cookie-prefs { margin-top: 10px; display: grid; gap: 6px; }
.cookie-prefs[hidden] { display: none; }
.cookie-prefs .check { margin: 0; align-items: flex-start; }
.cookie-prefs small { display: block; color: var(--muted); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-actions [hidden] { display: none; }
.foot-cookie { background: none; border: 0; padding: 0; color: #d9cdc3; font-size: .92rem; cursor: pointer; }
.foot-cookie:hover { color: var(--gold-400); }
@media (max-width: 640px) {
  .cookie-banner { left: 8px; right: 8px; bottom: 8px; padding: 14px; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1 1 auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 1180px) {
  .main-nav { position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 8px 16px 16px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); max-height: calc(100vh - 64px); overflow: auto; transform: translateY(-120%); visibility: hidden; transition: transform .22s ease, visibility .22s; }
  .nav-open .main-nav { transform: translateY(0); visibility: visible; }
  .main-nav > a, .nav-drop > summary { padding: 12px 6px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-panel { position: static; width: auto; grid-template-columns: 1fr 1fr; box-shadow: none; border: 0; padding: 4px 0 8px; }
  .nav-mobile-only { display: flex; flex-direction: column; }
  .nav-mobile-only a { padding: 12px 6px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 500; }
  .nav-toggle { display: block; }
  .hide-sm { display: none !important; }
}
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 28px; padding-bottom: 32px; gap: 18px; }
  .listing { grid-template-columns: 1fr; }
  .listing-side { position: fixed; inset: 0; z-index: 80; max-height: none; background: rgba(20, 10, 5, .45); padding: 0; display: none; }
  .filters-open .listing-side { display: block; }
  .listing-side .filters { position: absolute; inset: 0 0 0 auto; width: min(360px, 92vw); overflow: auto; border-radius: 0; border: 0; padding-bottom: 40px; }
  .filters-close { display: block; }
  .show-filters { display: inline-flex; }
  .num-layout { grid-template-columns: 1fr; }
  .sticky-contact { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(60, 20, 10, .1); transform: translateY(110%); transition: transform .2s; }
  .sticky-contact.is-visible { transform: translateY(0); }
  .sticky-contact strong { flex: 1; font-family: var(--font-display); font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .number-page { padding-bottom: 90px; }
  .tools-grid, .cn-band, .contact-grid, .wanted-layout, .auth-split, .dash-grid, .pay-grid { grid-template-columns: 1fr; }
  .benefit-grid, .price-cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .dash { grid-template-columns: 1fr; }
  .dash-nav { position: static; }
  .dash-nav nav { flex-direction: row; flex-wrap: wrap; }
  .dash-nav nav a, .dash-nav nav .linklike { width: auto; padding: 7px 10px; font-size: .88rem; background: #f6f1ea; }
  .ana-summary { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hide-xs { display: none !important; }
  .hdr { gap: 6px; min-height: 58px; }
  .main-nav { inset: 58px 0 auto 0; }
  .brand-name { font-size: 1.2rem; }
  .brand-mark { width: 32px; height: 32px; }
  .lang-switch a { padding: 5px 7px; }
  .ngrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ncard-link { padding: 10px 10px 8px; }
  .ncard-num { font-size: 1.12rem; letter-spacing: 0; }
  .ncard-price strong { font-size: 1.05rem; }
  .ncard-price small { display: block; margin: 0; }
  .ncard-foot { padding: 6px 6px 6px 10px; }
  .ncard-shop { font-size: .75rem; }
  .ncard-tags span:nth-child(n+3) { display: none; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-selects { grid-template-columns: 1fr 1fr; }
  .hero-q .btn { padding: 10px 16px; }
  .day-chips { grid-template-columns: repeat(2, 1fr); }
  .day-check { grid-template-columns: repeat(2, 1fr); }
  .cn-list { grid-template-columns: repeat(3, 1fr); }
  .benefit-grid, .price-cards, .steps, .how-grid, .price-cards-dash { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .pair-row, .pair-list-full .pair-row { grid-template-columns: 60px 1fr; }
  .pair-row .pair-text { grid-column: 1 / -1; }
  .pm-cell { font-size: .78rem; border-radius: 6px; }
  .pm-row, .pair-matrix { gap: 3px; }
  .f-row { grid-template-columns: 1fr; gap: 0; }
  .analyze-form, .inline-form { flex-direction: column; }
  .num-hero, .analysis { padding: 16px; border-radius: 18px; }
  .digit-boxes input { height: 38px; font-size: 1rem; }
  .digit-boxes input.gap { margin-right: 3px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .wanted-band, .cn-band { padding: 20px; }
  .shop-hero-inner { padding: 14px; }
  .contact-btns .btn-lg { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .sticky-contact, .lead-box, .share-row, .listing-side { display: none !important; }
}
