/* RouterHub: styles for server-rendered content pages, in the new skin's design language. */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--primary); color: #fff; font-weight: 600; }
.skip-link:focus { top: 12px; }
.page { padding-top: 64px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; font-size: 13px; color: var(--text-3); }
.breadcrumbs a { color: var(--text-2); }
.breadcrumbs a:hover { color: var(--text); }
.ported h1, .guide-heading h1, .dash-head h1 { margin: 0 0 12px; font: 600 clamp(30px, 4vw, 46px)/1.08 var(--display); letter-spacing: -.025em; }
.ported h2, .article-section h2 { margin: 0 0 14px; font: 600 clamp(21px, 2.2vw, 27px)/1.2 var(--display); letter-spacing: -.015em; }
.ported h3 { margin: 22px 0 8px; font-size: 16px; }
.ported p, .article-section p, .ported li { color: var(--text-2); line-height: 1.65; }
.ported a:not(.btn):not(.rh-content-link):not(.tool-option):not(.docs-reading-card):not(.docs-provider-card):not(.breadcrumbs a), .article-section p a, .note a, .hint a { color: #7ee8cf; text-decoration: underline; text-underline-offset: 2px; }
.guide-heading { margin-bottom: 26px; }
.guide-heading > p, .rh-content-definition { max-width: 720px; font-size: 16.5px; color: #d4d4da; line-height: 1.6; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.article-section { margin: 0 0 44px; scroll-margin-top: 72px; }
.rh-content-layout, .rh-guides-layout { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 48px; align-items: start; }
.rh-content-sidebar, .guide-sidebar { position: sticky; top: 72px; font-size: 13.5px; }
.rh-content-toc ol, .toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.rh-content-toc a, .toc a { color: var(--text-2); }
.rh-content-toc a:hover, .toc a:hover { color: var(--text); }
.rh-content-toc-label, .nav-label { margin: 0 0 10px; font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.rh-content-back { display: inline-block; margin-top: 16px; color: var(--text-3); }
.sidebar-help { margin-top: 20px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; }
.sidebar-help p { margin: 0 0 6px; color: var(--text); }
.sidebar-help a { color: #7ee8cf; display: inline-flex; gap: 6px; align-items: center; }
.sidebar-help svg { width: 14px; height: 14px; }
code { font: 500 .9em ui-monospace, SFMono-Regular, Consolas, monospace; padding: 1px 5px; border-radius: 6px; background: rgba(255,255,255,.07); color: #d3f8ee; }
pre code { padding: 0; background: none; color: #e8e8ec; }
pre, .code-block pre { margin: 0; padding: 14px 16px; overflow-x: auto; font-size: 12.5px; line-height: 1.6; }
.code-block { margin: 12px 0 16px; border: 1px solid var(--line); border-radius: 14px; background: #101012; overflow: hidden; }
.code-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px 6px 14px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--text-3); }
.copy-button, .copy { display: inline-flex; align-items: center; justify-content: center; width: auto; min-width: 0; height: 28px; padding: 0 11px; border-radius: 8px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); color: var(--text-2); font-size: 12px; font-weight: 500; white-space: nowrap; transition: color .2s, border-color .2s, background .2s; }
.copy-button:hover, .copy:hover { color: var(--text); border-color: rgba(var(--s2),.35); background: rgba(var(--s2),.06); }
.ported > pre, .article-section > pre, .details-body pre { border: 1px solid var(--line); border-radius: 14px; background: #101012; }
details { border-bottom: 1px solid var(--line); }
details summary { cursor: pointer; padding: 14px 0; font-weight: 500; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; float: right; color: var(--text-3); }
details[open] summary::after { content: "–"; }
.details-body { padding: 0 0 14px; }
.details-body p { margin: 0 0 8px; }
.rh-content-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.rh-content-link, .docs-reading-card, .docs-provider-card { display: flex; align-items: center; gap: 10px; height: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); transition: border-color .15s, background .15s; }
.rh-content-link:hover, .docs-reading-card:hover, .docs-provider-card:hover { border-color: var(--line-2); background: var(--panel-2); }
.rh-content-link svg, .docs-reading-card svg { width: 16px; height: 16px; flex: none; margin-left: auto; color: var(--text-3); }
.rh-content-link-copy, .docs-reading-copy { display: grid; gap: 3px; }
.rh-content-link-copy strong, .docs-reading-copy strong { color: var(--text); font-weight: 600; }
.rh-content-link-copy span, .docs-reading-copy span { color: var(--text-3); font-size: 13px; }
.docs-reading-grid, .docs-provider-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; margin: 10px 0 24px; }
.rh-content-specs { display: grid; grid-template-columns: max-content 1fr; gap: 10px 22px; margin: 0; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.rh-content-specs dt { color: var(--text-3); }
.rh-content-specs dd { margin: 0; }
.price-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 0 0 12px; }
.price-cards div { padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.price-cards dt { font-size: 12px; color: var(--text-3); }
.price-cards dd { margin: 4px 0 0; font: 600 20px/1.2 var(--display); font-variant-numeric: tabular-nums; }
.hint, .note { color: var(--text-3); font-size: 13px; }
.table-scroll, .tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); margin: 10px 0 14px; }
.ported table, .tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.ported th, .ported td, .tbl th, .tbl td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ported thead th, .tbl thead th { color: var(--text-3); font-size: 12px; font-weight: 500; white-space: nowrap; }
.ported tbody tr:last-child > *, .tbl tbody tr:last-child > * { border-bottom: 0; }
.tbl tbody th { font-weight: 500; }
.tbl .num-c { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl .act { text-align: right; }
.page-intro { margin: 8px 0 8px; max-width: 760px; }
.page-intro h1 { margin: 0 0 10px; font: 600 clamp(28px, 3.4vw, 38px)/1.1 var(--display); letter-spacing: -.025em; }
.page-intro p { margin: 0; color: var(--text-2); font-size: 15.5px; line-height: 1.6; }
.sec { margin-top: 64px; }
.page-intro + .sec { margin-top: 24px; }
.tbl .m-head b .mp-badge { display: inline-block; margin-left: 8px; vertical-align: 2px; line-height: 1.5; }
.mp-badge.v-uncensored { background: rgba(253,230,160,.12); color: #f0dca4; }
.mp-badge.v-abliterated { background: rgba(167,243,208,.11); color: #b6ead2; }
.rh-price thead .per { margin-left: 2px; color: var(--text-3); opacity: .7; font-size: .92em; font-weight: 400; text-transform: none; letter-spacing: 0; }
.act-row { display: inline-flex; align-items: center; gap: 6px; justify-content: flex-end; white-space: nowrap; }
/* Same box for both buttons: .btn-ghost's 6px top margin pushed Connect below Chat. */
.act-row .btn { margin: 0; border: 1px solid transparent; gap: 6px; }
.act-row .btn-ghost { border-color: var(--line-2); }
.act-row .btn svg { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: .7; transition: opacity .15s, transform .15s; }
.act-row .btn:hover svg { opacity: 1; }
.act-row .btn-ghost:hover svg { transform: translateX(2px); }
@media (max-width: 1100px) { .act-row .btn-ghost, .rh-price .hide-sm { display: none; } }
.rh-price th, .rh-price td { padding-left: 12px; padding-right: 12px; }
.rh-price tbody th { white-space: normal; }
.pp-more { margin-top: 14px; text-align: right; }

/* Hub pages (/docs, /agents, /status): quiet sections, soft glass tiles, palette glow on hover */
.hub-sec { margin-top: 56px; scroll-margin-top: 72px; }
.page-intro + .hub-sec { margin-top: 32px; }
.hub-head { margin-bottom: 18px; max-width: 680px; }
.hub-head h2 { margin: 0; font: 600 clamp(20px, 2vw, 24px)/1.2 var(--display); letter-spacing: -.015em; }
.hub-head p { margin: 6px 0 0; color: var(--text-3); font-size: 14.5px; line-height: 1.55; }
.hub-head-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: none; }
.hub-sec p a, .hub-foot a, .page-intro p a { color: var(--text); text-decoration: underline; text-decoration-color: rgba(var(--s1),.4); text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color .2s, text-decoration-color .2s; }
.hub-sec p a:hover, .hub-foot a:hover, .page-intro p a:hover { color: rgb(var(--s1)); text-decoration-color: rgb(var(--s1)); }
/* Soft palette aura behind the page title. It belongs to the content area, not the heading,
   so it fades out instead of ending in a hard edge beside the text. */
.scroller:has(.page-intro), .dx-main:has(.page-intro) { position: relative; isolation: isolate; }
.scroller:has(.page-intro)::before, .dx-main:has(.page-intro)::before { content: ""; position: absolute; z-index: -1; pointer-events: none; top: -40px; left: 0; right: 0; height: 460px;
  background: radial-gradient(42% 62% at 16% 18%, rgba(var(--glow),.11), transparent 72%), radial-gradient(34% 52% at 62% 0%, rgba(var(--s3),.05), transparent 72%); }
.page-intro::before { display: none; }
/* Tool tiles: icon over name, four across */
.hub-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.hub-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; height: 100%; padding: 16px; border-radius: 18px; border: 1px solid rgba(255,255,255,.06);
  background: linear-gradient(160deg, rgba(255,255,255,.035), rgba(255,255,255,.008) 60%), var(--panel); transition: border-color .3s, transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s; }
.hub-tile:hover { border-color: rgba(var(--s2),.28); transform: translateY(-2px); box-shadow: 0 16px 40px -18px rgba(var(--glow),.45); }
.hub-tile > span:last-child { display: grid; gap: 3px; min-width: 0; }
.hub-tile b { font-weight: 600; font-size: 14.5px; line-height: 1.25; }
.hub-tile small { color: var(--text-3); font-size: 12.5px; line-height: 1.35; }
.hub-ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); transition: box-shadow .3s; }
.hub-tile:hover .hub-ico { box-shadow: inset 0 0 0 1px rgba(var(--s2),.3), 0 0 20px -4px rgba(var(--glow),.45); }
.hub-ico img { width: 22px; height: 22px; object-fit: contain; }
.hub-ico img[src*="cline"] { filter: invert(1); opacity: .9; }
@media (max-width: 640px) { .hub-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Quickstart */
.hub-steps { list-style: none; counter-reset: s; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hub-steps li { counter-increment: s; display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 16px 0 7px; border-radius: 99px; border: 1px solid rgba(255,255,255,.07); background: rgba(255,255,255,.025); font-size: 14px; }
.hub-steps li::before { content: counter(s); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: 12px; font-weight: 600; color: rgb(var(--s1)); background: rgba(var(--s2),.12); }
.hub-steps li a { color: var(--text); text-decoration: none; }
.hub-steps li:hover { border-color: rgba(var(--s2),.3); }
.hub-base { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: 13.5px; color: var(--text-3); }
.hub-base code { padding: 5px 10px; border-radius: 8px; background: rgba(255,255,255,.05); color: var(--text); font-size: 13px; }
/* Code card: gradient hairline and a faint glow, API switch above, language switch in the toolbar */
.hub-tablist { display: inline-flex; gap: 2px; padding: 3px; margin: 6px 0 12px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); }
.hub-tablist button, .hub-langs button { height: 30px; padding: 0 14px; border-radius: 9px; color: var(--text-3); font-size: 13px; font-weight: 500; transition: color .2s, background .2s; }
.hub-tablist button:hover, .hub-langs button:hover { color: var(--text); }
.hub-tablist button[aria-selected="true"] { color: var(--text); background: rgba(255,255,255,.08); }
.hub-tablist button { display: inline-flex; align-items: center; gap: 8px; height: 34px; }
.hub-tablist button code { padding: 0; background: none; color: var(--text-3); font-size: 11.5px; transition: color .2s; }
.hub-tablist button[aria-selected="true"] code { color: rgb(var(--s1)); }
.hub-head p code { padding: 2px 6px; border-radius: 6px; background: rgba(255,255,255,.06); color: var(--text); font-size: .88em; }
.hub-head p a { color: var(--text); text-decoration: underline; text-decoration-color: rgba(var(--s1),.4); text-underline-offset: 4px; }
.hub-head p a:hover { color: rgb(var(--s1)); }
.hub-langs { display: inline-flex; gap: 2px; }
.hub-langs button { height: 26px; padding: 0 10px; font-size: 12.5px; }
.hub-langs button[aria-selected="true"] { color: rgb(var(--s1)); background: rgba(var(--s2),.1); }
.hub-code { margin: 0; border: 1px solid transparent; border-radius: 18px; background-image: linear-gradient(#0f1011, #0f1011), linear-gradient(140deg, rgba(var(--s1),.35), rgba(255,255,255,.06) 40%, rgba(var(--s3),.25));
  background-origin: border-box; background-clip: padding-box, border-box; box-shadow: 0 24px 60px -30px rgba(var(--glow),.35); }
.hub-code .code-toolbar { padding: 8px 10px; border-bottom-color: rgba(255,255,255,.06); }
.hub-code pre { padding: 18px 20px 20px; font-size: 13px; line-height: 1.7; }
.hub-panel-t { margin: 0; padding: 14px 20px 0; font-size: 12.5px; color: var(--text-3); }
.hub-try.js .hub-panel-t { display: none; }
.hub-try + .hint { margin-top: 14px; line-height: 1.6; }
/* Endpoints */
.hub-ep th b { display: block; font-weight: 600; }
.hub-ep th small, .hub-ep td small { display: block; margin-top: 3px; color: var(--text-3); font-size: 12px; font-weight: 400; }
.hub-ep td, .hub-ep th { white-space: normal; padding-top: 14px; padding-bottom: 14px; }
/* Settings: side menu + one column of cards */
.s-simple { max-width: 980px; grid-template-columns: 200px minmax(0, 1fr); gap: 40px; }
.s-simple .s-main { max-width: 720px; }
.s-simple .s-side { top: 72px; gap: 20px; }
.s-simple .s-nav { gap: 2px; }
.s-simple .s-nav a.on { color: var(--text); background: linear-gradient(90deg, rgba(var(--s2),.12), rgba(var(--s2),.02)); box-shadow: none; }
.s-simple .s-nav a.on::before { left: 0; background: rgb(var(--s2)); }
.s-simple .s-nav a.on svg { color: rgb(var(--s1)); }
.s-simple .s-sub { margin: 6px 0 0; color: var(--text-3); font-size: 14.5px; }
.s-link { justify-content: flex-start !important; }
.s-link > div:not(.s-ctl) { flex: 1; min-width: 0; }
.s-logo { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); color: var(--text-2); }
.s-logo svg { width: 19px; height: 19px; }
.s-link .s-ctl { display: flex; align-items: center; gap: 14px; }
.s-state { color: var(--text-3); font-size: 12.5px; }
@media (max-width: 760px) { .s-simple { grid-template-columns: 1fr; gap: 20px; } }
.s-intro { display: flex; align-items: baseline; gap: 14px; }
.s-intro h1 { margin: 0; }
.s-simple .s-body { display: grid; gap: 14px; margin-top: 24px; }
.s-simple .s-card { padding: 6px 20px; border-radius: 18px; border: 1px solid rgba(255,255,255,.06); background: linear-gradient(160deg, rgba(255,255,255,.025), rgba(255,255,255,.004) 60%), var(--panel); }
.s-simple .s-card h2 { margin: 14px 0 2px; font-size: 13px; font-weight: 500; color: var(--text-3); letter-spacing: 0; text-transform: none; }
.s-simple .s-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.05); }
.s-simple .s-card h2 + .s-row { border-top: 0; }
.s-simple .s-row b { display: block; font-size: 14.5px; font-weight: 500; }
.s-simple .s-row small { display: block; margin-top: 2px; color: var(--text-3); font-size: 13px; line-height: 1.45; }
.s-simple .s-ctl { flex: none; }
.s-simple .s-select { max-width: 240px; }
/* Sign-in: 6-digit code boxes */
.a-sent .a-form { width: 100%; }
.a-code { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.a-code input { width: 100%; height: 54px; padding: 0; border-radius: 13px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); color: var(--text); text-align: center; font: 600 22px var(--display); outline: 0; transition: border-color .2s, box-shadow .2s, background .2s; }
.a-code input:focus { background: rgba(255,255,255,.06); border-color: rgba(var(--s2),.7); box-shadow: 0 0 0 4px rgba(var(--glow),.16); }
.s-simple .s-card.danger { border-color: rgba(240,138,138,.14); background: var(--panel); }
@media (max-width: 600px) { .s-simple .s-row { flex-wrap: wrap; } }
.hub-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.hub-card { display: grid; gap: 6px; align-content: start; height: 100%; padding: 16px 18px; border-radius: 16px; border: 1px solid rgba(255,255,255,.06);
  background: linear-gradient(160deg, rgba(255,255,255,.03), rgba(255,255,255,.006) 60%), var(--panel); transition: border-color .3s, transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s; }
