/* ============================================================
   AIBIO — Onboarding demo (TASK-018, owner #30). On top of css/mine.css + css/room.css: REAL member look, plus
   DEMO bar, "How it works" screen, demo wallet sheet (crypto deposit/withdraw), PnL, sign-up, install app, finger tutorial.
   Grid 4/8 · touch target ≥ 44 · motion transform/opacity only · prefers-reduced-motion respected.
   AI-ANCHOR: CSS_ONBOARD
   ============================================================ */

/* header: DEMO chip + balance as a button (room.css styles <a>) */
.ob .rm-bal { -webkit-appearance: none; appearance: none; font-family: inherit; cursor: pointer; }
.ob-chip { display: inline-flex; align-items: center; min-height: 24px; padding: 0 8px; border: 2px solid var(--gm-line); border-radius: 999px; background: var(--gm-cyan); color: var(--gm-line); font-size: 12px; font-weight: 900; line-height: 16px; letter-spacing: .06em; text-transform: uppercase; }

/* ---------- DEMO bar: progress + fast-forward + skip ---------- */
.ob-bar { position: sticky; top: 67px; z-index: 39; border-bottom: 3px solid var(--gm-line); background: rgba(21, 29, 66, .94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ob-bar-row { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 4px 0; }
.ob-bar-row > b { color: var(--gm-mut); font-size: 12px; font-weight: 900; line-height: 16px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.ob-skip { margin-left: auto; min-height: 44px; padding: 0 4px; font-size: 14px; white-space: nowrap; }
.ob-ff { gap: 8px; }
.ob-ff svg { width: 16px; height: 16px; filter: none; }
.ob-ff small { font: 900 12px/16px var(--gm-f-body); opacity: .85; }
.ob-ff small:empty { display: none; }
.ob-bar-row { flex-wrap: wrap; }
@media (max-width: 599px) { .ob-ff:not([hidden]) { order: 3; flex: 1 0 100%; margin-bottom: 4px; } }
.ob-prog { height: 4px; margin-bottom: 4px; border-radius: 999px; background: var(--gm-slot); overflow: hidden; }
.ob-prog i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--gm-gold), var(--gm-green)); transform: scaleX(0); transform-origin: left; transition: transform .6s cubic-bezier(.22, 1, .36, 1); }
/* TASK-068: onboarding nav inside header (rm-hd) like /room — old fixed offset removed */

