/* 2K Easy Play — storefront styles */
:root {
  --bg: #0A0B0E;
  --bg-2: #0F1116;
  --panel: #14161B;
  --panel-2: #1B1E26;
  --line: #23262F;
  --line-2: #2E323D;
  --text: #F4F5F7;
  --text-dim: #8A8F9C;
  --text-mute: #5B6070;
  --lime: #D7FF3A;
  --lime-dim: #A8C82A;
  --blue: #2B7BFF;
  --blue-dim: #1E5FD4;
  --red: #FF3B3B;
  --success: #4ADE80;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { background: var(--bg); color: var(--text); font-family: 'Space Grotesk', system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif; -webkit-font-smoothing: antialiased; }

body {
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(43,123,255,0.18), transparent 60%),
    radial-gradient(900px 500px at 5% 40%, rgba(215,255,58,0.06), transparent 60%),
    var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }

/* Scanline overlay */
.scanlines::before {
  content: '';
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,0.012) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
}

/* Shard / clip-path */
.shard-l {
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}
.shard-r {
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}
.shard-xl {
  clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px);
}

/* Header */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(10,11,14,0.78); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { max-width: 1400px; margin: 0 auto; padding: 14px 32px; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.brand img.brand-mark { height: 32px; width: 32px; object-fit: cover; border: 1px solid var(--line-2); }
.brand .name { font-weight: 700; letter-spacing: 0.04em; font-size: 14px; }
.brand .name .mk { color: var(--lime); }
.nav-links { display: flex; gap: 28px; margin-left: 24px; }
.nav-links a { color: var(--text-dim); text-decoration: none; font-size: 13px; letter-spacing: 0.04em; font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--lime); }
.top-right { margin-left: auto; display: flex; gap: 10px; align-items: center; }

/* Pill selector */
.pill {
  background: var(--panel); border: 1px solid var(--line); color: var(--text);
  padding: 7px 12px; font-size: 12px; border-radius: 0; cursor: pointer;
  font-family: 'JetBrains Mono', monospace; letter-spacing: 0.03em;
  display: flex; align-items: center; gap: 6px;
  transition: border-color .15s, color .15s;
}
.pill:hover { border-color: var(--lime); color: var(--lime); }
.pill .dot { width: 6px; height: 6px; background: var(--lime); box-shadow: 0 0 6px var(--lime); }
.pill select { background: transparent; border: none; color: inherit; font: inherit; outline: none; cursor: pointer; }
.pill select option { background: var(--panel); color: var(--text); }

/* Button */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; font-weight: 600; font-size: 14px; letter-spacing: 0.06em;
  cursor: pointer; border: none; text-transform: uppercase;
  transition: transform .1s, box-shadow .15s;
  position: relative;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--lime); color: #0A0B0E;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  box-shadow: 0 0 0 rgba(215,255,58,0);
}
.btn-primary:hover { box-shadow: 0 0 24px rgba(215,255,58,0.35); }
.btn-ghost {
  background: transparent; color: var(--text); border: 1px solid var(--line-2);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn-sm { padding: 10px 14px; font-size: 12px; }
.btn .arrow { display: inline-block; transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }

/* Container */
.container { max-width: 1400px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 2; }

/* Hero */
.hero { padding: 72px 0 56px; position: relative; }
.hero-row {
  display: flex; align-items: center; justify-content: center; gap: 40px;
  margin-bottom: 28px; flex-wrap: wrap;
}
.hero-logo {
  width: 100%; max-width: 380px; height: auto; display: block;
  filter: drop-shadow(0 0 40px rgba(215,255,58,0.25));
  animation: glitch 7s infinite steps(1);
}
.hero-tagline { text-align: left; flex-shrink: 0; }
.hero-tagline .display { font-size: clamp(36px, 4.4vw, 68px); font-weight: 700; line-height: 0.95; letter-spacing: -0.03em; }
.hero-tagline .display .lime { color: var(--lime); text-shadow: 3px 3px 0 var(--blue); }
.hero-tagline .display .line { display: block; }
.hero-meta { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.hero-meta .hero-sub { color: var(--text-dim); font-size: 16px; line-height: 1.6; margin: 0 auto 24px; }
.hero-meta .hero-ctas { display: flex; gap: 14px; justify-content: center; }
@media (max-width: 860px) {
  .hero-row { gap: 20px; }
  .hero-logo { max-width: 280px; }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--lime); letter-spacing: 0.15em;
  padding: 6px 12px; border: 1px solid rgba(215,255,58,0.35);
  background: rgba(215,255,58,0.05);
}
.eyebrow .pulse { width: 6px; height: 6px; background: var(--lime); border-radius: 50%; animation: pulse 1.4s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.display {
  font-size: clamp(56px, 8vw, 120px); font-weight: 700; line-height: 0.92;
  letter-spacing: -0.035em; margin: 22px 0 20px;
}
.display .lime { color: var(--lime); text-shadow: 3px 3px 0 var(--blue); }
.display .line { display: block; }
.display .slash { color: var(--blue); }

.hero-sub { color: var(--text-dim); font-size: 18px; line-height: 1.55; max-width: 520px; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 14px; margin-bottom: 48px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); max-width: 560px; }
.hero-stats > div { background: var(--bg); padding: 18px 20px; }
.hero-stats .v { font-family: 'JetBrains Mono', monospace; font-size: 22px; color: var(--lime); font-weight: 600; }
.hero-stats .k { font-size: 11px; color: var(--text-mute); letter-spacing: 0.12em; text-transform: uppercase; margin-top: 4px; }

/* Products section */
.section { padding: 96px 0; position: relative; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 48px; gap: 24px; flex-wrap: wrap; }
.section-title { font-family:'Space Grotesk','PingFang SC','Hiragino Sans GB','Microsoft YaHei',sans-serif; font-size: clamp(36px, 5vw, 64px); font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
.section-title .ac { color: var(--lime); }
.section-sub { color: var(--text-dim); font-size: 16px; max-width: 460px; margin-top: 12px; }
.tag-number { font-family: 'JetBrains Mono', monospace; color: var(--text-mute); font-size: 12px; letter-spacing: 0.1em; margin-bottom: 14px; }

.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.product-card {
  background: var(--panel); border: 1px solid var(--line); padding: 32px;
  display: flex; flex-direction: column; gap: 24px; position: relative;
  transition: border-color .2s, transform .2s;
}
.product-card:hover { border-color: rgba(215,255,58,0.5); transform: translateY(-2px); }
.product-card.popular::before {
  content: attr(data-badge); position: absolute; top: -1px; right: -1px;
  background: var(--lime); color: #0A0B0E; font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; padding: 6px 12px;
  clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%);
}
.product-head { display: flex; gap: 20px; align-items: flex-start; }
.product-icon {
  width: 72px; height: 72px; flex-shrink: 0; background: var(--bg);
  border: 1px solid var(--line-2); display: grid; place-items: center;
  position: relative; overflow: hidden;
}
.product-icon.bot { background: linear-gradient(135deg, #0A0B0E 0%, #1B1E26 100%); }
.product-icon.bot::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, transparent 0 6px, rgba(215,255,58,0.05) 6px 7px);
}
.product-icon .glyph { font-family: 'Space Grotesk', sans-serif; font-size: 38px; font-weight: 700; color: var(--lime); line-height: 1; position: relative; }
.product-icon.green .glyph { color: var(--bg); text-shadow: 2px 2px 0 var(--lime); background: var(--lime); padding: 2px 10px; }
.product-icon.bot .glyph { text-shadow: 2px 2px 0 var(--blue); }

.product-tag { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--lime); letter-spacing: 0.15em; }
.product-name { font-family:'Space Grotesk',sans-serif; font-size: 28px; font-weight: 700; letter-spacing: -0.02em; margin-top: 4px; }
.product-desc { color: var(--text-dim); font-size: 15px; line-height: 1.55; }

