/* Generated by scripts/build-vanity.mjs; both headers use the same local font. */
@font-face{font-family:"OPO Geist";font-style:normal;font-weight:100 900;font-display:swap;src:url("/assets/fonts/opo-geist.woff2?v=1b5ebfb3a01a9734") format("woff2")}
:root {
  --ink: #102c51; --accent: #215bed; --muted: #536b88; --line: #dce5f0; --surface: #f5f8fd;
  font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink); background: var(--surface); font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--accent); text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button, input, select, textarea {
  min-height: 48px; border: 1px solid #c4d2e5; border-radius: 10px;
  background: #fff; color: var(--ink); padding: 11px 14px;
}
button:hover:not(:disabled) { border-color: var(--accent); background: #eef4ff; }
button:disabled { cursor: not-allowed; opacity: .5; }
button:active:not(:disabled) { background: #e0ebff; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 3px;
}
button, a, label { touch-action: manipulation; }
[hidden] { display: none !important; }
header {
  background: #fff; border-bottom: 1px solid var(--line);
  padding: 12px max(20px, calc((100vw - 1200px)/2));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
header img { display: block; width: 130px; height: auto; }
header > div { display: flex; align-items: center; gap: 20px; }
.local-badge { font-size: 12px; color: #23614c; background: #edf8f2; border-radius: 99px; padding: 8px 12px; }
.language select { min-height: 44px; padding: 6px 10px; font-size: 13px; }
main { max-width: 1200px; margin: auto; padding: 36px 24px 56px; }
.intro { max-width: 760px; }
.back { font-size: 13px; display: inline-flex; min-height: 44px; align-items: center; }
.eyebrow { display: block; font-size: 11px; letter-spacing: .18em; font-weight: 700; color: var(--muted); margin: 20px 0 16px; }
h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.25; letter-spacing: -.03em; margin: 0; white-space: pre-line; }
.intro > p { font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 650px; margin: 10px 0 24px; }
.workbench { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; align-items: start; }
.panel { border: 1px solid var(--line); border-radius: 20px; background: #fff; padding: 28px; min-width: 0; }
.section-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.section-heading .result-count { margin-left: auto; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
h2 { font-size: 19px; margin: 0; line-height: 1.5; }
fieldset { padding: 0; border: 0; margin: 0; min-width: 0; }
.mode-options legend { font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.mode-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mode-options .mode-option { display: flex; align-items: center; gap: 8px; min-height: 52px; margin: 0; padding: 12px 8px; border: 1px solid #c4d2e5; border-radius: 10px; font-size: 14px; font-weight: 600; line-height: 1.5; cursor: pointer; }
.mode-option:has(input:checked) { border-color: var(--accent); color: #1649be; background: #eef4ff; box-shadow: inset 0 0 0 1px var(--accent); }
.mode-option input[type=radio] { appearance: none; flex: 0 0 20px; width: 20px; height: 20px; min-height: 20px; padding: 0; margin: 0; border-radius: 5px; position: relative; }
.mode-option input[type=radio]:checked { border-color: var(--accent); background: var(--accent); }
.mode-option input[type=radio]:checked::after { content: ''; position: absolute; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); left: 6px; top: 2px; }
.mode-option:has(input:disabled) { cursor: default; }
label:not(.check) { display: block; font-size: 14px; font-weight: 600; margin: 20px 0 9px; }
label.language { margin: 0; }
select, textarea, input:not([type=checkbox]) { width: 100%; }
textarea { min-height: 104px; resize: vertical; }
#suffix { font-family: monospace; font-size: 18px; font-weight: 700; letter-spacing: .05em; color: var(--accent); line-height: 1.5; }
.live-progress { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.live-progress > div { background: var(--surface); border-radius: 12px; padding: 16px; min-width: 0; }
.live-progress span { display: block; color: var(--muted); font-size: 13px; line-height: 1.5; }
.live-progress strong { display: block; margin-top: 10px; font-size: 23px; line-height: 1.3; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.safety summary { min-height: 44px; display: list-item; padding: 12px 0; cursor: pointer; font-size: 13px; color: var(--muted); line-height: 1.6; }
summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.8; margin: 16px 0; }
.check input { flex-shrink: 0; min-height: 24px; width: 24px; height: 24px; margin: 0; accent-color: var(--accent); }
.check span { padding-top: 1px; }
.settings { display: grid; grid-template-columns: .85fr 1.15fr; gap: 12px; }
.settings select { font-size: 14px; padding-inline: 10px; }
.advanced { border-block: 1px solid var(--line); margin-top: 18px; }
.advanced summary { cursor: pointer; min-height: 48px; padding-block: 12px; font-size: 13px; line-height: 1.8; }
.advanced summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.advanced summary > span:last-child { margin-left: 12px; color: var(--muted); }
.advanced[open] { padding-bottom: 16px; }
.hint { color: var(--muted); font-size: 12px; line-height: 1.8; margin: 14px 0 0; }
.error { color: #b42318; font-size: 13px; line-height: 1.6; margin: 12px 0; }
.error:empty { display: none; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.actions > button { flex: 1; }
.generation-state { display: none; }
.primary { background: var(--accent); color: #fff; border-color: var(--accent); font-weight: 700; }
.primary:hover:not(:disabled) { background: #1848c4; color: #fff; }
.stats { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 10px; padding-bottom: 12px; }
.stats span { font-size: 12px; color: var(--muted); }
.stats strong { display: block; font-size: 18px; font-variant-numeric: tabular-nums; margin-top: 10px; overflow-wrap: anywhere; }
#status { font-size: 13px; line-height: 1.8; min-height: 24px; color: var(--accent); margin: 12px 0; }
.empty { text-align: center; padding: 30px 0 40px; }
.empty svg { width: 64px; height: 64px; stroke: #7590b7; stroke-width: 2; background: var(--surface); border-radius: 18px; padding: 10px; }
.empty h3 { font-size: 16px; margin: 20px 0 12px; }
.empty p { color: var(--muted); font-size: 13px; line-height: 1.8; white-space: pre-line; }
.result-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.result-item { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 8px 10px; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.result-number { align-self: start; padding-top: 11px; font-size: 12px; font-weight: 700; color: var(--muted); }
code { display: block; overflow-wrap: anywhere; word-break: break-all; font-size: 16px; line-height: 1.8; background: #f3f7fd; padding: 16px; border-radius: 10px; margin: 10px 0 16px; user-select: all; }
.result-item code { margin: 0; padding: 8px 10px; font-size: 14px; }
.result-item mark { padding: 0; color: #123e9f; background: #dceaff; font-weight: 700; }
.result-actions { display: flex; gap: 10px; grid-column: 2; flex-wrap: wrap; }
.result-actions button { flex: 1; min-height: 44px; font-size: 13px; padding: 8px 10px; }
.result-actions button:last-child { color: #1649be; border-color: #a9bfe9; }
.backup-panel { width: min(560px, calc(100% - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); margin: auto; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; color: var(--ink); overflow-y: auto; overscroll-behavior: contain; scroll-padding-block: 80px 20px; }
.backup-panel::backdrop { background: #102c5180; }
body:has(.backup-panel[open]) { overflow: hidden; }
.backup-heading { position: sticky; top: -24px; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: -24px -4px 16px; padding: 16px 4px 12px; border-bottom: 1px solid var(--line); background: #fff; }
.backup-heading h3 { margin: 0; font-size: 16px; }
.backup-heading h3:focus-visible, #result-heading:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.backup-heading button { font-size: 12px; padding: 8px 10px; min-height: 44px; flex-shrink: 0; }
.result-label { font-size: 12px; color: var(--muted); }
.secret p { font-size: 12px; color: var(--muted); line-height: 1.8; }
.secret button { font-size: 13px; }
#backup-status { color: var(--accent); min-height: 46px; margin-block: 16px 0; }
#backup-status[data-error=true] { color: #b42318; }
.danger { color: #b42318; border-color: #e9c9c4; }
#clear-confirm { margin-top: 16px; border: 1px solid #e9c9c4; padding: 16px; border-radius: 10px; }
#clear-confirm p { margin: 0; font-size: 13px; color: #a42318; line-height: 1.8; }
.safety { margin-top: 12px; padding: 0 4px; border-top: 1px solid var(--line); }
.loss-note { font-size: 13px; line-height: 1.7; color: var(--muted); margin: 20px 0 0; }
.safety h3 { font-size: 16px; line-height: 1.6; margin: 20px 0 0; }
.safety p { font-size: 13px; line-height: 1.8; color: #4e6480; margin: 12px 0 0; }
footer { border-top: 1px solid var(--line); text-align: center; padding: 24px; font-size: 12px; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 900px) {
  html { scroll-padding-block: 16px calc(96px + env(safe-area-inset-bottom, 0px)); }
  body { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
  header { padding: 10px 16px; }
  header img { width: 105px; }
  .local-badge { display: none; }
  .language select { font-size: 16px; }
  main { padding: 20px 16px 32px; }
  .eyebrow { margin-top: 16px; font-size: 10px; }
  h1 { font-size: 28px; }
  .intro > p { font-size: 15px; margin-bottom: 18px; }
  .workbench { grid-template-columns: 1fr; gap: 18px; }
  .panel { padding: 22px 18px; border-radius: 16px; box-shadow: 0 8px 22px #102c510d; }
  .section-heading { margin-bottom: 18px; }
  .rules > .section-heading { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); margin: 0; }
  fieldset > label:first-of-type { margin-top: 0; }
  .live-progress { margin-top: 16px; gap: 10px; }
  .live-progress > div { padding: 14px 12px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 18px; }
  .stats strong { margin-top: 6px; }
  .settings { grid-template-columns: 1fr; gap: 0; }
  .settings select { font-size: 16px; }
  .hint, .secret p { font-size: 13px; }
  .empty { padding: 16px 0 24px; }
  .safety { padding: 0 4px; }
  .safety h3 { font-size: 15px; }
  .actions button { min-width: 90px; }
  .generation-controls { position: fixed; z-index: 10; inset: auto 0 0; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, 1fr); gap: 8px; margin: 0; padding: 10px max(16px, env(safe-area-inset-left, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: #fff; box-shadow: 0 -4px 18px #102c510c; }
  .generation-controls .generation-state { grid-column: 1 / -1; }
  .generation-controls button { min-width: 0; min-height: 48px; padding: 10px 6px; font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
  .check { min-height: 44px; padding-block: 10px; }
  .backup-panel { width: calc(100% - 24px); padding-inline: 20px; }
  .secret p { font-size: 14px; }
  .result-item { padding: 12px; grid-template-columns: 20px minmax(0, 1fr); gap: 8px; }
  .result-actions { grid-column: 1 / -1; }
  .result-item code { font-size: 14px; padding: 8px; }
}
@media (max-width: 900px) and (max-height: 500px) {
  .generation-controls .generation-state { display: none; }
  html { scroll-padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
  body { padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 360px) { .mode-options .mode-option { font-size: 13px; gap: 6px; } }
@media (prefers-reduced-motion: no-preference) { button { transition: background .15s, border-color .15s; } }

/* Download channel controls: header dropdown and homepage hero button row. */

.app-download-menu { position:relative; }
.app-download-menu > summary { cursor:pointer; list-style:none; display:inline-flex; align-items:center; gap:7px; }
.app-download-menu > summary::-webkit-details-marker { display:none; }
.app-download-caret { width:11px; height:8px; flex:none; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; transition:transform .2s ease; }
.app-download-menu[open] > summary .app-download-caret { transform:rotate(180deg); }

.app-download-options { position:absolute; top:calc(100% + 10px); right:0; z-index:60; display:grid; gap:4px; width:max-content; min-width:236px; padding:8px; border:1px solid #d2d2d7; border-radius:14px; background:#fff; box-shadow:0 18px 44px rgba(0,0,0,.14); }
.app-download-options > :is(a,span) { display:grid; gap:3px; padding:10px 14px; border-radius:9px; min-height:44px; align-content:center; text-align:left; }
.app-download-options strong { color:#1d1d1f; font-size:14px; font-weight:600; line-height:1.4; }
.app-download-platform { margin:0; padding:6px 14px; color:#626267; font-size:12px; line-height:1.5; }
.app-download-options small { color:#626267; font-size:12px; line-height:1.5; }
.app-download-options > a:hover { background:#f0f6ff; text-decoration:none; }
.app-download-options > a:hover strong { color:#0066cc; }
.app-download-options .app-download-pending { cursor:not-allowed; background:#f5f5f7; }
.app-download-options .app-download-pending strong { color:#607087; }
.app-download-options .app-download-pending small { color:#607087; }

/* In-page pickers: the trigger keeps its host styling, so only the popover is
   positioned here. `up` is for triggers close to the page bottom. */
.app-download-menu-inline { display:inline-block; vertical-align:middle; }
.app-download-menu-start .app-download-options { right:auto; left:0; }
.app-download-menu-up .app-download-options { top:auto; bottom:calc(100% + 10px); }

/* Inside the mobile nav the menu is part of a grid, so it opens inline. */
.app-download-menu-menu { grid-column:1 / -1; }
.app-download-menu-menu > summary { justify-content:center; }
.app-download-menu-menu .app-download-options { position:static; margin-top:8px; width:auto; min-width:0; box-shadow:none; }

.app-download-menu > summary:focus-visible,.app-download-options > a:focus-visible { outline:2px solid #0066cc; outline-offset:3px; }

/* Keep the panel out of document flow so opening it never moves the next action. */
@media(max-width:760px) {
  .app-download-options { min-width:0; width:min(280px,calc(100vw - 40px)); transform:translateX(var(--download-offset,0px)); }
  .app-download-menu-inline { display:inline-block; }
  .app-download-menu-inline .app-download-options { width:min(280px,calc(100vw - 40px)); }
  .product-actions .app-download-menu-inline .app-download-options { left:0; right:auto; }
  .app-download-options { box-sizing:border-box; max-height:var(--download-max-height,none); overflow-y:auto; overscroll-behavior:contain; scroll-padding:8px; }
  .app-download-menu .app-download-options[data-mobile-placement] { max-height:var(--download-max-height,none); }
  .app-download-options[data-mobile-placement=up] { top:auto; bottom:calc(100% + 10px); }
  .app-download-options[data-mobile-placement=down] { top:calc(100% + 10px); bottom:auto; }
}

/* Mirrors the public site's shell, without importing app scripts or global styles.
   Navigation is generated from CommerceHeader; browser QA checks header parity. */
:root { background: #fff; --muted: #5b6f8b; --surface: #f3f7fc; font-family: "OPO Geist", "PingFang SC", "Microsoft YaHei", sans-serif; line-height: 1.5; }
.commerce-header { display: block; position: sticky; top: 0; z-index: 20; padding: 0; }
.commerce-header-inner { max-width: 1280px; margin: auto; min-height: 80px; padding: 10px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.commerce-header .commerce-logo { display: block; width: 144px; height: auto; }
.commerce-header-actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.commerce-header-inner > a { flex-shrink: 0; }
.commerce-header a { color: var(--ink); }
.commerce-primary-nav { display: flex; align-items: center; gap: 22px; }
.commerce-primary-nav > a { min-height: 48px; display: inline-flex; align-items: center; padding: 20px 0; font-size: 15px; font-weight: 600; white-space: nowrap; position: relative; }
.commerce-header a:hover, .commerce-header a[aria-current=page] { color: var(--accent); }
.commerce-primary-nav a[aria-current=page]::after { content: ''; position: absolute; height: 3px; inset: auto 0 0; background: var(--accent); }
.locale-picker { position: relative; font-size: 13px; white-space: nowrap; }
.locale-picker summary { list-style: none; min-height: 44px; display: flex; align-items: center; gap: 5px; cursor: pointer; }
.locale-picker nav { position: absolute; z-index: 30; top: 100%; right: 0; display: grid; min-width: 180px; padding: 8px; background: white; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 12px 32px #00000014; }
.locale-picker nav a { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: 8px; font-size: 14px; }
.locale-picker nav a:hover, .locale-picker nav a[aria-current] { background: #f5f5f7; }
.commerce-header .header-download { display: inline-flex; align-items: center; justify-content: center; gap:7px; background: var(--accent); color: white; border: 1px solid transparent; border-radius: 8px; white-space: nowrap; }
.header-download svg { width:11px; height:8px; flex:none; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.commerce-header .header-download:hover { background: #1848c4; color: white; }
.commerce-header .app-download-options { max-height: calc(100dvh - 100px); overflow-y: auto; overscroll-behavior: contain; }
.commerce-mobile-menu { position: relative; display: none; }
.commerce-mobile-menu > summary { display: flex; flex-direction: column; justify-content: center; gap: 5px; cursor: pointer; width: 44px; height: 44px; list-style: none; border: 1px solid var(--line); border-radius: 8px; }
.commerce-mobile-menu summary span { width: 18px; height: 2px; background: var(--ink); margin-inline: auto; }
.commerce-header summary::-webkit-details-marker { display: none; }
.commerce-mobile-menu nav { position: absolute; right: 0; top: calc(100% + 10px); width: min(300px, calc(100vw - 40px)); max-height: calc(100dvh - 100px); overflow-y: auto; overscroll-behavior: contain; display: grid; padding: 8px; background: white; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 28px #102c5114; }
.commerce-mobile-menu nav a { display: flex; align-items: center; min-height: 48px; padding: 12px 16px; border-radius: 6px; font-size: 15px; font-weight: 600; }
.commerce-mobile-menu nav a[aria-current=page] { background: #edf5ff; }
main { max-width: 1280px; padding: 32px 24px 60px; }
.intro { max-width: none; }
.back, .breadcrumb-current, .breadcrumb-separator { font-size: 13px; color: var(--muted); }
.breadcrumb-separator { margin: 0 10px; }
.intro h1 { margin-top: 16px; font-size:clamp(38px,4.2vw,60px); font-weight:750; line-height:1.22; letter-spacing:-.045em; }
.intro > p { margin-bottom: 28px; }
.panel { border-radius: 16px; }
html { scroll-padding-top: 100px; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 50; padding: 12px; background: white; }
.skip-link:focus { top: 12px; }
.site-footer { padding: 32px 24px; background: #f8fafd; }
.site-footer img { display: block; margin: auto; height: auto; }
.site-footer p { margin: 12px 0; line-height: 1.7; }
.site-footer nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 24px; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-size: 13px; }
@media (max-width: 1100px) {
  .commerce-primary-nav { display: none; }
  .commerce-mobile-menu { display: block; }
  .commerce-header-inner { min-height: 72px; padding: 10px 20px; }
}
@media (min-width: 1101px) and (max-width: 1279px) {
  html[lang=en] .commerce-primary-nav { display: none; }
  html[lang=en] .commerce-mobile-menu { display: block; }
  html[lang=en] .commerce-header-inner { min-height: 72px; padding: 10px 20px; }
}
@media (max-width: 760px) {
  .commerce-header-inner { min-height: 68px; gap: 10px; }
  .commerce-header .commerce-logo { width: 96px; }
  .commerce-header-actions { gap: 8px; }
  .locale-picker { font-size: 12px; }
  .commerce-mobile-menu nav { top: calc(100% + 12px); }
  main { padding: 28px 20px 40px; }
  .intro :is(.back,.breadcrumb-separator,.breadcrumb-current) { display:none; }
  .intro h1 { margin-top:0; font-size:38px; line-height:1.23; letter-spacing:-.04em; }
  .intro > p { font-size:16px; line-height:1.75; margin:16px 0 24px; }
  html { scroll-padding-top: 88px; }
}
@media (max-width: 360px) {
  .commerce-header-inner { padding-inline: 12px; gap: 6px; }
  .commerce-header .commerce-logo { width: 80px; }
  .commerce-header-actions { gap: 6px; }
  .intro h1 { font-size:32px; }
}

/* Original desktop presentation remains the default. New artwork and surfaces
   are enabled only at the shared mobile breakpoint, including isolated tools. */
.mobile-tools-nav, .mobile-visual, .query-workspace-hero, .query-paste,
.vanity-hero-art, .telegram-hero-art, .service-device-art, .safety-mark { display: none; }
@media (max-width: 760px) {
.mobile-visual { display: revert; }
.desktop-visual, .query-desktop-heading { display: none !important; }
.commerce .commerce-button { border-radius: 999px !important; }
.query-workspace-hero, .vanity-hero-art, .telegram-hero-art { display: block; }
.earning-guide-shell { padding-top: 32px; }
.earning-app-proof {
  position: relative;
  isolation: isolate;
  width: min(100%, 390px);
  aspect-ratio: 390 / 302;
  margin: 26px auto 0;
}
.earning-app-proof::before {
  position: absolute;
  inset: 10% 0 0;
  background: radial-gradient(ellipse at 50% 66%, #d9e9ff 0%, #f1f7ff 47%, transparent 72%);
  content: '';
}
.earning-app-screen {
  position: absolute;
  bottom: 6%;
  left: 50%;
  display: block;
  width: 30%;
  height: auto;
  translate: -50% 0;
  transform: translateX(var(--screen-offset, 0%)) rotate(var(--screen-angle, 0deg));
  border-radius: 11px;
  box-shadow: 0 12px 28px #193f7829;
}
.earning-app-screen-energy {
  --screen-offset: -89%;
  --screen-angle: -8deg;
}
.earning-app-screen-bandwidth {
  --screen-offset: 89%;
  --screen-angle: 8deg;
}
.earning-app-screen-home {
  z-index: 1;
  width: 34%;
  bottom: 4%;
  box-shadow: 0 16px 32px #193f7838;
}
/* Keep each device whole while its separate frame and screen decode. */
.earning-app-proof:is([data-reveal="loading"], [data-reveal="unavailable"]) > .opo-device {
  border-radius: 13% / 6%;
  background: #f1f4f8;
  outline: 1px solid #e3e8ef;
}
.earning-app-proof:is([data-reveal="loading"], [data-reveal="unavailable"]) > .opo-device > * {
  visibility: hidden;
}
@media (prefers-reduced-motion: no-preference) {
  .earning-app-proof[data-reveal="ready"] .earning-app-screen:not(.earning-app-screen-home) {
    transform: translateY(8px) scale(.93);
  }
  .earning-app-proof[data-reveal="playing"] .earning-app-screen:not(.earning-app-screen-home) {
    animation: earning-screen-unfold 950ms cubic-bezier(.2, .72, .24, 1) both;
  }
  .earning-app-proof[data-reveal="playing"] .earning-app-screen-bandwidth {
    animation-delay: 70ms;
  }
}
@keyframes earning-screen-unfold {
  from { transform: translateY(8px) scale(.93); }
  to { transform: translateX(var(--screen-offset)) rotate(var(--screen-angle)); }
}

.commerce {
  --c-ink: #142136;
  --c-muted: #667182;
  --c-blue: #205bf3;
  --c-line: #e2e7ee;
  --c-mist: #f5f6f8;
  background: #fff;
}
.commerce .commerce-main { max-width: 1280px; padding-top: 64px; padding-bottom: 80px; }
.commerce-header { background: #ffffffed; backdrop-filter: blur(18px); border-bottom-color: #e9edf2; box-shadow: none; }
.commerce-header .commerce-logo { width: 132px; }
.commerce .commerce-intro h1,
.commerce-query .query-heading h1,
.intro h1 { font-weight: 720; letter-spacing: -.035em; line-height: 1.13; text-wrap: balance; }
.commerce .commerce-intro h1 { font-size: clamp(42px, 4.8vw, 66px); }
.commerce .commerce-lead { font-size: 18px; line-height: 1.7; margin-top: 20px !important; }
.commerce .commerce-button,
.commerce .brand-outline,
.commerce .catalog-link,
.commerce .telegram-pricing-card .commerce-button { border-radius: 999px; min-height: 48px; font-weight: 600; }
.commerce .commerce-button:hover { background: #1648ce; }
.commerce :is(.brand-actions, .commerce-task-actions, .rental-mode-action) .commerce-button,
.commerce-header .commerce-button.compact,
.commerce-header .header-download { border-radius: 999px; }
.commerce .commerce-panel,
.commerce .telegram-pricing-card { border-color: #e3e8ef; border-radius: 24px; box-shadow: 0 14px 45px -32px #14213636; }
.commerce input:not([type=checkbox]):not([type=radio]),
.commerce select { border-color: #d4dce7; border-radius: 12px; background: #fbfcfe; }
.commerce .commerce-utility { border-radius: 16px; background: #f5f7fa; border-color: transparent; }
.commerce #site-footer { background: #f5f6f8; border-top: 0; padding-top: 48px; }
.commerce #site-footer .footer-brand p { font-size: 14px; }
.commerce #site-footer .footer-brand img,
.secondary-page #site-footer .footer-brand img,
.announcement-page #site-footer .footer-brand img,
body:has(.workbench) .site-footer>a>img { mix-blend-mode: multiply; }
.commerce #site-footer .footer-links strong { font-weight: 600; }
.commerce #site-footer .footer-bottom { border-color: #e1e5ea; }

/* Real device hardware from the supplied material library, with OPO's screen. */
.opo-device { position: relative; display: block; aspect-ratio: 452 / 924; isolation: isolate; }
.opo-device .opo-device-hardware { position: relative; display: block; width: 100%; height: auto; }
.opo-device .opo-device-screen {
  position: absolute; inset: 2% 4.2%;
  width: 91.6%; height: 96%;
  object-fit: cover; object-position: top;
  border-radius: 12% / 5.5%;
}
.opo-device-camera {
  position: absolute; top: 2.7%; left: 36%; width: 28%; height: 2.4%;
  border-radius: 999px; background: #0b0d10;
}

/* Home uses one device-led introduction and quieter product sections. */
.commerce .brand-workspace { gap: 56px; padding-bottom: 42px; }
.commerce .brand-intro h1 { font-size: clamp(46px, 4.6vw, 66px); letter-spacing: -.035em; line-height: 1.14; }
.commerce .brand-intro .commerce-lead { font-size: 17px; max-width: 410px; }
.brand-product-visual { position: relative; height: 248px; margin-top: 22px; }
.brand-product-visual .brand-tron-network { position: absolute; left: 0; top: 42px; width: 84%; margin: 0; }
.brand-product-device {
  position: absolute; width: 122px; right: 4%; top: -3px;
  transform: rotate(7deg); filter: drop-shadow(0 16px 18px #263d6026);
}
.mobile-tools-nav { display: none; }
.commerce .brand-rental .rental-transfer { padding: 28px; border-radius: 26px; background: #fbfcff; border-color: #e2e8f2; box-shadow: 0 18px 55px -34px #20468042; }
.commerce .rental-mode-tabs { gap: 6px; border: 0; border-radius: 999px; padding: 5px; background: #edf1f7; margin: 18px 0 24px; }
.commerce .rental-mode-tabs button { min-height: 44px; border: 0; border-radius: 999px; font-size: 15px; }
.commerce .rental-mode-tabs button[aria-selected=true] { background: #fff; color: #174fe2; box-shadow: 0 2px 7px #193f7812; }
.commerce .rental-free-benefits>div,
.commerce .brand-rental .commerce-energy-tiers button { border-color: #dfe7f2; border-radius: 16px; background: #fff; }
.commerce .brand-rental .commerce-energy-tiers button[aria-pressed=true] { background: #edf4ff; border-color: #2e66eb; }
.commerce .rental-mode-intro h3 { font-size: 21px; letter-spacing: -.025em; }
.commerce .brand-service-rail { border-color: #e4e8ee; padding-block: 24px; }
.commerce .brand-section-copy h2 { font-size: clamp(32px, 3.2vw, 46px); font-weight: 680; line-height: 1.23; letter-spacing: -.045em; }
.commerce .brand-earning { gap: 42px; }
.commerce .brand-earning-visual { gap: 26px; }
.commerce .brand-earning-app { width: min(100%, 350px); }
.commerce .brand-earning-apps { height: 300px; }
.commerce .brand-earning-screen { border-radius: 0; box-shadow: none; filter: drop-shadow(0 15px 18px #263d6029); }
.commerce .brand-telegram { border-radius: 26px; background: #f4f7fc; border: 0; padding: 38px; gap: 30px; }
.commerce .brand-telegram-products article { border-radius: 24px; box-shadow: 0 14px 30px -16px #2958a963; }
.commerce .brand-telegram-products article:first-child { background: #e3efff; color: #2d77d0; transform: rotate(-12deg); }
.commerce .brand-telegram-products article:last-child { background: #fff4d9; color: #cf961b; transform: rotate(12deg); }
.commerce .brand-film { border-radius: 22px; overflow: hidden; }
.commerce .brand-faq { border-radius: 22px; background: #f5f7fa; }

/* Earnings stays focused on the rates, with physical OPO screen presentations. */
.commerce .earning-hero { gap: 64px; align-items: start; }
.commerce .earning-intro-column { position: relative; isolation: isolate; padding: 32px; border-radius: 26px; background: #205bf3; color: #fff; }
.commerce .earning-intro-column::before { position: absolute; z-index: -1; content: ""; width: 190px; height: 270px; right: 10px; top: 90px; background: #fff; opacity: .055; clip-path: polygon(44% 0, 3% 57%, 40% 57%, 24% 100%, 100% 33%, 61% 33%, 80% 0); pointer-events: none; }
.commerce .earning-hero .commerce-intro h1 { color: #fff; font-size: 30px; font-weight: 660; letter-spacing: -.03em; }
.commerce .earning-intro-column .commerce-lead { color: #e8efff; font-size: 15px; line-height: 1.7; margin-top: 12px !important; }
.commerce .earning-hero .commerce-rate { margin: 24px 0 20px; }
.commerce .earning-hero .commerce-rate>span { color: #edf3ff; font-size: 13px; font-weight: 550; }
.commerce .earning-hero .commerce-rate>strong { color: #fff; font-size: clamp(90px, 28vw, 124px); line-height: 1.08; font-weight: 760; letter-spacing: -.055em; font-variant-numeric: lining-nums; margin-top: 8px; white-space: nowrap; }
.commerce .earning-hero .commerce-rate>strong small { font-size: .4em; margin-left: 5px; letter-spacing: -.025em; }
.commerce .earning-hero .commerce-rate p { color: #dce7ff; font-size: 12px; margin-top: 10px; }
.commerce .earning-intro-column .commerce-task-actions { gap: 12px 16px; align-items: center; }
.commerce .earning-intro-column .commerce-task-actions>.app-download-menu { flex: 1; min-width: 144px; max-width: 184px; }
.commerce .earning-intro-column .commerce-button { width: 100%; background: #fff !important; color: #164ad0 !important; font-size: 14px !important; padding-inline: 18px !important; }
.commerce .earning-intro-column .commerce-button:hover { background: #edf3ff !important; }
.commerce .earning-intro-column .commerce-text-link { color: #fff; font-size: 15px; font-weight: 600; }
.commerce .earning-intro-column .earning-app-proof::before { display: none; }
.commerce .earning-app-proof { width: min(100%, 410px); aspect-ratio: 410 / 300; margin-top: 28px; margin-bottom: 20px; }
.commerce .earning-app-stage { margin: 24px -32px -32px; padding: 20px 32px 24px; background: #fff; }
.commerce .earning-app-stage .earning-app-proof { margin: 0 auto; }
.earning-app-proof>.opo-device { position: absolute; }
.commerce .earning-app-screen { border-radius: 0; box-shadow: none; filter: drop-shadow(0 15px 18px #263d6029); }
.commerce .earning-hero>.calculator { background: #f7f9fc; padding: 32px; border: 1px solid #e4e9f0; }
.commerce .earning-plan-options button { border-radius: 15px; background: #fff; }
.commerce .earning-plan-options button[aria-pressed=true] { background: #edf4ff; }
.commerce .earning-details { margin-top: 36px; }

/* Telegram combines a large product visual with compact buying information. */
.page-hero { display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: center; gap: 40px; min-height: 240px; }
.telegram-hero-art { position: relative; width: 280px; height: 220px; justify-self: center; }
.telegram-hero-orbit { position: absolute; inset: 14px 0; border-radius: 50%; background: radial-gradient(ellipse, #e5efff, transparent 68%); }
.telegram-hero-plane { position: absolute; left: 12px; top: 10px; width: 150px; height: 150px; transform: rotate(-12deg); filter: drop-shadow(0 18px 20px #236abc26); }
.telegram-hero-plane img { width: 100%; height: 100%; }
.telegram-hero-star { position: absolute; width: 100px; height: 100px; top: 90px; right: 12px; color: #dfa726; transform: rotate(13deg); filter: drop-shadow(0 11px 12px #b57a1426); }
.telegram-hero-star svg { display: block; width: 100%; height: 100%; fill: #fff0b3; stroke-width: 1.2; }
.commerce .telegram-quick-links { gap: 12px; margin-top: 0; margin-bottom: 32px; }
.commerce .telegram-pricing-card { padding: 30px; }
.commerce .telegram-premium-card { background: #f3f7ff; }
.commerce .telegram-stars-card { background: #fffaf0; }
.commerce .telegram-price-list>div { border-color: #dce5f2; }
.commerce .telegram-product-mark { border-radius: 21px; box-shadow: 0 12px 24px -16px currentColor; }

/* Tutorials feature full device artwork; the secondary topics remain compact. */
.commerce .commerce-guides>.commerce-intro { padding-bottom: 38px; border-bottom: 0; }
.commerce .commerce-guides #guides { padding-top: 10px; }
.commerce .commerce-guides #guides .guide-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 20px; }
.commerce .commerce-guides #guides .guide-card { padding: 20px; border-radius: 20px; background: #f6f7f9; border: 0; box-shadow: none; overflow: hidden; }
.commerce .commerce-guides #guides .guide-card:has(.guide-artwork) { padding: 0; }
.commerce .commerce-guides .guide-disclosure>summary { padding-right: 36px; }
.commerce .commerce-guides .guide-card:has(.guide-artwork) summary { padding: 24px 24px 0; }
.commerce .commerce-guides .guide-disclosure>summary::after { width: 26px; height: 26px; right: 0; border-radius: 50%; background: #fff; color: #52617a; text-align: center; line-height: 26px; font-size: 21px; }
.commerce .commerce-guides .guide-card:has(.guide-artwork) summary::after { top: 25px; right: 20px; transform: none; }
.commerce .commerce-guides .guide-summary { display: block; margin: 0; }
.guide-summary-copy { display: grid; gap: 10px; min-height: 75px; }
.commerce .commerce-guides .guide-disclosure>summary .section-kicker { margin: 0; letter-spacing: 0; font-size: 13px; font-weight: 550; color: #697589; }
.guide-summary-title { font-size: 22px; font-weight: 630; line-height: 1.4; letter-spacing: -.025em; display: block; padding-right: 8px; }
.guide-artwork { position: relative; display: block; height: 258px; margin-top: 20px; }
.guide-artwork>.opo-device { position: absolute; top: 12px; left: calc(50% - 73px); width: 146px; transform: rotate(-9deg); filter: drop-shadow(0 12px 14px #1d345e29); }
.guide-artwork-install>.opo-device { width: 154px; left: calc(50% - 77px); }
.guide-artwork-earning-guide>.opo-device { z-index: 1; left: calc(50% - 116px); transform: rotate(-10deg); }
.guide-artwork-earning-guide>.guide-artwork-secondary { z-index: 0; top: 38px; left: calc(50% - 13px); width: 138px; transform: rotate(12deg); }
.guide-artwork-rental-guide>.opo-device { transform: rotate(9deg); left: calc(50% - 35px); }
.guide-artwork-detail { position: absolute; z-index: 2; width: 116px; height: auto; left: 6%; top: 95px; border-radius: 15px; box-shadow: 0 12px 28px #193f7829; transform: rotate(-8deg); }
.commerce .commerce-guides .guide-card:has(.guide-artwork) .guide-disclosure>ol,
.commerce .commerce-guides .guide-card:has(.guide-artwork) .catalog-link { margin-inline: 24px; }
.commerce .commerce-guides .guide-card:has(.guide-artwork) .catalog-link { margin-bottom: 22px; }

/* Information pages use broad visual bands instead of repeated boxed labels. */
.commerce .secondary-about { border-radius: 24px; background: #f4f6fa; padding: 36px; gap: 48px; }
.commerce .about-section-nav { border-color: #e5e9ef; }
.commerce .commerce-guides .secondary-grid.feature-four article { border: 0; background: #f5f7fa; border-radius: 20px; }
.commerce .commerce-guides .secondary-grid.feature-four article>b { background: #fff; color: #3c65aa; box-shadow: none; }
.commerce .commerce-guides .secondary-band,
.commerce .commerce-guides .secondary-feature { background: #f5f7fa; border: 0; border-radius: 22px; }
.commerce .partner-grid>article { border-color: #e5eaf0; border-radius: 16px; box-shadow: none; }
.commerce .official-shop-products>article { padding: 30px; background: #f5f7fa; border: 0; border-radius: 24px; }
.commerce .official-shop-products .commerce-symbol { border-radius: 22px; background: #fff; box-shadow: 0 12px 26px -17px #1e519955; }

/* Tools share the same typography and calm surfaces; their controls retain priority. */
.commerce .commerce-query .query-panel { width: 100%; max-width: none; margin: 0; padding: 20px 36px 28px; background: #fff; border: 0; border-radius: 0; box-shadow: none; }
.commerce .query-workspace-hero { position: relative; isolation: isolate; max-width: 1100px; margin: 0 auto; padding: 28px 36px; border-radius: 24px; background: #205bf3; color: #fff; }
.commerce .query-workspace-hero h1 { color: #fff; font-size: 42px; line-height: 1.15; font-weight: 720; letter-spacing: -.035em; }
.commerce .query-workspace-hero p { color: #e8efff; font-size: 16px; line-height: 1.7; margin-top: 12px; }
.query-hero-art { position: absolute; z-index: -1; right: 24px; top: 4px; width: 132px; height: 132px; color: #fff; opacity: .09; pointer-events: none; }
.query-workspace-body { max-width: 1100px; margin-inline: auto; }
.commerce .commerce-query .query-networks { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; max-width: none; margin: 24px 36px 0; padding: 5px; border: 0; border-radius: 999px; background: #edf1f7; }
.commerce .commerce-query .query-networks button { min-height: 44px; padding: 8px 12px; border: 0; border-radius: 999px; background: transparent; color: #667182; font-size: 15px; }
.commerce .commerce-query .query-networks button[aria-pressed=true] { background: #fff; color: #174fe2; box-shadow: 0 2px 7px #193f7812; }
.commerce .commerce-query .query-heading p { margin: 0; font-size: 14px; color: #667182; line-height: 1.7; }
.commerce .commerce-query .query-panel form { margin-top: 18px; }
.query-input-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.commerce .query-input-heading label { margin: 0; color: #142136; font-size: 14px; font-weight: 600; }
.commerce .query-input-heading .query-paste { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 76px; min-height: 44px; padding: 8px 12px; border: 0; border-radius: 10px; background: #edf3ff; color: #174fe2; cursor: pointer; font-size: 14px; font-weight: 600; }
.query-paste svg { width: 18px; height: 18px; flex: none; }
.query-paste:disabled { opacity: .55; cursor: default; }
.commerce .commerce-query .query-input-row { gap: 12px; }
.commerce .commerce-query .query-input-row input { min-height: 60px; border-color: #d4dce8; border-radius: 14px; background: #fbfcfe; font-size: 16px; }
.commerce .commerce-query .query-input-row button[type=submit],
.commerce .commerce-query .eth-query .query-input-row>button { min-height: 52px; border-radius: 999px; background: #205bf3; font-weight: 650; }
.commerce .commerce-query .query-panel>p:empty { display: none; }
.commerce .commerce-query .query-disclosure { margin-top: 24px; padding-top: 8px; border-color: #e5eaf1; }
.commerce .commerce-query .query-balances { gap: 14px; margin-top: 22px; }
.commerce .commerce-query .query-balances article { background: #f5f7fa; border-radius: 18px; padding: 24px; }
.commerce .commerce-query .query-balances h2 { margin-bottom: 14px; color: #667182; font-size: 14px; font-weight: 550; }
.commerce .commerce-query .query-balances strong { color: #142136; font-size: clamp(26px, 3vw, 38px); font-weight: 680; letter-spacing: -.035em; }
.commerce .commerce-query .resource-grid article { background: #f5f7fa; border-radius: 14px; }
.commerce .query-heading h1 { font-size: clamp(36px, 4.2vw, 58px); margin-top: 12px; }
.commerce .query-heading>span { color: #61728b; letter-spacing: .04em; font-size: 12px; }
.commerce .query-input-row input { background: #fff; border-color: #d1dce9; }
.commerce .query-input-row button:not(.query-clear) { border-radius: 999px; background: var(--c-blue); }
.commerce .query-networks button { border-radius: 999px; }
.commerce .query-empty { background: #fff; border-radius: 16px; }
.commerce .commerce-query+.commerce-utility { margin-top: 24px; }
body:has(.workbench) { background: #fff; --surface: #f5f7fa; --ink: #142136; --line: #e2e7ee; }
body:has(.workbench) main { padding-top: 56px; }
body:has(.workbench) .intro { position: relative; isolation: isolate; padding: 28px 32px; border-radius: 24px; background: #205bf3; color: #fff; }
body:has(.workbench) .intro :is(.back,.breadcrumb-separator,.breadcrumb-current) { display: none; }
body:has(.workbench) .intro h1 { margin: 0; color: #fff; font-size: 42px; font-weight: 720; line-height: 1.15; letter-spacing: -.035em; }
body:has(.workbench) .intro>p { color: #e8efff; font-size: 16px; margin: 12px 0 0; line-height: 1.7; }
.vanity-hero-art { position: absolute; z-index: -1; right: 22px; top: 6px; width: 132px; height: 132px; opacity: .09; pointer-events: none; }
body:has(.workbench) .workbench { gap: 24px; margin-top: 24px; }
body:has(.workbench) .panel { padding: 28px; border-radius: 22px; background: #fff; border-color: #e3e9f1; box-shadow: none; }
body:has(.workbench) .panel.output { background: #fff; }
body:has(.workbench) .mode-choices { gap: 5px; padding: 5px; border-radius: 999px; background: #edf1f7; }
body:has(.workbench) .mode-option { position: relative; justify-content: center; min-height: 44px; padding: 8px; border: 0; border-radius: 999px; background: transparent; color: #667182; font-size: 14px; font-weight: 600; }
body:has(.workbench) .mode-option:has(input:checked) { background: #fff; color: #174fe2; box-shadow: 0 2px 7px #193f7812; }
body:has(.workbench) .mode-option input[type=radio] { position: absolute; width: 1px; height: 1px; min-height: 1px; flex: none; border: 0; padding: 0; overflow: hidden; clip-path: inset(50%); }
body:has(.workbench) .mode-option:has(input:focus-visible) { outline: 3px solid #205bf3; outline-offset: 3px; }
body:has(.workbench) :is(#suffix,#repeat) { min-height: 64px; border-color: #d4dce8; border-radius: 14px; background: #fbfcfe; font-size: 26px; color: #174fe2; font-weight: 650; }
body:has(.workbench) #suffix { letter-spacing: .12em; }
body:has(.workbench) .check:has(#accelerate) { align-items: center; min-height: 44px; margin: 12px 0 4px; padding-block: 0; font-size: 14px; font-weight: 600; }
body:has(.workbench) #accelerate { appearance: none; position: relative; width: 38px; height: 24px; min-height: 24px; flex: 0 0 38px; padding: 0; border: 0; border-radius: 999px; background: #d5ddea; cursor: pointer; }
body:has(.workbench) #accelerate::after { position: absolute; content: ""; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px #14213624; }
body:has(.workbench) #accelerate:checked { background: #205bf3; }
body:has(.workbench) #accelerate:checked::after { transform: translateX(14px); }
body:has(.workbench) :is(#accelerate-note,#power-notice) { color: #667182; font-size: 13px; line-height: 1.7; }
body:has(.workbench) #accelerate-note { margin: 0 0 12px; }
body:has(.workbench) #power-notice { margin: 0 0 16px; }
body:has(.workbench) .consent { padding: 12px; border: 1px solid #e1e8f3; border-radius: 12px; background: #f7f9fd; font-size: 13px; }
body:has(.workbench) .live-progress { gap: 12px; margin-top: 22px; }
body:has(.workbench) .live-progress>div { background: #f5f7fa; border: 0; border-radius: 14px; padding: 16px; }
body:has(.workbench) .live-progress span { color: #667182; font-size: 13px; }
body:has(.workbench) .live-progress strong { color: #142136; font-size: 25px; font-weight: 680; }
body:has(.workbench) .result-count { padding: 4px 10px; border-radius: 999px; background: #edf3ff; color: #174fe2; }
body:has(.workbench) .empty { padding-block: 40px; }
body:has(.workbench) .empty svg { width: 80px; height: 80px; border-radius: 22px; stroke: #3f6bc2; background: #edf3ff; }
body:has(.workbench) .result-item { border-color: #e3e9f1; border-radius: 14px; background: #fbfcfe; }
body:has(.workbench) .primary { border-radius: 999px; background: #205bf3; border-color: #205bf3; }
body:has(.workbench) .backup-panel { border-color: #e3e9f1; border-radius: 22px; }
body:has(.workbench) .site-footer { background: #f5f6f8; border-top: 0; }

@media (max-width: 1050px) {
  .commerce .brand-workspace { gap: 32px; }
  .page-hero { grid-template-columns: minmax(0, 1fr) 230px; gap: 20px; }
  .telegram-hero-art { scale: .85; }
  .commerce .commerce-guides #guides .guide-grid { gap: 14px; }
  .commerce .commerce-guides .guide-card:has(.guide-artwork) summary { padding-inline: 18px; }
  .guide-summary-title { font-size: 20px; }
  .guide-artwork-detail { left: 0; }
}
@media (max-width: 760px) {
  .commerce .commerce-main { padding: 32px 20px 48px; }
  .commerce-header .commerce-logo { width: 96px; }
  .commerce .commerce-intro h1 { font-size: 38px; }
  .commerce .commerce-lead { font-size: 16px; margin-top: 16px !important; }
  .commerce .brand-intro { position: relative; isolation: isolate; text-align: left; margin: -32px -20px 0; padding: 26px 24px 22px; background: #205bf3; color: #fff; }
  .commerce .brand-intro::before { position: absolute; z-index: -1; content: ""; width: 180px; height: 250px; right: 5px; top: 14px; background: #fff; opacity: .065; clip-path: polygon(44% 0, 3% 57%, 40% 57%, 24% 100%, 100% 33%, 61% 33%, 80% 0); pointer-events: none; }
  .commerce .brand-intro h1 { color: #fff; font-size: clamp(34px, 9.6vw, 42px); max-width: none; font-weight: 710; line-height: 1.15; letter-spacing: -.035em; }
  .commerce[lang|=zh] .brand-intro h1 br { display: initial; }
  .commerce .brand-hero-end { display: inline-block; font-size: 1.55em; font-weight: 780; line-height: 1.08; letter-spacing: -.05em; margin-top: 4px; }
  .commerce[lang=en] .brand-hero-end { font-size: 1.16em; }
  .commerce .brand-intro .brand-mobile-tron { display: none; }
  .commerce .brand-intro .commerce-lead { color: #e8efff; font-size: 14px; max-width: 340px; margin-inline: 0; line-height: 1.85; margin-top: 16px !important; text-wrap: pretty; }
  .commerce .brand-intro>.brand-actions { justify-content: flex-start; gap: 24px; margin-top: 20px; }
  .commerce .brand-intro>.brand-actions>.app-download-menu { flex: 0 1 190px; }
  .commerce .brand-intro .commerce-button { background: #fff !important; color: #164ad0 !important; }
  .commerce .brand-intro .commerce-button:hover { background: #edf3ff !important; }
  .commerce .brand-intro .brand-outline { color: #fff; padding-inline: 0 !important; min-width: 84px; border: 0; background: transparent; }
  .commerce .brand-intro .brand-download-hint { display: block; margin-top: 10px; font-size: 11px; color: #dce7ff; }
  body:has(.mobile-tools-nav) { --mobile-tools-height: calc(67px + env(safe-area-inset-bottom)); padding-bottom: calc(var(--mobile-tools-height) + 9px); }
  .mobile-tools-nav { position: fixed; inset: auto 0 0; z-index: 50; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 7px 12px calc(7px + env(safe-area-inset-bottom)); border-top: 1px solid #e5eaf1; background: #ffffffed; backdrop-filter: blur(18px); box-shadow: 0 -6px 22px #14213607; }
  .mobile-tools-nav>a { min-height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: #69778a; font-size: 11px; font-weight: 550; line-height: 1.4; text-decoration: none; }
  .mobile-tools-nav .mobile-tool-icon { display: grid; place-items: center; width: 40px; height: 28px; border-radius: 10px; }
  .mobile-tools-nav svg { width: 22px; height: 22px; }
  .mobile-tools-nav>a[aria-current] { color: #205bf3; }
  .mobile-tools-nav>a[aria-current]>.mobile-tool-icon { background: #edf3ff; }
  .mobile-tools-nav>a:focus-visible { outline: 2px solid #205bf3; outline-offset: 1px; border-radius: 10px; }
  body:has(.mobile-tools-nav) .cookie-notice { bottom: calc(var(--mobile-tools-height) + 15px); }
  body:has(.workbench):has(.mobile-tools-nav) { padding-bottom: calc(var(--mobile-tools-height) + 76px); }
  body:has(.workbench) .generation-controls { bottom: var(--mobile-tools-height); padding-top: 8px; padding-bottom: 8px; }
  body:has(.workbench) .generation-controls button { min-height: 44px; font-size: 14px; padding-block: 8px; }
  html:has(.workbench):has(.mobile-tools-nav) { scroll-padding-bottom: calc(143px + env(safe-area-inset-bottom)); }
  .commerce .brand-service-rail>nav { display: none; }
  .brand-product-visual { display: none; }
  .commerce .brand-workspace { gap: 30px; padding-bottom: 30px; }
  .commerce .brand-rental .rental-transfer { padding: 21px; border-radius: 23px; }
  .commerce .rental-mode-tabs { margin-block: 14px 20px; }
  .commerce .rental-mode-tabs button { font-size: 14px; padding-inline: 4px; }
  .commerce .rental-free-steps ol { grid-template-columns: minmax(0, 1fr); align-content: space-between; gap: 10px; padding: 14px; }
  .commerce .rental-free-steps li { flex-direction: row; align-items: center; gap: 10px; font-size: 14px; }
  .commerce .rental-free-steps li::after { display: none; }
  .commerce .rental-free-steps b { width: 26px; height: 26px; border: 0; background: #e6eeff; color: #174fe2; }
  .commerce .brand-section-copy h2 { font-size: 31px; }
  .commerce .brand-telegram { padding: 26px 22px; border-radius: 22px; gap: 22px; }
  .commerce .brand-telegram .brand-section-copy h2 { font-size: 24px; line-height: 1.35; text-wrap: pretty; }
  .brand-telegram-title-end { display: block; }
  .commerce .brand-faq { padding: 24px 22px 8px; border: 0; gap: 20px; }
  .commerce .brand-faq .brand-section-copy h2 { font-size: 28px; }
  .commerce .brand-faq .brand-section-copy>p { margin-top: 12px; }
  .commerce .brand-faq summary { min-height: 64px; gap: 12px; font-size: 14px; padding-block: 16px; }
  .commerce .brand-faq summary svg { width: 20px; height: 20px; }
  .commerce .brand-faq details:last-child { border-bottom: 0; }
  .commerce .brand-earning-app { width: min(80%, 280px); }
  .commerce .brand-earning-apps { height: auto; aspect-ratio: 280 / 250; }
  .commerce .earning-hero { gap: 32px; align-items: stretch; }
  .commerce .earning-intro-column { margin: -32px -20px 0; padding: 26px 24px 20px; border-radius: 0; }
  .commerce .earning-app-stage { margin: 24px -24px -20px; padding: 20px 24px 22px; }
  .commerce .earning-hero .commerce-rate>strong { font-size: clamp(90px, 28vw, 112px); }
  .commerce .earning-app-proof { width: min(100%, 320px); margin-top: 22px; margin-bottom: 0; }
  .commerce .earning-hero>.calculator { padding: 23px 19px; }
  .page-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 8px; }
  .page-hero-telegram { position: relative; display: block; margin-bottom: 24px; }
  .page-hero-telegram .telegram-page-title { padding-right: 84px; }
  .page-hero-telegram .telegram-hero-art { position: absolute; top: 2px; right: -4px; width: 84px; height: 94px; scale: 1; }
  .page-hero-telegram .telegram-hero-plane { width: 65px; height: 65px; left: 0; top: 4px; filter: drop-shadow(0 8px 12px #236abc1f); }
  .page-hero-telegram .telegram-hero-star { width: 42px; height: 42px; top: 49px; right: 0; filter: drop-shadow(0 5px 8px #b57a141f); }
  .commerce .telegram-quick-links { margin-top: 6px; margin-bottom: 24px; }
  .commerce .telegram-pricing-card { padding: 25px 22px; border-radius: 23px; }
  .commerce .commerce-guides>.commerce-intro { padding-bottom: 25px; }
  .commerce .commerce-guides #guides .guide-grid { grid-template-columns: 1fr; gap: 16px; }
  .commerce .commerce-guides #guides .guide-card { padding: 20px; }
  .commerce .commerce-guides #guides .guide-card:has(.guide-artwork) { padding: 0; }
  .commerce .commerce-guides .guide-card:has(.guide-artwork) summary { padding: 24px 22px 0; }
  .guide-summary-copy { min-height: 0; }
  .guide-summary-title { font-size: 23px; max-width: 250px; }
  .guide-artwork { height: 170px; margin-top: 14px; }
  .guide-artwork>.opo-device { top: 5px; width: 122px; }
  .guide-artwork-install>.opo-device { width: 130px; left: calc(50% - 65px); }
  .guide-artwork-earning-guide>.opo-device { left: calc(50% - 102px); }
  .guide-artwork-earning-guide>.guide-artwork-secondary { left: calc(50% - 6px); width: 118px; top: 25px; }
  .guide-artwork-detail { left: 12%; top: 65px; width: 105px; }
  .commerce .secondary-about { padding: 25px; gap: 28px; }
  .commerce .query-workspace-hero { margin: -32px -20px 0; padding: 26px 24px; border-radius: 0; }
  .commerce .query-workspace-hero h1 { font-size: 36px; }
  .commerce .query-workspace-hero p { font-size: 14px; margin-top: 10px; }
  .query-hero-art { width: 120px; height: 120px; right: 12px; top: 6px; }
  .commerce .commerce-query .query-networks { margin: 22px 0 0; }
  .commerce .commerce-query .query-panel { padding: 18px 0 28px; border-radius: 0; }
  .commerce .commerce-query .query-balances article { padding: 22px; }
  .commerce .query-heading h1 { font-size: 35px; }
  .commerce .official-shop-products>article { padding: 26px; }
  .commerce #site-footer { padding-top: 34px; }
  body:has(.workbench) main { padding-top: 30px; }
  body:has(.workbench) .intro { margin: -30px -20px 0; padding: 26px 20px; border-radius: 0; }
  body:has(.workbench) .intro h1 { font-size: 34px; }
  body:has(.workbench) .intro>p { font-size: 14px; margin-top: 10px; }
  .vanity-hero-art { width: 120px; height: 120px; right: 12px; top: 6px; }
  body:has(.workbench) .panel { padding: 22px 20px; border-radius: 20px; }
  body:has(.workbench) .panel.rules { padding: 0; border: 0; border-radius: 0; }
  body:has(.workbench) .live-progress { gap: 18px; margin-top: 16px; border-top: 1px solid #e5eaf1; }
  body:has(.workbench) .live-progress>div { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 12px 0; background: transparent; border-radius: 0; }
  body:has(.workbench) .live-progress span { font-size: 12px; }
  body:has(.workbench) .live-progress strong { margin-top: 0; font-size: 19px; }
  body:has(.workbench) .empty { display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: center; column-gap: 14px; padding-block: 24px; text-align: left; }
  body:has(.workbench) .empty svg { grid-row: span 2; width: 52px; height: 52px; padding: 8px; border-radius: 15px; }
  body:has(.workbench) .empty h3 { margin: 0; font-size: 15px; line-height: 1.5; }
  body:has(.workbench) .empty p { margin: 6px 0 0; font-size: 13px; }
  body:has(.workbench) #output-panel>.hint { margin-top: 8px; }
}
@media (max-width: 360px) {
  .commerce .commerce-main { padding-inline: 16px; }
  .commerce .brand-intro { margin-inline: -16px; padding-inline: 20px; }
  .commerce .earning-intro-column { margin-inline: -16px; padding-inline: 20px; }
  .commerce .earning-app-stage { margin-inline: -20px; padding-inline: 20px; }
  .commerce .query-workspace-hero { margin-inline: -16px; padding-inline: 20px; }
  .commerce .brand-intro h1 { font-size: 34px; }
  .commerce .brand-intro>.brand-actions { gap: 16px; }
  .commerce .brand-intro>.brand-actions>.app-download-menu { flex-basis: 168px; }
  .commerce .brand-rental .rental-transfer { padding: 18px 16px; }
  .commerce .rental-mode-tabs button { font-size: 13px; }
  .commerce .commerce-intro h1 { font-size: 34px; }
  .guide-summary-title { font-size: 22px; }
  .guide-artwork-detail { left: 3%; }
}
@media (prefers-reduced-motion: reduce) {
  .commerce .brand-product-device,
  .commerce .telegram-hero-plane,
  .commerce .telegram-hero-star { animation: none; }
}

.commerce .safety-mark {
  display: grid; width: 62px; height: 62px; margin-bottom: 22px; place-items: center;
  border: 1px solid #edf1f7; border-radius: 18px; background: #fff;
  color: #3969c5; box-shadow: 0 8px 18px -13px #274f9680;
}
.safety-mark svg { width: 29px; height: 29px; }
.service-device-art { display: block; position: relative; height: 210px; overflow: hidden; margin: 0 0 24px; }
.service-device-art .opo-device { position: absolute; width: 133px; top: 8px; left: calc(50% - 65px); transform: rotate(-8deg); filter: drop-shadow(0 12px 16px #203b6326); }
.commerce .official-shop-products>article:has(.service-device-art,.service-telegram-art) { padding-top: 20px; }
.commerce .official-shop-products>article:has(.service-device-art) .commerce-button { margin-top: auto; }
.commerce .official-shop-products>article { display: flex; flex-direction: column; align-items: flex-start; }
.service-device-art { align-self: stretch; }
.service-telegram-art { align-self: center; width: min(100%, 280px); height: 210px; margin-bottom: 24px; scale: 1; }

/* Reading pages keep the same quiet surfaces and readable type. */
.earning-guide-page { background: #fff; }
.earning-guide-page .guide-intro { padding-top: 0; border-bottom: 0; }
.earning-guide-page .guide-intro h1 { font-weight: 680; letter-spacing: -.035em; line-height: 1.2; }
.earning-guide-page .guide-eyebrow { letter-spacing: .035em; color: #667182; }
.earning-guide-page .guide-source { display: inline-block; margin-top: 14px; font-size: 13px; }
.earning-guide-page .guide-contents a { background: #f7f9fc; border-color: #e2e7ee; }
.announcement-page { background: #fff; }
.announcement-page .announcement-detail-card { border-color: #e2e7ee; border-radius: 22px; box-shadow: none; }
.announcement-page .announcement-meta>i { font-style: normal; border: 0; border-radius: 6px; padding: 4px 8px; background: #f2f4f7; color: #667182; }
#site-footer .footer-socials a { overflow-wrap: normal; word-break: normal; }
.legal-page { background: #fff; padding-top: 64px; color: #142136; }
.legal-page .legal-shell { max-width: 800px; }
.legal-page .legal-shell h1 { font-size: clamp(38px, 4.8vw, 58px); font-weight: 680; letter-spacing: -.035em; line-height: 1.2; }
.legal-page .legal-shell :is(p,li,dd) { color: #667182; font-size: 15px; line-height: 1.85; }
.legal-page .legal-tabs { border: 0; border-radius: 18px; background: #edf1f7; box-shadow: none; }
.legal-page .legal-tabs a { min-height: 44px; display: grid; place-items: center; }
.legal-page .legal-tabs a[aria-current=page] { color: #174fe2; background: #fff; box-shadow: 0 2px 7px #193f7812; }
.legal-page .legal-status-note { background: #f7f9fc; border-color: #e2e7ee; }
@media (max-width: 760px) {
  .legal-page { padding: 28px 20px 48px; }
  .legal-page .legal-tabs a { padding-inline: 4px; }
  .legal-page .legal-shell h1 { font-size: 38px; }
}

} /* mobile visual system */

/* One typography and sizing source for the public header and the isolated tool.
   The tool consumes this CSS at build time, never the site's React or analytics. */
.commerce-header {
  font-family: "OPO Geist", "PingFang SC", "Microsoft YaHei", sans-serif !important;
  font-synthesis: weight style small-caps;
  /* Match the site's antialiased root even in the isolated document. Identical
     font weights otherwise still look heavier under macOS's default smoothing. */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  line-height: 1.5;
  --header-download-size: 16px;
  --header-download-padding: 11px 20px;
}
.commerce-header .commerce-header-actions :is(.commerce-button.compact, .header-download) {
  font-family: inherit !important;
  font-size: var(--header-download-size) !important;
  font-weight: 650 !important;
  font-synthesis: inherit;
  line-height: 1.5;
  letter-spacing: normal;
  min-height: 44px;
  padding: var(--header-download-padding) !important;
}
.commerce-header .commerce-header-actions :is(.commerce-button.compact, .header-download) > span {
  font: inherit;
  letter-spacing: inherit;
}
/* Keep static fallback links crawlable, but do not navigate with an incomplete URL before hydration. */
.locale-link[aria-disabled=true] { pointer-events:none; cursor:progress; }
.commerce-header .locale-picker .locale-loading { margin:0; padding:8px 12px; color:#64748b; font-size:12px; line-height:1.5; }
.commerce-header .locale-picker .locale-link[aria-disabled=true] { opacity:.55; }
/* The same lightweight language control is used by the site and isolated tool. */
.commerce-header .locale-picker > summary {
  min-width:44px; min-height:44px; justify-content:center; gap:7px; padding:0 11px;
  border:1px solid #e5eaf2; border-radius:12px; background:#f6f8fb; color:#243c5a;
  font-size:14px; font-weight:550; line-height:1.4;
  transition:background-color 160ms ease,border-color 160ms ease,color 160ms ease;
}
.commerce-header .locale-picker > summary:hover,
.commerce-header .locale-picker[open] > summary { background:#edf4ff; border-color:#cbdcf7; color:#215bed; }
.commerce-header .locale-picker > summary:focus-visible { outline:2px solid #215bed; outline-offset:3px; }
.commerce-header .locale-picker :is(.locale-globe,.locale-caret) {
  flex:none; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round;
}
.commerce-header .locale-globe { width:18px; height:18px; color:#64748b; }
.commerce-header .locale-caret { width:12px; height:12px; transition:transform 160ms ease; }
.commerce-header .locale-picker[open] .locale-caret { transform:rotate(180deg); }
.commerce-header .locale-label-short { display:none; }
.commerce-header .locale-picker nav {
  top:calc(100% + 8px); min-width:216px; max-width:calc(100vw - 32px);
  padding:6px; border:1px solid #dfe7f1; border-radius:14px; box-shadow:0 10px 30px #102c5112;
}
.commerce-header .locale-picker nav a { gap:20px; padding:10px 12px; border-radius:9px; font-size:14px; font-weight:500; }
.commerce-header .locale-picker nav a[aria-current=page] { color:#215bed; background:#edf4ff; }
.commerce-header .locale-picker nav a:hover { background:#f3f6fb; }
.commerce-header .locale-picker nav a::after {
  content:''; display:block; position:static; inset:auto; flex:none; margin-left:auto; width:11px; height:6px;
  background:transparent; border-radius:0; border-top:0; border-right:0;
  border-left:1.8px solid currentColor; border-bottom:1.8px solid currentColor;
  transform:rotate(-45deg); opacity:0;
}
.commerce-header .locale-picker nav a[aria-current=page]::after { opacity:1; }
@media (max-width:760px) {
  .commerce-header .locale-label-full { display:none; }
  .commerce-header .locale-label-short { display:inline; }
  .commerce-header .locale-picker > summary { font-size:13px; padding-inline:8px; gap:5px; }
  .commerce-header .locale-globe { width:16px; height:16px; }
  .commerce-header .locale-picker nav {
    position:fixed; inset:76px 16px auto auto; width:216px;
    max-height:calc(100dvh - 92px); overflow-y:auto; overscroll-behavior:contain;
  }
  .commerce-header .locale-caret { width:10px; height:10px; }
  .commerce-header .commerce-header-inner .commerce-logo { width:108px; }
}
@media (max-width:420px) {
  .commerce-header .commerce-header-inner { gap:6px; }
  .commerce-header .locale-picker > summary { padding-inline:4px; gap:4px; }
}
@media (max-width:389px) {
  .commerce-header:not(.commerce-header-home) .locale-globe { display:none; }
}
@media (max-width:360px) {
  .commerce-header .commerce-header-inner .commerce-logo { width:96px; }
  .commerce-header .commerce-header-inner { gap:6px; }
  .commerce-header .commerce-header-actions { gap:6px; }
  .commerce-header .locale-picker > summary { font-size:12px; }
}
@media (max-width:350px) { .commerce-header .commerce-header-inner .commerce-logo { width:88px; } }
@media (max-width:330px) { .commerce-header .commerce-header-inner .commerce-logo { width:80px; } }
@media (prefers-reduced-motion:reduce) {
  .commerce-header .locale-picker > summary,.commerce-header .locale-caret { transition:none; }
}
/* Balance the side tracks while reserving space for longer language labels. */
@media (min-width: 1101px) {
  .commerce-header .commerce-header-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
  }
  .commerce-header .commerce-primary-nav { justify-content: center; margin-inline: auto; }
  .commerce-header .commerce-header-actions { grid-column: 3; justify-self: end; margin-left: 0; }
}
@media (min-width: 1280px) {
  .commerce-header .commerce-header-inner {
    grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr);
  }
}
@media (max-width: 760px) {
  .commerce-header { --header-download-size: 13px; --header-download-padding: 10px 12px; }
}
@media (max-width:420px) {
  .commerce-header { --header-download-size: 12px; --header-download-padding: 10px 10px; }
}
@media (max-width: 360px) {
  .commerce-header { --header-download-size: 12px; --header-download-padding: 10px 10px; }
}

@media (min-width:1101px) and (max-width:1279px) {
  .commerce-header .locale-label-full { display:none; }
  .commerce-header .locale-label-short { display:inline; }
}
