/* =============================================================================
   Match: account area, DESIGN_V4 "mint sportsbook" (auth, settings & security,
   responsible gambling, notifications, wallet + top-up drawer, withdrawal,
   support inbox). Owned by UI agent C. Dark navy surfaces, 1px borders,
   radius 10-12 cards, 8px controls, no shadows. Mint (--accent) is the only
   accent: primary actions, active tabs, positive money. Red (--live/--danger)
   only for live and errors. Uses the v4 tokens from match.css with fallbacks to
   the DESIGN_V4 dark values.
   ========================================================================== */

:root {
  /* navy "hero" surfaces stay dark in both themes, like the reference hero */
  --acc-brand: #0f151d;
  --acc-brand-2: #151d27;
  --acc-brand-line: rgba(255, 255, 255, .09);
  --acc-mint: #5ce1ad;             /* mint on the always-dark brand/balance panels */
  --acc-on-mint: #062417;
  --acc-ring: 0 0 0 3px color-mix(in srgb, var(--accent, #5ce1ad) 28%, transparent);
  --acc-ok: var(--accent-text, #5ce1ad);
  --acc-warn: color-mix(in srgb, var(--warning, #f5b84b) 80%, var(--text, #eef2f6));
  --acc-bad: color-mix(in srgb, var(--danger, #ff6b6b) 85%, var(--text, #eef2f6));
  --acc-hot: var(--accent-text, #5ce1ad);
  --acc-input: var(--surface-2, #1b232d);
  --acc-mono: ui-monospace, "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
}

/* ---------------------------------------------------------------- shell: no empty bet-slip column on account pages */
@media (min-width: 1100px) {
  body.page-acc .shell { grid-template-columns: minmax(0, 1fr); }
  body.page-acc .side-slip { display: none; }
}
@media (min-width: 1280px) { body.page-acc .shell { grid-template-columns: var(--sidebar-w, 232px) minmax(0, 1fr); } }

.page-acc .num, .page-acc .acc-num { font-variant-numeric: tabular-nums; }
.page-acc .sr-only, .page-acc .sr-label .field-top label {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
html.js .page-acc .sr-only-js { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
html:not(.js) .js-only { display: none !important; }
.page-acc fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.page-acc .icon-sm { width: 14px; height: 14px; }

/* ---------------------------------------------------------------- buttons (spec: 40px, 44 on mobile, radius 8, 600 14px) */
.page-acc .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 0 16px; border-radius: 8px; border: 1px solid transparent;
  font: inherit; font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: 0; text-decoration: none; white-space: nowrap;
  cursor: pointer; box-shadow: none; transform: none; background-image: none;
  transition: background-color .15s ease-out, border-color .15s ease-out, color .15s ease-out;
}
.page-acc .btn .icon { width: 18px; height: 18px; flex: none; }
.page-acc .btn:focus-visible { outline: none; box-shadow: var(--acc-ring); }
.page-acc .btn:active { transform: none; }
.page-acc .btn-primary { background: var(--accent, #5ce1ad); color: var(--on-accent, #062417); }
.page-acc .btn-primary:hover { background: var(--accent-hover, #74eabd); color: var(--on-accent, #062417); }
.page-acc .btn-secondary, .page-acc .btn-google { background: transparent; color: var(--text); border-color: var(--border-strong, #2e3946); }
.page-acc .btn-secondary:hover, .page-acc .btn-google:hover { background: var(--surface-2, #1b232d); color: var(--text); border-color: color-mix(in srgb, var(--border-strong, #2e3946) 60%, var(--muted, #8e9aa8)); }
.page-acc .btn-ghost { background: transparent; color: var(--accent-text, #5ce1ad); }
.page-acc .btn-ghost:hover { background: var(--accent-soft, rgba(92, 225, 173, .14)); }
.page-acc .btn-danger { background: var(--danger-fill, #d32f2f); color: #fff; }
.page-acc .btn-danger:hover { background: color-mix(in srgb, var(--danger-fill, #d32f2f) 86%, #000); color: #fff; }
/* always-mint button for the always-dark panels (balance card) */
.page-acc .btn-mint { background: var(--acc-mint); color: var(--acc-on-mint); }
.page-acc .btn-mint:hover { background: #74eabd !important; border-color: transparent !important; color: var(--acc-on-mint); }
.page-acc .btn-on-dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.page-acc .btn-on-dark:hover { background: rgba(255, 255, 255, .08) !important; color: #fff; border-color: rgba(255, 255, 255, .75) !important; }
.page-acc .btn-sm { min-height: 32px; padding: 0 12px; font-size: 13px; }
.page-acc .btn-block { display: flex; width: 100%; }
.page-acc .btn[disabled], .page-acc .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.page-acc .btn.is-busy { opacity: .7; cursor: progress; }
@media (max-width: 767px) { .page-acc .btn, .page-acc .btn-sm { min-height: 44px; } }

/* ---------------------------------------------------------------- form fields */
.page-acc .field { display: grid; gap: 6px; margin: 0 0 16px; min-width: 0; }
.page-acc .field.has-slot { margin-bottom: 6px; }
.page-acc .field-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.page-acc .field label, .page-acc .field-label { font-size: 13px; line-height: 18px; font-weight: 500; color: var(--text); }
.page-acc .field-link { font-size: 13px; line-height: 18px; font-weight: 500; color: var(--accent-text, #5ce1ad); text-decoration: none; }
.page-acc .field-link:hover { text-decoration: underline; }
.page-acc .field input:not([type="checkbox"]):not([type="radio"]),
.page-acc .field select, .page-acc .field textarea, .page-acc .acc-search input, .page-acc .acc-sort select {
  width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid var(--border-strong, #2e3946); border-radius: 8px;
  background: var(--acc-input); color: var(--text); font: inherit; font-size: 14px; line-height: 20px; box-shadow: none;
  transition: border-color .15s ease-out, box-shadow .15s ease-out;
}
.page-acc .field textarea { min-height: 120px; padding: 10px 12px; line-height: 22px; resize: vertical; }
.page-acc .field select, .page-acc .acc-sort select {
  appearance: none; padding-right: 36px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238e9aa8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
}
.page-acc .field input::placeholder, .page-acc .field textarea::placeholder { color: var(--muted); opacity: 1; }
.page-acc .field input:hover, .page-acc .field select:hover, .page-acc .field textarea:hover { border-color: color-mix(in srgb, var(--border-strong) 60%, var(--muted)); }
.page-acc .field input:focus, .page-acc .field select:focus, .page-acc .field textarea:focus,
.page-acc .acc-search input:focus, .page-acc .acc-sort select:focus { outline: none; border-color: var(--accent, #5ce1ad); box-shadow: var(--acc-ring); }
.page-acc .has-error input:not([type="checkbox"]), .page-acc .has-error select, .page-acc .has-error textarea { border-color: var(--danger); }
.page-acc .has-error input:focus, .page-acc .has-error select:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 22%, transparent); }
.page-acc .input-wrap { position: relative; }
.page-acc .input-wrap > .icon { position: absolute; left: 12px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.page-acc .input-wrap { display: block; }
.page-acc .input-wrap input:not([type="checkbox"]):not([type="radio"]), .page-acc .input-wrap select { padding-left: 12px !important; }
.page-acc .input-wrap:has(> .icon) input:not([type="checkbox"]):not([type="radio"]), .page-acc .input-wrap:has(> .icon) select { padding-left: 40px !important; }
.page-acc .input-wrap.has-toggle input { padding-right: 68px !important; }
.page-acc .input-wrap .pw-toggle {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; width: auto; height: 36px; min-height: 36px; padding: 0 10px; border: 0; border-radius: 6px;
  background: transparent; color: var(--accent-text, #5ce1ad); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
  transition: background-color .15s ease-out;
}
.page-acc .input-wrap .pw-toggle:hover { background: var(--accent-soft, rgba(92, 225, 173, .14)); color: var(--accent-text, #5ce1ad); }
.page-acc .pw-toggle:focus-visible { outline: none; box-shadow: var(--acc-ring); }
.page-acc .acc-section > .help { margin: -8px 0 16px; }
.page-acc .help.acc-gap-top, .page-acc .acc-gap-top { margin-top: 16px; }
.page-acc .field-msg { min-height: 0; }
.page-acc .has-slot .field-msg { min-height: 18px; }
.page-acc .help, .page-acc .field .help { margin: 0; font-size: 12px; line-height: 18px; color: var(--muted); }
.page-acc .error, .page-acc .field .error { margin: 0; font-size: 12px; line-height: 18px; color: var(--acc-bad); font-weight: 500; }
.page-acc .field-caps { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 12px; line-height: 18px; color: var(--acc-warn); font-weight: 500; }
.page-acc .field-caps[hidden] { display: none; }
.page-acc .field-code input { min-height: 52px !important; text-align: center; font-size: 22px !important; font-weight: 600; letter-spacing: .18em; font-variant-numeric: tabular-nums; }

/* checkbox rows */
.page-acc .check-field { margin: 0 0 12px; }
.page-acc .check-row { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 22px; color: var(--text); cursor: pointer; }
.page-acc .check-row input[type="checkbox"] { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent, #5ce1ad); cursor: pointer; }
.page-acc .check-row input[type="checkbox"]:focus-visible { outline: none; box-shadow: var(--acc-ring); border-radius: 4px; }
.page-acc .check-row a { color: var(--accent-text, #5ce1ad); font-weight: 500; }
.page-acc .check-field .help { margin: 2px 0 0 28px; }
.page-acc .check-field .field-msg .error { margin: 4px 0 0 28px; }
.page-acc .has-error .check-row input[type="checkbox"] { outline: 1px solid var(--danger); outline-offset: 1px; border-radius: 3px; }
@media (max-width: 767px) { .page-acc .check-row { padding: 10px 0; } .page-acc .check-field { margin-bottom: 4px; } }

/* inline alerts */
.page-acc .form-alert, .page-acc .form-errors {
  display: flex; gap: 10px; align-items: flex-start; margin: 0 0 16px; padding: 10px 12px; border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--danger) 35%, var(--border)); background: color-mix(in srgb, var(--danger) 7%, var(--surface));
  color: var(--text); font-size: 13px; line-height: 20px;
}
.page-acc .form-alert > .icon { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--danger); }
.page-acc .form-alert p, .page-acc .form-errors p { margin: 0; }
.page-acc .form-alert.is-warn { border-color: color-mix(in srgb, var(--warning) 40%, var(--border)); background: color-mix(in srgb, var(--warning) 8%, var(--surface)); }
.page-acc .form-alert.is-warn > .icon { color: var(--warning); }
.page-acc .notice {
  display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--border);
  background: var(--surface-2); color: var(--text); font-size: 13px; line-height: 20px; box-shadow: none;
}
.page-acc .notice > .icon { flex: none; width: 18px; height: 18px; margin-top: 1px; }
.page-acc .notice-info { background: color-mix(in srgb, var(--accent, #5ce1ad) 6%, var(--surface)); border-color: color-mix(in srgb, var(--accent, #5ce1ad) 22%, var(--border)); }
.page-acc .notice-info > .icon { color: var(--accent-text, #5ce1ad); }
.page-acc .notice-warn { background: color-mix(in srgb, var(--warning) 8%, var(--surface)); border-color: color-mix(in srgb, var(--warning) 35%, var(--border)); }
.page-acc .notice-warn > .icon { color: var(--warning); }
.page-acc .notice-danger { background: color-mix(in srgb, var(--danger) 7%, var(--surface)); border-color: color-mix(in srgb, var(--danger) 30%, var(--border)); }
.page-acc .notice-danger > .icon { color: var(--danger); }
.page-acc .notice-success { background: color-mix(in srgb, var(--success) 7%, var(--surface)); border-color: color-mix(in srgb, var(--success) 30%, var(--border)); }
.page-acc .notice-success > .icon { color: var(--success); }
.page-acc .notice a { color: var(--accent-text, #5ce1ad); font-weight: 500; }

/* =============================================================================
   AUTH: full-screen scene (client reference 8): no site shell, sport artwork at
   the edges, centred navy glass card. Always dark (in both themes).
   ========================================================================== */
html.auth-html, body.auth-page-body { min-height: 100%; background: #0a1013; color: #eef2f6; }
body.auth-page-body { margin: 0; font-family: Inter, "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; overflow-x: hidden; }
.auth-scene { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(60% 55% at 14% 8%, rgba(38, 150, 128, .30), transparent 70%),
    radial-gradient(45% 45% at 92% 10%, rgba(214, 134, 52, .20), transparent 70%),
    radial-gradient(70% 50% at 50% 105%, rgba(40, 92, 86, .22), transparent 70%),
    linear-gradient(180deg, #0b1416 0%, #0a1013 55%, #0b0f12 100%); }
.auth-art { position: absolute; top: 0; height: 100%; width: auto; max-width: none; object-fit: cover; user-select: none; }
.auth-art-l { left: 0; -webkit-mask-image: linear-gradient(90deg, #000 62%, transparent 100%); mask-image: linear-gradient(90deg, #000 62%, transparent 100%); }
.auth-art-r { right: 0; -webkit-mask-image: linear-gradient(270deg, #000 62%, transparent 100%); mask-image: linear-gradient(270deg, #000 62%, transparent 100%); }
.auth-watermark { position: absolute; left: 50%; top: 2%; transform: translateX(-50%); font-size: clamp(180px, 30vw, 460px); line-height: .9; font-weight: 800; font-style: italic; letter-spacing: -.04em; color: #fff; opacity: .06; white-space: nowrap; }
.auth-court { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 26%; color: rgba(255, 255, 255, .16); }

.auth-brand { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 32px; }
.auth-logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-size: 22px; line-height: 28px; font-weight: 700; letter-spacing: -.01em; }
.auth-logo img { display: block; height: 40px; width: auto; }
.auth-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #fff; font-size: 17px; line-height: 24px; font-weight: 600; text-decoration: none; }
.auth-back svg { width: 20px; height: 20px; }
.auth-back:hover { color: var(--acc-mint); }
.auth-back:focus-visible, .auth-logo:focus-visible { outline: 2px solid var(--acc-mint); outline-offset: 3px; border-radius: 6px; }

.auth-main { position: relative; z-index: 1; display: flex; justify-content: center; align-items: flex-start; padding: 68px 16px 64px; min-height: calc(100vh - 92px); box-sizing: border-box; }
.auth-card {
  width: 100%; max-width: 544px; box-sizing: border-box; padding: 44px 50px 38px; border-radius: 18px;
  background: rgba(15, 23, 32, .92); border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  --text: #eef2f6; --text-2: #c3ccd6; --muted: #8e9aa8; --surface: #0f1720; --surface-2: #1b2430; --surface-3: #222b36;
  --border: #263241; --border-strong: #2e3a48; --acc-input: #1b2430; color: var(--text);
}
.auth-card .messages { margin: 0 0 16px; display: grid; gap: 8px; }
.auth-head { margin: 0 0 26px; text-align: center; }
.auth-head h1 { margin: 0; font-size: 44px; line-height: 52px; font-weight: 700; letter-spacing: -.01em; color: #fff; }
.auth-head p { margin: 8px 0 0; font-size: 19px; line-height: 28px; color: var(--text-2); }
.auth-head strong { color: #fff; font-weight: 600; }
.auth-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 14px; border-radius: 12px; background: var(--accent-soft, rgba(92, 225, 173, .14)); color: var(--acc-mint); }
.auth-icon .icon { width: 22px; height: 22px; }
.auth-icon.is-success { background: rgba(92, 225, 173, .14); color: var(--acc-mint); }
.auth-icon.is-warn { background: rgba(245, 184, 75, .14); color: #f5b84b; }
.auth-icon.is-danger { background: rgba(255, 107, 107, .14); color: #ff6b6b; }
.auth-card .field { gap: 8px; margin-bottom: 20px; }
.auth-card .field.has-slot { margin-bottom: 10px; }
.auth-card .field label, .auth-card .field-label { font-size: 17px; line-height: 24px; font-weight: 600; color: #fff; }
.auth-card .field-link { font-size: 15px; font-weight: 600; color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.auth-card .field-link:hover { color: var(--acc-mint); }
.page-acc .auth-card .field input:not([type="checkbox"]):not([type="radio"]), .page-acc .auth-card .field select {
  min-height: 52px; padding: 0 18px; border-radius: 10px; background-color: #1b2430; border-color: #2e3a48; color: #eef2f6; font-size: 17px;
}
.page-acc .auth-card .field input::placeholder { color: #8e9aa8; }
.page-acc .auth-card .input-wrap input:not([type="checkbox"]):not([type="radio"]) { padding-left: 18px !important; }
.page-acc .auth-card .input-wrap.has-toggle input { padding-right: 56px !important; }
.page-acc .auth-card .input-wrap .pw-toggle { right: 6px; width: 44px; height: 44px; min-height: 44px; padding: 0; justify-content: center; color: #c3ccd6; border-radius: 8px; }
.page-acc .auth-card .input-wrap .pw-toggle:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.pw-toggle .icon { width: 22px; height: 22px; }
.pw-toggle .pw-eye-off { display: none; }
.pw-toggle[aria-pressed="true"] .pw-eye { display: none; }
.pw-toggle[aria-pressed="true"] .pw-eye-off { display: inline; }
.auth-card .check-row { font-size: 17px; line-height: 26px; color: #eef2f6; align-items: center; }
.auth-card .check-row input[type="checkbox"] {
  appearance: none; -webkit-appearance: none; width: 26px; height: 26px; margin: 0; flex: none; border-radius: 6px; border: 1.5px solid #3a4756; background: #1b2430; display: inline-grid; place-items: center; cursor: pointer;
}
.auth-card .check-row input[type="checkbox"]:checked { border-color: var(--acc-mint); background: var(--acc-mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23062417' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 18px no-repeat; }
.auth-card .check-row input[type="checkbox"]:focus-visible { box-shadow: 0 0 0 3px rgba(92, 225, 173, .35); }
.auth-card .check-field .help, .auth-card .check-field .field-msg .error { margin-left: 36px; }
.auth-card .check-field { margin-bottom: 18px; }
.page-acc .auth-card .btn { border-radius: 10px; }
.page-acc .auth-card .btn-primary { min-height: 56px; font-size: 21px; font-weight: 700; background: var(--acc-mint); border-color: var(--acc-mint); color: var(--acc-on-mint); }
.page-acc .auth-card .btn-primary:hover { background: #74eabd; border-color: #74eabd; color: var(--acc-on-mint); }
.page-acc .auth-card .btn-secondary, .page-acc .auth-card .btn-google { min-height: 52px; font-size: 16px; background: transparent; color: #fff; border-color: #3a4756; }
.page-acc .auth-card .btn-secondary:hover, .page-acc .auth-card .btn-google:hover { background: rgba(255, 255, 255, .05); border-color: #566476; color: #fff; }
.page-acc .auth-card .btn-danger { min-height: 52px; font-size: 17px; }
.auth-form { margin: 0; }
.auth-submit { margin-top: 4px; }
.auth-grid-2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 14px; }
@media (min-width: 480px) { .auth-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.auth-or { display: flex; align-items: center; gap: 12px; margin: 20px 0 16px; font-size: 13px; line-height: 18px; color: #8e9aa8; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, .12); }
.page-acc .btn-google { gap: 10px; }
.auth-switch { margin: 28px 0 0; text-align: center; font-size: 18px; line-height: 26px; color: #eef2f6; }
.auth-switch a, .auth-legal a, .auth-note a, .auth-help a { color: var(--acc-mint); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.auth-switch a:hover, .auth-legal a:hover, .auth-help a:hover { color: #74eabd; }
.auth-demo { margin: 30px 0 0; text-align: center; font-size: 16px; line-height: 22px; color: #a3adb9; }
.auth-legal, .auth-note { margin: 4px 0 18px; font-size: 13px; line-height: 20px; color: #8e9aa8; }
.auth-note { margin: 16px 0; }
.auth-actions { display: flex; gap: 10px; }
.auth-actions .btn-primary { flex: 1; }
.page-acc .auth-actions .btn-secondary { min-height: 56px; padding: 0 22px; }
.auth-actions .auth-submit { margin-top: 0; }
.auth-stack { display: grid; gap: 10px; }
.auth-progress { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.auth-progress li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 22px; color: #c3ccd6; }
.auth-progress .icon { flex: none; width: 16px; height: 16px; margin-top: 3px; color: #8e9aa8; }
.auth-progress li.is-done .icon { color: var(--acc-mint); }
.auth-help { margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 15px; line-height: 22px; color: #c3ccd6; }
.auth-help summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 40px; cursor: pointer; list-style: none; color: var(--acc-mint); font-weight: 600; }
.auth-help summary::-webkit-details-marker { display: none; }
.auth-help[open] summary .icon { transform: rotate(180deg); }
.auth-help summary .icon { transition: transform .15s ease-out; }
.auth-help p { margin: 8px 0 12px; }
.auth-card .form-alert, .auth-card .form-errors { border-radius: 10px; }

/* sign-up steps: slim mint indicator */
.auth-steps { list-style: none; margin: -6px 0 24px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
html:not(.js) .auth-steps { display: none; }
.auth-steps li {
  display: flex; align-items: center; gap: 8px; padding-top: 10px; border-top: 3px solid rgba(255, 255, 255, .12);
  font-size: 14px; line-height: 20px; font-weight: 600; color: #8e9aa8; cursor: pointer; transition: border-color .2s ease-out, color .2s ease-out;
}
.auth-step-no { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid #3a4756; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.auth-steps li.is-current { border-top-color: var(--acc-mint); color: #fff; }
.auth-steps li.is-current .auth-step-no { background: var(--acc-mint); border-color: var(--acc-mint); color: var(--acc-on-mint); }
.auth-steps li.is-done { border-top-color: var(--acc-mint); color: #c3ccd6; }
.auth-steps li.is-done .auth-step-no { background: rgba(92, 225, 173, .14); border-color: transparent; color: var(--acc-mint); }
.auth-steps-body { position: relative; }
.auth-card .auth-steps-body { min-height: 0 !important; } /* card is top-anchored: let it fit each step */
.auth-card input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(.8); cursor: pointer; }
.auth-step-legend { display: block; margin: 0 0 12px; padding: 0; font-size: 12px; line-height: 18px; font-weight: 600; color: #8e9aa8; }
html.js .auth-signup.is-stepped .auth-step-legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
html:not(.js) .auth-step + .auth-step { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); }
html.js .auth-signup.is-stepped .auth-step:not(.is-active):not(.is-measure) { display: none; }
.auth-step.is-measure { display: block; position: absolute; inset: 0 0 auto 0; visibility: hidden; pointer-events: none; }

/* password strength */
.pw-strength { display: flex; align-items: center; gap: 12px; margin: 2px 0 8px; }
.pw-meter { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.pw-meter i { height: 4px; border-radius: 2px; background: var(--border); transition: background-color .2s ease-out; }
.pw-meter-label { min-width: 116px; text-align: right; font-size: 12px; line-height: 18px; color: var(--muted); font-weight: 500; }
[data-score="1"] .pw-meter i:nth-child(-n+1) { background: var(--danger, #ff6b6b); }
[data-score="2"] .pw-meter i:nth-child(-n+2) { background: var(--warning, #f5b84b); }
[data-score="3"] .pw-meter i:nth-child(-n+3) { background: color-mix(in srgb, var(--accent, #5ce1ad) 70%, var(--warning, #f5b84b)); }
[data-score="4"] .pw-meter i { background: var(--accent, #5ce1ad); }
[data-score="1"] .pw-meter-label { color: var(--acc-bad); }
[data-score="4"] .pw-meter-label, [data-score="3"] .pw-meter-label { color: var(--acc-ok); }
.auth-card [data-score="4"] .pw-meter i { background: var(--acc-mint); }
.auth-card [data-score="4"] .pw-meter-label, .auth-card [data-score="3"] .pw-meter-label { color: var(--acc-mint); }
.pw-rules { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 4px; }
.pw-rules li { display: flex; align-items: center; gap: 8px; font-size: 13px; line-height: 18px; color: var(--muted); }
.pw-rules .icon { width: 14px; height: 14px; flex: none; color: var(--border-strong); transition: color .15s ease-out; }
.pw-rules li.is-done { color: var(--text-2); }
.pw-rules li.is-done .icon { color: var(--accent-text, #5ce1ad); }
.auth-card .pw-rules li.is-done .icon { color: var(--acc-mint); }
html:not(.js) .pw-strength { display: none; }

@media (max-width: 767px) {
  .auth-brand { padding: 14px 16px; }
  .auth-logo img { height: 32px; }
  .auth-back { font-size: 15px; }
  .auth-main { padding: 28px 16px 40px; min-height: 0; }
  .auth-card { padding: 28px 20px 26px; border-radius: 16px; }
  .auth-head h1 { font-size: 32px; line-height: 40px; }
  .auth-head p { font-size: 16px; line-height: 24px; }
  .auth-card .field label { font-size: 15px; }
  .auth-card .field-link { font-size: 14px; }
  .auth-card .check-row { font-size: 15px; }
  .page-acc .auth-card .btn-primary { font-size: 18px; min-height: 52px; }
  .auth-switch { font-size: 16px; }
  .auth-demo { font-size: 14px; margin-top: 22px; }
  /* phone: one cropped, softened art panel at the top-left */
  .auth-art-r { display: none; }
  .auth-art-l { height: 70%; opacity: .55; filter: blur(1.5px); -webkit-mask-image: linear-gradient(160deg, #000 30%, transparent 85%); mask-image: linear-gradient(160deg, #000 30%, transparent 85%); }
  .auth-watermark { top: 8%; font-size: 34vw; }
}
@media (min-width: 768px) and (max-width: 1199px) { .auth-art { opacity: .55; } }

/* =============================================================================
   ACCOUNT AREA: page head, tabs, cards
   ========================================================================== */
.acc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 0 0 20px; }
.acc-title { margin: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 22px; line-height: 30px; font-weight: 700; letter-spacing: 0; color: var(--text); }
.acc-lede { margin: 4px 0 0; max-width: 68ch; font-size: 14px; line-height: 22px; color: var(--text-2); }
.acc-lede b { color: var(--text); font-weight: 600; }
@media (min-width: 768px) { .acc-title { font-size: 28px; line-height: 36px; } }
.acc-back { display: inline-flex; align-items: center; gap: 4px; margin: 0 0 8px; min-height: 28px; font-size: 13px; line-height: 18px; font-weight: 500; color: var(--text-2); text-decoration: none; }
.acc-back:hover { color: var(--accent-text, #5ce1ad); }
.acc-back .icon { width: 16px; height: 16px; }
.acc-tabs { display: flex; gap: 4px; margin: 0 0 20px; border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
.acc-tabs::-webkit-scrollbar { display: none; }
.acc-tabs a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; margin-bottom: -1px; white-space: nowrap;
  border-bottom: 2px solid transparent; color: var(--text-2); font-size: 14px; font-weight: 500; text-decoration: none;
  transition: color .15s ease-out, border-color .15s ease-out;
}
.acc-tabs a .icon { width: 18px; height: 18px; }
.acc-tabs a:hover { color: var(--text); }
.acc-tabs a.is-active { color: var(--text); border-bottom-color: var(--accent, #5ce1ad); font-weight: 600; }
.acc-tabs a.is-active .icon { color: var(--accent-text, #5ce1ad); }

.acc-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px; min-width: 0; box-shadow: none; }
@media (max-width: 767px) { .acc-card { padding: 16px; } }
.acc-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin: 0 0 16px; }
.acc-card-head > .acc-tile { flex: none; }
.acc-card-head:has(> .acc-tile) { justify-content: flex-start; align-items: center; }
.acc-h2 { margin: 0; font-size: 18px; line-height: 26px; font-weight: 600; letter-spacing: 0; color: var(--text); }
.acc-h3 { margin: 0; font-size: 15px; line-height: 22px; font-weight: 600; color: var(--text); }
.acc-sub { margin: 2px 0 0; font-size: 13px; line-height: 20px; color: var(--muted); }
.acc-card-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); }
.acc-card-actions .spacer { flex: 1; }
.acc-actions-split { justify-content: space-between; }
.acc-actions-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.acc-section + .acc-section { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
.acc-section-head { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 16px; }
.acc-section-head h2 { margin: 0; font-size: 15px; line-height: 22px; font-weight: 600; color: var(--text); }
.acc-section-head p { margin: 2px 0 0; font-size: 13px; line-height: 20px; color: var(--muted); max-width: 68ch; }
.acc-section-head a, .acc-sub a, .acc-list a, .acc-kv a { color: var(--accent-text, #5ce1ad); font-weight: 500; }
.acc-stack { display: grid; gap: 16px; align-content: start; min-width: 0; }
.acc-grid-2 { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.acc-two { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 900px) {
  .acc-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .acc-two { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
}
.acc-narrow { max-width: 560px; }
.acc-narrow-center { max-width: 680px; margin: 0 auto; }
.acc-gap-top { margin-top: 16px; }
.acc-gap-bottom { margin-bottom: 16px; }
.acc-muted { color: var(--muted); }
.acc-link { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; line-height: 18px; font-weight: 600; color: var(--accent-text, #5ce1ad); text-decoration: none; white-space: nowrap; }
.acc-link:hover { text-decoration: underline; }
.acc-link .icon { width: 16px; height: 16px; }
.acc-chev { width: 16px; height: 16px; flex: none; color: var(--muted); }

/* tiles + pills */
.acc-tile {
  display: inline-grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 8px;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text-2); font-size: 12px; font-weight: 600;
}
.acc-tile .icon { width: 18px; height: 18px; }
.acc-tile-sm { width: 28px; height: 28px; border-radius: 6px; }
.acc-tile-sm .icon { width: 16px; height: 16px; }
.acc-tile.is-mint, .acc-tile.is-solid, .acc-tile.is-accent, .acc-tile.is-success { background: var(--accent-soft, rgba(92, 225, 173, .14)); border-color: transparent; color: var(--accent-text, #5ce1ad); }
.acc-tile.is-danger { background: color-mix(in srgb, var(--danger) 10%, var(--surface)); border-color: transparent; color: var(--danger); }
.acc-tile.is-muted { color: var(--muted); }
.acc-circle { border-radius: 50%; }
.acc-pill, .page-acc .badge.acc-pill {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; border: 0;
  background: var(--surface-2); color: var(--text-2); font-size: 11px; line-height: 16px; font-weight: 600; letter-spacing: 0; text-transform: none; white-space: nowrap; vertical-align: middle;
}
/* status chips: positive = mint outline + mint text; neutral/pending = grey filled; error = red tint */
.acc-pill.is-success { background: var(--accent-soft, rgba(92, 225, 173, .14)); color: var(--accent-text, #5ce1ad); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent, #5ce1ad) 70%, transparent); }
.acc-pill.is-warn { background: color-mix(in srgb, var(--warning, #f5b84b) 14%, var(--surface)); color: var(--acc-warn); }
.acc-pill.is-danger { background: color-mix(in srgb, var(--danger, #ff6b6b) 13%, var(--surface)); color: var(--acc-bad); }
.acc-pill.is-mint { background: var(--accent-soft, rgba(92, 225, 173, .14)); color: var(--accent-text, #5ce1ad); }
.acc-pill.is-muted { background: var(--surface-3, #222b36); color: var(--text-2, #c3ccd6); box-shadow: inset 0 0 0 1px var(--border-strong, #2e3946); }
.acc-pill.is-plain { background: transparent; box-shadow: inset 0 0 0 1px currentColor; }
.acc-demo, .acc-mode { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--accent-soft, rgba(92, 225, 173, .14)); border: 1px solid color-mix(in srgb, var(--accent, #5ce1ad) 22%, transparent); color: var(--accent-text, #5ce1ad); font-size: 13px; line-height: 20px; font-weight: 500; }
.acc-demo .icon, .acc-mode .icon { width: 16px; height: 16px; flex: none; }
.page-acc .badge.badge-demo { border: 0; background: var(--surface-3, #222b36); color: var(--muted, #8e9aa8); box-shadow: inset 0 0 0 1px var(--border-strong, #2e3946); }
.page-acc .sec-ico { background: var(--accent-soft, rgba(92, 225, 173, .14)); color: var(--accent-text, #5ce1ad); }

/* key/value + summary lists */
.acc-kv, .acc-sum, .acc-bal-list { margin: 0; display: grid; }
.acc-kv > div, .acc-sum > div, .acc-bal-list > div {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--border);
}
.acc-kv > div:last-child, .acc-bal-list > div:last-child { border-bottom: 0; }
.acc-kv dt, .acc-sum dt, .acc-bal-list dt { font-size: 13px; line-height: 20px; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.acc-kv dd, .acc-sum dd, .acc-bal-list dd { margin: 0; font-size: 14px; line-height: 20px; color: var(--text); text-align: right; display: inline-flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; min-width: 0; }
.acc-sum { padding: 4px 16px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-2); }
.acc-sum > div:nth-last-child(2) { border-bottom: 0; }
.acc-sum > div:only-child, .acc-sum > div:last-child:not(.acc-sum-total) { border-bottom: 0; }
.acc-sum-total { border-top: 1px solid var(--border-strong) !important; border-bottom: 0 !important; padding: 12px 0 10px !important; }
.acc-sum-total dt { color: var(--text); font-weight: 600; font-size: 14px; }
.acc-sum-total dd { font-size: 20px; line-height: 28px; font-weight: 700; color: var(--accent-text, #5ce1ad); }
.acc-sum-addr dd { font-family: var(--acc-mono); font-size: 12px; word-break: break-all; text-align: right; }
.acc-info { display: inline-grid; place-items: center; color: var(--muted); cursor: help; }
.acc-info .icon { width: 14px; height: 14px; }

.acc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.acc-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 22px; color: var(--text-2); }
.acc-list li > .icon { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--success); }
.acc-list strong { color: var(--text); font-weight: 600; }
.acc-checks-list { display: grid; gap: 2px; }
.acc-empty { display: grid; justify-items: center; gap: 10px; padding: 32px 16px; text-align: center; }
.acc-empty p { margin: 0; max-width: 40ch; font-size: 14px; line-height: 22px; color: var(--text-2); }

/* segmented control (radios) */
.acc-seg { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--border); max-width: 100%; }
.acc-seg label { position: relative; margin: 0; }
.acc-seg input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.acc-seg span { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border-radius: 6px; font-size: 13px; line-height: 18px; font-weight: 500; color: var(--text-2); cursor: pointer; white-space: nowrap; transition: background-color .15s ease-out, color .15s ease-out; }
.acc-seg span:hover { color: var(--text); }
.page-acc .acc-seg input:checked + span { background: var(--accent, #5ce1ad); color: var(--on-accent, #062417); font-weight: 600; }
.acc-seg input:focus-visible + span { box-shadow: var(--acc-ring); }
@media (max-width: 767px) { .acc-seg span { min-height: 40px; } }

/* stepper (top-up / withdrawal) */
.acc-steps { list-style: none; margin: 0 0 20px; padding: 0; display: flex; align-items: center; gap: 8px; counter-reset: accstep; }
.acc-steps li { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; font-size: 13px; line-height: 18px; font-weight: 500; color: var(--muted); counter-increment: accstep; }
.acc-steps li:last-child { flex: none; }
.acc-steps li::before { content: counter(accstep); display: inline-grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 50%; border: 1px solid var(--border-strong); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.acc-steps li:not(:last-child)::after { content: ""; flex: 1; height: 1px; min-width: 12px; background: var(--border); }
.acc-steps li.is-current { color: var(--text); font-weight: 600; }
.acc-steps li.is-current::before { background: var(--accent, #5ce1ad); border-color: var(--accent, #5ce1ad); color: var(--on-accent, #062417); }
.acc-steps li.is-done { color: var(--text-2); }
.acc-steps li.is-done::before { content: "✓"; background: var(--accent-soft, rgba(92, 225, 173, .14)); border-color: transparent; color: var(--accent-text, #5ce1ad); }
.acc-steps li.is-done::after { background: var(--accent, #5ce1ad); }

/* =============================================================================
   SETTINGS + SECURITY
   ========================================================================== */
.acc-settings { display: grid; gap: 16px; align-items: start; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1100px) { .acc-settings { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }
.acc-2fa { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; padding: 14px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-2); }
.acc-2fa-text { flex: 1; min-width: 200px; display: grid; gap: 2px; }
.acc-2fa-text strong { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; line-height: 22px; font-weight: 600; color: var(--text); }
.acc-2fa-text > span { font-size: 13px; line-height: 20px; color: var(--text-2); }
.acc-devices { list-style: none; margin: 0; padding: 0; }
.acc-device { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.acc-device:first-child { padding-top: 0; }
.acc-device:last-child { border-bottom: 0; padding-bottom: 0; }
.acc-device-main { flex: 1; min-width: 0; display: grid; gap: 2px; }
.acc-device-main strong { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; line-height: 22px; font-weight: 500; color: var(--text); }
.acc-device-main > span { font-size: 12px; line-height: 18px; color: var(--muted); }
.acc-device form { flex: none; }

.acc-2fa-setup { padding: 24px; max-width: 880px; }
.acc-2fa-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.acc-2fa-steps > li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.acc-2fa-steps > li:first-child { padding-top: 0; }
.acc-2fa-steps > li:last-child { border-bottom: 0; padding-bottom: 0; }
.acc-step-no { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft, rgba(92, 225, 173, .14)); color: var(--accent-text, #5ce1ad); font-size: 13px; font-weight: 600; }
.acc-2fa-body .acc-sub { margin-bottom: 12px; max-width: 64ch; }
.acc-qr { width: 196px; height: 196px; padding: 0; border: 1px solid var(--border); border-radius: 8px; background: #fff; overflow: hidden; }
.acc-qr svg { display: block; width: 100%; height: 100%; }
.acc-secret { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.acc-secret code { display: inline-block; max-width: 100%; padding: 8px 12px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text); font-family: var(--acc-mono); font-size: 15px; line-height: 22px; font-weight: 600; letter-spacing: .06em; word-break: break-all; }
.acc-secret .acc-secret-uri { font-size: 12px; line-height: 18px; font-weight: 400; letter-spacing: 0; }
.acc-uri { margin-top: 12px; }
.acc-uri summary { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; cursor: pointer; list-style: none; color: var(--accent-text, #5ce1ad); font-size: 13px; font-weight: 500; }
.acc-uri summary::-webkit-details-marker { display: none; }
.acc-uri[open] summary .icon { transform: rotate(180deg); }
.acc-uri .help { margin-top: 8px; max-width: 64ch; }
.acc-2fa-form { max-width: 360px; margin-top: 12px; }
.acc-2fa-note { margin-top: 20px; }

/* responsible gambling */
.acc-rg-stats { display: grid; gap: 12px; margin-top: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.acc-rg-stat { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1px solid var(--border); border-radius: 8px; }
.acc-rg-stat small { display: block; font-size: 12px; line-height: 18px; color: var(--muted); }
.acc-rg-stat b { display: block; font-size: 14px; line-height: 22px; font-weight: 600; color: var(--text); }
.acc-rg-stat > div > span { display: block; font-size: 12px; line-height: 18px; color: var(--text-2); }
.page-rg .acc-stack > .acc-card > .notice { margin-top: 4px; }

/* =============================================================================
   NOTIFICATIONS
   ========================================================================== */
.acc-notif { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); align-items: start; }
.acc-notif-col { min-width: 0; }
.acc-notif-side { display: grid; gap: 22px; }
@media (min-width: 1100px) {
  .acc-notif { grid-template-columns: minmax(0, 1fr) 384px; gap: 34px; }
  .acc-notif-side { position: sticky; top: calc(var(--header-h, 60px) + 20px); }
}
.acc-notif-head { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; margin: 4px 0 14px; }
.acc-notif-head .acc-title { align-items: baseline; gap: 16px; font-size: 40px; line-height: 48px; }
.acc-unread { font-size: 20px; line-height: 28px; font-weight: 500; color: var(--text-2); }
.acc-textbtn { min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--accent-text, #5ce1ad); font: inherit; font-size: 17px; font-weight: 700; cursor: pointer; border-radius: 6px; }
.acc-textbtn:hover { text-decoration: underline; text-underline-offset: 4px; }
.acc-textbtn:focus-visible { outline: none; box-shadow: var(--acc-ring); }
@media (max-width: 767px) { .acc-notif-head .acc-title { font-size: 28px; line-height: 36px; gap: 10px; } .acc-unread { font-size: 15px; } .acc-textbtn { font-size: 15px; } }
/* underline tabs */
.acc-utabs { display: flex; gap: 8px; margin: 0 0 18px; border-bottom: 1px solid var(--border-strong, #2e3946); overflow-x: auto; scrollbar-width: none; }
.acc-utabs::-webkit-scrollbar { display: none; }
.acc-utabs a { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 18px; white-space: nowrap; color: var(--text); font-size: 18px; font-weight: 500; text-decoration: none; }
.acc-utabs a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: transparent; }
.acc-utabs a:hover { color: var(--accent-text, #5ce1ad); }
.acc-utabs a.is-active { color: var(--accent-text, #5ce1ad); font-weight: 600; }
.acc-utabs a.is-active::after { background: var(--accent, #5ce1ad); }
.acc-utab-n { color: var(--text-2, #c3ccd6); font-weight: 500; }
.acc-utabs a.is-active .acc-utab-n { color: var(--accent-text, #5ce1ad); }
.acc-utabs a:focus-visible { outline: none; box-shadow: inset var(--acc-ring); }
@media (max-width: 767px) { .acc-utabs a { font-size: 15px; padding: 0 12px; min-height: 46px; gap: 6px; } }

.acc-group + .acc-group { margin-top: 18px; }
.acc-group h2 { margin: 0 0 12px; font-size: 18px; line-height: 24px; font-weight: 500; color: var(--text-2, #c3ccd6); }
.acc-nlist { list-style: none; margin: 0; padding: 0; border: 1px solid var(--border-strong, #2e3946); border-radius: 12px; overflow: hidden; background: var(--surface); }
.acc-nlist > li + li .acc-nrow { border-top: 1px solid var(--border-strong, #2e3946); }
.acc-nrow { position: relative; display: flex; align-items: center; gap: 22px; min-height: 78px; padding: 12px 18px 12px 24px; color: inherit; text-decoration: none; transition: background-color .15s ease-out; }
.acc-nrow:hover { background: var(--surface-2); }
.acc-nrow:focus-visible { outline: none; box-shadow: inset var(--acc-ring); }
.acc-nrow.is-unread::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--accent, #5ce1ad); }
.acc-nrow .acc-tile { width: 52px; height: 52px; border-radius: 10px; background: var(--surface-3, #222b36); border: 1px solid var(--border-strong, #2e3946); color: var(--text); }
.acc-nrow .acc-tile .icon { width: 24px; height: 24px; }
.acc-nrow .acc-tile.is-danger { background: color-mix(in srgb, var(--danger, #ff6b6b) 16%, var(--surface)); border-color: color-mix(in srgb, var(--danger, #ff6b6b) 30%, transparent); color: var(--danger, #ff6b6b); }
.acc-nrow-text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.acc-nrow-text strong { font-size: 20px; line-height: 28px; font-weight: 600; color: var(--text); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.acc-nrow-text > span { font-size: 16px; line-height: 22px; color: var(--text-2); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.acc-nrow-meta { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 16px; line-height: 22px; color: var(--text-2); white-space: nowrap; }
.acc-nrow-meta b { font-size: 20px; line-height: 28px; font-weight: 700; color: var(--text); }
.acc-nrow-dot { flex: none; width: 14px; display: grid; place-items: center; }
.acc-nrow-dot i { width: 13px; height: 13px; border-radius: 50%; background: var(--accent, #5ce1ad); }
@media (max-width: 767px) {
  .acc-nrow { gap: 12px; padding: 12px 12px 12px 16px; align-items: flex-start; }
  .acc-nrow .acc-tile { width: 40px; height: 40px; } .acc-nrow .acc-tile .icon { width: 20px; height: 20px; }
  .acc-nrow-text strong { font-size: 16px; line-height: 22px; white-space: normal; }
  .acc-nrow-text > span { font-size: 14px; line-height: 20px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .acc-nrow-meta { font-size: 12px; line-height: 18px; } .acc-nrow-meta b { font-size: 15px; line-height: 20px; }
  .acc-nrow-dot { width: 10px; align-self: center; } .acc-nrow-dot i { width: 10px; height: 10px; }
}

/* side: wallet mini + milestone */
.acc-wallet-mini { padding: 24px; }
.acc-wallet-mini-top { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.acc-wallet-mini-top .acc-tile { width: 64px; height: 64px; border-radius: 12px; background: var(--surface-3, #222b36); border-color: var(--border-strong, #2e3946); color: var(--text); }
.acc-wallet-mini-top .acc-tile .icon { width: 28px; height: 28px; }
.acc-wallet-mini-top > div { flex: 1; min-width: 0; }
.acc-wallet-mini-top small { display: block; font-size: 16px; line-height: 22px; color: var(--text-2); }
.acc-wallet-mini-top b { font-size: 36px; line-height: 44px; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.acc-wallet-mini-top b span { font-size: 20px; font-weight: 500; color: var(--text-2); }
.acc-wallet-mini .btn-primary { min-height: 46px; font-size: 19px; font-weight: 700; border-radius: 8px; }
.acc-split { display: flex; align-items: stretch; gap: 16px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border-strong, #2e3946); }
.acc-split > div, .acc-split > a { flex: 1; display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; min-height: 44px; border-radius: 8px; }
.acc-split > a:hover b { color: var(--accent-text, #5ce1ad); }
.acc-split .icon { width: 22px; height: 22px; color: var(--text); flex: none; }
.acc-split b { display: block; font-size: 20px; line-height: 28px; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.acc-split small { display: block; font-size: 15px; line-height: 20px; color: var(--text-2); }
.acc-split hr { width: 1px; margin: 0; border: 0; background: var(--border-strong, #2e3946); }
.acc-milestone-card { padding: 0; overflow: hidden; }
.acc-medal { height: 250px; background: #0f161d; }
.acc-medal svg { display: block; width: 100%; height: 100%; }
.acc-milestone-body { padding: 20px 24px 22px; }
.acc-milestone-body .acc-h2 { font-size: 28px; line-height: 36px; font-weight: 700; }
.acc-milestone-body p { margin: 8px 0 0; font-size: 18px; line-height: 28px; color: var(--text-2); }
.acc-milestone-body p a { color: var(--accent-text, #5ce1ad); font-weight: 600; }
.acc-ms-amt { color: var(--accent-text, #5ce1ad); }
.acc-live-dot { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--live, #ff4d4f); vertical-align: middle; }
.acc-milestone-body .acc-ms-note { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border-strong, #2e3946); font-size: 16px; line-height: 22px; }
.acc-ms-note .icon { width: 20px; height: 20px; flex: none; }
@media (max-width: 767px) {
  .acc-medal { height: 180px; }
  .acc-wallet-mini { padding: 18px; } .acc-wallet-mini-top .acc-tile { width: 52px; height: 52px; } .acc-wallet-mini-top b { font-size: 28px; line-height: 36px; }
  .acc-milestone-body .acc-h2 { font-size: 22px; line-height: 30px; } .acc-milestone-body p { font-size: 15px; line-height: 24px; }
}

/* =============================================================================
   WALLET
   ========================================================================== */
.acc-wallet-head { align-items: center; }
.acc-wallet-head .acc-title { font-size: 36px; line-height: 44px; }
@media (max-width: 767px) { .acc-wallet-head .acc-title { font-size: 28px; line-height: 36px; } .acc-mode { font-size: 12px; padding: 5px 12px; } }
.acc-wallet { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); align-items: stretch; }
@media (min-width: 1100px) { .acc-wallet { grid-template-columns: minmax(0, 5fr) minmax(0, 6.1fr); } .acc-wallet-lower { grid-column: 1 / -1; } }
/* balance: always-dark deep-green → navy hero card with faint pitch line art */
html body.page-acc .acc-balance {
  position: relative; display: grid; gap: 14px; align-content: start; padding: 24px 28px; border-radius: 12px; overflow: hidden; isolation: isolate; color: #fff;
  background: linear-gradient(115deg, #10433a 0%, #0f3631 38%, #10262b 70%, #111b25 100%); border: 1px solid rgba(92, 225, 173, .3);
}
.acc-balance-pitch { position: absolute; top: 0; right: 0; bottom: 0; width: 46%; height: 100%; z-index: -1; color: rgba(160, 235, 205, .1); pointer-events: none; }
.acc-balance-top { display: flex; align-items: center; gap: 12px; }
.acc-balance-top strong { font-size: 18px; line-height: 26px; font-weight: 600; color: #fff; }
.acc-balance .acc-tile { width: 40px; height: 40px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); color: #fff; }
.acc-balance .acc-tile .icon { width: 20px; height: 20px; }
.acc-balance-amount { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.acc-balance-amount b { font-size: 60px; line-height: 64px; font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.acc-balance-amount span { font-size: 20px; line-height: 28px; color: rgba(255, 255, 255, .82); }
.acc-balance-stats { display: flex; flex-wrap: wrap; gap: 0; margin: 0; }
.acc-balance-stats > div { padding: 0 26px 0 6px; }
.acc-balance-stats > div + div { padding-left: 22px; border-left: 1px solid rgba(255, 255, 255, .18); }
.acc-balance-stats dt { font-size: 15px; line-height: 22px; color: rgba(255, 255, 255, .82); }
.acc-balance-stats dd { margin: 2px 0 0; font-size: 22px; line-height: 30px; font-weight: 700; font-variant-numeric: tabular-nums; }
.acc-balance-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.acc-balance-actions .btn { min-height: 46px; padding: 0 28px; font-size: 18px; border-radius: 8px; }
.acc-balance-actions .btn .icon { width: 20px; height: 20px; }
.acc-balance-actions .btn-on-dark { padding: 0 34px; }
.acc-balance .btn:focus-visible { box-shadow: 0 0 0 3px rgba(92, 225, 173, .45); }
@media (max-width: 767px) {
  .acc-balance { padding: 20px; }
  .acc-balance-amount b { font-size: 44px; line-height: 50px; }
  .acc-balance-amount span { font-size: 15px; }
  .acc-balance-stats > div { padding-right: 14px; } .acc-balance-stats > div + div { padding-left: 14px; }
  .acc-balance-stats dt { font-size: 13px; } .acc-balance-stats dd { font-size: 18px; }
  .acc-balance-actions .btn { flex: 1; font-size: 16px; padding: 0 12px; }
}

.acc-wallet-pkgs { padding: 22px 20px 18px; }
.acc-wallet-pkgs .acc-h2, .acc-wallet-lower .acc-h2 { font-size: 24px; line-height: 32px; font-weight: 700; }
@media (max-width: 767px) { .acc-wallet-pkgs .acc-h2, .acc-wallet-lower .acc-h2 { font-size: 20px; line-height: 28px; } }
.acc-pkgs { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 600px) { .acc-pkgs.is-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.acc-pkg {
  position: relative; display: grid; gap: 2px; justify-items: start; padding: 18px 18px 16px; border-radius: 10px; border: 1px solid var(--border-strong, #2e3946);
  background: var(--surface-2, #1b232d); color: var(--text); text-decoration: none; cursor: pointer;
  transition: border-color .15s ease-out, background-color .15s ease-out;
}
.acc-pkg:hover { border-color: color-mix(in srgb, var(--accent, #5ce1ad) 45%, var(--border-strong, #2e3946)); }
.acc-pkg input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.acc-pkg.is-selected, .acc-pkg:has(input:checked) { border-color: var(--accent, #5ce1ad); box-shadow: inset 0 0 0 1px var(--accent, #5ce1ad); }
.acc-pkg:has(input:checked)::after, .acc-pkg.is-selected::after {
  content: ""; position: absolute; top: 12px; right: 12px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent, #5ce1ad) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23062417' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.acc-pkg:has(input:focus-visible), .acc-pkg:focus-visible { outline: none; box-shadow: inset 0 0 0 1px var(--accent, #5ce1ad), var(--acc-ring); }
.acc-pkg.is-disabled { opacity: .5; cursor: not-allowed; }
.acc-pkg-coin { display: inline-grid; place-items: center; width: 28px; height: 28px; color: var(--text-2, #c3ccd6); margin-bottom: 12px; }
.acc-pkg-coin .icon { width: 26px; height: 26px; }
.acc-pkg-price { font-size: 26px; line-height: 34px; font-weight: 700; font-variant-numeric: tabular-nums; }
.acc-pkg-credits { font-size: 17px; line-height: 24px; color: var(--text-2, #c3ccd6); }
.acc-pkg-note { font-size: 11px; line-height: 16px; color: var(--acc-warn); }
.acc-drawer .acc-pkg, .acc-topup-page .acc-pkg { padding: 14px; }
.acc-drawer .acc-pkg-coin, .acc-topup-page .acc-pkg-coin { margin-bottom: 4px; }
.acc-drawer .acc-pkg-price, .acc-topup-page .acc-pkg-price { font-size: 20px; line-height: 28px; }
.acc-drawer .acc-pkg-credits, .acc-topup-page .acc-pkg-credits { font-size: 13px; line-height: 18px; }
@media (max-width: 767px) { .acc-pkg { padding: 14px; } .acc-pkg-coin { margin-bottom: 6px; } .acc-pkg-price { font-size: 22px; line-height: 30px; } .acc-pkg-credits { font-size: 14px; } }

.acc-wallet-lower { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 900px) { .acc-wallet-lower { grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr); } }
.acc-wallet-lower > .acc-card { padding: 20px 20px 14px; }
.acc-wallet-lower .acc-card-head { margin-bottom: 10px; }

/* transactions: fixtures-table style */
.acc-txt-wrap { overflow-x: auto; }
.acc-txt { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.acc-txt th { padding: 8px 10px 10px; border-bottom: 1px solid var(--border-strong, #2e3946); font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text-2, #c3ccd6); text-align: left; white-space: nowrap; }
.acc-txt td { padding: 9px 10px; border-bottom: 1px solid var(--border, #232c37); font-size: 15px; line-height: 22px; color: var(--text); vertical-align: middle; }
.acc-txt tbody tr:last-child td { border-bottom: 0; }
.acc-txt th.acc-txt-tx { padding-left: 58px; }
.acc-txt td.acc-txt-tx { padding-left: 0; }
.acc-txt .acc-txt-num { text-align: right; white-space: nowrap; }
.acc-txt .acc-txt-time { white-space: nowrap; color: var(--text-2, #c3ccd6); }
.acc-txt-main { display: flex; align-items: center; gap: 14px; min-width: 0; }
.acc-txt-main .acc-tile { width: 40px; height: 40px; border-radius: 8px; background: var(--surface-2, #1b232d); border-color: var(--border, #232c37); color: var(--text-2, #c3ccd6); }
.acc-txt-main .acc-tile .icon { width: 18px; height: 18px; }
.acc-txt-main .acc-tile.is-mint { background: var(--accent-soft, rgba(92, 225, 173, .14)); border-color: transparent; color: var(--accent-text, #5ce1ad); }
.acc-txt-label { min-width: 0; display: flex; flex-wrap: wrap; align-items: center; column-gap: 8px; }
.acc-txt-label .badge { flex: none; padding: 1px 8px; border: 0; border-radius: 999px; background: var(--surface-3, #222b36); color: var(--muted, #8e9aa8); font-size: 11px; line-height: 16px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.acc-txt-title { min-width: 0; font-weight: 600; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; max-width: 40ch; }
.acc-txt-sub { display: none; flex-basis: 100%; font-size: 12px; line-height: 18px; color: var(--muted); }
.acc-txt-note { flex-basis: 100%; font-size: 12px; line-height: 18px; color: var(--muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.acc-amt { font-weight: 600; }
.acc-amt.is-pos { color: var(--accent-text, #5ce1ad); }
.acc-amt.is-neg { color: var(--text); }
.acc-txt-num small { display: block; font-size: 12px; line-height: 16px; color: var(--muted); }
.acc-txt-bal { font-weight: 500; }
@media (max-width: 767px) {
  .acc-txt thead .acc-txt-time, .acc-txt td.acc-txt-time { display: none; }
  .acc-txt th { font-size: 12px; padding: 6px 6px 8px; }
  .acc-txt th.acc-txt-tx { padding-left: 50px; }
  .acc-txt td { padding: 10px 6px; font-size: 14px; }
  .acc-txt-main { gap: 10px; }
  .acc-txt-main .acc-tile { width: 36px; height: 36px; }
  .acc-txt-sub { display: block; }
  .acc-txt-title { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}

.acc-tx { list-style: none; margin: 0; padding: 0; }
.acc-tx > li { border-bottom: 1px solid var(--border); }
.acc-tx > li:last-child { border-bottom: 0; }
.acc-tx > li:not(:has(> a)), .acc-tx-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; }
.acc-tx-row { margin: 0 -8px; padding: 12px 8px; border-radius: 8px; color: inherit; text-decoration: none; transition: background-color .15s ease-out; }
.acc-tx-row:hover { background: var(--surface-2); }
.acc-tx-row:focus-visible { outline: none; box-shadow: var(--acc-ring); }
.acc-tx-main { flex: 1; min-width: 0; display: grid; gap: 2px; }
.acc-tx-title { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.acc-tx-sub { font-size: 12px; line-height: 18px; color: var(--muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.acc-prior-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 2px; font-size: 12px; }
.acc-tx-amt { flex: none; display: grid; justify-items: end; gap: 2px; text-align: right; }
.acc-tx-amt b { font-size: 14px; line-height: 20px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--text); }
.acc-tx-amt b.is-pos { color: var(--acc-hot); }
.acc-tx-amt small { font-size: 12px; line-height: 16px; color: var(--muted); font-variant-numeric: tabular-nums; }
/* orders & withdrawals list (wallet reference) */
.acc-orders .acc-tx-row { gap: 20px; padding: 12px 8px 12px 18px; }
.acc-orders .acc-tile { width: 48px; height: 48px; border-radius: 8px; }
.acc-orders .acc-tile .icon { width: 20px; height: 20px; }
.acc-orders .acc-tx-title { font-size: 18px; line-height: 24px; font-weight: 600; }
.acc-orders .acc-tx-sub { font-size: 14px; line-height: 20px; color: var(--text-2, #c3ccd6); }
.acc-orders .acc-prior-meta .acc-pill { padding: 3px 12px; font-size: 13px; line-height: 18px; }
.acc-orders .acc-chev { width: 20px; height: 20px; color: var(--text-2, #c3ccd6); }
@media (max-width: 767px) { .acc-orders .acc-tx-row { gap: 12px; padding-left: 8px; } .acc-orders .acc-tile { width: 40px; height: 40px; } .acc-orders .acc-tx-title { font-size: 16px; } }

/* top-up form (drawer + page) */
.acc-topup { display: flex; flex-direction: column; min-height: 0; }
.acc-topup-body { display: grid; gap: 20px; }
.acc-topup-section h3 { margin: 0 0 10px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--text); }
.acc-topup-section .field { margin: 12px 0 0; }
.acc-topup-section .help.acc-muted { margin-top: 8px; }
.acc-topup-foot { display: grid; gap: 8px; margin-top: 20px; }
.acc-topup-foot .help { text-align: center; }
.acc-topup-body > .acc-steps { margin-bottom: 0; }
.acc-notes { display: grid; gap: 8px; }
.acc-notes:empty { display: none; }
.acc-method { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); }
.acc-np { display: inline-grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 8px; background: var(--surface-3, #222b36); border: 1px solid var(--border-strong, #2e3946); color: var(--text); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.acc-method-text { flex: 1; min-width: 0; display: grid; }
.acc-method-text strong { font-size: 14px; line-height: 20px; font-weight: 600; }
.acc-method-text span { font-size: 12px; line-height: 18px; color: var(--muted); }
/* payment method option rows */
.acc-topup [hidden] { display: none !important; }
.acc-methods { display: grid; gap: 8px; }
.acc-method-opt { position: relative; min-height: 56px; cursor: pointer; transition: border-color .15s ease-out, background-color .15s ease-out; }
.acc-method-opt:hover { border-color: var(--border-strong); background: var(--surface-2); }
.acc-method-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.acc-method-opt:has(input:checked) { border-color: var(--accent, #5ce1ad); background: var(--accent-soft, rgba(92, 225, 173, .14)); box-shadow: inset 0 0 0 1px var(--accent, #5ce1ad); }
.acc-method-opt:has(input:focus-visible) { box-shadow: var(--acc-ring); }
.acc-method-opt::after { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--border-strong); background: var(--surface); }
.acc-method-opt:has(input:checked)::after { border: 5px solid var(--accent, #5ce1ad); }
.acc-method-text em { justify-self: start; margin-top: 4px; font-style: normal; }
.acc-np.is-card { background: var(--accent-soft, rgba(92, 225, 173, .14)); color: var(--accent-text, #5ce1ad); }
.acc-np.is-card .icon { width: 20px; height: 20px; }
.acc-method-help { display: flex; align-items: flex-start; gap: 6px; margin: 10px 0 0; }
.acc-method-help .icon { flex: none; width: 14px; height: 14px; margin-top: 2px; }
.acc-kv dd { overflow-wrap: anywhere; }
.acc-terms { border: 1px solid var(--border); border-radius: 8px; background: var(--surface); }
.acc-terms summary { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; cursor: pointer; list-style: none; font-size: 13px; font-weight: 500; color: var(--text); }
.acc-terms summary::-webkit-details-marker { display: none; }
.acc-terms summary .icon { width: 16px; height: 16px; color: var(--muted); }
.acc-terms summary .icon:last-child { margin-left: auto; transition: transform .15s ease-out; }
.acc-terms[open] summary .icon:last-child { transform: rotate(180deg); }
.acc-terms ul { margin: 0; padding: 0 16px 14px 34px; display: grid; gap: 6px; font-size: 12px; line-height: 18px; color: var(--text-2); }
.acc-topup-page { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1100px) { .acc-topup-page { grid-template-columns: minmax(0, 640px) minmax(0, 320px); } }

/* drawer */
.acc-drawer-backdrop { position: fixed; inset: 0; z-index: 900; background: rgba(5, 8, 12, .62); opacity: 0; pointer-events: none; transition: opacity .2s ease-out; }
.acc-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 901; width: min(480px, 100vw); display: flex; flex-direction: column;
  background: var(--surface); border-left: 1px solid var(--border); visibility: hidden; transform: translateX(100%);
  transition: transform .2s ease-out, visibility 0s linear .2s;
}
body.acc-drawer-open .acc-drawer-backdrop { opacity: 1; pointer-events: auto; }
body.acc-drawer-open .acc-drawer { visibility: visible; transform: none; transition: transform .2s ease-out; }
html:not(.fx-on) .acc-drawer, html:not(.fx-on) .acc-drawer-backdrop { transition: none; }
.acc-drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--border); }
.acc-drawer-head h2 { margin: 0; font-size: 18px; line-height: 26px; font-weight: 600; }
.acc-drawer-close { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 8px; background: transparent; color: var(--text-2); cursor: pointer; transition: background-color .15s ease-out; }
.acc-drawer-close:hover { background: var(--surface-2); color: var(--text); }
.acc-drawer-close:focus-visible { outline: none; box-shadow: var(--acc-ring); }
.acc-drawer-close .icon { width: 20px; height: 20px; }
.acc-drawer .acc-topup { flex: 1; }
.acc-drawer .acc-topup-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 20px; }
.acc-drawer .acc-topup-foot { margin: 0; padding: 14px 20px calc(14px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--border); background: var(--surface); }
.acc-drawer .acc-pkgs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 767px) { .acc-drawer { width: 100vw; border-left: 0; } .acc-drawer-close { width: 44px; height: 44px; } }

/* receipts / status */
.acc-result { display: grid; justify-items: center; gap: 8px; padding: 8px 0 16px; text-align: center; border-bottom: 1px solid var(--border); }
.acc-result h2 { margin: 4px 0 0; font-size: 18px; line-height: 26px; font-weight: 600; }
.acc-result .acc-tile { width: 44px; height: 44px; }
.acc-result .acc-tile .icon { width: 22px; height: 22px; }
.acc-result-amt { font-size: 24px; line-height: 32px; font-weight: 700; color: var(--acc-ok); font-variant-numeric: tabular-nums; }
.acc-sim-actions { display: grid; gap: 8px; }
.page-acc .table-wrap { border: 1px solid var(--border); border-radius: 8px; overflow-x: auto; }

/* =============================================================================
   WITHDRAWAL
   ========================================================================== */
.acc-wd { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1100px) { .acc-wd { grid-template-columns: minmax(0, 1fr) 340px; } }
.acc-wd-main { padding: 24px; }
@media (max-width: 767px) { .acc-wd-main { padding: 16px; } }
.acc-wd-side { display: grid; gap: 16px; }
.acc-form-head { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 20px; }
.acc-form-head h1 { margin: 0; font-size: 22px; line-height: 30px; font-weight: 700; letter-spacing: 0; color: var(--text); }
.acc-form-head p { margin: 2px 0 0; font-size: 14px; line-height: 22px; color: var(--text-2); }
@media (min-width: 768px) { .acc-form-head h1 { font-size: 24px; line-height: 32px; } }
.acc-wd-main > .notice, .acc-wd-main > .acc-notes { margin-bottom: 16px; }
.acc-wd-form { display: grid; gap: 4px; }
.acc-wd-form > .btn { margin-top: 12px; }
.acc-wd-form > .acc-sum { margin: 8px 0 4px; }
.acc-wd-form > .acc-terms { margin-top: 12px; }
.acc-label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.acc-label-row small { font-size: 12px; line-height: 18px; color: var(--muted); }
.acc-amount { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 8px; }
.page-acc .acc-amount input { text-align: center; font-size: 18px !important; font-weight: 600; font-variant-numeric: tabular-nums; }
.acc-step-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); cursor: pointer; transition: background-color .15s ease-out; }
.acc-step-btn:hover { background: var(--surface-2); }
.acc-step-btn:focus-visible { outline: none; box-shadow: var(--acc-ring); }
.acc-step-btn .icon { width: 18px; height: 18px; }
.acc-amount-meta { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12px; line-height: 18px; color: var(--muted); }
.acc-amount-meta b { color: var(--text-2); font-weight: 600; font-variant-numeric: tabular-nums; }
.acc-bal-top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.acc-bal-top strong { font-size: 14px; line-height: 22px; font-weight: 600; }
.acc-bal-amount { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.acc-bal-amount b { font-size: 28px; line-height: 36px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--text); }
.acc-bal-amount span { font-size: 13px; color: var(--muted); }
.acc-prior .acc-tx-title { font-size: 14px; }
.acc-timeline { list-style: none; margin: 12px 0 0; padding: 0; }
.acc-timeline li { position: relative; padding: 0 0 16px 22px; border-left: 2px solid var(--border); margin-left: 5px; font-size: 13px; line-height: 20px; color: var(--text-2); }
.acc-timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.acc-timeline li::before { content: ""; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 2px solid var(--border-strong); }
.acc-timeline li:first-child::before { border-color: var(--accent, #5ce1ad); background: var(--accent, #5ce1ad); }
.acc-timeline strong { color: var(--text); font-weight: 600; font-size: 14px; }
.acc-timeline time { font-size: 12px; color: var(--muted); }

/* =============================================================================
   SUPPORT INBOX
   ========================================================================== */
.acc-sup { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); align-items: start; }
.acc-sup > * { min-width: 0; }
.acc-sup.is-case > .acc-sup-list { display: none; }
@media (min-width: 1024px) {
  .acc-sup { grid-template-columns: minmax(0, 40fr) minmax(0, 60fr); }
  .acc-sup.is-case > .acc-sup-list { display: block; }
  .acc-sup.is-staff { grid-template-columns: minmax(0, 1fr) 300px; }
}
/* inbox card */
.acc-sup-list { padding: 22px 20px 16px; }
.acc-sup-listhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.acc-sup-h { margin: 0; font-size: 28px; line-height: 36px; font-weight: 700; letter-spacing: -.01em; color: var(--text); }
.acc-sup-listhead .btn { min-height: 44px; padding: 0 18px; font-size: 16px; font-weight: 700; }
.acc-fpills { display: flex; gap: 8px; margin-bottom: 16px; overflow-x: auto; scrollbar-width: none; padding: 1px; }
.acc-fpills::-webkit-scrollbar { display: none; }
.acc-fpill { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 8px 0 14px; border-radius: 999px; border: 1px solid var(--border-strong, #2e3946); color: var(--text); font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: border-color .15s ease-out, color .15s ease-out; }
.acc-fpill:hover { border-color: color-mix(in srgb, var(--accent, #5ce1ad) 50%, var(--border-strong, #2e3946)); }
.acc-fpill-n { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 999px; background: var(--surface-3, #222b36); color: var(--text-2); font-size: 13px; font-weight: 600; box-sizing: border-box; }
.acc-fpill.is-active { border-color: var(--accent, #5ce1ad); color: var(--accent-text, #5ce1ad); font-weight: 600; box-shadow: inset 0 0 0 1px var(--accent, #5ce1ad); }
.acc-fpill.is-active .acc-fpill-n { background: var(--accent, #5ce1ad); color: var(--on-accent, #062417); }
.acc-fpill:focus-visible { outline: none; box-shadow: var(--acc-ring); }
.acc-sup-tools { display: flex; gap: 10px; margin-bottom: 14px; }
.acc-search { position: relative; flex: 1; min-width: 0; }
.acc-search > .icon { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.page-acc .acc-search input { min-height: 46px !important; padding-left: 42px !important; border-radius: 10px; font-size: 15px; }
.page-acc .acc-sort select { min-height: 46px !important; width: auto !important; padding: 0 36px 0 14px !important; border-radius: 10px; font-size: 15px !important; }
.acc-cases { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.acc-case { position: relative; display: flex; gap: 14px; align-items: center; padding: 14px 14px 14px 16px; border-radius: 10px; border: 1px solid var(--border-strong, #2e3946); background: var(--surface); color: inherit; text-decoration: none; transition: background-color .15s ease-out, border-color .15s ease-out; overflow: hidden; }
.acc-case:hover { background: var(--surface-2); }
.acc-case:focus-visible { outline: none; box-shadow: var(--acc-ring); }
.acc-case.is-selected { background: color-mix(in srgb, var(--accent, #5ce1ad) 9%, var(--surface)); border-color: color-mix(in srgb, var(--accent, #5ce1ad) 45%, var(--border-strong, #2e3946)); }
.acc-case.is-selected::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--accent, #5ce1ad); }
.acc-case > .acc-tile { width: 48px; height: 48px; border-radius: 10px; align-self: flex-start; background: var(--surface-3, #222b36); border-color: var(--border-strong, #2e3946); color: var(--text); }
.acc-case > .acc-tile .icon { width: 22px; height: 22px; }
.acc-case-main { flex: 1; min-width: 0; display: grid; gap: 3px; }
.acc-case-title { font-size: 17px; line-height: 24px; font-weight: 700; color: var(--text); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.acc-case-prev { font-size: 14px; line-height: 20px; color: var(--text-2); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.acc-case-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 4px; font-size: 13px; line-height: 18px; color: var(--muted); }
.acc-case .acc-chev { width: 20px; height: 20px; color: var(--text-2); }
/* status chips */
.acc-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px; font-size: 12px; line-height: 18px; font-weight: 600; }
.acc-chip .icon { width: 14px; height: 14px; }
.acc-chip.is-done { background: transparent; color: var(--accent-text, #5ce1ad); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent, #5ce1ad) 70%, transparent); }
.acc-chip.is-waiting { background: color-mix(in srgb, var(--warning, #f5b84b) 13%, transparent); color: var(--acc-warn); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--warning, #f5b84b) 55%, transparent); }
.acc-chip.is-open { background: transparent; color: var(--text-2); box-shadow: inset 0 0 0 1px var(--border-strong, #2e3946); }
.acc-contact { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 13px; line-height: 20px; }
.acc-contact .acc-h3 { font-size: 14px; margin-bottom: 6px; display: flex; align-items: center; }
.acc-contact dl { margin: 0; display: grid; gap: 2px; }
.acc-contact dt { font-size: 12px; color: var(--muted); }
.acc-contact dd { margin: 0 0 6px; overflow-wrap: anywhere; }
.acc-contact a { color: var(--accent-text, #5ce1ad); }

/* case card */
.acc-conv { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.acc-conv-head { padding: 22px 24px 0; }
.acc-conv-head .acc-back { margin-bottom: 6px; }
@media (min-width: 1024px) { .acc-sup:not(.is-staff) .acc-conv-head .acc-back { display: none; } }
.acc-conv-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.acc-conv-titles { display: flex; align-items: center; gap: 12px 14px; flex-wrap: wrap; min-width: 0; }
.acc-conv-head h1, .acc-conv-head h2 { margin: 0; font-size: 26px; line-height: 34px; font-weight: 700; letter-spacing: -.01em; color: var(--text); overflow-wrap: anywhere; }
.acc-conv-titles .acc-chip { font-size: 13px; padding: 4px 12px; }
.acc-iconbtn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--border-strong, #2e3946); background: transparent; color: var(--text); cursor: pointer; list-style: none; }
.acc-iconbtn::-webkit-details-marker { display: none; }
.acc-iconbtn:hover { background: var(--surface-2); }
.acc-iconbtn:focus-visible { outline: none; box-shadow: var(--acc-ring); }
.acc-iconbtn .icon { width: 20px; height: 20px; }
.acc-menu { position: relative; flex: none; }
.acc-menu-pop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; min-width: 220px; padding: 6px; border-radius: 10px; border: 1px solid var(--border-strong, #2e3946); background: var(--surface-2, #1b232d); box-shadow: 0 12px 28px rgba(0, 0, 0, .35); display: grid; }
.acc-menu-item { display: flex; align-items: center; min-height: 40px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent; color: var(--text); font: inherit; font-size: 14px; text-align: left; text-decoration: none; cursor: pointer; }
.acc-menu-item:hover { background: var(--surface-3, #222b36); color: var(--accent-text, #5ce1ad); }
.acc-conv-meta { display: flex; flex-wrap: wrap; gap: 8px 0; margin: 16px 0 0; padding-bottom: 18px; border-bottom: 1px solid var(--border-strong, #2e3946); }
.acc-conv-meta > div { display: flex; align-items: center; gap: 8px; padding: 0 18px; font-size: 15px; line-height: 22px; }
.acc-conv-meta > div:first-child { padding-left: 0; }
.acc-conv-meta > div + div { border-left: 1px solid var(--border-strong, #2e3946); }
.acc-conv-meta .icon { width: 18px; height: 18px; color: var(--text-2); }
.acc-conv-meta dt { color: var(--text-2); }
.acc-conv-meta dt::after { content: " ·"; }
.acc-conv-meta dd { margin: 0; color: var(--text); font-weight: 500; }
.acc-conv-meta dd a { color: var(--accent-text, #5ce1ad); }
.acc-conv-meta .acc-conv-no dt::after { content: ""; }
.acc-conv-meta .acc-conv-no dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.acc-conv-meta .acc-conv-no dd { color: var(--muted); font-weight: 400; }
.acc-chat { list-style: none; margin: 0; padding: 22px 24px; display: grid; gap: 18px; max-height: 62vh; overflow-y: auto; }
.acc-msg { display: flex; gap: 12px; align-items: flex-end; }
.acc-msg.is-user { flex-direction: row-reverse; }
.acc-msg-body { display: grid; gap: 6px; max-width: min(78%, 60ch); min-width: 0; }
.acc-msg.is-user .acc-msg-body { justify-items: end; }
.acc-avatar { display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--surface-3, #222b36); border: 1px solid var(--border-strong, #2e3946); color: var(--text); font-size: 13px; font-weight: 700; }
.acc-avatar .icon { width: 20px; height: 20px; }
.acc-msg.is-staff .acc-avatar { background: #0f1a1c; border-color: color-mix(in srgb, var(--accent, #5ce1ad) 35%, transparent); color: var(--accent-text, #5ce1ad); }
.acc-bubble { padding: 12px 16px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border-strong, #2e3946); font-size: 15px; line-height: 23px; color: var(--text); overflow-wrap: anywhere; }
.acc-msg.is-user .acc-bubble { border-bottom-right-radius: 4px; }
.acc-msg.is-staff .acc-bubble { border-bottom-left-radius: 4px; background: color-mix(in srgb, var(--accent, #5ce1ad) 12%, var(--surface)); border-color: color-mix(in srgb, var(--accent, #5ce1ad) 30%, var(--border)); }
.acc-bubble-meta { margin: 0; font-size: 13px; line-height: 18px; color: var(--muted); }
.acc-bubble-meta strong { color: var(--text); font-weight: 600; }
.acc-reply { padding: 0 24px 20px; }
.acc-reply-box { display: flex; align-items: flex-end; gap: 10px; padding: 8px; border: 1px solid var(--border-strong, #2e3946); border-radius: 12px; background: var(--surface-2, #1b232d); transition: border-color .15s ease-out, box-shadow .15s ease-out; }
.acc-reply-box:focus-within { border-color: var(--accent, #5ce1ad); box-shadow: var(--acc-ring); }
.page-acc .acc-reply-box textarea { flex: 1; min-width: 0; min-height: 44px; height: 44px; max-height: 200px; padding: 11px 10px; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 15px; line-height: 22px; resize: vertical; box-shadow: none; }
.acc-reply-box textarea:focus { outline: none; }
.acc-reply-box .btn { flex: none; min-height: 44px; padding: 0 18px; font-size: 15px; font-weight: 700; }
.acc-reply .help { margin-top: 8px; }
.acc-sup-placeholder { display: grid; place-items: center; min-height: 280px; }
@media (max-width: 767px) {
  .acc-sup-list { padding: 16px 14px 12px; }
  .acc-sup-h { font-size: 22px; line-height: 30px; }
  .acc-case { padding: 12px; gap: 12px; } .acc-case > .acc-tile { width: 40px; height: 40px; }
  .acc-conv-head { padding: 16px 16px 0; }
  .acc-conv-head h1, .acc-conv-head h2 { font-size: 21px; line-height: 28px; }
  .acc-conv-meta > div { padding: 0 10px; font-size: 13px; }
  .acc-chat { padding: 16px; } .acc-msg-body { max-width: 84%; }
  .acc-reply { padding: 0 16px 16px; }
  .acc-reply-box { flex-wrap: wrap; } .acc-reply-box .btn { width: 100%; }
}

/* staff: case status panel (staff acting on a customer case) */
.acc-sup-status { padding: 16px; }
.acc-sup-status .acc-h3 { margin-bottom: 10px; }
.acc-status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; line-height: 18px; font-weight: 600; background: var(--surface-2); color: var(--text-2); }
.acc-status-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.acc-status-pill.is-open { background: var(--surface-3, #222b36); color: var(--text); box-shadow: inset 0 0 0 1px var(--border-strong, #2e3946); }
.acc-status-pill.is-waiting_user { background: color-mix(in srgb, var(--warning, #f5b84b) 13%, transparent); color: var(--acc-warn); }
.acc-status-pill.is-resolved { background: transparent; color: var(--accent-text, #5ce1ad); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent, #5ce1ad) 60%, transparent); }
.acc-status-rows { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.acc-status-rows li { display: flex; gap: 10px; align-items: flex-start; }
.acc-status-rows small { display: block; font-size: 12px; line-height: 18px; color: var(--muted); }
.acc-status-rows span, .acc-status-rows a { font-size: 14px; line-height: 20px; color: var(--text); }
.acc-status-rows a { color: var(--accent-text, #5ce1ad); font-weight: 500; }
.acc-money { display: block; font-weight: 600; font-variant-numeric: tabular-nums; }
.acc-staff-form { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.acc-staff-form .acc-h3 { margin-bottom: 10px; }

/* new case page (keeps the inbox nav column) */
.acc-sup-nav { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px; }
.acc-sup-title { margin: 0 0 8px; padding: 4px 8px; font-size: 15px; line-height: 22px; font-weight: 600; }
.acc-sup-nav nav { display: grid; gap: 2px; }
.acc-sup-link { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 10px; border-radius: 8px; color: var(--text-2); font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color .15s ease-out, color .15s ease-out; }
.acc-sup-link .icon { width: 18px; height: 18px; flex: none; }
.acc-sup-link b { margin-left: auto; min-width: 22px; padding: 0 7px; border-radius: 999px; background: var(--surface-2); color: var(--text-2); font-size: 12px; line-height: 20px; font-weight: 600; text-align: center; font-variant-numeric: tabular-nums; }
.acc-sup-link:hover { background: var(--surface-2); color: var(--text); }
.acc-sup-link.is-active { background: var(--accent-soft, rgba(92, 225, 173, .14)); color: var(--accent-text, #5ce1ad); }
.acc-sup-link.is-active b { background: var(--accent, #5ce1ad); color: var(--on-accent, #062417); }
.acc-sup-new { width: 100%; margin-top: 12px; }
.acc-sup-new-page { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); align-items: start; }
.acc-sup-new-page > * { min-width: 0; }
@media (max-width: 1023px) {
  .acc-sup-new-page .acc-sup-nav nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
  .acc-sup-new-page .acc-sup-link { flex: none; min-height: 44px; }
  .acc-sup-new-page .acc-sup-link b { margin-left: 4px; }
  .acc-sup-new-page .acc-sup-new { width: auto; }
  .acc-sup-new-page .acc-contact { display: none; }
}
.acc-sup-new-page > form { max-width: 760px; padding: 24px; }
@media (min-width: 1024px) { .acc-sup-new-page { grid-template-columns: 220px minmax(0, 1fr); } }
.acc-sup-new-page .grid-2 { display: grid; gap: 0 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .acc-sup-new-page .grid-2 { grid-template-columns: 1fr 1fr; } }

/* dev inbox */
.acc-mail-list { padding: 0; overflow: hidden; }
.acc-mail + .acc-mail { border-top: 1px solid var(--border); }
.acc-mail summary { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; min-height: 52px; padding: 12px 16px; cursor: pointer; list-style: none; }
.acc-mail summary::-webkit-details-marker { display: none; }
.acc-mail summary:hover { background: var(--surface-2); }
.acc-mail-subject { flex: 1; min-width: 200px; font-size: 14px; line-height: 20px; font-weight: 600; }
.acc-mail-meta { font-size: 12px; color: var(--muted); }
.acc-mail[open] .acc-chev { transform: rotate(180deg); }
.acc-mail-body { margin: 0; padding: 0 16px 16px; font-family: var(--acc-mono); font-size: 12px; line-height: 18px; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--text-2); }
.acc-mail-body a { color: var(--accent-text, #5ce1ad); }

/* =============================================================================
   ON-SITE CRYPTO PAYMENT PAGE (/wallet/orders/<id>/checkout/)
   ========================================================================== */
.pay-msg { margin: 0; }
.pay-live { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 12px; line-height: 18px; }
.pay-live[hidden] { display: none; }
.pay-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent, #5ce1ad); flex: none; animation: pay-pulse 1.6s ease-in-out infinite; }
@keyframes pay-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (min-width: 900px) { .pay-two { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.pay-ticker { width: 44px; height: 44px; font-size: 11px; }
.pay-sub { margin: 2px 0 0; font-size: 13px; line-height: 18px; }
.pay-field { display: grid; gap: 6px; padding: 14px 0; border-top: 1px solid var(--border); }
.pay-field:first-of-type { border-top: 0; padding-top: 0; }
.pay-field .help { margin: 0; font-size: 12px; line-height: 18px; color: var(--muted); }
.pay-label { font-size: 12px; line-height: 16px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.pay-value { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-width: 0; }
.pay-amount { font-size: 26px; line-height: 32px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--text); overflow-wrap: anywhere; }
.pay-unit { font-size: 16px; font-weight: 600; color: var(--text-2); }
.pay-network { font-size: 15px; }
.pay-address { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; line-height: 20px; color: var(--text); background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; overflow-wrap: anywhere; word-break: break-all; min-width: 0; }
.pay-value-wrap .pay-address { flex: 1 1 260px; }
.pay-copy { min-height: 44px; min-width: 76px; flex: none; }
.pay-memo { margin-top: 4px; }
.pay-memo p { margin: 6px 0 0; }
.pay-memo .pay-copy { margin-left: 6px; }
.pay-timer { display: flex; align-items: center; gap: 8px; margin-top: 4px; padding: 10px 12px; border-radius: 8px; background: var(--surface-2); color: var(--text-2); font-size: 14px; }
.pay-timer[hidden], [data-pay-expired][hidden] { display: none; }
.pay-timer strong { color: var(--text); font-size: 16px; }
.pay-qr { width: min(240px, 100%); margin: 0 auto; padding: 12px; background: #fff; border-radius: 12px; }
.pay-qr svg { display: block; width: 100%; height: auto; }
.pay-qr-note { text-align: center; margin: 10px 0 14px; }
.pay-help li { align-items: flex-start; }
.pay-balance { display: flex; align-items: center; gap: 12px; }
.pay-balance strong { font-size: 20px; margin-left: 6px; }