.hub-card:hover { border-color: rgba(var(--s2),.28); transform: translateY(-2px); box-shadow: 0 16px 40px -18px rgba(var(--glow),.45); }
.hub-card b { font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.hub-card small { color: var(--text-3); font-size: 13px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hub-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px 40px; }
.hub-cols3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; }
@media (max-width: 760px) { .hub-cols3 { grid-template-columns: 1fr; } }
.hub-cols h3 { margin: 0 0 8px; font-size: 14px; font-weight: 600; }
.hub-cols p { margin: 0; color: var(--text-2); font-size: 14.5px; line-height: 1.65; }
.hub-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.hub-sec > .hub-links { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 4px 24px; }
.hub-links a { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--text); font-size: 14.5px; transition: color .15s, border-color .2s; }
.hub-links a::after { content: "→"; color: var(--text-3); transition: transform .2s, color .2s; }
.hub-links a:hover { border-color: rgba(var(--s2),.4); }
.hub-links a:hover::after { color: rgb(var(--s1)); transform: translateX(3px); }
.hub-links small { margin-left: auto; color: var(--text-3); font-size: 12.5px; }
.hub-dim { color: var(--text-3); }
.hub-defs { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 4px 0 0; font-size: 14px; }
.hub-defs dt { color: var(--text-3); }
.hub-defs dd { margin: 0; }
.hub-prompt .code-block { background: radial-gradient(120% 140% at 0% 0%, rgba(var(--glow),.07), transparent 60%), #101012; border-color: rgba(var(--s2),.22); }
.hub-prompt pre code { white-space: pre-wrap; }
.hub-foot { margin: 56px 0 0; color: var(--text-3); font-size: 13.5px; }
.ss-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; flex: none; }
.ss-dot.operational { background: rgb(var(--s2)); box-shadow: 0 0 8px rgba(var(--s2),.7); }
.ss-dot.degraded { background: rgb(var(--s3)); box-shadow: 0 0 8px rgba(var(--s3),.7); }
.ss-dot.outage { background: #f08a8a; box-shadow: 0 0 8px rgba(240,138,138,.7); }
/* Status search: a faint outline so the field is visible. .fsearch.ss-find outranks the borderless /models rule (.fsearch input). */
.ss-find { flex: 0 0 auto; height: auto; padding: 0; background: none; }
.fsearch.ss-find input { padding: 0 12px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.02); transition: border-color .2s; }
.fsearch.ss-find input:focus { border-color: rgba(var(--s2),.5); }
.ss-group { margin-top: 22px; }
.ss-group h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: 13.5px; font-weight: 500; color: var(--text-2); }
.ss-group .logo-tile { width: 22px; height: 22px; }
/* Status rows: model, current state, then a 7-day bar chart (one bar per 90 minutes), like the live /status page.
   The meta row sits just under the search: period note on the left, current counts (which double as the colour key) on the right. */
