/* G2Paid additions on top of the shared shell styles: monochrome tokens, brand mark, badge, vault, admin, overlay. */
:root { --blue: #f7f9f9; --ok: #f7f9f9; }
::selection { background: rgba(247, 249, 249, .25); }
.inp:focus { box-shadow: 0 0 0 3px rgba(247, 249, 249, .12); }
.search-in input { caret-color: var(--fg); }
.toast { background: var(--fg); color: #0a0a0a; font-weight: 500; }
.hidetog input:checked + .sw { background: var(--fg); }
.hidetog input:checked + .sw::after { background: #0a0a0a; }
.hidetog input:focus-visible + .sw { outline-color: var(--fg); }
.goal .gr-fg { stroke: var(--fg); }
.toprow.podium .tu, .mr-goal { color: var(--fg); }
.emb-live { color: #fff; } .emb-live::before { background: #fff; box-shadow: 0 0 10px #fff; }

.tell { background: var(--fg); color: #0a0a0a; }
.st-meta span, .tipdone b, .gift-split span { color: var(--fg); }
.pill-state.ok { background: rgba(255, 255, 255, .1); color: var(--fg); }
.pill-state.bad { background: rgba(244, 33, 46, .1); color: #ff6b74; }
.ca-top:not([hidden]) { gap: 8px; }
.chart .wait .pill-state { height: auto; display: inline-flex; padding: 3px 9px; place-items: initial; }

/* Ask Grok sheet */
.gsheet .modal-in { max-width: 560px; padding: 26px; position: relative; overflow: hidden; }
.gsheet .modal-in::before { content: ""; position: absolute; inset: -40% -20% auto; height: 260px; background: radial-gradient(closest-side, rgba(255,255,255,.10), transparent); pointer-events: none; }
.gs-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; position: relative; }
.gs-orb { width: 46px; height: 46px; border-radius: 50%; flex: none; position: relative; background: conic-gradient(from 200deg, #ffffff, #2a2a2a, #d0d0d0, #111111, #f2f2f2, #ffffff); animation: spin 6s linear infinite; }
.gs-orb::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, rgba(255,255,255,.85), rgba(255,255,255,.05) 45%, #0a0a0a 75%); }
.gs-orb.busy { animation-duration: 1.1s; }
.gs-head b { display: block; font-size: 20px; letter-spacing: -.02em; } .gs-head span { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.gsheet textarea { width: 100%; min-height: 96px; resize: vertical; padding: 14px; border-radius: 14px; border: 1px solid var(--border); background: #000; color: var(--fg); font: 400 16px/1.45 var(--sans, Inter); outline: 0; }
.gsheet textarea:focus { border-color: rgba(255,255,255,.45); }
.gs-ex { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 16px; }
.gs-ex button { border: 1px solid var(--border); border-radius: 999px; padding: 5px 11px; font-size: 12px; color: var(--muted); }
.gs-ex button:hover { color: var(--fg); border-color: rgba(255,255,255,.3); }
.gs-out { margin-top: 14px; }
.grok-strip { cursor: pointer; flex-direction: row; height: auto; }
@media (max-width: 767px) { .grok-strip { flex-wrap: wrap; } .grok-strip .go { margin-left: 0; } }
.grok-strip .orb { position: relative; }

/* brand: the open G2 mark on its own */
.brand { display: inline-flex; align-items: center; color: var(--fg); }
.brand svg { width: 57px; height: 26px; flex: none; }
.brand.sm svg { width: 48px; height: 22px; }
.rail.mini .rail-logo { padding: 0 4px; } .rail.mini .brand svg { width: 46px; height: 21px; }
@media (max-width: 1279px) { .rail .rail-logo { padding: 0 4px; } .rail .brand svg { width: 46px; height: 21px; } }
.acct .av svg { width: 28px; height: 12.75px; }
.kpis.k5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) { .kpis.k5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* the reward badge (key + G2A), the twin of the original's pay badge */
.g2a { gap: 0; padding: 0 6px; }
.g2a svg { width: 31.6px; height: 9px; margin: 0; }
.g2a.lg { padding: 0 9px; } .g2a.lg svg { width: 45.6px; height: 13px; }
.g2a.xs { padding: 0 4px; } .g2a.xs svg { width: 22.8px; height: 6.5px; }
.hero h1 { white-space: normal; text-wrap: balance; }
.hero h1 .g2w svg { display: inline-block; height: .73em; width: 2.56em; vertical-align: baseline; }

/* wallet-free notes */
.warn { display: flex; gap: 8px; align-items: flex-start; margin-top: 8px; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255, 210, 54, .25); background: rgba(255, 210, 54, .06); color: #f1dd9a; font-size: 12.5px; line-height: 1.45; }
.okline { display: flex; gap: 10px; align-items: center; margin-top: 8px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line2); background: rgba(255,255,255,.03); font-size: 13px; }
.okline img, .okline .ini { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex: none; font-size: 12px; }
.okline small { display: block; color: var(--muted); font-size: 12px; }
.av-img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }

/* goal picker */
.gpick { position: relative; }
.gres { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 4px); background: var(--bg); border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 0 15px rgba(255,255,255,.1); max-height: 320px; overflow: auto; display: none; }
.gres.on { display: block; }
.gres button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; text-align: left; }
.gres button:hover { background: var(--hover); }
.gres img, .gres .gph { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: var(--card); flex: none; }
.gres b { display: block; font-size: 14px; font-weight: 600; }
.gres small { display: block; color: var(--muted); font-size: 12px; }
.gres p { margin: 0; padding: 12px; color: var(--muted); font-size: 13px; }
.gsel { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line2); background: var(--bg); }
.gsel img, .gsel .gph { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; background: var(--card); flex: none; }
.gsel b { display: block; font-size: 14px; } .gsel small { display: block; color: var(--muted); font-size: 12.5px; }
.gsel button { margin-left: auto; color: var(--muted); font-size: 13px; }

/* vault */
.vault-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.vhead { display: flex; align-items: center; gap: 14px; }
.vhead .ini, .vhead img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; font-size: 18px; }
.vhead b { display: block; font-size: 18px; } .vhead small { display: block; color: var(--muted); font-size: 13.5px; }
.vhead .btn { margin-left: auto; }
.rewards { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.rw { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); }
.rw .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--fg); color: #0a0a0a; display: grid; place-items: center; flex: none; }
.rw .ic svg { width: 20px; height: 20px; }
.rw .tx { min-width: 0; flex: 1; }
.rw .tx b { display: block; font-size: 15px; } .rw .tx small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.rw .amt { font-variant-numeric: tabular-nums; font-weight: 600; }
.code { margin-top: 10px; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: #000; border: 1px dashed rgba(255,255,255,.25); font: 500 16px var(--mono); letter-spacing: .06em; word-break: break-all; }
.code button { margin-left: auto; flex: none; color: var(--fg7); }
.code button svg { width: 16px; height: 16px; }
.pill-state.held { color: #f1dd9a; } .pill-state.held i { background: #f1dd9a; }
.authbox { display: flex; flex-direction: column; gap: 10px; }
.authbox .btn { height: 48px; font-size: 15px; }
.authbox .or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; margin: 6px 0; }
.authbox .or::before, .authbox .or::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.otp { letter-spacing: .5em; text-align: center; font: 600 22px var(--mono); }
.shield { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.shield div { display: flex; gap: 10px; font-size: 13.5px; color: var(--fg7); line-height: 1.45; }
.shield svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--fg); }

/* deposit page */
.depo { max-width: 560px; margin: 40px auto 0; }
.depo .addr { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 14px; background: #000; border: 1px solid var(--line2); font: 500 14px var(--mono); word-break: break-all; }
.depo .addr button { margin-left: auto; flex: none; color: var(--fg7); } .depo .addr svg { width: 16px; height: 16px; }
.depo .qrwrap { display: flex; gap: 18px; align-items: center; margin: 16px 0; }
.depo .qr-box { width: 148px; height: 148px; background: #fff; border-radius: 12px; padding: 8px; flex: none; }
.depo .qr-box canvas, .depo .qr-box img { width: 100%; height: 100%; image-rendering: pixelated; }

/* admin */
.adm { display: grid; gap: 16px; }
.adm table { width: 100%; border-collapse: collapse; font-size: 13px; }
.adm td, .adm th { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
.adm th { font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.adm textarea.inp { height: 120px; padding: 10px 12px; font: 12.5px/1.5 var(--mono); }
.adm .row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.adm .btn-xs { height: 30px; padding: 0 12px; font-size: 12.5px; border: 1px solid var(--border); border-radius: 999px; }
.adm .btn-xs:hover { background: var(--card); }

/* footer */
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 24px 30px; border-top: 1px solid var(--border); color: var(--muted); font-size: 12.5px; max-width: none; }
.foot span:last-child { display: flex; gap: 16px; } .foot a:hover { color: var(--fg); }

/* overlay mode for OBS (/embed/:handle) */
body.overlay { background: transparent; }
body.overlay .rail, body.overlay .top, body.overlay .foot { display: none; }
body.overlay .view { padding: 24px; min-height: 0; }
.emb .rk-key { width: 44px; height: 44px; border-radius: 12px; background: #fff; color: #000; display: grid; place-items: center; }
.emb .rk-key svg { width: 24px; height: 24px; }

/* share card + misc */
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.25); border-top-color: #fff; animation: spin .8s linear infinite; display: inline-block; vertical-align: -3px; }
.muted { color: var(--muted); }
.mt8 { margin-top: 8px; } .mt16 { margin-top: 16px; } .mt24 { margin-top: 24px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tag-ok { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line2); font-size: 12px; color: var(--fg7); }
@media (max-width: 1000px) { .vault-grid { grid-template-columns: 1fr; } .grid2 { grid-template-columns: 1fr; } }