.product-features { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.product-features li { list-style: none; font-size: 13px; color: var(--text); display: flex; align-items: center; gap: 8px; }
.product-features li::before { content: ''; width: 8px; height: 8px; background: var(--lime); flex-shrink: 0; clip-path: polygon(0 0, 100% 50%, 0 100%); }

.plan-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.plan-btn {
  background: var(--bg); border: 1px solid var(--line-2); padding: 12px 10px;
  cursor: pointer; text-align: left; color: var(--text); transition: all .15s;
  display: flex; flex-direction: column; gap: 4px;
}
.plan-btn:hover { border-color: var(--lime); }
.plan-btn.active { background: var(--lime); color: #0A0B0E; border-color: var(--lime); }
.plan-btn .plan-name { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; }
.plan-btn .plan-price { font-family: 'JetBrains Mono', monospace; font-size: 16px; font-weight: 700; }
.plan-btn .plan-sub { font-size: 10px; opacity: 0.65; letter-spacing: 0.05em; }

.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.price-display { font-family: 'JetBrains Mono', monospace; }
.price-display .big { font-size: 32px; font-weight: 700; color: var(--lime); }
.price-display .unit { font-size: 12px; color: var(--text-mute); letter-spacing: 0.08em; }

/* FAQ */
.faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 32px; }
.faq-item { border-top: 1px solid var(--line); padding: 24px 0; }
.faq-q { font-size: 18px; font-weight: 600; color: var(--text); display: flex; gap: 12px; }
.faq-q::before { content: '//'; color: var(--lime); font-family: 'JetBrains Mono', monospace; }
.faq-a { color: var(--text-dim); font-size: 14px; line-height: 1.6; margin-top: 10px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 48px 0 32px; margin-top: 48px; }
.footer-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img.footer-mark { height: 40px; width: 40px; object-fit: cover; border: 1px solid var(--line-2); }
.footer-tag { color: var(--text-dim); font-size: 14px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-dim); font-size: 13px; text-decoration: none; }
.footer-links a:hover { color: var(--lime); }
.footer-copy { color: var(--text-mute); font-size: 12px; margin-top: 32px; font-family: 'JetBrains Mono', monospace; }