.st-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin: -6px 0 0; color: var(--text-3); font-size: 12px; }
.st-legend { display: flex; flex-wrap: wrap; gap: 14px; }
.st-legend > span { display: inline-flex; align-items: center; gap: 6px; }
.st-legend .ss-dot { width: 6px; height: 6px; box-shadow: none; }
.st-legend b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.st-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); overflow: hidden; }
.st-row { display: grid; grid-template-columns: minmax(0,1fr) 128px minmax(0,1.7fr); align-items: center; gap: 20px; padding: 14px 18px; transition: background .2s; }
.st-row + .st-row { border-top: 1px solid var(--line); }
.st-row:hover { background: rgba(255,255,255,.015); }
.st-id { display: grid; gap: 2px; min-width: 0; }
.st-id b { font-weight: 500; font-size: 14px; transition: color .2s; }
.st-id:hover b { color: rgb(var(--s1)); }
.st-id code { padding: 0; background: none; color: var(--text-3); font-size: 11.5px; overflow-wrap: anywhere; }
.st-badge { justify-self: start; display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px; border-radius: 99px; border: 1px solid rgba(var(--s2),.18); background: rgba(var(--s2),.05); color: rgb(var(--s1)); font-size: 12px; white-space: nowrap; }
.st-badge .ss-dot { width: 6px; height: 6px; }
.st-badge.degraded { border-color: rgba(var(--s3),.3); background: rgba(var(--s3),.06); color: rgb(var(--s3)); }
.st-badge.outage { border-color: rgba(240,138,138,.3); background: rgba(240,138,138,.06); color: #f08a8a; }
.st-badge.none { border-color: var(--line); background: none; color: var(--text-3); }
.ss-dot.none { background: var(--text-3); box-shadow: none; }
.st-hist { min-width: 0; }
.st-bars { display: flex; gap: 2px; height: 26px; }
.st-bars i { flex: 1; min-width: 0; border-radius: 1.5px; background: rgba(var(--s2),.55); transition: background .15s, transform .15s; }
.st-bars i.d { background: rgb(var(--s3)); }
.st-bars i.x { background: #f08a8a; }
.st-bars.none i { background: rgba(255,255,255,.06); }
.st-bars:not(.none) i:hover { background: rgb(var(--s1)); transform: scaleY(1.15); }
.st-bars i.d:hover { background: rgb(var(--s3)); filter: brightness(1.2); }
.st-bars i.x:hover { background: #f5a3a3; }
.st-axis { display: flex; justify-content: space-between; gap: 8px; margin-top: 6px; color: var(--text-3); font-size: 11px; }
.st-up { color: var(--text-2); }
.st-tip { position: fixed; z-index: 80; padding: 8px 11px; border-radius: 10px; border: 1px solid var(--line-2); background: #151517; color: var(--text); font-size: 12px; line-height: 1.5; white-space: nowrap; pointer-events: none; transform: translate(-50%, calc(-100% - 10px)); box-shadow: 0 10px 30px rgba(0,0,0,.45); }
.st-tip span { display: block; color: var(--text-3); font-size: 11.5px; }
@media (max-width: 1000px) { .st-bars { gap: 1px; } }
@media (max-width: 760px) {
  .st-row { grid-template-columns: minmax(0,1fr) auto; gap: 12px; padding: 14px; }
  .st-badge { justify-self: end; }
  .st-hist { grid-column: 1 / -1; }
}
@media (max-width: 600px) { .hub-head-row { flex-wrap: wrap; } .hub-head-row .ss-find { flex: 1 1 100%; } .fsearch.ss-find input { width: 100%; } }
.tbl .m-head { display: flex; align-items: center; gap: 10px; color: var(--text); }
.tbl .m-head span { display: grid; gap: 2px; }
.tbl .m-head small code { font-size: 11px; color: var(--text-3); background: none; padding: 0; }
.tbl .m-head:hover b { text-decoration: underline; }
.prov-h { margin: 28px 0 8px; font-size: 16px; }
.phero-lite { min-height: 0; padding: 40px 44px; background: radial-gradient(120% 140% at 0% 0%, rgba(16,185,129,.28), transparent 60%), radial-gradient(90% 120% at 100% 100%, rgba(56,189,248,.18), transparent 60%), var(--panel); }
.phero-lite .phero-body { position: relative; }
.hstats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 8px; }
.hstat b { display: block; font: 600 26px/1.1 var(--display); }
.hstat span { color: var(--text-3); font-size: 13px; }
.card-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.model-card { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); transition: border-color .15s, transform .15s; }
.model-card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.model-card code { font-size: 11px; color: var(--text-3); background: none; padding: 0; }
.model-card p { margin: 0; color: var(--text-2); font-size: 13px; line-height: 1.5; flex: 1; }
.mc-price { font-size: 13px; color: var(--text); font-variant-numeric: tabular-nums; }
.mc-price small { color: var(--text-3); }
.prov-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.prov-grid a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.prov-grid a:hover { border-color: var(--line-2); }
.prov-grid span:nth-child(2) { display: grid; gap: 2px; }
.prov-grid small { color: var(--text-3); font-size: 12px; }
.prov-grid .cnt { margin-left: auto; color: var(--text-3); font-size: 12px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.fsearch input, .fsel { height: 38px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--panel); color: var(--text); font: inherit; }
.fsearch input { width: 260px; max-width: 100%; border: 0; background: none; padding: 0; }
.pv-btn { padding: 0 30px 0 8px; }
.fcount { margin-left: auto; color: var(--text-3); font-size: 13px; }
.pv { position: relative; }
.pv-btn { display: inline-flex; align-items: center; gap: 8px; }
.pv-cur { display: inline-flex; align-items: center; gap: 8px; }
.pv-grid { display: inline-grid; grid-template-columns: 10px 10px; gap: 3px; padding: 3px; border-radius: 6px; background: rgba(255,255,255,.06); }
.pv-grid img { width: 10px; height: 10px; display: block; }
.pv-cur .logo-tile { width: 20px; height: 20px; }
.pv-menu { position: absolute; top: calc(100% + 6px); left: 0; z-index: 20; min-width: 230px; margin: 0; padding: 6px; list-style: none; border: 1px solid var(--line-2); border-radius: 14px; background: #141416; box-shadow: 0 18px 50px rgba(0,0,0,.5); }
.pv-menu li { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 9px; font-size: 13.5px; cursor: pointer; outline: none; }
.pv-menu li:hover, .pv-menu li:focus { background: rgba(255,255,255,.06); }
.pv-menu li[aria-selected="true"] { background: rgba(var(--glow),.1); }
.pv-menu .logo-tile { width: 22px; height: 22px; }
.pv-menu .pv-grid { width: 22px; height: 22px; box-sizing: border-box; grid-template-columns: 7px 7px; gap: 2px; padding: 3px; }
.pv-menu .pv-grid img { width: 7px; height: 7px; }
.pv-menu .cnt { margin-left: auto; color: var(--text-3); font-size: 12px; font-variant-numeric: tabular-nums; }
/* /pricing savings panel: controls on the left, a ring (you pay vs you keep) on the right. */
.sv-intro h1 { font-size: clamp(30px, 4vw, 46px); }
.sv-promo { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 5px 12px; border-radius: 99px; border: 1px solid rgba(var(--s2),.2); background: rgba(var(--s2),.05); color: rgb(var(--s1)); font-size: 12.5px; }
.sv-promo i { width: 6px; height: 6px; border-radius: 50%; background: rgb(var(--s2)); box-shadow: 0 0 8px rgba(var(--s2),.7); }
.sv { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 40px; margin-top: 28px; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: radial-gradient(70% 90% at 100% 0%, rgba(var(--glow),.07), transparent 60%), var(--panel); }
.sv-ctl { min-width: 0; }
.sv-label { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; margin: 0 0 10px; color: var(--text-3); font-size: 12.5px; }
.sv-label small { margin-left: 8px; padding: 2px 8px; border-radius: 99px; background: rgba(255,255,255,.05); color: var(--text-2); font-size: 11.5px; }
.sv-label output { color: var(--text); font-size: 13.5px; font-weight: 500; font-variant-numeric: tabular-nums; }
.sv-models { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 26px; }
.sv-models button { display: flex; align-items: center; gap: 8px; min-width: 0; height: 40px; padding: 0 10px; border: 1px solid rgba(255,255,255,.07); border-radius: 11px; background: rgba(255,255,255,.015); color: var(--text-2); font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; transition: color .2s, border-color .2s, background .2s; }
.sv-models button:hover { color: var(--text); border-color: rgba(255,255,255,.14); }
.sv-models button[aria-pressed="true"] { color: var(--text); border-color: rgba(var(--s2),.45); background: rgba(var(--s2),.07); }
.sv-models .logo-tile { width: 22px; height: 22px; border-radius: 7px; }
.sv-models .logo-tile img { width: 13px; height: 13px; }
.sv-range { --p: 33.3%; display: block; width: 100%; height: 22px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.sv-range:focus { outline: none; }
.sv-range::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, rgb(var(--s2)), rgb(var(--s1))) 0 0 / var(--p) 100% no-repeat, rgba(255,255,255,.07); }
.sv-range::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -7px; border-radius: 50%; background: #f2fff8; box-shadow: 0 0 0 4px rgba(var(--s2),.18), 0 2px 10px rgba(0,0,0,.5); transition: box-shadow .2s; }
.sv-range:hover::-webkit-slider-thumb { box-shadow: 0 0 0 7px rgba(var(--s2),.2), 0 2px 10px rgba(0,0,0,.5); }
.sv-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 7px rgba(var(--s2),.4), 0 2px 10px rgba(0,0,0,.5); }
.sv-range::-moz-range-track { height: 6px; border-radius: 99px; background: rgba(255,255,255,.07); }
.sv-range::-moz-range-progress { height: 6px; border-radius: 99px; background: linear-gradient(90deg, rgb(var(--s2)), rgb(var(--s1))); }
.sv-range::-moz-range-thumb { width: 20px; height: 20px; border: 0; border-radius: 50%; background: #f2fff8; box-shadow: 0 0 0 4px rgba(var(--s2),.18), 0 2px 10px rgba(0,0,0,.5); }
.sv-range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 7px rgba(var(--s2),.4), 0 2px 10px rgba(0,0,0,.5); }
/* Tick marks line up with the thumb centre, which travels from 10px to (100% - 10px). */
.sv-ticks { position: relative; height: 14px; margin: 8px 10px 0; color: var(--text-3); font-size: 11px; font-variant-numeric: tabular-nums; }
.sv-ticks span { position: absolute; top: 0; transform: translateX(-50%); }
.sv-ticks span:nth-child(2) { left: 33.333%; }
.sv-ticks span:nth-child(3) { left: 66.667%; }
.sv-ticks span:nth-child(4) { left: 100%; }
.sv-sum { display: grid; grid-template-columns: 1fr 1fr 1.25fr; margin: 28px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.sv-sum > div { min-width: 0; }
.sv-sum dt { margin-bottom: 6px; color: var(--text-3); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sv-sum dd { margin: 0; font-size: 20px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sv-sum del { color: var(--text-3); text-decoration-thickness: 1.5px; text-decoration-color: rgba(255,255,255,.35); }
.sv-k { padding-left: 18px; border-left: 1px solid var(--line); }
.sv-k dt { color: rgb(var(--s1)); }
.sv-k b { font: 600 28px/1 var(--display); letter-spacing: -.02em; background: var(--aurora); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sv-k small { margin-left: 4px; color: var(--text-3); font-size: 12.5px; font-weight: 400; }
.sv-year { margin: 14px 0 0; color: var(--text-3); font-size: 13.5px; }
.sv-year b { font-weight: 600; font-variant-numeric: tabular-nums; }
.sv-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 24px; }
.sv-cta span { color: var(--text-3); font-size: 13px; }
.sv-cta span b { color: rgb(var(--s1)); font-weight: 600; }
.sv-vis { display: grid; justify-items: center; gap: 18px; }
.sv-ring { position: relative; width: min(100%, 320px); aspect-ratio: 1; }
.sv-ring svg { display: block; width: 100%; height: 100%; overflow: visible; }
.sv-ring circle { fill: none; stroke-width: 15; }
.sv-track { stroke: rgba(255,255,255,.04); }
.sv-pay { stroke: rgba(255,255,255,.38); }
.sv-keep { stroke: url(#svG); filter: drop-shadow(0 0 10px rgba(var(--s2),.35)); }
.sv-pay, .sv-keep { transition: stroke-dasharray .5s cubic-bezier(.2,.7,.2,1), stroke-dashoffset .5s cubic-bezier(.2,.7,.2,1); }
#svG stop:first-child { stop-color: rgb(var(--s1)); }
#svG stop:last-child { stop-color: #7ee8cf; }
.sv-mid { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; }
.sv-mid b { font: 600 clamp(44px, 6vw, 60px)/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.sv-mid > span { color: var(--text-3); font-size: 13px; line-height: 1.4; }
.sv-legend { display: flex; gap: 18px; color: var(--text-3); font-size: 12.5px; }
.sv-legend span { display: inline-flex; align-items: center; gap: 7px; }
.sv-legend i { width: 8px; height: 8px; border-radius: 50%; }
.sv-legend .pay { background: rgba(255,255,255,.38); }
.sv-legend .keep { background: rgb(var(--s2)); box-shadow: 0 0 8px rgba(var(--s2),.6); }
.sv-note { display: flex; justify-content: flex-end; margin: 16px 4px 0; }
.sv-note .link-more { color: rgb(var(--s1)); font-size: 14px; }
.sv-note .link-more:hover { color: #d1fae5; }
.sv-note .link-more svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hub-head-row .link-more svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 900px) {
  .sv { grid-template-columns: 1fr; gap: 28px; }
  .sv-vis { order: -1; }
  .sv-ring { width: min(100%, 260px); }
}
@media (max-width: 600px) {
  .sv { padding: 18px; border-radius: 18px; }
  .sv-models { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sv-sum { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .sv-k { grid-column: 1 / -1; padding: 16px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .sv-cta .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .sv-pay, .sv-keep { transition: none; } }
.site-foot { margin-top: 72px; padding-top: 32px; border-top: 1px solid var(--line); font-size: 13.5px; }
.sf-cols { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; }
.sf-brand p { color: var(--text-3); max-width: 260px; line-height: 1.5; }
.site-foot nav { display: grid; gap: 8px; align-content: start; }
.site-foot nav b { margin-bottom: 4px; color: var(--text); font-weight: 600; }
.site-foot nav a, .sf-bottom a { color: var(--text-3); }
.site-foot nav a:hover, .sf-bottom a:hover { color: var(--text); }
.sf-bottom { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; padding: 18px 0 8px; border-top: 1px solid var(--line); color: var(--text-3); }
.sf-bottom .foot-social { margin-left: auto; display: inline-flex; gap: 14px; padding-left: 0; border-left: 0; }
.sf-bottom .foot-social { gap: 4px; }
.sf-bottom .foot-social a { display: grid; place-items: center; width: 32px; height: 32px; margin: -6px 0; padding: 0; border-radius: 9px; background: none; color: var(--text-3); transition: color .2s, background .2s; }
.sf-bottom .foot-social a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.sf-bottom .foot-social svg { width: 16px; height: 16px; fill: currentColor; }
.dash-head { margin-bottom: 24px; }
.dash-head p { color: var(--text-2); }
.dash-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 14px; }
.dash-card { margin-bottom: 14px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.dash-card h2 { margin: 0 0 8px; font-size: 17px; }
.dash-card .row { display: flex; gap: 8px; flex-wrap: wrap; }
.dash-big { margin: 6px 0; font: 600 34px/1.1 var(--display); }
.promo-note { color: #a5e9ff; font-weight: 500; }
.topup fieldset { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding: 0; border: 0; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: inline-grid; place-items: center; min-width: 64px; height: 38px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 10px; cursor: pointer; }
.chip input:checked + span { border-color: var(--violet); background: rgba(16,185,129,.2); }
.chip input:focus-visible + span { outline: 2px solid var(--violet); outline-offset: 2px; }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; margin: 12px 0; }
.tool-option { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.tool-option[aria-current="page"], .tool-option:hover { border-color: var(--line-2); background: var(--panel-2); }
.tool-icon, .tool-icon img { width: 22px; height: 22px; }
.tool-check { display: none; }
.picker-label, .platform-label { font-size: 12px; color: var(--text-3); text-transform: uppercase; letter-spacing: .1em; }
.os-picker { display: flex; gap: 6px; margin: 8px 0 16px; }
.os-picker button { height: 32px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 9px; color: var(--text-2); }
.os-picker button[aria-pressed="true"] { color: #fff; border-color: var(--violet); background: rgba(16,185,129,.2); }
.rh-guide-steps { padding-left: 0; list-style: none; }
.rh-guide-steps > li { margin-bottom: 26px; }
.docs-chat-choice { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--text-3); font-size: 13px; }
.model-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.model-identity { display: flex; gap: 10px; align-items: center; }
.model-identity h3 { margin: 0; font-size: 14px; }
.model-identity p { margin: 0; font-size: 12px; color: var(--text-3); }
.badge { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3ecf8e; }
.dot.degraded { background: #f5b14c; }
.dot.outage { background: #38bdf8; }
.table-head { display: none; }
/* Palette: emerald and champagne gold. Edit these values to retune the whole site. */
:root {
  --s1: 167,243,208; --s2: 110,231,183; --s3: 253,230,160;   /* gradient stops (text, rings): mint, emerald, champagne */
  --o1: #0fa877; --o2: #d9a33a; --o3: #14b8a0;                /* background glow blobs (left, right, centre) */
  --btn1: #0f9e72; --btn2: #0b7d63; --glow: 120,220,170;
}
:root { --violet: rgb(var(--s2)); --blue: var(--o1); --pink: rgb(var(--s3));
  --aurora: linear-gradient(100deg, rgb(var(--s1)) 0%, rgb(var(--s2)) 50%, rgb(var(--s3)) 100%);
  --ring: linear-gradient(120deg, rgba(var(--s1),.75), rgba(var(--s2),.8), rgba(var(--s3),.75)); }
.grad, .pp-shine { background: var(--aurora); background-size: 100% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: none; }
.b1 { background: radial-gradient(circle, var(--o1) 0%, transparent 70%); opacity: .5; }
.b2 { background: radial-gradient(circle, var(--o2) 0%, transparent 70%); opacity: .5; }
.b3 { background: radial-gradient(circle, var(--o3) 0%, transparent 70%); opacity: .38; }
.composer { background-image: linear-gradient(#121213, #121213), var(--ring); box-shadow: 0 0 0 4px rgba(var(--glow),.06), 0 20px 60px rgba(0,0,0,.45); }
.composer:focus-within { box-shadow: 0 0 0 4px rgba(var(--glow),.14), 0 20px 60px rgba(0,0,0,.5); }
.mp { background-image: linear-gradient(#121213, #121213), var(--ring); }
.save-pill { background-image: linear-gradient(rgba(18,18,19,.85), rgba(18,18,19,.85)), var(--ring); box-shadow: 0 0 0 4px rgba(var(--glow),.05), 0 10px 40px rgba(var(--glow),.14); }
.save-pill:hover { box-shadow: 0 0 0 4px rgba(var(--glow),.1), 0 10px 40px rgba(var(--glow),.24); }
/* Green buttons keep their gradient on hover and fade brighter. The flat-colour hover rules in styles.css and pages.css
   swapped the gradient out instantly, so the dark page flashed through before the new colour faded in. */
.btn-primary, .send, .h-btn.pri { background: linear-gradient(135deg, var(--btn1), var(--btn2)); color: #fff; }
.btn-primary { transition: filter .2s, transform .15s; }
.send { transition: filter .2s, opacity .15s, transform .15s; }
.h-btn.pri { transition: filter .2s; }
.btn-primary:hover, .send:hover:not(:disabled), .h-btn.pri:hover:not(:disabled) { background: linear-gradient(135deg, var(--btn1), var(--btn2)); filter: brightness(1.1); }
.h-btn.pri:disabled:hover { background: linear-gradient(135deg, var(--btn1), var(--btn2)); }
/* Button with an arrow that drifts right now and then, like the "More in the docs" tile. */
.btn-go { gap: 8px; }
.btn-go svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; animation: ht-lean 3.5s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .btn-go svg { animation: none; } }
.pp-btn-main { background: linear-gradient(135deg, var(--btn1), var(--btn2)); }
.m-dot { background: conic-gradient(rgb(var(--s1)), rgb(var(--s2)), rgb(var(--s3)), rgb(var(--s1))); }
/* Brand: the RouterHub stack (/logo.svg), redrawn in the palette. No tile behind it, just a soft glow. */
.brand-mark, .hero-mark { background: url(/logo.svg) center / contain no-repeat; border-radius: 0; box-shadow: none; filter: drop-shadow(0 0 6px rgba(var(--glow),.28)); }
.hero-mark { filter: drop-shadow(0 0 18px rgba(var(--glow),.35)); }

/* Quiet attention: one soft light sweep every few seconds, never a pulse. All of it stops for reduced motion. */
@keyframes rh-sheen { 0%, 72% { transform: translateX(-120%) skewX(-20deg); } 100% { transform: translateX(260%) skewX(-20deg); } }
.upsell[data-for="out"] .btn-primary { position: relative; overflow: hidden; isolation: isolate; }
.upsell[data-for="out"] .btn-primary::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 40%; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent); animation: rh-sheen 6s ease-in-out 1.5s infinite; }
.upsell .grad { font-weight: 700; }
/* Sidebar: one spacing for every page and every account state, so switching views never changes it. If the links don't fit, the list scrolls. */
.sb-top { padding-bottom: 10px; }
.nav-item { height: 32px; }
.nav-primary { margin-bottom: 4px; }
.sb-section { margin-top: 8px; }
.sb-label { padding: 6px 10px 4px; }
.recent a { padding-top: 6px; padding-bottom: 6px; }
.sb-scroll { min-height: 0; }
@keyframes rh-ring { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes rh-nudge { 0%, 86%, 100% { transform: translateY(0); } 91% { transform: translateY(-2px); } 96% { transform: translateY(1px); } }
@media (prefers-reduced-motion: reduce) {
  .upsell[data-for="out"] .btn-primary::after, .save-pill, .save-pill::after, .explore-btn { animation: none !important; }
  .upsell[data-for="out"] .btn-primary::after, .save-pill::after { display: none; }
}

/* Panels that used the skin's violet wave photos: palette gradients instead */
.pp-hero { background: radial-gradient(70% 70% at 15% 0%, rgba(var(--glow),.16), transparent 70%), radial-gradient(55% 60% at 90% 5%, rgba(217,163,58,.13), transparent 70%), linear-gradient(#0c0e0d, var(--bg)); }
.pp-cta { background: radial-gradient(70% 90% at 0% 100%, rgba(var(--glow),.14), transparent 70%), radial-gradient(60% 80% at 100% 0%, rgba(217,163,58,.12), transparent 70%), var(--panel); }
.u-hero { background: radial-gradient(70% 120% at 100% 0%, rgba(217,163,58,.12), transparent 65%), radial-gradient(60% 100% at 0% 100%, rgba(var(--glow),.12), transparent 65%), var(--panel); }
.pp-orb.o1 { background: var(--o1); }
.pp-orb.o2 { background: var(--o2); opacity: .28; }
.pp-orb.o3 { background: var(--o3); }
.a-wave, .cta > img { filter: hue-rotate(-115deg) saturate(.75); }

/* Model page price cards: long exact prices must not overflow */
.price-cards { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.price-cards dd { font-size: clamp(15px, 1.5vw, 19px); overflow-wrap: anywhere; }
.hero-ctas .btn-ghost { margin-top: 0; border: 1px solid var(--line-2); }

/* Home hero: intro and examples in the middle, chat box anchored low */
.hero { justify-content: stretch; padding: 64px 24px 20px; }
.hero-inner { flex: 1; justify-content: flex-end; }
.hero-top { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; padding: 24px 0 32px; }
.hero.chatting .hero-top { display: none; }
.hero .composer { margin-top: auto; }
.starters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; width: 100%; max-width: 720px; margin: 28px auto 0; }
.starter { white-space: nowrap; }
.starter svg { width: 15px; height: 15px; flex: none; color: var(--text-3); transition: color .15s; }
.starter:hover svg { color: #7ee8cf; }
.starter { display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--line); background: rgba(255,255,255,.015); backdrop-filter: none; color: var(--text-2); font-size: 13.5px; text-align: left; transition: color .15s, border-color .15s, background .15s; }
.starter:hover { transform: none; color: var(--text); border-color: var(--line-2); background: rgba(255,255,255,.04); }
.starter:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
.st-k { display: inline-grid; place-items: center; height: 26px; padding: 0 9px; border-radius: 99px; background: rgba(255,255,255,.06); color: var(--text-3); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.starter:hover .st-k { color: var(--text-2); }
.explore-btn { position: static; transform: none; align-self: center; margin-top: 14px; height: 32px; padding: 0 12px; border: 0; background: none; color: var(--text-3); font-size: 13px; }
.explore-btn:hover { background: none; color: var(--text); }
.fineprint { margin-top: 10px; }
@media (max-width: 600px) {
  .starters { flex-direction: column; align-items: stretch; }
  .starter { justify-content: flex-start; }
}

/* Savings vs official prices */
.save-pill { display: inline-flex; align-items: center; gap: 5px; margin-bottom: 20px; padding: 9px 20px; border-radius: 99px; border: 1px solid transparent;
  background-image: linear-gradient(rgba(18,18,19,.85), rgba(18,18,19,.85)), linear-gradient(120deg, rgba(159,176,255,.7), rgba(45,212,191,.9), rgba(244,163,179,.7));
  background-origin: border-box; background-clip: padding-box, border-box; box-shadow: 0 0 0 4px rgba(16,185,129,.07), 0 10px 40px rgba(16,185,129,.18);
  color: var(--text); font-size: 15px; font-weight: 500; transition: box-shadow .2s; }
.save-pill:hover { box-shadow: 0 0 0 4px rgba(16,185,129,.14), 0 10px 40px rgba(16,185,129,.28); }
.save-pill .grad { font-weight: 700; }
@media (max-width: 600px) { .save-pill { font-size: 14px; } }
/* Savings pill: its palette border drifts slowly, and a faint sheen passes over it now and then. */
.save-pill { position: relative; overflow: hidden; isolation: isolate;
  background-image: linear-gradient(rgba(18,18,19,.85), rgba(18,18,19,.85)), linear-gradient(120deg, rgba(var(--s1),.55), rgba(var(--s2),.9), rgba(var(--s3),.6), rgba(var(--s2),.9), rgba(var(--s1),.55));
  background-size: 100% 100%, 300% 100%; animation: rh-ring 9s ease-in-out infinite; }
.save-pill::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 30%; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(var(--s1),.12), transparent); animation: rh-sheen 8s ease-in-out 3s infinite; }
/* "Models, prices and API": the arrow keeps its bob; the button gives a small nudge every few seconds. */
.explore-btn { animation: rh-nudge 5s ease-in-out 2s infinite; }
.save-tag { display: inline-block; padding: 2px 7px; border-radius: 99px; background: rgba(94,224,160,.14); color: #5ee0a0; font-size: 11.5px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.vs { display: inline-flex; align-items: baseline; justify-content: flex-end; gap: 7px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.vs del, .sav-nums del, .sav-total del, .msg-meta del { color: var(--text-3); text-decoration-thickness: 1px; font-weight: 400; }
.vs del { font-size: .9em; opacity: .75; }
.vs b { color: rgb(var(--s1)); font-weight: 600; }
.vs b.plain { color: var(--text); }
.vs-save { align-self: center; padding: 1px 6px; border-radius: 99px; font-size: 11px; font-weight: 600; line-height: 1.5; color: rgba(var(--s1),.9); background: rgba(var(--s2),.09); box-shadow: inset 0 0 0 1px rgba(var(--s2),.16); }
.vs-save.ghost { visibility: hidden; }
.savings { margin: 56px 0 8px; padding: 32px; border: 1px solid var(--line); border-radius: 24px; background: radial-gradient(90% 120% at 0% 0%, rgba(var(--glow),.09), transparent 55%), radial-gradient(70% 90% at 100% 100%, rgba(var(--s3),.06), transparent 60%), var(--panel); scroll-margin-top: 24px; }
.sav-head h2 { margin: 0 0 10px; font: 600 clamp(26px, 3.2vw, 38px)/1.1 var(--display); letter-spacing: -.02em; }
.sav-head p { margin: 0 0 20px; max-width: 640px; color: var(--text-2); }
.sav-tabs { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 12px; }
.sav-tabs[hidden] { display: none; }
.sav-tabs button { height: 34px; padding: 0 14px; border-radius: 9px; color: var(--text-2); font-weight: 500; }
.sav-tabs button[aria-selected="true"] { background: var(--panel-3); color: var(--text); }
.sav-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 14px; }
.sav-bar .sav-tabs { margin: 0; }
.sav-workload { color: var(--text-3); font-size: 13px; font-variant-numeric: tabular-nums; }
.sav-model b { font-weight: 600; }
.sav-nums del { font-size: 13.5px; }
.sav-nums b { color: rgb(var(--s1)); }
.sav-foot { margin: 16px 0 0; color: var(--text-3); font-size: 12.5px; }
.sav-foot a { color: var(--text-2); text-decoration: underline; text-decoration-color: rgba(var(--s1),.35); text-underline-offset: 3px; }
.sav-foot a:hover { color: var(--text); }
/* Hero: "Or connect your tools". Logos drift up and down a couple of pixels, out of step; the arrow leans right now and then. */
/* Below the starters: a glass pill set apart from them by its logos and the mint arrow, so it doesn't read as a fourth starter. */
.hero-tools { display: inline-flex; align-items: center; gap: 10px; margin: 18px auto 0; padding: 5px 14px 5px 6px; border-radius: 99px;
  border: 1px solid rgba(255,255,255,.07); background: rgba(255,255,255,.025); color: var(--text-2); font-size: 13px; font-weight: 500;
  transition: color .2s, border-color .2s, background .2s; }
.hero-tools:hover { color: var(--text); border-color: rgba(var(--s2),.3); background: rgba(255,255,255,.04); }
.ht-logos { display: inline-flex; }
.ht-logos img { width: 20px; height: 20px; border-radius: 6px; object-fit: contain; background: #141416; box-shadow: 0 0 0 2px var(--bg); margin-left: -6px; animation: ht-bob 3.6s ease-in-out infinite; }
.ht-logos img:first-child { margin-left: 0; }
.ht-logos img { margin-left: -5px; opacity: .85; }
.hero-tools:hover .ht-logos img { opacity: 1; }
.ht-logos img:nth-child(2) { animation-delay: .4s; }
.ht-logos img:nth-child(3) { animation-delay: .8s; }
.ht-logos img:nth-child(4) { animation-delay: 1.2s; }
.hero-tools > svg { color: rgb(var(--s1)); }
.hero-tools > svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: .7; animation: ht-lean 4s ease-in-out 1s infinite; }
.hero-tools:hover > svg { opacity: 1; }
@keyframes ht-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
@keyframes ht-lean { 0%, 80%, 100% { transform: translateX(0); } 90% { transform: translateX(3px); } }
.hero.chatting .hero-tools { display: none; }
@media (prefers-reduced-motion: reduce) { .ht-logos img, .hero-tools > svg { animation: none; } }

/* Tools: logo tiles for everything the key plugs into */
.tools { margin: 24px 0 8px; padding: 32px; border: 1px solid var(--line); border-radius: 24px; background: radial-gradient(80% 110% at 100% 0%, rgba(var(--glow),.07), transparent 55%), var(--panel); scroll-margin-top: 24px; }
.tl-grid { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.tl-grid a { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 14px; border-radius: 14px; border: 1px solid rgba(255,255,255,.06); background: rgba(255,255,255,.02); font-weight: 500; font-size: 14px; transition: border-color .2s, background .2s, transform .2s; }
.tl-grid a:hover { border-color: rgba(var(--s2),.3); background: rgba(255,255,255,.04); transform: translateY(-1px); }
.tl-grid img { width: 28px; height: 28px; flex: none; border-radius: 7px; object-fit: contain; }
/* Cline's mark is black on transparent: show it light on the dark tile. */
.tl-grid img[src$="cline.svg"], .ht-logos img[src$="cline.svg"] { filter: invert(1) brightness(.92); }
.tl-code { margin: 0; }
/* Eighth tile: dashed outline marks it as "more", a plus sits where the logos sit, and the arrow drifts right now and then. */
.tl-grid a.tl-all { border-style: dashed; border-color: rgba(255,255,255,.1); background: none; color: var(--text-2); }
.tl-grid a.tl-all:hover { color: var(--text); border-color: rgba(var(--s2),.35); background: rgba(255,255,255,.02); }
.tl-plus { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 7px; background: rgba(var(--s2),.08); }
.tl-plus svg { width: 14px; height: 14px; fill: none; stroke: rgb(var(--s1)); stroke-width: 1.8; stroke-linecap: round; }
.tl-grid a.tl-all > svg { margin-left: auto; width: 15px; height: 15px; flex: none; fill: none; stroke: rgb(var(--s1)); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; animation: ht-lean 3.5s ease-in-out infinite; }
/* Home tools: the tile grid gets the soft gradient-border glow the code box had. */
.tools .tl-grid { margin: 0; padding: 12px; border: 1px solid transparent; border-radius: 20px;
  background-image: linear-gradient(#0f1011, #0f1011), linear-gradient(140deg, rgba(var(--s1),.35), rgba(255,255,255,.06) 40%, rgba(var(--s3),.25));
  background-origin: border-box; background-clip: padding-box, border-box; box-shadow: 0 18px 50px -24px rgba(var(--glow),.35); }
.tl-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px 20px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.05); font-size: 13px; }
.tl-base { color: var(--text-3); }
.tl-base code { margin-left: 6px; padding: 2px 8px; border-radius: 7px; background: rgba(255,255,255,.04); color: var(--text-2); font-size: 12.5px; }
.tl-links { display: flex; flex-wrap: wrap; gap: 6px; }
.tl-links a { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 99px; border: 1px solid rgba(255,255,255,.07); color: var(--text-2); transition: color .2s, border-color .2s; }
.tl-links a:hover { color: var(--text); border-color: rgba(var(--s2),.3); }
.tl-links svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: .7; transition: transform .2s; }
.tl-links a:hover svg { transform: translateX(2px); }
@media (prefers-reduced-motion: reduce) { .tl-grid a.tl-all > svg { animation: none; } }
/* Provider logos link to /models: same bob, a faint lift on hover. */
a.eh-brands { width: fit-content; margin-left: auto; margin-right: auto; }
a.eh-brands img { transition: border-color .2s; }
a.eh-brands:hover img { border-color: rgba(var(--s2),.3); }
.tl-code pre { margin: 0; padding: 14px 16px; overflow-x: auto; font-size: 12.8px; line-height: 1.7; }
@media (max-width: 900px) { .tl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .savings, .tools { padding: 22px 18px; } .sav-row { grid-template-columns: 1fr auto; } .sav-row .sav-bars { grid-column: 1 / -1; order: 3; } .sav-row .save-tag { display: none; } }
.sav-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sav-row { display: grid; grid-template-columns: 210px 1fr 170px 56px; gap: 16px; align-items: center; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.02); }
.sav-model { display: flex; align-items: center; gap: 10px; }
.sav-model span:last-child { display: grid; }
.sav-model small { color: var(--text-3); font-size: 12px; }
.sav-bars { position: relative; height: 10px; }
.sav-bars i { position: absolute; left: 0; top: 0; height: 100%; border-radius: 99px; }
.bar-off { width: 100%; background: rgba(255,255,255,.08); }
.bar-ours { background: linear-gradient(90deg, rgb(var(--s1)), rgb(var(--s2)) 60%, rgb(var(--s3))); min-width: 4px; transition: width .5s cubic-bezier(.2,.8,.2,1); }
.sav-nums { display: flex; align-items: baseline; justify-content: flex-end; gap: 8px; font-variant-numeric: tabular-nums; }
.sav-nums b { font-size: 17px; }
.sav-nums small { color: var(--text-3); }
.sav-row .save-tag { justify-self: end; }
/* Home intro, like routerhub.si: a row of provider logos, then "One API key." Logos bob slowly, each a little out of step. */
/* Logos on one row, "One API key." on its own line below. */
.eh-brands { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 18px; }
.explore-head .eh-title { margin: 0; font: 500 clamp(30px, 3.6vw, 42px)/1.1 var(--display); letter-spacing: -.025em; }
.eh-brands img { width: 36px; height: 36px; padding: 8px; box-sizing: border-box; border-radius: 10px; object-fit: contain;
  background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.01)), var(--panel); border: 1px solid rgba(255,255,255,.07);
  animation: eh-bob 6s ease-in-out infinite; }
.eh-brands img:nth-child(2) { animation-delay: -.75s; } .eh-brands img:nth-child(3) { animation-delay: -1.5s; }
.eh-brands img:nth-child(4) { animation-delay: -2.25s; } .eh-brands img:nth-child(5) { animation-delay: -3s; }
.eh-brands img:nth-child(6) { animation-delay: -3.75s; } .eh-brands img:nth-child(7) { animation-delay: -4.5s; }
.eh-brands img:nth-child(8) { animation-delay: -5.25s; }
@keyframes eh-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .eh-brands img { animation: none; } }

/* Savings: four featured models, cost of one request, official price struck through. Modelled on the live landing page. */
.fm-note { margin: 0 0 10px; color: var(--text-3); font-size: 12.5px; }
.fm-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fm-row { display: flex; align-items: center; gap: 16px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(255,255,255,.05); background: rgba(255,255,255,.015); transition: border-color .2s, background .2s; }
.fm-row:hover { border-color: rgba(var(--s2),.28); background: rgba(255,255,255,.03); }
.fm-name { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1; }
.fm-name > span:last-child { display: grid; gap: 2px; min-width: 0; }
.fm-name b { font-weight: 500; font-size: 14.5px; color: var(--text); }
.fm-name small { color: var(--text-3); font: 11.5px var(--mono, ui-monospace, monospace); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fm-cost { display: grid; justify-items: end; gap: 2px; font-variant-numeric: tabular-nums; }
.fm-prices { display: inline-flex; align-items: baseline; gap: 8px; }
.fm-prices del { color: var(--text-3); font-size: 13px; opacity: .75; text-decoration-thickness: 1px; }
.fm-prices strong { font-size: 16px; font-weight: 600; color: rgb(var(--s1)); }
.fm-cost small { color: var(--text-3); font-size: 12px; }
.fm-cost small.fm-save { color: rgba(var(--s1),.85); font-weight: 500; }
/* Compact: 2x2 grid, one line per model, tighter panel. */
#savings.savings { padding: 24px 26px 20px; margin-top: 40px; }
#savings .sav-head h2 { margin-bottom: 4px; }
#savings .sav-head p { margin-bottom: 14px; font-size: 13.5px; }
.fm-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.fm-row { gap: 12px; padding: 9px 12px; border-radius: 12px; }
.fm-name { gap: 10px; }
/* Long names wrap to a second line instead of being cut off; the price block is two lines tall anyway. */
.fm-name b { font-size: 14px; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.fm-name .logo-tile { flex: none; }
/* Two balanced lines per side: name over its variant pill on the left, prices over the saving pill on the right. */
.fm-label { display: grid; justify-items: start; gap: 4px; min-width: 0; }
.fm-label .mp-badge { line-height: 1.5; }
.fm-cost { gap: 4px; }
.fm-cost .vs { gap: 7px; }
.fm-cost .vs b { font-size: 15px; font-weight: 600; }
.fm-cost .vs del { font-size: 12.5px; }
.fm-cost .vs-save { align-self: end; }
.fm-cost .fm-per { color: var(--text-3); font-size: 11.5px; line-height: 1.5; }
.fm-prices strong { font-size: 15px; }
.fm-prices del { font-size: 12.5px; }
.fm-cost small { font-size: 11.5px; }
#savings .sav-foot { margin: 0; font-size: 12px; }
.fm-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: 14px; }
.fm-foot .btn { margin: 0; flex: none; }
@media (max-width: 720px) { .fm-list { grid-template-columns: minmax(0, 1fr); } }
/* Home FAQ: same width as the savings and tools panels above it (pages.css caps .faq at 820px elsewhere). */
.explore .faq { max-width: none; }
.fm-row > svg { width: 15px; height: 15px; flex: none; fill: none; stroke: var(--text-3); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s, stroke .2s; }
.fm-row:hover > svg { stroke: var(--text); transform: translateX(3px); }

/* Savings, quieter pass: lighter type, hairline rows instead of filled pills, thin bars, one accent colour. */
.savings { padding: 36px 36px 28px; background: radial-gradient(70% 90% at 0% 0%, rgba(var(--glow),.05), transparent 60%), var(--panel); border-color: rgba(255,255,255,.06); }
.sav-head h2 { margin: 0 0 6px; font: 500 clamp(22px, 2.4vw, 30px)/1.2 var(--display); letter-spacing: -.015em; }
.sav-head h2 .grad { font-weight: 500; }
.sav-head p { margin: 0 0 22px; color: var(--text-3); font-size: 14.5px; }
.sav-bar { margin-bottom: 18px; }
.sav-tabs { padding: 3px; gap: 2px; border-radius: 10px; border-color: rgba(255,255,255,.06); }
.sav-tabs button { height: 28px; padding: 0 12px; border-radius: 8px; font-size: 13px; color: var(--text-3); }
.sav-tabs button[aria-selected="true"] { background: rgba(255,255,255,.06); color: var(--text); }
.sav-workload { font-size: 12.5px; }
.sav-cols, .sav-row { grid-template-columns: minmax(150px, 200px) 1fr 160px 44px; gap: 20px; padding: 0 4px; }
.sav-cols { display: grid; padding-bottom: 8px; color: var(--text-3); font-size: 11.5px; letter-spacing: .02em; }
.sav-cols span:nth-child(3), .sav-cols span:nth-child(4) { text-align: right; }
.sav-list { gap: 0; border-top: 1px solid rgba(255,255,255,.05); }
.sav-row { min-height: 52px; border-radius: 0; background: none; border-bottom: 1px solid rgba(255,255,255,.05); }
.sav-model { gap: 10px; font-size: 14px; }
.sav-model b { font-weight: 500; }
.sav-model .logo-tile { width: 24px; height: 24px; border-radius: 7px; }
.sav-bars { height: 4px; }
.bar-off { background: rgba(255,255,255,.06); }
.bar-ours { background: rgba(var(--s1),.75); min-width: 3px; }
.sav-nums { gap: 10px; }
.sav-nums del { font-size: 13px; opacity: .7; }
.sav-nums b { font-size: 15px; font-weight: 500; }
.sav-nums small { font-size: 12px; }
.sav-row .save-tag { padding: 0; background: none; color: rgba(var(--s1),.85); font-size: 12.5px; font-weight: 500; }
.sav-foot { margin-top: 18px; }
@media (max-width: 600px) { .savings { padding: 24px 18px 20px; } .sav-cols { display: none; } .sav-row { grid-template-columns: 1fr auto; row-gap: 8px; padding: 10px 2px; } }
.sav-total { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px; padding: 14px 12px 0; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.sav-total b { font-size: 18px; color: #5ee0a0; }
.msg-meta del { margin-left: 2px; }
.save-line { margin: 0 0 14px; color: var(--text-2); line-height: 1.7; }
.save-line .save-tag { margin-right: 6px; }
.tbl tbody th { text-transform: none; letter-spacing: normal; font-size: 14px; color: var(--text); }
.save-line del { color: var(--text-3); }
.mp-row .save-tag { margin-left: 6px; }
@media (max-width: 760px) {
  .savings { padding: 22px 16px; }
  .sav-row { grid-template-columns: 1fr auto; }
  .sav-bars { grid-column: 1 / -1; order: 3; }
  .sav-row .save-tag { display: none; }
}
@media (max-width: 1000px) {
  .rh-content-layout, .rh-guides-layout { grid-template-columns: 1fr; }
  .rh-content-sidebar, .guide-sidebar { display: none; }
  .sf-cols { grid-template-columns: 1fr 1fr; }
  .dash-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hide-sm { display: none; }
  .phero-lite { padding: 28px 22px; }
}

/* Account states: data-for="out new active" (space-separated). Without JS (crawlers) the guest view shows. */
html:not([data-acct]) [data-for]:not([data-for~="out"]),
html[data-acct="out"] [data-for]:not([data-for~="out"]),
html[data-acct="new"] [data-for]:not([data-for~="new"]),
html[data-acct="active"] [data-for]:not([data-for~="active"]) { display: none !important; }
html[data-auth="in"] #explore, html[data-auth="in"] .save-pill, html[data-auth="in"] .explore-btn { display: none !important; }
.pv-pill { position: fixed; right: 16px; bottom: 16px; z-index: 90; display: inline-flex; align-items: center; gap: 2px; height: 36px; padding: 0 4px 0 12px; border-radius: 99px; font-size: 12.5px; background: rgba(22,22,24,.88); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 10px 30px -12px rgba(0,0,0,.8); }
.pv-k { margin-right: 6px; color: var(--text-3); }
.pv-pill button { height: 28px; padding: 0 11px; border-radius: 99px; color: var(--text-2); font-weight: 500; transition: background .15s, color .15s; }
.pv-pill button:hover { color: var(--text); background: rgba(255,255,255,.05); }
.pv-pill button[aria-pressed="true"] { color: var(--text); background: rgba(var(--s2),.16); box-shadow: inset 0 0 0 1px rgba(var(--s2),.3); }
@media (max-width: 600px) { .pv-k { display: none; } .pv-pill { right: 8px; bottom: 8px; } }
.tb-bal { display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 5px 0 12px; border-radius: 99px; font-size: 13px; border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.tb-bal span { font-weight: 600; font-variant-numeric: tabular-nums; }
.tb-bal b { height: 24px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 99px; font-weight: 500; font-size: 12.5px; background: rgba(var(--s2),.14); color: rgb(var(--s1)); }
.tb-bal:hover { border-color: var(--line-2); }
.am-who { padding: 8px 10px 4px; display: grid; gap: 1px; }
.am-who b { font-size: 13.5px; font-weight: 600; }
.am-who small { font-size: 12px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
button.am-item { width: 100%; text-align: left; }
.s-avatar { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; font-size: 13px; font-weight: 600; color: #fff; background: linear-gradient(135deg, rgb(var(--s2)), rgb(var(--s3))); }
.s-state.on { color: rgb(var(--s1)); }
.s-btn:disabled { opacity: .45; cursor: not-allowed; }
.b-other { display: none; align-items: center; gap: 6px; max-width: 220px; height: 40px; margin: -4px 0 14px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 10px; background: rgba(0,0,0,.2); }
.b-other:focus-within { border-color: rgba(var(--s2),.6); }
.b-other span { color: var(--text-3); }
.b-other input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: var(--text); font: inherit; }
.topup.is-other .b-other { display: flex; }
.b-how a, .dash-card .u-muted a { color: var(--text); text-decoration: underline; text-decoration-color: rgba(var(--s1),.4); text-underline-offset: 3px; }
.dash-gate { max-width: 560px; padding: 26px; }
.dash-gate h2 { margin: 0 0 6px; }
.dash-gate p { margin: 0 0 18px; color: var(--text-2); }
.dash-gate .row { display: flex; flex-wrap: wrap; gap: 8px; }
.dash-gate .btn-soft { margin: 0; }
.dash-gate small { display: block; margin-top: 14px; color: var(--text-3); font-size: 12.5px; }
.tb-bal.empty span { color: var(--text-3); }
.u-mixlist { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 12px; }
.u-mixlist li { display: grid; grid-template-columns: minmax(120px, 190px) 1fr 44px; align-items: center; gap: 14px; font-size: 13.5px; }
.u-mixlist i { position: relative; height: 6px; border-radius: 99px; background: rgba(255,255,255,.06); overflow: hidden; }
.u-mixlist i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p); border-radius: inherit; background: linear-gradient(90deg, rgb(var(--s2)), rgb(var(--s1))); }
.u-mixlist b { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }

/* /terms and /privacy */
.lg-date { margin-top: 10px !important; color: var(--text-3) !important; font-size: 13px !important; }
.lg { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 48px; align-items: start; margin-top: 40px; }
.lg-toc { position: sticky; top: 72px; font-size: 13.5px; }
.lg-toc p { margin: 0 0 10px; color: var(--text-3); font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.lg-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lg-toc a { color: var(--text-2); }
.lg-toc a:hover { color: var(--text); }
.lg-body { max-width: 720px; }
.lg-body section { padding: 0 0 28px; margin: 0 0 28px; border-bottom: 1px solid var(--line); scroll-margin-top: 72px; }
.lg-body h2 { margin: 0 0 12px; font: 600 20px/1.25 var(--display); letter-spacing: -.012em; }
.lg-body p { margin: 0 0 12px; color: var(--text-2); font-size: 15px; line-height: 1.7; }
.lg-contact { color: var(--text-3) !important; font-size: 14px !important; }
.lg-contact a { color: var(--text); text-decoration: underline; text-decoration-color: rgba(var(--s1),.4); text-underline-offset: 4px; }
@media (max-width: 800px) { .lg { grid-template-columns: 1fr; gap: 24px; } .lg-toc { position: static; } }

/* /models/uncensored and /models/abliterated */
.vh-intro { max-width: none; }
.vh-intro > p { max-width: 680px; }
.vh-stats { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; }
.vh-stats > div { min-width: 132px; padding: 12px 16px; border-radius: 14px; border: 1px solid rgba(255,255,255,.06); background: linear-gradient(160deg, rgba(255,255,255,.03), rgba(255,255,255,.006) 60%), var(--panel); }
.vh-stats dt { color: var(--text-3); font-size: 12px; }
.vh-stats dd { margin: 4px 0 0; font: 600 18px/1.2 var(--display); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.vh-stats dd small { margin-left: 2px; color: var(--text-3); font: 400 12px var(--sans, inherit); }
.vh-stats > div:last-child dd { font-family: inherit; font-size: 14.5px; font-weight: 500; line-height: 1.45; letter-spacing: 0; }
.vh-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.vh-facts > div { padding: 18px; border-radius: 16px; border: 1px solid rgba(255,255,255,.06); background: var(--panel); }
.vh-facts h3 { margin: 0 0 6px; font-size: 14.5px; font-weight: 600; }
.vh-facts p { margin: 0; color: var(--text-2); font-size: 14px; line-height: 1.6; }
.vh-steps { list-style: none; counter-reset: v; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1000px) { .vh-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .vh-steps { grid-template-columns: 1fr; } }
.vh-steps li { counter-increment: v; display: grid; gap: 6px; align-content: start; padding: 18px; border-radius: 16px; border: 1px solid rgba(255,255,255,.06); background: var(--panel); }
.vh-steps li::before { content: counter(v); display: grid; place-items: center; width: 26px; height: 26px; margin-bottom: 6px; border-radius: 50%; font-size: 12px; font-weight: 600; color: rgb(var(--s1)); background: rgba(var(--s2),.12); }
.vh-steps b { font-size: 14.5px; font-weight: 600; }
.vh-steps span { color: var(--text-2); font-size: 14px; line-height: 1.6; }
.vh-fam { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0 0; color: var(--text-3); font-size: 13.5px; }
.vh-fam a { padding: 5px 12px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--text) !important; text-decoration: none !important; }
.vh-fam a:hover { border-color: rgba(var(--s2),.4); }

/* Account pages (body.ac: keys, billing, usage, referrals, support). Same language as /pricing: a soft aura behind the intro,
   glass cards with a gradient hairline on the one panel that matters most, hairline rows, light type, one accent, quiet motion. */
.ac .page { max-width: 1000px; }
.ac .r-wrap, .ac .h-wrap { max-width: none; margin: 0; }
.ac-intro { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; max-width: none; margin: 8px 0 26px; }
.ac-intro > div:first-child { flex: 1 1 380px; max-width: 640px; }
.ac-intro .sv-promo { margin-bottom: 14px; }
.ac-act { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.ac-act small { color: var(--text-3); font-size: 12.5px; }
.ac .btn { margin: 0; }
.ac .btn:disabled { opacity: .45; cursor: not-allowed; filter: none; }
.ac .btn svg { width: 15px; height: 15px; }
.btn-line { border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.02); color: var(--text-2); transition: color .2s, border-color .2s, background .2s; }
.btn-line:hover { color: var(--text); border-color: rgba(var(--s2),.35); background: rgba(var(--s2),.05); }
.btn-line.warn:hover { color: #f5a3a3; border-color: rgba(240,138,138,.35); background: rgba(240,138,138,.06); }
.btn-sheen { position: relative; overflow: hidden; isolation: isolate; }
.btn-sheen::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 40%; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent); animation: rh-sheen 7s ease-in-out 2s infinite; }
.ac-card, .ac .u-card { position: relative; margin: 0 0 14px; padding: 22px 24px; border-radius: 20px; border: 1px solid rgba(255,255,255,.06);
  background: linear-gradient(160deg, rgba(255,255,255,.03), rgba(255,255,255,.005) 60%), var(--panel); -webkit-backdrop-filter: none; backdrop-filter: none; transition: border-color .3s, box-shadow .3s; }
.ac .u-card { margin: 0; }
.ac .u-card:not(.ac-glow):hover { border-color: rgba(255,255,255,.06); }
.ac-glow, .ac .ac-glow { border: 1px solid transparent; background: radial-gradient(70% 90% at 100% 0%, rgba(var(--glow),.08), transparent 60%) padding-box,
  linear-gradient(#111213, #111213) padding-box, linear-gradient(140deg, rgba(var(--s1),.35), rgba(255,255,255,.06) 40%, rgba(var(--s3),.25)) border-box;
  box-shadow: 0 24px 60px -32px rgba(var(--glow),.4); }
.ac .ac-glow:hover { border-color: transparent; }
.ac-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin: 0 0 14px; }
.ac-h h2, .ac .u-card-head h2 { margin: 0; font: 500 16.5px/1.3 var(--display); letter-spacing: -.01em; }
.ac-h p { margin: 0; color: var(--text-3); font-size: 13px; line-height: 1.5; }
.ac-h > div > p { margin-top: 4px; }
.ac-sec { margin: 40px 0 0; }
.ac-sec > .ac-h { margin-bottom: 16px; }
.ac-sec > .ac-h h2 { font-size: clamp(19px, 2vw, 22px); line-height: 1.25; letter-spacing: -.015em; }
.ac-label { display: block; margin: 0 0 10px; color: var(--text-3); font-size: 12.5px; font-weight: 500; }
.ac-big { margin: 0; font: 500 clamp(40px, 5vw, 54px)/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.ac-sub { margin: 12px 0 0; color: var(--text-3); font-size: 13.5px; line-height: 1.55; }
.ac-sub b { color: var(--text); font-weight: 500; font-variant-numeric: tabular-nums; }
.ac-note { margin: 14px 0 0; color: var(--text-3); font-size: 13px; line-height: 1.6; }
.ac-note a, .ac-sub a, .ac-how a, .ac-h p a, .b-go a { color: var(--text-2); text-decoration: underline; text-decoration-color: rgba(var(--s1),.4); text-underline-offset: 3px; transition: color .2s; }
.ac-note a:hover, .ac-sub a:hover, .ac-how a:hover, .ac-h p a:hover, .b-go a:hover { color: rgb(var(--s1)); }
.ac-note code, .ac-h p code { padding: 2px 6px; border-radius: 6px; background: rgba(255,255,255,.06); color: var(--text); font-size: .88em; }
/* Numbered steps joined by a soft line (new accounts) */
.ac-steps { list-style: none; counter-reset: ac; margin: 0; padding: 0; }
.ac-steps li { counter-increment: ac; position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding: 14px 0 14px 46px; }
.ac-steps li::before { content: counter(ac); position: absolute; left: 0; top: 11px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  font-size: 12.5px; font-weight: 600; color: rgb(var(--s1)); background: rgba(var(--s2),.1); box-shadow: inset 0 0 0 1px rgba(var(--s2),.28); }
.ac-steps li:first-child::before { box-shadow: inset 0 0 0 1px rgba(var(--s2),.5), 0 0 18px -4px rgba(var(--glow),.6); }
.ac-steps li::after { content: ""; position: absolute; left: 13.5px; top: 43px; bottom: -8px; width: 1px; background: linear-gradient(rgba(var(--s2),.3), rgba(255,255,255,.05)); }
.ac-steps li:last-child::after { display: none; }
.ac-steps li > span { display: grid; gap: 3px; min-width: 0; flex: 1 1 240px; }
.ac-steps b { font-size: 14.5px; font-weight: 500; }
.ac-steps small { color: var(--text-3); font-size: 13px; line-height: 1.5; }
.ac-steps small .grad { font-weight: 600; }
/* Hairline rows: keys, payments, referral activity */
.ac-rows { list-style: none; margin: 0; padding: 0; }
.ac-rows li { display: flex; align-items: center; gap: 14px; min-height: 62px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.05); }
.ac-rows li:first-child { border-top: 0; }
.ac-ico { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; color: var(--text-2); background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); }
.ac-ico svg { width: 17px; height: 17px; }
.ac-ico.pos { color: rgb(var(--s1)); background: rgba(var(--s2),.08); box-shadow: inset 0 0 0 1px rgba(var(--s2),.2); }
.ac-t { display: grid; gap: 3px; flex: 1; min-width: 0; }
.ac-t b { font-size: 14.5px; font-weight: 500; overflow-wrap: anywhere; }
.ac-t small { color: var(--text-3); font-size: 12.5px; }
.ac-t code { padding: 0; background: none; color: var(--text-2); font-size: 12px; }
.ac-when { display: inline-flex; align-items: center; gap: 7px; color: var(--text-3); font-size: 12.5px; white-space: nowrap; }
.ac-when i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.22); }
.ac-when.on i { background: rgb(var(--s2)); box-shadow: 0 0 8px rgba(var(--s2),.7); }
.ac-amt { font-size: 14.5px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ac-amt.pos { color: rgb(var(--s1)); }
.ac-amt.neg { color: var(--text-2); }
.ac-rows .btn { flex: none; }
/* Empty state */
.ac-empty, .ac .h-empty { display: grid; justify-items: center; gap: 6px; padding: 32px 16px 28px; text-align: center; }
.ac-empty .ac-ico, .ac .h-empty .ac-ico { width: 44px; height: 44px; border-radius: 14px; margin-bottom: 6px; color: rgb(var(--s1)); background: rgba(var(--s2),.07); box-shadow: inset 0 0 0 1px rgba(var(--s2),.2), 0 0 24px -6px rgba(var(--glow),.45); }
.ac-empty .ac-ico svg, .ac .h-empty .ac-ico svg { width: 20px; height: 20px; }
.ac-empty h3, .ac .h-empty h3 { margin: 0; font: 500 16.5px/1.3 var(--display); }
.ac-empty p, .ac .h-empty p { max-width: 380px; margin: 0; color: var(--text-3); font-size: 13.5px; line-height: 1.55; }
.ac-empty .btn, .ac .h-empty .btn { margin-top: 12px; }
/* Figures in one row, split by hairlines (like the /pricing summary) */
.ac-stats { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin: 0; }
.ac-stats > div { min-width: 0; padding: 0 20px; border-left: 1px solid rgba(255,255,255,.06); }
.ac-stats > div:first-child { padding-left: 0; border-left: 0; }
.ac-stats dt { margin: 0 0 8px; color: var(--text-3); font-size: 12.5px; }
.ac-stats dd { margin: 0; font: 500 24px/1.1 var(--display); letter-spacing: -.015em; font-variant-numeric: tabular-nums; }
.ac-stats dd small { display: block; margin-top: 6px; color: var(--text-3); font: 400 12px/1.4 var(--font); letter-spacing: 0; }
@media (max-width: 600px) {
  .ac-stats { grid-auto-flow: row; }
  .ac-stats > div { padding: 12px 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.06); }
  .ac-stats > div:first-child { padding-top: 0; border-top: 0; }
}
/* Guest view of an account page */
.ac .dash-gate { max-width: 620px; margin: 0 0 14px; padding: 26px 28px; border-radius: 20px; border: 1px solid transparent;
  background: radial-gradient(80% 100% at 0% 0%, rgba(var(--glow),.08), transparent 60%) padding-box, linear-gradient(#111213, #111213) padding-box,
  linear-gradient(140deg, rgba(var(--s1),.35), rgba(255,255,255,.06) 40%, rgba(var(--s3),.25)) border-box; box-shadow: 0 24px 60px -32px rgba(var(--glow),.4); }
.ac .dash-gate h2 { margin: 0 0 8px; font: 500 20px/1.25 var(--display); letter-spacing: -.012em; }
.ac .dash-gate p { margin: 0 0 20px; color: var(--text-2); font-size: 14.5px; line-height: 1.6; }
.ac .dash-gate .btn-soft { border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.02); }
.ac .dash-gate .btn-soft:hover { border-color: rgba(var(--s2),.35); background: rgba(var(--s2),.05); }
.ac .dash-gate small { margin-top: 16px; }
.k-count { margin: 0; color: var(--text-3); font-size: 13px; font-variant-numeric: tabular-nums; }
.k-count b { color: var(--text-2); font-weight: 500; }
.k-count.full b { color: rgb(var(--s3)); }
[data-key-create].is-full { opacity: .45; }
.k-table-wrap { overflow-x: auto; }
.k-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.k-c-name { width: 15%; }
.k-c-key { width: 96px; }
.k-c-spend { width: 112px; }
.k-c-exp { width: 108px; }
.k-c-date { width: 108px; }
.k-c-st { width: 96px; }
.k-c-act { width: 92px; }
.k-table th { padding: 0 16px 10px 0; text-align: left; color: var(--text-3); font-size: 12px; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,.06); white-space: nowrap; }
.k-table td { height: 52px; padding: 0 16px 0 0; border-bottom: 1px solid rgba(255,255,255,.05); vertical-align: middle; color: var(--text-2); white-space: nowrap; }
.k-table tr:last-child td { border-bottom: 0; }
.k-table td:last-child, .k-table th:last-child { padding-right: 0; text-align: right; }
.k-table td b { color: var(--text); font-weight: 500; }
.k-table tr.off td b, .k-table tr.off code { color: var(--text-3); }
.k-nm b { display: block; max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
.k-table code { padding: 2px 7px; border-radius: 6px; background: rgba(255,255,255,.05); color: var(--text-2); font-size: 12.5px; white-space: nowrap; }
.k-mods { display: flex; align-items: center; gap: 8px; min-width: 0; }
.k-mods > span:last-child { overflow: hidden; text-overflow: ellipsis; }
.k-logos { display: inline-flex; flex: none; }
.k-logos .logo-tile { width: 20px; height: 20px; margin-left: -5px; border-radius: 6px; box-shadow: 0 0 0 2px #161617; }
.k-logos .logo-tile:first-child { margin-left: 0; }
.k-logos .logo-tile img { width: 12px; height: 12px; }
.k-any { color: var(--text-3); font-size: 12.5px; }
.k-spend { display: inline-grid; gap: 4px; width: 92px; font-size: 12.5px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.k-spend small { color: var(--text-3); }
.k-spend i { display: block; height: 3px; border-radius: 99px; background: rgba(255,255,255,.08); position: relative; overflow: hidden; }
.k-spend i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p, 0%); background: rgb(var(--s1)); }
.k-exp { color: var(--text-2); font-size: 13px; white-space: nowrap; }
.k-exp.off { color: #f0b4b4; }
.k-st { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; white-space: nowrap; }
.k-st i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.25); }
.k-st.on { color: rgb(var(--s1)); }
.k-st.on i { background: rgb(var(--s2)); box-shadow: 0 0 8px rgba(var(--s2),.7); }
.k-st.capped { color: rgb(var(--s3)); }
.k-st.capped i { background: rgb(var(--s3)); }
.k-dlg { width: min(480px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow: auto; }
.k-lim { margin: 0; padding: 14px 0 0; border: 0; border-top: 1px solid rgba(255,255,255,.06); display: grid; gap: 10px; }
.k-lim legend { padding: 0; color: var(--text-2); font-size: 13px; }
.k-lim legend small { display: block; margin-top: 3px; color: var(--text-3); font-size: 12.5px; }
.k-tog { display: flex; align-items: center; gap: 9px; color: var(--text); font-size: 13.5px; cursor: pointer; }
.k-tog input { accent-color: #0f9e72; width: 15px; height: 15px; }
.k-pick { display: grid; gap: 8px; }
.k-search { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 10px; border-radius: 10px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.02); }
.k-search:focus-within { border-color: rgba(var(--s2),.5); }
.k-search svg { width: 14px; height: 14px; color: var(--text-3); }
.k-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--text); font: 13px var(--font); }
.k-model-list { max-height: 220px; overflow: auto; display: grid; gap: 12px; padding-right: 4px; }
.k-group { display: grid; gap: 4px; }
.k-group > b { color: var(--text-3); font-size: 11.5px; font-weight: 500; }
.k-prov { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 10px; border: 1px solid transparent; cursor: pointer; }
.k-prov:hover { background: rgba(255,255,255,.03); }
.k-prov:has(input:checked) { border-color: rgba(var(--s2),.4); background: rgba(var(--s2),.06); }
.k-prov input { accent-color: #0f9e72; }
.k-prov .logo-tile { width: 20px; height: 20px; border-radius: 6px; }
.k-prov .logo-tile img { width: 12px; height: 12px; }
.k-prov b { flex: 1; min-width: 0; font-size: 12.5px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.k-picked { margin: 0; color: var(--text-3); font-size: 12px; }
.k-money { display: flex; align-items: center; gap: 6px; max-width: 160px; height: 40px; padding: 0 12px; border: 1px solid rgba(var(--s2),.4); border-radius: 10px; }
.k-money span { color: var(--text-3); }
.k-money input, #kExp { height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); color: var(--text); font: inherit; }
.k-money input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; background: none; outline: 0; }
#kExp { color-scheme: dark; }
.k-secret { display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 14px; border-radius: 12px; border: 1px solid rgba(var(--s2),.35); background: rgba(var(--s2),.05); }
.k-secret code { flex: 1; min-width: 0; overflow-wrap: anywhere; color: var(--text); font-size: 13px; }
/* Connect card: the homepage tool list, then the three request snippets, one panel. */
.k-connect { margin-top: 28px; padding: 22px 24px 20px; }
.k-connect .tl-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0; }
.k-connect .tl-grid a { height: 46px; padding: 0 12px; gap: 10px; border-radius: 12px; font-size: 13.5px; font-weight: 500; }
.k-connect .tl-grid img { width: 20px; height: 20px; border-radius: 5px; }
.k-connect .tl-plus { width: 20px; height: 20px; border-radius: 5px; }
.k-connect .tl-plus svg { width: 12px; height: 12px; }
.k-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.05); }
.k-meta .tl-base { display: inline-flex; align-items: center; gap: 8px; }
.k-meta .copy { height: 26px; }
.k-call { margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.05); }
.k-call .hub-try { display: grid; gap: 0; }
.k-call .hub-tablist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.06); border-radius: 0; background: none; }
.k-call .hub-tablist button { justify-content: center; height: 46px; padding: 0 8px; border-radius: 0; background: none; }
.k-call .hub-tablist button[aria-selected="true"] { background: none; box-shadow: inset 0 -2px 0 rgb(var(--s2)); }
.k-call .hub-code { border-radius: 0 0 16px 16px; }
.k-call .hub-code { margin: 0; }
.k-call .hub-code pre { padding: 16px 18px 18px; font-size: 12.8px; }
.k-call .hub-panel + .hub-panel .hub-panel-t { padding-top: 6px; border-top: 1px solid rgba(255,255,255,.05); }
.k-call .hub-try.js .hub-panel + .hub-panel .hub-panel-t { border: 0; }
@media (max-width: 760px) { .k-connect .tl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ac-rows .ac-when { display: none; } }
/* Credits & billing */
.b-top { display: flex; flex-wrap: wrap; gap: 14px; align-items: stretch; }
.b-top > .ac-card { margin: 0; flex: 1.2 1 360px; min-width: 0; }
.b-top > .b-bal { flex: 1 1 300px; }
.b-bal { display: flex; flex-direction: column; }
.b-bal .ac-big.zero { color: var(--text-3); }
.b-bal .ac-stats { margin-top: auto; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.05); }
.b-bal .ac-stats dd { font-size: 17px; }
.b-unlock { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.b-unlock li { display: flex; align-items: center; gap: 10px; color: var(--text-2); font-size: 13.5px; }
.b-unlock li::before { content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%; background: rgba(var(--s2),.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a7f3d0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 10px no-repeat; box-shadow: inset 0 0 0 1px rgba(var(--s2),.25); }
.ac .topup { container-type: inline-size; }
.ac .topup fieldset { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 0 0 12px; padding: 0; border: 0; }
@container (min-width: 430px) { .ac .topup fieldset { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.ac .chip span { display: grid; place-items: center; min-width: 0; height: 42px; padding: 0 6px; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; background: rgba(255,255,255,.015);
  color: var(--text-2); font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; transition: color .2s, border-color .2s, background .2s, box-shadow .2s; }
.ac .chip:hover span { color: var(--text); border-color: rgba(255,255,255,.16); }
.ac .chip input:checked + span { color: var(--text); border-color: rgba(var(--s2),.5); background: rgba(var(--s2),.08); box-shadow: 0 0 0 3px rgba(var(--glow),.08); }
.ac .chip input:focus-visible + span { outline: 2px solid rgba(var(--s2),.7); outline-offset: 2px; }
.ac .b-other { max-width: none; height: 44px; margin: 0 0 12px; padding: 0 14px; border: 1px solid rgba(var(--s2),.4); border-radius: 12px; background: rgba(255,255,255,.02); }
.ac .b-other:focus-within { border-color: rgba(var(--s2),.7); box-shadow: 0 0 0 4px rgba(var(--glow),.1); }
.b-offer { margin-top: auto; display: grid; gap: 6px; padding: 16px; border-radius: 14px; border: 1px solid transparent;
  background: radial-gradient(90% 140% at 0% 0%, rgba(var(--glow),.12), transparent 62%) padding-box, linear-gradient(#111213, #111213) padding-box,
  linear-gradient(140deg, rgba(var(--s1),.5), rgba(255,255,255,.06) 46%, rgba(var(--s3),.55)) border-box; }
.b-offer-k { color: rgb(var(--s3)); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.b-offer b { font-size: 16px; font-weight: 500; line-height: 1.35; }
.b-offer b .grad { font-weight: 600; }
.b-offer > span:last-child { color: var(--text-3); font-size: 13px; line-height: 1.5; }
.b-k { margin: 14px 0 8px; color: var(--text-3); font-size: 12.5px; }
.b-pay { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.ac .b-pay .chip span { display: grid; grid-template-columns: 18px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 10px; row-gap: 1px; align-content: center; justify-items: start; height: auto; min-height: 52px; padding: 8px 12px; text-align: left; white-space: normal; }
.b-pay svg { grid-row: 1 / span 2; width: 18px; height: 18px; color: var(--text-3); }
.b-pay .chip b, .b-pay .chip small { display: block; min-width: 0; line-height: 1.3; }
.b-pay .chip b { font-weight: 500; }
.b-pay .chip small { color: var(--text-3); font-size: 11.5px; font-weight: 400; }
.b-pay .chip input:checked + span svg { color: rgb(var(--s1)); }
.b-sum { margin: 12px 0; padding: 2px 14px; border-radius: 14px; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.05); }
.b-line { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 8px 0; color: var(--text-3); font-size: 13.5px; }
.b-line + .b-line { border-top: 1px solid rgba(255,255,255,.05); }
.b-line b { color: var(--text); font-weight: 500; font-variant-numeric: tabular-nums; }
.b-free b { font-weight: 600; }
.b-free[hidden] { display: none; }
.b-total b { font-size: 15px; }
.b-add .btn-block { height: 44px; font-size: 15px; }
.b-add .ac-note { margin-top: 12px; }
.b-go { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.b-go small { color: var(--text-3); font-size: 12.5px; }
.b-how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 28px; }
.b-how li { padding: 0; color: var(--text-2); font-size: 14px; line-height: 1.6; }
.b-how b { display: block; margin-bottom: 4px; color: var(--text); font-size: 14px; font-weight: 500; }
@media (max-width: 900px) { .b-how { grid-template-columns: 1fr; } }
/* Usage */
.u-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 14px; }
.u-row > .ac-card { flex: 1 1 340px; min-width: 0; margin: 0; }
.u-sum .ac-stats dd { font-size: 26px; }
.ac .u-card-head { margin-bottom: 14px; }
.ac .u-card-head p { margin: 4px 0 0; color: var(--text-3); font-size: 13px; }
.ac .u-seg { gap: 2px; padding: 3px; border-radius: 10px; border: 1px solid rgba(255,255,255,.07); background: rgba(255,255,255,.03); }
.ac .u-seg button { height: 28px; padding: 0 12px; border-radius: 8px; font-size: 12.5px; font-weight: 500; color: var(--text-3); transition: color .2s, background .2s; }
.ac .u-seg button:hover { color: var(--text); }
.ac .u-seg button.on { color: var(--text); background: rgba(255,255,255,.08); box-shadow: none; }
.ac .u-gl { stroke: rgba(255,255,255,.05); }
.ac .u-bar.in { fill: rgba(var(--s2),.24); opacity: 1; }
.ac .u-bar.out { fill: rgb(var(--s1)); }
.ac .u-line { stroke: rgb(var(--s1)); stroke-width: 2; }
.ac .u-pt { fill: #111213; stroke: rgb(var(--s1)); stroke-width: 1.5; }
.u-a0 { stop-color: rgb(var(--s2)); stop-opacity: .2; }
.u-a1 { stop-color: rgb(var(--s2)); stop-opacity: 0; }
.ac .u-legend { gap: 16px; margin-top: 8px; font-size: 12px; }
.ac .dot { display: inline-block; flex: none; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; }
.ac .dot.in, .ac .u-mixbar i.in { background: rgba(var(--s2),.4); }
.ac .dot.out, .ac .dot.spend, .ac .u-mixbar i.out { background: rgb(var(--s1)); }
.ac .dot.cache, .ac .u-mixbar i.cache { background: rgba(var(--s3),.7); }
.ac .u-big { gap: 8px; }
.ac .u-big b { font: 500 clamp(30px, 3.4vw, 38px)/1 var(--display); letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.ac .u-big span { color: var(--text-3); font-size: 13px; }
.ac .u-save { margin-top: 10px; color: var(--text-3); font-size: 13px; }
.ac .u-save svg { width: 15px; height: 15px; color: rgb(var(--s1)); }
.ac .u-save b { color: var(--text-2); font-weight: 500; }
.ac .u-mixbar { gap: 2px; height: 6px; margin: 18px 0 16px; background: rgba(255,255,255,.05); }
.ac .u-mixbar i { flex: var(--g, 1) 1 0; min-width: 2px; opacity: 1; }
.ac .u-mix { gap: 0; }
.ac .u-mix > div { min-width: 0; padding: 0 14px; border-left: 1px solid rgba(255,255,255,.06); }
.ac .u-mix > div:first-child { padding-left: 0; border-left: 0; }
.ac .u-mix b { margin-top: 6px; font: 500 18px/1.1 var(--display); font-variant-numeric: tabular-nums; }
.ac .u-foot-note { margin-top: 12px; }
.ac .u-mixlist { margin: 0; gap: 0; }
.ac .u-mixlist li { grid-template-columns: minmax(0, 1.1fr) minmax(60px, 1fr) 40px; gap: 14px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.05); }
.ac .u-mixlist li:first-child { border-top: 0; padding-top: 2px; }
.ac .u-mixlist li > span { display: flex; align-items: center; gap: 10px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ac .u-mixlist .logo-tile, .u-m .logo-tile { width: 24px; height: 24px; border-radius: 7px; }
.ac .u-mixlist .logo-tile img, .u-m .logo-tile img { width: 14px; height: 14px; }
.ac .u-mixlist i { height: 4px; }
.ac .u-mixlist i::after { background: rgba(var(--s1),.75); }
.ac .u-mixlist b { font-weight: 500; color: var(--text-2); }
.ac .u-table th { padding: 0 12px 10px; font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; border-bottom-color: rgba(255,255,255,.06); }
.ac .u-table td { padding: 11px 12px; color: var(--text-2); border-bottom-color: rgba(255,255,255,.05); }
.ac .u-table tbody tr:last-child td { border-bottom: 0; }
.ac .u-table th:first-child, .ac .u-table td:first-child { padding-left: 0; }
.ac .u-table th:last-child, .ac .u-table td:last-child { padding-right: 0; }
.ac .u-table td:last-child { color: var(--text); font-weight: 500; }
.u-m { display: flex; align-items: center; gap: 10px; }
.u-m > span { display: grid; gap: 2px; }
.u-m b { color: var(--text); font-weight: 500; white-space: nowrap; }
.u-history.is-empty .u-table-wrap { display: none; }
.ac .u-empty { padding-top: 18px; }
.ac .u-try { margin-top: 10px; text-align: left; }
.u-foot { margin: 24px 0 0; color: var(--text-3); font-size: 13.5px; }
@media (max-width: 600px) { .ac .u-mix { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ac .u-mix > div { padding: 0 8px; } .ac .u-mix b { font-size: 15px; } }
/* Referrals */
.ac .r-top { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 14px; }
.ac .r-top .u-card { flex: 1 1 320px; min-width: 0; padding: 24px; }
.ac .r-top .r-invite { flex-grow: 1.2; }
.ac .r-bal .pp-orb, .ac .r-invite .pp-dots { display: none; }
.ac .r-label { margin: 0 0 10px; font: 500 12.5px/1.3 var(--font); letter-spacing: 0; text-transform: none; color: var(--text-3); }
.ac .r-big { margin: 0; font: 500 clamp(40px, 5vw, 54px)/1 var(--display); letter-spacing: -.03em; background: none; -webkit-background-clip: initial; background-clip: initial; color: var(--text); }
.ac .r-bal .u-muted { margin: 12px 0 0; font-size: 13.5px; line-height: 1.55; }
.ac .r-bar { height: 4px; margin: 20px 0 10px; background: rgba(255,255,255,.06); }
.ac .r-bar i { background: linear-gradient(90deg, rgb(var(--s2)), rgb(var(--s1))); box-shadow: 0 0 10px rgba(var(--s2),.4); }
.ac .r-bar + .u-muted { margin: 0 0 20px; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.ac .r-redeem { height: 40px; margin-top: auto; }
.ac .r-bal .u-muted + .r-redeem { margin-top: auto; }
.ac .r-invite h2 { margin: 0 0 12px; font: 500 clamp(24px, 2.8vw, 32px)/1.15 var(--display); letter-spacing: -.02em; }
.ac .r-invite h2 span { background: var(--aurora); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ac .r-invite > .u-muted { max-width: 440px; margin: 0 0 20px; font-size: 14px; color: var(--text-2); }
.ac .r-link { gap: 6px; padding: 4px; border-radius: 13px; border: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.25); }
.ac .r-link:focus-within { border-color: rgba(var(--s2),.45); }
.ac .r-link input { height: 36px; padding: 0 10px; border: 0; background: none; color: var(--text-2); font-size: 12.5px; }
.ac .r-link .btn { height: 36px; }
.ac .r-link .btn.ok { color: rgb(var(--s1)); border-color: rgba(var(--s2),.4); }
.r-sum { margin: 0 0 14px; }
.ac .r-how .ac-steps li { padding-top: 12px; padding-bottom: 12px; }
@media (max-width: 640px) { .ac .r-link { flex-direction: column; } .ac .r-link .btn { width: 100%; } }
/* Support */
.ac .h-tabs { gap: 2px; padding: 3px; margin: 0 0 12px; border: 1px solid rgba(255,255,255,.07); border-radius: 12px; background: rgba(255,255,255,.03); width: fit-content; max-width: 100%; }
.ac .h-tabs button { height: 30px; padding: 0 12px; border: 0; border-radius: 9px; color: var(--text-3); font-weight: 500; }
.ac .h-tabs button:hover { color: var(--text); }
.ac .h-tabs button.on { color: var(--text); background: rgba(255,255,255,.08); }
.ac .h-tabs button em { font: 500 11.5px/1 var(--font); color: var(--text-3); font-variant-numeric: tabular-nums; }
.ac .h-tabs button.on em { color: rgb(var(--s1)); }
.ac .h-list { padding: 4px 20px; border: 1px solid rgba(255,255,255,.06); border-radius: 18px; background: var(--panel); }
.ac .h-item { border-top-color: rgba(255,255,255,.05); }
.ac .h-item summary { padding: 15px 0; }
.ac .h-item summary:hover b { color: rgb(var(--s1)); }
.ac .h-item-t b { font-weight: 500; transition: color .2s; }
.ac .h-item-body { padding: 0 0 16px; }
.ac .h-reply { border-left-color: rgba(var(--s2),.6); }
.ac .h-reply b { color: rgb(var(--s1)); font-weight: 500; }
.ac .h-st { border-radius: 99px; font-weight: 500; }
.ac .h-st.open { color: rgb(var(--s1)); background: rgba(var(--s2),.1); box-shadow: inset 0 0 0 1px rgba(var(--s2),.2); }
.ac .h-pager { padding: 12px 4px 0; }
.ac .h-pager .h-icon { border-color: rgba(255,255,255,.08); }
.ac .h-search { border-color: rgba(255,255,255,.1); background: rgba(255,255,255,.02); }
.ac .h-search:focus-within { border-color: rgba(var(--s2),.5); }
.ac .h-faq-head { align-items: flex-end; margin-top: 48px; }
.ac .h-icon { border-color: rgba(255,255,255,.1); background: rgba(255,255,255,.02); }
.ac .h-icon:hover:not(:disabled) { border-color: rgba(var(--s2),.35); background: rgba(var(--s2),.05); }
.h-btn.bad { color: var(--text-2); border-color: rgba(255,255,255,.1); background: none; }
.h-btn.bad:hover { color: #f5a3a3; border-color: rgba(240,138,138,.35); background: rgba(240,138,138,.06); }
.h-f.err input, .h-f.err textarea { border-color: rgba(240,138,138,.6); }
.h-dlg { border-radius: 20px; border: 1px solid rgba(255,255,255,.1); background: linear-gradient(160deg, rgba(255,255,255,.03), rgba(255,255,255,.006) 60%), #141416; }
.h-dlg-top h2 { font: 500 20px/1.25 var(--display); }
.h-f input:focus, .h-f textarea:focus, .h-f select:focus { border-color: rgba(var(--s2),.6); box-shadow: 0 0 0 4px rgba(var(--glow),.1); }
#hRefresh.spin svg, #rRefresh.spin svg, #uRefresh.spin svg { animation: h-spin .6s ease; }
@media (prefers-reduced-motion: reduce) {
  .btn-sheen::after { animation: none; display: none; }
  #hRefresh.spin svg, #rRefresh.spin svg, #uRefresh.spin svg { animation: none; }
}

/* Onboarding (/welcome): a step tracker, the current step on the left, a quiet setup summary on the right. */
.ob-steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 18px; padding: 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.ob-steps li { position: relative; }
.ob-steps li::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 2px; background: transparent; transition: background .25s; }
.ob-steps li.is-on::after { background: linear-gradient(90deg, rgb(var(--s2)), rgb(var(--s1))); }
.ob-tab { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 4px 14px; color: var(--text-3); font-size: 13.5px; font-weight: 500; text-align: left; transition: color .2s; }
button.ob-tab:hover { color: var(--text-2); }
.ob-n { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; font-size: 12px; font-weight: 600; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.ob-n svg { width: 13px; height: 13px; stroke-width: 2.4; }
.ob-steps .is-on .ob-tab { color: var(--text); }
.ob-steps .is-on .ob-n { color: rgb(var(--s1)); background: rgba(var(--s2),.1); box-shadow: inset 0 0 0 1px rgba(var(--s2),.45), 0 0 16px -4px rgba(var(--glow),.6); }
.ob-steps .is-done .ob-tab { color: var(--text-2); }
.ob-steps .is-done .ob-n { color: #0b0b0c; background: rgb(var(--s2)); box-shadow: none; }
/* Onboarding gets a wider page so the credits step fits on one screen. */
.ac .page:has(.ob) { max-width: 1180px; }
.ob-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: none; margin: 0 0 10px; }
.ob-head h1 { margin: 0; font: 600 clamp(22px, 2.4vw, 28px)/1.2 var(--display); letter-spacing: -.02em; }
.ob-grid { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 14px; align-items: start; }

.ob-panel { margin: 0; padding: 24px 26px; container: obp / inline-size; }
/* Credits step: the offer on the left, the whole checkout on the right, so Pay is visible without scrolling. */
.ob-s1 { display: grid; gap: 20px; }
@container obp (min-width: 600px) { .ob-s1 { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 28px; } }
.ob-s1-l { display: flex; flex-direction: column; gap: 14px; }
@container obp (max-width: 599px) { .ob-s1-l .b-unlock { display: none; } }
.ob-s1-l .b-offer { margin: 0; }
.ob-s1-l .b-unlock { margin: 0; }
.ob-s1-r .b-sum { margin: 10px 0; }
.ob-ok { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; padding: 10px 14px; border-radius: 12px; color: var(--text-2); font-size: 13px; background: rgba(var(--s2),.06); border: 1px solid rgba(var(--s2),.22); }
.ob-ok svg { width: 16px; height: 16px; flex: none; color: rgb(var(--s1)); stroke-width: 2.2; }
.ob-ok b { color: var(--text); font-weight: 600; }
/* A step passed without finishing it (no credits yet): champagne ring instead of a check. */
.ob-steps .is-skip .ob-tab { color: var(--text-2); }
.ob-steps .is-skip .ob-n { color: rgb(var(--s3)); background: none; box-shadow: inset 0 0 0 1px rgba(var(--s3),.55); }
.ob-journey .ob-j-skip { display: none; }
.ob-journey .is-skip .ob-j-def { display: none; }
.ob-journey .is-skip .ob-j-skip { display: block; color: var(--text-2); }
.ob-journey .is-skip .ob-jn { color: rgb(var(--s3)); box-shadow: inset 0 0 0 1px rgba(var(--s3),.55); }
.ob-journey .is-skip b { color: var(--text-2); }
.ob-j-skip button { color: rgb(var(--s3)); font: inherit; text-decoration: underline; text-underline-offset: 2px; }
.ob-panel h2 { margin: 0; font: 600 clamp(22px, 2.4vw, 28px)/1.2 var(--display); letter-spacing: -.02em; }
.ob-panel h2:focus { outline: none; }
.ob-k { margin: 0 0 8px; color: var(--text-3); font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.ob-lead { margin: 6px 0 18px; color: var(--text-2); font-size: 14px; line-height: 1.55; }
.ob-skip, .ob-back { display: inline-flex; align-items: center; gap: 6px; color: var(--text-3); font-size: 13px; transition: color .15s; }
.ob-skip { margin-top: 14px; }
.ob-skip:hover, .ob-back:hover { color: var(--text); }
.ob-skip svg, .ob-back svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ob-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.05); }
.ob-foot:has(> :only-child) { justify-content: flex-start; }
.ob-funded { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(var(--s2),.05); border: 1px solid rgba(var(--s2),.18); }
.ob-funded > span:last-child { display: grid; gap: 2px; }
.ob-funded b { font-weight: 500; font-size: 15px; }
.ob-funded small { color: var(--text-3); font-size: 13px; }
/* Step 2: two options with equal weight. */
.ob-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ob-opt { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px; border-radius: 16px; text-align: left; border: 1px solid rgba(255,255,255,.07);
  background: linear-gradient(160deg, rgba(255,255,255,.035), rgba(255,255,255,.008) 60%), var(--panel); transition: border-color .25s, transform .25s, box-shadow .25s; }
.ob-opt:hover { border-color: rgba(var(--s2),.32); transform: translateY(-2px); box-shadow: 0 16px 40px -18px rgba(var(--glow),.45); }
.ob-opt b { font-size: 15.5px; font-weight: 600; color: var(--text); }
.ob-opt small { color: var(--text-3); font-size: 13px; line-height: 1.5; }
.ob-opt-ico { display: inline-flex; align-items: center; height: 40px; margin-bottom: 4px; color: rgb(var(--s1)); }
.ob-opt-ico > svg { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: rgba(var(--s2),.09); box-shadow: inset 0 0 0 1px rgba(var(--s2),.22); }
.ob-opt-tools img { width: 34px; height: 34px; padding: 5px; border-radius: 10px; object-fit: contain; background: #141416; box-shadow: 0 0 0 2px #161617; }
.ob-opt-tools img + img { margin-left: -8px; }
.ob-opt-go { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 6px; color: rgb(var(--s1)); font-size: 13.5px; font-weight: 500; }
.ob-opt-go svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.ob-opt:hover .ob-opt-go svg { transform: translateX(3px); }
/* Step 3: create a key, then pick a tool. */
.ob-warn { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; padding: 10px 14px; border-radius: 12px; color: var(--text-2); font-size: 13px; background: rgba(var(--s3),.05); border: 1px solid rgba(var(--s3),.2); }
.ob-warn svg { width: 16px; height: 16px; flex: none; color: rgb(var(--s3)); }
.ob-warn > span { flex: 1; }
.ob-warn .btn { flex: none; }
.ob-key { display: flex; align-items: flex-end; gap: 10px; }
.ob-key .h-f { flex: 1; }
.ob-key .h-f input { height: 42px; }
.ob-key .btn { height: 42px; }
.ob-made { display: grid; gap: 10px; }
.ob-made-h { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--text-2); font-size: 13.5px; }
.ob-made-h svg { width: 16px; height: 16px; flex: none; color: rgb(var(--s1)); stroke-width: 2.2; }
.ob-sub { margin: 24px 0 10px; color: var(--text-2); font-size: 13px; font-weight: 500; }
.ac .ob-tools { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0; }
.ac .ob-tools a { height: 48px; gap: 10px; padding: 0 12px; font-size: 13px; }
.ac .ob-tools img { width: 22px; height: 22px; }
/* Sidebar summary */
.ob-side { position: sticky; top: 16px; margin: 0; padding: 20px; display: grid; gap: 14px; }
.ob-side-h { margin: 0; font-size: 14px; font-weight: 600; }
/* Journey: the three steps as a short vertical timeline. Done steps get a check, the current one the accent ring. */
.ob-journey { list-style: none; margin: 0; padding: 0; }
.ob-journey li { position: relative; display: flex; gap: 12px; padding: 0 0 18px; }
.ob-journey li:last-child { padding-bottom: 0; }
.ob-journey li::before { content: ""; position: absolute; left: 11.5px; top: 26px; bottom: 2px; width: 1px; background: rgba(255,255,255,.08); }
.ob-journey li:last-child::before { display: none; }
.ob-journey li.is-done::before { background: rgba(var(--s2),.45); }
.ob-jn { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; color: var(--text-3); font-size: 11.5px; font-weight: 600; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); transition: color .2s, background .2s, box-shadow .2s; }
.ob-journey li > span:last-child { display: grid; gap: 3px; min-width: 0; padding-top: 2px; }
.ob-journey b { color: var(--text-3); font-size: 13.5px; font-weight: 500; transition: color .2s; }
.ob-journey small { color: var(--text-3); font-size: 12px; line-height: 1.45; }
.ob-journey .is-on .ob-jn { color: rgb(var(--s1)); background: rgba(var(--s2),.1); box-shadow: inset 0 0 0 1px rgba(var(--s2),.45), 0 0 14px -4px rgba(var(--glow),.6); }
.ob-journey .is-on b { color: var(--text); }
.ob-journey .is-done .ob-jn { color: transparent; background: rgb(var(--s2)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b0b0c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 13px no-repeat; box-shadow: none; }
.ob-journey .is-done b { color: var(--text-2); }
.ob-next-tools { display: flex; margin: 4px 0 2px; }
.ob-next-tools { gap: 5px; }
.ob-next-tools img { width: 24px; height: 24px; padding: 3px; border-radius: 7px; object-fit: contain; background: #141416; border: 1px solid rgba(255,255,255,.07); }
/* Base URL: label above, value and Copy on one line, on the card itself (no inner box). */
.ob-side .ob-base { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 8px; margin: 0; padding: 14px 0 0; border-top: 1px solid rgba(255,255,255,.06); }
.ob-side .ob-base .tl-base { display: contents; }
.ob-side .ob-base .tl-base > code { grid-column: 1; grid-row: 2; margin: 0; padding: 0; background: none; color: var(--text); font-size: 12.5px; overflow-wrap: anywhere; }
.ob-side .ob-base .copy { grid-column: 2; grid-row: 2; height: 28px; }

.ob-bal { display: flex; align-items: baseline; justify-content: space-between; padding-top: 4px; }
.ob-bal span { color: var(--text-3); font-size: 12.5px; }
.ob-bal b { font: 600 18px var(--display); font-variant-numeric: tabular-nums; }
.ob-side .lp-all { margin: 0; }
/* Below the two-column width the journey would push the step down, and the tracker at the top already shows progress. */
@media (max-width: 1000px) { .ob-grid { grid-template-columns: 1fr; } .ob-side { position: static; } .ob-journey { display: none; } }
@media (max-width: 640px) {
  .ob-steps { grid-template-columns: repeat(4, auto); justify-content: space-between; }
  .ob-l { display: none; }
  .ob-steps .is-on .ob-l { display: inline; }
  .ob-panel { padding: 22px 18px; }
  .ob-pick { grid-template-columns: 1fr; }
  .ob-key { flex-direction: column; align-items: stretch; }
  .ac .ob-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .ob-opt, .ob-opt:hover, .ob-opt-go svg { transform: none; transition: none; } }