/* ---------- AI-ANCHOR: CSS_OB_INTRO — how it works ---------- */
.ob-intro { position: fixed; inset: 0; z-index: 85; display: grid; place-items: center; padding: 16px; background: radial-gradient(120% 80% at 50% 0%, #26315e, #0b1024 70%); }
.ob-intro[hidden] { display: none; }
.ob-intro-in { display: grid; justify-items: center; gap: 16px; width: min(440px, 100%); padding: 24px 16px; text-align: center; }
.ob-intro-h { margin: 0; color: #fff; font: 400 32px/1.1 var(--gm-f-title); text-shadow: 0 3px 0 var(--gm-line); }
.ob-slides { display: grid; width: 100%; }
.ob-slide { grid-area: 1 / 1; display: grid; justify-items: center; align-content: start; gap: 8px; opacity: 0; transform: translate3d(24px, 0, 0); transition: opacity .35s ease, transform .45s cubic-bezier(.22, 1, .36, 1); pointer-events: none; }
.ob-slide.on { opacity: 1; transform: none; pointer-events: auto; }
.ob-art { display: grid; place-items: center; width: 144px; height: 144px; margin-bottom: 8px; border: 3px solid var(--gm-line); border-radius: 50%; background: radial-gradient(closest-side, rgba(94, 240, 255, .25), transparent), var(--gm-slot); }
.ob-art img { width: 112px; height: auto; max-height: 120px; }
.ob-art-ic svg { width: 80px; height: 80px; color: #25d366; }
.ob-slide b { color: var(--gm-gold); font: 400 24px/1.2 var(--gm-f-title); text-shadow: 0 2px 0 var(--gm-line); }
.ob-slide p { max-width: 32ch; margin: 0; color: var(--gm-cream); font-size: 16px; font-weight: 800; line-height: 1.5; }
.ob-dots { display: flex; gap: 8px; }
.ob-dots i { width: 8px; height: 8px; border-radius: 999px; background: var(--gm-wood-l); transition: transform .3s ease, background-color .3s ease; }
.ob-dots i.on { background: var(--gm-gold); transform: scaleX(2.5); }
.ob-intro-f { margin: 0; color: var(--gm-dim); font-size: 12px; font-weight: 800; line-height: 1.5; }

/* ---------- AI-ANCHOR: CSS_OB_COACH — finger + bubble above sheet (z 95) ---------- */
.ob-finger { position: fixed; left: 0; top: 0; z-index: 98; width: 48px; height: 56px; opacity: 0; pointer-events: none; transition: opacity .3s ease; will-change: transform; }
.ob-finger.on { opacity: 1; }
.ob-finger svg { width: 48px; height: 56px; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .45)); animation: hk-tap 1.5s cubic-bezier(.45, 0, .55, 1) infinite; transform-origin: 40% 20%; }
.ob-finger .ring { position: absolute; left: 12px; top: -4px; width: 24px; height: 24px; border: 3px solid var(--gm-gold); border-radius: 50%; opacity: 0; animation: hk-ring 1.5s cubic-bezier(.22, 1, .36, 1) infinite; }
.ob-tip { position: fixed; left: 0; top: 0; z-index: 95; display: grid; gap: 8px; padding: 8px 12px; border: 3px solid var(--gm-line); border-radius: var(--gm-r1); background: var(--gm-gold); color: var(--gm-line); font-size: 14px; font-weight: 900; line-height: 1.45; box-shadow: 0 6px 0 rgba(0, 0, 0, .35); opacity: 0; pointer-events: none; transition: opacity .25s ease; will-change: transform; }
.ob-tip.on { opacity: 1; }
.ob-tip.act.on { pointer-events: auto; }
.ob-tip .gm-btn { justify-self: start; }
/* TASK-071 (owner #148): button in bubble pointed at by finger — white ring pulses right as the finger taps (synced to hk-tap 1.5s) */
.ob-tip [data-tipgo] { position: relative; }
.ob-tip [data-tipgo]::after { content: ""; position: absolute; inset: -8px; border: 3px solid #fff; border-radius: calc(var(--gm-r1) + 8px); opacity: 0; pointer-events: none; animation: ob-go 1.5s cubic-bezier(.22, 1, .36, 1) infinite; }
@keyframes ob-go { 0%, 40% { opacity: 0; transform: scale(.94); } 50% { opacity: .95; transform: scale(1); } 100% { opacity: 0; transform: scale(1.14); } }
.gm-hidden .ob-tip [data-tipgo]::after { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .ob-tip [data-tipgo]::after { animation: none; opacity: .8; transform: none; } }
.ob-focus { position: relative; z-index: 2; box-shadow: 0 0 0 3px var(--gm-gold), 0 0 24px rgba(255, 201, 51, .45) !important; }
.gm-hidden .ob-finger svg, .gm-hidden .ob-finger .ring { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .ob-finger svg, .ob-finger .ring { animation: none; } .ob-slide, .ob-prog i { transition: none; } }

/* ---------- AI-ANCHOR: CSS_RW — demo wallet (crypto deposit / withdraw) ---------- */
.rw { display: grid; gap: 16px; }
.rw-k { margin: 0; color: var(--gm-mut); font-size: 14px; font-weight: 900; line-height: 1.45; }
.rw-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.rw-steps li { height: 4px; border-radius: 999px; background: var(--gm-slot); }
.rw-steps li.done, .rw-steps li.on { background: var(--gm-gold); }
.rw-amts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.rw-amts button, .rw-coins button { -webkit-appearance: none; appearance: none; position: relative; display: grid; justify-items: center; align-content: center; gap: 4px; min-height: 72px; padding: 8px; border: 3px solid var(--gm-line); border-radius: var(--gm-r2); background: linear-gradient(#26315e, #1b2446); color: #fff; font-family: inherit; cursor: pointer; box-shadow: 0 4px 0 var(--gm-wood-d); transition: transform .15s ease; }
.rw-amts button:active, .rw-coins button:active { transform: translateY(2px); }
.rw-amts button[aria-checked="true"], .rw-coins button[aria-checked="true"] { border-color: var(--gm-gold); background: linear-gradient(#3a3a1e, #26315e); box-shadow: 0 4px 0 var(--gm-gold-d), 0 0 0 1px var(--gm-gold); }
.rw-amts b { font-size: 24px; line-height: 1.2; }
.rw-amts small { position: absolute; top: -12px; left: 50%; translate: -50% 0; padding: 0 8px; border: 2px solid var(--gm-line); border-radius: 999px; background: var(--gm-green); color: var(--gm-line); font-size: 12px; font-weight: 900; line-height: 16px; padding-block: 2px; white-space: nowrap; }
.rw-coins { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.rw-coins button { min-height: 88px; }
.rw-coins img { width: 32px; height: 32px; }
.rw-coins b { font-size: 14px; line-height: 1.2; }
.rw-coins small { color: var(--gm-dim); font-size: 12px; font-weight: 800; line-height: 16px; }
.rw-demo { margin: 0; color: var(--gm-dim); font-size: 12px; font-weight: 800; line-height: 1.45; text-align: center; }
.rw-pay { display: flex; align-items: center; gap: 16px; }
.rw-qr { position: relative; flex: none; width: 120px; height: 120px; padding: 4px; border: 3px solid var(--gm-line); border-radius: var(--gm-r1); background: #fff; }
.rw-qr svg { display: block; width: 100%; height: 100%; }
.rw-tag { position: absolute; left: 50%; top: 50%; translate: -50% -50%; padding: 0 4px; border: 2px solid var(--gm-line); border-radius: 4px; background: var(--gm-gold); color: var(--gm-line); font-size: 12px; font-weight: 900; line-height: 16px; }
.rw-pay-r { display: grid; gap: 4px; min-width: 0; }
.rw-qty { color: #fff; font-size: 20px; line-height: 1.2; overflow-wrap: anywhere; }
.rw-usd { color: var(--gm-mut); font-size: 14px; font-weight: 800; line-height: 1.45; }
.rw-addr input { font-size: 12px; }
.rw-status { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 12px; border: 3px solid var(--gm-line); border-radius: var(--gm-r1); background: var(--gm-slot); color: var(--gm-cream); font-size: 14px; line-height: 1.45; }
.rw-dot { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--gm-gold); animation: rw-pulse 1.2s ease-in-out infinite; }
.rw-status.seen .rw-dot { background: var(--gm-green); }
/* TASK-071: waiting → detected transitions smoothly (opacity + 4px shift), dot fades to new color */
.rw-dot { transition: background-color .3s ease; }
.rw-status.seen b { animation: rw-seen .3s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes rw-seen { from { opacity: 0; transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { .rw-status.seen b { animation: none; } }
@keyframes rw-pulse { 50% { opacity: .35; transform: scale(.7); } }
.rw-confs { color: var(--gm-mut); font-size: 12px; font-weight: 800; line-height: 16px; }
.rw-ok { display: grid; justify-items: center; gap: 12px; text-align: center; }
.rw-check { display: grid; place-items: center; width: 72px; height: 72px; border: 3px solid var(--gm-line); border-radius: 50%; background: var(--gm-green); color: var(--gm-line); animation: gm-pop2 .45s cubic-bezier(.34, 1.56, .64, 1); }
.rw-check svg { width: 40px; height: 40px; }
.rw-ok > b { color: var(--gm-green); font-size: 32px; line-height: 1.1; text-shadow: 0 2px 0 var(--gm-line); }
.rw-ok p { max-width: 36ch; margin: 0; color: var(--gm-cream); font-size: 16px; font-weight: 800; line-height: 1.5; }
.rw-tx { display: flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 12px; border-radius: 999px; background: var(--gm-slot); color: var(--gm-mut); font-size: 12px; font-weight: 900; }
.rw-tx code { color: var(--gm-cyan); font: 700 12px/16px ui-monospace, SFMono-Regular, Menlo, monospace; }
.rw-f { display: grid; gap: 8px; }
.rw-f > span:first-child { color: var(--gm-mut); font-size: 14px; font-weight: 900; line-height: 1.45; }
.rw-in { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 4px 0 12px; border: 3px solid var(--gm-line); border-radius: var(--gm-r1); background: var(--gm-slot); }
.rw-in:focus-within { border-color: var(--gm-gold); }
/* TASK-029: password eye button (44 × 44, right of field) */
.rw-eye { -webkit-appearance: none; appearance: none; display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: var(--gm-r1); background: none; color: var(--gm-mut); cursor: pointer; }
.rw-eye:hover, .rw-eye[aria-pressed="true"] { color: var(--gm-cyan); }
.rw-eye:focus-visible { outline: 2px solid var(--gm-cyan); outline-offset: -2px; }
.rw-eye svg { width: 20px; height: 20px; }
.rw-in input { flex: 1; min-width: 0; min-height: 44px; padding: 0; border: 0; background: none; color: var(--gm-cream); font: 800 16px/1 var(--gm-f-body); outline: none; }
.rw-max { -webkit-appearance: none; appearance: none; min-height: 44px; padding: 0 12px; border: 0; border-radius: var(--gm-r1); background: var(--gm-wood-l); color: var(--gm-gold); font: 900 14px/1.25 var(--gm-f-body); cursor: pointer; white-space: nowrap; }

/* ---------- AI-ANCHOR: CSS_OB_PNL — stats + PnL ---------- */
.ob-pnl { display: grid; gap: 16px; }
.ob-pnl-hero { display: grid; justify-items: start; gap: 4px; }
.ob-pnl-hero .k { color: var(--gm-mut); font-size: 12px; font-weight: 900; line-height: 16px; letter-spacing: .06em; text-transform: uppercase; }
.ob-pnl-hero b { font-size: 40px; line-height: 1.1; text-shadow: 0 3px 0 var(--gm-line); }
.up { color: var(--gm-green); }
.ob-pnl-hero .roi { display: inline-flex; align-items: center; min-height: 24px; padding: 0 8px; border-radius: 999px; background: rgba(134, 232, 92, .16); color: var(--gm-green); font-size: 14px; font-weight: 900; }
.ob-chart { display: block; width: 100%; height: 120px; border: 3px solid var(--gm-line); border-radius: var(--gm-r2); background: var(--gm-slot); }
.ob-chart .ln { stroke-dasharray: 1; stroke-dashoffset: 1; animation: ob-draw 1.4s cubic-bezier(.22, 1, .36, 1) .2s forwards; }
@keyframes ob-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .ob-chart .ln { animation: none; stroke-dashoffset: 0; } .rw-dot { animation: none; } }
.ob-kpi { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.ob-kpi li { display: grid; gap: 4px; padding: 12px; border: 3px solid var(--gm-line); border-radius: var(--gm-r1); background: linear-gradient(#26315e, #1b2446); }
.ob-kpi span { color: var(--gm-mut); font-size: 12px; font-weight: 900; line-height: 16px; }
.ob-kpi b { color: #fff; font-size: 20px; line-height: 1.2; }
.ob-kpi b.up { color: var(--gm-green); }
.ob-k2 { margin: 0; color: #fff; font: 400 20px/1.2 var(--gm-f-title); }
.ob-proj { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ob-proj li { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; border: 3px solid var(--gm-line); border-radius: var(--gm-r1); background: var(--gm-slot); }
.ob-proj li.me { border-color: var(--gm-gold); }
.ob-proj span { color: var(--gm-cream); font-size: 16px; font-weight: 900; }
.ob-proj i { height: 3px; border-radius: 999px; background: linear-gradient(90deg, rgba(134, 232, 92, .2), var(--gm-green)); }
.ob-proj b { color: var(--gm-green); font-size: 16px; }
.ob-rates { justify-self: center; min-height: 44px; }

/* ---------- AI-ANCHOR: CSS_OB_SIGNUP — sign up + install app ---------- */
.ob-su, .ob-in { display: grid; gap: 16px; }
.ob-su-lead { margin: 0; color: #fff; font-size: 16px; font-weight: 800; line-height: 1.5; }
.ob-perks { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ob-perks li { position: relative; padding-left: 32px; color: var(--gm-cream); font-size: 14px; font-weight: 800; line-height: 1.45; }
.ob-perks li::before { content: ""; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border: 2px solid var(--gm-line); border-radius: 50%; background: var(--gm-green); }
.ob-perks li::after { content: ""; position: absolute; left: 7px; top: 4px; width: 5px; height: 9px; border: solid var(--gm-line); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.ob-err { margin: 0; padding: 8px 12px; border-radius: var(--gm-r1); background: rgba(251, 113, 133, .16); color: #fda4af; font-size: 14px; font-weight: 800; line-height: 1.45; }
.ob-err[hidden] { display: none; }
.ob-su-f { margin: 0; color: var(--gm-mut); font-size: 14px; font-weight: 800; text-align: center; }
.ob-tasks { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ob-tasks li { display: flex; align-items: center; gap: 12px; padding: 12px; border: 3px solid var(--gm-line); border-radius: var(--gm-r2); background: linear-gradient(#26315e, #1b2446); }
.ob-tasks .ic { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: var(--gm-r1); background: var(--gm-slot); color: var(--gm-cyan); }
.ob-tasks .ic svg { width: 24px; height: 24px; }
.ob-tasks div { display: grid; gap: 4px; flex: 1; min-width: 0; }
.ob-tasks b { color: #fff; font-size: 16px; line-height: 1.25; }
.ob-tasks small { color: var(--gm-mut); font-size: 12px; font-weight: 800; line-height: 16px; }
.ob-done { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--gm-green); color: var(--gm-line); font-size: 20px; font-weight: 900; }
.ob-ios { padding: 12px; border: 3px dashed var(--gm-wood-l); border-radius: var(--gm-r1); color: var(--gm-cream); font-size: 14px; font-weight: 800; line-height: 1.45; }
.ob-ios[hidden] { display: none; }
.ob-ios p { margin: 0; }

/* ---------- AI-ANCHOR: CSS_RW_REAL — TASK-023: REAL wallet at /room (same style as demo wallet) ---------- */
button.rm-bal { -webkit-appearance: none; appearance: none; font-family: inherit; cursor: pointer; }
.rw-coins-r { grid-template-columns: repeat(auto-fit, minmax(72px, 1fr)); }
.rw-quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.rw-quick button { -webkit-appearance: none; appearance: none; min-height: 44px; border: 3px solid var(--gm-line); border-radius: var(--gm-r1); background: var(--gm-bg2); color: var(--gm-cream); font: 900 14px/1.25 var(--gm-f-body); cursor: pointer; }
.rw-quick button:active { transform: translateY(2px); }
/* ---------- AI-ANCHOR: CSS_RW_AMT — TASK-026 (owner #63): large centered amount + $1–$1M log slider + 5 chips + per-day preview ---------- */
.rw-amt { display: grid; justify-items: center; gap: 8px; padding: 16px; border-radius: var(--gm-r2); text-align: center; box-shadow: inset 0 0 0 2px rgba(94, 240, 255, .35), 0 0 24px rgba(94, 240, 255, .12); }
.rw-amt .rw-k { color: var(--gm-cream); font-size: 12px; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; }
.rw-big { display: flex; align-items: baseline; justify-content: center; gap: 4px; width: 100%; max-width: 320px; }
.rw-big i { color: var(--gm-gold); font: 400 32px/1.2 var(--gm-f-title); font-style: normal; }
.rw-big input { width: 3ch; min-width: 2ch; max-width: calc(100% - 32px); min-height: 48px; padding: 0; border: 0; border-bottom: 2px dashed rgba(94, 240, 255, .35); background: none; color: #fff; outline: none;
	font: 400 40px/1.2 var(--gm-f-title); font-size: clamp(32px, 10vw, 40px); text-align: center; font-variant-numeric: tabular-nums; text-shadow: 0 0 16px rgba(255, 201, 51, .35); }
.rw-big input:focus { border-bottom-color: var(--gm-gold); }
.rw-earn { min-height: 20px; color: var(--gm-mut); font-size: 14px; font-weight: 800; line-height: 20px; }
.rw-earn b { color: var(--gm-green); font-weight: 900; }
.rw-range { --p: 50%; -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 0; background: none; cursor: pointer; touch-action: pan-y; }
.rw-range:focus-visible { outline: 2px solid var(--gm-cyan); outline-offset: 2px; border-radius: 8px; }
.rw-range::-webkit-slider-runnable-track { height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--gm-cyan), var(--gm-gold)) 0 0 / var(--p) 100% no-repeat, rgba(10, 15, 38, .9); box-shadow: inset 0 0 0 1px rgba(94, 240, 255, .3); }
.rw-range::-moz-range-track { height: 8px; border-radius: 999px; background: rgba(10, 15, 38, .9); box-shadow: inset 0 0 0 1px rgba(94, 240, 255, .3); }
.rw-range::-moz-range-progress { height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--gm-cyan), var(--gm-gold)); }
.rw-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 28px; height: 28px; margin-top: -10px; border: 3px solid var(--gm-line); border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, #fff3b0, var(--gm-gold) 55%, #e08e00); box-shadow: 0 0 0 4px rgba(255, 201, 51, .25), 0 0 16px rgba(255, 201, 51, .6); }
.rw-range::-moz-range-thumb { width: 22px; height: 22px; border: 3px solid var(--gm-line); border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff3b0, var(--gm-gold) 55%, #e08e00);
	box-shadow: 0 0 0 4px rgba(255, 201, 51, .25), 0 0 16px rgba(255, 201, 51, .6); }
.rw-range:active::-webkit-slider-thumb { transform: scale(1.12); }
.rw-scale { display: flex; justify-content: space-between; width: 100%; margin-top: -8px; color: var(--gm-mut); font-size: 12px; font-weight: 900; line-height: 16px; }
.rw-quick5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.rw-quick button[aria-pressed="true"] { border-color: var(--gm-gold); background: linear-gradient(#ffe487, var(--gm-gold)); color: var(--gm-line); }
.rw-demo.bad { color: #ff8a8a; }
/* ---------- AI-ANCHOR: CSS_RW_SEND — TASK-026 (owner #64): centered "Send exactly" block, amount = copy button ---------- */
.rw-send { display: grid; justify-items: center; gap: 8px; padding: 16px; border-radius: var(--gm-r2); text-align: center; box-shadow: inset 0 0 0 2px rgba(255, 201, 51, .5), 0 0 24px rgba(255, 201, 51, .15); }
.rw-send-ic { width: 48px; height: 48px; filter: drop-shadow(0 0 16px rgba(255, 201, 51, .35)); }
.rw-send .rw-k { color: var(--gm-cream); font-size: 12px; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; }
.rw-send-q { -webkit-appearance: none; appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; max-width: 100%; min-height: 48px; padding: 8px 16px;
	border: 2px dashed rgba(255, 201, 51, .6); border-radius: var(--gm-r1); background: rgba(10, 15, 38, .75); color: #fff; font-family: inherit; cursor: pointer; transition: transform .15s ease; }
.rw-send-q:active { transform: scale(.97); }
.rw-send-q b { min-width: 0; font: 400 24px/1.2 var(--gm-f-title); overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.rw-send-q em { color: var(--gm-gold); font-size: 16px; font-weight: 900; font-style: normal; line-height: 20px; }
.rw-send-q svg { flex: none; width: 20px; height: 20px; color: var(--gm-cyan); }
.rw-send .rw-usd { color: var(--gm-mut); font-size: 14px; font-weight: 800; line-height: 20px; }
.rw-send .rw-qr { margin-bottom: 4px; }
.rw-to { margin: 0 0 -8px; }
.rw-pay-ic { flex: none; width: 64px; height: 64px; filter: drop-shadow(0 0 16px rgba(255, 201, 51, .35)); }
.rw-balrow { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 16px; border: 3px solid var(--gm-line); border-radius: var(--gm-r1); background: var(--gm-slot); }
.rw-balrow b { color: var(--gm-gold); font-size: 20px; line-height: 1.2; }
.rw-sk { height: 160px; border-radius: var(--gm-r2); background: linear-gradient(90deg, var(--gm-slot), #1b2446, var(--gm-slot)); background-size: 200% 100%; animation: rw-sk 1.2s linear infinite; }
@keyframes rw-sk { to { background-position: -200% 0; } }
.rw-hist { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rw-hist li { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 8px 12px; border: 3px solid var(--gm-line); border-radius: var(--gm-r1); background: linear-gradient(#26315e, #1b2446); }
.rw-hist span { display: grid; gap: 2px; min-width: 0; }
.rw-hist span b { color: #fff; font-size: 14px; line-height: 1.25; }
.rw-hist small { color: var(--gm-dim); font-size: 12px; font-weight: 800; line-height: 16px; }
.rw-hist li > b { flex: none; color: var(--gm-cream); font-size: 16px; }
.rw-hist li.up > b { color: var(--gm-green); }
@media (prefers-reduced-motion: reduce) { .rw-sk { animation: none; } }
.rm-toast.top { top: calc(16px + env(safe-area-inset-top)); bottom: auto; z-index: 99; }
.ob-art .wb-wrap.ob-wb { width: 120px; }

/* ---------- AI-ANCHOR: CSS_OB_ACK — owner #53: DEMO mode acknowledgment (mandatory, no close) ---------- */
.ob-ack { position: fixed; inset: 0; z-index: 97; display: grid; place-items: center; padding: 16px; background: rgba(5, 8, 20, .72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .25s ease; }
.ob-ack.on { opacity: 1; }
.ob-ack-in { display: grid; justify-items: center; gap: 12px; width: min(400px, 100%); padding: 24px 16px; text-align: center; transform: translate3d(0, 16px, 0) scale(.96); transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.ob-ack.on .ob-ack-in { transform: none; }
.ob-ack-ic svg { display: block; width: 56px; height: 64px; filter: drop-shadow(0 0 16px rgba(255, 201, 51, .45)); }
.ob-ack-in h2 { margin: 0; color: #fff; font: 400 24px/1.2 var(--gm-f-title); text-shadow: 0 2px 0 var(--gm-line); }
.ob-ack-in .ob-perks { justify-self: stretch; text-align: left; }
.ob-ack-in .gm-btn { margin-top: 8px; }
@media (prefers-reduced-motion: reduce) { .ob-ack, .ob-ack-in { transition: none; } }
/* owner #54: step label in bubble + follow-tutorial prompt in modal */
.ob-tip-step { display: inline-block; justify-self: start; padding: 0 8px; border-radius: 999px; background: var(--gm-line); color: var(--gm-gold); font-size: 10px; font-style: normal; font-weight: 900; line-height: 16px; letter-spacing: .06em; text-transform: uppercase; }
.ob-ack-follow { display: flex; align-items: center; gap: 12px; margin: 0; padding: 12px; border: 2px dashed rgba(255, 201, 51, .45); border-radius: var(--gm-r1); color: var(--gm-gold-l); font-size: 14px; font-weight: 900; line-height: 1.45; text-align: left; }
.ob-ack-follow .hw-n { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border: 2px solid var(--gm-line); border-radius: 50%; background: linear-gradient(var(--gm-gold-l), var(--gm-gold) 55%, var(--gm-gold-d)); color: var(--gm-line); font: 400 16px/1 var(--gm-f-title); }

/* ---------- AI-ANCHOR: CSS_OB_SPOT — owner #55: spotlight tutorial (dark screen except target) ---------- */
.ob-spot { position: fixed; left: 0; top: 0; z-index: 94; width: 0; height: 0; border-radius: 16px; pointer-events: none; opacity: 0;
	box-shadow: 0 0 0 3px var(--gm-gold), 0 0 24px 4px rgba(255, 201, 51, .55), 0 0 0 200vmax rgba(5, 8, 20, .74);
	transition: opacity .3s ease, transform .35s cubic-bezier(.22, 1, .36, 1), width .35s cubic-bezier(.22, 1, .36, 1), height .35s cubic-bezier(.22, 1, .36, 1); will-change: transform; }
.ob-spot.on { opacity: 1; }
.ob-spot.on::after { content: ""; position: absolute; inset: -6px; border: 2px solid rgba(255, 201, 51, .7); border-radius: 20px; animation: ob-spot 1.6s cubic-bezier(.22, 1, .36, 1) infinite; }
@keyframes ob-spot { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .ob-spot { transition: opacity .2s ease; } .ob-spot.on::after { animation: none; } }

/* ---------- AI-ANCHOR: CSS_OB_SU2 — owner #56: futuristic sign-up sheet (demo-amount hero + robot, perk tiles, Google, glowing CTA) ---------- */
.ob-su { gap: 16px; }
.ob-su-hero { position: relative; display: flex; align-items: center; gap: 12px; min-width: 0; padding: 16px; overflow: hidden; isolation: isolate; container-type: inline-size;
	border: 3px solid var(--gm-line); border-radius: var(--gm-r2); background: radial-gradient(120% 140% at 0% 0%, rgba(94, 240, 255, .22), transparent 55%), linear-gradient(135deg, #1d2b66, #10173a 70%);
	box-shadow: 0 0 0 1px rgba(94, 240, 255, .35) inset, 0 0 24px rgba(94, 240, 255, .18), 0 4px 0 #0a0f26; }
.ob-su-grid { position: absolute; inset: 0; z-index: -1; opacity: .35; pointer-events: none;
	background: linear-gradient(rgba(94, 240, 255, .18) 1px, transparent 1px) 0 0 / 16px 16px, linear-gradient(90deg, rgba(94, 240, 255, .18) 1px, transparent 1px) 0 0 / 16px 16px;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); }
.ob-su-scan { position: absolute; left: 0; right: 0; top: 0; z-index: -1; height: 40%; pointer-events: none; opacity: .6;
	background: linear-gradient(transparent, rgba(94, 240, 255, .16) 80%, rgba(94, 240, 255, .5)); transform: translate3d(0, -100%, 0); animation: ob-su-scan 3.2s cubic-bezier(.45, 0, .55, 1) infinite; }
@keyframes ob-su-scan { 0% { transform: translate3d(0, -100%, 0); } 60%, 100% { transform: translate3d(0, 260%, 0); } }
.ob-su-bot { flex: none; width: 72px; }
.ob-su-bot .wb-wrap { width: 100%; filter: drop-shadow(0 6px 12px rgba(94, 240, 255, .3)); }
.ob-su-ht { display: grid; gap: 4px; min-width: 0; }
.ob-su-ht em { color: var(--gm-cyan); font-size: 12px; font-style: normal; font-weight: 900; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; }
.ob-su-amt { display: block; min-width: 0; color: var(--gm-gold); font: 400 32px/1.1 var(--gm-f-title); font-size: clamp(32px, calc((100cqi - 32px) / 4.6), 48px); font-variant-numeric: tabular-nums; white-space: nowrap;
	text-shadow: 0 2px 0 var(--gm-line), 0 0 16px rgba(255, 201, 51, .55); }
.ob-su-amt.txt { font-size: 24px; white-space: normal; }
.ob-su-ht small { color: #fff; font-size: 14px; font-weight: 800; line-height: 1.45; }
.ob-su-perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.ob-su-perks li { display: grid; justify-items: center; align-content: start; gap: 8px; min-width: 0; padding: 12px 4px; border: 2px solid rgba(94, 240, 255, .28); border-radius: var(--gm-r1);
	background: linear-gradient(#1f2a58, #151d42); color: var(--gm-cream); font-size: 12px; font-weight: 900; line-height: 1.25; text-align: center; overflow-wrap: anywhere; }
.ob-su-perks svg { width: 24px; height: 24px; color: var(--gm-green); filter: drop-shadow(0 0 8px rgba(134, 232, 92, .45)); }
.ob-su-g { display: grid; gap: 12px; }
.ob-su-g[hidden] { display: none; }
.ob-su-gbtn { display: flex; justify-content: center; min-height: 44px; }
.ob-su-or { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--gm-dim); font-size: 12px; font-weight: 900; line-height: 16px; letter-spacing: .06em; text-transform: uppercase; }
.ob-su-or::before, .ob-su-or::after { content: ""; flex: 1; height: 2px; border-radius: 2px; background: rgba(180, 194, 230, .2); }
.ob-su-cta { position: relative; isolation: isolate; }
.ob-su-cta::before { content: ""; position: absolute; inset: -4px -4px 0; z-index: -1; border-radius: 20px; background: radial-gradient(closest-side, rgba(255, 170, 40, .8), transparent);
	filter: blur(8px); opacity: .5; animation: ob-su-glow 1.8s ease-in-out infinite; pointer-events: none; }
@keyframes ob-su-glow { 50% { opacity: 1; transform: scale(1.04, 1.12); } }
.ob-su-trust { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; color: var(--gm-green); font-size: 12px; font-weight: 900; line-height: 16px; text-align: center; }
.ob-su-trust svg { flex: none; width: 16px; height: 16px; }
html.gm-hidden .ob-su-scan, html.gm-hidden .ob-su-cta::before { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .ob-su-scan { animation: none; opacity: 0; } .ob-su-cta::before { animation: none; } }
@media (max-width: 359px) { .ob-su-bot { width: 56px; } .ob-su-hero { padding: 12px; } }

/* owner #57: centered hero + PnL (deposit → withdraw) + spinning neon frame */
.ob-su-hero { flex-direction: column; justify-content: center; gap: 8px; padding: 16px 16px 24px; text-align: center; }
.ob-su-hero::before { content: ""; position: absolute; left: 50%; top: 50%; z-index: -2; width: 200%; aspect-ratio: 1; margin: -100% 0 0 -100%; pointer-events: none;
	background: conic-gradient(from 0deg, transparent 0 70%, rgba(94, 240, 255, .55) 80%, rgba(255, 201, 51, .7) 88%, transparent 96%); animation: ob-su-spin 5s linear infinite; }
.ob-su-hero::after { content: ""; position: absolute; inset: 3px; z-index: -1; border-radius: 12px; pointer-events: none;
	background: radial-gradient(120% 90% at 50% 0%, rgba(94, 240, 255, .2), transparent 60%), linear-gradient(160deg, #1d2b66, #10173a 70%); }
@keyframes ob-su-spin { to { transform: rotate(360deg); } }
.ob-su-hero .ob-su-grid { z-index: -1; -webkit-mask-image: radial-gradient(closest-side, #000, transparent); mask-image: radial-gradient(closest-side, #000, transparent); }
.ob-su-bot { width: 80px; }
.ob-su-ht { justify-items: center; gap: 8px; width: 100%; }
.ob-su-pnl { display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr); align-items: center; gap: 8px; width: 100%; max-width: 360px; }
.ob-su-io { display: grid; gap: 4px; min-width: 0; padding: 8px; border-radius: var(--gm-r1); background: rgba(10, 15, 38, .7); }
.ob-su-io small { color: var(--gm-cream); font-size: 10px; font-weight: 900; line-height: 12px; letter-spacing: .08em; text-transform: uppercase; }
.ob-su-io b { font: 400 20px/1.1 var(--gm-f-title); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ob-su-io.in { box-shadow: inset 0 0 0 2px rgba(94, 240, 255, .45); } .ob-su-io.in b { color: var(--gm-cyan); }
.ob-su-io.out { box-shadow: inset 0 0 0 2px rgba(255, 201, 51, .6), 0 0 16px rgba(255, 201, 51, .3); } .ob-su-io.out b { color: var(--gm-gold); }
.ob-su-line { width: 64px; height: 32px; overflow: visible; }
.ob-su-line path { fill: none; stroke: var(--gm-green); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 4px rgba(134, 232, 92, .7));
	animation: ob-su-draw 1.1s .3s cubic-bezier(.22, 1, .36, 1) forwards; }
.ob-su-line circle { fill: var(--gm-green); opacity: 0; animation: ob-su-dot 1.4s 1.3s ease-in-out infinite; }
@keyframes ob-su-draw { to { stroke-dashoffset: 0; } }
@keyframes ob-su-dot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .5; transform: scale(1.6); } }
.ob-su-line circle { transform-box: fill-box; transform-origin: center; }
.ob-su-roi { display: inline-block; padding: 4px 12px; border: 2px solid var(--gm-line); border-radius: 999px; background: linear-gradient(#a6f27c, var(--gm-green)); color: var(--gm-line);
	font-size: 14px; font-weight: 900; line-height: 20px; box-shadow: 0 0 16px rgba(134, 232, 92, .45); }
html.gm-hidden .ob-su-hero::before, html.gm-hidden .ob-su-line circle { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .ob-su-hero::before { animation: none; } .ob-su-line path { animation: none; stroke-dashoffset: 0; } .ob-su-line circle { animation: none; opacity: 1; } }
@media (max-width: 359px) { .ob-su-pnl { grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); gap: 4px; } .ob-su-line { width: 40px; } .ob-su-io b { font-size: 16px; } }

/* owner #58: whole sign-up sheet = .fx-grid backdrop + neon frame, neon-underlined heading, neon inputs */
.rm-sheet-in.ob-su-sheet { border-color: #0b1024; box-shadow: 0 0 0 2px rgba(94, 240, 255, .45), 0 0 32px rgba(94, 240, 255, .25), 0 -8px 32px rgba(0, 0, 0, .4); }
.ob-su-sheet .rm-sheet-h b { position: relative; padding-bottom: 8px; text-shadow: 0 2px 0 var(--gm-line), 0 0 16px rgba(94, 240, 255, .45); }
.ob-su-sheet .rm-sheet-h b::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 3px; border-radius: 3px;
	background: linear-gradient(90deg, var(--gm-cyan), var(--gm-gold)); box-shadow: 0 0 8px rgba(94, 240, 255, .7); transform-origin: left; animation: ob-su-bar 2.4s ease-in-out infinite; }
@keyframes ob-su-bar { 50% { transform: scaleX(1.6); } }
.ob-su-sheet .rw-in { border-color: rgba(94, 240, 255, .25); background: rgba(8, 12, 32, .85); box-shadow: inset 0 0 12px rgba(94, 240, 255, .08); transition: border-color .2s ease, box-shadow .2s ease; }
.ob-su-sheet .rw-in:focus-within { border-color: var(--gm-cyan); box-shadow: 0 0 0 3px rgba(94, 240, 255, .2), 0 0 16px rgba(94, 240, 255, .35); }
html.gm-hidden .ob-su-sheet .rm-sheet-h b::after { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .ob-su-sheet .rm-sheet-h b::after { animation: none; } }
/* owner #59: neon grid squares on the BOX backdrop (hero, perk, Deposit/Withdraw) — not the sheet backdrop */
.ob-su-hero::after { background:
	radial-gradient(90% 70% at 50% 0%, rgba(94, 240, 255, .22), transparent 70%),
	linear-gradient(rgba(94, 240, 255, .2) 1px, transparent 1px) 0 0 / 16px 16px,
	linear-gradient(90deg, rgba(94, 240, 255, .2) 1px, transparent 1px) 0 0 / 16px 16px,
	linear-gradient(160deg, #1d2b66, #10173a 70%); }
.ob-su-hero .ob-su-grid { display: none; }
.ob-su-perks li.fx-grid, .ob-su-io.fx-grid { background-size: auto, auto, 16px 16px, 16px 16px, auto; }

/* TASK-037 B13 (owner #86): claim promo link on sign-up sheet (glowing @handle card from css/room.css CSS_ROOM_HANDLE) */
.ob-claim { display: grid; gap: 8px; margin: 4px 0 8px; }
.ob-claim-k { color: #5ef0ff; font-size: 12px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.ob-claim .tm-handle { min-height: 56px; }
.ob-claim .tm-claim-msg { margin: 0; }

/* ---------- AI-ANCHOR: CSS_OB_SU_V2 — TASK-051 (owner #116): bottom block of sign-up sheet, one theme with neon hero ----------
   Benefit tiles = glass card + neon top line + icon in a slowly spinning ring, staggered one-time entrance (transform/opacity).
   "OR" divider = fading neon line. Inputs = dark glass, cyan focus glow. Grid 4/8, touch ≥ 44. */
.ob-su-sheet .ob-su-perks { gap: 8px; }
.ob-su-perks li.fx-grid { gap: 8px; min-height: 96px; padding: 16px 8px 12px; border: 1px solid rgba(94, 240, 255, .3); border-radius: var(--gm-r2);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 8px 24px rgba(0, 0, 0, .35); opacity: 0; transform: translate3d(0, 8px, 0);
	animation: ob-su-perk-in .5s cubic-bezier(.22, 1, .36, 1) forwards; }
.ob-su-perks li.fx-grid::after { display: none; } /* .fx-grid blink square is positioned for a large box → gets clipped at the 100px tile size */
.ob-su-perks li:nth-child(2) { animation-delay: .08s; }
.ob-su-perks li:nth-child(3) { animation-delay: .16s; }
.ob-su-perks li::before { content: ""; position: absolute; left: 24%; right: 24%; top: 0; height: 2px; border-radius: 2px; pointer-events: none;
	background: linear-gradient(90deg, transparent, var(--gm-cyan), transparent); box-shadow: 0 0 8px rgba(94, 240, 255, .8); }
@keyframes ob-su-perk-in { to { opacity: 1; transform: none; } }
.ob-su-perks span { color: #fff; font-size: 12px; line-height: 18px; }
.ob-su-ic { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-style: normal;
	background: radial-gradient(closest-side, rgba(134, 232, 92, .22), rgba(134, 232, 92, 0)); }
.ob-su-ic::before { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
	background: conic-gradient(from 0deg, transparent 0 55%, rgba(134, 232, 92, .95) 80%, transparent 96%);
	-webkit-mask: radial-gradient(closest-side, transparent calc(100% - 2px), #000 calc(100% - 2px)); mask: radial-gradient(closest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
	animation: ob-su-spin 4s linear infinite; }
.ob-su-perks li:nth-child(2) .ob-su-ic::before { animation-delay: -1.3s; }
.ob-su-perks li:nth-child(3) .ob-su-ic::before { animation-delay: -2.6s; }
.ob-su-ic svg { width: 20px; height: 20px; }
.ob-su-sheet .ob-su-g { gap: 16px; }
.ob-su-sheet .ob-su-or { color: rgba(94, 240, 255, .7); }
.ob-su-sheet .ob-su-or::before { height: 1px; background: linear-gradient(90deg, transparent, rgba(94, 240, 255, .55)); }
.ob-su-sheet .ob-su-or::after { height: 1px; background: linear-gradient(90deg, rgba(94, 240, 255, .55), transparent); }
.ob-su-sheet .rw-f > span:first-child { color: #c8d4f5; font-size: 12px; line-height: 16px; letter-spacing: .06em; text-transform: uppercase; transition: color .2s ease; }
.ob-su-sheet .rw-f:focus-within > span:first-child { color: var(--gm-cyan); }
.ob-su-sheet .rw-in { min-height: 52px; border-width: 1px; border-radius: var(--gm-r1); background: linear-gradient(180deg, rgba(8, 12, 32, .92), rgba(16, 23, 58, .92)); }
.ob-su-sheet .rw-in input::placeholder { color: rgba(200, 212, 245, .4); }
.ob-su-sheet .rw-in input:focus, .ob-su-sheet .rw-in input:focus-visible { outline: none; } /* focus already shown by cyan .rw-in border (:focus-within) — no global gold outline inside it */
html.gm-hidden .ob-su-ic::before { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .ob-su-perks li.fx-grid { animation: none; opacity: 1; transform: none; } .ob-su-ic::before { animation: none; } }
@media (max-width: 359px) { .ob-su-perks li.fx-grid { min-height: 88px; padding: 12px 4px 8px; } .ob-su-ic { width: 32px; height: 32px; } }

/* ---------- AI-ANCHOR: CSS_RW_GROUPS — TASK-053 (owner #118): grouped deposit + network badge ----------
   Group 1 = low-minimum coins (LTC $1, Bitcart) as a wide row; group 2 = all min-$50 coins (grid).
   16px network badge at the bottom-right of the coin icon (TRC20 → TRX, BEP20 → BNB, ERC20 → ETH, TON → TON). */
.rw-grp { display: grid; gap: 8px; }
.rw-grp + .rw-grp { margin-top: 8px; }
.rw-gk { display: flex; align-items: center; gap: 8px; margin: 0; color: rgba(94, 240, 255, .8); font-size: 12px; font-weight: 900; line-height: 16px; letter-spacing: .06em; text-transform: uppercase; }
.rw-gk::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(94, 240, 255, .45), transparent); }
.rw-grp-fast .rw-gk { color: var(--gm-green); }
.rw-grp-fast .rw-gk::after { background: linear-gradient(90deg, rgba(134, 232, 92, .45), transparent); }
.rw-coins-fast { grid-template-columns: minmax(0, 1fr); }
.rw-coins-fast button { grid-template-columns: auto auto minmax(0, 1fr); justify-items: start; align-items: center; column-gap: 12px; min-height: 56px; padding: 8px 16px; }
.rw-coins-fast button small { justify-self: end; color: var(--gm-green); font-size: 14px; }
.rw-ico { position: relative; display: block; width: 32px; height: 32px; }
.rw-ico > img { display: block; width: 32px; height: 32px; }
.rw-net { position: absolute; right: -6px; bottom: -4px; display: grid; place-items: center; width: 20px; height: 20px; border: 2px solid #10173a; border-radius: 50%; background: #10173a; }
.rw-net img { width: 16px; height: 16px; }

/* ---------- AI-ANCHOR: CSS_OB_WD_FOMO — TASK-068 (owner #144): demo withdraw = FOMO moment ----------
   Screen isn't darkened (html.ob-wd: spotlight without dark overlay), sheet glows gold; hero number counts up + spinning rays;
   4-step process + bar; success: flash, 18 coins burst outward, big number, Deposit → Withdraw → Profit summary. Transform/opacity only. */
html.ob-wd .ob-spot { box-shadow: 0 0 0 3px var(--gm-gold), 0 0 32px 8px rgba(255, 201, 51, .6); }
html.ob-wd .rm-sheet { background: rgba(5, 8, 20, .22); }
html.ob-wd .rm-sheet-in { box-shadow: 0 0 0 2px rgba(255, 201, 51, .7), 0 0 48px rgba(255, 201, 51, .35), 0 -8px 40px rgba(0, 0, 0, .5); }
.wd-hero { position: relative; isolation: isolate; overflow: hidden; display: grid; justify-items: center; gap: 4px; padding: 24px 16px 16px; border: 2px solid rgba(255, 201, 51, .7); border-radius: var(--gm-r2);
	background: radial-gradient(90% 120% at 50% 0%, rgba(255, 201, 51, .35), transparent 70%), linear-gradient(#2b2a5e, #151d42); text-align: center; box-shadow: 0 0 32px rgba(255, 201, 51, .3); }
.wd-rays { position: absolute; left: calc(50% - 260px); top: calc(50% - 260px); z-index: -1; width: 520px; height: 520px;
	background: repeating-conic-gradient(rgba(255, 201, 51, .16) 0 10deg, transparent 10deg 24deg); -webkit-mask-image: radial-gradient(closest-side, #000 20%, transparent 70%); mask-image: radial-gradient(closest-side, #000 20%, transparent 70%); animation: wd-rays 14s linear infinite; }
@keyframes wd-rays { to { transform: rotate(360deg); } }
.wd-k { color: #ffe487; font-size: 12px; font-weight: 900; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; }
.wd-big { color: #fff; font: 400 clamp(40px, 12vw, 56px)/1.05 var(--gm-f-title); text-shadow: 0 4px 0 var(--gm-line), 0 0 24px rgba(255, 201, 51, .7); }
.wd-prof { padding: 4px 12px; border-radius: 999px; background: rgba(134, 232, 92, .18); color: var(--gm-green); font-size: 14px; font-weight: 900; line-height: 20px; }
.wd-coins { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.wd-coins i { position: absolute; bottom: -20px; width: 16px; height: 16px; border: 2px solid var(--gm-line); border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff3b0, #ffc933 45%, #e08e00); animation: wd-up 2.8s linear infinite; }
.wd-coins i:nth-child(1) { left: 10%; } .wd-coins i:nth-child(2) { left: 28%; animation-delay: .6s; } .wd-coins i:nth-child(3) { left: 50%; animation-delay: 1.2s; } .wd-coins i:nth-child(4) { left: 70%; animation-delay: 1.8s; } .wd-coins i:nth-child(5) { left: 88%; animation-delay: 2.3s; }
@keyframes wd-up { 0% { opacity: 0; transform: translateY(0) rotate(0); } 15% { opacity: .9; } 100% { opacity: 0; transform: translateY(-180px) rotate(300deg); } }
.wd-send { animation: rp-nudge 2.4s cubic-bezier(.45, 0, .55, 1) .8s infinite; }
.wd-proc { display: grid; justify-items: center; gap: 12px; padding: 16px 0; }
.wd-proc-ic { width: 56px; height: 56px; animation: wd-spin 1.2s cubic-bezier(.45, 0, .55, 1) infinite; }
@keyframes wd-spin { 50% { transform: translateY(-6px) rotateY(180deg); } }
.wd-proc > b { color: #fff; font: 400 32px/1.1 var(--gm-f-title); }
.wd-steps { display: grid; gap: 8px; width: 100%; margin: 0; padding: 0; list-style: none; }
.wd-steps li { display: flex; align-items: center; gap: 12px; min-height: 40px; padding: 8px 12px; border-radius: var(--gm-r1); background: var(--gm-slot); color: var(--gm-mut); font-size: 14px; font-weight: 800; line-height: 20px; opacity: .45; transition: opacity .3s, transform .3s; }
.wd-steps li i { position: relative; width: 20px; height: 20px; flex: none; border: 2px solid var(--gm-mut); border-radius: 50%; }
.wd-steps li.on { opacity: 1; color: #fff; transform: translateX(4px); }
.wd-steps li.on i { border-color: var(--gm-green); background: var(--gm-green); box-shadow: 0 0 12px rgba(134, 232, 92, .7); }
.wd-steps li.on i::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid #0b1024; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.wd-bar { width: 100%; height: 8px; overflow: hidden; border-radius: 999px; background: var(--gm-slot); }
.wd-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gm-cyan), var(--gm-green)); transform-origin: 0 50%; animation: wd-fill 2.2s cubic-bezier(.3, 0, .2, 1) both; }
@keyframes wd-fill { from { transform: scaleX(0); } }
.wd-win { position: relative; isolation: isolate; }
.wd-flash { position: absolute; left: calc(50% - 160px); top: 40px; z-index: -1; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 243, 176, .9), rgba(255, 201, 51, .4) 40%, transparent 70%); animation: wd-flash 1.4s ease-out both; }
@keyframes wd-flash { 0% { opacity: 0; transform: scale(.2); } 25% { opacity: 1; } 100% { opacity: .35; transform: scale(1.3); } }
.wd-burst { position: absolute; left: 50%; top: 72px; width: 0; height: 0; pointer-events: none; }
.wd-burst i { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border: 2px solid var(--gm-line); border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff3b0, #ffc933 45%, #e08e00); opacity: 0;
	animation: wd-burst 1.3s cubic-bezier(.15, .8, .3, 1) var(--t) both; }
@keyframes wd-burst { 0% { opacity: 1; transform: rotate(var(--a)) translateX(0) scale(.4); } 70% { opacity: 1; } 100% { opacity: 0; transform: rotate(var(--a)) translateX(calc(var(--d) * 2)) scale(1); } }
.wd-win .rw-check { animation: wd-pop .6s cubic-bezier(.34, 1.56, .64, 1) both; }
@keyframes wd-pop { from { transform: scale(0); } }
.wd-sum { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px; width: 100%; padding: 12px; border-radius: var(--gm-r1); background: var(--gm-slot); }
.wd-sum span { display: grid; gap: 4px; text-align: center; }
.wd-sum small { color: var(--gm-mut); font-size: 12px; font-weight: 900; line-height: 16px; }
.wd-sum b { color: #fff; font-size: 16px; line-height: 20px; }
.wd-sum .up b { color: var(--gm-green); }
.wd-sum > i { color: var(--gm-gold); font-style: normal; font-weight: 900; }
html.gm-hidden .wd-hero *, html.gm-hidden .wd-win * { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .wd-rays, .wd-coins i, .wd-send, .wd-proc-ic, .wd-flash, .wd-burst i, .wd-win .rw-check { animation: none !important; } .wd-burst { display: none; } }