/* Static implementation: design geometry, empty video slot, keyboard and mobile support. */
:root { color-scheme: dark; --bg:#09090d; --panel:#15151a; --text-dim:#929298; --text-mute:#73737c; --lime:#d7ff3a; }
html { scroll-behavior:smooth; scroll-padding-top:90px; }
body { background:radial-gradient(900px 650px at 0 38%,rgba(215,255,58,.025),transparent 70%),var(--bg); }
button,select { font:inherit; }
a { color:inherit; text-decoration:none; }
button:focus-visible,a:focus-visible,select:focus-visible { outline:2px solid var(--lime); outline-offset:4px; }
button:disabled { cursor:default; opacity:.65; }
.topbar-inner,.container { max-width:1400px; }
.topbar-inner { min-height:60px; padding-block:8px; }
.nav-links a,.pill,.btn-sm,.footer-links a,.footer-links button { font-size:14px; }
.brand { flex-shrink:0; }
.hero { padding-top:72px; }
.hero-row { flex-wrap:nowrap; }
.hero-logo { animation:none; }
.hero-tagline .display { line-height:1.06; }
.hero-meta { max-width:760px; }
.hero-meta .hero-sub { max-width:760px; }
.hero-ctas { margin-bottom:0; }
.video-space { width:100%; max-width:1080px; margin:auto; aspect-ratio:16/9; }
.product-copy { flex:1; min-width:0; }
.product-desc { margin-top:10px; font-size:16px; }
.product-features li { font-size:14px; }
.product-features { margin-top:auto; }
.product-tag { font-size:12px; }
.plan-row { grid-template-columns:repeat(var(--plan-count),minmax(0,1fr)); }
.plan-btn { min-height:86px; }
.plan-btn .plan-name { font-size:14px; }
.plan-btn .plan-sub { font-size:12px; }
.product-icon.bot .glyph { font-family:'Space Grotesk',sans-serif; }
.footer-links { align-items:center; flex-wrap:wrap; }
.footer-links button { border:0; background:none; color:var(--text-dim); cursor:pointer; padding:0; }
.footer-links button:hover { color:var(--lime); }
.faq-q { font-size:18px; }
.skip-link { position:fixed; top:-100px; left:16px; background:var(--lime); color:var(--bg); padding:12px; z-index:100; }
.skip-link:focus { top:12px; }
dialog { margin:auto; width:min(520px,calc(100% - 32px)); max-height:85vh; padding:36px; border:1px solid var(--line-2); background:var(--panel); color:var(--text); }
dialog::backdrop { background:rgba(6,7,10,.85); backdrop-filter:blur(8px); }
dialog h2 { padding-right:24px; margin-bottom:24px; font-size:28px; }
dialog p { margin:24px 0; color:var(--text-dim); line-height:1.7; }
.dialog-close { position:absolute; right:12px; top:12px; width:32px; height:32px; font-size:24px; color:var(--text); border:1px solid var(--line); background:transparent; cursor:pointer; }
.summary-row { display:flex; justify-content:space-between; gap:16px; padding:16px 0; border-bottom:1px solid var(--line); }
.summary-row span { color:var(--text-dim); }
.ac { color:var(--lime); }
@media(min-width:1800px) { .topbar-inner,.container { max-width:1400px; } }
@media(max-width:1100px) { .topbar-inner { gap:16px; } .nav-links { gap:18px; margin-left:0; } .product-card { padding:26px; } .product-name { font-size:24px; } .product-head { gap:16px; } .product-icon { width:60px; height:60px; } .product-foot { align-items:flex-start; flex-wrap:wrap; } }
@media(max-width:960px) { .nav-links { display:none; } .product-grid { grid-template-columns:1fr; } .product-card { padding:32px; } .product-foot { align-items:center; } }
@media(max-width:640px) {
 .container { padding-inline:20px; } .topbar-inner { padding:12px 16px; flex-wrap:wrap; gap:12px; } .brand .name { font-size:13px; } .brand img.brand-mark { width:28px; height:28px; } .top-right { width:100%; margin:0; gap:8px; } .pill { padding:8px; } .pill:first-child { flex:1; } .pill select { max-width:100%; } .btn-sm { margin-left:auto; }
 html { scroll-padding-top:135px; } .hero { padding:48px 0 24px; } .hero-row { flex-direction:column; gap:18px; margin-bottom:28px; } .hero-logo { max-width:280px; } .hero-tagline { text-align:center; } .hero-tagline .display { font-size:44px; margin:0; } .hero-meta .hero-sub { font-size:16px; } .hero-meta { margin-bottom:36px; } .hero-ctas { gap:10px; flex-wrap:wrap; } .btn { padding:13px 16px; } .section { padding:60px 0; } .section-head { margin-bottom:32px; } .section-title { font-size:40px; line-height:1.15; } .product-card { padding:28px 20px; gap:22px; } .product-head { gap:14px; } .product-icon { width:52px; height:52px; } .product-icon .glyph { font-size:30px; } .product-name { font-size:23px; } .product-tag { font-size:12px; letter-spacing:.07em; } .product-features { gap:12px; } .product-features li { line-height:1.6; } .plan-btn { padding:12px 8px; } .plan-btn .plan-sub { letter-spacing:0; } .price-display .big { font-size:29px; } .faq-list { grid-template-columns:1fr; gap:0; } .footer { margin-top:16px; padding:36px 0; } .footer-top { gap:28px; } .footer-links { gap:20px; } .footer-copy { line-height:1.8; } .summary-row { flex-wrap:wrap; }
}
/* Download-first static redesign */
.nav-disabled { color: var(--text-mute); font-size: 14px; letter-spacing: 0.04em; font-weight: 500; cursor: default; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; box-shadow: none; }
.btn:disabled:hover { transform: none; }
.hero-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -18px auto 28px; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.08em; color: var(--text-dim); }
.hero-facts span { border: 1px solid var(--line); background: rgba(21,21,26,0.72); padding: 7px 10px; }
.shot-frame { width: 100%; max-width: 1080px; margin: 0 auto; position: relative; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line-2); }
.shot-frame img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.shot-frame::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(180deg, transparent 0 2px, rgba(255,255,255,0.025) 2px 3px); z-index: 1; }
.shot-corner { position: absolute; z-index: 2; font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--text-mute); letter-spacing: 0.1em; background: rgba(9,9,13,0.72); padding: 4px 6px; }
.shot-corner.tl { top: 12px; left: 12px; }
.shot-corner.tr { top: 12px; right: 12px; color: var(--lime); }
.shot-corner.bl { bottom: 12px; left: 12px; }
.shot-corner.br { bottom: 12px; right: 12px; }
.download-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.download-card { background: var(--panel); border: 1px solid var(--line); padding: 22px; min-height: 218px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.download-card.official { border-color: rgba(215,255,58,0.45); background: linear-gradient(180deg, rgba(215,255,58,0.055), var(--panel)); }
.download-card.mirror { color: var(--text-dim); }
.download-kind { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--lime); letter-spacing: 0.14em; }
.download-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 24px; letter-spacing: -0.02em; }
.download-card p { color: var(--text-dim); font-size: 13px; line-height: 1.6; }
.download-card .btn { margin-top: auto; }
.download-note { margin-top: 16px; color: var(--text-mute); font-size: 13px; font-family: 'JetBrains Mono', monospace; }
.product-grid.single { grid-template-columns: minmax(0, 920px); justify-content: center; }
.product-grid.single .product-card { padding: 36px; }
.taobao-note { color: var(--text-dim); font-size: 13px; line-height: 1.6; border-left: 2px solid var(--lime); padding-left: 12px; }
.flow-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.flow-card { background: var(--panel); border: 1px solid var(--line); padding: 22px; min-height: 180px; }
.flow-index { display: inline-block; font-family: 'JetBrains Mono', monospace; color: var(--bg); background: var(--lime); font-size: 11px; font-weight: 700; padding: 4px 8px; margin-bottom: 18px; }
.flow-card h3 { font-family: 'Space Grotesk','PingFang SC','Microsoft YaHei',sans-serif; font-size: 22px; margin-bottom: 10px; }
.flow-card p { color: var(--text-dim); font-size: 14px; line-height: 1.65; }
.support-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.support-card { background: var(--panel); border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.support-card.priority { border-color: rgba(215,255,58,0.55); box-shadow: inset 0 0 0 1px rgba(215,255,58,0.08); }
.support-label { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--lime); letter-spacing: 0.16em; }
.support-card h3 { font-size: 26px; font-family: 'Space Grotesk','PingFang SC','Microsoft YaHei',sans-serif; }
.support-value { font-family: 'JetBrains Mono', monospace; color: var(--lime); word-break: break-all; }
.support-card p { color: var(--text-dim); font-size: 14px; line-height: 1.65; }
.support-card .btn { margin-top: auto; }
@media(max-width:1100px) { .download-grid, .flow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media(max-width:760px) { .download-grid, .flow-grid, .support-grid { grid-template-columns: 1fr; } .hero-facts { margin-top: -8px; } .shot-corner { display: none; } .product-grid.single .product-card { padding: 28px 20px; } }
/* Premium pass: closer to the original hero/product visual rhythm */
.hero { padding: 104px 0 96px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px); background-size: 52px 52px; mask-image: radial-gradient(760px 520px at 50% 28%, #000 0%, transparent 74%); }
.hero-row { margin-bottom: 22px; }
.hero-logo { max-width: 440px; filter: drop-shadow(0 0 52px rgba(215,255,58,0.32)); }
.hero-tagline .display { font-size: clamp(48px, 5.6vw, 88px); letter-spacing: -0.045em; line-height: 0.98; }
.hero-meta { margin-bottom: 28px; }
.hero-meta .hero-sub { font-size: 17px; max-width: 760px; }
.hero-ctas .btn { padding: 16px 24px; }
.hero-facts { width: 100%; max-width: 1120px; margin: 0 auto 12px; padding: 10px 12px; justify-content: space-between; gap: 18px; border: 1px solid var(--line); background: rgba(10,11,14,0.72); backdrop-filter: blur(8px); }
.hero-facts span { border: 0; background: transparent; padding: 0; white-space: nowrap; }
.shot-shell { width: 100%; max-width: 1120px; margin: 0 auto; padding: 14px; background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.008)), var(--bg-2); border: 1px solid var(--line-2); box-shadow: 0 34px 90px rgba(0,0,0,0.48), 0 0 70px rgba(215,255,58,0.08); }
.shot-frame { max-width: none; border-color: var(--line-2); }
.shot-frame img { filter: saturate(1.06) contrast(1.04); }
.section { padding: 112px 0; }
.section-head { margin-bottom: 56px; }
.section-title { font-size: clamp(44px, 5.6vw, 76px); }
.tag-number { margin-bottom: 16px; }
.download-grid { grid-template-columns: 1.24fr 1.24fr 0.76fr 0.76fr; gap: 14px; }
.download-card { min-height: 262px; padding: 26px; position: relative; overflow: hidden; }
.download-card::after { content: '↧'; position: absolute; right: 20px; top: 18px; font-family: 'JetBrains Mono', monospace; font-size: 28px; color: rgba(215,255,58,0.22); }
.download-card.official { border-color: rgba(215,255,58,0.58); background: radial-gradient(420px 220px at 18% 0%, rgba(215,255,58,0.12), transparent 62%), linear-gradient(180deg, rgba(215,255,58,0.055), var(--panel)); }
.download-card.official:hover { transform: translateY(-3px); box-shadow: 0 18px 50px rgba(0,0,0,0.35), 0 0 34px rgba(215,255,58,0.12); }
.download-card.mirror { border-style: dashed; background: rgba(21,21,26,0.72); }
.download-card h3 { font-size: 30px; }
.download-card.mirror h3 { font-size: 22px; }
.product-grid.single { grid-template-columns: minmax(0, 1180px); }
.product-grid.single .product-card { padding: 0; }
.product-card.flagship { overflow: hidden; }
.product-card.flagship:hover { transform: none; box-shadow: 0 24px 70px rgba(0,0,0,0.38); }
.product-layout { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr); }
.product-main { padding: 42px; display: flex; flex-direction: column; gap: 28px; }
.product-main .product-head { gap: 24px; }
.product-main .product-icon { width: 84px; height: 84px; }
.product-main .product-name { font-size: 34px; }
.product-main .product-desc { font-size: 17px; max-width: 560px; }
.purchase-panel { padding: 34px; background: radial-gradient(360px 240px at 100% 0%, rgba(215,255,58,0.1), transparent 64%), var(--bg-2); border-left: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 18px; }
.panel-tag { font-family: 'JetBrains Mono', monospace; color: var(--lime); font-size: 11px; letter-spacing: 0.15em; }
.purchase-panel .plan-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.purchase-panel .plan-btn { min-height: 98px; padding: 14px 14px; background: rgba(9,9,13,0.72); }
.purchase-panel .plan-btn .plan-price { font-size: 20px; }
.hero-price .big { font-size: 52px; letter-spacing: -0.04em; }
.buy-btn { width: 100%; justify-content: center; padding: 17px 24px; }
.purchase-panel .taobao-note { border-left: 0; border-top: 1px solid var(--line); padding: 14px 0 0; }
.flow-card { min-height: 204px; background: linear-gradient(180deg, rgba(255,255,255,0.025), transparent), var(--panel); transition: border-color .18s, transform .18s; }
.flow-card:hover { border-color: rgba(215,255,58,0.45); transform: translateY(-2px); }
.support-card { min-height: 300px; position: relative; overflow: hidden; }
.support-card.priority { background: radial-gradient(420px 260px at 12% 0%, rgba(215,255,58,0.13), transparent 64%), var(--panel); }
.support-card.priority::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(-45deg, transparent 0 10px, rgba(215,255,58,0.035) 10px 11px); }
.topbar-inner { display: grid; grid-template-columns: auto 1fr auto; padding: 16px 40px; }
.topbar-inner .nav-links { justify-content: center; margin-left: 0; gap: 36px; }
.support-value { font-size: 20px; }
@media(max-width:1100px) { .topbar-inner { display: flex; } .topbar-inner .nav-links { justify-content: flex-start; } .download-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .product-layout { grid-template-columns: 1fr; } .purchase-panel { border-left: 0; border-top: 1px solid var(--line-2); } }
@media(max-width:760px) { .hero { padding: 64px 0 56px; } .hero-logo { max-width: 300px; } .hero-tagline .display { font-size: 46px; } .hero-facts { justify-content: flex-start; gap: 8px; } .hero-facts span { white-space: normal; } .shot-shell { padding: 8px; } .section { padding: 72px 0; } .section-title { font-size: 40px; } .download-card { min-height: 220px; } .product-main { padding: 28px 20px; } .purchase-panel { padding: 24px 20px; } .hero-price .big { font-size: 40px; } }
/* Statement pass: bigger hero, floating HUD, cinematic screenshot stage */
body::before { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 1; background: repeating-linear-gradient(180deg, rgba(255,255,255,0.014) 0 1px, transparent 1px 3px); mix-blend-mode: overlay; }
.topbar { border-bottom-color: rgba(215,255,58,0.12); }
.hero { min-height: 100vh; display: grid; align-items: center; padding: 118px 0 124px; }
.hero::after { content: ''; position: absolute; width: min(54vw, 760px); aspect-ratio: 1; right: -14vw; top: 4vh; background: url('assets/logo-trimmed.png') center / contain no-repeat; opacity: 0.07; filter: drop-shadow(0 0 80px rgba(215,255,58,0.22)); pointer-events: none; }
.hero-row { gap: 56px; }
.hero-logo { max-width: 560px; }
.hero-tagline .display { font-size: clamp(58px, 6.4vw, 112px); }
.hero-tagline .display .lime { text-shadow: 4px 4px 0 var(--blue), 0 0 42px rgba(215,255,58,0.28); }
.hero-meta .hero-sub { font-size: 18px; color: #A8AEBC; }
.btn { letter-spacing: 0.08em; }
.btn-primary { box-shadow: 0 0 0 rgba(215,255,58,0), inset 0 0 0 1px rgba(255,255,255,0.18); }
.btn-primary:hover { box-shadow: 0 0 34px rgba(215,255,58,0.42), inset 0 0 0 1px rgba(255,255,255,0.22); }
.shot-stage { position: relative; width: 100%; max-width: 1180px; margin: 38px auto 0; perspective: 1300px; }
.shot-stage::before { content: ''; position: absolute; inset: 8% -5% -10%; background: radial-gradient(560px 260px at 50% 42%, rgba(215,255,58,0.14), transparent 66%), radial-gradient(720px 360px at 50% 100%, rgba(43,123,255,0.12), transparent 70%); filter: blur(6px); pointer-events: none; }
.hero-facts { position: absolute; left: 50%; bottom: -24px; z-index: 4; transform: translateX(-50%); width: auto; max-width: calc(100% - 48px); margin: 0; border-color: rgba(215,255,58,0.3); box-shadow: 0 18px 50px rgba(0,0,0,0.45); }
.hero-facts span { padding: 0 4px; }
.shot-shell { position: relative; z-index: 2; transform: rotateX(8deg); transform-origin: 50% 0%; border-color: rgba(215,255,58,0.34); box-shadow: 0 70px 140px rgba(0,0,0,0.62), 0 0 100px rgba(215,255,58,0.13), inset 0 0 0 1px rgba(255,255,255,0.04); transition: transform .35s ease, box-shadow .35s ease; }
.shot-stage:hover .shot-shell { transform: rotateX(0deg) translateY(-6px); box-shadow: 0 86px 160px rgba(0,0,0,0.66), 0 0 120px rgba(215,255,58,0.17), inset 0 0 0 1px rgba(255,255,255,0.05); }
.shot-base { width: 82%; height: 72px; margin: -34px auto 0; background: radial-gradient(closest-side, rgba(215,255,58,0.24), transparent 72%); filter: blur(18px); }
.section-title .ac { text-shadow: 0 0 34px rgba(215,255,58,0.16); }
.download-card { isolation: isolate; }
.download-card.official { min-height: 300px; }
.download-card.official .download-kind::after { content: ' / PRIORITY'; color: var(--text-mute); }
.download-card h3 { font-size: 34px; }
.product-card.flagship::after { content: 'BOT'; position: absolute; right: 22px; bottom: -62px; z-index: 0; font-family: 'Space Grotesk', sans-serif; font-size: 224px; font-weight: 700; line-height: 0.8; letter-spacing: -0.08em; color: rgba(215,255,58,0.045); pointer-events: none; }
.product-layout { position: relative; z-index: 1; }
.purchase-panel { box-shadow: inset 0 0 0 1px rgba(215,255,58,0.06); }
.plan-btn.active { box-shadow: 0 0 30px rgba(215,255,58,0.22); }
.hero-price .big { font-size: 64px; text-shadow: 0 0 34px rgba(215,255,58,0.18); }
.buy-btn { font-size: 15px; letter-spacing: 0.1em; }
.flow-card, .support-card, .download-card, .product-card { backdrop-filter: blur(6px); }
@media(max-width:760px) { .hero { min-height: auto; padding: 72px 0 64px; } .hero::after { right: -44vw; opacity: 0.05; } .hero-row { gap: 20px; } .hero-logo { max-width: 320px; } .shot-stage { perspective: none; margin-top: 26px; } .shot-shell { transform: none; } .shot-stage:hover .shot-shell { transform: none; } .hero-facts { position: static; transform: none; width: 100%; max-width: 1120px; margin: 14px auto 0; } .shot-base { display: none; } .download-card.official { min-height: 240px; } .hero-price .big { font-size: 44px; } .product-card.flagship::after { font-size: 128px; right: 8px; bottom: -34px; } }
/* Refined pass: quieter, sharper, more editorial */
body::before { display: none; }
.topbar-inner { max-width: 1440px; padding: 18px 44px; }
.hero { min-height: auto; display: block; padding: 118px 0 132px; }
.hero::before { opacity: 0.55; }
.hero::after { right: -18vw; top: 10vh; opacity: 0.045; filter: none; }
.hero-row { gap: 52px; margin-bottom: 30px; }
.hero-logo { max-width: 520px; filter: drop-shadow(0 0 34px rgba(215,255,58,0.24)); }
.hero-tagline .display { font-size: clamp(54px, 6vw, 104px); line-height: 0.96; }
.hero-tagline .display .lime { text-shadow: 3px 3px 0 var(--blue); }
.hero-meta { margin-bottom: 0; }
.hero-meta .hero-sub { color: var(--text-dim); font-size: 17px; max-width: 720px; }
.hero-ctas { align-items: center; gap: 22px; }
.text-link { color: var(--text-dim); font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; border-bottom: 1px solid var(--line-2); padding-bottom: 7px; transition: color .15s, border-color .15s; }
.text-link:hover { color: var(--lime); border-color: var(--lime); }
.text-link.disabled { color: var(--text-mute); cursor: default; }
.shot-stage { max-width: 1180px; margin: 58px auto 0; perspective: none; }
.shot-stage::before, .shot-base { display: none; }
.shot-shell { padding: 0; transform: none; background: #0C0D11; border-color: var(--line-2); box-shadow: none; }
.shot-stage:hover .shot-shell { transform: none; box-shadow: none; border-color: rgba(215,255,58,0.34); }
.shot-topbar { display: flex; justify-content: space-between; gap: 18px; padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--text-mute); font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.08em; }
.shot-frame { border: 0; }
.shot-frame::before { opacity: 0.7; }
.section { padding: 132px 0; }
.section-head { border-bottom: 1px solid var(--line); padding-bottom: 28px; margin-bottom: 44px; }
.section-title { font-size: clamp(42px, 5vw, 72px); }
.section-sub { font-size: 17px; }
.download-grid.duo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.download-card { min-height: 300px; padding: 34px; background: #101014; border-color: var(--line); backdrop-filter: none; }
.download-card::after { display: none; }
.download-card.official { background: #101014; border-color: var(--line-2); }
.download-card.official:hover { transform: none; box-shadow: none; border-color: rgba(215,255,58,0.55); }
.download-card.official .download-kind::after { content: ''; }
.download-kind { color: var(--text-mute); }
.download-card h3 { font-size: 42px; }
.download-card p { font-size: 14px; max-width: 420px; }
.download-card .btn { min-width: 220px; justify-content: center; }
.mirror-row { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; border: 1px dashed var(--line-2); padding: 14px 16px; color: var(--text-mute); font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.06em; }
.mirror-link { color: var(--text-dim); }
.mirror-link:hover { color: var(--lime); }
.mirror-link.disabled { color: var(--text-mute); }
.download-note { font-size: 12px; }
.product-grid.single { grid-template-columns: minmax(0, 1240px); }
.product-card.flagship { border-color: var(--line-2); box-shadow: none; backdrop-filter: none; }
.product-card.flagship::after { display: none; }
.product-main { padding: 56px; }
.product-main .product-icon { width: 88px; height: 88px; }
.product-main .product-name { font-size: 38px; }
.product-main .product-desc { font-size: 17px; }
.purchase-panel { padding: 56px 44px; background: transparent; border-left-color: var(--line); box-shadow: none; }
.purchase-panel .plan-btn { background: var(--bg); border-color: var(--line-2); }
.purchase-panel .plan-btn.active { box-shadow: none; }
.hero-price .big { font-size: 72px; text-shadow: none; }
.buy-btn { padding: 18px 26px; }
.flow-card, .support-card { background: transparent; border-color: var(--line); backdrop-filter: none; }
.flow-card:hover { transform: none; border-color: rgba(215,255,58,0.4); }
.support-card { min-height: 260px; }
.support-card.priority { background: transparent; box-shadow: none; border-color: rgba(215,255,58,0.5); }
.support-card.priority::before { display: none; }
@media(max-width:1100px) { .download-grid.duo { grid-template-columns: 1fr; } }
@media(max-width:760px) { .topbar-inner { padding: 12px 16px; } .hero { padding: 68px 0 72px; } .hero-row { gap: 18px; } .hero-logo { max-width: 300px; } .hero-tagline .display { font-size: 46px; } .hero-ctas { align-items: stretch; flex-direction: column; } .text-link { align-self: flex-start; } .shot-stage { margin-top: 34px; } .shot-topbar { flex-wrap: wrap; justify-content: flex-start; } .section { padding: 76px 0; } .section-head { margin-bottom: 34px; } .download-card { min-height: 240px; padding: 26px 20px; } .download-card h3 { font-size: 32px; } .product-main { padding: 30px 20px; } .purchase-panel { padding: 26px 20px; } .hero-price .big { font-size: 46px; } }
/* Final polish: cinematic crop and cleaner empty states */
.btn-primary:disabled, .btn-ghost:disabled { background: transparent; color: var(--text-mute); border: 1px dashed var(--line-2); clip-path: none; opacity: 1; }
.btn-primary:disabled:hover, .btn-ghost:disabled:hover { box-shadow: none; color: var(--text-mute); border-color: var(--line-2); }
.shot-shell { border-color: rgba(215,255,58,0.22); }
.shot-frame img { aspect-ratio: 21 / 9; object-fit: cover; object-position: center 16%; filter: brightness(1.08) saturate(1.08) contrast(1.02); }
.download-card .btn:disabled { align-self: stretch; }
@media(max-width:760px) { .shot-frame img { aspect-ratio: 16 / 10; object-position: center top; } }
.purchase-panel .plan-btn.active { background: var(--lime); color: #0A0B0E; border-color: var(--lime); }
.purchase-panel .plan-btn.active .plan-name, .purchase-panel .plan-btn.active .plan-price { color: #0A0B0E; }
.purchase-panel .plan-btn.active .plan-sub { color: rgba(10,11,14,0.62); opacity: 1; }
.section-actions { display: flex; align-items: center; }
.btn-danger { background: var(--red); color: #0A0B0E; border: 1px solid rgba(255,255,255,0.18); clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); min-width: 188px; justify-content: center; padding: 18px 28px; font-size: 15px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; box-shadow: 0 0 30px rgba(255,59,59,0.28); }
.btn-danger:hover { border-color: rgba(255,255,255,0.32); color: #0A0B0E; box-shadow: 0 0 44px rgba(255,59,59,0.42); transform: translateY(-1px); }
.btn-danger:disabled { background: var(--red); color: rgba(10,11,14,0.72); border: 1px solid rgba(255,255,255,0.14); box-shadow: 0 0 26px rgba(255,59,59,0.22); opacity: 0.92; }
@media(max-width:760px) { .section-actions { width: 100%; } .section-actions .btn-danger { width: 100%; } }
/* Docs/tutorial page */
.docs-main { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 24px; padding: 72px 0 104px; }
.docs-sidebar { position: sticky; top: 96px; align-self: start; background: var(--panel); border: 1px solid var(--line); padding: 28px; }
.docs-sidebar h1 { font-family: 'Space Grotesk','PingFang SC','Microsoft YaHei',sans-serif; font-size: 42px; letter-spacing: -0.03em; margin: 10px 0 14px; }
.docs-sidebar p { color: var(--text-dim); font-size: 13px; line-height: 1.7; }
.docs-sidebar code { font-family: 'JetBrains Mono', monospace; color: var(--lime); font-size: 12px; }
.docs-toc { display: flex; flex-direction: column; gap: 2px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); max-height: 58vh; overflow: auto; }
.docs-toc-link { color: var(--text-dim); font-size: 13px; line-height: 1.5; padding: 7px 0 7px 12px; border-left: 1px solid var(--line); }
.docs-toc-link.level-1 { color: var(--text); font-weight: 700; }
.docs-toc-link:hover { color: var(--lime); border-left-color: var(--lime); }
.docs-content { background: var(--panel); border: 1px solid var(--line); padding: 46px; min-width: 0; }
.docs-content h1 { font-family: 'Space Grotesk','PingFang SC','Microsoft YaHei',sans-serif; font-size: 44px; letter-spacing: -0.03em; margin-bottom: 28px; }
.docs-content h2 { font-family: 'Space Grotesk','PingFang SC','Microsoft YaHei',sans-serif; font-size: 30px; letter-spacing: -0.02em; margin: 46px 0 16px; padding-top: 22px; border-top: 1px solid var(--line); }
.docs-content h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.docs-content h3 { font-size: 20px; margin: 30px 0 12px; color: var(--text); }
.docs-content p { color: var(--text-dim); font-size: 15px; line-height: 1.85; margin: 12px 0; }
.docs-content strong { color: var(--text); }
.docs-content ul { color: var(--text-dim); padding-left: 22px; line-height: 1.8; }
.doc-image { display: block; width: 100%; max-width: 920px; margin: 18px 0; border: 1px solid var(--line-2); background: #09090d; }
.doc-image + .doc-image { margin-top: -8px; }
.doc-table { overflow: auto; border: 1px solid var(--line); margin: 18px 0; }
.doc-table table { width: 100%; border-collapse: collapse; font-size: 13px; }
.doc-table td { border-bottom: 1px solid var(--line); padding: 10px 12px; color: var(--text-dim); }
@media(max-width:960px) { .docs-main { grid-template-columns: 1fr; padding: 48px 0 72px; } .docs-sidebar { position: static; } .docs-content { padding: 30px 20px; } .docs-content h1 { font-size: 34px; } .docs-content h2 { font-size: 25px; } }
.platform-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 20px 0 18px; }
.platform-tab { background: var(--bg); border: 1px solid var(--line-2); color: var(--text-dim); padding: 12px 10px; font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.08em; cursor: pointer; text-transform: uppercase; }
.platform-tab.active { background: var(--lime); border-color: var(--lime); color: #0A0B0E; font-weight: 700; }
.docs-note { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
body[data-doc-platform="ps"] .docs-content [data-platform="xbox"], body[data-doc-platform="ps"] .docs-toc [data-platform="xbox"] { display: none; }
body[data-doc-platform="xbox"] .docs-content [data-platform="ps"], body[data-doc-platform="xbox"] .docs-toc [data-platform="ps"] { display: none; }
.doc-image-sm { max-width: 380px; }
@media(max-width:960px) { .platform-tabs { grid-template-columns: 1fr; } .doc-image-sm { max-width: 100%; } }
.platform-callout { border: 1px solid rgba(215,255,58,0.5); background: rgba(215,255,58,0.07); padding: 26px; margin-bottom: 34px; }
.platform-callout h2 { margin: 8px 0 10px; padding: 0; border-top: 0; font-size: 30px; }
.platform-callout p { max-width: 640px; }
.platform-picker-large { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.platform-choice { background: var(--bg); border: 1px solid var(--line-2); color: var(--text); padding: 22px; text-align: left; font-size: 20px; font-weight: 700; cursor: pointer; font-family: 'Space Grotesk','PingFang SC','Microsoft YaHei',sans-serif; }
.platform-choice span { display: block; margin-top: 8px; color: var(--text-dim); font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.platform-choice .pc-label { display: block; margin: 0; color: inherit; font-family: inherit; font-size: inherit; font-weight: 700; letter-spacing: 0; text-transform: none; }
.platform-choice.active .pc-label { color: #0A0B0E; }
.platform-choice:hover { border-color: var(--lime); }
.platform-choice.active { background: var(--lime); border-color: var(--lime); color: #0A0B0E; }
.platform-choice.active span { color: rgba(10,11,14,0.68); }
body[data-doc-platform="choose"] .docs-content > :not(.platform-callout)[data-platform="ps"], body[data-doc-platform="choose"] .docs-content > :not(.platform-callout)[data-platform="xbox"], body[data-doc-platform="choose"] .docs-toc [data-platform="ps"], body[data-doc-platform="choose"] .docs-toc [data-platform="xbox"] { display: none; }
body:not([data-doc-platform="choose"]) .platform-callout { display: none; }
@media(max-width:960px) { .platform-picker-large { grid-template-columns: 1fr; } .platform-choice { font-size: 18px; padding: 18px; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *,*::before,*::after { animation:none!important; transition:none!important; } }

/* Hero QQ group line */
.hero-qq-row { display: flex; justify-content: center; margin-top: 16px; }
.hero-qq { display: inline-flex; align-items: baseline; gap: 8px; background: none; border: none; padding: 0; color: var(--text-mute); font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.04em; cursor: pointer; transition: color .15s; }
.hero-qq .qq-num { color: var(--text-dim); transition: color .15s; }
.hero-qq:hover .qq-num { color: var(--lime); }
.hero-qq .qq-hint { font-size: 11px; color: var(--text-mute); }
.hero-qq:hover .qq-hint { color: var(--text-dim); }

/* Taobao buy modal */
.tb-modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 24px; }
.tb-modal.open { display: flex; }
.tb-backdrop { position: absolute; inset: 0; background: rgba(4,5,7,0.75); backdrop-filter: blur(6px); }
.tb-panel { position: relative; width: 100%; max-width: 460px; background: var(--panel); border: 1px solid var(--line-2); padding: 28px; }
.tb-tag { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--lime); letter-spacing: 0.15em; margin-bottom: 10px; }
.tb-panel h3 { font-size: 20px; margin-bottom: 10px; }
.tb-panel p { color: var(--text-dim); font-size: 14px; line-height: 1.7; margin-bottom: 16px; }
.tb-link-row { background: var(--bg-2); border: 1px solid var(--line); padding: 10px 12px; margin-bottom: 18px; overflow-wrap: anywhere; }
.tb-link-row code { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--lime); }
.tb-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.tb-actions .btn { padding: 12px 18px; font-size: 13px; }

/* Flow cards as links */
a.flow-card { display: block; color: inherit; text-decoration: none; cursor: pointer; position: relative; }
.flow-go { position: absolute; top: 14px; right: 16px; color: var(--text-mute); font-family: 'JetBrains Mono', monospace; font-size: 13px; transition: color .15s, transform .15s; }
a.flow-card:hover .flow-go { color: var(--lime); transform: translate(2px,-2px); }
