
    @font-face { font-family: "Inter"; src: url("/fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
    :root {
      /* surfaces: elevation by brightness */
      --bg: #0b0e13;
      --panel: #11151c;
      --raised: #171c25;
      --hover: #1d2330;
      --line: rgba(255,255,255,.07);
      --line-2: rgba(255,255,255,.12);
      /* text */
      --text: #e8ebf1;
      --text-2: #b4bccb;
      --muted: #8f98a8;
      --faint: #7f889b;
      /* accent + direction */
      --accent: #5b8cff;
      --accent-2: #4a7af0;
      --accent-bg: rgba(91,140,255,.12);
      --bid: #3ccf91;
      --bid-bg: rgba(60,207,145,.12);
      --ask: #f0616d;
      --ask-bg: rgba(240,97,109,.12);
      --amber: #f2b84b;
      /* scale */
      --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px;
      --r-sm: 6px; --r: 10px; --r-lg: 14px;
      --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
      --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
      --max: 1240px;
    }
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    [hidden] { display: none !important; }
    html { scroll-behavior: smooth; scroll-padding-top: 72px; }
    body { font-family: var(--font); background: var(--bg); color: var(--text); font-size: 14px; line-height: 1.55; -webkit-font-smoothing: antialiased; font-feature-settings: "cv11", "ss01"; }
    a { color: var(--accent); text-decoration: none; }
    a:hover { text-decoration: underline; }
    :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
    .num, .mono { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
    .wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--s5); }
    .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 300; }
    .skip:focus { left: 8px; }

    /* header */
    header.top { position: sticky; top: 0; z-index: 100; background: rgba(11,14,19,.86); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line); }
    .nav { height: 60px; display: flex; align-items: center; gap: var(--s6); }
    .logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -.3px; color: var(--text); }
    .logo:hover { text-decoration: none; }
    .logo svg { width: 26px; height: 26px; }
    .logo b { color: var(--accent); font-weight: 700; }
    .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: var(--r-sm); font: 600 14px/1 var(--font); border: 1px solid transparent; cursor: pointer; background: var(--accent); color: #fff; transition: background .15s, border-color .15s; white-space: nowrap; }
    .btn:hover { background: var(--accent-2); text-decoration: none; }
    .btn-ghost { background: transparent; border-color: var(--line-2); color: var(--text); }
    .btn-ghost:hover { background: var(--raised); }
    .btn-lg { height: 46px; padding: 0 22px; font-size: 15px; }
    .btn:disabled { opacity: .45; cursor: not-allowed; }

    /* ticker */
    .ticker { border-bottom: 1px solid var(--line); background: var(--panel); }
    .ticker .wrap { display: flex; gap: var(--s6); height: 36px; align-items: center; font-size: 12.5px; color: var(--muted); overflow-x: auto; scrollbar-width: none; }
    .ticker .wrap::-webkit-scrollbar { display: none; }
    .tk { display: inline-flex; gap: 6px; align-items: baseline; white-space: nowrap; }
    .tk strong { color: var(--text); font-weight: 600; }
    .tk .u { color: var(--faint); }
    .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--bid); display: inline-block; align-self: center; box-shadow: 0 0 0 0 rgba(60,207,145,.5); animation: pulse 2.4s infinite; }
    @keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(60,207,145,.45); } 70% { box-shadow: 0 0 0 7px rgba(60,207,145,0); } 100% { box-shadow: 0 0 0 0 rgba(60,207,145,0); } }
    .tk-right { margin-left: auto; }
    @media (max-width: 1279px) { .xbt-eq { display: none; } }
    .tk-xbtm { display: none; } /* phones only: the full rates sit in .tk-right, hidden there */

    /* hero */
    .hero { padding: var(--s7) 0 var(--s5); display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--s6); align-items: end; }
    .eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); background: var(--accent-bg); padding: 5px 10px; border-radius: 999px; }
    h1 { font-size: 40px; line-height: 1.12; letter-spacing: -.025em; font-weight: 700; margin: var(--s4) 0 var(--s3); }
    h1 { text-wrap: balance; } .lead, .sec-h p, .step p, .faq p { text-wrap: pretty; }
    h1 span { color: var(--text-2); font-weight: 600; }
    .lead { color: var(--text-2); font-size: 16px; max-width: 560px; }
    .cta { display: flex; gap: var(--s3); margin-top: var(--s5); flex-wrap: wrap; }
    .trust { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); margin-top: var(--s5); color: var(--muted); font-size: 13px; }
    .trust span { display: inline-flex; align-items: center; gap: 6px; }
    .trust svg { width: 15px; height: 15px; color: var(--bid); flex: none; }
    .hero-kpi { background: linear-gradient(180deg, var(--raised), var(--panel)); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s5); }
    .hero-kpi .lbl { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
    .hero-kpi .big { font-size: 52px; font-weight: 700; letter-spacing: -.03em; line-height: 1.05; margin-top: var(--s2); }
    .hero-kpi .big small { font-size: 18px; color: var(--muted); font-weight: 500; letter-spacing: 0; margin-left: 6px; }
    .hero-kpi .sub { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid var(--line); }
    .hero-kpi .sub div span { display: block; font-size: 12px; color: var(--muted); }
    .hero-kpi .sub div strong { font-size: 18px; font-weight: 600; }
    .hero-kpi .sub .u { display: inline; font-size: 12px; color: var(--faint); }
    .hero-kpi .sub .free strong { color: var(--bid); }
    .hero-kpi .cap-note { margin: var(--s3) 0 0; font-size: 12px; color: var(--muted); }
    @media (max-width: 420px) { .hero-kpi .sub { grid-template-columns: 1fr 1fr; } .hero-kpi .sub .bp { grid-column: 1 / -1; } }

    /* KPI strip */
    .kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin: var(--s5) 0; }
    .kpi { background: var(--panel); padding: var(--s4) var(--s5); min-width: 0; }
    .kpi .label { font-size: 12px; color: var(--muted); font-weight: 500; display: flex; align-items: center; gap: 6px; }
    .kpi .value { font-size: clamp(16px, 1.55vw, 22px); font-weight: 650; margin-top: 2px; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .kpi .value .u { display: block; font-size: 11.5px; color: var(--faint); font-weight: 500; margin-left: 0; letter-spacing: 0; line-height: 1.3; }
    .green { color: var(--bid); } .amber { color: var(--amber); }

    /* layout */
    .layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s4); align-items: start; }
    .layout > *, .stack > *, .card, .card-b { min-width: 0; }
    .stack { display: grid; gap: var(--s4); }
    .card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); }
    .card-h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s2) var(--s3); min-width: 0; padding: var(--s4) var(--s5); border-bottom: 1px solid var(--line); }
    .card-h h2 { font-size: 15px; font-weight: 600; letter-spacing: -.005em; }
    .card-h .meta { font-size: 12px; color: var(--muted); min-width: 0; }
    .card-h > * { min-width: 0; }
    .seg { flex: none; }
    .ob-card { container-type: inline-size; }
    .card-b { padding: var(--s4) var(--s5); }

    /* order book */
    .ob { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ob-side { min-width: 0; }
    @container (max-width: 720px) { .ob { grid-template-columns: minmax(0, 1fr); } .ob-side + .ob-side { border-left: 0; border-top: 1px solid var(--line); } }
    .ob-side + .ob-side { border-left: 1px solid var(--line); }
    .ob-side h3 { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: var(--s3) var(--s5) var(--s2); }
    .dot { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
    table { width: 100%; border-collapse: collapse; font-size: 13px; table-layout: fixed; }
    col.c-price { width: 32%; } col.c-speed { width: 20%; } col.c-mid { width: 20%; } col.c-stat { width: 28%; }
    .ob .ob-av { table-layout: auto; } .ob .ob-av td { text-overflow: clip; } /* preob: Available row sizes to content, never truncates */
    th { font-size: 11.5px; font-weight: 500; color: var(--faint); text-align: right; padding: 6px var(--s5); border-bottom: 1px solid var(--line); white-space: nowrap; }
    td { padding: 0 var(--s3); height: 36px; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text-2); font-variant-numeric: tabular-nums; }
    th { padding-left: var(--s3); padding-right: var(--s3); overflow: hidden; text-overflow: ellipsis; }
    th:first-child, td:first-child { padding-left: var(--s5); } th:last-child, td:last-child { padding-right: var(--s5); }
    th .cu-short { color: var(--faint); font-weight: 400; }
    #ob-live-h { white-space: normal; line-height: 1.25; }
    .avg30 { color: var(--faint); font-weight: 400; font-size: .85em; }
    .tag { max-width: 100%; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
    .ob-note { overflow-wrap: anywhere; }
    th:first-child, td:first-child { text-align: left; }
    td.price { font-weight: 600; }
    tr.row { position: relative; }
    tr.row { background-image: linear-gradient(to left, var(--bar) 0 var(--w, 0%), transparent var(--w, 0%)); }
    tbody tr.row:hover { background-color: var(--hover); }
    tr.bid { --bar: var(--bid-bg); } tr.bid td.price { color: var(--bid); }
    tr.ask { --bar: var(--ask-bg); } tr.ask td.price { color: var(--ask); }
    tr.empty td { color: var(--faint); text-align: center !important; height: 72px; }
    .tag { display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--raised); color: var(--text-2); border: 1px solid var(--line); }
    .tag.run { color: var(--bid); background: var(--bid-bg); border-color: transparent; }
    .tag.eta { position: relative; isolation: isolate; }
    .tag.eta .eta-f { position: absolute; left: 0; top: 0; bottom: 0; z-index: -1; background: rgba(60,207,145,.16); border-radius: 999px 0 0 999px; transition: width .7s ease; }
    .tag.eta .eta-t { position: relative; }
    @media (prefers-reduced-motion: reduce) { .tag.eta .eta-f { transition: none; } }
    .tag.base { color: var(--ask); background: var(--ask-bg); border-color: transparent; }
    .tag.low { color: #ffb3b9; background: var(--ask-bg); border-color: transparent; }
    .ob-note { font-size: 12px; color: var(--muted); padding: var(--s3) var(--s5); border-top: 1px solid var(--line); }

    /* chart */
    .seg { display: inline-flex; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 2px; }
    .seg button { background: transparent; border: 0; color: var(--muted); font: 600 12px/1 var(--font); padding: 7px 12px; border-radius: 4px; cursor: pointer; }
    .seg button:hover { color: var(--text); }
    .seg button.active { background: var(--raised); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
    .legend { display: flex; gap: var(--s4); font-size: 12px; color: var(--muted); }
    .legend i { display: inline-block; width: 10px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: 6px; }
    .chart-wrap { height: 300px; position: relative; margin: var(--s3) 0 0; }
    canvas { width: 100%; height: 100%; display: block; }
    .tip { position: absolute; pointer-events: none; background: var(--hover); border: 1px solid var(--line-2); border-radius: 8px; padding: 8px 10px; font-size: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.4); display: none; min-width: 150px; z-index: 5; }
    .tip .t { color: var(--muted); margin-bottom: 4px; }
    .tip div { display: flex; justify-content: space-between; gap: 12px; }
    .tip b { font-weight: 600; color: var(--text); }

    .facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .facts div { min-width: 0; display: flex; align-items: baseline; justify-content: space-between; gap: var(--s3); padding: 11px var(--s5); border-bottom: 1px solid var(--line); font-size: 13px; }
    .facts div:nth-child(odd) { border-right: 1px solid var(--line); }
    .facts div:nth-last-child(-n+2) { border-bottom: 0; }
    .facts dt { color: var(--muted); flex: none; }
    .facts dd { color: var(--text); font-weight: 500; text-align: right; margin-left: auto; }
    /* form */
    form { display: grid; gap: var(--s4); }
    .fgroup { display: grid; gap: var(--s3); }
    .fgroup-t { font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); }
    .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
    label.f { display: grid; gap: 6px; font-size: 12.5px; color: var(--text-2); font-weight: 500; }
    .hint { font-size: 12px; color: var(--muted); font-weight: 400; }
    .field { position: relative; }
    input, textarea { width: 100%; background: var(--bg); border: 1px solid var(--line-2); color: var(--text); height: 40px; padding: 0 12px; border-radius: var(--r-sm); font: 400 14px var(--font); transition: border-color .15s, box-shadow .15s; }
    textarea { height: auto; min-height: 96px; padding: 10px 12px; resize: vertical; }
    input::placeholder, textarea::placeholder { color: var(--faint); }
    input:hover, textarea:hover { border-color: rgba(255,255,255,.2); }
    input:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(91,140,255,.22); }
    input[type=number] { font-variant-numeric: tabular-nums; -moz-appearance: textfield; padding-right: 74px; }
    input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
    .suffix { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 12px; color: var(--faint); pointer-events: none; }
    .pay { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s2); }
    .pay label { position: relative; cursor: pointer; min-width: 0; }
    .pay input { position: absolute; opacity: 0; width: 1px; height: 1px; }
    .pay span { display: grid; justify-items: center; align-content: center; gap: 3px; height: 74px; border: 1px solid var(--line-2); border-radius: var(--r); font-weight: 600; font-size: 13px; color: var(--text-2); background: var(--bg); line-height: 1.15; padding: 6px 4px; white-space: nowrap; min-width: 0; }
    .pay span b { font-weight: 600; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
    .pay span small { font-size: 10.5px; color: var(--muted); font-weight: 500; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
    .pay span:has(.soon-b) .pt-s { display: none; }
    .pay label:hover span { border-color: rgba(255,255,255,.22); }
    .pay input:checked + span { border-color: var(--accent); background: var(--accent-bg); color: var(--text); box-shadow: inset 0 0 0 1px var(--accent); }
    .pay input:checked + span small { color: var(--text-2); }
    .pay label.soon { cursor: not-allowed; }
    .pay label.soon span, .pay label.soon:hover span { color: var(--faint); border-color: var(--line); border-style: dashed; background: transparent; opacity: .55; filter: grayscale(1); }
    .pay .soon-b { display: inline-block; margin-top: 1px; padding: 0 6px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 9.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); line-height: 15px; }
    .cm { flex: none; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: #fff; font: 700 14px/1 var(--font); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
    .cm.sm { width: 18px; height: 18px; font-size: 10px; }
    .cm.md { width: 22px; height: 22px; font-size: 12px; }
    .cm.t2 { font-size: 9px; letter-spacing: -.02em; }
    .cm.sm.t2 { font-size: 7px; }
    .cms { display: inline-flex; height: 26px; align-items: center; }
    .cms .cm { margin-left: -6px; box-shadow: 0 0 0 2px var(--bg); }
    .cms .cm:first-child { margin-left: 0; }
    .np-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
    .np-ch { display: grid; gap: 2px; min-width: 0; padding: 7px 10px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--bg); color: var(--text-2); cursor: pointer; text-align: left; font: 600 12.5px/1.2 var(--font); }
    .np-ch:hover { border-color: rgba(255,255,255,.22); }
    .np-ch[aria-checked=true] { border-color: var(--accent); background: var(--accent-bg); color: var(--text); }
    .np-ch .r { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; min-width: 0; }
    .np-ch .r > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .np-ch .s { font-size: 10.5px; font-weight: 500; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .np-fe { flex: none; font-size: 11px; font-weight: 500; color: var(--muted); white-space: nowrap; }
    .np-fe.lo { color: var(--bid); }
    .np-fe.hi { color: #ffd38a; }
    .np-lh { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 12px; font-weight: 600; color: var(--text-2); }
    .np-lh small { font-size: 11.5px; font-weight: 500; color: var(--muted); }
    .np-o .cm { margin-right: -2px; }
    .np-o .np-c .np-w, .np-o .np-c .np-n { white-space: normal; overflow: visible; }
    @media (max-width: 360px) {
      #pay.pay4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .pay.pay4 span { height: 54px; grid-template-columns: auto minmax(0, 1fr); justify-items: start; column-gap: 9px; row-gap: 1px; padding: 6px 10px; }
      .pay.pay4 span > .cm, .pay.pay4 span > .cms { grid-row: 1 / span 2; }
      .pay.pay4 span:has(.soon-b) > .cm { grid-row: 1 / span 2; }
      .pay.pay4 span > b { align-self: end; }
      .pay.pay4 span > small { align-self: start; }
      .np-chips { grid-template-columns: 1fr; }
    }
    .pay input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
    .pay.pay4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
    /* with Binance Pay: BTC / USDT / USDC on the first row, More + Binance Pay below (wide, icon left) */
    .pay.payB { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
    .pay.payB > label { grid-column: span 2; }
    .pay.payB > label.r2 { grid-column: span 3; }
    .pay.payB > label.r2.full { grid-column: 1 / -1; }
    .pay.payB > label.r2 span { height: 54px; grid-template-columns: auto minmax(0, 1fr); justify-items: start; column-gap: 9px; row-gap: 1px; padding: 6px 12px; }
    .pay.payB > label.r2 span > .cm, .pay.payB > label.r2 span > .cms { grid-row: 1 / span 2; }
    .pay.payB > label.r2 span > b { align-self: end; }
    .pay.payB > label.r2 span > small { align-self: start; }
    .cm.bnm { background: transparent; box-shadow: none; overflow: hidden; }
    .cm.bnm svg, .cm.bnm img { display: block; }
    .cm.cdm { background: transparent; box-shadow: none; overflow: hidden; }
    .cm.cdm svg { display: block; }
    .pay > label.pcard { grid-column: 1 / -1; }
    .pay > label.pcard span { height: 54px; grid-template-columns: auto minmax(0, 1fr); justify-items: start; column-gap: 9px; row-gap: 1px; padding: 6px 12px; }
    .pay > label.pcard span > .cm { grid-row: 1 / span 2; }
    .pay > label.pcard span > b { align-self: end; }
    .pay > label.pcard span > small { align-self: start; }
    #checkout .tu-m button.tcard { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr); justify-items: start; align-content: center; column-gap: 9px; row-gap: 1px; min-height: 54px; padding: 6px 12px; }
    #checkout .tu-m button.tcard > .cm { grid-row: 1 / span 2; }
    #checkout .tu-m button.tcard > b { align-self: end; }
    #checkout .tu-m button.tcard > small { align-self: start; }
    #checkout .co-net.co-net-cd { display: flex; align-items: center; gap: 8px; }
    #checkout .co-fb button.co-btn { border: 0; cursor: pointer; font: 600 13.5px var(--font); }
    #checkout .co-fb .co-btn + .co-btn { margin-top: 8px; }
    #checkout .co-wait { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; font-weight: 600; color: var(--text); }
    .np-bn { padding: 9px 11px; border: 1px solid rgba(240,185,11,.35); border-radius: var(--r-sm); background: rgba(240,185,11,.07); font-size: 12.5px; color: var(--text-2); line-height: 1.45; }
    .np-bn b { color: var(--text); }
    @media (max-width: 360px) { .pay.payB > label.r2 { grid-column: 1 / -1; } .pay.payB > label.r2 span { height: 48px; } }
    .np { margin-top: var(--s2); display: grid; gap: 6px; }
    .np-l { display: grid; gap: 4px; font-size: 12px; color: var(--muted); }
    .np select, .np input[type=search] { width: 100%; height: 40px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--bg); color: var(--text); font: 500 13px var(--font); }
    .np-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 2px; font-size: 12px; font-weight: 600; color: var(--text-2); }
    .np-h small { font-size: 11.5px; font-weight: 500; color: var(--muted); }
    .np-list { max-height: 252px; overflow-y: auto; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--bg); overscroll-behavior: contain; }
    .np-o { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 10px; min-height: 46px; padding: 7px 12px; border: 0; border-top: 1px solid var(--line); background: transparent; color: var(--text-2); font: 500 13px/1.3 var(--font); text-align: left; cursor: pointer; }
    .np-o:first-child { border-top: 0; }
    .np-o:hover { background: var(--raised); }
    .np-o[aria-selected=true] { background: var(--accent-bg); color: var(--text); box-shadow: inset 2px 0 0 var(--accent); }
    .np-o .np-c { display: grid; gap: 1px; min-width: 0; }
    .np-o .np-n { font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .np-o .np-t { margin-left: 6px; font-size: 11px; font-weight: 600; letter-spacing: .03em; color: var(--muted); }
    .np-o .np-w { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .np-o small { flex: none; font-size: 11.5px; color: var(--muted); white-space: nowrap; text-align: right; }
    .np-o small.hi, .np-fee.hi { color: #ffd38a; }
    .np-none { padding: 10px; font-size: 12.5px; color: var(--muted); }
    .np-warn { padding: 8px 10px; border-radius: var(--r-sm); background: var(--ask-bg); color: #ffc9ce; font-size: 12.5px; line-height: 1.45; }
    .np-fee { font-size: 12px; color: var(--muted); }
    .summary { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-sm); padding: var(--s3) var(--s4); display: grid; gap: 6px; font-size: 13px; }
    .summary div { display: flex; justify-content: space-between; color: var(--muted); }
    .summary div b { color: var(--text-2); font-weight: 500; }
    .summary .total { border-top: 1px solid var(--line); padding-top: 8px; margin-top: 2px; color: var(--text); font-weight: 600; }
    .summary .total b { color: var(--text); font-weight: 700; font-size: 15px; }
    .fine { font-size: 12px; color: var(--muted); }
    #result { font: 12.5px/1.55 var(--font); white-space: pre-wrap; color: var(--muted); }
    .min-warn { margin: 0 0 var(--s2); padding: 7px 10px; border-radius: var(--r-sm); background: var(--ask-bg); color: #ffc9ce; }
    /* embedded checkout (BTCPay) */
    #checkout { container-type: inline-size; margin-top: var(--s3); border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--bg); padding: var(--s3); font-size: 13px; }
    #checkout .co-h { display: flex; justify-content: space-between; align-items: center; gap: var(--s2); margin-bottom: var(--s2); }
    #checkout .co-h b { font-size: 14px; }
    #checkout .co-st { font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--accent-bg); color: var(--text); white-space: nowrap; }
    #checkout .co-st.ok { background: var(--bid-bg); color: var(--bid); } #checkout .co-st.bad { background: var(--ask-bg); color: #ffb3b9; }
    #checkout .co-net { font-weight: 600; color: var(--text); }
    #checkout .co-warn { margin: var(--s2) 0; padding: 8px 10px; border-radius: var(--r-sm); background: var(--ask-bg); color: #ffc9ce; font-size: 12.5px; line-height: 1.45; }
    #checkout .co-body { display: grid; grid-template-columns: 1fr; gap: var(--s3); align-items: start; }
    #checkout .co-qr { width: 168px; height: 168px; margin: 0 auto; border-radius: 6px; overflow: hidden; background: #fff; }
    @container (min-width: 460px) { #checkout .co-body { grid-template-columns: 168px minmax(0, 1fr); } #checkout .co-qr { margin: 0; } }
    #checkout .co-qr svg { display: block; width: 100%; height: 100%; }
    #checkout .co-qrw { display: flex; flex-direction: column; align-items: center; gap: 6px; }
    #checkout .co-qrc { max-width: 168px; text-align: center; font-size: 11.5px; line-height: 1.35; color: var(--muted); }
    @container (min-width: 460px) { #checkout .co-qrw { align-items: flex-start; } }
    #checkout .co-f { margin-bottom: var(--s2); min-width: 0; }
    #checkout .co-l { font-size: 11px; color: var(--faint); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px; }
    #checkout .co-v { display: flex; gap: 6px; align-items: flex-start; min-width: 0; }
    #checkout .co-v code { flex: 1; min-width: 0; font: 600 13px/1.4 var(--mono, ui-monospace, monospace); color: var(--text); word-break: break-all; }
    #checkout .co-v code.amt { font-size: 15px; word-break: normal; overflow-wrap: anywhere; }
    #checkout .co-v button { flex: none; font: 600 11.5px var(--font); padding: 4px 9px; border-radius: 6px; border: 1px solid var(--line-2); background: transparent; color: var(--text-2); cursor: pointer; min-height: 28px; }
    #checkout .co-v button:hover { border-color: var(--accent); color: var(--text); }
    #checkout .co-note { color: var(--muted); font-size: 12px; line-height: 1.5; margin-top: var(--s2); }
    #checkout .co-fb { margin-top: var(--s3); }
    #checkout .co-link { margin-top: var(--s3); padding-top: var(--s3); border-top: 1px solid var(--line); }
    #checkout .co-save { margin: 0 0 var(--s3); padding: 10px 12px; border-radius: var(--r-sm); border: 1px solid var(--accent); background: var(--raised); }
    #checkout .co-save-t { font-weight: 600; color: var(--text); margin-bottom: 6px; }
    #checkout .co-save .co-note { margin-top: 6px; }
    #checkout .co-ord { margin-top: var(--s3); padding: 10px 12px; border-radius: var(--r-sm); background: var(--raised); }
    #checkout .rz { margin-top: var(--s3); padding-top: var(--s3); border-top: 1px solid var(--line); }
    #checkout .rz-h { font-weight: 600; color: var(--text); margin-bottom: 6px; }
    #checkout .rz-out { margin: 0 0 var(--s2); padding: 8px 10px; border-radius: var(--r-sm); background: rgba(240,180,60,.12); color: #ffd99a; font-size: 12.5px; line-height: 1.45; }
    #checkout .rz-row { display: flex; gap: 8px; align-items: stretch; flex-wrap: wrap; }
    #checkout .rz-row .field { flex: 1 1 170px; min-width: 0; }
    #checkout .rz-row input { height: 44px; font-size: 16px; padding-right: 96px; }
    #checkout .rz-row .co-btn { flex: 1 1 140px; width: auto; min-height: 44px; border: 0; cursor: pointer; font: 600 14px var(--font); }
    #checkout .rz-row .co-btn[disabled] { opacity: .5; cursor: not-allowed; filter: none; }
    #checkout .rz-pv { margin-top: 8px; font-size: 13px; line-height: 1.5; color: var(--text-2); }
    #checkout .rz-pv b { color: var(--text); }
    #checkout .rz-msg { margin-top: 6px; font-size: 13px; line-height: 1.45; }
    #checkout .rz-msg.bad { color: #ffb3b9; } #checkout .rz-msg.ok { color: var(--bid); }
    #checkout .rz-q { display: inline-block; margin-top: 0; background: none; border: 0; padding: 6px 0; min-height: 44px; color: var(--accent); font: 600 13px var(--font); cursor: pointer; text-decoration: underline; }
    .lk-form { display: flex; gap: var(--s3); align-items: flex-end; flex-wrap: wrap; }
    .lk-form .btn { height: 40px; }
    .pu-tip { color: #f5c26b; margin: -4px 0 0; }
    .bk-add { align-self: flex-start; justify-self: start; width: auto; text-align: left; background: none; border: 0; padding: 8px 0; min-height: 40px; color: var(--accent); font: 600 13px var(--font); cursor: pointer; }
    .bk-add:hover { text-decoration: underline; }
    .bk { display: flex; flex-direction: column; gap: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }
    .bk[hidden] { display: none; }
    .bk-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-2); font-weight: 600; }
    .bk-h .bk-add { padding: 4px 0; min-height: 32px; color: var(--muted); font-weight: 500; }
    #checkout .pl { margin-top: var(--s3); padding-top: var(--s3); border-top: 1px solid var(--line); }
    #checkout .pl-st { font-size: 13px; line-height: 1.45; margin: 0 0 8px; padding: 8px 10px; border-radius: var(--r-sm); background: rgba(60, 207, 145, .08); color: var(--text-2); }
    #checkout .pl-st.bk { background: rgba(245, 194, 107, .10); border: 0; display: block; padding: 8px 10px; }
    #checkout .pl-st.dn { background: rgba(255, 107, 122, .10); }
    #checkout .pl-l { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 13px; margin: 0 0 8px; }
    #checkout .pl-l dt { color: var(--muted); } #checkout .pl-l dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
    #checkout .pl-tag { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 99px; font-size: 11px; background: rgba(60, 207, 145, .15); color: var(--bid); }
    #checkout .pl-f { display: grid; gap: 8px; }
    #checkout .pl-f .co-l { margin: 6px 0 -2px; }
    #checkout .pl-f label { display: block; min-width: 0; font-size: 12px; color: var(--muted); }
    #checkout .pl-f input { width: 100%; height: 44px; font-size: 16px; box-sizing: border-box; margin-top: 3px; }
    #checkout .pl-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
    #checkout .pl-f .pu-tip { margin: 0; font-size: 12px; }
    #checkout .pl-go { border: 0; cursor: pointer; font: 600 14px var(--font); margin-top: 4px; }
    #checkout .pl-go[disabled] { opacity: .5; cursor: not-allowed; filter: none; }
    .lk-bk { display: block; font-size: 12px; color: #f5c26b; margin-top: 2px; }
    #quote .q-btc { display: block; margin: 6px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
    #quote .q-btc b { color: var(--text); font-weight: 600; }
    #quote .q-fo b { color: var(--bid); font-weight: 600; white-space: nowrap; }
    #quote .q-fo-note { margin: -2px 0 0; font-size: 12px; line-height: 1.4; color: var(--muted); }
    @media (max-width: 480px) { .lk-form .f { flex-basis: 100%; } .lk-form .btn { width: 100%; } }
    .lk-how { margin-top: var(--s3); max-width: 760px; line-height: 1.5; }
    #lk-out { display: grid; gap: var(--s3); margin-top: var(--s4); }
    #lk-out:empty { display: none; }
    .lk-o { border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg); padding: var(--s3) var(--s4); display: grid; gap: var(--s3); min-width: 0; }
    .lk-h { display: flex; justify-content: space-between; align-items: center; gap: var(--s2); flex-wrap: wrap; }
    .lk-h b { font-size: 15px; }
    .lk-hr { display: inline-flex; align-items: center; gap: var(--s2); }
    .lk-mg { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--r-sm); font-size: 12.5px; font-weight: 600; color: var(--text); }
    .lk-mg:hover { border-color: var(--accent); background: var(--raised); text-decoration: none; }
    .lk-st { font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--accent-bg); color: var(--text); white-space: nowrap; }
    .lk-st.ok { background: var(--bid-bg); color: var(--bid); } .lk-st.bad { background: var(--ask-bg); color: #ffb3b9; }
    .lk-o { container-type: inline-size; }
    .lk-g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px var(--s4); margin-bottom: -6px; }
    @container (min-width: 520px) { .lk-g { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
    @container (min-width: 820px) { .lk-g { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
    .lk-g > div { display: grid; grid-template-rows: subgrid; grid-row: span 2; } .lk-g dt { align-self: end; line-height: 1.35; } .lk-g dd { padding-bottom: 6px; }
    .lk-g div { min-width: 0; } .lk-g dt { font-size: 11px; color: var(--faint); text-transform: uppercase; letter-spacing: .04em; } .lk-g dd { font-weight: 600; color: var(--text); overflow-wrap: anywhere; }
    .lk-del { font-size: 13.5px; color: var(--text-2); }
    .lk-pct { display: flex; align-items: center; gap: 6px; font-size: 15px; color: var(--text-2); } .lk-pct b { font-size: 24px; color: var(--text); font-weight: 700; letter-spacing: -.01em; }
    .lk-sub { margin-top: 2px; }
    .lk-i { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line-2, var(--line)); background: none; color: var(--muted); font: italic 600 11px/16px Georgia, serif; cursor: pointer; padding: 0; flex: none; }
    .lk-i:hover, .lk-i[aria-expanded=true] { color: var(--text); border-color: var(--accent); }
    #checkout .tu { margin-top: var(--s3); padding-top: var(--s3); border-top: 1px solid var(--line); }
    #checkout .tu-g { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
    #checkout .tu-g label { display: block; min-width: 0; }
    #checkout .tu-g .co-l { margin-bottom: 4px; }
    #checkout .tu-g .field { position: relative; }
    #checkout .tu-g input { width: 100%; height: 44px; font-size: 16px; padding-right: 64px; box-sizing: border-box; }
    #checkout .tu-g .suffix { font-size: 11px; }
    #checkout .tu-m { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 4px; }
    #checkout .tu-m button { min-width: 0; min-height: 48px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--panel); color: var(--text-2); font: 600 13px var(--font); cursor: pointer; padding: 6px 10px; line-height: 1.25; }
    #checkout .tu-m button.on { background: var(--raised); color: var(--text); box-shadow: inset 0 0 0 1px var(--accent); }
    #checkout .tu-m button[disabled] { opacity: .45; cursor: not-allowed; }
    #checkout .tu-m small { display: block; font-weight: 500; font-size: 11px; color: var(--muted); }
    #checkout .tu-m.tu-m4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    #checkout .tu-m.tu-m4 button { display: grid; justify-items: center; align-content: center; gap: 3px; min-height: 74px; padding: 6px 4px; border-radius: var(--r); background: var(--bg); white-space: nowrap; }
    #checkout .tu-m.tu-m4 button b { font-weight: 600; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
    #checkout .tu-m.tu-m4 button small { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
    #checkout .tu-m.tu-m4 button.on { background: var(--accent-bg); }
    #checkout .tu-m.tu-m4 .cms .cm { box-shadow: 0 0 0 2px var(--bg); }
    @media (max-width: 360px) { #checkout .tu-m.tu-m4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } #checkout .tu-m.tu-m4 button { min-height: 68px; } }
    #checkout .tu-m.tu-mB { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
    #checkout .tu-m.tu-mB button { grid-column: span 2; }
    #checkout .tu-m.tu-mB button.r2 { grid-column: span 3; min-height: 54px; grid-template-columns: auto minmax(0, 1fr); justify-items: start; column-gap: 9px; row-gap: 1px; padding: 6px 12px; }
    #checkout .tu-m.tu-mB button.r2.full { grid-column: 1 / -1; }
    #checkout .tu-m.tu-mB button.r2 > .cm, #checkout .tu-m.tu-mB button.r2 > .cms { grid-row: 1 / span 2; }
    #checkout .tu-m.tu-mB button.r2 > b { align-self: end; }
    #checkout .tu-m.tu-mB button.r2 > small { align-self: start; }
    @media (max-width: 360px) { #checkout .tu-m.tu-mB button.r2 { grid-column: 1 / -1; min-height: 48px; } }
    #checkout .co-fb a.co-btn.co-bn { color: #1E2026; background: #F0B90B; border-color: #F0B90B; }
    #checkout .co-fb a.co-btn.co-bn:hover { filter: brightness(1.06); }
    #checkout .co-net.co-net-bn { display: flex; align-items: center; gap: 8px; }
    #checkout .co-hosted { margin: var(--s2) 0 0; font-size: 12.5px; color: var(--muted); }
    #checkout .tu-go { display: block; width: 100%; margin-top: 10px; min-height: 44px; border: 0; cursor: pointer; font: 600 14px var(--font); }
    #checkout .tu-go[disabled] { opacity: .5; cursor: not-allowed; filter: none; }
    #checkout .tu-pay { margin-top: 8px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--raised); }
    #checkout .tu-hist { margin: 10px 0 0; padding: 0; list-style: none; font-size: 12.5px; color: var(--text-2); }
    #checkout .tu-hist li { padding: 4px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
    #checkout .tu-hist b { color: var(--text); font-weight: 600; }
    #checkout .tu-hist .tu-note { color: var(--muted); } /* bonus note */
    .kpi-tip { margin: 6px 0 0; font-size: 12px; line-height: 1.45; color: var(--text-2); white-space: normal; }
    .lk-tip { margin: 8px 0 0; padding: 8px 10px; border-radius: var(--r-sm); background: var(--raised); color: var(--text-2); font-size: 12.5px; line-height: 1.5; }
    .lk-why { margin: -6px 0 0; font-size: 13px; color: var(--muted); }
    .lk-off { opacity: .78; }
    .lk-bar2 { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; }
    .lk-seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
    .lk-seg button { background: none; border: 0; color: var(--muted); font: inherit; font-size: 13px; padding: 4px 12px; border-radius: 999px; cursor: pointer; }
    .lk-seg button.on { background: var(--raised); color: var(--text); font-weight: 600; } .lk-seg .num { opacity: .7; margin-left: 2px; }
    .lk-more { background: none; border: 0; color: var(--accent); font: inherit; font-size: 13px; cursor: pointer; padding: 4px 0; } .lk-more:hover { text-decoration: underline; }
    .lk-more-b { justify-self: start; }
    .lk-bar { height: 8px; border-radius: 999px; background: var(--raised); overflow: hidden; margin-top: 6px; }
    #checkout .co-ord .lk-bar { background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
    .lk-bar i { display: block; height: 100%; background: var(--bid); border-radius: 999px; }
    .lk-sh { font-size: 13px; color: var(--text-2); } .lk-sh b { color: var(--text); font-weight: 600; } .lk-sh span:not(.num) { color: var(--muted); }
    .lk-ch svg { display: block; width: 100%; height: 72px; }
    .lk-ch .lk-ax { display: flex; justify-content: space-between; font-size: 11px; color: var(--faint); margin-top: 2px; }
    .lk-empty { color: var(--muted); font-size: 13px; }
    .lk-g > .lk-pool { grid-column: 1 / -1; }
    @container (min-width: 520px) { .lk-g > .lk-pool { grid-column: span 2; } }
    @container (min-width: 820px) { .lk-g-s > :nth-child(3) { grid-column: 5; } }
    #checkout .co-btn { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 44px; border-radius: var(--r-sm); background: var(--accent); color: #fff; font-weight: 600; font-size: 13.5px; text-decoration: none; }
    #checkout .co-btn:hover { filter: brightness(1.1); }
    #checkout .tu .co-v button { min-height: 44px; min-width: 56px; }
    #checkout .co-btn.sec { background: transparent; border: 1px solid var(--line-2); color: var(--text-2); }
    #checkout .co-hr { display: flex; align-items: center; gap: var(--s2); }
    #checkout .co-x { background: transparent; border: 0; color: var(--muted); font-size: 18px; line-height: 1; padding: 4px 6px; cursor: pointer; border-radius: 4px; min-width: 28px; min-height: 28px; }
    #checkout .co-x:hover { color: var(--text); background: var(--raised); }
    #checkout .co-spin { display: inline-block; width: 12px; height: 12px; border: 2px solid var(--line-2); border-top-color: var(--accent); border-radius: 50%; animation: cospin .8s linear infinite; vertical-align: -2px; margin-right: 6px; }
    @keyframes cospin { to { transform: rotate(360deg); } }
    .co-reopen { margin-top: var(--s3); width: 100%; min-height: 40px; border: 1px solid var(--accent); border-radius: var(--r-sm); background: var(--accent-bg); color: var(--text); font: 600 13px var(--font); cursor: pointer; }

    #result:empty { display: none; }
    #result.ok, #result.err { padding: var(--s3); border-radius: var(--r-sm); }
    #result.ok { background: var(--bid-bg); color: var(--text); }
    #result.err { background: var(--ask-bg); color: #ffb3b9; }

    /* sections */
    section.sec { margin-top: var(--s8); }
    .sec-h { margin-bottom: var(--s5); }
    .sec-h h2 { font-size: 26px; letter-spacing: -.02em; font-weight: 700; }
    .sec-h p { color: var(--muted); margin-top: 4px; }
    .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
    .step { padding: var(--s5); }
    .step .n { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--accent-bg); color: var(--accent); font-weight: 700; margin-bottom: var(--s4); }
    .step h3 { font-size: 16px; margin-bottom: 6px; }
    .step p { color: var(--muted); }
    .faq { padding: 0 var(--s5); }
    .faq details { border-bottom: 1px solid var(--line); }
    .faq details:last-child { border-bottom: 0; }
    .faq summary { cursor: pointer; font-weight: 600; font-size: 15px; padding: var(--s4) 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--s3); }
    .faq summary::-webkit-details-marker { display: none; }
    .faq summary::after { content: "+"; color: var(--muted); font-size: 20px; font-weight: 400; line-height: 1; transition: transform .2s; }
    .faq details[open] summary::after { transform: rotate(45deg); }
    .faq p { color: var(--muted); padding: 0 0 var(--s4); max-width: 760px; }

    footer { border-top: 1px solid var(--line); margin-top: var(--s8); padding: var(--s7) 0 var(--s6); color: var(--muted); font-size: 13px; background: var(--panel); }
    .fgrid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--s5); }
    .fgrid h4 { color: var(--text); font-size: 13px; font-weight: 600; margin-bottom: var(--s3); }
    .fgrid p { margin-bottom: 6px; }
    .fgrid a { color: var(--muted); } .fgrid a:hover { color: var(--text); }
    .th-discord svg { width: 14px; height: 14px; margin-right: 6px; vertical-align: -2px; }
    #chat-box .sub a { color: var(--muted); text-decoration: underline; }
    .fbot { display: flex; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: var(--s6); padding-top: var(--s4); font-size: 12px; color: var(--faint); }

    /* chat */
    #chat-btn { position: fixed; right: 20px; bottom: 20px; z-index: 200; height: 44px; border-radius: 999px; padding: 0 18px; box-shadow: 0 8px 24px rgba(0,0,0,.45); }
    #chat-btn svg { width: 18px; height: 18px; }
    #chat-box { position: fixed; right: 20px; bottom: 76px; z-index: 200; width: 340px; max-width: calc(100vw - 32px); display: none; background: var(--raised); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: var(--s4); box-shadow: 0 16px 40px rgba(0,0,0,.55); }
    #chat-box h3 { font-size: 15px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 2px; }
    #chat-box .sub { font-size: 12px; color: var(--muted); margin-bottom: var(--s3); }
    #chat-box form { gap: var(--s2); }
    #chat-box .close { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 16px; width: 28px; height: 28px; border-radius: 6px; }
    #chat-box .close:hover { background: var(--hover); color: var(--text); }
    #chatResult { font-size: 12.5px; color: var(--muted); }

    @media (max-width: 899px) {
      .hero { grid-template-columns: 1fr; align-items: start; }
    }
    @media (max-width: 860px) {
      .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .kpi .value { font-size: clamp(17px, 4.6vw, 22px); }
      .kpis .kpi:first-child { grid-column: 1 / -1; }
      .ob { grid-template-columns: 1fr; }
      .ob-side + .ob-side { border-left: 0; border-top: 1px solid var(--line); }
      .steps { grid-template-columns: 1fr; }
      .fgrid { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 560px) {
      .wrap { padding: 0 var(--s4); }
      h1 { font-size: 30px; }
      .lead { font-size: 15px; }
      .hero { padding-top: var(--s6); }
      .hero-kpi .big { font-size: 42px; }
      .card-h, .card-b { padding-left: var(--s4); padding-right: var(--s4); }
      .card-h.wrapflex { flex-wrap: wrap; }
      th, td { padding-left: var(--s2); padding-right: var(--s2); }
      th:first-child, td:first-child { padding-left: var(--s4); } th:last-child, td:last-child { padding-right: var(--s4); }
      .ob-side h3, .ob-note { padding-left: var(--s4); padding-right: var(--s4); }
      .kpi { padding: var(--s3) var(--s4); }
      .chart-wrap { height: 220px; }
      .fgrid { grid-template-columns: 1fr 1fr; row-gap: var(--s6); }
      .fgrid > div:first-child, .fgrid > div:last-child { grid-column: 1 / -1; }
      .facts { grid-template-columns: 1fr; }
      .facts div:nth-child(odd) { border-right: 0; }
      .facts div:nth-last-child(2) { border-bottom: 1px solid var(--line); }
      .facts div { padding-left: var(--s4); padding-right: var(--s4); }
      .tk-right { display: none !important; }
      .tk-xbtm:not([hidden]) { display: inline-flex; }
      .nav .btn-ghost:not(.menu-btn) { display: none; }
      #chat-btn { right: 14px; bottom: 14px; }
      #chat-btn .lbl { display: none; }
      #chat-btn { width: 48px; height: 48px; padding: 0; }
      #chat-box { right: 16px; bottom: 72px; }
    }
    @media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
    /* recent activity + example order (heights fixed: no layout shift when data arrives) */
    .act-line { display: flex; align-items: center; gap: 8px; height: 20px; margin: var(--s3) 0 0; font-size: 12.5px; color: var(--text-2); white-space: nowrap; overflow: hidden; }
    .act-line span:last-child { overflow: hidden; text-overflow: ellipsis; }
    .act-line .k { color: var(--muted); flex: none; }
    .act-h { display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: space-between; align-items: end; }
    .act-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--s4); align-items: start; }
    .act-list { list-style: none; height: 288px; overflow: hidden; }
    .act-list li { display: flex; justify-content: space-between; gap: var(--s3); height: 48px; align-items: center; padding: 0 var(--s5); border-bottom: 1px solid var(--line); white-space: nowrap; }
    .act-list li:last-child { border-bottom: 0; }
    .act-list li b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
    .act-list li .ag { color: var(--muted); font-size: 12.5px; flex: none; }
    .act-list li.r b::before, .act-list li.f b::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 10px; background: var(--bid); vertical-align: 1px; }
    .act-list li.f b::before { background: var(--accent); }
    .act-list li.none { color: var(--muted); }
    .act-tot { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
    .act-t { padding: var(--s4) var(--s5); height: 104px; overflow: hidden; }
    .act-t span { display: block; font-size: 12px; color: var(--muted); }
    .act-t strong { display: block; font-size: 24px; font-weight: 650; letter-spacing: -.01em; line-height: 1.3; margin-top: 2px; }
    .act-t small { display: block; font-size: 11.5px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .act-t:last-child { grid-column: 1 / -1; }
    .ex-dlg { width: min(520px, calc(100vw - 32px)); padding: var(--s5); }
    .ex-hd { display: flex; align-items: center; gap: var(--s2); }
    .ex-hd b { font-size: 17px; }
    .ex-hd .co-x { margin-left: auto; }
    .ex-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--amber); background: rgba(242,184,75,.12); border: 1px solid rgba(242,184,75,.35); padding: 2px 8px; border-radius: 999px; }
    .ex-p { color: var(--muted); font-size: 13px; margin: var(--s2) 0 var(--s4); }
    .ex-steps { margin: 0 0 var(--s4) 20px; display: grid; gap: var(--s3); }
    .ex-steps li b { display: block; font-size: 14px; }
    .ex-steps li span { display: block; color: var(--text-2); font-size: 13px; }
    .ex-steps code { font-family: var(--mono); font-size: 12px; background: var(--raised); padding: 1px 5px; border-radius: 4px; word-break: break-all; }
    .ex-bar { height: 8px; background: var(--raised); border-radius: 999px; overflow: hidden; margin: 8px 0 4px; }
    .ex-bar i { display: block; height: 100%; background: repeating-linear-gradient(45deg, var(--amber), var(--amber) 6px, rgba(242,184,75,.6) 6px, rgba(242,184,75,.6) 12px); }
    .ex-steps .ex-small { font-size: 12px; color: var(--muted); }
    .ex-ft { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); }
    @media (max-width: 860px) { .act-grid { grid-template-columns: 1fr; } .act-list li { padding: 0 var(--s4); } }
    @media (max-width: 420px) { .act-line .k { display: none; } .act-t { padding: var(--s3) var(--s4); } .act-t strong { font-size: 20px; } .act-list li { font-size: 13px; } }
    /* bid competition: top-bid strip, sold-out notice, bid hint, waitlist */
    .ob-top { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; padding: 10px var(--s4, 16px) 0; font-size: 13px; color: var(--text-2); }
    .ob-top .k { color: var(--muted); }
    .so-pill { margin-left: auto; padding: 3px 10px; border-radius: 999px; font-size: 12px; background: rgba(242,184,75,.12); color: var(--amber); }
    .so-pill.free { background: var(--bid-bg); color: var(--bid); }
    .so { border: 1px solid rgba(242,184,75,.35); background: rgba(242,184,75,.07); border-radius: var(--r-sm, 8px); padding: 12px 14px; margin: 0 0 var(--s4, 16px); display: grid; gap: 8px; }
    .so-t { margin: 0; font-size: 13.5px; line-height: 1.45; } .so-t > b { color: var(--amber); }
    .so-q { margin: 0; }
    .wl { gap: 6px; }
    .wl-row { display: flex; gap: 8px; } .wl-row input { flex: 1; min-width: 0; } .wl-row .btn { height: 40px; white-space: nowrap; }
    .wl-h { margin: 0; } .wl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
    .wl .rz-msg { font-size: 13px; } .wl .rz-msg.bad { color: #ffb3b9; } .wl .rz-msg.ok { color: var(--bid); }
    .bh { font-size: 12px; color: var(--muted); line-height: 1.5; }
    .bh b { color: var(--text-2); } .bh .bh-use { margin-left: 4px; }
    /* pay an exact XBT amount (xbtexact.js) */
    .xe { margin-top: -6px; }
    .xe-open { padding: 4px 0; min-height: 32px; font-weight: 500; }
    .xe-box { display: grid; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-sm, 8px); background: var(--bg); }
    .xe-row { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: flex-end; }
    .xe-f { flex: 1 1 130px; min-width: 0; }
    .xe-picks { flex: none; height: 40px; align-items: stretch; }
    .xe-picks button { padding: 0 12px; min-width: 40px; font-variant-numeric: tabular-nums; }
    .xe-picks button[aria-pressed="true"] { background: var(--raised); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
    .xe-out { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
    .xe-out b { color: var(--text-2); font-weight: 600; }
    .xe-out .xe-use { padding: 0; min-height: 0; margin-left: 4px; font-size: 12.5px; }
    .xe-close { padding: 2px 0; min-height: 28px; color: var(--muted); font-weight: 500; font-size: 12px; }
    .field.xe-ro input { color: var(--text-2); background: transparent; }
    .ob-partner { padding: 6px var(--s4, 16px) 0; font-size: 13px; color: var(--text-2); }
    .ob-partner .k { color: var(--muted); }
    @media (max-width: 600px) { .ob-partner .pc-t { display: none; } }
    /* partner tiers (preview) */
    .ob-av .tag + .tag { margin-left: 4px; }
    .tag.ptn { color: #b9c6ff; background: rgba(79,107,255,.16); border-color: transparent; }
    .ob-av tr.pt td { color: var(--text-2); }
    .pc-pay { margin: 0 0 8px; padding: 8px 10px; border-radius: 8px; font-size: 12.5px; line-height: 1.45; color: var(--text-2); background: rgba(247,147,26,.08); border: 1px solid rgba(247,147,26,.25); }
    .pc-pay b { color: var(--text); }
    @media (max-width: 600px) { .ob-av .tag + .tag { margin: 2px 0 0; } .ob-av td:last-child .tag { display: block; width: max-content; margin-left: auto; } }
    .ob-av tr.pt-tog td { text-align: center; padding: 6px 8px; }
    .ob-av tr.pt-tog .bk-add { font-size: 12.5px; }
    /* Available table: price, speed, type (no duration column) */
    .ob table.ob-av col.c-price { width: 34%; } .ob table.ob-av col.c-speed { width: 26%; } .ob table.ob-av col.c-stat { width: 40%; }
    /* ---- mobile / touch / safe-area pass ---- */
    .wrap { padding-left: max(var(--s5), env(safe-area-inset-left)); padding-right: max(var(--s5), env(safe-area-inset-right)); }
    .logo { min-height: 40px; }
    .btn { height: 40px; }
    footer { padding-bottom: calc(var(--s6) + env(safe-area-inset-bottom)); }
    #chat-btn { right: max(20px, calc(env(safe-area-inset-right) + 12px)); bottom: calc(20px + env(safe-area-inset-bottom)); transition: opacity .2s, transform .2s; }
    #chat-btn.tucked { opacity: 0; transform: translateY(16px); pointer-events: none; }
    #chat-box { right: max(20px, calc(env(safe-area-inset-right) + 12px)); bottom: calc(76px + env(safe-area-inset-bottom)); max-height: calc(100vh - 92px - env(safe-area-inset-bottom)); max-height: calc(100dvh - 92px - env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; }
    @media (max-height: 480px) { #chat-box textarea { min-height: 56px; } #chat-box .sub { display: none; } }
    @media (pointer: coarse), (max-width: 860px) {
      input, textarea { font-size: 16px; }
      input { height: 44px; }
      .seg button { min-height: 40px; min-width: 44px; padding: 0 12px; }
      .fgrid a { display: inline-flex; align-items: center; min-height: 40px; min-width: 44px; }
      .fine a, .faq a, .hint a { padding: 11px 0; margin: -11px 0; }
      .fgrid p { margin-bottom: 0; }
      .btn { height: 44px; }
      #chat-box .close { width: 40px; height: 40px; }
      .lk-seg button { min-height: 36px; padding: 4px 14px; }
      #checkout .co-x { min-width: 40px; min-height: 40px; }
      #checkout .co-v button { min-height: 36px; }
      .lk-more { min-height: 40px; }
      .lk-mg { min-height: 40px; }
    }
    .lk-i { position: relative; } .lk-i::after { content: ""; position: absolute; inset: -11px; }
    @media (max-width: 560px) {
      .wrap { padding-left: max(var(--s4), env(safe-area-inset-left)); padding-right: max(var(--s4), env(safe-area-inset-right)); }
      #chat-btn { right: max(14px, calc(env(safe-area-inset-right) + 8px)); bottom: calc(14px + env(safe-area-inset-bottom)); }
      #chat-box { right: max(16px, calc(env(safe-area-inset-right) + 8px)); left: max(16px, calc(env(safe-area-inset-left) + 8px)); width: auto; max-width: none; bottom: calc(72px + env(safe-area-inset-bottom)); }
    }
    @media (max-width: 360px) { .row2 { grid-template-columns: minmax(0, 1fr); } }
    @container (max-width: 400px) {
      .ob table { font-size: 12px; }
      .ob th, .ob td { padding-left: 4px; padding-right: 4px; }
      .ob th:first-child, .ob td:first-child { padding-left: var(--s4); } .ob th:last-child, .ob td:last-child { padding-right: var(--s4); }
      .ob .tag { padding: 2px 6px; font-size: 10.5px; }
    }
    @container (max-width: 340px) {
      /* drop the 3rd column (Live / Duration); with display:none the 4th cell moves into the 3rd col */
      .ob table:not(.ob-av) th:nth-child(3), .ob table:not(.ob-av) td:nth-child(3) { display: none; }
      .ob col.c-price { width: 38%; } .ob col.c-speed { width: 26%; } .ob col.c-mid { width: 36%; } .ob col.c-stat { width: 0; }
    }
    /* optional accounts */
    .acct-dlg { margin: auto; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--panel); color: var(--text); padding: 0; width: min(420px, calc(100vw - 32px)); box-shadow: 0 24px 60px rgba(0,0,0,.5); }
    .acct-page #main > .wrap > :not(#account) { display: none !important; }
    .acct-page #account { display: block !important; min-height: 62vh; padding-top: 36px; }
    .ac-signin { max-width: 460px; margin: 8px auto 0; }
    .ac-signin .tha-f { padding: var(--s5); }
    .ac-signin #tha-x { display: none; }
    .ac-signin-h { text-align: center; margin: 0 auto 4px; max-width: 460px; }
    .ac-signin-h p { color: var(--text-2); margin: 6px 0 0; }
    .acct-dlg::backdrop { background: rgba(5,7,10,.7); }
    .tha-f { display: grid; gap: 12px; padding: var(--s5); }
    .tha-h { display: flex; align-items: center; justify-content: space-between; font-size: 17px; }
    .acct-dlg .co-x, .ac-signin .co-x { background: none; border: 0; color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; min-width: 36px; min-height: 36px; }
    .tha-p { margin: 0; color: var(--text-2); font-size: 14px; }
    .acct-dlg { box-sizing: border-box; max-width: calc(100vw - 32px); max-height: none; height: -webkit-fit-content; height: -moz-fit-content; height: fit-content; overflow: visible; scrollbar-width: none; }
    .acct-dlg::-webkit-scrollbar { display: none; }
    @media (max-height: 480px) { .acct-dlg { max-height: calc(100vh - 16px); overflow-y: auto; } }
    .acct-dlg input#th-auth-field, .ac-signin input#th-auth-field { display: block !important; visibility: visible !important; opacity: 1 !important; -webkit-appearance: none; appearance: none; box-sizing: border-box; width: 100%; min-width: 0; height: 48px; margin: 0; padding: 0 14px; background: #070a0e; color: #fff; -webkit-text-fill-color: #fff; border: 2px solid #8fa8d8; border-radius: var(--r-sm); font: 400 16px/44px var(--font); }
    .acct-dlg input#th-auth-field::placeholder, .ac-signin input#th-auth-field::placeholder { color: #6b7488; -webkit-text-fill-color: #6b7488; opacity: 1; }
    .acct-dlg input#th-auth-field:focus, .ac-signin input#th-auth-field:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(91,140,255,.3); outline: none; }
    .acct-dlg [hidden], .ac-signin [hidden] { display: none !important; }
    .tha-f > *, .tha-s > *, .acct-dlg label.f, .ac-signin label.f { min-width: 0; }
    .tha-s { display: grid; gap: 12px; }
    .tha-p b, .tha-to { overflow-wrap: anywhere; word-break: break-word; }
    .tha-small { font-size: 12.5px; color: var(--muted); }
    /* sign-in code: always a clearly visible box, large digits (customer report 2026-10-18) */
    .acct-dlg input.th-code, .ac-signin input.th-code { display: block !important; visibility: visible !important; opacity: 1 !important; -webkit-appearance: none; appearance: none; box-sizing: border-box; width: 100%; min-width: 0; height: 60px; margin: 0; padding: 0 12px;
      background: #070a0e; color: #ffffff; -webkit-text-fill-color: #ffffff; caret-color: #ffffff; border: 2px solid #8fa8d8; border-radius: var(--r-sm);
      font: 600 30px/56px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .32em; text-indent: .32em; text-align: center; }
    .acct-dlg input.th-code::placeholder, .ac-signin input.th-code::placeholder { color: #6b7488; -webkit-text-fill-color: #6b7488; opacity: 1; letter-spacing: .32em; }
    .acct-dlg input.th-code:focus, .ac-signin input.th-code:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(91,140,255,.3); outline: none; }
    .tha-alt { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
    .acct-save { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); cursor: pointer; min-height: 32px; }
    .acct-save input { width: 16px; height: 16px; accent-color: var(--accent); }
    #acct-psel, #account select { width: 100%; height: 40px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--bg); color: var(--text); padding: 0 10px; font: 14px var(--font); }
    #account .ac-nf select { width: auto; height: 28px; padding: 0 6px; font-size: 12.5px; display: inline-block; }
    .ac-top { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s4); flex-wrap: wrap; }
    .ac-act { display: flex; gap: 8px; }
    .ac-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--s4); align-items: start; }
    .ac-col { display: grid; gap: var(--s4); min-width: 0; }
    .ac-grid .card-b, .ac-nfp .card-b { display: grid; gap: 10px; }
    .ao, .ap { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
    .ao:last-child, .ap:last-child { border-bottom: 0; }
    .ao-m, .ap-m { min-width: 0; }
    .ao-t { font-size: 14px; } .ao-t .hint { margin-left: 2px; }
    .ao-s, .ap-u { font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; }
    .ao-r { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }
    .ao-a, .ap-a { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
    .ap-a .bk-add { padding: 4px 0; min-height: 32px; }
    .ao-a { gap: 8px; align-items: center; }
    .ord-btn { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; height: 32px; min-height: 32px; margin: 0; padding: 0 12px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: transparent; color: var(--text); font: 600 12.5px/1 var(--font); letter-spacing: 0; white-space: nowrap; text-decoration: none; cursor: pointer; vertical-align: middle; -webkit-appearance: none; appearance: none; transition: background .15s, border-color .15s; }
    .ord-btn:hover { background: var(--raised); text-decoration: none; }
    .ord-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
    .ord-btn.ord-pri { background: var(--accent); border-color: var(--accent); color: #fff; }
    .ord-btn.ord-pri:hover { background: var(--accent-2); border-color: var(--accent-2); }
    .ord-btn.ord-del { color: var(--ask); }
    @media (max-width: 480px) { .ao-a { width: 100%; } .ao-a .ord-btn { flex: 1 1 0; height: 40px; min-height: 40px; font-size: 13.5px; } }
    .ap { flex-direction: column; gap: 2px; } .ap-a { justify-content: flex-start; gap: 16px; }
    .ap-del { color: var(--ask) !important; }
    .ao-past summary { cursor: pointer; color: var(--muted); font-size: 13px; padding: 8px 0; }
    .ac-claim { display: flex; gap: 8px; align-items: flex-end; margin-top: 6px; } .ac-claim .f { flex: 1; } .ac-claim .btn { height: 40px; }
    .ap-form { display: grid; gap: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
    .ap-form details summary { list-style: none; } .ap-form details[open] summary { margin-bottom: 6px; }
    .ap-btns { display: flex; gap: 8px; } .ap-btns .btn { flex: 1; }
    .ac-t { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; padding: 6px 0; position: relative; }
    .ac-t input { position: absolute; opacity: 0; width: 1px; height: 1px; }
    .ac-sw { flex: 0 0 34px; height: 20px; border-radius: 999px; background: var(--raised); border: 1px solid var(--line-2); position: relative; margin-top: 1px; transition: background .15s; }
    .ac-sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--muted); transition: transform .15s, background .15s; }
    .ac-t input:checked + .ac-sw { background: var(--accent-bg); border-color: var(--accent); }
    .ac-t input:checked + .ac-sw::after { transform: translateX(14px); background: var(--accent); }
    .ac-t input:focus-visible + .ac-sw { outline: 2px solid var(--accent); outline-offset: 2px; }
    .ac-t b { display: block; font-size: 14px; font-weight: 600; } .ac-t small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
    .ac-sess { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
    .ac-sess b { display: block; font-size: 14px; } .ac-sess small { display: block; color: var(--muted); font-size: 12.5px; }
    .ac-danger { color: var(--ask) !important; border-color: rgba(240,82,82,.35) !important; }
    .btn.ac-danger:not(.btn-ghost) { background: rgba(240,82,82,.12); }
    .ac-nfp { max-width: 560px; }
    @media (max-width: 860px) { .ac-grid { grid-template-columns: 1fr; } }
    @media (max-width: 480px) { .ac-act { width: 100%; } .ac-act .btn { flex: 1; } .ao { flex-direction: column; } .ao-r { align-items: flex-start; } .ao-a { justify-content: flex-start; } .ac-sess { flex-direction: column; align-items: stretch; } .ac-claim { flex-direction: column; align-items: stretch; } }
    /* app shell: sidebar fixed on desktop (>=1100px, collapsible), off-canvas drawer below */
    .side { position: fixed; inset: 0 auto 0 0; z-index: 300; width: 240px; display: flex; flex-direction: column; gap: 2px; padding: var(--s4) var(--s3) calc(var(--s4) + env(safe-area-inset-bottom)); background: var(--panel); border-right: 1px solid var(--line); overflow-y: auto; overscroll-behavior: contain; transform: translateX(-100%); visibility: hidden; transition: transform .2s, visibility .2s; }
    .side .logo { padding: 0 var(--s3); margin-bottom: var(--s5); }
    .side > a:not(.logo) { display: flex; align-items: center; min-height: 40px; padding: 0 var(--s3); border-radius: var(--r-sm); color: var(--text-2); font-weight: 500; }
    .side > a:not(.logo):hover { background: var(--raised); color: var(--text); text-decoration: none; }
    .side > a[aria-current] { background: var(--accent-bg); color: var(--text); box-shadow: inset 3px 0 0 var(--accent); }
    .side-f { margin-top: auto; display: grid; gap: var(--s3); padding: var(--s3); font-size: 12.5px; }
    .side-f a { color: var(--muted); }
    .side-bg { display: none; position: fixed; inset: 0; z-index: 290; background: rgba(5,7,10,.6); }
    html.side-open .side { transform: none; visibility: visible; }
    html.side-open .side-bg { display: block; }
    .nav { gap: var(--s3); }
    .nav-r { display: flex; gap: 8px; margin-left: auto; }
    .menu-btn { display: inline-flex; width: 44px; padding: 0; flex: none; }
    .menu-btn svg { width: 20px; height: 20px; }
    /* menu button icon follows the menu state (client pleb 2026-10-25): burger = closed, X = phone drawer open, arrow = desktop sidebar shown */
    .menu-btn .mi-x, .menu-btn .mi-back, .side-x { display: none; }
    .side-x { width: 44px; height: 44px; padding: 0; align-items: center; justify-content: center; }
    .side-x svg { width: 20px; height: 20px; }
    @media (max-width: 1099.98px) {
      .menu-btn[aria-expanded="true"] .mi-open { display: none; } .menu-btn[aria-expanded="true"] .mi-x { display: block; }
      html.side-open .side-x { display: inline-flex; position: fixed; top: 8px; left: 248px; z-index: 310; background: var(--panel); }
    }
    @media (min-width: 1100px) { .menu-btn[aria-expanded="true"] .mi-open { display: none; } .menu-btn[aria-expanded="true"] .mi-back { display: block; } }
    /* private order link: the order on top, the bid form folded behind a button (client pleb 2026-10-25) */
    .order-top { margin: var(--s4) 0 var(--s5); }
    .order-top #checkout { margin-top: 0; background: var(--panel); }
    .order-top .co-reopen { margin-top: 0; }
    #place.pb-fold > .card-b { display: none; }
    .pb-tg { display: flex; width: calc(100% - 2 * var(--s4)); margin: var(--s3) var(--s4); min-height: 44px; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--raised); color: var(--text); font: 600 14px var(--font); cursor: pointer; }
    .pb-tg[hidden] { display: none; }
    .pb-tg svg { width: 18px; height: 18px; transition: transform .15s; }
    .pb-tg[aria-expanded="true"] svg { transform: rotate(180deg); }
    #checkout .co-fold { margin-top: var(--s3); border-top: 1px solid var(--line); }
    #checkout .co-fold > summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); min-height: 48px; padding: 6px 0; cursor: pointer; list-style: none; }
    #checkout .co-fold > summary::-webkit-details-marker { display: none; }
    #checkout .co-fold > summary::after { content: ''; flex: none; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); margin: 0 6px 4px 0; transition: transform .15s; }
    #checkout .co-fold[open] > summary::after { transform: rotate(-135deg); margin-bottom: 0; }
    #checkout .cf-t { display: grid; gap: 2px; min-width: 0; }
    #checkout .cf-t b { font-size: 14px; color: var(--text); }
    #checkout .cf-t small { font-size: 12.5px; line-height: 1.4; color: var(--muted); overflow-wrap: anywhere; }
    #checkout .co-fold > .rz, #checkout .co-fold > .tu { margin-top: 0; padding-top: 0; border-top: 0; }
    #checkout .co-fold > .tu > .rz-h:first-child { display: none; }  /* the summary is the heading */
    #checkout .co-fold > .rz > .rz-h { display: none; }
    #checkout .rz-pv { overflow-wrap: anywhere; max-width: 100%; }
    #place { position: static; }
    /* two columns: order form + payment | market */
    @media (min-width: 900px) {
      .layout { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
      .layout > aside { order: -1; }
      .hero { padding-bottom: var(--s4); grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
      .hero-kpi .big { font-size: 44px; }
      .facts { grid-template-columns: 1fr; }
      .facts div:nth-child(odd) { border-right: 0; }
      .facts div:nth-last-child(2) { border-bottom: 1px solid var(--line); }
    }
    @media (min-width: 1100px) {
      :root { --max: 1400px; }
      html:not(.side-off) body { padding-left: 240px; }
      html:not(.side-off) .side { transform: none; visibility: visible; transition: none; }
      html:not(.side-off) header.top .logo { display: none; }
      .side-bg { display: none !important; }
      .wrap { padding-left: var(--s6); padding-right: var(--s6); }
      .hero { padding-top: var(--s5); }
      h1 { font-size: 34px; } .cta { display: none; }
      .kpis { margin: 0 0 var(--s4); }
    }
    /* top-up pay tiles at phone width (2026-10-25): Card + XBT share the last row as halves instead of Card squeezed into a
       third ("Card &..." / "Visa, Ma..."); the card sub-line wraps instead of being cut */
    #checkout .tu-m.tu-mB button.tcard, #checkout .tu-m.tu-mB button[data-tumeth="XBT"] { grid-column: span 3; }
    #checkout .tu-m.tu-mB button.tcard:last-child { grid-column: 1 / -1; }
    #checkout .tu-m button.tcard b, #checkout .tu-m button.tcard small { white-space: normal; overflow: visible; text-overflow: clip; }
  