
    .breadcrumb {
        display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
        padding: 14px 16px 0; font-size: 12.5px; font-weight: 600; color: var(--muted);
    }
    .breadcrumb a { color: var(--muted); }
    .breadcrumb a:hover { color: var(--primary); }
    .breadcrumb .sep { color: #cbd5e1; }
    .breadcrumb .current { color: var(--text); }

    /* ---- Game hero ---- */
    .game-hero {
        position: relative; overflow: hidden;
        margin: 12px 16px 0; padding: 14px; border-radius: 16px;
        display: flex; align-items: center; gap: 13px;
        background: #fff; border: 1px solid var(--line);
        box-shadow: 0 4px 14px rgba(29,41,61,.06);
    }
    .game-hero .g-thumb {
        width: 64px; height: 64px; flex-shrink: 0; border-radius: 14px; overflow: hidden;
        background: #eef1f5; border: 1px solid var(--line);
    }
    .game-hero .g-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .game-hero .g-fallback {
        width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
        font-size: 20px; font-weight: 700; color: #fff;
        background: linear-gradient(135deg,var(--primary),var(--primary2));
    }
    .game-hero .g-info { min-width: 0; flex: 1; }
    .game-hero h1 { font-size: 17.5px; font-weight: 700; color: var(--text); line-height: 1.25; letter-spacing: -.2px; }
    /* Mobile: plain spacing, no dot separators — the strip has to wrap at phone
       widths, and gaps wrap cleanly where dangling separators would not. */
    .g-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 13px; margin-top: 5px; }
    .g-badge {
        display: inline-flex; align-items: center; gap: 4px; white-space: nowrap;
        font-size: 11px; font-weight: 600; color: var(--muted);
    }
    .g-badge .ic { color: var(--primary); }

    .game-desc {
        margin: 12px 16px 0; padding: 12px 14px;
        background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--primary);
        border-radius: 12px; font-size: 12.5px; line-height: 1.7; color: var(--muted); font-weight: 500;
    }

    /* ---- Buy layout ---- */
    .buy-wrap { padding: 0 16px; }
    .buy-grid { display: block; }

    .step {
        background: #fff; border: 1px solid var(--line); border-radius: 16px;
        padding: 16px; margin-top: 14px;
        box-shadow: 0 2px 10px rgba(29,41,61,.05);
    }
    .step-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
    .step-num {
        width: 26px; height: 26px; flex-shrink: 0; border-radius: 9px;
        display: flex; align-items: center; justify-content: center;
        font-size: 12.5px; font-weight: 700; color: #fff;
        background: linear-gradient(135deg,var(--primary),var(--primary2));
        box-shadow: 0 4px 10px rgba(207,11,41,.3);
    }
    .step-head h4 { font-size: 14.5px; font-weight: 700; letter-spacing: -.2px; }

    /* Account fields */
    .field { margin-bottom: 13px; }
    .field:last-child { margin-bottom: 0; }
    .field label { display: block; font-size: 12.5px; font-weight: 700; margin-bottom: 6px; }
    .field label .req { color: #fb2c36; }
    .field input {
        width: 100%; padding: 11px 13px; font-size: 14px; font-family: inherit; font-weight: 500;
        color: var(--text); background: #fff;
        border: 1.5px solid var(--line); border-radius: 12px; outline: none;
        transition: border-color .15s, box-shadow .15s;
    }
    .field input::placeholder { color: #a5b0c0; font-weight: 500; }
    .field input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(207,11,41,.12); }
    .field input.invalid { border-color: #fb2c36; box-shadow: 0 0 0 3px rgba(251,44,54,.1); }
    .field .hint { font-size: 11.5px; color: var(--muted); margin-top: 6px; font-weight: 500; }
    .no-fields {
        display: flex; align-items: flex-start; gap: 10px;
        padding: 12px 14px; border-radius: 12px; background: #f1f5f9;
        font-size: 12.5px; line-height: 1.6; color: var(--muted); font-weight: 500;
    }
    .no-fields .ic { color: var(--primary); flex-shrink: 0; margin-top: 1px; }

    /* ID check — runs automatically once the account fields are filled */
    .id-check:has(.check-result.show) { margin-top: 13px; }
    .check-result {
        display: none; padding: 11px 13px; border-radius: 11px;
        font-size: 12.5px; font-weight: 600; line-height: 1.6; border: 1.5px solid;
    }
    .check-result.show { display: block; }
    .check-result.ok   { color: #00794a; background: rgba(0,150,80,.07);  border-color: rgba(0,150,80,.3); }
    .check-result.bad  { color: #c81e2b; background: rgba(251,44,54,.05); border-color: rgba(251,44,54,.28); }
    .check-result.info { color: var(--muted); background: #f1f5f9; border-color: var(--line); }
    .check-result .cr-name { font-weight: 800; color: var(--text); }

    /* Denomination filter */
    .denom-filter {
        display: flex; align-items: center; gap: 9px; margin-bottom: 13px;
        background: #f1f5f9; border: 1.5px solid transparent; border-radius: 12px; padding: 9px 13px;
        transition: .15s;
    }
    .denom-filter:focus-within { background: #fff; border-color: var(--primary); }
    .denom-filter .ic { color: var(--muted); flex-shrink: 0; }
    .denom-filter input {
        border: none; outline: none; background: transparent; flex: 1; min-width: 0;
        font-size: 13.5px; font-weight: 500; font-family: inherit; color: var(--text);
    }

    /* Denomination grid */
    .denoms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .denom {
        position: relative; text-align: left; cursor: pointer;
        padding: 12px 13px; border-radius: 13px;
        background: #fff; border: 1.5px solid var(--line);
        font-family: inherit; color: var(--text);
        transition: border-color .15s, box-shadow .15s, transform .12s, background .15s;
    }
    .denom:hover { border-color: var(--primary2); }
    .denom:active { transform: scale(.98); }
    .denom.selected { border-color: var(--primary); background: rgba(207,11,41,.045); box-shadow: 0 6px 16px rgba(207,11,41,.14); }
    .denom .d-name {
        font-size: 13.5px; font-weight: 700; line-height: 1.3; padding-right: 20px;
        display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    }
    .denom .d-price { font-size: 14px; font-weight: 700; color: var(--primary); margin-top: 7px; }
    .denom .d-check {
        position: absolute; top: 9px; right: 9px;
        width: 17px; height: 17px; border-radius: 50%;
        border: 1.5px solid var(--line); background: #fff;
        display: flex; align-items: center; justify-content: center; transition: .15s;
    }
    .denom .d-check::after {
        content: ''; width: 7px; height: 7px; border-radius: 50%; background: #fff; transform: scale(0); transition: transform .15s;
    }
    .denom.selected .d-check { border-color: var(--primary); background: var(--primary); }
    .denom.selected .d-check::after { transform: scale(1); }
    .denom-empty { padding: 26px; text-align: center; font-size: 13px; color: var(--muted); font-weight: 500; }

    /* Payment methods */
    .pays { display: flex; flex-direction: column; gap: 9px; }
    .pay {
        display: flex; align-items: center; gap: 12px; cursor: pointer;
        padding: 12px 13px; border-radius: 13px; background: #fff;
        border: 1.5px solid var(--line); transition: border-color .15s, background .15s;
    }
    .pay:hover { border-color: var(--primary2); }
    .pay.selected { border-color: var(--primary); background: rgba(207,11,41,.045); }
    .pay input { position: absolute; opacity: 0; pointer-events: none; }
    .pay .p-ico {
        width: 38px; height: 38px; flex-shrink: 0; border-radius: 11px;
        display: flex; align-items: center; justify-content: center;
        color: var(--primary); background: rgba(207,11,41,.1);
    }
    /* Brand logo chip: square, and larger than the icon tile so the wordmark
       stays legible. The artwork supplies its own background. */
    .pay .p-ico.has-img {
        width: 52px; height: 52px; background: none; overflow: hidden;
        border: 1px solid var(--line);
    }
    .pay .p-ico img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .pay .p-text { min-width: 0; }
    .pay .p-name { display: block; font-size: 13.5px; font-weight: 700; }
    .pay .p-note { display: block; font-size: 11.5px; color: var(--muted); font-weight: 500; margin-top: 2px; }
    .pay .p-dot {
        margin-left: auto; width: 17px; height: 17px; border-radius: 50%; flex-shrink: 0;
        border: 1.5px solid var(--line); display: flex; align-items: center; justify-content: center; transition: .15s;
    }
    .pay .p-dot::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #fff; transform: scale(0); transition: transform .15s; }
    .pay.selected .p-dot { border-color: var(--primary); background: var(--primary); }
    .pay.selected .p-dot::after { transform: scale(1); }

    /* Order summary */
    .summary { margin-top: 14px; }
    .summary-card {
        background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px;
        box-shadow: 0 2px 10px rgba(29,41,61,.05);
    }
    .summary-card h4 { font-size: 14.5px; font-weight: 700; margin-bottom: 13px; letter-spacing: -.2px; }
    .sum-row {
        display: flex; align-items: flex-start; justify-content: space-between; gap: 14px;
        font-size: 12.5px; font-weight: 500; color: var(--muted); padding: 7px 0;
    }
    .sum-row .v { font-weight: 700; color: var(--text); text-align: right; word-break: break-word; }
    .sum-row .v.empty { color: #a5b0c0; font-weight: 500; }
    .sum-total {
        display: flex; align-items: center; justify-content: space-between;
        margin-top: 11px; padding-top: 13px; border-top: 1px dashed var(--line);
    }
    .sum-total .t-label { font-size: 13px; font-weight: 700; }
    .sum-total .t-value { font-size: 21px; font-weight: 800; color: var(--primary); letter-spacing: -.4px; }
    .btn-buy {
        width: 100%; margin-top: 14px; padding: 14px; border: none; border-radius: 13px; cursor: pointer;
        font-family: inherit; font-size: 14.5px; font-weight: 700; color: #fff;
        background: linear-gradient(135deg,var(--primary),var(--primary2));
        box-shadow: 0 8px 20px rgba(207,11,41,.3);
        display: flex; align-items: center; justify-content: center;
        transition: transform .15s, box-shadow .15s, filter .15s;
    }
    .btn-buy:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(207,11,41,.36); }
    .btn-buy:disabled { background: #cbd5e1; box-shadow: none; cursor: not-allowed; }
    .sum-note {
        margin-top: 11px; font-size: 11px; line-height: 1.6; color: var(--muted);
        font-weight: 500; text-align: center;
    }

    /* The KHQR widget injects `body { font-family: Inter; background: #f4f4f4 }`
       into the head at runtime, which lands after this stylesheet and would win
       on equal specificity. `html body` outranks it whatever the source order. */
    html body {
        font-family: 'Oxanium', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        background: var(--bg);
    }

    /* Payment result panel (filled by the KHQR completion callback) */
    .pay-result { margin-top: 13px; padding: 14px; border-radius: 13px; display: none; border: 1.5px solid; }
    .pay-result.open { display: block; }
    .pay-result.ok   { background: rgba(0,150,80,.07);  border-color: rgba(0,150,80,.35); }
    .pay-result.fail { background: rgba(251,44,54,.05); border-color: rgba(251,44,54,.3); }
    .pay-result.info { background: #f1f5f9; border-color: var(--line); }
    .pay-result h5 { font-size: 13px; font-weight: 700; margin-bottom: 9px; display: flex; align-items: center; gap: 7px; }
    .pay-result.ok h5 { color: #00794a; }
    .pay-result.fail h5 { color: #c81e2b; }
    .pay-result.info h5 { color: var(--text); margin-bottom: 0; }
    .pay-result.info ul:empty { display: none; }
    .pay-result ul { list-style: none; display: flex; flex-direction: column; gap: 5px; }
    .pay-result li { font-size: 12.5px; font-weight: 500; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; }
    .pay-result li b { color: var(--text); font-weight: 700; text-align: right; word-break: break-all; }
    .pay-result .pr-note { margin-top: 11px; font-size: 11.5px; line-height: 1.6; color: var(--muted); font-weight: 600; }

    /* ---- Invoice (shown once KHQR reports the payment as paid) ---- */
    .invoice-overlay {
        position: fixed; inset: 0; z-index: 9998; display: none;
        align-items: center; justify-content: center; padding: 20px;
        background: rgba(14,19,27,.62);
        backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    }
    .invoice-overlay.open { display: flex; }
    .invoice {
        width: min(460px, 100%); max-height: 92vh; overflow-y: auto;
        background: #fff; border-radius: 18px; padding: 22px;
        box-shadow: 0 30px 70px rgba(6,10,16,.45);
        animation: invIn .25s cubic-bezier(.4,0,.2,1);
    }
    @keyframes invIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
    @media (prefers-reduced-motion: reduce) { .invoice { animation: none; } }

    .inv-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
    .inv-head img { height: 38px; width: auto; max-width: 140px; object-fit: contain; }
    .inv-head .inv-id { margin-left: auto; text-align: right; }
    .inv-head .inv-title { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
    .inv-head .inv-no { font-size: 13px; font-weight: 700; margin-top: 2px; }

    .inv-paid {
        display: inline-flex; align-items: center; gap: 5px; margin-top: 14px;
        padding: 5px 11px; border-radius: 20px; font-size: 11px; font-weight: 800; letter-spacing: .05em;
        color: #00794a; background: rgba(0,150,80,.1); border: 1px solid rgba(0,150,80,.3);
    }

    .inv-sec { margin-top: 16px; }
    .inv-sec h6 {
        font-size: 10.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
        color: #94a3b8; margin-bottom: 8px;
    }
    .inv-row { display: flex; justify-content: space-between; gap: 14px; padding: 4px 0; font-size: 12.5px; font-weight: 500; color: var(--muted); }
    .inv-row b { color: var(--text); font-weight: 700; text-align: right; word-break: break-all; }

    .inv-item {
        display: flex; justify-content: space-between; gap: 14px; align-items: flex-start;
        padding: 12px 13px; border-radius: 12px; background: #f8fafc; border: 1px solid var(--line);
    }
    .inv-item .ii-name { font-size: 13.5px; font-weight: 700; }
    .inv-item .ii-sub { font-size: 11.5px; font-weight: 500; color: var(--muted); margin-top: 2px; }
    .inv-item .ii-price { font-size: 13.5px; font-weight: 700; white-space: nowrap; }

    .inv-total {
        display: flex; align-items: center; justify-content: space-between;
        margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line);
    }
    .inv-total span { font-size: 13px; font-weight: 700; }
    .inv-total b { font-size: 21px; font-weight: 800; color: var(--primary); letter-spacing: -.4px; }

    .inv-foot { margin-top: 14px; font-size: 11px; line-height: 1.7; color: var(--muted); font-weight: 500; text-align: center; }
    .inv-actions { display: flex; gap: 10px; margin-top: 18px; }
    .inv-actions button {
        flex: 1; padding: 12px; border-radius: 12px; cursor: pointer;
        font-family: inherit; font-size: 13.5px; font-weight: 700; border: none;
    }
    .inv-actions .inv-print { color: #fff; background: linear-gradient(135deg,var(--primary),var(--primary2)); }
    .inv-actions .inv-close { color: #334155; background: #f1f5f9; }
    .inv-actions .inv-close:hover { background: #e8edf3; }

    /* Print just the invoice sheet. It is moved to <body> on load so this works. */
    @media print {
        body > *:not(.invoice-overlay) { display: none !important; }
        .invoice-overlay { position: static; display: block !important; padding: 0; background: none; backdrop-filter: none; }
        .invoice { width: 100%; max-height: none; overflow: visible; box-shadow: none; border-radius: 0; padding: 0; animation: none; }
        .inv-actions { display: none !important; }
    }

    /* Sticky mobile buy bar */
    .buy-bar {
        position: fixed; left: 0; right: 0; bottom: 78px; z-index: 25;
        max-width: 480px; margin: 0 auto; padding: 10px 16px;
        display: flex; align-items: center; gap: 12px;
        background: rgba(255,255,255,.95);
        backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
        border-top: 1px solid var(--line);
        transform: translateY(140%); transition: transform .25s cubic-bezier(.4,0,.2,1);
    }
    .buy-bar.show { transform: translateY(0); }
    .buy-bar .bb-label { font-size: 10.5px; color: var(--muted); font-weight: 600; }
    .buy-bar .bb-total { font-size: 18px; font-weight: 800; color: var(--primary); letter-spacing: -.3px; }
    .buy-bar button {
        margin-left: auto; padding: 12px 24px; border: none; border-radius: 12px; cursor: pointer;
        font-family: inherit; font-size: 14px; font-weight: 700; color: #fff;
        background: linear-gradient(135deg,var(--primary),var(--primary2));
        box-shadow: 0 6px 16px rgba(207,11,41,.3);
    }

    /* Not-found state */
    .nf { text-align: center; padding: 54px 24px; }
    .nf .nf-ico { display: flex; justify-content: center; color: #cbd5e1; margin-bottom: 14px; }
    .nf h2 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
    .nf p { font-size: 13.5px; color: var(--muted); font-weight: 500; line-height: 1.7; }
    .nf a.nf-btn {
        display: inline-block; margin-top: 18px; padding: 12px 26px; border-radius: 12px;
        background: var(--primary); color: #fff; font-weight: 700; font-size: 13.5px;
    }

    /* ============ DESKTOP ============ */
    @media (min-width: 900px) {
        .breadcrumb { padding: 22px 0 0; font-size: 13.5px; max-width: 1140px; margin: 0 auto; }
        .breadcrumb-wrap { padding: 0 40px; }

        .game-hero { margin: 18px 0 0; padding: 18px 20px; gap: 18px; border-radius: 18px; }
        .game-hero .g-thumb { width: 88px; height: 88px; border-radius: 16px; }
        .game-hero .g-fallback { font-size: 26px; }
        .game-hero h1 { font-size: 24px; }
        /* Desktop fits on one line, so dot separators read well here. */
        .g-badges { gap: 4px 9px; margin-top: 7px; }
        .g-badge { font-size: 12.5px; gap: 6px; }
        .g-badge:not(:last-child)::after { content: '·'; margin-left: 9px; color: #cbd5e1; font-weight: 700; }
        .game-desc { margin: 16px 0 0; padding: 15px 18px; font-size: 13.5px; }

        .buy-wrap { padding: 0; }
        .buy-grid {
            display: grid; grid-template-columns: minmax(0,1fr) 340px;
            gap: 24px; align-items: start; margin-top: 6px;
        }
        .step { padding: 22px; margin-top: 18px; border-radius: 18px; }
        .step-head h4 { font-size: 16px; }
        .step-num { width: 29px; height: 29px; font-size: 13.5px; }

        .denoms { grid-template-columns: repeat(4, 1fr); gap: 12px; }
        .denom { padding: 14px; }
        .denom .d-name { font-size: 14px; }
        .denom .d-price { font-size: 15px; }

        .summary { margin-top: 18px; position: sticky; top: 96px; }
        .summary-card { padding: 20px; border-radius: 18px; }
        .buy-bar { display: none; }

        .more-games { margin-top: 40px; }
    }
/* ── Additions for the Kongming clone ─────────────────────────────────── */
.crumbs { display:flex; gap:6px; align-items:center; font-size:12px; color:var(--muted); padding:12px 16px 0; }
.crumbs a { color:var(--muted); }
.crumbs b { color:var(--text); }

.gh-thumb { position:relative; width:64px; height:64px; flex-shrink:0; border-radius:14px; overflow:hidden; background:var(--darker); display:flex; align-items:center; justify-content:center; }
.gh-thumb img { width:100%; height:100%; object-fit:cover; }
.gh-thumb .g-fallback { position:absolute; color:#fff; font-weight:700; font-size:20px; }
.gh-text h2 { font-size:17px; font-weight:700; margin-bottom:6px; }

.btn-check { padding:9px 16px; border:none; border-radius:10px; cursor:pointer; font-family:inherit;
  font-size:13px; font-weight:700; color:#fff; background:linear-gradient(135deg,var(--primary),var(--primary2)); }
/* The scraped sheet hides .check-result until a .show class is added, but the
   storefront reveals it by state class instead. Any state class must therefore
   make it visible; a bare .check-result (cleared verdict) stays hidden. */
.check-result { font-size:12.5px; margin-top:8px; color:var(--muted); }
.check-result.ok,
.check-result.err,
.check-result.warn,
.check-result.info { display:block; }
.check-result.ok { color:#15803d; background:rgba(0,150,80,.07); border-color:rgba(0,150,80,.3); }
.check-result.err { color:#b91c1c; background:rgba(251,44,54,.05); border-color:rgba(251,44,54,.28); }
.check-result.warn { color:#b45309; background:rgba(245,158,11,.08); border-color:rgba(245,158,11,.35); }

.pay.is-soon { opacity:.6; pointer-events:none; }
.p-soon { font-size:10.5px; font-weight:700; color:var(--muted); background:#eef2f7; border:1px solid #dde3ec;
  border-radius:99px; padding:4px 9px; white-space:nowrap; }

/* Sticky mobile buy bar */
.buybar { position:fixed; bottom:0; left:0; right:0; max-width:480px; margin:0 auto; z-index:40;
  display:flex; align-items:center; gap:12px; padding:10px 14px 14px;
  background:rgba(255,255,255,.95); backdrop-filter:blur(12px); border-top:1px solid var(--line); }
.bb-total { flex:1; display:flex; flex-direction:column; line-height:1.15; }
.bb-total span { font-size:10.5px; color:var(--muted); font-weight:600; }
.bb-total b { font-size:17px; color:var(--primary); }
.bb-btn { padding:13px 28px; border:none; border-radius:12px; cursor:pointer; font-family:inherit;
  font-size:14px; font-weight:700; color:#fff; background:linear-gradient(135deg,var(--primary),var(--primary2));
  box-shadow:0 8px 20px rgba(207,11,41,.3); }
.bb-btn:disabled { background:#cbd5e1; box-shadow:none; cursor:not-allowed; }
@media (min-width:1024px) { .buybar { display:none; } }
.app { padding-bottom:90px; }

/* Footer */
.site-footer .f-inner { text-align:center; padding:26px 16px 30px; }
.site-footer .f-logo { height:44px; margin-bottom:10px; }
.site-footer p { font-size:12.5px; color:var(--muted); max-width:420px; margin:0 auto 12px; }
.f-pay { display:flex; gap:10px; justify-content:center; margin-bottom:12px; }
.f-pay img { height:30px; width:auto; border-radius:6px; }
.f-copy { font-size:11.5px; color:var(--muted); }

/* ── គួរម៉ា UX: value badge, verify box, copy-id ───────────────── */
.denom { position: relative; }
.d-badge {
    position: absolute; top: -8px; right: 8px; z-index: 2;
    background: linear-gradient(135deg, var(--primary), var(--primary2));
    color: #fff; font-size: 10px; font-weight: 700; line-height: 1;
    padding: 4px 8px; border-radius: 999px; box-shadow: 0 3px 10px rgba(236,34,39,.35);
}
.check-result { font-family: 'Noto Sans Khmer', 'Oxanium', sans-serif; }
.cp {
    border: 1px solid #dbe3ef; background: #f6f8fc; border-radius: 7px;
    cursor: pointer; font-size: 12px; line-height: 1; padding: 4px 7px; margin-left: 4px;
    color: inherit; vertical-align: middle;
}
.cp:hover { background: #eef2f9; }
.step-num { display:inline-flex; align-items:center; justify-content:center;
    width:24px; height:24px; border-radius:50%; background:var(--primary); color:#fff;
    font-size:13px; font-weight:800; margin-right:8px; }

.pay-trust {
    margin-top: 10px; padding: 10px 12px; border-radius: 12px;
    background: #f0fdf4; border: 1px solid #bbf7d0; color: #14532d;
    font-size: 12px; font-weight: 600; line-height: 1.6;
    font-family: 'Noto Sans Khmer', 'Oxanium', sans-serif;
}
.check-result.err { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }
.denom .d-price { font-variant-numeric: tabular-nums; }

/* ── Package icon thumbnails (Broninja-style cards) ───────────────────── */
.denom { display: flex; align-items: center; gap: 11px; }
.denom .d-icon {
    width: 46px; height: 46px; flex-shrink: 0;
    background: none;
    display: flex; align-items: center; justify-content: center;
}
.denom .d-icon img {
    width: 100%; height: 100%; object-fit: contain; display: block;
    filter: drop-shadow(0 3px 6px rgba(29,41,61,.18));
}
.denom .d-icon:empty::before {
    content: '💎'; font-size: 24px; line-height: 1;
}
.denom .d-body { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.denom .d-body .d-name { padding-right: 18px; }
.denom .d-body .d-price { margin-top: 6px; }

@media (min-width: 900px) {
    .denom .d-icon { width: 54px; height: 54px; }
}

/* ─────────────────────────────────────────────────────────────────────────
   “Re-check account and game” — animation layer
   Append to: public/km-product.css   (end of file)
   Repo: ikdmv168/kuma-code @ master
   Uses the site's existing vars: --primary --primary2 --text --muted --line
   ───────────────────────────────────────────────────────────────────────── */

/* pop, shared by the ok badge */
@keyframes gpop { 0% { transform: scale(0); } 70% { transform: scale(1.25); } 100% { transform: scale(1); } }

/* ── The button ─────────────────────────────────────────────────────── */
.btn-check {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: auto;
    padding: 10px 18px; border: none; border-radius: 11px; cursor: pointer; overflow: hidden;
    font-family: inherit; font-size: 13.5px; font-weight: 800; letter-spacing: .2px; color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary2));
    box-shadow: 0 6px 16px -8px rgba(236, 34, 39, .75);
    transition: transform .16s, box-shadow .2s, filter .2s;
}
.btn-check:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 10px 22px -9px rgba(236, 34, 39, .85); }
.btn-check:active:not(:disabled) { transform: translateY(0) scale(.988); }
.btn-check:disabled { cursor: progress; }

/* sheen sweep on hover */
.btn-check::after {
    content: ""; position: absolute; top: 0; left: -60%; width: 45%; height: 100%; pointer-events: none;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .42), transparent);
    transform: skewX(-18deg);
}
.btn-check:not(:disabled):hover::after { animation: sheen .85s ease; }
@keyframes sheen { to { left: 120%; } }

/* rotating conic ring while the lookup is in flight */
.btn-check::before {
    content: ""; position: absolute; inset: -2px; border-radius: 15px; padding: 2px; opacity: 0;
    background: conic-gradient(from 0deg, transparent 0 55%, rgba(255, 255, 255, .95) 78%, transparent 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    transition: opacity .2s;
}
.btn-check.is-checking::before { opacity: 1; animation: spin 1.05s linear infinite; }
.btn-check.is-checking { animation: breathe 1.5s ease-in-out infinite; filter: saturate(1.12); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe {
    0%, 100% { box-shadow: 0 6px 16px -8px rgba(236, 34, 39, .7); }
    50% { box-shadow: 0 6px 26px -6px rgba(236, 34, 39, .95); }
}

.b-spin { width: 15px; height: 15px; flex-shrink: 0; display: none; }
.b-spin circle { fill: none; stroke: rgba(255, 255, 255, .35); stroke-width: 3; }
.b-spin path { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 34; stroke-dashoffset: 22; }
.btn-check.is-checking .b-spin { display: block; animation: spin .8s linear infinite; }
.btn-check.is-checking .b-ico { display: none; }
.b-ico { width: 15px; height: 15px; flex-shrink: 0; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.b-label { display: block; line-height: 1.2; font-size: 13.5px; font-weight: 800; white-space: nowrap; }

/* progress rail under the button */
.rail { height: 3px; border-radius: 99px; background: #eef2f7; margin-top: 9px; overflow: hidden; opacity: 0; transition: opacity .2s; }
.rail.on { opacity: 1; }
.rail span {
    display: block; height: 100%; width: 0; border-radius: 99px;
    background: linear-gradient(90deg, var(--primary), var(--primary2), #ffb199);
    background-size: 220% 100%; animation: railflow 1.1s linear infinite;
}
@keyframes railflow { to { background-position: -220% 0; } }

/* ── Result box states ──────────────────────────────────────────────── */
.check-result { display: none; }
/* Legacy text-only states (no badge markup) stay block-level. */
.check-result.ok, .check-result.err, .check-result.warn, .check-result.info { display: block; }
.check-result.show { display: flex; gap: 10px; align-items: flex-start; animation: riseIn .3s cubic-bezier(.2, .9, .3, 1); }
@keyframes riseIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.cr-badge { width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; margin-top: 1px; }
.cr-badge svg { width: 13px; height: 13px; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.cr-body { flex: 1; min-width: 0; }
.cr-body b { font-weight: 800; }
.cr-sub { display: block; font-size: 11px; font-weight: 600; opacity: .72; margin-top: 2px; }

/* pending: shimmer + 3-step checklist */
.check-result.pending { color: var(--muted); background: #f8fafc; border-color: var(--line); }
.check-result.pending .cr-badge { background: #e2e8f0; }
.check-result.pending .cr-badge svg { stroke: #64748b; stroke-width: 2.6; animation: spin 1s linear infinite; }
.sk { height: 8px; border-radius: 99px; margin-top: 7px;
    background: linear-gradient(90deg, #e8edf4 25%, #f6f9fc 50%, #e8edf4 75%);
    background-size: 220% 100%; animation: shim 1.25s linear infinite; }
@keyframes shim { to { background-position: -220% 0; } }
.cr-steps { list-style: none; margin: 8px 0 0; padding: 0; font-size: 11.5px; font-weight: 600; color: var(--muted); }
.cr-steps li { display: flex; align-items: center; gap: 7px; padding: 2.5px 0; opacity: .38; transition: opacity .3s, color .3s; }
.cr-steps li .dot { width: 6px; height: 6px; border-radius: 50%; background: #cbd5e1; flex-shrink: 0; transition: .3s; }
.cr-steps li.on { opacity: 1; color: var(--text); }
.cr-steps li.on .dot { background: var(--primary); box-shadow: 0 0 0 3px rgba(236, 34, 39, .16); animation: dotp 1s ease-in-out infinite; }
.cr-steps li.done { opacity: .85; color: #15803d; }
.cr-steps li.done .dot { background: #15803d; box-shadow: none; animation: none; }
@keyframes dotp { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.5); } }

/* ok: badge pops, checkmark draws itself, background flashes, name de-blurs */
.check-result.ok { color: #15803d; background: rgba(0, 150, 80, .07); border-color: rgba(0, 150, 80, .3);
    animation: riseIn .3s cubic-bezier(.2, .9, .3, 1), okflash .7s ease; }
.check-result.ok .cr-badge { background: #15803d; animation: gpop .45s cubic-bezier(.2, 1.6, .4, 1); }
.check-result.ok .cr-badge svg { stroke: #fff; stroke-dasharray: 30; stroke-dashoffset: 30;
    animation: draw .45s .12s cubic-bezier(.4, 0, .2, 1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes okflash { 0% { background: rgba(0, 150, 80, .26); } 100% { background: rgba(0, 150, 80, .07); } }
.cr-name { display: inline-block; font-weight: 800; color: var(--text); animation: nameIn .5s cubic-bezier(.2, .9, .3, 1) both; }
@keyframes nameIn { from { opacity: 0; filter: blur(4px); transform: translateY(3px); } to { opacity: 1; filter: none; transform: none; } }

/* warn: two soft pulses */
.check-result.warn { color: #b45309; background: rgba(245, 158, 11, .08); border-color: rgba(245, 158, 11, .35);
    animation: riseIn .3s, warnpulse 1.1s ease .1s 2; }
.check-result.warn .cr-badge { background: #f59e0b; }
.check-result.warn .cr-badge svg { stroke: #fff; }
@keyframes warnpulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); } 40% { box-shadow: 0 0 0 6px rgba(245, 158, 11, .13); } }

/* err: shake + cross draws */
.check-result.err { color: #b91c1c; background: #fef2f2; border-color: #fecaca;
    animation: riseIn .26s, shake .48s cubic-bezier(.36, .07, .19, .97); }
.check-result.err .cr-badge { background: #b91c1c; }
.check-result.err .cr-badge svg { stroke: #fff; stroke-dasharray: 14; stroke-dashoffset: 14; animation: draw .3s .1s forwards; }
@keyframes shake {
    10%, 90% { transform: translateX(-2px); } 20%, 80% { transform: translateX(4px); }
    30%, 50%, 70% { transform: translateX(-6px); } 40%, 60% { transform: translateX(6px); }
}

/* accessibility: honour the OS "reduce motion" setting */
@media (prefers-reduced-motion: reduce) {
    .btn-check, .btn-check::before, .btn-check::after, .b-spin,
    .rail span, .sk, .cr-steps li .dot, .cr-badge, .cr-badge svg, .check-result, .cr-name {
        animation-duration: .01ms !important; animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
