/* G2Paid interface styles. */
:root {
  --bg: #0a0a0a; --card: #1a1a1a; --card2: #141414; --border: #1f2228; --hover: rgba(31, 34, 40, .55);
  --fg: #f7f9f9; --fg7: rgba(247, 249, 249, .7); --fg45: rgba(247, 249, 249, .45); --muted: #71767b; --line: rgba(255, 255, 255, .06); --line2: rgba(255, 255, 255, .1);
  --ok: #00ba7c; --warn: #ffd236; --bad: #f4212e; --blue: #1d9bf0;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --rail: 275px; color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 15px/1.4 var(--sans); font-optical-sizing: auto; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
img { display: block; }
svg { display: block; }
.mono { font-family: var(--mono); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
::selection { background: rgba(29, 155, 240, .35); }

/* ---------------------------------------------------------------- shell: left rail + main */
.shell { display: flex; min-height: 100svh; }
.rail { position: sticky; top: 0; z-index: 60; height: 100svh; flex: none; width: var(--rail); transition: width .2s; }
.rail-in { position: absolute; inset: 0 auto 0 0; width: var(--rail); display: flex; flex-direction: column; justify-content: space-between; padding: 0 12px 12px; border-right: 1px solid var(--border); background: var(--bg); overflow: hidden auto; transition: width .2s; }
.rail-logo { display: flex; align-items: center; height: 64px; width: fit-content; padding: 0 9px; border-radius: 999px; }
.rail-logo img { height: 30px; width: auto; }
.nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.nav a { display: flex; align-items: center; gap: 20px; width: fit-content; padding: 12px; border-radius: 999px; color: var(--fg7); transition: background .15s, color .15s; }
.nav a:hover { background: var(--hover); color: var(--fg); }
.nav a svg { width: 26px; height: 26px; flex: none; }
.nav a span { font-size: 20px; line-height: 26px; white-space: nowrap; }
.nav a.on { color: var(--fg); }
.nav a.on span { font-weight: 700; }
.acct { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px; margin-bottom: 8px; border-radius: 999px; transition: background .15s; }
.acct:hover { background: var(--hover); }
.acct .av { width: 40px; height: 40px; border-radius: 50%; background: var(--card); box-shadow: inset 0 0 0 1px var(--border); display: grid; place-items: center; flex: none; }
.acct .av img { height: 19px; }
.acct b { display: block; font-size: 14px; }
.acct small { display: block; font-size: 14px; color: var(--muted); }
.acct .x { margin-left: auto; color: var(--muted); width: 18px; height: 18px; flex: none; }
.acct > span { min-width: 0; overflow: hidden; }
.collapse { position: absolute; top: 16px; left: var(--rail); transform: translateX(-50%); width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border); background: var(--bg); color: var(--muted); display: grid; place-items: center; z-index: 2; transition: left .2s, background .15s, color .15s; }
.collapse:hover { background: var(--card); color: var(--fg); }
.collapse svg { width: 16px; height: 16px; transition: transform .2s; }
.rail.mini { --rail: 80px; }
.rail.mini .nav a span, .rail.mini .acct > span, .rail.mini .acct .x { display: none; }
.rail.mini .collapse svg { transform: rotate(180deg); }
.main { flex: 1; min-width: 0; }

/* ---------------------------------------------------------------- top bar */
.top { position: sticky; top: 0; z-index: 50; height: 64px; background: rgba(10, 10, 10, .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.top nav { display: flex; align-items: center; gap: 16px; height: 64px; padding: 0 24px; }
.top .mlogo { display: none; }
.top .mlogo img { height: 26px; }
.search { flex: 1; display: flex; justify-content: center; min-width: 0; }
.search-box { position: relative; width: 100%; max-width: 560px; }
.search-in { display: flex; align-items: center; height: 44px; border-radius: 999px; border: 1px solid var(--border); background: var(--bg); transition: border-color .15s; }
.search-in:focus-within { border-color: var(--blue); }
.search-in svg { width: 16px; height: 16px; color: var(--muted); margin: 0 4px 0 14px; flex: none; }
.search-in input { flex: 1; min-width: 0; height: 40px; border: 0; outline: 0; background: transparent; padding: 0 16px 0 4px; font-size: 14px; caret-color: var(--blue); }
.search-in input::placeholder { color: var(--muted); }
.typeahead { position: absolute; left: 0; right: 0; top: 50px; background: var(--bg); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 0 15px rgba(255, 255, 255, .12), 0 0 3px 1px rgba(255, 255, 255, .08); padding: 6px 0; display: none; max-height: 60vh; overflow: auto; }
.typeahead.on { display: block; }
.typeahead a, .typeahead p { display: flex; align-items: center; gap: 12px; padding: 10px 16px; margin: 0; font-size: 14px; }
.typeahead a:hover, .typeahead a.sel { background: var(--hover); }
.typeahead img, .typeahead .ini { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: none; }
.typeahead small { color: var(--muted); display: block; font-size: 13px; }
.typeahead p { color: var(--muted); }
.acts { margin-left: auto; display: flex; align-items: center; gap: 8px; flex: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; font-size: 14px; font-weight: 500; white-space: nowrap; transition: background .15s, border-color .15s, opacity .15s; }
.btn[disabled], .btn.dim { opacity: .5; pointer-events: none; }
.btn-w { background: var(--fg); color: #0f1419; padding: 8px 16px; }
.btn-w:hover { background: #d7dbdc; }
.btn-o { border: 1px solid rgba(247, 249, 249, .12); color: var(--fg); height: 36px; padding: 0 16px; font-size: 13px; }
.btn-o:hover { background: var(--card); }
.btn-l { padding: 12px 20px; }
.btn-line { border: 1px solid var(--border); padding: 12px 20px; }
.btn-line:hover { background: var(--card); }
.wallet-btn img { width: 18px; height: 18px; border-radius: 5px; }
.menu-btn { display: none; width: 36px; height: 36px; border-radius: 50%; place-items: center; }
.menu-btn:hover { background: var(--card); }
.menu-btn svg { width: 22px; height: 22px; }

/* ---------------------------------------------------------------- page frame */
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.view { padding-bottom: 96px; min-height: calc(100svh - 64px); }
.page-h { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 28px 0 18px; flex-wrap: wrap; }
.page-h h1 { margin: 0; font-size: 28px; font-weight: 600; letter-spacing: -.02em; }
.page-h p { margin: 6px 0 0; color: var(--fg45); font-size: 15px; max-width: 640px; }
.h2 { margin: 0; font-size: 24px; font-weight: 500; letter-spacing: -.02em; display: flex; align-items: center; gap: 8px; }
.fade { animation: fadeUp .5s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.cardin { animation: cardIn .6s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px) scale(.99); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- home hero */
.hero { padding: 48px 0 0; }
.hero-in { max-width: 1024px; margin: 0 auto 80px; text-align: center; }
.hero h1 { margin: 0; font-size: 60px; font-weight: 500; line-height: 1.05; letter-spacing: -.035em; white-space: nowrap; }
.hero h1 .w { display: inline-block; animation: fadeUp .6s cubic-bezier(.2, .7, .2, 1) both; }
.hero h1 .ap { display: inline-flex; align-items: baseline; gap: .02em; }
.hero h1 .ap svg { width: .74em; height: .88em; align-self: center; transform: translateY(-.06em); }
.hero p { margin: 20px auto 0; max-width: 672px; font-size: 18px; line-height: 1.6; color: var(--fg45); text-wrap: balance; }
.hero .cta { margin-top: 36px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- feature cards */
.tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.tile { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; border-radius: 16px; border: 1px solid var(--line); background: var(--card); height: 280px; transition: border-color .2s, box-shadow .2s; }
.tile:hover { border-color: rgba(255, 255, 255, .2); box-shadow: 0 10px 30px rgba(255, 255, 255, .03); }
.tile.s3 { grid-column: span 3; } .tile.s2 { grid-column: span 2; } .tile.s6 { grid-column: span 6; height: auto; }
.tile-art { position: absolute; inset: 0; overflow: hidden; }
.tile-foot { position: relative; z-index: 3; margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding: 16px; font-size: 15px; background: linear-gradient(to top, var(--card) 35%, rgba(26, 26, 26, 0)); }
.tile-foot span:last-child { color: var(--fg7); transition: color .15s; }
.tile:hover .tile-foot span:last-child { color: var(--fg); }
/* explore art: tiles panning diagonally */
.pan { position: absolute; left: -6%; top: -12%; display: grid; grid-template-columns: repeat(4, 140px); gap: 12px; transform: rotate(0deg); animation: pan 38s linear infinite alternate; }
@keyframes pan { from { transform: translate(0, 0); } to { transform: translate(-120px, -150px); } }
.mini-t { width: 140px; border-radius: 10px; background: var(--card2); border: 1px solid var(--line); padding: 6px; }
.mini-t .im { aspect-ratio: 1; border-radius: 7px; background: #222; overflow: hidden; position: relative; }
.mini-t .im img { width: 100%; height: 100%; object-fit: cover; }
.mini-t .im .chip { position: absolute; left: 6px; bottom: 6px; }
.mini-t p { margin: 7px 2px 2px; font-size: 11px; font-weight: 700; display: flex; gap: 5px; align-items: baseline; white-space: nowrap; overflow: hidden; }
.mini-t p small { color: var(--muted); font-weight: 400; font-size: 9px; }
.sk { background: linear-gradient(100deg, #1c1c1c 20%, #262626 40%, #1c1c1c 60%); background-size: 200% 100%; animation: sk 2.4s ease-in-out infinite; }
@keyframes sk { from { background-position: 150% 0; } to { background-position: -50% 0; } }
.sk-line { height: 8px; border-radius: 4px; margin: 8px 2px 2px; width: 70%; }
/* payments art */
.payrows { position: absolute; inset: 18px 28px auto; display: flex; flex-direction: column; gap: 10px; }
.payrow { display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 14px; border-radius: 12px; background: var(--card2); border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(0, 0, 0, .35); }
.payrow .l b { display: block; font-size: 19px; font-weight: 500; letter-spacing: -.01em; line-height: 1.05; }
.payrow .l small { display: block; font-size: 13px; font-weight: 600; }
.payrow .pair { display: flex; align-items: center; gap: 10px; margin-left: auto; margin-right: auto; color: var(--muted); }
.payrow .pair svg.sw { width: 16px; height: 16px; }
.payrow .st { font-size: 11px; color: var(--fg45); font-weight: 600; min-width: 84px; text-align: right; }
.payrow .st.ok { color: var(--ok); }
.coin-dot { width: 30px; height: 30px; border-radius: 50%; background: #2a2a2a; overflow: hidden; flex: none; box-shadow: 0 0 0 2px var(--card2); }
.coin-dot img { width: 100%; height: 100%; object-fit: cover; }
.g2a { display: inline-flex; align-items: center; gap: 1px; height: 22px; padding: 0 6px 0 5px; border-radius: 5px; background: #fff; color: #000; font: 600 12px/1 var(--sans); letter-spacing: -.01em; flex: none; }
.g2a svg { width: 10px; height: 12px; margin-top: -2px; }
.g2a.lg { height: 30px; padding: 0 9px 0 7px; font-size: 16px; border-radius: 7px; }
.g2a.lg svg { width: 13px; height: 16px; }
.g2a.xs { height: 16px; font-size: 9px; padding: 0 4px 0 3px; border-radius: 4px; }
.g2a.xs svg { width: 8px; height: 9px; margin-top: -1px; }
.g2a.dark { background: #000; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
/* analytics art */
.an { position: absolute; inset: 0; padding: 22px 20px; }
.an small { font-size: 12px; color: var(--fg7); display: flex; justify-content: space-between; }
.an b { display: block; margin-top: 4px; font-size: 32px; font-weight: 500; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.an svg { position: absolute; left: 0; right: 0; bottom: 48px; width: 100%; height: 110px; }
/* launch art */
.la { position: absolute; inset: 0; padding: 22px 20px; }
.la .lbl { font: 500 11px/1 var(--mono); letter-spacing: .12em; color: var(--fg45); text-transform: uppercase; }
.route-in { margin-top: 16px; display: flex; align-items: center; gap: 10px; height: 44px; border-radius: 999px; border: 2px solid var(--fg); padding: 0 6px 0 14px; background: var(--bg); box-shadow: 0 0 0 4px rgba(247, 249, 249, .06); }
.route-in input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 14px; }
.route-in input::placeholder { color: var(--muted); }
.route-in button { width: 30px; height: 30px; border-radius: 50%; background: var(--fg); color: #000; display: grid; place-items: center; flex: none; }
.route-in button svg { width: 15px; height: 15px; }
.la p { margin: 14px 2px 0; font-size: 13px; color: var(--fg45); line-height: 1.5; }
/* docs art */
.dc { position: absolute; inset: 0; padding: 18px 20px; font: 12px/1.55 var(--mono); color: var(--fg45); -webkit-mask: linear-gradient(to bottom, transparent, #000 18%, #000 70%, transparent); mask: linear-gradient(to bottom, transparent, #000 18%, #000 70%, transparent); }
.dc .k { color: var(--fg45); letter-spacing: .1em; font-size: 11px; margin: 14px 0 6px; }
.dc .h { color: var(--fg); font: 600 14px/1.3 var(--sans); margin-bottom: 4px; }
.dc p { margin: 0; font-family: var(--sans); font-size: 12.5px; }
/* grok strip */
.grok-strip { display: flex; align-items: center; gap: 20px; padding: 22px 24px; }
.grok-strip .orb { width: 54px; height: 54px; border-radius: 50%; flex: none; background: conic-gradient(from 200deg, #ffffff, #2a2a2a, #d0d0d0, #111111, #f2f2f2, #ffffff); filter: saturate(1.1); position: relative; animation: spin 7s linear infinite; }
.grok-strip .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, .15) 45%, rgba(10, 10, 10, .2) 70%); }
@keyframes spin { to { transform: rotate(360deg); } }
.grok-strip h3 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.grok-strip p { margin: 3px 0 0; color: var(--fg45); font-size: 14px; }
.grok-strip .go { margin-left: auto; }

/* ---------------------------------------------------------------- top tokens + profiles */
.board { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px 40px; margin-top: 64px; }
.board-h { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 32px; }
.board-h .l { display: flex; align-items: center; gap: 10px 16px; min-width: 0; flex-wrap: wrap; }
.board .h2 { white-space: nowrap; }
.chips { display: flex; gap: 6px; }
.chipb { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px 0 4px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .04); font-size: 12px; font-weight: 500; color: var(--fg7); }
.chipb img, .chipb svg { width: 16px; height: 16px; border-radius: 4px; }
.chipb.on { border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .12); color: var(--fg); }
.pager { display: flex; align-items: center; gap: 4px; font: 12px var(--mono); color: var(--fg7); }
.pager button { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: var(--fg7); }
.pager button:hover { background: rgba(255, 255, 255, .06); color: var(--fg); }
.pager button[disabled] { opacity: .3; pointer-events: none; }
.pager button svg { width: 16px; height: 16px; }
.pager span { min-width: 44px; text-align: center; }
.tgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: start; align-content: start; align-self: start; }
.profs, .plist { align-self: start; }
.tok { display: block; border-radius: 14px; border: 1px solid var(--line); background: var(--card); padding: 8px; transition: border-color .2s, transform .2s; }
.tok:hover { border-color: rgba(255, 255, 255, .2); }
.tok .im { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #222; border: 1px solid var(--line); }
.tok .im img.c { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tok:hover .im img.c { transform: scale(1.04); }
.tok .age { position: absolute; top: 8px; right: 8px; font: 500 10px var(--mono); padding: 3px 7px; border-radius: 999px; background: rgba(0, 0, 0, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: var(--fg7); }
.tok .to { position: absolute; left: 8px; bottom: 8px; right: 8px; display: flex; }
.who { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; height: 30px; padding: 0 10px 0 4px; border-radius: 999px; background: rgba(10, 10, 10, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .08); font-size: 12px; font-weight: 700; white-space: nowrap; }
.who .g2a { height: 20px; font-size: 11px; padding: 0 5px 0 4px; }
.who span { overflow: hidden; text-overflow: ellipsis; }
.tok .meta { padding: 12px 6px 6px; }
.tok .nm { display: flex; align-items: baseline; gap: 8px; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; }
.tok .nm span { overflow: hidden; text-overflow: ellipsis; }
.tok .nm small { font: 500 10.5px var(--mono); color: var(--muted); text-transform: uppercase; flex: none; }
.tok .mc { margin-top: 4px; font-size: 16px; font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.tok .mc small { font: 500 10.5px var(--mono); color: var(--muted); margin-left: 4px; }
.tok.first { align-self: stretch; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; min-height: 100%; border-style: dashed; border-color: rgba(255, 255, 255, .14); padding: 20px; color: var(--fg7); font-size: 14px; }
.tok.first .plus { width: 44px; height: 44px; border-radius: 50%; background: var(--fg); color: #000; display: grid; place-items: center; }
.tok.first .plus svg { width: 20px; height: 20px; }
.tok.ghost .im { border: 0; }
.profs { display: flex; flex-direction: column; gap: 16px; }
.prof { display: block; border-radius: 14px; border: 1px solid var(--line); background: var(--card); overflow: hidden; transition: border-color .2s; }
.prof:hover { border-color: rgba(255, 255, 255, .2); }
.prof .bn { height: 110px; background: radial-gradient(120% 140% at 85% 0%, #3a3a3c 0%, #1f1f21 55%, #161616 100%); position: relative; }
.prof .bn::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .13) 1px, transparent 1.3px) 0 0 / 9px 9px; -webkit-mask: radial-gradient(70% 120% at 90% 10%, #000, transparent); mask: radial-gradient(70% 120% at 90% 10%, #000, transparent); }
.prof .bd { padding: 0 16px 14px; }
.ini { display: grid; place-items: center; border-radius: 50%; background: linear-gradient(180deg, #a5abb8, #858a96); color: #fff; font-weight: 600; letter-spacing: .02em; flex: none; }
.prof .ini { width: 68px; height: 68px; font-size: 26px; margin-top: -36px; position: relative; box-shadow: 0 0 0 4px var(--card); }
.prof h4 { margin: 8px 0 0; font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.prof .hd { color: var(--muted); font-size: 15px; }
.tagp { display: inline-flex; align-items: center; gap: 5px; margin-top: 4px; padding: 2px 8px; border-radius: 5px; background: rgba(255, 255, 255, .06); color: var(--fg45); font-size: 12px; }
.tagp svg { width: 12px; height: 12px; }
.prof .nums { display: flex; align-items: baseline; gap: 18px; margin-top: 6px; font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.prof .nums small { font-weight: 400; color: var(--muted); font-size: 14px; margin-left: 4px; }
.prof .rec { text-align: right; font-size: 11px; color: var(--fg45); margin-top: 2px; }
.empty-card { border-radius: 14px; border: 1px dashed rgba(255, 255, 255, .14); padding: 22px; color: var(--fg45); font-size: 14px; line-height: 1.55; }
.empty-card b { color: var(--fg); display: block; font-size: 15px; margin-bottom: 4px; }
/* payments lists */
.plist { display: flex; flex-direction: column; gap: 10px; }
.prow { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); }
.prow .amt b { display: block; font-size: 26px; font-weight: 500; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.prow .amt span { color: var(--fg45); font-size: 15px; }
.prow .amt span b { display: inline; font-size: 15px; color: var(--fg); font-weight: 700; letter-spacing: 0; }
.prow .r { margin-left: auto; text-align: right; color: var(--fg45); font: 12px var(--mono); }
.prow .ini { width: 40px; height: 40px; font-size: 15px; }

/* ---------------------------------------------------------------- forms, dialogs */
.panel { border-radius: 16px; border: 1px solid var(--line); background: var(--card); padding: 22px; }
.panel h3 { margin: 0 0 4px; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.panel .sub { margin: 0 0 18px; color: var(--fg45); font-size: 14px; line-height: 1.5; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: flex; justify-content: space-between; font-size: 13px; color: var(--fg7); margin-bottom: 7px; font-weight: 500; }
.field > span small { color: var(--muted); font-weight: 400; }
.inp { width: 100%; height: 46px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg); padding: 0 14px; outline: 0; font-size: 15px; transition: border-color .15s, box-shadow .15s; }
textarea.inp { height: 92px; padding: 12px 14px; resize: vertical; line-height: 1.45; }
.inp:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29, 155, 240, .18); }
.inp::placeholder { color: #50555b; }
.field.err .inp, .field.err .drop { border-color: var(--bad); }
.field .msg { display: none; color: #ff6b74; font-size: 12.5px; margin-top: 6px; }
.field.err .msg { display: block; }
.inp-pre { position: relative; }
.inp-pre .p { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; font-size: 15px; }
.inp-pre .inp { padding-left: 30px; }
.inp-pre .s { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font: 12px var(--mono); pointer-events: none; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.drop { display: flex; align-items: center; gap: 16px; padding: 14px; border-radius: 14px; border: 1px dashed rgba(255, 255, 255, .18); background: var(--bg); cursor: pointer; transition: border-color .15s, background .15s; }
.drop:hover, .drop.over { border-color: var(--fg7); background: #0f0f0f; }
.drop .pv { width: 84px; height: 84px; border-radius: 12px; background: var(--card); display: grid; place-items: center; overflow: hidden; flex: none; color: var(--muted); }
.drop .pv img { width: 100%; height: 100%; object-fit: cover; }
.drop .pv svg { width: 26px; height: 26px; }
.drop b { display: block; font-size: 15px; font-weight: 600; }
.drop small { display: block; color: var(--muted); font-size: 13px; margin-top: 3px; }
.drop input { display: none; }
.routebox { border-radius: 14px; border: 1px solid rgba(255, 255, 255, .1); background: linear-gradient(180deg, #161616, #121212); padding: 16px; margin-bottom: 16px; }
.routebox .hd { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.routebox .hd .g2a { margin-left: auto; }
.routebox .field { margin-bottom: 12px; }
.routebox .note { font-size: 12.5px; color: var(--muted); line-height: 1.5; display: flex; gap: 8px; }
.routebox .note svg { width: 14px; height: 14px; flex: none; margin-top: 2px; }
.grok-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--fg7); padding: 4px 10px 4px 4px; border-radius: 999px; background: rgba(255, 255, 255, .06); margin-bottom: 14px; }
.grok-tag i { width: 18px; height: 18px; border-radius: 50%; background: conic-gradient(from 200deg, #ffffff, #2a2a2a, #d0d0d0, #111111, #f2f2f2, #ffffff); }
.more { display: flex; align-items: center; gap: 8px; color: var(--fg7); font-size: 14px; padding: 6px 0 14px; }
.more svg { width: 14px; height: 14px; transition: transform .2s; }
.more.on svg { transform: rotate(90deg); }
.socials { display: none; }
.socials.on { display: block; }
.totals { border-radius: 12px; background: var(--bg); border: 1px solid var(--border); padding: 12px 14px; font-size: 13.5px; margin-bottom: 16px; }
.totals div { display: flex; justify-content: space-between; padding: 3px 0; color: var(--fg7); }
.totals div b { color: var(--fg); font-weight: 600; font-variant-numeric: tabular-nums; }
.totals div.t { border-top: 1px solid var(--border); margin-top: 6px; padding-top: 9px; color: var(--fg); font-weight: 600; }
.formerr { display: none; border-radius: 12px; border: 1px solid rgba(244, 33, 46, .35); background: rgba(244, 33, 46, .08); color: #ffb3b8; padding: 11px 14px; font-size: 13.5px; margin-bottom: 14px; line-height: 1.45; }
.formerr.on { display: block; }
.formerr a { text-decoration: underline; margin-right: 12px; }
.wide { width: 100%; height: 50px; font-size: 15px; font-weight: 600; }
.launch-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.sticky { position: sticky; top: 88px; }
.preview .tok { pointer-events: none; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.steps li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 14px; }
.steps li i { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #3a3d42; flex: none; display: grid; place-items: center; margin-top: -1px; }
.steps li.on { color: var(--fg); }
.steps li.on i { border-color: var(--fg); border-top-color: transparent; animation: spin .8s linear infinite; }
.steps li.ok { color: var(--fg7); }
.steps li.ok i { border-color: var(--ok); background: var(--ok); }
.steps li.ok i::after { content: ""; width: 9px; height: 5px; border-left: 2px solid #000; border-bottom: 2px solid #000; transform: rotate(-45deg) translate(1px, -1px); }
.steps li small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; word-break: break-all; }
.done-card { text-align: center; padding: 10px 0 0; }
.done-card .tok { max-width: 240px; margin: 0 auto 18px; text-align: left; }
.done-card h3 { font-size: 24px; margin: 0 0 6px; letter-spacing: -.02em; }
.done-card p { color: var(--fg45); margin: 0 0 18px; }
.done-card .cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.copy { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--border); font: 12.5px var(--mono); color: var(--fg7); }
.copy:hover { background: var(--card); color: var(--fg); }
.copy span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.copy svg { width: 14px; height: 14px; flex: none; }
/* modal */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(91, 112, 131, .4); }
.modal.on { display: flex; animation: fadeIn .15s both; }
@keyframes fadeIn { from { opacity: 0; } }
.modal-in { width: 100%; max-width: 420px; max-height: calc(100svh - 32px); overflow: auto; border-radius: 16px; background: var(--bg); box-shadow: 0 0 15px rgba(255, 255, 255, .12), 0 0 3px 1px rgba(255, 255, 255, .08); padding: 22px; animation: cardIn .25s both; }
.modal-in h3 { margin: 0 0 4px; font-size: 20px; font-weight: 700; }
.modal-in .sub { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.wlist { display: flex; flex-direction: column; gap: 8px; }
.wlist button, .wlist a { display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); font-size: 15px; font-weight: 600; text-align: left; transition: background .15s; }
.wlist button:hover, .wlist a:hover { background: var(--card); }
.wlist img { width: 32px; height: 32px; border-radius: 8px; }
.wlist small { margin-left: auto; color: var(--muted); font-weight: 400; font-size: 12px; }
.x-close { float: right; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; margin: -6px -6px 0 0; color: var(--fg7); }
.x-close:hover { background: var(--card); }
.x-close svg { width: 18px; height: 18px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 120; background: var(--blue); color: #fff; padding: 11px 18px; border-radius: 8px; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; max-width: calc(100vw - 32px); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
/* mobile menu */
.mmenu { position: fixed; inset: 0; z-index: 90; display: none; background: rgba(0, 0, 0, .6); }
.mmenu.on { display: block; }
.mmenu-in { position: absolute; top: 0; bottom: 0; left: 0; width: min(300px, 86vw); background: var(--bg); border-right: 1px solid var(--border); padding: 8px 12px 16px; display: flex; flex-direction: column; animation: slideIn .2s both; overflow: auto; }
@keyframes slideIn { from { transform: translateX(-100%); } }
.mmenu .nav a { width: 100%; }

/* ---------------------------------------------------------------- inner pages */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.kpi { border-radius: 16px; border: 1px solid var(--line); background: var(--card); padding: 18px 18px 16px; }
.kpi small { display: block; font-size: 12px; color: var(--fg7); }
.kpi b { display: block; font-size: 30px; font-weight: 500; letter-spacing: -.02em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.kpi span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 180px; padding-top: 10px; }
.bars div { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #f7f9f9, #9aa0a6); min-height: 3px; opacity: .85; position: relative; }
.bars div:hover { opacity: 1; }
.bars-x { display: flex; gap: 6px; margin-top: 8px; font: 10px var(--mono); color: var(--muted); }
.bars-x span { flex: 1; text-align: center; overflow: hidden; }
.docs { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; }
.toc { position: sticky; top: 88px; align-self: start; display: flex; flex-direction: column; gap: 2px; }
.toc a { padding: 7px 12px; border-radius: 8px; color: var(--fg7); font-size: 14px; }
.toc a:hover { background: var(--hover); color: var(--fg); }
.doc h2 { font-size: 24px; font-weight: 600; letter-spacing: -.02em; margin: 34px 0 10px; scroll-margin-top: 90px; }
.doc h2:first-child { margin-top: 6px; }
.doc p, .doc li { color: var(--fg7); font-size: 15.5px; line-height: 1.65; }
.doc ul { padding-left: 20px; }
.doc code { font: 13px var(--mono); background: var(--card); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; color: var(--fg); }
.doc table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 8px 0 16px; }
.doc td, .doc th { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); color: var(--fg7); }
.doc th { font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.coin-head { display: flex; gap: 22px; align-items: center; padding: 28px 0 22px; flex-wrap: wrap; }
.coin-head .lg { width: 112px; height: 112px; border-radius: 18px; overflow: hidden; background: #222; flex: none; border: 1px solid var(--line); }
.coin-head .lg img { width: 100%; height: 100%; object-fit: cover; }
.coin-head h1 { margin: 0; font-size: 32px; font-weight: 600; letter-spacing: -.02em; }
.coin-head h1 small { font: 500 14px var(--mono); color: var(--muted); margin-left: 8px; }
.coin-head .links { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.lk { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--border); font-size: 13px; font-weight: 500; }
.lk:hover { background: var(--card); }
.lk img { width: 16px; height: 16px; border-radius: 4px; }
.chart { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--card); height: 460px; }
.chart iframe { width: 100%; height: 100%; border: 0; }
.chart .wait { height: 100%; display: grid; place-items: center; text-align: center; color: var(--fg45); padding: 24px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--fg7); }
.kv:last-child { border: 0; }
.kv b { color: var(--fg); font-weight: 600; text-align: right; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.pill-state { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .06); color: var(--fg7); }
.pill-state.ok { background: rgba(0, 186, 124, .12); color: #3ddc97; }
.pill-state.wait { background: rgba(255, 210, 54, .1); color: var(--warn); }
.pill-state i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.claim-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.big-num { font-size: 44px; font-weight: 500; letter-spacing: -.03em; font-variant-numeric: tabular-nums; margin: 6px 0 2px; }
.grok-page { max-width: 760px; margin: 0 auto; padding-top: 12px; }

/* ---------------------------------------------------------------- the project's own coin: CA pill, hero row, live card */
.ca-top { display: none; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(247, 249, 249, .12); font-size: 13px; color: var(--fg7); white-space: nowrap; transition: background .15s, color .15s; }
.ca-top:hover { background: var(--card); color: var(--fg); }
.ca-top b { color: var(--fg); font-weight: 600; }
.ca-top .mono { font-size: 12px; }
.ca-top svg { width: 14px; height: 14px; }
@media (min-width: 1280px) { .ca-top:not([hidden]) { display: inline-flex; } }
.ca-row { margin: 22px auto 0; display: flex; justify-content: center; align-items: center; gap: 8px; max-width: 100%; flex-wrap: wrap; }
.ca-copy { display: inline-flex; align-items: center; gap: 10px; min-width: 0; max-width: 100%; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--card2); color: var(--fg7); font-size: 13px; transition: background .15s, color .15s; }
.ca-copy:hover { background: var(--card); color: var(--fg); }
.ca-copy b { color: var(--fg); font-weight: 600; flex: none; }
.ca-copy .mono { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; }
.ca-copy svg { width: 14px; height: 14px; flex: none; }
.ca-row .ca-copy { flex: 0 1 auto; }
.ca-lk { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; color: var(--fg7); flex: none; transition: background .15s, color .15s; }
.ca-lk:hover { background: var(--card); color: var(--fg); }
.ca-lk img { width: 20px; height: 20px; }
.ca-lk svg { width: 18px; height: 18px; }
.live-coin { margin-top: 12px; display: grid; grid-template-columns: 400px minmax(0, 1fr); border-radius: 16px; border: 1px solid var(--line); background: var(--card); overflow: hidden; min-height: 360px; }
.lc-info { padding: 22px; display: flex; flex-direction: column; gap: 16px; border-right: 1px solid var(--line); min-width: 0; }
.lc-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.lc-logo { width: 52px; height: 52px; border-radius: 12px; background: #000; object-fit: cover; flex: none; box-shadow: inset 0 0 0 1px var(--line); }
.lc-head b { display: block; font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.lc-head div > span { display: block; font-size: 13px; color: var(--muted); }
.lc-head .pill-state { margin-left: auto; }
.wide-ca { width: 100%; justify-content: space-between; }
.lc-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lc-stats div { border-radius: 12px; background: var(--card2); border: 1px solid var(--line); padding: 12px 14px; }
.lc-stats small { display: block; font-size: 12px; color: var(--muted); }
.lc-stats b { display: block; margin-top: 4px; font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
.lc-stats b.up { color: #3ddc97; }
.lc-stats b.dn { color: #ff6b74; }
.lc-links { display: flex; align-items: center; gap: 8px; margin-top: auto; flex-wrap: wrap; }
@media (max-width: 400px) { .lc-links .btn { margin-left: 0 !important; flex: 1 1 100%; } }
.lc-chart { position: relative; min-height: 360px; background: #0d0d0d; }
.lc-chart iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lc-wait { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 24px; color: var(--fg45); font-size: 14px; }
.lc-wait b { color: var(--fg); font-size: 18px; font-weight: 600; margin-top: 8px; }
.lc-pulse { position: relative; width: 14px; height: 14px; border-radius: 50%; background: var(--warn); }
.lc-pulse::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--warn); opacity: 0; animation: lcp 1.8s ease-out infinite; }
@keyframes lcp { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
@media (max-width: 1100px) { .live-coin { grid-template-columns: minmax(0, 1fr); } .lc-info { border-right: 0; border-bottom: 1px solid var(--line); } .lc-chart { min-height: 300px; } }
@media (max-width: 767px) { .ca-row .ca-copy { flex: 1 1 100%; justify-content: center; } .lc-info { padding: 18px; } .lc-stats b { font-size: 16px; } }

.tok.own { border-color: rgba(255, 255, 255, .16); }
.own-dot { width: 8px; height: 8px; border-radius: 50%; background: #30d158; margin-left: 8px; flex: none; box-shadow: 0 0 0 3px rgba(48, 209, 88, .18); }

.split-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 92px 36px; gap: 8px; margin-bottom: 10px; align-items: center; }
.split-row .inp { height: 42px; font-size: 14px; }
.x-row { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); }
.x-row:hover { background: var(--card); color: var(--fg); }
.x-row svg { width: 16px; height: 16px; transform: rotate(45deg); }
.add-person { display: flex; align-items: center; gap: 8px; width: 100%; height: 42px; padding: 0 12px; margin-bottom: 12px; border-radius: 12px; border: 1px dashed rgba(255, 255, 255, .18); color: var(--fg7); font-size: 14px; font-weight: 500; }
.add-person:hover { border-color: var(--fg7); color: var(--fg); }
.add-person svg { width: 16px; height: 16px; }
.add-person small { margin-left: auto; color: var(--muted); font-size: 12px; font-weight: 400; }
.add-person[hidden], .share0[hidden] { display: none; }
.share0 { max-width: 150px; }
@media (max-width: 767px) { .split-row { grid-template-columns: minmax(0, 1fr) 84px 36px; } .split-row [name=sname] { grid-column: 1 / -1; grid-row: 2; } }

.tells { margin: 0 auto 18px; max-width: 420px; display: flex; flex-direction: column; gap: 8px; }
.tells p { margin: 0 0 2px; font-size: 13px; color: var(--muted); }
.tell { display: flex; align-items: center; gap: 12px; height: 50px; padding: 0 16px; border-radius: 14px; background: linear-gradient(180deg, #2b9bff, #0a7cff); color: #fff; font-weight: 600; font-size: 15px; text-align: left; }
.tell:hover { filter: brightness(1.08); }
.tell svg { width: 22px; height: 22px; flex: none; }
.tell small { margin-left: auto; font-weight: 500; font-size: 12px; opacity: .8; }

.gift { max-width: 560px; margin: 40px auto 0; text-align: center; }
.gift-card { position: relative; aspect-ratio: 1.586; border-radius: 22px; padding: 24px 26px; text-align: left; color: #fff; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between;
  background: radial-gradient(120% 140% at 0% 0%, #2a2a2e 0%, #121214 50%, #050505 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 60px rgba(0, 0, 0, .5); }
.gift-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .08) 48%, transparent 62%); pointer-events: none; }
.gift-card.sk { background: #161616; }
.gc-top { display: flex; align-items: center; justify-content: space-between; }
.gc-brand { display: flex; align-items: center; gap: 9px; font-size: 19px; font-weight: 650; letter-spacing: -.02em; }
.gc-brand img { height: 26px; }
.gc-mid { display: flex; align-items: center; gap: 16px; }
.gc-img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; background: #222; flex: none; }
.gc-mid small, .gc-bot small { display: block; font-size: 13px; color: rgba(255, 255, 255, .55); }
.gc-mid b { display: block; font-size: 24px; font-weight: 650; letter-spacing: -.02em; margin-top: 2px; }
.gc-bot { display: flex; align-items: flex-end; justify-content: space-between; }
.gc-amt { display: block; font-size: 40px; font-weight: 650; letter-spacing: -.03em; font-variant-numeric: tabular-nums; margin-top: 2px; }
.gc-tk { font: 500 15px var(--mono); color: rgba(255, 255, 255, .7); }
.gift h1 { margin: 34px 0 10px; font-size: 36px; font-weight: 650; letter-spacing: -.03em; }
.gift > p { color: var(--fg45); font-size: 16px; line-height: 1.55; margin: 0 auto; max-width: 460px; }
.gift-split { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.gift-split div { padding: 10px 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.gift-split b { display: block; font-size: 14px; } .gift-split span { display: block; color: #30d158; font-weight: 650; font-size: 18px; margin-top: 2px; }
.gift-acts { display: flex; justify-content: center; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.gift-hint { margin-top: 16px !important; font-size: 13px !important; color: var(--muted) !important; }
@media (max-width: 767px) { .gift { margin-top: 20px; } .gift-card { padding: 18px 20px; border-radius: 18px; } .gc-amt { font-size: 30px; } .gc-mid b { font-size: 19px; } .gift h1 { font-size: 28px; } }

.coin-qr { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 14px; border-radius: 14px; background: var(--bg); border: 1px solid var(--border); }
.coin-qr[hidden] { display: none; }
.qr-box { width: 96px; height: 96px; flex: none; padding: 8px; border-radius: 10px; background: #fff; }
.qr-box svg { width: 100%; height: 100%; display: block; }
.qr-box svg path, .qr-box svg rect[fill="black"] { fill: #000; }
.coin-qr b { display: block; font-size: 14px; }
.coin-qr span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 3px; line-height: 1.4; }

.mine-list { display: flex; flex-direction: column; gap: 10px; }
.mine-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.3fr) 120px 120px auto; gap: 16px; align-items: center; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); }
.mr-coin { display: flex; align-items: center; gap: 12px; min-width: 0; }
.mr-img { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; background: #222; flex: none; }
.mr-coin b { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mr-coin span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.mr-ppl { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.mr-ppl .who { background: var(--bg); }
.mr-num small { display: block; font-size: 12px; color: var(--muted); }
.mr-num b { display: block; font-size: 17px; font-weight: 650; margin-top: 2px; font-variant-numeric: tabular-nums; }
.mr-acts { display: flex; gap: 8px; }
.tell.sm, .btn.sm { height: 38px; padding: 0 14px; border-radius: 999px; font-size: 13px; }
.tell.sm svg { width: 16px; height: 16px; }
@media (max-width: 1100px) { .mine-row { grid-template-columns: minmax(0, 1fr) auto auto; } .mr-ppl { grid-column: 1 / -1; grid-row: 2; } .mr-acts { grid-column: 1 / -1; } }
@media (max-width: 520px) { .mine-row { grid-template-columns: minmax(0, 1fr) auto; } .mr-num:last-of-type { display: none; } }

.fee-hist { margin-top: 16px; }
.fh-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.fh-tot { text-align: right; flex: none; }
.fh-tot small { display: block; font-size: 12px; color: var(--muted); }
.fh-tot b { display: block; font-size: 22px; font-weight: 650; margin-top: 2px; font-variant-numeric: tabular-nums; }
.fh-bars { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 8px; height: 210px; margin-top: 18px; }
.fh-bars.fh-load { background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .04), transparent); border-radius: 12px; }
.fh-col { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; }
.fh-col i { display: block; border-radius: 6px 6px 3px 3px; background: rgba(255, 255, 255, .22); transition: background .15s; }
.fh-col.today i, .fh-col:hover i { background: #fff; }
.fh-v { display: block; text-align: center; font-size: 11.5px; font-weight: 600; white-space: nowrap; margin-bottom: 6px; height: 14px; line-height: 14px; font-variant-numeric: tabular-nums; opacity: 0; transition: opacity .15s; }
.fh-col.today .fh-v, .fh-col:hover .fh-v { opacity: 1; }
.fh-col small { display: block; height: 20px; line-height: 20px; margin-top: 6px; text-align: center; font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; }
.fh-list { margin-top: 18px; border-top: 1px solid var(--border); }
.fh-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); min-width: 0; }
.fh-row:last-child { border-bottom: 0; }
.fh-row .who { min-width: 0; }
.fh-row .who > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fh-when { margin-left: auto; color: var(--muted); font-size: 13px; white-space: nowrap; }
.fh-row b { min-width: 72px; text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 1100px) { .fh-col.odd small { visibility: hidden; } .fh-col.today small { visibility: visible; } }
@media (max-width: 560px) { .fh-bars { gap: 4px; height: 170px; } .fh-col small { visibility: hidden; } .fh-col.today small { visibility: visible; overflow: visible; } .fh-col.today .fh-v { position: absolute; right: 0; top: 0; } }

/* hide the number */
.hidetog { display: flex; align-items: center; gap: 12px; margin: 12px 0 2px; cursor: pointer; user-select: none; }
.hidetog input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.hidetog .sw { flex: none; width: 42px; height: 26px; border-radius: 13px; background: var(--line); position: relative; transition: background .2s; }
.hidetog .sw::after { content: ''; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: transform .2s; }
.hidetog input:checked + .sw { background: #34c759; }
.hidetog input:checked + .sw::after { transform: translateX(16px); }
.hidetog input:focus-visible + .sw { outline: 2px solid #34c759; outline-offset: 2px; }
.hidetog .ht b { display: block; font-size: 14px; font-weight: 600; }
.hidetog .ht small { display: block; color: var(--muted); font-size: 13px; margin-top: 1px; }

/* stream overlay */
html.embed, body.embed, body.embed .shell, body.embed .main, body.embed .view { background: transparent !important; }
body.embed .rail, body.embed header.top, body.embed footer, body.embed .mmenu, body.embed #mmenu, body.embed .toasts { display: none !important; }
body.embed .main { margin: 0 !important; padding: 0 !important; } body.embed .view { padding: 24px !important; }
.emb { display: inline-flex; align-items: center; gap: 22px; padding: 22px 24px; border-radius: 26px; background: rgba(12,12,14,.86); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 18px 50px rgba(0,0,0,.35); color: #f5f5f7; backdrop-filter: blur(16px); }
.emb-k { display: flex; align-items: center; gap: 10px; font: 600 17px/1 Inter, sans-serif; color: #d2d2d7; }
.emb-k img { width: 24px; height: 27px; filter: invert(1); }
.emb-live { font: 700 11px/1 'Geist Mono', monospace; letter-spacing: .12em; color: #34c759; font-style: normal; display: inline-flex; align-items: center; gap: 6px; margin-left: 4px; }
.emb-live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #34c759; box-shadow: 0 0 10px #34c759; }
.emb-v { margin-top: 10px; font: 700 64px/1 Inter, sans-serif; letter-spacing: -.04em; }
.emb-s { margin-top: 10px; font: 500 15px/1.3 Inter, sans-serif; color: #a1a1a6; } .emb-s b { color: #f5f5f7; font-weight: 600; }
.emb-p { margin-top: 10px; display: flex; align-items: center; gap: 8px; font: 500 13px/1 Inter, sans-serif; color: #8e8e93; }
.emb-q { margin: 0; padding: 10px; } .emb-q .qr-box { width: 112px; height: 112px; }

/* top earners */
.topchips { margin: 0 0 18px; }
.toplist { display: flex; flex-direction: column; gap: 10px; }
.toprow { display: grid; grid-template-columns: 44px 48px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); color: inherit; text-decoration: none; }
.toprow .ini { width: 48px; height: 48px; font-size: 17px; }
.toprow .rk { font: 700 22px/1 Inter, sans-serif; color: var(--muted); text-align: center; }
.toprow.podium .rk { color: var(--fg); font-size: 28px; }
.toprow .tw b { display: block; font-size: 17px; } .toprow .tw small { display: block; color: var(--muted); font-size: 13px; margin-top: 3px; }
.toprow .tu { font: 700 22px/1 Inter, sans-serif; letter-spacing: -.02em; }
.toprow.podium .tu { color: #34c759; }
.topcta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 18px; border-radius: 18px; border: 1px dashed var(--line); }
.topcta > div { flex: 1 1 260px; } .topcta b { display: block; font-size: 17px; } .topcta span { display: block; color: var(--muted); font-size: 14px; margin-top: 3px; }

/* pay-me QR */
.payqr { text-align: left; }
.payqr .qrsave { margin-top: 10px; height: 34px; padding: 0 14px; font-size: 13px; }
.forcard .payqr { margin-top: 20px; }

/* pay-me links */
.forpage { max-width: 560px; margin: 56px auto 0; }
.forcard { border-radius: 24px; border: 1px solid var(--line); background: var(--card); padding: 34px 30px 26px; text-align: center; }
.forcard .ini.big { width: 92px; height: 92px; font-size: 34px; margin: 0 auto; }
.forwho { margin-top: 16px; font-size: 30px; font-weight: 700; letter-spacing: -.02em; }
.formask { margin-top: 6px; color: var(--muted); display: inline-flex; gap: 8px; align-items: center; font-size: 15px; }
.forcard p { color: var(--fg7); font-size: 16px; line-height: 1.55; margin: 18px auto 22px; max-width: 420px; }
.forstats { display: flex; justify-content: center; gap: 22px; margin-top: 18px; color: var(--muted); font-size: 14px; }
.forstats b { color: var(--fg); }
.fornote { display: flex; gap: 8px; justify-content: center; margin-top: 14px; color: var(--muted); font-size: 13px; }
.fornote svg { width: 14px; height: 14px; flex: none; margin-top: 1px; }
.forlock { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; background: var(--bg); border: 1px solid var(--border); margin-bottom: 12px; }
.forlock .ini { width: 40px; height: 40px; font-size: 15px; }
.forlock b { display: block; font-size: 15px; } .forlock small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.mklink { margin-top: 16px; }
.mkrow { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; gap: 10px; }
.mkres { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 14px; }
@media (max-width: 767px) { .mkrow { grid-template-columns: minmax(0, 1fr); } .forpage { margin-top: 28px; } }

.fh-tx { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--muted); padding: 4px 8px; border-radius: 8px; border: 1px solid var(--border); white-space: nowrap; }
.fh-tx:hover { color: var(--fg); border-color: var(--muted); }
.pf { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border); }
.pf-h b { display: block; font-size: 15px; }
.pf-h span { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.45; }
.pf-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); min-width: 0; }
.pf-row:last-child { border-bottom: 0; }
.pf-row > div { min-width: 0; flex: 1; }
.pf-row > div b { display: block; font-size: 14px; font-weight: 600; }
.pf-row > div span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-a { flex: none; }
.pf-go { flex: none; width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--border); display: grid; place-items: center; color: var(--muted); }
.pf-go:hover { color: var(--fg); border-color: var(--muted); }
.pf-go svg { width: 14px; height: 14px; }
@media (max-width: 560px) { .fh-tx { display: none; } .pf-a span { max-width: 96px; overflow: hidden; text-overflow: ellipsis; } }

.goal { display: flex; align-items: center; gap: 16px; padding: 14px 16px; margin-bottom: 16px; border-radius: 18px; background: var(--bg); border: 1px solid var(--border); }
.goal svg { width: 64px; height: 64px; flex: none; }
.goal.big svg { width: 84px; height: 84px; }
.goal .gr-bg { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 11; }
.goal .gr-fg { fill: none; stroke: #30d158; stroke-width: 11; stroke-linecap: round; }
.goal text { fill: #fff; font: 700 21px Inter, sans-serif; letter-spacing: -.02em; }
.goal small { display: block; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.goal b { display: block; font-size: 17px; font-weight: 650; margin-top: 3px; }
.goal span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 3px; font-variant-numeric: tabular-nums; }
.gift .goal { max-width: 420px; margin: 18px auto 0; text-align: left; }
.goalbox { margin: 4px 0 12px; }
.goalbox .row2 { margin-top: 4px; }
.mr-goal { display: block; font-style: normal; font-size: 12px; color: #30d158; margin-top: 3px; }

/* goals without progress (fees hidden) */
.goal.goal-np { grid-template-columns: minmax(0, 1fr); }
#feeHist { display: none !important; }

/* Home Screen app */
.getapp { display: flex; align-items: center; gap: 14px; width: fit-content; margin: 10px 0 0; padding: 8px 16px 8px 8px; border-radius: 999px; border: 1px solid var(--border); color: var(--fg); font-size: 14px; font-weight: 600; transition: background .15s; }
.getapp:hover { background: var(--hover); }
.getapp[hidden], .ibar[hidden] { display: none !important; }
.ga-ic, .inst-icon { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: #000; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.ga-ic img { height: 16px; width: auto; }
.inst-icon { width: 64px; height: 64px; border-radius: 15px; background: linear-gradient(180deg, #161616, #000); }
.inst-icon img { height: 34px; width: auto; }
.inst-icon.sm { width: 40px; height: 40px; border-radius: 10px; } .inst-icon.sm img { height: 21px; }
.inst-head { display: flex; gap: 16px; align-items: center; margin: 4px 34px 20px 0; }
.inst-head h3 { margin: 0 0 4px; } .inst-head .sub { margin: 0; }
.inst [data-os] { display: none; }
#imodal[data-os=ios] .inst-steps[data-os=ios] { display: flex; } #imodal[data-os=android] [data-os=android], #imodal[data-os=desk] [data-os=desk] { display: block; }
.inst-steps { list-style: none; margin: 0; padding: 0; flex-direction: column; gap: 10px; }
.inst-steps li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: var(--card2); border: 1px solid var(--line2); font-size: 15px; line-height: 1.5; }
.st-n { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--fg); color: #0f1419; font-size: 13px; font-weight: 700; }
.st-chip { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px 2px 7px; border-radius: 8px; background: rgba(10, 132, 255, .16); color: #4aa3ff; font-weight: 600; white-space: nowrap; vertical-align: -3px; }
.st-chip svg { width: 16px; height: 16px; }
.inst-go { width: 100%; padding: 13px 16px; font-size: 15px; font-weight: 600; } .inst-android .sub { margin: 12px 0 0; text-align: center; }
.inst-qr { width: 200px; height: 200px; margin: 0 auto 14px; padding: 12px; border-radius: 16px; background: #fff; } .inst-qr canvas, .inst-qr svg, .inst-qr img { width: 100% !important; height: 100% !important; }
.inst-desk .sub { text-align: center; margin: 0; }
.ibar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 80; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; border-radius: 18px; background: rgba(26, 26, 26, .92); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border: 1px solid var(--line2); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); animation: cardIn .35s both; }
.ib-t { flex: 1; min-width: 0; } .ib-t b { display: block; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .ib-t small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ibar .btn { padding: 8px 18px; font-weight: 600; } .ib-x { flex: none; width: 30px; height: 30px; display: grid; place-items: center; color: var(--muted); } .ib-x svg { width: 16px; height: 16px; }
@media (min-width: 768px) { .ibar { display: none !important; } }
body.standalone .top { height: calc(64px + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top); }
body.standalone .mmenu-in { padding-top: calc(8px + env(safe-area-inset-top)); }
body.standalone .toast { bottom: calc(24px + env(safe-area-inset-bottom)); }

/* notifications */
.nbtn { gap: 8px; padding: 11px 18px; margin-top: 8px; } .nbtn svg { width: 17px; height: 17px; } .nbtn.wide { width: 100%; }
.nbtn.on { border-color: rgba(48, 209, 88, .45); color: #30d158; } .nbtn.on svg { fill: currentColor; }
.nbtn.fornt { margin-top: 10px; border: 0; color: var(--muted); font-size: 13.5px; padding: 6px 10px; } .nbtn.fornt.on { color: #30d158; }
.inst-why { display: none; margin: -6px 0 16px; padding: 12px 14px; border-radius: 12px; background: rgba(10, 132, 255, .12); color: #9ccbff; font-size: 14px; line-height: 1.45; }
#imodal.why .inst-why { display: block; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1279px) {
  .rail { --rail: 80px; }
  .rail .nav a span, .rail .acct > span, .rail .acct .x, .rail .collapse { display: none; }
  .tgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .board, .split, .launch-grid { grid-template-columns: minmax(0, 1fr); }
  .sticky { position: static; }
  .hero h1 { white-space: normal; }
  .tgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .profs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .board > :nth-child(1) { order: 1; } .board > :nth-child(3) { order: 2; } .board > :nth-child(2) { order: 3; margin-top: 32px; } .board > :nth-child(4) { order: 4; }
  .board > :nth-child(5) { order: 5; } .board > :nth-child(7) { order: 6; } .board > :nth-child(6) { order: 7; margin-top: 32px !important; } .board > :nth-child(8) { order: 8; }
}
@media (max-width: 860px) {
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .tile.s3, .tile.s2, .tile.s6 { grid-column: auto; }
  .tile.s3 { height: auto; aspect-ratio: 4 / 3; }
  .docs, .claim-grid { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 767px) {
  .rail { display: none; }
  .top nav { padding: 0 16px; gap: 10px; }
  .top .mlogo { display: flex; }
  .search { display: none; }
  .menu-btn { display: grid; }
  .acts .btn-o { display: none; }
  .wrap { padding: 0 16px; }
  .hero { padding-top: 32px; }
  .hero-in { margin-bottom: 48px; }
  .hero h1 { font-size: 38px; }
  .hero p { font-size: 16px; }
  .tgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .profs { grid-template-columns: minmax(0, 1fr); }
  .row3, .row2 { grid-template-columns: minmax(0, 1fr); }
  .grok-strip { flex-wrap: wrap; }
  .grok-strip .go { margin-left: 0; }
  .prow .amt b { font-size: 21px; }
  .kpi b { font-size: 24px; }
  .coin-head .lg { width: 84px; height: 84px; }
  .coin-head h1 { font-size: 26px; }
  .page-h h1 { font-size: 24px; }
  .chart { height: 380px; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 33px; }
  .tgrid { gap: 8px; }
  .tok { padding: 6px; }
  .tok .mc { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

/* tip jar on the pay-me link page */
.tipcard { margin-top: 16px; }
.tipcard .tiph { font: 650 22px/1.2 var(--sans); letter-spacing: -.02em; }
.tipcard p { margin: 8px 0 14px; color: var(--muted); }
.tipchips { justify-content: center; flex-wrap: wrap; }
.tipdone { margin-top: 12px; display: flex; flex-direction: column; gap: 4px; }
.tipdone b { color: #30d158; font-size: 17px; }
.tipdone span { color: var(--muted); }

/* AI Coin Studio */
.studio { margin: 0 0 22px; padding: 18px; border-radius: 18px; border: 1px solid var(--border); background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)); }
.st-h { display: flex; gap: 12px; align-items: center; }
.st-ic { width: 40px; height: 40px; border-radius: 12px; background: #000; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); display: flex; align-items: center; justify-content: center; flex: none; }
.st-ic svg { width: 20px; height: 20px; }
.st-h b { display: block; font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.st-h span { display: block; margin-top: 2px; color: var(--muted); font-size: 14px; }
.st-in { display: flex; gap: 8px; margin-top: 14px; align-items: stretch; }
.st-in textarea { flex: 1; min-width: 0; resize: none; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: rgba(0, 0, 0, .25); color: var(--fg); font: 400 15px/1.4 var(--sans); }
.st-in textarea:focus { outline: none; border-color: rgba(255, 255, 255, .45); }
.st-in .btn { white-space: nowrap; padding: 0 18px; }
.st-ideas { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.st-ideas button { text-align: left; }
.st-ideas button { border: 1px solid var(--border); background: none; color: var(--muted); border-radius: 999px; padding: 5px 11px; font: 500 12px var(--sans); cursor: pointer; }
.st-ideas button:hover { color: var(--fg); border-color: rgba(255, 255, 255, .3); }
.st-meta { display: flex; align-items: baseline; gap: 10px; margin-top: 16px; }
.st-meta b { font-size: 18px; letter-spacing: -.01em; }
.st-meta span { color: #30d158; font: 600 14px var(--mono, monospace); }
.st-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.st-logo { position: relative; aspect-ratio: 1; padding: 0; border-radius: 16px; overflow: hidden; border: 2px solid transparent; background: rgba(255, 255, 255, .05); cursor: pointer; transition: transform .15s, border-color .15s; }
.st-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-logo.on { border-color: #fff; transform: scale(1.03); }
.st-logo.wait i { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .09) 50%, rgba(255, 255, 255, 0) 70%); background-size: 200% 100%; animation: stShim 1.2s linear infinite; }
@keyframes stShim { from { background-position: 150% 0; } to { background-position: -50% 0; } }
.st-note { margin: 10px 0 0; color: var(--muted); font-size: 13px; }
@media (max-width: 560px) { .st-in { flex-direction: column; } .st-in .btn { height: 46px; } }

/* Holder Pay */
.holdbox{margin:14px 0 4px;padding:14px 16px;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.02)}
.holdbox .hidetog{margin:0}
.hold-pick{display:grid;gap:10px;margin-top:14px}
.hold-pick>span{font-size:13px;color:var(--fg7)}
.hold-pick small{font-size:12.5px;color:var(--muted);line-height:1.5}
.seg{display:inline-flex;gap:6px;padding:4px;border-radius:12px;background:rgba(255,255,255,.04);border:1px solid var(--line);width:max-content}
.seg button{appearance:none;border:0;background:transparent;color:var(--fg7);font:600 14px var(--sans,inherit);padding:8px 16px;border-radius:9px;cursor:pointer}
.seg button[aria-checked="true"]{background:#fff;color:#000}
.holdp{margin-top:16px}
.holdp .hp-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.holdp .hp-badge{display:flex;align-items:center;gap:10px}.holdp .hp-badge b{font-size:15px}
.holdp .hp-pct{font:500 12.5px var(--mono,monospace);letter-spacing:.06em;color:var(--fg7);padding:6px 10px;border:1px solid var(--line);border-radius:999px}
.holdp h3{margin:0 0 6px}
.holdp .hp-form{display:grid;grid-template-columns:1fr auto;gap:10px;margin-top:14px}
.holdp .hp-done{display:flex;align-items:center;gap:10px;margin-top:14px;padding:12px 14px;border-radius:12px;background:rgba(255,255,255,.05);font-size:14px}
.holdp .hp-done svg{width:16px;height:16px;flex:none}
.holdp .hp-fine{margin:12px 0 0;font-size:12.5px;color:var(--muted);line-height:1.5}
.holdp .hp-form[hidden],.holdp .hp-done[hidden],.hold-pick[hidden],#goalRow[hidden]{display:none}
.holdp .hp-pct,.holdp .hp-badge b{white-space:nowrap}
@media (max-width:560px){.holdp .hp-form{grid-template-columns:1fr}}
/* G2Paid · Ask Grok: the drop-in section and the Grok sheet. Everything is scoped under .gp-grok / .gp-grok-sheet.
   Matches the Paid X-style shell: #0a0a0a, hairline #323232, grey #757575, white pills, mono numbers.
   The sheet is iOS 18 Grok: the turning pink/orange/purple/blue light around its edge, the orb, the live transcript,
   Grok's line and the snippet card. Override the --ap-* variables from the site if its tokens differ. */
@property --ap-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

.gp-grok, .gp-grok-sheet {
  --ap-bg: #0a0a0a; --ap-card: #000000; --ap-line: #323232; --ap-text: #e9e9e9; --ap-mute: #757575;
  --ap-hover: rgba(233, 233, 233, .06); --ap-white: #ffffff;
  --gp-font: var(--font, var(--sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif));
  --ap-mono: var(--mono, "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace);
  --ap-glow: #ffffff, #3a3a3a, #d9d9d9, #161616, #ffffff, #5c5c5c, #ffffff;
  font-family: var(--gp-font); color: var(--ap-text); -webkit-font-smoothing: antialiased;
}
.gp-grok { border: 1px solid var(--ap-line); border-radius: 16px; background: var(--ap-card); overflow: hidden; }
.gp-grok *, .gp-grok-sheet * { box-sizing: border-box; }

/* head */
.gp-siri__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px 0; }
.gp-siri__kicker { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.gp-siri__kicker small { display: block; font-size: 13px; font-weight: 400; color: var(--ap-mute); margin-top: 1px; }

/* the Grok orb: two colour ribbons turning inside a dark glass sphere, drifting light, a soft core and a thin turning rim */
.gp-orb { position: relative; display: block; width: 40px; height: 40px; border-radius: 50%; flex: none; isolation: isolate; overflow: hidden;
  background: radial-gradient(circle at 50% 50%, #101010 0 38%, #040404 76%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1) inset, 0 0 18px rgba(150, 150, 150, .3); }
.gp-orb i { position: absolute; inset: 0; border-radius: 50%; mix-blend-mode: screen; transition: scale .5s cubic-bezier(.2, .8, .2, 1), opacity .5s; }
.gp-orb i:nth-child(1), .gp-orb i:nth-child(2) { inset: 4%; filter: blur(1.5px);
  background: conic-gradient(from 0deg, #797979, #a9a9a9, #959595, #7a7a7a, #8a8a8a, #b2b2b2, #797979);
  -webkit-mask: radial-gradient(ellipse 50% 34% at 50% 50%, transparent 60%, #000000 74%, #000000 83%, transparent 98%);
          mask: radial-gradient(ellipse 50% 34% at 50% 50%, transparent 60%, #000000 74%, #000000 83%, transparent 98%);
  animation: apOrbSpin 6s linear infinite; }
.gp-orb i:nth-child(2) { opacity: .75; animation: apOrbSpin2 9s linear infinite reverse;
  background: conic-gradient(from 180deg, #8a8a8a, #7a7a7a, #797979, #a9a9a9, #b2b2b2, #8a8a8a); }
.gp-orb i:nth-child(3) { filter: blur(3px); animation: apOrbSpin 12s linear infinite;
  background: radial-gradient(circle at 28% 30%, rgba(137, 137, 137, .9) 0 8%, rgba(137, 137, 137, 0) 34%),
              radial-gradient(circle at 74% 70%, rgba(162, 162, 162, .9) 0 8%, rgba(162, 162, 162, 0) 36%); }
.gp-orb i:nth-child(4) { background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .55) 0 5%, rgba(201, 201, 201, .28) 16%, rgba(255, 255, 255, 0) 34%);
  animation: apCore 2.6s ease-in-out infinite alternate; }
.gp-orb::before { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: 50%; padding: 1px; opacity: .8;
  background: conic-gradient(from var(--ap-a), var(--ap-glow));
  -webkit-mask: linear-gradient(#000000 0 0) content-box, linear-gradient(#000000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000000 0 0) content-box, linear-gradient(#000000 0 0); mask-composite: exclude;
  animation: apTurn 4s steps(240) infinite; }
.gp-orb::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: 50%;
  background: radial-gradient(circle at 34% 22%, rgba(255, 255, 255, .42), rgba(255, 255, 255, 0) 26%),
              radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0) 62%, rgba(255, 255, 255, .1) 74%, rgba(255, 255, 255, 0) 80%); }
.gp-orb.is-live { animation: apOrbPulse 1.2s ease-in-out infinite; }
.gp-orb.is-live i:nth-child(1), .gp-orb.is-live i:nth-child(2) { scale: 1.14; }
.gp-orb.is-live i:nth-child(4) { scale: 1.5; }
@keyframes apOrbSpin { to { transform: rotate(360deg); } }
@keyframes apOrbSpin2 { from { transform: rotate(60deg); } to { transform: rotate(420deg); } }
@keyframes apOrbPulse { 50% { transform: scale(1.08); } }
@keyframes apCore { from { opacity: .5; } to { opacity: 1; } }
@keyframes apTurn { to { --ap-a: 360deg; } }

/* body */
.gp-siri__body { padding: 10px 16px 16px; }
.gp-siri__title { font-size: 31px; line-height: 36px; font-weight: 800; letter-spacing: -.025em; margin: 8px 0 8px; }
.gp-siri__lead { font-size: 15px; line-height: 20px; color: var(--ap-mute); margin: 0 0 14px; max-width: 520px; }
.gp-siri__lead b { color: var(--ap-text); font-weight: 400; }

/* conversation: new lines push the older ones up, the top fades out */
.gp-talk { position: relative; height: 392px; border: 1px solid var(--ap-line); border-radius: 16px; margin: 0 0 14px; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 120%, rgba(83, 83, 83, .16), transparent 60%), #050505; }
.gp-talk__list { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 14px 14px 6px; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000000 64px); mask-image: linear-gradient(to bottom, transparent 0, #000000 64px); }
.gp-talk__row { flex: none; display: grid; grid-template-rows: 0fr; opacity: 0;
  transition: grid-template-rows .45s cubic-bezier(.2, .8, .2, 1), opacity .35s ease; }
.gp-talk__row.is-in { grid-template-rows: 1fr; opacity: 1; }
.gp-talk__in { min-height: 0; overflow: hidden; display: flex; padding-bottom: 8px; }
.gp-talk__row--you .gp-talk__in { justify-content: flex-end; }
.gp-talk__row--card .gp-talk__in { display: block; padding: 2px 0 8px; }
.gp-talk__row .gp-bubble, .gp-talk__row .gp-coin { transform: translateY(8px) scale(.98); transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.gp-talk__row.is-in .gp-bubble, .gp-talk__row.is-in .gp-coin { transform: none; }
.gp-bubble { max-width: 78%; font-size: 15px; line-height: 20px; padding: 8px 12px; border-radius: 18px; }
.gp-talk__row--you .gp-bubble { background: #868686; color: #ffffff; border-bottom-right-radius: 6px; }
.gp-talk__row--grok .gp-bubble { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .06); border-bottom-left-radius: 6px; }
.gp-talk__row--grok .gp-bubble::before { content: "Grok"; display: block; font-size: 11px; line-height: 14px; font-weight: 700;
  letter-spacing: .02em; text-transform: uppercase; color: #b5b5b5; margin-bottom: 2px; }
.gp-coin { display: flex; align-items: center; gap: 12px; border: 1px solid var(--ap-line); border-radius: 16px; padding: 10px 12px; background: #000000; }
.gp-coin__pic { width: 44px; height: 44px; border-radius: 50%; flex: none; background: #111111 center/cover no-repeat;
  display: grid; place-items: center; font-weight: 800; font-size: 18px; color: #ffffff; overflow: hidden; }
.gp-coin__pic--none, .gp-snip__pic--none { background: linear-gradient(135deg, #898989, #969696 55%, #a2a2a2); }
.gp-coin__txt { min-width: 0; flex: 1; }
.gp-coin__name { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gp-coin__name span { font-family: var(--ap-mono); font-weight: 500; font-size: 13px; color: var(--ap-mute); margin-left: 6px; }
.gp-coin__to { font-size: 13px; color: var(--ap-mute); margin-top: 2px; display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; }
.gp-coin__link { display: inline-flex; align-items: center; gap: 4px; color: var(--ap-text); margin-left: 4px; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.gp-coin__link svg { width: 11px; height: 11px; flex: none; }
.gp-paybadge { display: inline-flex; align-items: center; gap: 3px; height: 18px; padding: 0 6px; border-radius: 5px; background: #ffffff; color: #000000;
  font-size: 11px; font-weight: 600; letter-spacing: -.01em; flex: none; }
.gp-paybadge svg { width: 9px; height: 11px; display: block; }
.gp-faceid { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px;
  background: #ffffff; color: #000000; font-size: 14px; font-weight: 700; }
.gp-faceid svg { width: 16px; height: 16px; }

/* buttons */
.gp-siri__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 16px; }
.gp-btn { appearance: none; border: 0; cursor: pointer; font: inherit; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 999px; font-size: 15px; font-weight: 700; text-decoration: none; transition: background .15s, opacity .15s; }
.gp-btn--white { background: var(--ap-white); color: #131313; }
.gp-btn--white:hover { background: #dadada; }
.gp-btn--line { background: transparent; color: var(--ap-text); border: 1px solid #616161; }
.gp-btn--line:hover { background: var(--ap-hover); }
.gp-btn[disabled] { opacity: .5; cursor: default; }
.gp-btn svg { width: 18px; height: 18px; flex: none; }

/* steps */
.gp-steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ap-line); }
.gp-steps li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--ap-line); font-size: 15px; line-height: 20px; }
.gp-steps li:last-child { border-bottom: 0; padding-bottom: 0; }
.gp-steps b { font-family: var(--ap-mono); font-weight: 500; font-size: 13px; color: var(--ap-mute); min-width: 22px; padding-top: 1px; }
.gp-steps em { font-style: normal; color: var(--ap-mute); display: block; font-size: 13px; }

/* ---------- the Grok sheet (voice flow, ?grok= prefill, Add to Grok QR) ---------- */
.gp-grok-sheet { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; padding: 24px;
  grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr);   /* the panel never grows past the screen */
  background: rgba(0, 0, 0, .58); -webkit-backdrop-filter: blur(16px) saturate(1.25); backdrop-filter: blur(16px) saturate(1.25);
  opacity: 0; visibility: hidden; transition: opacity .28s ease, visibility 0s linear .28s;
  font-family: -apple-system, BlinkMacSystemFont, var(--gp-font); }
.gp-grok-sheet.is-open { opacity: 1; visibility: visible; transition: opacity .28s ease; }
.gp-grok-sheet [hidden] { display: none !important; }
.gp-grok-sheet__panel { position: relative; isolation: isolate; width: min(580px, 100%); border-radius: 36px;
  background: radial-gradient(120% 60% at 50% 115%, rgba(162, 162, 162, .1), rgba(162, 162, 162, 0) 60%), #060606;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .55);
  transform: translateY(18px) scale(.98); transition: transform .42s cubic-bezier(.2, .8, .2, 1); }
.gp-grok-sheet.is-open .gp-grok-sheet__panel { transform: none; }
.gp-grok-sheet__body { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center;
  max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none;
  padding: 56px 24px 18px; }
.gp-grok-sheet__body::-webkit-scrollbar { display: none; }

/* the edge light: one conic gradient turning in three rings (halo, bloom, line), masked to the sheet's rounded edge */
.gp-edge, .gp-edge > span, .gp-edge i { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; }
.gp-edge { z-index: 0; transition: opacity .6s ease; }
.gp-edge i { display: block; padding: var(--w, 2px); background: conic-gradient(from var(--ap-a), var(--ap-glow));
  -webkit-mask: linear-gradient(#000000 0 0) content-box, linear-gradient(#000000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000000 0 0) content-box, linear-gradient(#000000 0 0); mask-composite: exclude;
  animation: apTurn 6s steps(360) infinite; }
.gp-edge__line i { --w: 1.5px; }
.gp-edge__bloom { filter: blur(6px); opacity: .9; }
.gp-edge__bloom i { --w: 5px; }
.gp-edge__halo { filter: blur(26px); opacity: .7; transition: opacity .6s ease; }
.gp-edge__halo i { --w: 18px; animation-duration: 9s; animation-timing-function: steps(540); }
.gp-grok-sheet:not(.is-open) .gp-edge i, .gp-grok-sheet:not(.is-open) .gp-orb i, .gp-grok-sheet:not(.is-open) .gp-orb::before { animation-play-state: paused; }
.gp-grok-sheet[data-state="idle"] .gp-edge, .gp-grok-sheet[data-state="ready"] .gp-edge, .gp-grok-sheet[data-state="error"] .gp-edge { opacity: .6; }
.gp-grok-sheet[data-state="listening"] .gp-edge__halo { opacity: 1; }
.gp-grok-sheet[data-state="thinking"] .gp-edge__halo { animation: apBreath 1.1s ease-in-out infinite alternate; }
@keyframes apBreath { from { opacity: .5; } to { opacity: 1; } }

.gp-grok-x { position: absolute; top: 16px; right: 16px; z-index: 3; width: 32px; height: 32px; border-radius: 50%; border: 0; padding: 0;
  background: rgba(255, 255, 255, .08); color: rgba(236, 236, 236, .7); display: grid; place-items: center; cursor: pointer; transition: background .15s; }
.gp-grok-x:hover { background: rgba(255, 255, 255, .14); }
.gp-grok-x svg { width: 16px; height: 16px; }
.gp-grok-stack { display: flex; flex-direction: column; align-items: center; width: 100%; }

/* Grok's line, what you said, the hint */
.gp-grok-say { font-size: 24px; line-height: 30px; font-weight: 700; letter-spacing: -.02em; color: #ffffff; margin: 6px 0 8px; max-width: 440px; text-wrap: balance; }
.gp-grok-you { font-size: 17px; line-height: 23px; color: rgba(236, 236, 236, .62); margin: 0 0 6px; max-width: 440px; overflow-wrap: anywhere; }
.gp-grok-hint { font-size: 13px; line-height: 18px; color: rgba(236, 236, 236, .4); margin: 0 0 4px; max-width: 420px; text-wrap: balance; }
.gp-grok-sheet[data-state="ready"] .gp-grok-say { font-size: 19px; line-height: 25px; font-weight: 650; margin-top: 2px; }
.gp-grok-sheet[data-state="ready"] .gp-grok-hint { font-size: 15px; line-height: 20px; color: rgba(236, 236, 236, .6); margin-bottom: 14px; }

/* progress: one chip per question */
.gp-grok-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin: 14px 0 2px; max-width: 100%; }
.gp-grok-chips:empty { display: none; }
.gp-grok-chip { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 600;
  color: rgba(236, 236, 236, .36); background: rgba(255, 255, 255, .05); border: 1px solid transparent; }
.gp-grok-chip.is-set { color: #ffffff; background: rgba(255, 255, 255, .12); }
.gp-grok-chip.is-set::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: linear-gradient(135deg, #898989, #969696 55%, #a2a2a2); }
.gp-grok-chip.is-skip { text-decoration: line-through; color: rgba(236, 236, 236, .26); }
.gp-grok-chip.is-now { color: #ffffff; background: linear-gradient(#141414, #141414) padding-box, conic-gradient(from var(--ap-a), var(--ap-glow)) border-box;
  animation: apTurn 3s steps(180) infinite; }

/* the snippet: what Grok prepared */
.gp-grok-snip { width: 100%; text-align: left; border-radius: 24px; padding: 12px 14px 12px; margin: 0 0 16px;
  background: rgba(30, 30, 30, .92); border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 12px 40px rgba(0, 0, 0, .45);
  animation: apSnipIn .5s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes apSnipIn { from { opacity: 0; transform: translateY(10px) scale(.97); } }
.gp-snip__head { display: flex; justify-content: space-between; gap: 10px; font-size: 11.5px; line-height: 14px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: rgba(236, 236, 236, .45); margin: 0 0 10px; }
.gp-snip__coin { display: flex; align-items: center; gap: 12px; min-width: 0; }
.gp-snip__pic { width: 56px; height: 56px; border-radius: 50%; flex: none; display: grid; place-items: center; overflow: hidden;
  background: #111111 center/cover no-repeat; color: #ffffff; font-size: 22px; font-weight: 800; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); }
.gp-snip__pic.gp-snip__pic--none { background: linear-gradient(135deg, #898989, #969696 55%, #a2a2a2); }
.gp-snip__id { min-width: 0; }
.gp-snip__id b { display: block; font-size: 19px; line-height: 24px; font-weight: 700; letter-spacing: -.01em; color: #ffffff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gp-snip__id span { font-family: var(--ap-mono); font-size: 13px; color: rgba(236, 236, 236, .6); }
.gp-snip__desc { font-size: 14px; line-height: 19px; color: rgba(236, 236, 236, .75); margin: 10px 0 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gp-snip__links { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.gp-chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; max-width: 100%; padding: 0 11px; border-radius: 999px;
  background: rgba(255, 255, 255, .09); color: var(--ap-text); font-size: 13px; font-weight: 600; text-decoration: none; transition: background .15s; }
.gp-chip:hover { background: rgba(255, 255, 255, .15); }
.gp-chip svg { width: 13px; height: 13px; flex: none; }
.gp-chip span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gp-snip__note { font-size: 12.5px; line-height: 17px; color: #c3c3c3; margin: 8px 0 0; }
.gp-snip__to { display: flex; align-items: center; gap: 10px; margin: 12px 0 0; padding: 10px 0 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.gp-snip__lbl { font-size: 13px; color: rgba(236, 236, 236, .5); flex: none; }
.gp-snip__who { flex: 1; min-width: 0; text-align: right; }
.gp-snip__who b { display: block; font-size: 15px; line-height: 19px; font-weight: 600; color: #ffffff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gp-snip__who small { display: block; font-size: 12px; line-height: 16px; color: rgba(236, 236, 236, .45); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* actions */
.gp-grok-cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; width: 100%; margin: 6px 0 2px; }
.gp-grok-cta .gp-btn svg { width: 18px; height: 18px; }

/* Type to Grok */
.gp-grok-type { display: flex; align-items: center; gap: 8px; width: 100%; margin: 16px 0 0; padding: 4px 4px 4px 18px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); transition: border-color .15s; }
.gp-grok-type:focus-within { border-color: rgba(255, 255, 255, .3); }
.gp-grok-type input { flex: 1; min-width: 0; height: 40px; border: 0; padding: 0; background: transparent; color: #ffffff; font: inherit; font-size: 17px; outline: none; }
.gp-grok-type input::placeholder { color: rgba(236, 236, 236, .35); }
.gp-grok-type button { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 0; padding: 0; background: #ffffff; color: #000000; display: grid; place-items: center; cursor: pointer; }
.gp-grok-type button svg { width: 18px; height: 18px; }

/* bottom bar: Type / orb / Skip */
.gp-grok-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; width: 100%; margin: 14px 0 0; }
.gp-grok-bar > :first-child { justify-self: start; }
.gp-grok-bar > :last-child { justify-self: end; }
.gp-grok-tool { appearance: none; border: 0; cursor: pointer; font: inherit; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px;
  border-radius: 999px; background: rgba(255, 255, 255, .08); color: rgba(236, 236, 236, .85); font-size: 14px; font-weight: 600; transition: background .15s, opacity .2s; }
.gp-grok-tool:hover { background: rgba(255, 255, 255, .14); }
.gp-grok-tool svg { width: 17px; height: 17px; }
.gp-grok-tool.is-off { visibility: hidden; opacity: 0; }
.gp-grok-orbbtn { appearance: none; border: 0; padding: 6px; margin: 0; background: transparent; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
  -webkit-tap-highlight-color: transparent; }
.gp-grok-orbbtn:focus-visible, .gp-grok-tool:focus-visible, .gp-grok-x:focus-visible { outline: 2px solid rgba(255, 255, 255, .6); outline-offset: 2px; }
.gp-orb--sheet { width: 62px; height: 62px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1) inset, 0 0 32px rgba(150, 150, 150, .4), 0 0 64px rgba(162, 162, 162, .18); }
.gp-orb--sheet i { filter: blur(5px); }
.gp-orb--sheet::before { padding: 1.5px; }
.gp-grok-sheet[data-state="thinking"] .gp-orb--sheet i { animation-duration: 1.6s; }
.gp-grok-sheet[data-kind="info"] .gp-grok-say { margin-top: 8px; }

.gp-grok-sheet__qr { width: 196px; height: 196px; margin: 6px auto 14px; padding: 10px; background: #ffffff; border-radius: 16px; }
.gp-grok-sheet__qr img, .gp-grok-sheet__qr svg { width: 100%; height: 100%; display: block; image-rendering: pixelated; }

/* phones: Grok takes the screen, the light runs along its edges, everything sits at the bottom */
@media (max-width: 640px) {
  .gp-grok-sheet { padding: 0; place-items: stretch; background: rgba(0, 0, 0, .62); }
  .gp-grok-sheet__panel { width: 100%; height: 100%; border-radius: 0; box-shadow: none;
    background: linear-gradient(to top, rgba(0, 0, 0, .92) 0, rgba(0, 0, 0, .78) 40%, rgba(0, 0, 0, .3) 78%, rgba(0, 0, 0, .12) 100%);
    transform: scale(1.02); }
  .gp-grok-sheet__body { height: 100%; max-height: none; justify-content: flex-start;
    padding: calc(60px + env(safe-area-inset-top)) 16px calc(12px + env(safe-area-inset-bottom)); }
  .gp-grok-stack { margin-top: auto; }       /* sits at the bottom, still scrolls when a short screen overflows */
  .gp-grok-x { top: calc(14px + env(safe-area-inset-top)); right: 14px; }
  .gp-edge__halo i { --w: 26px; }
  .gp-edge__bloom i { --w: 7px; }
  .gp-edge__line i { --w: 2px; }
  .gp-grok-say { font-size: 22px; line-height: 28px; }
}
@media (max-width: 440px) {
  .gp-faceid { width: 36px; height: 36px; padding: 0; justify-content: center; font-size: 0; gap: 0; }
  .gp-faceid svg { width: 20px; height: 20px; }
  .gp-coin { gap: 10px; padding: 10px; }
  .gp-coin__link { display: none; }
  .gp-grok-cta .gp-btn { flex: 1 1 auto; }
}
@media (max-width: 500px) {
  .gp-siri__title { font-size: 26px; line-height: 31px; }
  .gp-talk { height: 360px; }
  .gp-bubble { max-width: 86%; }
  .gp-siri__actions .gp-btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .gp-orb i:nth-child(n), .gp-orb::before, .gp-orb.is-live, .gp-edge i, .gp-grok-chip.is-now, .gp-grok-snip { animation: none; }
  .gp-grok-sheet[data-state="thinking"] .gp-edge__halo { animation: none; }
  .gp-talk__row, .gp-talk__row .gp-bubble, .gp-talk__row .gp-coin, .gp-grok-sheet__panel { transition: none; }
}
