/* Tari Flip site: shared layout and the sections of every page. */
@font-face { font-family: 'Geist'; src: url('../fonts/geist.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('../fonts/geist-mono.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Unbounded'; src: url('../fonts/unbounded-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }

:root {
  --bg: #050505;
  --panel: #0c0c0c;
  --panel-2: #121212;
  --card: #121212;
  --card-2: #171717;
  --card-hi: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --text: #ededed;
  --muted: #a3a3a3;
  --faint: #737373;
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.18);
  --accent: #f2f2f2;
  --accent-ink: #0a0a0a;
  --accent-soft: rgba(255, 255, 255, 0.08);
  --green: #3ee08f;
  --red: #ff5b61;
  --font: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Unbounded', 'Geist', system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --wrap: 1280px;
  --gutter: 40px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.5 -0.5'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  color-scheme: dark;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; overflow-x: clip;
  background: var(--bg); color: var(--text);
  font: 400 16px/1.5 var(--font);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
/* Film grain over the whole page. */
body::after { content: ''; position: fixed; inset: 0; z-index: 300; pointer-events: none; background: var(--grain); background-size: 220px 220px; opacity: 0.07; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 600; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font-weight: 600; transform: translateY(-160%); transition: transform 0.2s; }
.skip:focus { transform: none; }

.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.brand img { width: 22px; height: 30px; flex: none; }
.brand span { font: 600 14px/1 var(--display); letter-spacing: 0.06em; text-transform: uppercase; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 22px; border-radius: 11px;
  background: var(--accent); color: var(--accent-ink);
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s var(--ease); }
.btn:hover { background: #fff; }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(0.98); }
.btn-sm { height: 34px; padding: 0 14px; border-radius: 9px; font-size: 13.5px; }
.btn-lg { height: 60px; padding: 0 30px; border-radius: 14px; font-size: 17px; }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32); }
.more { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; }
.more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s var(--ease); }
.more:hover svg { transform: translateX(3px); }

/* Reveal on scroll (only when JS runs) */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 64px; padding: 0 32px;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}
.nav.is-scrolled, .nav.is-open { background: rgba(5, 5, 5, 0.86); border-color: var(--line); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); }
.nav-menu { display: flex; gap: 4px; }
.nav-trigger, .nav-link { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 9px; color: var(--muted); font-size: 14px; transition: color 0.2s, background 0.2s; }
.nav-trigger svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; transition: transform 0.3s var(--ease); }
.nav-trigger:hover, .nav-trigger[aria-expanded='true'], .nav-trigger.is-current, .nav-link:hover, .nav-link[aria-current='page'] { color: var(--text); }
.nav-trigger[aria-expanded='true'] { background: rgba(255, 255, 255, 0.06); }
.nav-trigger[aria-expanded='true'] svg { transform: rotate(180deg); }
.nav-cta { justify-self: end; display: flex; align-items: center; gap: 20px; font-size: 14px; }
.nav-login { color: var(--muted); transition: color 0.2s; }
.nav-login:hover { color: var(--text); }
.nav-burger { display: none; width: 40px; height: 40px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line-2); }
.nav-burger span { display: block; width: 16px; height: 1.5px; margin: 4px auto; background: var(--text); transition: transform 0.3s var(--ease); }
.nav-burger[aria-expanded='true'] span:first-child { transform: translateY(2.75px) rotate(45deg); }
.nav-burger[aria-expanded='true'] span:last-child { transform: translateY(-2.75px) rotate(-45deg); }

/* Flyouts: one panel under the header, sized to the open section */
.flyouts { position: absolute; left: 0; right: 0; top: 100%; height: 0; overflow: hidden; background: rgba(11, 11, 11, 0.975); -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%); transition: height 0.38s var(--ease), box-shadow 0.38s; }
.nav.is-open .flyouts { box-shadow: 0 1px 0 var(--line), 0 40px 80px -30px rgba(0, 0, 0, 0.8); }
.flyout { position: absolute; left: 0; right: 0; top: 0; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; width: min(var(--wrap), 100% - var(--gutter) * 2); margin: 0 auto; padding: 34px 0 40px; opacity: 0; transform: translateY(-8px); transition: opacity 0.25s, transform 0.35s var(--ease); pointer-events: none; }
.flyout.is-active { opacity: 1; transform: none; pointer-events: auto; transition-delay: 0.06s; }
.flyout[hidden] { display: grid; visibility: hidden; }
.flyout.is-active[hidden] { visibility: visible; }
.flyout-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 6px; }
.flyout-links a { display: block; padding: 16px 18px; border-radius: 14px; transition: background 0.2s; }
.flyout-links a:hover, .flyout-links a:focus-visible { background: rgba(255, 255, 255, 0.05); }
.flyout-links b { display: block; font: 600 15px/1.25 var(--display); letter-spacing: -0.02em; }
.flyout-links span { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.flyout-visual { position: relative; min-height: 200px; border-radius: 18px; overflow: hidden; background: linear-gradient(180deg, var(--card-2), var(--card)); box-shadow: var(--card-hi), inset 0 0 0 1px var(--line); }
.fv-check { display: grid; place-items: center; padding: 22px; }
.fv-card { width: 100%; max-width: 300px; padding: 16px; border-radius: 14px; background: #1c1c1c; box-shadow: var(--card-hi), 0 0 0 1px var(--line-2), 0 20px 40px rgba(0, 0, 0, 0.5); }
.fv-head { display: flex; align-items: center; gap: 10px; }
.fv-head img { width: 36px; height: 36px; border-radius: 9px; }
.fv-head b { display: block; font-size: 14px; font-weight: 600; }
.fv-head span { display: block; margin-top: 2px; color: var(--faint); font-size: 12px; }
.fv-rows { display: grid; gap: 7px; margin-top: 14px; }
.fv-rows p { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 9px; background: rgba(255, 255, 255, 0.05); font-size: 12.5px; }
.fv-rows span { color: var(--muted); }
.fv-rows b { margin-left: auto; font-weight: 600; }
.fv-rows p::after { content: ''; flex: none; order: 3; width: 16px; height: 16px; margin-left: 2px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%230a0a0a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 12px no-repeat; transform: scale(0); }
.fv-open { display: flex; justify-content: center; margin-top: 12px; padding: 10px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font-size: 13px; font-weight: 700; opacity: 0; transform: translateY(6px); }
.flyout.is-active .fv-rows p::after { animation: fv-tick 0.35s var(--ease) forwards; }
.flyout.is-active .fv-rows p:nth-child(2)::after { animation-delay: 0.25s; }
.flyout.is-active .fv-rows p:nth-child(3)::after { animation-delay: 0.5s; }
.flyout.is-active .fv-open { animation: fv-open 0.4s var(--ease) 0.8s forwards; }
@keyframes fv-tick { to { transform: scale(1); } }
@keyframes fv-open { to { opacity: 1; transform: none; } }
.fv-cards img { position: absolute; width: 260px; height: auto; border-radius: 12px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 24px 50px rgba(0, 0, 0, 0.6); transition: transform 0.6s var(--ease); }
.fv-cards img:first-child { left: 22px; top: 26px; transform: rotate(-6deg); }
.fv-cards img:last-child { right: 18px; bottom: 22px; transform: rotate(5deg); }
.flyout.is-active .fv-cards img:first-child { transform: rotate(-4deg) translateY(-4px); }
.flyout.is-active .fv-cards img:last-child { transform: rotate(3deg) translateY(4px); }
.nav-scrim { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, 0.45); opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.nav.is-open + .nav-scrim { opacity: 1; }

.menu { position: fixed; inset: 64px 0 0; z-index: 99; display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; padding: 24px 20px 32px; background: rgba(5, 5, 5, 0.96); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.menu[hidden] { display: none; }
.menu nav { display: grid; gap: 26px; }
.menu-group p { margin-bottom: 6px; color: var(--faint); font-size: 14px; }
.menu-group a { display: block; padding: 9px 0; font: 600 22px/1.2 var(--display); letter-spacing: -0.03em; }
.menu-cta { display: grid; gap: 10px; margin-top: 32px; }

/* Film */
.film { padding: 0 24px; }
.film-frame { position: relative; width: min(100%, (100svh - 64px - 32px) * 16 / 9); aspect-ratio: 16 / 9; margin: 0 auto; border-radius: 22px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--line-2), 0 60px 140px -40px rgba(255, 255, 255, 0.06); }
.film-video { display: block; width: 100%; height: 100%; object-fit: cover; }
.film-controls { position: absolute; right: 18px; bottom: 18px; display: flex; gap: 8px; }
.film-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 15px 0 12px; border-radius: 999px; background: rgba(11, 11, 11, 0.62); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); color: #fff; font-size: 14px; font-weight: 600; transition: background 0.2s; }
.film-btn:hover { background: rgba(11, 11, 11, 0.82); }
.film-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.film-btn svg path:first-child { fill: currentColor; }
.film-btn-icon { width: 40px; padding: 0; justify-content: center; }
.film-btn .i-on, .film-btn[aria-pressed='true'] .i-off, .film-btn .i-play, .film-btn-icon[aria-pressed='true'] .i-pause { display: none; }
.film-btn[aria-pressed='true'] .i-on, .film-btn-icon[aria-pressed='true'] .i-play { display: block; }
.film-btn .i-play path { fill: currentColor; }
.film-btn[data-film-sound][aria-pressed='false'] { background: var(--accent); color: var(--accent-ink); box-shadow: none; }

/* Home intro: the title, sub line and calls, centred above the film. */
.intro { position: relative; display: flex; flex-direction: column; align-items: center; padding: 40px 24px 36px; text-align: center; }
.intro::before {
  content: ''; position: absolute; inset: -64px 0 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 46% 80% at 50% 45%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 46% 80% at 50% 45%, #000 10%, transparent 75%);
  opacity: 0.6;
}
.intro h1 { font-size: clamp(34px, 3.75vw, 68px); line-height: 1.06; letter-spacing: -0.045em; }
.intro h1 em { font-style: normal; color: var(--muted); }
.hero-sub { margin-top: 18px; max-width: 640px; color: var(--muted); font-size: 18px; line-height: 1.55; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
@media (max-width: 720px) {
  .intro { padding: 28px 20px 30px; }
  .intro h1 { font-size: clamp(24px, 9.2vw - 4px, 40px); }
  .intro h1 em { display: block; }
}

/* Live app: the Tari Flip window at full width, leaning toward the cursor. */
.section.live { padding-bottom: 64px; }
.live-app { position: relative; margin-top: 60px; perspective: 2600px; }
.live-app::before { content: ''; position: absolute; inset: 4% 10% auto; height: 80%; z-index: -1; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.07), transparent); filter: blur(50px); }
.live-app .tf-app {
  --app-height: 520px;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.6s var(--ease);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 50px 100px -30px rgba(0, 0, 0, 0.9);
}
@media (max-width: 720px) {
  .section.live { padding-bottom: 40px; }
  .live-app { margin-top: 40px; }
  .live-app .tf-app { --app-height: 470px; }
}

/* Page openers on Product, Community and Pricing: the halo ring behind the title. */
.page-hero { position: relative; overflow: hidden; padding: 160px 0 120px; }
.page-hero::before { content: ''; position: absolute; left: 50%; top: 48%; width: min(1240px, 150vw); aspect-ratio: 3.3; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09), inset 0 0 90px rgba(255, 255, 255, 0.035), 0 0 160px rgba(255, 255, 255, 0.035); transform: translate(-50%, -50%) rotate(-7deg); pointer-events: none; }
.page-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 45%, #000 10%, transparent 72%); mask-image: radial-gradient(ellipse 60% 70% at 50% 45%, #000 10%, transparent 72%); opacity: 0.5; }
.page-hero-inner { position: relative; max-width: 1000px; margin-inline: auto; text-align: center; }
.page-hero h1 { font-size: clamp(36px, 6.4vw, 90px); line-height: 1; letter-spacing: -0.05em; }
.page-hero .lead { margin: 28px auto 0; max-width: 620px; font-size: 20px; }

/* Footer */
.footer { position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(4, minmax(0, 0.7fr)) auto; gap: 40px; width: min(var(--wrap), 100% - var(--gutter) * 2); margin: 0 auto; padding: 64px 0 36px; }
.footer-brand p { margin-top: 16px; max-width: 260px; color: var(--muted); font-size: 14px; }
.footer-col p { margin-bottom: 10px; color: var(--faint); font-size: 13px; }
.footer-col a, .footer-col button { display: block; width: fit-content; padding: 5px 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; text-align: left; transition: color 0.2s; }
.footer-col a:hover, .footer-col button:hover, .footer-col [aria-current='page'] { color: var(--text); }
html:not(.js) [data-consent-open] { display: none; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--muted); transition: color 0.2s, box-shadow 0.2s; }
.footer-social a:hover { color: var(--text); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); }
.footer-social svg { width: 17px; height: 17px; fill: currentColor; }
.footer-word { margin: 12px 0 -0.16em; font: 600 clamp(48px, 11.6vw, 200px)/0.9 var(--display); letter-spacing: -0.04em; text-align: center; text-transform: uppercase; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2); user-select: none; }
.footer-base { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; width: min(var(--wrap), 100% - var(--gutter) * 2); margin: 0 auto; padding: 22px 0 30px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13px; }
.footer-base b { color: var(--muted); font-weight: 500; }
.footer-risk { flex-basis: 100%; font-size: 12.5px; line-height: 1.55; }
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / 4; }
  .footer-social { grid-column: 4; grid-row: 1; justify-self: end; }
}
@media (max-width: 720px) {
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; padding: 48px 0 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-social { grid-column: 1 / -1; grid-row: auto; justify-self: start; }
  .footer-base { flex-direction: column; gap: 8px; }
  .footer-risk { margin-top: 6px; }
}

/* Legal pages: Terms of Use and Privacy Policy */
.legal { --ink: #cfcfcf; display: grid; grid-template-columns: 236px minmax(0, 720px); justify-content: space-between; gap: 0 64px; width: min(1120px, 100% - var(--gutter) * 2); margin: 0 auto; padding: 104px 0 150px; }
.legal-toc { position: sticky; top: 104px; align-self: start; max-height: calc(100vh - 128px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.legal-toc::-webkit-scrollbar { display: none; }
.legal-toc > p { margin-bottom: 14px; color: var(--faint); font-size: 13px; }
.legal-toc ol, .legal-toc-sm ol { margin: 0; padding: 0; list-style: none; }
.legal-toc ol { box-shadow: inset 1px 0 0 var(--line); }
.legal-toc a, .legal-toc-sm a { display: flex; gap: 12px; padding: 6px 0 6px 16px; color: var(--muted); font-size: 14px; line-height: 1.4; transition: color 0.2s, box-shadow 0.2s; }
.legal-toc a span, .legal-toc-sm a span { flex: none; min-width: 18px; color: var(--faint); font: 500 12px/1.65 var(--mono); }
.legal-toc a:hover, .legal-toc-sm a:hover { color: var(--text); }
.legal-toc a[aria-current='location'] { color: var(--text); box-shadow: inset 1px 0 0 var(--accent); }
.legal-toc a:focus-visible { outline-offset: -2px; }
.legal-toc-sm { display: none; }
.legal-head h1 { font-size: clamp(38px, 5vw, 64px); line-height: 1; letter-spacing: -0.05em; }
.legal-date { margin-top: 20px; color: var(--faint); font-size: 14px; }
.legal-lead { margin-top: 30px; color: var(--muted); font-size: 19px; line-height: 1.6; }
.legal-doc > section { margin-top: 60px; scroll-margin-top: 28px; }
.legal-head + section { margin-top: 72px; padding-top: 64px; border-top: 1px solid var(--line); }
.legal-doc h2 { display: flex; gap: 14px; font-size: 21px; line-height: 1.3; letter-spacing: -0.03em; }
.legal-doc h2 span { flex: none; min-width: 26px; color: var(--faint); }
.legal-doc h3 { margin-top: 30px; color: var(--text); font-size: 16.5px; font-weight: 600; letter-spacing: -0.01em; }
.legal-doc section p, .legal-doc section li { color: var(--ink); font-size: 16.5px; line-height: 1.7; }
.legal-doc section p { margin-top: 16px; }
.legal-doc h3 + p, .legal-doc h3 + ul { margin-top: 10px; }
.legal-doc section ul { display: grid; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.legal-doc section li { position: relative; padding-left: 24px; }
.legal-doc section li::before { content: ''; position: absolute; left: 4px; top: 0.82em; width: 7px; height: 1.5px; border-radius: 1px; background: var(--faint); }
.legal-doc section a { color: var(--text); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.3); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: text-decoration-color 0.2s; }
.legal-doc section a:hover { text-decoration-color: currentColor; }
.legal-doc strong { color: var(--text); font-weight: 600; }
.legal-doc code { padding: 2px 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.06); color: var(--text); font: 500 0.88em/1 var(--mono); }
.legal-table { width: 100%; margin-top: 24px; border-collapse: separate; border-spacing: 0; border-radius: 16px; background: var(--card); box-shadow: var(--card-hi), 0 0 0 1px var(--line); font-size: 15px; line-height: 1.55; }
.legal-table th, .legal-table td { padding: 15px 18px; text-align: left; vertical-align: top; }
.legal-table th { color: var(--faint); font-size: 13px; font-weight: 500; box-shadow: inset 0 -1px 0 var(--line); }
.legal-table td { color: var(--ink); }
.legal-table tr + tr td { box-shadow: inset 0 1px 0 var(--line); }
.legal-table td:first-child { color: var(--text); font-weight: 500; }
.legal-doc .btn { margin-top: 22px; }
@media (max-width: 1000px) {
  .legal { grid-template-columns: minmax(0, 720px); justify-content: center; padding: 64px 0 110px; }
  .legal-toc { display: none; }
  .legal-toc-sm { display: block; margin-top: 32px; border-radius: 14px; background: var(--card); box-shadow: var(--card-hi), 0 0 0 1px var(--line); }
  .legal-toc-sm summary { display: flex; justify-content: space-between; align-items: center; padding: 15px 18px; cursor: pointer; list-style: none; font-weight: 600; }
  .legal-toc-sm summary::-webkit-details-marker { display: none; }
  .legal-toc-sm summary::after { content: ''; width: 12px; height: 12px; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'><path d='M2.5 3.8L5 6.3l2.5-2.5' fill='none' stroke='%23ededed' stroke-width='1.6' stroke-linecap='round'/></svg>") center / contain no-repeat; transition: transform 0.3s var(--ease); }
  .legal-toc-sm[open] summary::after { transform: rotate(180deg); }
  .legal-toc-sm ol { padding: 0 18px 12px 2px; }
  .legal-toc-sm a { padding-left: 16px; font-size: 15px; }
  .legal-head + section { margin-top: 48px; padding-top: 48px; }
}
@media (max-width: 720px) {
  .legal { padding: 44px 0 88px; }
  .legal-lead { margin-top: 22px; font-size: 17px; }
  .legal-doc > section { margin-top: 48px; }
  .legal-doc h2 { gap: 10px; font-size: 19px; }
  .legal-doc h2 span { min-width: 22px; }
  .legal-doc section p, .legal-doc section li { font-size: 16px; }
  .legal-table, .legal-table tbody, .legal-table tr, .legal-table td { display: block; }
  .legal-table thead { display: none; }
  .legal-table td { padding: 0 18px; }
  .legal-table td:first-child { padding-top: 16px; }
  .legal-table td:last-child { padding-bottom: 16px; }
  .legal-table td + td { margin-top: 8px; }
  .legal-table td + td::before { content: attr(data-label); display: block; color: var(--faint); font-size: 12.5px; }
  .legal-table tr + tr td { box-shadow: none; }
  .legal-table tr + tr { box-shadow: inset 0 1px 0 var(--line); }
}

/* Cookie banner, built by consent.js: a card bottom-left on desktop, a bottom sheet on phones */
.consent { position: fixed; left: 24px; bottom: 24px; z-index: 95; width: min(392px, 100% - 48px); padding: 20px 20px 18px; border-radius: 18px; background: var(--card); box-shadow: var(--card-hi), 0 0 0 1px var(--line-2), 0 30px 80px -24px rgba(0, 0, 0, 0.95); opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity 0.35s var(--ease), transform 0.45s var(--ease); }
.consent.is-in { opacity: 1; transform: none; pointer-events: auto; }
.consent[hidden] { display: none; }
.consent-text { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.consent-now { margin-top: 8px; color: var(--text); font-size: 13.5px; }
.consent-now[hidden] { display: none; }
.consent-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.consent-actions .btn { height: 40px; padding: 0 16px; border-radius: 10px; font-size: 14px; }
.consent-link { margin-left: auto; padding: 8px 2px; color: var(--muted); font-size: 13.5px; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.25); text-underline-offset: 3px; transition: color 0.2s; }
.consent-link:hover { color: var(--text); }
@media (max-width: 720px) {
  .consent { left: 0; bottom: 0; width: 100%; padding: 20px 20px calc(18px + env(safe-area-inset-bottom)); border-radius: 20px 20px 0 0; transform: translateY(100%); }
  .consent-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .consent-actions .btn { height: 46px; }
  .consent-link { grid-column: 1 / -1; justify-self: center; margin: 2px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .consent, .consent.is-in { transform: none; transition: none; }
}

/* Invite dialog */
.invite {
  width: min(440px, 100% - 32px); padding: 36px 32px 28px;
  border: 0; border-radius: 20px;
  background: linear-gradient(180deg, var(--card-2), var(--card)); color: var(--text);
  box-shadow: var(--card-hi), 0 0 0 1px var(--line-2), 0 40px 120px -20px rgba(0, 0, 0, 0.9);
  text-align: center;
}
.invite::backdrop { background: rgba(0, 0, 0, 0.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.invite[open] { animation: invite-in 0.35s var(--ease); }
@keyframes invite-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } }
.invite-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; color: var(--muted); }
.invite-close:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.invite-close svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.invite-mark { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto; border-radius: 16px; background: #080808; box-shadow: inset 0 0 0 1px var(--line-2); }
.invite-mark img { width: 29px; height: 40px; }
.invite h2 { margin-top: 20px; font-size: 22px; letter-spacing: -0.035em; }
.invite p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.invite-form { display: grid; gap: 10px; margin-top: 24px; }
.invite-form input { height: 50px; padding: 0 16px; border: 0; border-radius: 11px; background: rgba(0, 0, 0, 0.35); box-shadow: inset 0 0 0 1px var(--line-2); font-family: var(--mono); font-size: 14px; outline: none; transition: box-shadow 0.2s; }
.invite-form input::placeholder { color: var(--faint); }
.invite-form input:focus { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5); }
.invite .invite-note { margin-top: 18px; color: var(--faint); font-size: 13px; }

/* Sections */
.section { position: relative; padding: 112px 0; }
:where(.section) + .section { padding-top: 96px; }
.section-head { max-width: 760px; }
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4.3vw, 58px); line-height: 1.04; letter-spacing: -0.045em; }
.lead { margin-top: 24px; max-width: 580px; color: var(--muted); font-size: 19px; line-height: 1.55; }
.is-center .lead { margin-inline: auto; }

/* Market fact band: a field of new coins (markup from design/home/field.mjs). A scan reads every one, the dead ones dim and the 1.5% that reached a DEX stay lit. */
.market { padding-bottom: 80px; }
.market-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: end; gap: 64px; }
.market-head h2 { font-size: clamp(28px, 3.5vw, 48px); line-height: 1.08; letter-spacing: -0.045em; }
.market-head h2 em { font-style: normal; color: var(--muted); }
.market-head .lead { margin-top: 0; padding-bottom: 6px; }
.market-field { position: relative; margin: 56px 0 0; padding: 44px 40px 0; border-radius: 26px; overflow: hidden; background: linear-gradient(180deg, var(--card-2), var(--card)); box-shadow: var(--card-hi), 0 0 0 1px var(--line), 0 50px 100px -50px rgba(0, 0, 0, 0.9); }
.market-field::before { content: ''; position: absolute; left: 50%; top: 0; width: 70%; height: 120px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255, 255, 255, 0.06), transparent); pointer-events: none; }
.mf-plot { position: relative; --travel: 1120px; }
.mf-plot.is-narrow { display: none; --travel: 460px; }
.mf { width: 100%; height: auto; overflow: visible; }
.mf-dead { fill: #fff; fill-opacity: 0.2; }
.mf-beam { animation: mf-beam 9s linear infinite; }
.mf-wake { opacity: 0.5; animation: mf-wake 9s linear infinite; }
.mf-on { fill: #fff; animation: mf-on 0.5s var(--ease) var(--d) both; }
.mf-glow { animation: mf-on 0.5s var(--ease) var(--d) both; }
.mf-ring { fill: none; stroke: rgba(255, 255, 255, 0.7); stroke-width: 0.5; transform-box: fill-box; transform-origin: center; animation: mf-ping 9s ease-out var(--d) infinite both; }
.mf-tag { position: absolute; display: inline-flex; width: max-content; align-items: center; gap: 7px; height: 28px; padding: 0 11px 0 4px; border-radius: 999px; background: rgba(10, 10, 10, 0.88); box-shadow: 0 0 0 1px var(--line-2), 0 12px 30px -12px #000; color: var(--muted); font-size: 12.5px; line-height: 1; white-space: nowrap; transform: translate(16px, -50%); animation: mf-tag 0.6s var(--ease) calc(var(--d) + 0.15s) both; }
.mf-tag.is-left { transform: translate(calc(-100% - 16px), -50%); }
.mf-tag img { width: 20px; height: 20px; border-radius: 50%; }
.mf-tag b { color: var(--text); font-weight: 600; }
.js .market-field:not(.is-in) :is(.mf-beam, .mf-wake, .mf-on, .mf-glow, .mf-ring, .mf-tag) { animation-play-state: paused; }
@keyframes mf-beam { 0% { transform: translateX(0); } 36.67%, 100% { transform: translateX(var(--travel)); } }
@keyframes mf-wake { 0% { transform: translateX(0); opacity: 0.5; } 36.67% { transform: translateX(var(--travel)); } 84% { opacity: 0.5; } 100% { transform: translateX(var(--travel)); opacity: 0; } }
@keyframes mf-on { from { opacity: 0; } to { opacity: 1; } }
@keyframes mf-ping { 0% { transform: scale(1); opacity: 0; } 2% { opacity: 0.9; } 22%, 100% { transform: scale(3.6); opacity: 0; } }
@keyframes mf-tag { from { opacity: 0; translate: 0 6px; } to { opacity: 1; translate: 0 0; } }
.mf-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; margin: 40px -40px 0; padding: 20px 40px 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.mf-legend span { display: inline-flex; align-items: center; gap: 10px; }
.mf-legend span::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); }
.mf-legend .is-lit::before { background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12), 0 0 12px rgba(255, 255, 255, 0.5); }
.mf-legend small { margin-left: auto; color: var(--faint); font-size: 13px; }
@media (max-width: 900px) {
  .market-head { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .market-field { margin-top: 40px; padding: 32px 28px 0; }
  .mf-legend { margin: 30px -28px 0; padding: 18px 28px 20px; }
}
@media (max-width: 720px) {
  .market-field { padding: 22px 16px 0; border-radius: 20px; }
  .mf-plot.is-wide { display: none; }
  .mf-plot.is-narrow { display: block; }
  .mf-legend { gap: 8px 20px; margin: 22px -16px 0; padding: 16px; font-size: 13px; }
  .mf-legend small { flex-basis: 100%; margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .mf-beam, .mf-wake, .mf-ring { animation: none; opacity: 0; }
  .mf-on, .mf-glow, .mf-tag { animation: none; }
}

/* Receipts: a masonry wall of PnL cards and member posts styled like X posts. */
.receipts .lead { max-width: 520px; }
.rc-wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 18px; margin-top: 64px; }
.rc-col { display: grid; gap: 18px; }
.rc-item { break-inside: avoid; transition: box-shadow 0.3s; }
.rc-card { width: 100%; height: auto; border-radius: 18px; box-shadow: 0 0 0 1px var(--line-2), 0 30px 60px -30px rgba(0, 0, 0, 0.9); }
.rc-card:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3), 0 30px 60px -30px rgba(0, 0, 0, 0.9); }
.xp { padding: 18px 20px 14px; border-radius: 18px; background: var(--card); box-shadow: var(--card-hi), 0 0 0 1px var(--line); }
.xp:hover { box-shadow: var(--card-hi), 0 0 0 1px var(--line-2); }
.xp-head { display: flex; align-items: center; gap: 12px; }
.xp-head img { width: 42px; height: 42px; border-radius: 50%; flex: none; }
.xp-who { min-width: 0; }
.xp-who b { display: block; font-size: 15px; font-weight: 700; line-height: 1.3; }
.xp-who span { display: block; color: var(--faint); font-size: 14px; line-height: 1.3; }
.xp-x { align-self: flex-start; width: 17px; height: 17px; margin-left: auto; fill: var(--text); }
.xp p { margin-top: 12px; font-size: 15.5px; line-height: 1.45; }
.xp-media { width: 100%; height: auto; margin-top: 12px; border-radius: 14px; box-shadow: 0 0 0 1px var(--line); }
.xp-foot { display: flex; justify-content: space-between; max-width: 340px; margin-top: 12px; color: var(--faint); font-size: 13px; }
.xp-foot span { display: inline-flex; align-items: center; gap: 6px; }
.xp-foot span::before { content: ''; width: 17px; height: 17px; background: currentColor; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.xp-foot .is-reply { --icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M4.5 11.5a7 7 0 0 1 7-7h1a7 7 0 0 1 0 14h-1.2l-4.8 3.2v-4A7 7 0 0 1 4.5 11.5z'/></svg>"); }
.xp-foot .is-repost { --icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M7 4.5L4 7.5l3 3M4 7.5h11a4 4 0 0 1 4 4v1M17 19.5l3-3-3-3M20 16.5H9a4 4 0 0 1-4-4v-1'/></svg>"); }
.xp-foot .is-like { --icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M12 20s-7.5-4.6-7.5-10A4.2 4.2 0 0 1 12 7.6 4.2 4.2 0 0 1 19.5 10c0 5.4-7.5 10-7.5 10z'/></svg>"); }
.xp-foot .is-views { --icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M5 20v-8M10 20V5M15 20v-6M20 20V9'/></svg>"); }
/* The month in numbers under the wall. */
.rc-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 72px; border-radius: 22px; background: linear-gradient(180deg, var(--card-2), var(--card)); box-shadow: var(--card-hi), 0 0 0 1px var(--line); }
.rc-stat { display: flex; flex-direction: column; padding: 30px 32px 28px; }
.rc-stat + .rc-stat { border-left: 1px solid var(--line); }
.rc-num { font: 600 clamp(30px, 3vw, 42px)/1 var(--display); letter-spacing: -0.045em; white-space: nowrap; }
.rc-label { margin-top: 12px; color: var(--muted); font-size: 15px; }
.rc-viz { width: 100%; height: 56px; margin-top: auto; padding-top: 28px; box-sizing: content-box; overflow: visible; }
.rc-area { fill: rgba(62, 224, 143, 0.12); }
.rc-line { fill: none; stroke: var(--green); stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.rc-bars rect { fill: rgba(255, 255, 255, 0.28); }
.rc-cells circle { fill: rgba(255, 255, 255, 0.13); }
.rc-cells .is-on { fill: var(--accent); }
.rc-axis { display: flex; justify-content: space-between; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--faint); font: 12px/1 var(--mono); }
.rc-axis.is-legend { justify-content: flex-start; gap: 20px; font-family: var(--font); }
.rc-axis.is-legend span { display: inline-flex; align-items: center; gap: 7px; }
.rc-axis.is-legend span::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); }
.rc-axis.is-legend .is-on::before { background: var(--accent); }
@supports (animation-timeline: view()) {
  @media (min-width: 1101px) and (prefers-reduced-motion: no-preference) {
    .rc-col { animation: rc-drift linear both; animation-timeline: view(); animation-range: cover; }
    .rc-col:nth-child(2) { animation-name: rc-drift-mid; }
    @keyframes rc-drift { from { transform: translateY(32px); } to { transform: translateY(-32px); } }
    @keyframes rc-drift-mid { from { transform: translateY(-40px); } to { transform: translateY(24px); } }
  }
}
@media (max-width: 1100px) {
  .rc-wall { display: block; columns: 2; column-gap: 16px; margin-top: 48px; }
  .rc-col { display: contents; }
  .rc-item { display: block; margin-bottom: 16px; }
  .rc-more { display: none; }
  .rc-stats { margin-top: 40px; }
  .rc-stat { padding: 26px 24px 24px; }
}
@media (max-width: 720px) {
  .rc-wall { columns: 1; margin-top: 36px; }
  .rc-item { margin-bottom: 14px; }
  .xp { padding: 16px 16px 12px; }
  .xp p { font-size: 15px; }
  .rc-card, .xp { border-radius: 16px; }
  .rc-mid { display: none; }
  .rc-stats { grid-template-columns: minmax(0, 1fr); margin-top: 22px; border-radius: 20px; }
  .rc-stat { padding: 22px 20px; }
  .rc-stat + .rc-stat { border-left: 0; border-top: 1px solid var(--line); }
  .rc-viz { height: 48px; padding-top: 20px; }
}

/* How it works: the background check as a dossier on one coin. On wide screens the dossier stays pinned while the steps scroll past; narrower screens switch its tabs on their own. */
.dossier { --amber: #ffb224; padding-bottom: 72px; }
.ds-grid { display: grid; grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.26fr); grid-template-areas: 'head stage' 'steps stage' 'more stage'; column-gap: 72px; }
.ds-head { grid-area: head; align-self: start; }
.ds-head h2 { font-size: clamp(30px, 3.4vw, 50px); }
.ds-head .lead { max-width: 440px; }
.ds-stage { grid-area: stage; align-self: start; position: sticky; top: max(84px, 50vh - 318px); }
.ds-steps { grid-area: steps; margin: 0; padding: 0 0 6vh; list-style: none; }
.ds-step { display: flex; flex-direction: column; justify-content: center; min-height: 42vh; transition: opacity 0.45s; }
.js .ds-step { opacity: 0.28; }
.js .ds-step.is-active { opacity: 1; }
.ds-step h3 { font: 600 clamp(22px, 2.2vw, 30px)/1.12 var(--display); letter-spacing: -0.04em; }
.ds-step p { margin-top: 14px; max-width: 420px; color: var(--muted); font-size: 17px; line-height: 1.55; }
.ds-more { grid-area: more; align-self: start; }

/* The window */
.ds-window { container: dossier / inline-size; position: relative; border-radius: 18px; background: linear-gradient(180deg, #171717, #111 160px); box-shadow: var(--card-hi), 0 0 0 1px var(--line-2), 0 60px 120px -50px rgba(0, 0, 0, 0.95); font-feature-settings: 'tnum' 1; }
.ds-window::before { content: ''; position: absolute; inset: -12% 4% auto; height: 70%; z-index: -1; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.06), transparent); filter: blur(30px); pointer-events: none; }
.ds-bar { position: relative; display: flex; align-items: center; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.ds-lights { display: flex; gap: 7px; }
.ds-lights i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.ds-app { position: absolute; left: 50%; display: flex; align-items: center; gap: 7px; transform: translateX(-50%); font-size: 12.5px; font-weight: 600; }
.ds-app img { width: 11px; height: 15px; }
.ds-coin { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.ds-ava { width: 44px; height: 44px; border-radius: 11px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1); flex: none; }
.ds-name { min-width: 0; }
.ds-name b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.ds-name span { display: block; margin-top: 4px; color: var(--faint); font: 500 12px/1.2 var(--mono); white-space: nowrap; }
.ds-kpis { display: flex; margin: 0 0 0 auto; }
.ds-kpis div { padding: 0 16px; border-left: 1px solid var(--line); }
.ds-kpis div:last-child { padding-right: 0; }
.ds-kpis dt { color: var(--faint); font-size: 11.5px; }
.ds-kpis dd { display: flex; align-items: center; gap: 8px; margin: 4px 0 0; font-size: 14px; font-weight: 600; }
.ds-curve { position: relative; width: 52px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.ds-curve::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--p); border-radius: inherit; background: var(--accent); }

.ds-tabs { position: relative; display: flex; gap: 2px; padding: 0 10px; border-bottom: 1px solid var(--line); }
.ds-tabs button { position: relative; display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 12px; color: var(--faint); font-size: 13.5px; font-weight: 600; transition: color 0.25s; }
.ds-tabs button:hover { color: var(--muted); }
.ds-tabs button[aria-selected='true'] { color: var(--text); }
.ds-tabs button::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transition: transform 0.35s var(--ease); }
.ds-tabs button[aria-selected='true']::after { transform: none; }
.ds-tabs button:focus-visible { outline-offset: -4px; }
.ds-tabs i { width: 14px; height: 14px; border-radius: 50%; background: rgba(255, 255, 255, 0.1) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4.5 8.5l2.3 2.3L11.5 6' fill='none' stroke='%23ededed' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 11px no-repeat; }
.ds-tabs b { padding: 2px 6px; border-radius: 6px; background: var(--accent); color: var(--accent-ink); font-size: 11.5px; font-weight: 700; }

.ds-panels { display: grid; padding: 16px 18px 18px; }
.ds-panel { grid-area: 1 / 1; display: grid; min-width: 0; visibility: hidden; opacity: 0; transform: translateY(10px); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), visibility 0s 0.45s; }
.ds-panel[data-panel='0'] { align-content: start; }
.ds-panel.is-on { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.ds-panel:focus-visible { outline-offset: 4px; }

/* Shared pieces inside the panels */
.ds-box { padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.035); box-shadow: inset 0 0 0 1px var(--line); }
.ds-col { display: grid; align-content: start; gap: 10px; min-width: 0; }
.ds-label { display: flex; justify-content: space-between; gap: 12px; color: var(--faint); font-size: 12px; }
.ds-label span { color: var(--muted); }
.ds-label b { color: var(--text); font-size: 13.5px; font-weight: 600; }
.ds-pass { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 8px; border-radius: 8px; background: var(--accent-soft); color: var(--text); font-size: 12px; font-style: normal; font-weight: 600; white-space: nowrap; }
.ds-pass::before { content: ''; width: 12px; height: 12px; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3.5 8.5l3 3L12.5 5' fill='none' stroke='%23ededed' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat; }

/* Dev */
.ds-dev { display: flex; align-items: center; gap: 12px; }
.ds-ident { width: 36px; height: 36px; padding: 7px; border-radius: 10px; background: #1f1f1f; box-shadow: inset 0 0 0 1px var(--line); fill: #9a9a9a; flex: none; }
.ds-dev div { min-width: 0; }
.ds-dev b { display: block; font: 500 14px/1.2 var(--mono); }
.ds-dev div span { display: block; margin-top: 4px; color: var(--muted); font-size: 12.5px; }
.ds-dev .ds-pass { margin-left: auto; }
.ds-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 14px 0 0; }
.ds-tiles div { padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.04); box-shadow: var(--card-hi); }
.ds-tiles dt { overflow: hidden; color: var(--faint); font-size: 11.5px; white-space: nowrap; text-overflow: ellipsis; }
.ds-tiles dd { display: flex; align-items: baseline; gap: 6px; margin: 5px 0 0; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.ds-tiles small { color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: 0; }
.ds-hist { margin-top: 14px; }
.ds-hist .ds-label span { display: flex; align-items: center; gap: 6px; color: var(--faint); font-size: 11.5px; }
.ds-hist .ds-label i { width: 8px; height: 8px; margin-left: 6px; border-radius: 2px; background: rgba(255, 255, 255, 0.24); }
.ds-hist .ds-label i.is-yes { background: var(--accent); }
.ds-bars { position: relative; display: flex; align-items: flex-end; gap: 5px; height: 40px; margin-top: 8px; padding-right: 66px; border-bottom: 1px solid var(--line); }
.ds-bars i { flex: 1; height: var(--h); border-radius: 3px 3px 0 0; background: rgba(255, 255, 255, 0.24); transform: scaleY(0); transform-origin: bottom; transition: transform 0.6s var(--ease); }
.ds-bars i.is-yes { background: var(--accent); }
.ds-panel.is-on .ds-bars i { transform: none; }
.ds-bars i:nth-child(n+5) { transition-delay: 0.05s; }
.ds-bars i:nth-child(n+9) { transition-delay: 0.1s; }
.ds-bars i:nth-child(n+12) { transition-delay: 0.15s; }
.ds-bars b { position: absolute; left: 0; right: 0; bottom: var(--h); display: flex; align-items: center; justify-content: flex-end; height: 12px; margin-bottom: -6px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.4) 0 3px, transparent 3px 6px) left center / calc(100% - 62px) 1px no-repeat; color: var(--faint); font-size: 10.5px; font-weight: 500; pointer-events: none; }
.ds-table { width: 100%; margin-top: 14px; border-collapse: collapse; font-size: 13px; }
.ds-table caption { padding-bottom: 8px; color: var(--faint); font-size: 12px; text-align: left; }
.ds-table th, .ds-table td { padding: 7px 6px; text-align: left; white-space: nowrap; }
.ds-table thead th { padding-top: 0; padding-bottom: 7px; color: var(--faint); font-size: 11.5px; font-weight: 500; }
.ds-table tr > :first-child { padding-left: 0; }
.ds-table tr > :last-child { padding-right: 0; text-align: right; }
.ds-table tbody tr { border-top: 1px solid var(--line); }
.ds-table tbody td { color: var(--muted); }
.ds-table tbody th { font-weight: 600; }
.ds-table tbody th img { display: inline-block; width: 22px; height: 22px; margin: -4px 9px -6px 0; border-radius: 6px; vertical-align: baseline; }
.ds-peak { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; }
.ds-peak::before { content: ''; width: 36px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--accent) var(--w), rgba(255, 255, 255, 0.1) var(--w)); }
.ds-table .is-yes { color: var(--text); }
.ds-table .is-yes::before { content: ''; display: inline-block; width: 11px; height: 11px; margin-right: 6px; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3.5 8.5l3 3L12.5 5' fill='none' stroke='%23ededed' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat; }
.ds-table .is-no { color: var(--faint); }
.ds-table .is-no::before { content: ''; display: inline-block; width: 11px; height: 2px; margin: 0 6px 3px 0; background: var(--faint); vertical-align: middle; }
.ds-table .is-warn { color: var(--amber); }
.ds-table tbody tr { opacity: 0; transform: translateX(-6px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.ds-panel.is-on .ds-table tbody tr { opacity: 1; transform: none; }
.ds-table tbody tr:nth-child(2) { transition-delay: 0.05s; }
.ds-table tbody tr:nth-child(3) { transition-delay: 0.1s; }
.ds-table tbody tr:nth-child(4) { transition-delay: 0.15s; }
.ds-table tbody tr:nth-child(5) { transition-delay: 0.2s; }

/* X account */
.ds-x { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.ds-x .ds-col:first-child { grid-template-rows: auto 1fr; }
.ds-x .ds-col:last-child { grid-template-rows: auto 1fr auto; }
.ds-who { display: flex; align-items: center; gap: 10px; }
.ds-who img { width: 40px; height: 40px; border-radius: 50%; }
.ds-who b { display: block; font-size: 14.5px; font-weight: 600; }
.ds-who span { display: block; margin-top: 2px; color: var(--muted); font-size: 12.5px; }
.ds-xmark { width: 15px; height: 15px; margin-left: auto; fill: var(--text); align-self: flex-start; }
.ds-mini { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 8px; margin: 12px 0 0; padding-top: 11px; border-top: 1px solid var(--line); }
.ds-mini dt { color: var(--faint); font-size: 11.5px; }
.ds-mini dd { margin: 3px 0 0; font-size: 13.5px; font-weight: 600; }
.ds-tweet { display: flex; gap: 10px; margin-top: 10px; }
.ds-tweet > img { width: 28px; height: 28px; border-radius: 50%; flex: none; }
.ds-tweet p { font-size: 13.5px; line-height: 1.4; }
.ds-tweet p:first-child b { font-weight: 600; }
.ds-tweet p:first-child span { color: var(--faint); font-size: 12.5px; }
.ds-tweet p + p { margin-top: 3px; }
.ds-engage { display: flex; gap: 18px; margin-top: 10px; color: var(--faint); font-size: 12px; }
.ds-engage span { display: inline-flex; align-items: center; gap: 5px; }
.ds-engage svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }
.ds-tweet > div { flex: 1; min-width: 0; }
.ds-tweet-img { display: block; width: 100%; height: 64px; margin-top: 9px; border-radius: 9px; object-fit: cover; object-position: 50% 30%; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08); }
.ds-tweet code { display: inline-block; margin-top: 7px; padding: 3px 7px; border-radius: 6px; background: rgba(255, 255, 255, 0.07); color: var(--muted); font: 500 11.5px/1.3 var(--mono); }
.ds-post { display: flex; flex-direction: column; }
.ds-note { display: flex; align-items: center; gap: 7px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; }
.ds-note::before, .ds-nolinks::before { content: ''; width: 12px; height: 12px; flex: none; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3.5 8.5l3 3L12.5 5' fill='none' stroke='%23ededed' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat; }
.ds-line { margin-top: 6px; }
.ds-line b { display: block; font-size: 14px; font-weight: 600; }
.ds-line span { display: block; margin-top: 2px; color: var(--muted); font-size: 12.5px; }
.ds-promo { display: grid; align-content: space-evenly; gap: 2px; height: calc(100% - 18px); margin: 0; padding: 4px 0 0; list-style: none; }
.ds-promo li { display: grid; grid-template-columns: 24px auto minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 5px 0; font-size: 13px; }
.ds-promo img { width: 24px; height: 24px; border-radius: 6px; }
.ds-promo b { font-weight: 600; white-space: nowrap; }
.ds-promo span { color: var(--faint); font: 500 11.5px/1 var(--mono); }
.ds-promo em { font-style: normal; font-weight: 600; }
.ds-follow { display: flex; align-items: center; gap: 12px; }
.ds-faces { display: flex; flex: none; }
.ds-faces img, .ds-faces i { width: 24px; height: 24px; margin-left: -7px; border-radius: 50%; box-shadow: 0 0 0 2px #151515; }
.ds-faces img:first-child { margin-left: 0; }
.ds-faces i { display: grid; place-items: center; background: #2a2a2a; color: var(--text); font-size: 10.5px; font-style: normal; font-weight: 600; }
.ds-follow p { color: var(--muted); font-size: 13px; line-height: 1.35; }
.ds-follow b { color: var(--text); font-weight: 600; }
.ds-faces img, .ds-faces i { opacity: 0; transform: translateX(-6px); transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); transition-delay: calc(var(--f, 0) * 50ms + 0.15s); }
.ds-panel.is-on .ds-faces img, .ds-panel.is-on .ds-faces i { opacity: 1; transform: none; }

/* Holders */
.ds-holders { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: 10px; }
.ds-holders .ds-col { grid-template-rows: 1fr auto; }
.ds-map { display: flex; flex-direction: column; margin: 0; padding: 10px 12px 12px; }
.ds-map svg { width: 100%; height: auto; margin: auto 0; overflow: visible; }
.ds-map circle { fill: rgba(255, 255, 255, 0.13); stroke: rgba(255, 255, 255, 0.24); stroke-width: 1; transform-box: fill-box; transform-origin: center; transform: scale(0.2); opacity: 0; transition: transform 0.6s var(--ease), opacity 0.4s; transition-delay: calc(var(--k) * 9ms); }
.ds-map .is-dev { fill: var(--accent); stroke: none; }
.ds-map .is-sniper { fill: rgba(255, 178, 36, 0.22); stroke: var(--amber); }
.ds-map .is-fresh { fill: rgba(255, 255, 255, 0.03); stroke: rgba(255, 255, 255, 0.5); stroke-dasharray: 2.2 2; }
.ds-panel.is-on .ds-map circle { transform: none; opacity: 1; }
.ds-map text { fill: var(--accent-ink); font: 700 9.5px/1 var(--font); text-anchor: middle; }
.ds-map figcaption { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; color: var(--muted); font-size: 11.5px; }
.ds-map figcaption span { display: inline-flex; align-items: center; gap: 6px; }
.ds-map figcaption i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); }
.ds-map figcaption .is-dev { background: var(--accent); box-shadow: none; }
.ds-map figcaption .is-sniper { background: rgba(255, 178, 36, 0.3); box-shadow: inset 0 0 0 1px var(--amber); }
.ds-map figcaption .is-fresh { background: none; box-shadow: none; border: 1px dashed rgba(255, 255, 255, 0.6); }
.ds-nolinks { margin-left: auto; color: var(--text); font-weight: 600; }
.ds-shares { display: grid; align-content: space-evenly; gap: 0; margin: 0; padding-block: 4px; }
.ds-shares div { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); }
.ds-shares div:first-child { border-top: 0; }
.ds-shares dt { color: var(--muted); font-size: 12.5px; }
.ds-shares dd { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 13.5px; font-weight: 600; }
.ds-shares i { position: relative; width: 56px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.09); overflow: hidden; }
.ds-shares i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: calc(var(--w) * 5); border-radius: inherit; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease) 0.15s; }
.ds-shares i.is-warn::after { background: var(--amber); }
.ds-panel.is-on .ds-shares i::after { transform: none; }
.ds-fees-num { margin-top: 8px; color: var(--muted); font-size: 12.5px; }
.ds-fees-num b { color: var(--text); font-size: 13.5px; font-weight: 600; }
.ds-scale { position: relative; display: grid; grid-template-columns: 12.5% 12.5% 75%; gap: 2px; height: 6px; margin-top: 12px; }
.ds-scale i { border-radius: 2px; }
.ds-scale i:nth-child(1) { background: rgba(255, 91, 97, 0.45); }
.ds-scale i:nth-child(2) { background: rgba(255, 178, 36, 0.45); }
.ds-scale i:nth-child(3) { background: rgba(62, 224, 143, 0.45); }
.ds-scale b { position: absolute; top: -5px; left: var(--at); width: 3px; height: 16px; margin-left: -1.5px; border-radius: 2px; background: var(--accent); box-shadow: 0 0 0 2px #151515; transform: translateX(calc(var(--at) * -1)); transform-origin: left; transition: transform 0.9s var(--ease) 0.2s; }
.ds-panel.is-on .ds-scale b { transform: none; }
.ds-scale-keys { display: grid; grid-template-columns: 25% 25% 50%; margin-top: 7px; color: var(--faint); font-size: 10.5px; }
.ds-scale-keys span:nth-child(2) { text-align: center; }
.ds-scale-keys span:nth-child(3) { text-align: right; }
.ds-fees .ds-label span { color: var(--green); font-weight: 600; }

/* Verdict */
.ds-verdict { display: grid; grid-template-rows: auto 1fr auto; gap: 10px; }
.ds-score { display: grid; grid-template-columns: 100px minmax(0, 1fr); align-items: center; gap: 24px; }
.ds-ring { position: relative; width: 100px; height: 100px; }
.ds-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ds-ring circle { fill: none; stroke: rgba(255, 255, 255, 0.1); stroke-width: 7; }
.ds-ring .ds-ring-val { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 91 100; stroke-dashoffset: 91; transition: stroke-dashoffset 1.1s var(--ease) 0.1s; }
.ds-panel.is-on .ds-ring-val { stroke-dashoffset: 0; }
.ds-ring p { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ds-ring b { font: 600 29px/1 var(--display); letter-spacing: -0.05em; }
.ds-ring span { margin-top: 3px; color: var(--faint); font-size: 11.5px; }
.ds-break { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ds-break li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 4px 10px; font-size: 12.5px; }
.ds-break span { color: var(--muted); }
.ds-break b { grid-area: 1 / 2; font-weight: 600; }
.ds-break small { color: var(--faint); font-size: 11px; font-weight: 500; }
.ds-break i { grid-area: 2 / 1 / 3 / 3; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--accent) var(--w), rgba(255, 255, 255, 0.09) var(--w)); transform: scaleX(0); transform-origin: left; transition: transform 0.8s var(--ease) 0.15s; }
.ds-panel.is-on .ds-break i { transform: none; }
.ds-rules ul { display: grid; margin: 6px 0 0; padding: 0; list-style: none; }
.ds-rules li { display: flex; align-items: center; gap: 9px; padding: 6px 0; border-top: 1px solid var(--line); font-size: 13px; }
.ds-rules li::before { content: ''; width: 16px; height: 16px; flex: none; border-radius: 50%; background: var(--accent) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4.5 8.5l2.3 2.3L11.5 6' fill='none' stroke='%230a0a0a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 12px no-repeat; transform: scale(0); transition: transform 0.35s var(--ease); }
.ds-panel.is-on .ds-rules li::before { transform: none; }
.ds-rules li:nth-child(2)::before { transition-delay: 0.08s; }
.ds-rules li:nth-child(3)::before { transition-delay: 0.16s; }
.ds-rules li:nth-child(4)::before { transition-delay: 0.24s; }
.ds-rules li:nth-child(5)::before { transition-delay: 0.32s; }
.ds-rules li span { flex: 1; min-width: 0; }
.ds-rules li b { font-weight: 600; }
.ds-opened { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); }
.ds-opened svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ds-opened b { font-size: 14px; font-weight: 600; }
.ds-opened span { margin-left: auto; overflow: hidden; color: rgba(10, 10, 10, 0.55); font: 500 12px/1.2 var(--mono); white-space: nowrap; text-overflow: ellipsis; }

/* Narrower screens: no pinning, the tabs switch on their own */
@media (max-width: 1180px) {
  .ds-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'head' 'stage' 'steps' 'more'; }
  .ds-head { margin-bottom: 40px; }
  .ds-stage { position: relative; top: 0; max-width: 780px; width: 100%; justify-self: center; }
  .ds-steps { display: grid; gap: 18px; max-width: 780px; width: 100%; justify-self: center; padding: 22px 0 0; }
  .ds-step { min-height: 0; }
  .js .ds-step { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0s 0.35s; }
  .js .ds-step.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
  .ds-step h3 { font-size: 20px; }
  .ds-step p { max-width: 640px; margin-top: 8px; font-size: 16px; }
  .ds-more { margin-top: 28px; }
}
@container dossier (max-width: 600px) {
  .ds-coin { flex-wrap: wrap; padding: 12px 14px; }
  .ds-kpis { flex-basis: 100%; margin: 4px 0 0; padding-top: 10px; border-top: 1px solid var(--line); }
  .ds-kpis div { flex: 1; padding: 0 10px; }
  .ds-kpis div:first-child { padding-left: 0; border-left: 0; }
  .ds-tabs { padding: 0 4px; overflow-x: auto; scrollbar-width: none; }
  .ds-tabs button { padding: 0 9px; font-size: 13px; }
  .ds-tabs i { display: none; }
  .ds-panels { padding: 12px 14px 14px; }
  .ds-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ds-tiles dd { font-size: 17px; }
  .ds-hist { margin-top: 12px; }
  .ds-table { font-size: 12.5px; }
  .ds-table th, .ds-table td { padding-inline: 4px; }
  .ds-table tr > :nth-child(2) { display: none; }
  .ds-peak::before { display: none; }
  .ds-x, .ds-holders { grid-template-columns: minmax(0, 1fr); }
  .ds-panel > * { align-self: start; }
  .ds-x .ds-col:first-child, .ds-x .ds-col:last-child, .ds-holders .ds-col, .ds-verdict { grid-template-rows: none; }
  .ds-box { padding: 10px 12px; }
  .ds-mini { margin-top: 10px; padding-top: 9px; }
  .ds-tweet { margin-top: 8px; }
  .ds-tweet > img, .ds-tweet-img, .ds-engage, .ds-tweet p:first-child { display: none; }
  .ds-tweet p + p { margin-top: 0; }
  .ds-tweet code { display: none; }
  .ds-note { margin-top: 8px; padding-top: 8px; }
  .ds-col, .ds-x, .ds-holders, .ds-verdict { gap: 8px; }
  .ds-row { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; }
  .ds-line { display: contents; }
  .ds-line span { flex-basis: 100%; }
  .ds-promo { height: auto; padding-top: 4px; }
  .ds-promo li { grid-template-columns: 20px auto minmax(0, 1fr) auto; gap: 8px; padding: 2px 0; font-size: 12.5px; }
  .ds-promo img { width: 20px; height: 20px; border-radius: 5px; }
  .ds-follow { gap: 10px; }
  .ds-faces img, .ds-faces i { width: 21px; height: 21px; margin-left: -7px; }
  .ds-follow p { font-size: 12.5px; }
  .ds-map svg { max-height: 180px; }
  .ds-map figcaption { margin-top: 8px; }
  .ds-shares { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 0; background: none; box-shadow: none; }
  .ds-shares div, .ds-shares div:first-child { display: block; padding: 8px 10px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, 0.04); box-shadow: var(--card-hi); }
  .ds-shares dt { font-size: 11.5px; }
  .ds-shares dd { margin-top: 3px; }
  .ds-shares i { display: none; }
  .ds-score { grid-template-columns: 96px minmax(0, 1fr); gap: 18px; }
  .ds-ring { width: 96px; height: 96px; }
  .ds-ring b { font-size: 27px; }
  .ds-break { gap: 7px; }
  .ds-rules li { padding: 7px 0; }
  .ds-opened span { display: none; }
}
@container dossier (max-width: 400px) {
  .ds-dev .ds-pass { display: none; }
  .ds-table tbody th img { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .dossier *, .dossier *::before, .dossier *::after { transition-duration: 0s !important; transition-delay: 0s !important; }
}

/* Six tabs, or one window: the check done by hand across six sites against one Tari Flip card. */
.rt-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 16px; margin-top: 64px; }
.rt-side { display: flex; flex-direction: column; min-width: 0; padding: 28px; border-radius: 26px; background: linear-gradient(180deg, var(--card-2), var(--card)); box-shadow: var(--card-hi), 0 0 0 1px var(--line); }
.rt-top h3 { font: 600 21px/1.2 var(--display); letter-spacing: -0.035em; }
.rt-top p { margin-top: 6px; color: var(--muted); font-size: 15px; }

/* By hand: one browser with a tab per site; each step brings its tab to the front and marks what you'd click */
.rtb { container: rtb / inline-size; margin-top: 24px; border-radius: 14px; overflow: hidden; background: #232323; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 30px 60px -24px rgba(0, 0, 0, 0.9); font-feature-settings: 'tnum' 1; }
.rtb-tabs { display: flex; align-items: flex-end; height: 40px; padding: 0 8px 0 12px; background: #141414; }
.rtb-lights { display: flex; gap: 6px; align-self: center; margin-right: 12px; }
.rtb-lights i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.rtb-tab { position: relative; display: flex; flex: 1 1 0; align-items: center; gap: 7px; min-width: 0; max-width: 190px; height: 32px; padding: 0 10px; border-radius: 9px 9px 0 0; color: #8d8d8d; font-size: 11.5px; transition: background 0.3s, color 0.3s; }
.rtb-tab::before { content: ''; position: absolute; left: 0; top: 9px; bottom: 9px; width: 1px; background: rgba(255, 255, 255, 0.12); transition: opacity 0.3s; }
.rtb-lights + .rtb-tab::before, .rtb-tab.is-on::before, .rtb-tab.is-on + .rtb-tab::before { opacity: 0; }
.rtb-tab.is-on { background: #232323; color: #ececec; }
.rtb-tab img, .rtb-x { width: 14px; height: 14px; flex: none; border-radius: 3px; }
.rtb-x { padding: 2px; background: #000; fill: #fff; }
.rtb-tab > span { overflow: hidden; white-space: nowrap; -webkit-mask-image: linear-gradient(90deg, #000 78%, transparent); mask-image: linear-gradient(90deg, #000 78%, transparent); }
.rtb-bar { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.rtb-nav { width: 64px; height: 16px; flex: none; fill: none; stroke: #8a8a8a; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.rtb-url { display: flex; flex: 1; align-items: center; gap: 8px; min-width: 0; height: 26px; padding: 0 12px; border-radius: 13px; background: #171717; color: #c4c4c4; font: 500 11.5px/1 var(--mono); }
.rtb-url svg { width: 12px; height: 12px; flex: none; fill: none; stroke: #8a8a8a; stroke-width: 1.4; }
.rtb-url span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.rtb-view { display: grid; height: 300px; background: #0e0e0e; }
.rtp { grid-area: 1 / 1; min-width: 0; min-height: 0; overflow: hidden; padding: 16px; color: #d8d8d8; font-size: 12px; line-height: 1.3; opacity: 0; visibility: hidden; transition: opacity 0.35s var(--ease), visibility 0s 0.35s; }
.rtp.is-on { opacity: 1; visibility: visible; transition-delay: 0s; }
.rtp p, .rtp ul, .rtp ol { margin: 0; }
.rtp code { font: 500 11px/1.2 var(--mono); }
.rtp [data-hot] { position: relative; border-radius: 6px; transition: box-shadow 0.3s; }
.rtp [data-hot].is-hot { box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.85); }
.rtp [data-hot]::after { content: ''; position: absolute; right: -10px; bottom: -14px; z-index: 2; width: 16px; height: 18px; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 18'><path d='M2 1.5v13l3.4-3.2 2.3 5.2 2.4-1-2.3-5.1h4.7z' fill='%23fff' stroke='%23000' stroke-width='1.2' stroke-linejoin='round'/></svg>") center / contain no-repeat; opacity: 0; transform: translate(12px, 10px); transition: opacity 0.3s, transform 0.5s var(--ease); pointer-events: none; }
.rtp [data-hot].is-hot::after { opacity: 1; transform: none; transition-delay: 0.2s; }

/* pump.fun */
.rtp-pump { display: grid; grid-template-columns: minmax(0, 1fr) 168px; gap: 14px; background: #15161b; }
.pf-main { display: flex; flex-direction: column; min-width: 0; }
.pf-coin { display: flex; align-items: center; gap: 10px; }
.pf-coin img { width: 34px; height: 34px; border-radius: 8px; }
.pf-coin b { display: block; font-size: 13.5px; }
.pf-coin span { color: #8a8a8a; font-size: 11px; }
.pf-coin p { margin-left: auto; text-align: right; }
.pf-coin p span { display: block; font-size: 10.5px; }
.pf-coin p b { color: #86efac; font-size: 14px; }
.pf-chart { flex: 1; width: 100%; min-height: 0; margin-top: 10px; border-radius: 8px; background: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 100% 25%; }
.pf-chart .is-up { fill: #86efac; stroke: #86efac; stroke-width: 1; vector-effect: non-scaling-stroke; }
.pf-chart .is-down { fill: #f87171; stroke: #f87171; stroke-width: 1; vector-effect: non-scaling-stroke; }
.pf-ca { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 6px 7px 6px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); }
.pf-ca span { color: #8a8a8a; font-size: 10.5px; }
.pf-ca code { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pf-ca b { padding: 4px 10px; background: rgba(255, 255, 255, 0.1); font-size: 11px; font-weight: 600; }
.pf-side { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 10px; background: #1d1e24; }
.pf-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.pf-tabs span { padding: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.05); color: #8a8a8a; font-size: 11px; font-weight: 600; text-align: center; }
.pf-tabs .is-on { background: #86efac; color: #0b0b0b; }
.pf-amt { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 10px; border-radius: 7px; background: #15161b; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.pf-amt span { font-size: 13px; font-weight: 600; }
.pf-amt i { color: #8a8a8a; font-size: 11px; font-style: normal; }
.pf-quick { display: flex; gap: 4px; }
.pf-quick span { flex: 1; padding: 4px 0; border-radius: 5px; background: rgba(255, 255, 255, 0.05); color: #a0a0a0; font-size: 10.5px; text-align: center; }
.pf-btn { padding: 8px; border-radius: 7px; background: #86efac; color: #0b0b0b; font-size: 11.5px; font-weight: 700; text-align: center; }
.pf-small { margin-top: auto !important; color: #8a8a8a; font-size: 10.5px; }
.pf-curve { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.pf-curve i { display: block; width: var(--p); height: 100%; border-radius: inherit; background: #86efac; }

/* Solscan */
.rtp-solscan { background: #101215; }
.ss-head { display: flex; align-items: center; gap: 8px; }
.ss-head b { font-size: 14px; }
.ss-head code { padding: 3px 7px; color: #34d3b4; }
.ss-head span { margin-left: auto; padding: 3px 8px; border-radius: 999px; background: rgba(52, 211, 180, 0.12); color: #34d3b4; font-size: 10.5px; font-weight: 600; white-space: nowrap; }
.ss-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px !important; }
.ss-cards p { padding: 9px 10px; border-radius: 8px; background: #171a1e; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.ss-cards span { display: block; color: #8a8a8a; font-size: 10.5px; }
.ss-cards b { display: block; margin-top: 3px; font-size: 13px; font-weight: 600; }
.ss-cards .ss-link { color: #34d3b4; font: 500 12px/1.3 var(--mono); }
.ss-tabs { display: flex; gap: 6px; margin-top: 12px !important; }
.ss-tabs span { padding: 5px 9px; border-radius: 7px; color: #8a8a8a; font-size: 11px; }
.ss-tabs .is-on { background: #1c2024; color: #e5e5e5; }
.ss-rows { margin-top: 8px !important; padding: 0; list-style: none; }
.ss-rows li { display: grid; grid-template-columns: 84px 56px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 7px 2px; border-top: 1px solid rgba(255, 255, 255, 0.06); color: #a0a0a0; font-size: 11px; }
.ss-rows code { color: #34d3b4; }
.ss-rows em { justify-self: start; padding: 1px 6px; border-radius: 4px; background: rgba(255, 255, 255, 0.06); font-size: 10px; font-style: normal; }
.ss-rows span { color: #d8d8d8; font-weight: 600; }
.ss-rows i { color: #6f6f6f; font: 500 10.5px/1 var(--mono); font-style: normal; }

/* X */
.rtp-x { padding: 0; background: #000; }
.xs-top { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 12px; }
.xs-top > svg { width: 14px; height: 14px; flex: none; fill: none; stroke: #e7e9ea; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.xs-top p b { display: block; font-size: 13px; }
.xs-top p span { color: #71767b; font-size: 10.5px; }
.xs-search { display: flex; align-items: center; gap: 6px; min-width: 0; margin-left: auto; padding: 6px 12px; border-radius: 999px !important; background: #202327; color: #e7e9ea; }
.xs-search svg { width: 11px; height: 11px; flex: none; fill: none; stroke: #71767b; stroke-width: 1.6; }
.xs-search code { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.xs-banner { height: 62px; background: linear-gradient(120deg, #1f3b37, #34524a 50%, #5c5037); }
.xs-id { display: flex; align-items: flex-end; justify-content: space-between; margin-top: -28px; padding: 0 12px; }
.xs-id img { width: 52px; height: 52px; border-radius: 50%; box-shadow: 0 0 0 3px #000; }
.xs-follow { padding: 5px 14px; border-radius: 999px; background: #eff3f4; color: #0f1419; font-size: 11px; font-weight: 700; }
.xs-name { margin: 6px 12px 0 !important; }
.xs-name b { display: block; font-size: 14px; }
.xs-name span { color: #71767b; font-size: 11.5px; }
.xs-bio { margin: 6px 12px 0 !important; color: #e7e9ea; }
.xs-meta { margin: 6px 12px 0 !important; color: #71767b; font-size: 11.5px; }
.xs-meta span { display: inline-flex; align-items: center; gap: 5px; margin-left: -4px; padding: 2px 5px; }
.xs-meta svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.xs-counts { margin: 6px 12px 0 !important; color: #71767b; font-size: 11.5px; }
.xs-counts b { margin-right: 4px; color: #e7e9ea; }
.xs-counts b + b, .xs-counts b:nth-of-type(2) { margin-left: 12px; }
.xs-tabs { display: flex; margin-top: 10px !important; border-bottom: 1px solid #2f3336; }
.xs-tabs span { flex: 1; padding: 8px 0; color: #71767b; font-size: 11.5px; font-weight: 600; text-align: center; }
.xs-tabs .is-on { color: #e7e9ea; box-shadow: inset 0 -3px 0 #1d9bf0; }

/* Bubblemaps */
.rtp-bm { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 12px; background: #0f0d1f; }
.bm-map { width: 100%; height: 100%; min-height: 0; }
.bm-map circle { stroke-width: 1.2; }
.bm-map .is-a { fill: rgba(192, 132, 252, 0.22); stroke: #c084fc; }
.bm-map .is-b { fill: rgba(244, 114, 182, 0.2); stroke: #f472b6; }
.bm-map .is-c { fill: rgba(96, 165, 250, 0.2); stroke: #60a5fa; }
.bm-map .is-d { fill: rgba(167, 139, 250, 0.22); stroke: #a78bfa; }
.bm-map .is-e { fill: rgba(232, 121, 249, 0.2); stroke: #e879f9; }
.bm-side { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); }
.bm-title { display: flex; justify-content: space-between; align-items: baseline; }
.bm-title b { font-size: 12.5px; }
.bm-title span { color: #8f8aa8; font-size: 10.5px; }
.bm-row { display: flex; justify-content: space-between; gap: 10px; padding: 6px 8px; background: rgba(192, 132, 252, 0.12); font-size: 11px; }
.bm-row span { color: #c9c3e6; }
.bm-list { padding: 0; list-style: none; counter-reset: bm; }
.bm-list li { display: flex; gap: 6px; padding: 5px 0; border-top: 1px solid rgba(255, 255, 255, 0.06); font-size: 10.5px; counter-increment: bm; }
.bm-list li::before { content: '#' counter(bm); width: 16px; color: #8f8aa8; }
.bm-list code { flex: 1; min-width: 0; color: #d8d4f0; font-size: 10.5px; }
.bm-list b { font-weight: 600; }

/* GMGN */
.rtp-gmgn { background: #101113; }
.gm-head { display: flex; align-items: center; gap: 8px; }
.gm-head img { width: 28px; height: 28px; border-radius: 50%; }
.gm-head b { font-size: 13.5px; }
.gm-head span { font-size: 13px; font-weight: 600; }
.gm-head em { color: #88d693; font-size: 11.5px; font-style: normal; font-weight: 600; }
.gm-stats { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px -3px 0 !important; padding: 3px; border-radius: 9px !important; }
.gm-stats span { padding: 4px 8px; border-radius: 6px; background: #1a1c1f; color: #9a9a9a; font-size: 10.5px; }
.gm-stats b { color: #88d693; font-weight: 600; }
.gm-tabs { display: flex; gap: 14px; margin-top: 10px !important; padding-bottom: 6px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); color: #7c7c7c; font-size: 11px; }
.gm-tabs .is-on { color: #f2f2f2; font-weight: 600; }
.gm-rows { padding: 0; list-style: none; }
.gm-rows li { display: grid; grid-template-columns: 18px 84px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); font-size: 11px; }
.gm-rows i { color: #6f6f6f; font-style: normal; }
.gm-rows code { color: #c9c9c9; }
.gm-rows span { justify-self: start; padding: 1px 6px; border-radius: 4px; background: rgba(255, 255, 255, 0.06); color: #a8a8a8; font-size: 10px; }
.gm-rows span:empty { visibility: hidden; }
.gm-rows .is-sniper { background: rgba(251, 191, 36, 0.12); color: #fbbf24; }
.gm-rows .is-dev { background: rgba(96, 165, 250, 0.12); color: #60a5fa; }
.gm-rows b { color: #e5e5e5; font-weight: 600; }

/* Axiom */
.rtp-axiom { display: flex; flex-direction: column; background: #0b0b0f; }
.ax-top { display: flex; align-items: center; gap: 12px; }
.ax-top img { width: 20px; height: 20px; flex: none; }
.ax-search { display: flex; flex: 1; align-items: center; gap: 7px; min-width: 0; padding: 7px 10px; border-radius: 8px !important; background: #16161d; color: #e5e5e5; }
.ax-search svg { width: 11px; height: 11px; flex: none; fill: none; stroke: #8a8a8a; stroke-width: 1.6; }
.ax-search code { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ax-caret { width: 1px; height: 12px; flex: none; margin-left: -4px; background: #e5e5e5; animation: rt-caret 1s steps(1) infinite; }
@keyframes rt-caret { 50% { opacity: 0; } }
.ax-result { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 9px 10px; border-radius: 8px; background: #13131a; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.ax-result img { width: 30px; height: 30px; border-radius: 7px; }
.ax-result b { display: block; font-size: 12.5px; }
.ax-result span { color: #8a8a8a; font-size: 10.5px; }
.ax-mc { margin-left: auto !important; text-align: right; }
.ax-buy { padding: 6px 14px; border-radius: 999px; background: #526fff; color: #fff !important; font-size: 11px !important; font-weight: 700; }
.ax-chart { flex: 1; width: 100%; min-height: 0; margin-top: 10px; }
.ax-area { fill: rgba(46, 189, 133, 0.12); }
.ax-line { fill: none; stroke: #2ebd85; stroke-width: 1.6; stroke-linejoin: round; vector-effect: non-scaling-stroke; }

@container rtb (max-width: 520px) {
  .rtb-tabs { padding: 0 6px; }
  .rtb-lights, .rtb-nav { display: none; }
  .rtb-tab { flex: 0 0 auto; padding: 0 9px; }
  .rtb-tab > span { display: none; }
  .rtb-tab.is-on { flex: 1 1 auto; }
  .rtb-tab.is-on > span { display: block; }
  .rtb-bar { padding: 0 8px; }
  .rtb-view { height: 256px; }
  .rtp { padding: 12px; }
  .rtp-pump { grid-template-columns: minmax(0, 1fr); }
  .pf-side { display: none; }
  .ss-head span { display: none; }
  .ss-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ss-cards p:nth-child(3) { display: none; }
  .ss-rows li { grid-template-columns: 76px 50px minmax(0, 1fr); }
  .ss-rows i { display: none; }
  .xs-top p { display: none; }
  .xs-search { margin-left: 0; }
  .rtp-bm { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); gap: 8px; }
  .bm-side { order: -1; flex-direction: row; align-items: center; justify-content: space-between; padding: 6px 8px; }
  .bm-title span, .bm-list { display: none; }
  .gm-rows li { grid-template-columns: 14px 76px minmax(0, 1fr) auto; }
}

.rt-list { flex: 1; columns: 2; column-gap: 24px; margin: 22px 0 0; padding: 0; list-style: none; counter-reset: rt; }
.rt-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 1px 10px; padding: 8px 0; break-inside: avoid; counter-increment: rt; color: var(--faint); transition: color 0.3s; }
.rt-list li::before { content: counter(rt); grid-row: span 2; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); font: 600 11px/1 var(--mono); transition: background 0.3s, color 0.3s, box-shadow 0.3s; }
.rt-list b { font-size: 14px; font-weight: 600; line-height: 1.35; }
.rt-list span { font-size: 12px; }
.rt-list li.is-done { color: var(--muted); }
.rt-list li.is-done::before { content: ''; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4.5 8.5l2.3 2.3L11.5 6' fill='none' stroke='%23a3a3a3' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 12px no-repeat; }
.rt-list li.is-now { color: var(--text); }
.rt-list li.is-now::before { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.rt-list li.is-now span { color: var(--muted); }

/* With Tari Flip: one card */
.rt-tari { background: radial-gradient(420px 300px at 70% 0%, rgba(255, 255, 255, 0.06), transparent 70%), linear-gradient(180deg, var(--card-2), var(--card)); box-shadow: var(--card-hi), 0 0 0 1px var(--line-2); }
.rt-card { display: flex; flex-direction: column; flex: 1; margin-top: 24px; padding: 18px; border-radius: 18px; background: #1b1b1b; box-shadow: var(--card-hi), 0 0 0 1px var(--line-2), 0 30px 70px -30px rgba(0, 0, 0, 0.9); font-feature-settings: 'tnum' 1; }
.rtc-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.rtc-head img { width: 44px; height: 44px; border-radius: 11px; flex: none; }
.rtc-head div { min-width: 0; }
.rtc-head b { display: block; font-size: 16px; font-weight: 600; }
.rtc-head div span { display: block; margin-top: 4px; overflow: hidden; color: var(--faint); font: 500 12px/1.2 var(--mono); white-space: nowrap; text-overflow: ellipsis; }
.rtc-score { display: grid; justify-items: center; margin-left: auto; padding: 6px 12px; border-radius: 11px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px var(--line-2); }
.rtc-score b { font: 600 22px/1 var(--display); letter-spacing: -0.04em; }
.rtc-score span { margin-top: 3px; color: var(--faint); font-size: 10.5px; }
.rtc-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
.rtc-kpis div { padding: 0 14px; border-left: 1px solid var(--line); }
.rtc-kpis div:first-child { padding-left: 0; border-left: 0; }
.rtc-kpis dt { color: var(--faint); font-size: 11.5px; }
.rtc-kpis dd { display: flex; align-items: center; gap: 8px; margin: 4px 0 0; font-size: 14px; font-weight: 600; }
.rtc-kpis i { position: relative; flex: 1; max-width: 64px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.rtc-kpis i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--p); border-radius: inherit; background: var(--accent); }
.rtc-rows { margin: 2px 0 0; padding: 0; list-style: none; }
.rtc-rows li { display: grid; grid-template-columns: 96px minmax(0, 1fr) 16px; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.rtc-rows li::after { content: ''; width: 16px; height: 16px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4.5 8.5l2.3 2.3L11.5 6' fill='none' stroke='%23ededed' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 12px no-repeat; }
.rtc-rows li > span { color: var(--faint); font-size: 12.5px; }
.rtc-rows p { display: flex; align-items: center; gap: 8px; font-size: 13.5px; line-height: 1.4; }
.rtc-faces { display: inline-flex; flex: none; }
.rtc-faces img { width: 20px; height: 20px; margin-left: -6px; border-radius: 50%; box-shadow: 0 0 0 2px #1b1b1b; }
.rtc-faces img:first-child { margin-left: 0; }
.rtc-break { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 16px 0 0; padding: 0; list-style: none; }
.rtc-break li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 6px 6px; font-size: 12px; }
.rtc-break span { overflow: hidden; color: var(--faint); white-space: nowrap; text-overflow: ellipsis; }
.rtc-break b { grid-area: 1 / 2; font-size: 12.5px; font-weight: 600; }
.rtc-break small { color: var(--faint); font-size: 10.5px; font-weight: 500; }
.rtc-break i { grid-area: 2 / 1 / 3 / 3; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--accent) var(--w), rgba(255, 255, 255, 0.09) var(--w)); }
.rtc-rule { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; font-size: 13.5px; }
.rtc-rule b { font-weight: 600; }
.rtc-rule span { color: var(--muted); }
.rtc-open { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 13px 14px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); }
.rtc-open svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rtc-open b { font-size: 14.5px; font-weight: 600; white-space: nowrap; }
.rtc-open span { margin-left: auto; overflow: hidden; color: rgba(10, 10, 10, 0.55); font: 500 12px/1.2 var(--mono); white-space: nowrap; text-overflow: ellipsis; }
.js .rtc-rows li, .js .rtc-break, .js .rtc-rule, .js .rtc-open { opacity: 0; transform: translateY(6px); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); transition-delay: calc(var(--r, 0) * 70ms); }
.js .rt-card.is-in .rtc-rows li, .js .rt-card.is-in .rtc-break, .js .rt-card.is-in .rtc-rule, .js .rt-card.is-in .rtc-open { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .rt-grid { grid-template-columns: minmax(0, 1fr); max-width: 720px; margin-inline: auto; }
}
@media (max-width: 720px) {
  .rt-grid { margin-top: 44px; }
  .rt-side { padding: 20px 16px; border-radius: 22px; }
  .rtb { margin-top: 18px; border-radius: 12px; }
  .rt-list { columns: 1; margin-top: 16px; }
  .rt-list li { display: flex; align-items: center; gap: 10px; padding: 5px 0; }
  .rt-list li::before { flex: none; }
  .rt-list b { font-size: 13.5px; }
  .rt-list span { margin-left: auto; padding-left: 8px; white-space: nowrap; }
  .rt-card { margin-top: 18px; padding: 14px; }
  .rtc-rows li { grid-template-columns: minmax(0, 1fr) 16px; gap: 2px 10px; padding: 8px 0; }
  .rtc-rows li > span { font-size: 11.5px; }
  .rtc-rows li::after { grid-area: 1 / 2 / 3 / 3; }
  .rtc-rows p { grid-row: 2; font-size: 13px; }
  .rtc-break { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; }
  .rtc-open span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .routine *, .routine *::before, .routine *::after { transition-duration: 0s !important; transition-delay: 0s !important; }
  .ax-caret { animation: none; }
}

/* Coverage: coins come in from every launchpad, pass through the angel and go out to the terminals. */
.route { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 320px) minmax(0, 1fr); align-items: center; gap: 120px; margin-top: 80px; }
.route-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.route-lines path { fill: none; stroke: rgba(255, 255, 255, 0.16); stroke-width: 1; }
.route-lines circle { fill: #fff; }
.route-col { position: relative; z-index: 1; display: grid; gap: 30px; }
.route-in { justify-items: end; }
.route-group { display: grid; justify-items: inherit; gap: 8px; }
.route-group > b { margin-bottom: 4px; color: var(--faint); font-size: 13px; font-weight: 500; }
.route-chip { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border-radius: 999px; background: var(--card-2); box-shadow: var(--card-hi), inset 0 0 0 1px var(--line-2); font-size: 15px; font-weight: 600; white-space: nowrap; }
.route-chip img { width: 24px; height: 24px; flex: none; border-radius: 7px; object-fit: contain; }
.route-out { justify-items: start; }
.route-out .route-chip { background: var(--card-2, #171717); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3), var(--card-hi, inset 0 1px 0 rgba(255, 255, 255, 0.06)); }
.route-core { position: relative; z-index: 1; display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02) 70%, transparent); box-shadow: inset 0 0 0 1px var(--line-2); }
.route-core .angel { width: 56%; }

/* Product features: the feature rows and the grid of smaller features on the Product page. */
.pf-rows { display: grid; gap: 16px; margin-top: 56px; }
.pf-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr); align-items: center; gap: 56px; padding: 16px; border-radius: 28px; background: linear-gradient(180deg, var(--card-2), var(--card)); box-shadow: var(--card-hi), 0 0 0 1px var(--line); }
.pf-row:nth-child(even) { grid-template-columns: minmax(0, 0.6fr) minmax(0, 1.4fr); }
.pf-row:nth-child(even) .pf-visual { order: 2; }
.pf-visual { display: grid; align-items: center; min-height: 340px; padding: 28px; border-radius: 18px; overflow: hidden; background: radial-gradient(520px 260px at 20% 0%, rgba(255, 255, 255, 0.045), transparent 70%), #0b0b0b; box-shadow: 0 0 0 1px var(--line); }
.pf-copy { padding: 12px 32px 12px 0; }
.pf-row:nth-child(even) .pf-copy { padding: 12px 0 12px 32px; }
.pf-copy h3, .pf-card h3 { font-family: var(--display); font-weight: 600; text-wrap: balance; }
.pf-copy h3 { font-size: clamp(24px, 2.5vw, 34px); line-height: 1.1; letter-spacing: -0.04em; }
.pf-copy p { margin-top: 16px; max-width: 420px; color: var(--muted); font-size: 17px; line-height: 1.55; }
.pf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.pf-card { display: flex; flex-direction: column; padding: 16px 16px 26px; border-radius: 24px; background: linear-gradient(180deg, var(--card-2), var(--card)); box-shadow: var(--card-hi), 0 0 0 1px var(--line); }
.pf-vis { display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; height: 236px; margin-bottom: 22px; padding: 18px; border-radius: 16px; overflow: hidden; background: radial-gradient(300px 160px at 50% 0%, rgba(255, 255, 255, 0.04), transparent 70%), #0b0b0b; box-shadow: 0 0 0 1px var(--line); }
.pf-vis > * { width: 100%; max-width: 330px; }
.pf-card h3 { padding: 0 8px; font-size: 19px; line-height: 1.2; letter-spacing: -0.035em; }
.pf-card p { margin-top: 10px; padding: 0 8px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.pf-section { --warn: #f5b544; --warn-soft: rgba(245, 181, 68, 0.14); }

/* Migration radar */
.frd { border-radius: 14px; overflow: hidden; background: #121212; box-shadow: var(--card-hi), 0 0 0 1px var(--line-2); font-size: 12.5px; font-feature-settings: 'tnum' 1; }
.frd-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.frd-head b { font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.frd-cols, .frd-row { display: grid; grid-template-columns: 30px minmax(0, 1.05fr) minmax(0, 1.4fr) 64px 60px 50px; align-items: center; gap: 12px; padding: 0 14px; }
.frd-cols { height: 30px; border-bottom: 1px solid var(--line); color: var(--faint); font-size: 11px; }
.frd-cols span:first-child { grid-column: 1 / 3; }
.frd-cols span:nth-child(2) { grid-column: 3 / 5; }
.frd-cols span:nth-child(n+3) { text-align: right; }
.frd-row { height: 50px; border-bottom: 1px solid var(--line); }
.frd-row:last-child { border-bottom: 0; }
.frd-row img { width: 30px; height: 30px; border-radius: 8px; }
.frd-row b { display: block; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frd-row small { display: block; margin-top: 2px; color: var(--faint); font: 500 10.5px/1.2 var(--mono); }
.frd-bar { height: 8px; border-radius: 4px; overflow: hidden; background: rgba(255, 255, 255, 0.07); }
.frd-bar i { display: block; width: var(--to); height: 100%; border-radius: 4px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.3), var(--accent)); }
.frd.is-on .frd-bar i { animation: frd-fill 7s var(--ease) infinite; }
.frd-row em { font: 600 12px/1 var(--mono); font-style: normal; text-align: right; }
.frd-row > span:nth-last-child(-n+2) { color: var(--muted); font: 500 12px/1 var(--mono); text-align: right; }
.frd-row.is-done { background: rgba(255, 255, 255, 0.04); }
.frd-row.is-done em { justify-self: end; padding: 5px 7px; border-radius: 6px; background: var(--accent); color: var(--accent-ink); font: 700 10.5px/1 var(--font); }
@keyframes frd-fill { 0%, 6% { width: var(--from); } 60%, 100% { width: var(--to); } }

/* Addresses from X: the post on the left is X's own dark UI. */
.fxa { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); align-items: center; gap: 18px; }
.fxa-post { padding: 16px 16px 14px; border-radius: 16px; background: #000; box-shadow: 0 0 0 1px #2f3336; color: #e7e9ea; font-family: -apple-system, 'Segoe UI', system-ui, sans-serif; }
.fxa-top { display: flex; align-items: center; gap: 10px; }
.fxa-top img { width: 38px; height: 38px; border-radius: 50%; }
.fxa-top b { display: block; font-size: 14.5px; font-weight: 700; }
.fxa-top small { display: block; color: #71767b; font-size: 13px; }
.fxa-top svg { align-self: flex-start; width: 16px; height: 16px; margin-left: auto; fill: #e7e9ea; }
.fxa-post p { margin-top: 10px; font-size: 15px; line-height: 1.4; }
.fxa-ca { word-break: break-all; }
.fxa-ca mark { padding: 1px 2px; border-radius: 4px; background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)) no-repeat 0 0 / 100% 100%; color: #fff; font: 500 13px/1.5 var(--mono); }
.fxa.is-on .fxa-ca mark { animation: fxa-mark 8s var(--ease) infinite; }
.fxa-post .fxa-meta { display: flex; gap: 16px; margin-top: 12px; color: #71767b; font-size: 13px; }
.fxa-meta b { color: #e7e9ea; font-weight: 600; }
.fxa-card { padding: 14px; border-radius: 16px; background: #1b1b1b; box-shadow: var(--card-hi), 0 0 0 1px var(--line-2), 0 24px 48px rgba(0, 0, 0, 0.5); }
.fxa-card-top { display: flex; align-items: center; gap: 10px; }
.fxa-card-top img { width: 34px; height: 34px; border-radius: 9px; }
.fxa-card-top b { display: block; font-size: 14px; font-weight: 600; }
.fxa-card-top small { display: block; margin-top: 2px; color: var(--faint); font-size: 11.5px; }
.fxa-checks { display: grid; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.fxa-checks li { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 9px; background: rgba(255, 255, 255, 0.05); font-size: 12.5px; }
.fxa-checks span { color: var(--muted); }
.fxa-checks b { margin-left: auto; font-weight: 600; text-align: right; }
.fxa-open { display: flex; justify-content: center; margin-top: 10px; padding: 10px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font-size: 13px; font-weight: 700; }
.fxa.is-on .fxa-card { animation: fxa-card 8s var(--ease) infinite; }
.fxa.is-on .fxa-checks li::after { animation: fxa-tick 8s var(--ease) infinite; }
.fxa.is-on .fxa-checks li:nth-child(2)::after { animation-name: fxa-tick-2; }
.fxa.is-on .fxa-checks li:nth-child(3)::after { animation-name: fxa-tick-3; }
.fxa.is-on .fxa-open { animation: fxa-open 8s var(--ease) infinite; }
@keyframes fxa-mark { 0%, 8% { background-size: 0 100%; } 22%, 100% { background-size: 100% 100%; } }
@keyframes fxa-card { 0%, 20% { opacity: 0; transform: translateX(12px); } 28%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes fxa-tick { 0%, 32% { transform: scale(0); } 36%, 100% { transform: scale(1); } }
@keyframes fxa-tick-2 { 0%, 38% { transform: scale(0); } 42%, 100% { transform: scale(1); } }
@keyframes fxa-tick-3 { 0%, 44% { transform: scale(0); } 48%, 100% { transform: scale(1); } }
@keyframes fxa-open { 0%, 52% { opacity: 0; transform: translateY(6px); } 58%, 100% { opacity: 1; transform: none; } }

/* Terminal overlay: a token page in a terminal (third-party UI, so its candles and Buy button keep their colours) with the Tari Flip panel pinned on it. */
.ftm { border-radius: 14px; overflow: hidden; background: #0b0b0c; box-shadow: 0 0 0 1px var(--line-2); font-size: 12px; font-feature-settings: 'tnum' 1; }
.ftm-top { display: flex; align-items: center; gap: 16px; padding: 10px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.ftm-top > img { width: 28px; height: 28px; border-radius: 8px; }
.ftm-top > span:first-of-type { margin-left: -6px; }
.ftm-top b { display: block; font-size: 13.5px; font-weight: 600; }
.ftm-top small { display: block; color: var(--faint); font: 500 10.5px/1.3 var(--mono); }
.ftm-stat { font: 600 12.5px/1.2 var(--mono); }
.ftm-stat small { font-family: var(--font); }
.ftm-stat.is-up { color: var(--green); }
.ftm-tf { margin-left: auto; }
.ftm-tf > span { padding: 4px 8px; font: 500 11px/1.2 var(--mono); }
.ftm-body { display: grid; grid-template-columns: minmax(0, 1fr) 188px; }
.ftm-chart { position: relative; height: 312px; border-right: 1px solid rgba(255, 255, 255, 0.07); background: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 12px / 100% 52px; }
.ftm-candles { position: absolute; left: 12px; right: 12px; top: 24px; bottom: 16px; width: calc(100% - 24px); height: calc(100% - 40px); }
.ftm-candles path { stroke-width: 1; vector-effect: non-scaling-stroke; }
.ftm-up { fill: #3ee08f; stroke: #3ee08f; }
.ftm-down { fill: #ff5b61; stroke: #ff5b61; }
.fov { position: absolute; top: 14px; left: 14px; width: 200px; padding: 11px 12px 8px; border-radius: 12px; background: rgba(26, 26, 26, 0.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 16px 40px rgba(0, 0, 0, 0.6); }
.fov-top { display: flex; align-items: center; gap: 7px; margin-bottom: 4px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.fov-top img { width: 11px; height: 15px; }
.fov-top b { font-size: 12.5px; font-weight: 600; }
.fov-score { margin-left: auto; padding: 3px 7px; border-radius: 6px; background: var(--accent); color: var(--accent-ink); font: 700 11.5px/1 var(--mono); }
.fov p { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; font-size: 12px; }
.fov span { color: var(--muted); }
.fov p b { font-weight: 600; }
.ftm.is-on .fov { animation: fov-in 7s var(--ease) infinite; }
@keyframes fov-in { 0%, 8% { opacity: 0; transform: translateY(-8px); } 16%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.ftm-trade { display: grid; align-content: start; gap: 10px; padding: 12px; }
.ftm-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: 9px; background: rgba(255, 255, 255, 0.05); }
.ftm-tabs span { padding: 6px; border-radius: 7px; color: var(--muted); font-weight: 600; text-align: center; }
.ftm-tabs .is-on { background: rgba(62, 224, 143, 0.16); color: var(--green); }
.ftm-amts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.ftm-amts span { padding: 7px 0; border-radius: 7px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); color: var(--muted); font: 500 11.5px/1 var(--mono); text-align: center; }
.ftm-amts .is-on { box-shadow: inset 0 0 0 1px var(--green); color: var(--text); }
.ftm-in { display: flex; justify-content: space-between; padding: 9px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); }
.ftm-in span { color: var(--faint); }
.ftm-in b { font: 600 12px/1.2 var(--mono); }
.ftm-buy { padding: 10px; border-radius: 9px; background: var(--green); color: #04150c; font-weight: 700; text-align: center; }
.ftm-rows p { display: flex; justify-content: space-between; padding: 5px 0; color: var(--faint); font-size: 11.5px; }
.ftm-rows b { color: var(--muted); font-weight: 500; }

/* Grid: X Communities */
.fcm-top { display: flex; align-items: center; gap: 10px; }
.fcm-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #000; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); flex: none; }
.fcm-ico svg { width: 14px; height: 14px; fill: #fff; }
.fcm-top b { display: block; font-size: 14px; font-weight: 600; }
.fcm-top small { display: block; margin-top: 2px; color: var(--faint); font-size: 12px; }
.fcm-past { display: grid; gap: 5px; margin: 12px 0 0; padding: 0; list-style: none; }
.fcm-past li { display: flex; align-items: center; gap: 9px; padding: 6px 9px; border-radius: 9px; background: rgba(255, 255, 255, 0.05); font-size: 13px; }
.fcm-past img { width: 22px; height: 22px; border-radius: 6px; }
.fcm-past b { margin-left: auto; font: 600 12.5px/1 var(--mono); }
.fcm-foot { display: flex; justify-content: space-between; margin-top: 10px; padding: 0 2px; color: var(--muted); font-size: 12.5px; }
.fcm-foot b { color: var(--text); font: 600 12.5px/1.4 var(--mono); }

/* Grid: Attached posts (the post is X's UI) */
.fap-post { padding: 12px 14px; border-radius: 14px; background: #000; box-shadow: 0 0 0 1px #2f3336; color: #e7e9ea; font-family: -apple-system, 'Segoe UI', system-ui, sans-serif; }
.fap-top { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.fap-top img { width: 26px; height: 26px; border-radius: 50%; }
.fap-top b { font-weight: 700; }
.fap-top small { color: #71767b; font-size: 12.5px; }
.fap-post p { margin-top: 8px; font-size: 14px; }
.fap-tag { display: flex; align-items: center; gap: 8px; margin: 10px 2px 8px; color: var(--muted); font-size: 12px; }
.fap-tag::before { content: ''; width: 12px; height: 10px; border-left: 1.5px solid var(--faint); border-bottom: 1.5px solid var(--faint); border-radius: 0 0 0 4px; transform: translateY(-3px); }
.fap-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.fap-stats div { padding: 8px 10px; border-radius: 9px; background: rgba(255, 255, 255, 0.05); }
.fap-stats small { display: block; color: var(--faint); font-size: 11px; }
.fap-stats b { display: block; margin-top: 4px; font-size: 14px; font-weight: 600; }

/* Grid: Fee check */
.ffc-row { display: flex; align-items: center; gap: 10px; }
.ffc-row img { width: 28px; height: 28px; border-radius: 8px; }
.ffc-row b { display: block; font-size: 13.5px; font-weight: 600; }
.ffc-row small { display: block; margin-top: 2px; color: var(--faint); font-size: 11.5px; }
.ffc-row em { margin-left: auto; padding: 5px 8px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); font-size: 11.5px; font-style: normal; font-weight: 600; white-space: nowrap; }
.ffc-row.is-warn em { background: var(--warn-soft); color: var(--warn); }
.ffc-bar { height: 6px; margin: 11px 0 18px; border-radius: 3px; overflow: hidden; background: rgba(255, 255, 255, 0.07); }
.ffc-bar:last-child { margin-bottom: 0; }
.ffc-bar i { display: block; width: var(--w); height: 100%; border-radius: 3px; background: var(--accent); }
.ffc-bar.is-warn i { background: var(--warn); }

/* Grid: Linked wallets */
.flw svg { display: block; width: 100%; height: 132px; overflow: visible; }
.flw-lines path { fill: none; stroke: rgba(245, 181, 68, 0.45); stroke-width: 1.2; }
.flw-src { fill: #1c1c1c; stroke: var(--warn); stroke-width: 1.5; }
.flw-nodes circle { fill: var(--warn); }
.flw-text text { fill: var(--muted); font: 500 11px var(--mono); }
.flw-note { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; color: var(--muted); font-size: 12.5px; }
.flw-note span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.flw-note b { color: var(--warn); font-weight: 600; white-space: nowrap; }

/* Grid: Score */
.fsc { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 20px; }
.fsc-ring { position: relative; display: grid; place-items: center; width: 112px; height: 112px; }
.fsc-ring b { margin-top: -14px; font: 600 32px/1 var(--display); letter-spacing: -0.04em; }
.fsc-ring small { position: absolute; bottom: 26px; color: var(--faint); font-size: 11px; }
.fsc-parts { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.fsc-parts li { display: grid; grid-template-columns: 56px minmax(0, 1fr) 42px; align-items: center; gap: 8px; font-size: 12.5px; }
.fsc-parts span { color: var(--muted); }
.fsc-parts i { position: relative; height: 5px; border-radius: 3px; overflow: hidden; background: rgba(255, 255, 255, 0.08); }
.fsc-parts i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 3px; background: var(--accent); }
.fsc-parts b { font: 600 12px/1 var(--mono); text-align: right; }

/* Grid: Alerts on your phone (Telegram notifications keep Telegram's blue) */
.fph { display: grid; gap: 8px; }
.fph-note { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: start; gap: 10px; padding: 11px 12px; border-radius: 16px; background: rgba(44, 44, 46, 0.9); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 30px rgba(0, 0, 0, 0.35); font-family: -apple-system, 'SF Pro Text', system-ui, sans-serif; }
.fph-app { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(180deg, #2aabee, #229ed9); }
.fph-app svg { width: 16px; height: 16px; fill: #fff; transform: translateX(-1px); }
.fph-note b { display: block; font-size: 13px; font-weight: 600; }
.fph-note small { display: block; margin-top: 2px; color: #d0d0d0; font-size: 12.5px; line-height: 1.35; }
.fph-note time { color: #8e8e93; font-size: 11.5px; }
.fph-note:nth-child(2) { opacity: 0.6; transform: scale(0.97); }
.fph.is-on .fph-note:first-child { animation: fph-in 6s var(--ease) infinite; }
@keyframes fph-in { 0% { opacity: 0; transform: translateY(-12px) scale(0.97); } 10%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* Grid: Notes and lists */
.fnt-note { padding: 12px 14px; border-radius: 14px; background: #1b1b1b; box-shadow: var(--card-hi), 0 0 0 1px var(--line-2); }
.fnt-who { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.fnt-who code { padding: 3px 6px; border-radius: 5px; background: rgba(255, 255, 255, 0.07); font: 500 12px/1 var(--mono); }
.fnt-who span { color: var(--faint); font-size: 12px; }
.fnt-note p:last-child { font-size: 13.5px; line-height: 1.45; }
.fnt-lists { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.fnt-lists span { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 9px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--muted); font-size: 12.5px; }
.fnt-lists b { color: var(--text); font: 600 12.5px/1 var(--mono); }

/* Grid: Dev alerts */
.fda { display: grid; gap: 8px; }
.fda-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 13px; background: rgba(255, 255, 255, 0.05); box-shadow: var(--card-hi), 0 0 0 1px var(--line); }
.fda-row img { width: 30px; height: 30px; border-radius: 8px; }
.fda-row b { display: block; font-size: 13.5px; font-weight: 600; }
.fda-row small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }
.fda.is-on .fda-row { animation: fda-in 6s var(--ease) infinite; }
.fda.is-on .fda-row:nth-child(2) { animation-delay: 0.4s; }
.fda.is-on .fda-row:nth-child(3) { animation-delay: 0.8s; }
@keyframes fda-in { 0% { opacity: 0; transform: translateY(-12px) scale(0.97); } 10%, 84% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateY(6px); } }

/* Grid: Blacklist */
.fbl { display: grid; gap: 10px; }
.fbl-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 12px; background: rgba(255, 91, 97, 0.06); box-shadow: 0 0 0 1px rgba(255, 91, 97, 0.16); font: 500 13.5px/1 var(--mono); }
.fbl-row span { position: relative; }
.fbl-row span::after { content: ''; position: absolute; left: -2px; top: 50%; width: calc(100% + 4px); height: 1.5px; background: var(--red); }
.fbl.is-on .fbl-row span::after { animation: fbl-strike 6s var(--ease) infinite; }
.fbl.is-on .fbl-row:nth-child(2) span::after { animation-delay: 0.4s; }
.fbl.is-on .fbl-row:nth-child(3) span::after { animation-delay: 0.8s; }
.fbl-row em { color: var(--red); font: 600 12.5px/1 var(--font); font-style: normal; white-space: nowrap; }
@keyframes fbl-strike { 0%, 16% { width: 0; } 34%, 100% { width: calc(100% + 4px); } }

/* Product: the app window under the title, with five screens behind its tabs (product.js). */
/* The Product sections are dense panels, so they sit closer together than the default section rhythm. */
.section:is(.rb-section, .rpl-section, .pf-section, .ck-section) { padding-bottom: 48px; }
.page-hero.pw-hero { padding: 132px 0 0; overflow: visible; overflow-x: clip; }
.pw-hero::before { top: 236px; }
.pw-hero::after { -webkit-mask-image: radial-gradient(ellipse 60% 440px at 50% 240px, #000 10%, transparent 72%); mask-image: radial-gradient(ellipse 60% 440px at 50% 240px, #000 10%, transparent 72%); }
.pw-stage { position: relative; margin-top: 60px; }
.pw-stage::before { content: ''; position: absolute; left: 10%; right: 10%; top: -40px; height: 300px; z-index: -1; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.08), transparent); filter: blur(30px); pointer-events: none; }
.pw {
  --pw-bg: #0e0e0e;
  --pw-panel: #151515;
  --pw-line: rgba(255, 255, 255, 0.08);
  --pw-line-2: rgba(255, 255, 255, 0.14);
  container: pw / inline-size;
  position: relative; overflow: hidden;
  border-radius: 16px; background: var(--pw-bg);
  box-shadow: 0 0 0 1px var(--line-2), inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 70px 140px -50px rgba(0, 0, 0, 0.95);
  font: 500 12.5px/1.35 var(--font); font-feature-settings: 'tnum' 1; text-align: left;
}
.pw-bar { position: relative; display: flex; align-items: center; height: 40px; padding: 0 16px; border-bottom: 1px solid var(--pw-line); background: linear-gradient(rgba(255, 255, 255, 0.03), transparent); }
.pw-lights { display: flex; gap: 8px; }
.pw-lights i { width: 12px; height: 12px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.pw-name { position: absolute; left: 50%; display: flex; align-items: center; gap: 7px; font-weight: 600; transform: translateX(-50%); }
.pw-name img { width: 12px; height: 16px; }
.pw-net { display: flex; gap: 14px; margin-left: auto; color: var(--muted); font-size: 11.5px; }
.pw-net span { display: inline-flex; align-items: center; gap: 6px; }
.pw-net i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1); }
.pw-nav { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 12px 0 10px; border-bottom: 1px solid var(--pw-line); }
.pw-tabs { display: flex; gap: 2px; min-width: 0; }
.pw-tab { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 9px; color: var(--muted); font-size: 13.5px; font-weight: 600; white-space: nowrap; transition: color 0.2s, background 0.2s; }
.pw-tab svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pw-tab:hover { background: rgba(255, 255, 255, 0.04); color: var(--text); }
.pw-tab[aria-selected='true'] { background: rgba(255, 255, 255, 0.08); color: var(--text); box-shadow: inset 0 0 0 1px var(--pw-line); }
.pw-tab::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: -9px; height: 2px; border-radius: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.pw-tab[aria-selected='true']::after { transform: none; }
.pw.is-auto .pw-tab.is-timing::after { animation: pw-timer 7s linear both; }
@keyframes pw-timer { from { transform: scaleX(0); } to { transform: none; } }
.pw-badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); font-size: 10.5px; font-weight: 700; }
.pw-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.pw-pill { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 10px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--pw-line-2); color: var(--muted); font-size: 12px; white-space: nowrap; }
.pw-pill b { color: var(--text); font-weight: 600; }
.pw-pill b + b::before { content: '+ '; color: var(--faint); font-weight: 500; }
.pw-switch { position: relative; width: 26px; height: 16px; border-radius: 9px; background: rgba(255, 255, 255, 0.14); flex: none; }
.pw-switch::after { content: ''; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: #8a8a8a; }
.pw-switch.is-on { background: var(--accent); }
.pw-switch.is-on::after { background: var(--accent-ink); transform: translateX(10px); }
.pw-search { display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 6px 0 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.04); color: var(--faint); font-size: 12px; white-space: nowrap; }
.pw-search svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.pw-search kbd { margin-left: 18px; padding: 2px 5px; border-radius: 4px; background: rgba(255, 255, 255, 0.07); color: var(--muted); font: 500 10px/1 var(--mono); }
.pw-screens { position: relative; height: 568px; }
.pw-screen { position: absolute; inset: 0; overflow: hidden; }
.pw-screen[hidden] { display: none; }
.pw-screen:focus-visible { outline: 0; box-shadow: inset 0 0 0 2px var(--accent); border-radius: 0 0 16px 16px; }
.pw-screen:not([hidden]) { animation: pw-in 0.35s var(--ease); }
@keyframes pw-in { from { opacity: 0; transform: translateY(6px); } }
.pw-head { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 16px; border-bottom: 1px solid var(--pw-line); }
.pw-head-end { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; color: var(--faint); font-size: 12px; white-space: nowrap; }
.pw-title { font-size: 14px; font-weight: 600; }
.pw-seg { display: inline-flex; padding: 2px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); }
.pw-seg > span { padding: 5px 10px; border-radius: 6px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.pw-seg > .is-on { background: rgba(255, 255, 255, 0.1); color: var(--text); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4); }
:is(.pw, .rb, .rpl) .is-up { color: var(--green); }
:is(.pw, .rb, .rpl) .is-bad { color: var(--red); }

/* Feed screen */
.pw-cols, .pw-row { display: grid; grid-template-columns: minmax(0, 2fr) 40px 64px 52px minmax(0, 1.05fr) 50px 54px 88px minmax(0, 1.9fr); align-items: center; gap: 12px; padding: 0 16px; }
.pw-cols { height: 32px; border-bottom: 1px solid var(--pw-line); color: var(--faint); font-size: 11px; white-space: nowrap; }
.pw-rows { position: relative; height: calc(100% - 82px); overflow: hidden; }
.pw-rows::after { content: ''; position: absolute; inset: auto 0 0; height: 80px; background: linear-gradient(transparent, var(--pw-bg)); pointer-events: none; }
.pw-row { height: 48px; border-bottom: 1px solid var(--pw-line); }
.pw-c { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pw-token { display: flex; align-items: center; gap: 10px; }
.pw-token img { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08); flex: none; }
.pw-token > span { min-width: 0; }
.pw-token b { display: block; overflow: hidden; font-size: 13px; font-weight: 600; text-overflow: ellipsis; }
.pw-token small { display: block; margin-top: 2px; overflow: hidden; color: var(--faint); font: 500 10.5px/1.2 var(--mono); text-overflow: ellipsis; }
.pw-age, .pw-mc, .pw-dev, .pw-x, .pw-top, .pw-bun { color: var(--muted); font: 500 11.5px/1 var(--mono); }
.pw-mc { color: var(--text); }
.pw-c.is-bad { color: var(--red); }
.pw-score > span { display: flex; align-items: center; gap: 8px; font: 600 11.5px/1 var(--mono); }
.pw-score i { position: relative; flex: 1; height: 4px; border-radius: 2px; overflow: hidden; background: rgba(255, 255, 255, 0.08); }
.pw-score i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--s); border-radius: 2px; background: var(--muted); }
.pw-res { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; overflow: hidden; font-size: 11.5px; font-weight: 600; text-overflow: ellipsis; vertical-align: middle; }
.pw-res svg { width: 10px; height: 10px; fill: currentColor; flex: none; }
.pw-res.is-open { padding: 4px 9px; border-radius: 6px; background: var(--accent); color: var(--accent-ink); }
.pw-res.is-watch { padding: 3px 8px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--pw-line-2); color: var(--muted); }
.pw-res.is-bad { display: block; }
.pw-w { position: relative; }
.pw-w > * { transition: opacity 0.25s; }
.pw-w::after { content: ''; position: absolute; left: 0; top: 50%; width: min(70%, 64px); height: 8px; margin-top: -4px; border-radius: 4px; background: rgba(255, 255, 255, 0.09); opacity: 0; transition: opacity 0.2s; pointer-events: none; }
.pw-row.is-checking .pw-w > * { opacity: 0; }
.pw-row.is-checking .pw-w::after { opacity: 1; animation: pw-pulse 0.9s ease-in-out infinite; }
.pw-x > *, .pw-x::after { transition-delay: 0.12s; }
.pw-top > *, .pw-top::after, .pw-bun > *, .pw-bun::after { transition-delay: 0.24s; }
.pw-score > *, .pw-score::after { transition-delay: 0.34s; }
.pw-out > *, .pw-out::after { transition-delay: 0.44s; }
@keyframes pw-pulse { 50% { opacity: 0.4; } }

/* Dossier screen */
/* The tick and the score ring are shared with the Addresses from X and Score visuals below. */
.fxa-checks li::after, .pwd-pass::before { content: ''; flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%230a0a0a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 12px no-repeat; }
.fsc-ring svg, .pwd-score svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.fsc-ring circle, .pwd-score circle { fill: none; stroke: rgba(255, 255, 255, 0.09); stroke-width: 3.2; }
.fsc-ring .fsc-val, .pwd-score .pwd-ring { stroke: var(--accent); stroke-dasharray: var(--v) 100; stroke-linecap: round; }
.pwd-head { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-bottom: 1px solid var(--pw-line); }
.pwd-ava { width: 46px; height: 46px; border-radius: 12px; flex: none; }
.pwd-name { min-width: 0; }
.pwd-name b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.pwd-name > span { display: block; margin-top: 4px; color: var(--faint); font-size: 12px; white-space: nowrap; }
.pwd-name code, .pwd-h code { padding: 2px 5px; border-radius: 4px; background: rgba(255, 255, 255, 0.06); color: var(--muted); font: 500 11px/1 var(--mono); }
.pwd-kv { display: flex; gap: 26px; margin: 0 8px 0 auto; }
.pwd-kv dt { color: var(--faint); font-size: 11px; white-space: nowrap; }
.pwd-kv dd { margin: 4px 0 0; font-size: 15px; font-weight: 600; }
.pwd-score { position: relative; display: grid; place-items: center; width: 46px; height: 46px; flex: none; }
.pwd-score circle { stroke-width: 3.6; }
.pwd-score b { font-size: 14px; font-weight: 700; }
.pwd-open { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.pwd-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 14px 18px 0; }
.pwd-card { min-width: 0; padding: 14px; border-radius: 12px; background: var(--pw-panel); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 0 0 1px var(--pw-line); }
.pwd-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.pwd-big { margin-top: 10px; color: var(--muted); font-size: 12.5px; }
.pwd-big b { margin-right: 6px; color: var(--text); font: 600 26px/1 var(--display); letter-spacing: -0.04em; }
.pwd-rows { margin: 10px 0 0; padding: 0; list-style: none; }
.pwd-rows li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid var(--pw-line); font-size: 12px; }
.pwd-rows span { display: flex; align-items: center; color: var(--muted); white-space: nowrap; }
.pwd-rows b { font-weight: 600; text-align: right; }
.pwd-hold i { width: 8px; height: 8px; margin-right: 7px; border-radius: 2px; background: var(--c); }
.pwd-table { width: 100%; margin-top: 10px; border-collapse: collapse; font-size: 11.5px; }
.pwd-table th { padding: 6px 0; border-bottom: 1px solid var(--pw-line); color: var(--faint); font-weight: 500; text-align: left; }
.pwd-table td { padding: 6px 0; border-bottom: 1px solid var(--pw-line); }
.pwd-table tr:last-child td { border-bottom: 0; }
.pwd-table :is(th, td):not(:first-child) { text-align: right; }
.pwd-table td:nth-child(2) { font-family: var(--mono); }
.pwd-table .is-no { color: var(--faint); }
.pwd-x { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.04); }
.pwd-x img { width: 36px; height: 36px; border-radius: 50%; }
.pwd-x b { display: block; font-size: 13.5px; font-weight: 600; }
.pwd-x span { display: block; margin-top: 2px; color: var(--muted); font-size: 11.5px; }
.pwd-follow { display: flex; align-items: center; gap: 10px; margin-top: 10px; color: var(--muted); font-size: 12px; }
.pwd-follow b { color: var(--text); font-weight: 600; }
.pwd-faces { display: flex; }
.pwd-faces img { width: 22px; height: 22px; margin-left: -6px; border-radius: 50%; box-shadow: 0 0 0 2px var(--pw-panel); }
.pwd-faces img:first-child { margin-left: 0; }
.pwd-bar { display: flex; gap: 3px; height: 10px; margin-top: 12px; border-radius: 5px; overflow: hidden; background: rgba(255, 255, 255, 0.06); }
.pwd-bar i { width: var(--w); background: var(--c); }
.pwd-fee { display: flex; align-items: center; gap: 6px; margin-top: 10px; padding: 9px 10px; border-radius: 9px; background: rgba(255, 255, 255, 0.04); color: var(--muted); font-size: 12px; }
.pwd-fee span { color: var(--faint); }
.pwd-fee b { margin-left: auto; color: var(--text); font-weight: 600; }
.pwd-foot { display: flex; flex-wrap: wrap; gap: 10px; padding: 14px 18px; }
.pwd-pass, .pwd-wait { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 9px; font-size: 12.5px; white-space: nowrap; }
.pwd-pass { background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); font-weight: 600; }
.pwd-wait { box-shadow: inset 0 0 0 1px var(--pw-line); color: var(--muted); }

/* Rules screen */
.pw-rules { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr); grid-template-rows: minmax(0, 1fr); }
.pwr-list { display: flex; flex-direction: column; gap: 6px; padding: 14px; border-right: 1px solid var(--pw-line); }
.pwr-h { display: flex; justify-content: space-between; padding: 4px 6px 8px; font-size: 13px; font-weight: 600; }
.pwr-h span { color: var(--faint); font-size: 12px; font-weight: 500; }
.pwr-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px; border-radius: 11px; box-shadow: inset 0 0 0 1px var(--pw-line); }
.pwr-item.is-sel { background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px var(--pw-line-2); }
.pwr-item.is-off > :not(.pw-switch) { opacity: 0.55; }
.pwr-item b { display: block; font-size: 13.5px; font-weight: 600; }
.pwr-item small { display: block; margin-top: 3px; color: var(--faint); font-size: 11.5px; }
.pwr-item em { color: var(--muted); font-size: 12px; font-style: normal; white-space: nowrap; }
.pwr-item em b { display: inline; color: var(--text); font: 600 14px/1 var(--mono); }
.pwr-new { margin-top: 4px; padding: 11px 12px; border: 1px dashed var(--pw-line-2); border-radius: 11px; color: var(--faint); font-size: 12.5px; text-align: center; }
.pwr-latest-h { margin-top: auto; padding-top: 12px; }
.pwr-latest { margin: 0; padding: 0; list-style: none; }
.pwr-latest li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 6px; border-top: 1px solid var(--pw-line); }
.pwr-latest img { width: 26px; height: 26px; border-radius: 7px; }
.pwr-latest b { display: block; overflow: hidden; font-size: 12.5px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.pwr-latest small { display: block; margin-top: 2px; color: var(--faint); font-size: 11px; white-space: nowrap; }
.pwr-latest em { color: var(--muted); font: 600 12px/1 var(--mono); font-style: normal; }
.pwr-detail { display: flex; flex-direction: column; padding: 18px 22px; }
.pwr-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.pwr-top b { font: 600 18px/1.1 var(--display); letter-spacing: -0.03em; }
.pwr-top span { color: var(--faint); font-size: 12px; white-space: nowrap; }
.pwr-top code { margin-left: 6px; padding: 3px 7px; border-radius: 6px; background: rgba(255, 255, 255, 0.06); color: var(--text); font: 500 11.5px/1 var(--mono); }
.pwr-conds { display: grid; gap: 7px; margin: 16px 0 0; padding: 0; list-style: none; counter-reset: cond; }
.pwr-conds li { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto 84px; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: var(--pw-panel); box-shadow: 0 0 0 1px var(--pw-line); font-size: 13px; counter-increment: cond; }
.pwr-conds li::before { content: counter(cond); color: var(--faint); font: 500 11px/1 var(--mono); }
.pwr-conds em { color: var(--faint); font-size: 12px; font-style: normal; }
.pwr-conds b { padding: 5px 8px; border-radius: 6px; background: rgba(255, 255, 255, 0.07); font: 600 12px/1.2 var(--mono); text-align: center; white-space: nowrap; }
.pwr-sub { margin-top: 18px; color: var(--faint); font-size: 12px; }
.pwr-then { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pwr-then > span { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 9px; box-shadow: inset 0 0 0 1px var(--pw-line-2); color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.pwr-then b { color: var(--text); font-weight: 600; }
.pwr-then svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.pwr-rp { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 8px; padding: 12px 14px; border-radius: 10px; background: var(--pw-panel); box-shadow: 0 0 0 1px var(--pw-line); }
.pwr-rp p { display: flex; flex-wrap: wrap; gap: 4px 16px; color: var(--muted); font-size: 12.5px; }
.pwr-rp b { color: var(--text); font: 600 13px/1 var(--mono); }
.pwr-spark { display: flex; align-items: flex-end; gap: 3px; width: 168px; height: 32px; flex: none; }
.pwr-spark i { position: relative; flex: 1; height: var(--all); border-radius: 2px; background: rgba(255, 255, 255, 0.16); }
.pwr-spark i::after { content: ''; position: absolute; inset: auto 0 0; height: var(--up); border-radius: 2px; background: var(--green); }
.pwr-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 16px; }
.pwr-btn { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); font-size: 12.5px; font-weight: 700; }
.pwr-btn.is-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--pw-line-2); }

/* Replay screen */
.pwp { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); height: calc(100% - 50px); }
.pwp-hist { padding: 18px 20px; border-right: 1px solid var(--pw-line); }
.pwp-h { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; font-weight: 600; }
.pwp-h span { color: var(--faint); font-weight: 500; }
.pwp-hist ul { display: grid; gap: 12px; margin: 18px 0 0; padding: 0; list-style: none; }
.pwp-hist li { display: grid; grid-template-columns: 84px minmax(0, 1fr) 34px; align-items: center; gap: 12px; color: var(--muted); font-size: 12px; }
.pwp-hist li i { position: relative; height: 24px; border-radius: 6px; overflow: hidden; background: rgba(255, 255, 255, 0.05); }
.pwp-hist li i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 6px; background: rgba(255, 255, 255, 0.28); }
.pwp-hist li.is-gain i::after { background: var(--green); opacity: 0.85; }
.pwp-hist li b { color: var(--text); font: 600 12px/1 var(--mono); text-align: right; }
.pwp-note { margin-top: 20px; color: var(--faint); font-size: 11.5px; line-height: 1.5; }
.pwp-try { margin-top: 22px; padding: 12px 14px; border-radius: 11px; background: var(--pw-panel); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 0 0 1px var(--pw-line); font-size: 12.5px; }
.pwp-try p:first-child { font-weight: 600; }
.pwp-try p:first-child span { margin-right: 6px; color: var(--faint); font-weight: 500; }
.pwp-try p:last-child { margin-top: 6px; color: var(--muted); }
.pwp-try b { color: var(--text); font-weight: 600; }
.pwp-try b.is-up { color: var(--green); }
.pwp-log { padding: 6px 16px; overflow: hidden; }
.pwp-log table { width: 100%; border-collapse: collapse; font-size: 12px; }
.pwp-log th { height: 36px; border-bottom: 1px solid var(--pw-line); color: var(--faint); font-weight: 500; text-align: left; }
.pwp-log td { height: 45px; border-bottom: 1px solid var(--pw-line); color: var(--muted); font: 500 11.5px/1 var(--mono); white-space: nowrap; }
.pwp-log td:first-child { font-family: var(--font); }
.pwp-log td:nth-child(2) { color: var(--text); font: 600 12.5px/1 var(--font); }
.pwp-log :is(th, td):nth-child(n+3) { text-align: right; }
.pwp-log td:last-child { font-weight: 600; }
.pwp-log td.is-up { color: var(--green); }
.pw-coin { display: inline-flex; align-items: center; gap: 9px; }
.pw-coin img { width: 22px; height: 22px; border-radius: 6px; }

/* Alerts screen, with the same alert in the Tari Flip bot on Telegram (Telegram's own dark theme) */
.pw-alerts { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr); }
.pwa-main { border-right: 1px solid var(--pw-line); }
.pwa-list { margin: 0; padding: 8px 10px; list-style: none; }
.pwa-list li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 11px 10px; border-radius: 10px; }
.pwa-list li + li { margin-top: 2px; }
.pwa-list li.is-new { background: rgba(255, 255, 255, 0.04); }
.pwa-list img { width: 34px; height: 34px; border-radius: 9px; }
.pwa-list b { display: block; font-size: 13px; font-weight: 600; }
.pwa-list small { display: block; margin-top: 3px; overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.pwa-list em { font-style: normal; font-weight: 600; }
.pwa-list time { color: var(--faint); font: 500 11px/1 var(--mono); white-space: nowrap; }
.pwa-list .is-new time::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--accent); vertical-align: 1px; }
.pwa-phone { display: grid; place-items: center; padding: 20px 22px; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.04), transparent); }
.pwt { display: flex; flex-direction: column; width: 100%; max-width: 340px; height: 100%; max-height: 520px; border-radius: 18px; overflow: hidden; background: #0e1621; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 30px 60px -20px rgba(0, 0, 0, 0.8); color: #f5f5f5; font-family: -apple-system, 'SF Pro Text', system-ui, 'Segoe UI', Roboto, sans-serif; }
.pwt-top { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #17212b; }
.pwt-ava { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #0a0a0a; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
.pwt-ava img { width: 14px; height: 19px; }
.pwt-top b { display: block; font-size: 14px; font-weight: 600; }
.pwt-top small { display: block; color: #6d7f8f; font-size: 12px; }
.pwt-body { display: flex; flex: 1; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 14px 12px 12px; }
.pwt-day { align-self: center; margin-bottom: auto; padding: 3px 10px; border-radius: 999px; background: rgba(24, 37, 51, 0.9); color: #b8c7d4; font-size: 12px; }
.pwt-old { opacity: 0.9; }
.pwt-input { padding: 12px 16px; background: #17212b; color: #6d7f8f; font-size: 13.5px; }
.pwt-msg { position: relative; padding: 9px 12px 22px; border-radius: 14px 14px 14px 4px; background: #182533; font-size: 13.5px; line-height: 1.45; }
.pwt-msg time { position: absolute; right: 10px; bottom: 6px; color: #6d8599; font-size: 11px; }
.pwt-keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: -4px; }
.pwt-keys span { padding: 8px 4px; border-radius: 8px; background: rgba(34, 51, 69, 0.95); font-size: 12.5px; font-weight: 500; text-align: center; white-space: nowrap; }

/* Rule builder */
.rb { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 16px; margin-top: 56px; }
.rb-panel { border-radius: 24px; background: linear-gradient(180deg, var(--card-2), var(--card)); box-shadow: var(--card-hi), 0 0 0 1px var(--line); }
.rb-controls { padding: 24px 26px; }
.rb-presets { display: flex; flex-wrap: wrap; gap: 8px; }
.rb-preset { height: 36px; padding: 0 14px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--muted); font-size: 14px; font-weight: 600; transition: background 0.2s, color 0.2s, box-shadow 0.2s; }
.rb-preset:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32); color: var(--text); }
.rb-preset[aria-pressed='true'] { background: var(--accent); box-shadow: none; color: var(--accent-ink); }
.rb-chain { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rb-chain > span { font-size: 15px; }
.rb-seg { display: inline-flex; padding: 3px; border-radius: 10px; background: rgba(255, 255, 255, 0.05); }
.rb-seg button { height: 30px; padding: 0 14px; border-radius: 8px; color: var(--muted); font-size: 13.5px; font-weight: 600; transition: background 0.2s, color 0.2s; }
.rb-seg button:hover { color: var(--text); }
.rb-seg [aria-checked='true'] { background: rgba(255, 255, 255, 0.12); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4); color: var(--text); }
.rb-checks { margin: 0; padding: 0; list-style: none; }
.rb-check { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 4px 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.rb-check label, .rb-label { font-size: 15px; transition: color 0.2s; }
.rb-check output { font: 600 14px/1 var(--mono); white-space: nowrap; transition: color 0.2s; }
.rb-check.is-off label, .rb-check.is-off .rb-label, .rb-check.is-off output { color: var(--faint); }
.rb-switch { position: relative; width: 36px; height: 22px; border-radius: 11px; background: rgba(255, 255, 255, 0.14); transition: background 0.2s; }
.rb-switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #9a9a9a; transition: transform 0.25s var(--ease), background 0.2s; }
.rb-switch[aria-checked='true'] { background: var(--accent); }
.rb-switch[aria-checked='true']::after { background: var(--accent-ink); transform: translateX(14px); }
.rb-switch:focus-visible { border-radius: 11px; }
.rb-check input[type='range'] { --fill: 50%; grid-column: 2 / 4; width: 100%; height: 22px; margin: 2px 0 0; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; }
.rb-check input[type='range']:disabled { cursor: default; opacity: 0.3; }
.rb-check input[type='range']::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--accent) var(--fill), rgba(255, 255, 255, 0.13) var(--fill)); }
.rb-check input[type='range']::-webkit-slider-thumb { width: 18px; height: 18px; margin-top: -7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1), 0 2px 6px rgba(0, 0, 0, 0.5); -webkit-appearance: none; appearance: none; }
.rb-check input[type='range']::-moz-range-track { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.13); }
.rb-check input[type='range']::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--accent); }
.rb-check input[type='range']::-moz-range-thumb { width: 18px; height: 18px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1); }
.rb-then { margin-top: 18px; color: var(--muted); font-size: 14px; }
.rb-then span { display: block; margin-bottom: 4px; color: var(--faint); font-size: 13px; }
.rb-then b { color: var(--text); font-weight: 600; }
.rb-live { display: none; }
.rb-results { display: flex; flex-direction: column; padding: 24px 26px 18px; }
.rb-sum { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.rb-count { display: flex; align-items: center; gap: 16px; max-width: 380px; color: var(--muted); font-size: 16px; line-height: 1.35; }
.rb-count b { color: var(--text); font: 600 64px/0.9 var(--display); letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.rb-rule span { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 13px; font-weight: 600; white-space: nowrap; }
.rb-sub { display: flex; flex-wrap: wrap; gap: 6px 22px; min-height: 55px; margin-top: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.rb-sub b { color: var(--text); font-weight: 600; }
.rb-sub b.is-up { color: var(--green); }
.rb-list { margin: 0; padding: 0; list-style: none; }
.rb-item { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto 66px 56px; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.rb-item.is-new { animation: rb-in 0.45s var(--ease) both; }
@keyframes rb-in { from { opacity: 0; transform: translateY(6px); } }
.rb-item img { width: 36px; height: 36px; border-radius: 10px; }
.rb-item-main { min-width: 0; }
.rb-item-main b { display: block; overflow: hidden; font-size: 15px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.rb-item-main small { display: flex; align-items: center; gap: 8px; margin-top: 3px; color: var(--faint); font-size: 12.5px; white-space: nowrap; }
.rb-item-main small span { font-family: var(--mono); font-size: 11.5px; }
.rb-item-main small i { padding: 1px 6px; border-radius: 5px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--muted); font-size: 11.5px; font-style: normal; }
.rb-item-facts { display: flex; gap: 5px; }
.rb-item-facts span { padding: 5px 7px; border-radius: 6px; background: rgba(255, 255, 255, 0.05); color: var(--muted); font: 500 11.5px/1 var(--mono); white-space: nowrap; }
.rb-item-open, .rb-item-peak { font: 600 14px/1.1 var(--mono); text-align: right; white-space: nowrap; }
.rb-item-open small, .rb-item-peak small { display: block; margin-bottom: 4px; color: var(--faint); font: 500 11px/1 var(--font); }
.rb-item-peak.is-up { color: var(--green); }
.rb-item-peak.is-bad { color: var(--muted); }
.rb-item-peak.is-bad small { color: var(--red); }
.rb-more { min-height: 38px; padding-top: 14px; color: var(--faint); font-size: 13.5px; }
.rb-empty { padding: 48px 0; color: var(--muted); text-align: center; }

/* Replay */
.rpl { margin-top: 56px; padding: 28px; border-radius: 28px; background: linear-gradient(180deg, var(--card-2), var(--card)); box-shadow: var(--card-hi), 0 0 0 1px var(--line); }
.rpl-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 15px; }
.rpl-top b { color: var(--text); font-weight: 600; }
.rpl-edit { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; }
.rpl-edit svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s var(--ease); }
.rpl-edit:hover svg { transform: translateY(-2px); }
.rpl-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 22px 0 0; }
.rpl-kpis div { padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, 0.035); box-shadow: var(--card-hi), 0 0 0 1px var(--line); }
.rpl-kpis dt { color: var(--faint); font-size: 13px; }
.rpl-kpis dd { display: flex; align-items: baseline; gap: 8px; margin: 10px 0 0; }
.rpl-kpis dd b { font: 600 34px/1 var(--display); letter-spacing: -0.04em; }
.rpl-kpis dd span { color: var(--muted); font-size: 14px; }
.rpl-body { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 36px; margin-top: 28px; }
.rpl-chart { margin: 0; }
.rpl-legend { display: flex; gap: 18px; color: var(--muted); font-size: 13px; }
.rpl-legend span { display: inline-flex; align-items: center; gap: 7px; }
.rpl-legend i { width: 10px; height: 10px; border-radius: 3px; }
.rpl-k-all { background: rgba(255, 255, 255, 0.2); }
.rpl-k-up { background: var(--green); }
.rpl-plot { position: relative; height: 250px; margin-top: 16px; padding-left: 30px; }
.rpl-grid { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
.rpl-grid span { position: relative; height: 0; color: var(--faint); font: 500 11px/0 var(--mono); }
.rpl-grid span::after { content: ''; position: absolute; left: 30px; right: 0; top: 0; border-top: 1px dashed rgba(255, 255, 255, 0.08); }
.rpl-bars { position: relative; display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 8px; height: 100%; }
.rpl-bar { position: relative; height: 100%; }
.rpl-bar i { position: absolute; left: 0; right: 0; bottom: 0; border-radius: 5px 5px 2px 2px; transition: height 0.6s var(--ease), background 0.2s; }
.rpl-all { height: var(--all); background: rgba(255, 255, 255, 0.16); }
.rpl-up { height: var(--up); background: var(--green); }
.rpl-bar:hover .rpl-all { background: rgba(255, 255, 255, 0.28); }
.rpl-tip { position: absolute; bottom: calc(var(--all) + 10px); left: 50%; z-index: 2; padding: 8px 10px; border-radius: 9px; background: #232323; box-shadow: 0 0 0 1px var(--line-2), 0 10px 30px rgba(0, 0, 0, 0.5); font-size: 12px; white-space: nowrap; opacity: 0; transform: translateX(-50%); transition: opacity 0.15s; pointer-events: none; }
.rpl-tip b { display: block; margin-bottom: 3px; font-weight: 600; }
.rpl-bar:hover .rpl-tip { opacity: 1; }
.rpl-bar:first-child .rpl-tip, .rpl-bar:nth-child(2) .rpl-tip { left: 0; transform: none; }
.rpl-bar:last-child .rpl-tip, .rpl-bar:nth-last-child(2) .rpl-tip { left: auto; right: 0; transform: none; }
.rpl-axis { display: flex; justify-content: space-between; margin-top: 10px; padding-left: 30px; color: var(--faint); font-size: 12px; }
.rpl-h { color: var(--muted); font-size: 14px; font-weight: 600; }
.rpl-best ul { margin: 10px 0 0; padding: 0; list-style: none; }
.rpl-best li { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto 52px; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.rpl-best li:last-child { border-bottom: 0; }
.rpl-best img { width: 32px; height: 32px; border-radius: 9px; }
.rpl-best b { display: block; overflow: hidden; font-size: 14.5px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.rpl-best li small { display: block; margin-top: 2px; color: var(--faint); font-size: 12.5px; }
.rpl-best-mc { font: 600 13px/1.1 var(--mono); text-align: right; }
.rpl-best-mc small { margin: 0 0 3px; font: 500 11px/1 var(--font); }
.rpl-best em { font: 600 16px/1 var(--mono); font-style: normal; text-align: right; }
.rpl-best .rpl-none { display: block; padding: 24px 0; color: var(--faint); }
.rpl.is-empty .rpl-kpis, .rpl.is-empty .rpl-body { opacity: 0.45; }

/* Every check */
.ck-grid { margin-top: 56px; columns: 2; column-gap: 16px; }
.ck-group { break-inside: avoid; margin-bottom: 16px; padding: 24px 26px 8px; border-radius: 24px; background: linear-gradient(180deg, var(--card-2), var(--card)); box-shadow: var(--card-hi), 0 0 0 1px var(--line); }
.ck-group h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font: 600 22px/1.1 var(--display); letter-spacing: -0.035em; }
.ck-group h3 span { color: var(--faint); font: 500 13px/1 var(--font); letter-spacing: 0; }
.ck-cols { display: flex; justify-content: space-between; margin-top: 18px; padding-bottom: 9px; border-bottom: 1px solid var(--line); color: var(--faint); font-size: 12.5px; }
.ck-group dl { margin: 0; }
.ck-group dl > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ck-group dl > div:last-child { border-bottom: 0; }
.ck-group dt { font-size: 15.5px; font-weight: 600; }
.ck-group dd { grid-column: 1; margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.ck-group .ck-rule { grid-column: 2; grid-row: 1 / 3; align-self: start; justify-self: end; max-width: 210px; padding: 5px 9px; border-radius: 7px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); font: 500 12.5px/1.4 var(--mono); text-align: right; }

/* Hotkeys */
.hk { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); align-items: center; gap: 72px; }
.hk-copy .lead { max-width: 440px; }
.hk-copy .more { margin-top: 28px; }
.hk-visual { padding: 22px; border-radius: 28px; background: linear-gradient(180deg, var(--card-2), var(--card)); box-shadow: var(--card-hi), 0 0 0 1px var(--line); }
.hk-board { display: grid; gap: 6px; padding: 14px; border-radius: 16px; background: #0a0a0a; box-shadow: inset 0 0 0 1px var(--line), inset 0 2px 12px rgba(0, 0, 0, 0.6); }
.hk-row { display: flex; gap: 6px; }
.hk-row i { display: grid; place-items: center; flex: 1 1 0; min-width: 0; height: 40px; overflow: hidden; border-radius: 7px; background: #151515; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 0 0 1px rgba(255, 255, 255, 0.05); color: #4d4d4d; font: 500 10.5px/1 var(--mono); font-style: normal; transition: transform 0.15s, background 0.2s, color 0.2s, box-shadow 0.2s; }
.hk-row .w13 { flex-grow: 1.25; }
.hk-row .w15 { flex-grow: 1.5; }
.hk-row .w18 { flex-grow: 1.75; }
.hk-row .w23 { flex-grow: 2.25; }
.hk-row .w50 { flex-grow: 5; }
.hk-row i.is-key { background: #232323; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.14); color: var(--text); }
.hk-row i.is-press { background: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 0 24px rgba(255, 255, 255, 0.22); color: var(--accent-ink); transform: translateY(1px); }
.hk-row [data-key='updown'] { display: flex; flex-direction: column; justify-content: center; gap: 2px; font-size: 9px; }
.hk-row [data-key='updown'] b { font-weight: 500; line-height: 1; }
.hk-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 14px; margin: 18px 0 0; padding: 0; list-style: none; }
.hk-list li { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; color: var(--muted); font-size: 14.5px; transition: background 0.2s, color 0.2s; }
.hk-list li.is-on { background: rgba(255, 255, 255, 0.06); color: var(--text); }
.hk-keys { display: inline-flex; align-items: center; gap: 4px; min-width: 66px; color: var(--faint); flex: none; }
.hk-keys kbd { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 6px; background: #1c1c1c; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.12); color: var(--text); font: 500 12px/1 var(--mono); }

/* Product page breakpoints (window screens adapt to the window's own width through container queries) */
@container pw (max-width: 1000px) {
  .pw-search { display: none; }
  .pw-cols, .pw-row { grid-template-columns: minmax(0, 2fr) 40px 64px 52px 50px 88px minmax(0, 1.9fr); }
  .pw-cols > :nth-child(5), .pw-cols > :nth-child(7), .pw-row .pw-x, .pw-row .pw-bun { display: none; }
  .pwd-kv div:nth-child(n+3) { display: none; }
}
@container pw (max-width: 760px) {
  .pw-tools { display: none; }
  .pw-cols, .pw-row { grid-template-columns: minmax(0, 1.5fr) 58px 52px minmax(0, 1.5fr); }
  .pw-cols > :nth-child(2), .pw-cols > :nth-child(6), .pw-cols > :nth-child(8), .pw-row .pw-age, .pw-row .pw-top, .pw-row .pw-score { display: none; }
  .pwd-kv { display: none; }
  .pwd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pwd-card:nth-child(3) { display: none; }
  .pw-rules { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
  .pwr-conds li { grid-template-columns: minmax(0, 1fr) auto; }
  .pwr-conds li::before, .pwr-conds em { display: none; }
  .pwr-then > span:last-child, .pwr-spark { display: none; }
  .pwp { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
  .pwp-log td:nth-child(3), .pwp-log th:nth-child(3) { display: none; }
  .pw-alerts { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); }
}
@container pw (max-width: 560px) {
  .pw-bar { height: 34px; padding: 0 12px; }
  .pw-lights i { width: 10px; height: 10px; }
  .pw-net { display: none; }
  .pw-nav { height: 46px; padding: 0 6px; }
  .pw-tabs { overflow-x: auto; scrollbar-width: none; }
  .pw-tabs::-webkit-scrollbar { display: none; }
  .pw-tab { height: 32px; padding: 0 10px; font-size: 13px; }
  .pw-tab svg { display: none; }
  .pw-tab::after { bottom: -7px; }
  .pw-screens { height: 540px; }
  .pw-screen::after { content: ''; position: absolute; inset: auto 0 0; height: 64px; background: linear-gradient(transparent, var(--pw-bg)); pointer-events: none; }
  .pw-head { padding: 0 12px; }
  .pw-head .pw-pill, .pw-head-end { display: none; }
  .pw-cols, .pw-row { grid-template-columns: minmax(0, 1fr) 52px minmax(0, 1.1fr); gap: 10px; padding: 0 12px; }
  .pw-cols > :nth-child(4), .pw-row .pw-dev, .pw-pad { display: none; }
  .pw-row { height: 52px; }
  .pw-out { white-space: normal; }
  .pw-res.is-bad { display: -webkit-box; overflow: hidden; line-height: 1.3; white-space: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .pwd-head { flex-wrap: wrap; gap: 12px; padding: 14px; }
  .pwd-name { flex: 1; }
  .pwd-name b { font-size: 16px; }
  .pwd-name > span { white-space: normal; }
  .pwd-name .pwd-ca { display: none; }
  .pwd-open { order: 5; flex: 1 0 100%; justify-content: center; }
  .pwd-grid { grid-template-columns: minmax(0, 1fr); padding: 12px 14px 0; }
  .pwd-card:nth-child(3) { display: block; }
  .pwd-foot { display: none; }
  .pw-rules { grid-template-columns: minmax(0, 1fr); }
  .pwr-list { border-right: 0; }
  .pwr-detail { display: none; }
  .pwp { grid-template-columns: minmax(0, 1fr); }
  .pwp-hist { border-right: 0; border-bottom: 1px solid var(--pw-line); }
  .pwp-note { display: none; }
  .pwp-log td:nth-child(4), .pwp-log th:nth-child(4) { display: none; }
  .pw-alerts { grid-template-columns: minmax(0, 1fr); }
  .pwa-main { border-right: 0; }
  .pwa-phone { display: none; }
}
@media (max-width: 1100px) {
  .rb { grid-template-columns: minmax(0, 1fr); }
  /* Stacked, the list sits below the checks, so a live count follows the visitor down the checks (shown by product.js). */
  .rb-live { position: fixed; left: 50%; bottom: 16px; z-index: 40; display: flex; align-items: center; gap: 8px; width: max-content; padding: 10px 16px; border-radius: 999px; background: rgba(242, 242, 242, 0.96); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); color: var(--accent-ink); font-size: 14px; font-weight: 600; opacity: 0; transform: translate(-50%, 12px); transition: opacity 0.25s, transform 0.3s var(--ease); pointer-events: none; }
  .rb-live.is-show { opacity: 1; transform: translate(-50%, 0); }
  .rb-live b { font-variant-numeric: tabular-nums; }
  .rb-live svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .rpl-kpis { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .rpl-kpis div { grid-column: span 2; }
  .rpl-kpis div:nth-child(n+4) { grid-column: span 3; }
  .rpl-body { grid-template-columns: minmax(0, 1fr); }
  .pf-row, .pf-row:nth-child(even) { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .pf-row:nth-child(even) .pf-visual { order: 0; }
  .pf-copy, .pf-row:nth-child(even) .pf-copy { padding: 0 12px 12px; }
  .pf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hk { grid-template-columns: minmax(0, 1fr); gap: 44px; }
}
/* In two columns the ninth feature card takes the whole row, its visual beside the text. */
@media (min-width: 721px) and (max-width: 1100px) {
  .pf-card:last-child:nth-child(odd) { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 1fr auto auto 1fr; column-gap: 28px; }
  .pf-card:last-child:nth-child(odd) .pf-vis { grid-row: 1 / -1; margin-bottom: 0; }
  .pf-card:last-child:nth-child(odd) h3 { grid-row: 2; }
  .pf-card:last-child:nth-child(odd) p { grid-row: 3; max-width: 380px; }
}
@media (max-width: 900px) {
  .page-hero.pw-hero { padding-top: 88px; }
  .pw-hero::before { top: 180px; }
  .ck-grid { columns: 1; }
}
@media (max-width: 720px) {
  .page-hero.pw-hero { padding-top: 64px; }
  .pw-hero::before { top: 150px; }
  .pw-stage { margin-top: 36px; }
  .pw { border-radius: 12px; }
  .rb { margin-top: 36px; }
  .rb-controls, .rb-results { padding: 18px; }
  .rb-panel { border-radius: 20px; }
  .rb-chain > span { font-size: 14px; }
  .rb-check label, .rb-label { font-size: 14px; }
  .rb-count { gap: 12px; font-size: 14.5px; }
  .rb-count b { font-size: 46px; }
  .rb-sum { flex-direction: column; gap: 12px; }
  .rb-item { grid-template-columns: 36px minmax(0, 1fr) 52px; gap: 12px; }
  .rb-item-facts, .rb-item-open { display: none; }
  .rpl { margin-top: 36px; }
  .rpl { padding: 18px; border-radius: 22px; }
  .rpl-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .rpl-kpis div, .rpl-kpis div:nth-child(n+4) { grid-column: auto; padding: 12px 14px; border-radius: 14px; }
  .rpl-kpis div:last-child { grid-column: 1 / -1; }
  .rpl-kpis dd b { font-size: 26px; }
  .rpl-plot { height: 180px; padding-left: 24px; }
  .rpl-grid span::after { left: 24px; }
  .rpl-bars { gap: 4px; }
  .rpl-axis { padding-left: 24px; font-size: 11px; }
  .rpl-best li { grid-template-columns: 32px minmax(0, 1fr) 48px; }
  .rpl-best-mc { display: none; }
  .pf-rows { margin-top: 36px; }
  .pf-row { padding: 10px; border-radius: 22px; }
  .pf-visual { min-height: 0; padding: 0; border-radius: 14px; background: none; box-shadow: none; }
  .fov { top: 10px; left: 10px; width: 164px; padding: 9px 10px 5px; }
  .fov p { padding: 3px 0; font-size: 11px; }
  .pf-copy p { font-size: 16px; }
  .frd-head .pw-seg > span:not(.is-on) { display: none; }
  .frd-cols, .frd-row { grid-template-columns: 28px minmax(0, 1fr) minmax(0, 0.9fr) 56px; gap: 10px; padding: 0 12px; }
  .frd-cols span:nth-child(2) { grid-column: 3 / 5; }
  .frd-cols span:nth-child(n+3), .frd-row > span:nth-last-child(-n+2) { display: none; }
  .frd-row img { width: 28px; height: 28px; }
  .fxa { grid-template-columns: minmax(0, 1fr); }
  .ftm-body { grid-template-columns: minmax(0, 1fr); }
  .ftm-trade, .ftm-stat:not(.is-up), .ftm-tf { display: none; }
  .ftm-chart { height: 250px; border-right: 0; }
  .pf-grid { grid-template-columns: minmax(0, 1fr); }
  .pf-card { padding: 12px 12px 22px; border-radius: 22px; }
  .pf-vis { height: 208px; padding: 14px; }
  .ck-grid { margin-top: 36px; }
  .ck-group { padding: 20px 18px 6px; border-radius: 20px; }
  .ck-group dl > div { gap: 6px 12px; }
  .ck-group dd { grid-column: 1 / -1; font-size: 14px; }
  .ck-group .ck-rule { grid-column: 2; grid-row: 1; max-width: 170px; padding: 3px 7px; font-size: 11.5px; }
  .ck-cols { display: none; }
  .ck-group dl { margin-top: 8px; }
  .hk-visual { padding: 12px; border-radius: 22px; }
  .hk-board { gap: 4px; padding: 8px; border-radius: 12px; }
  .hk-row { gap: 4px; }
  .hk-row i { height: 26px; border-radius: 5px; font-size: 8.5px; }
  .hk-row [data-key='updown'] { font-size: 7px; gap: 0; }
  .hk-row :is(.w15, .w18, .w23), .hk-row i:not([class]) { font-size: 7px; }
  .hk-list { grid-template-columns: minmax(0, 1fr); }
  .hk-list li { font-size: 14px; }
}

/* Questions */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; gap: 72px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 25px 0; cursor: pointer; list-style: none; font-size: 19px; font-weight: 600; letter-spacing: -0.015em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ''; flex: none; width: 28px; height: 28px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line-2); background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M8 3.5v9M3.5 8h9' fill='none' stroke='%23ededed' stroke-width='1.6' stroke-linecap='round'/></svg>") center / 12px no-repeat; transition: transform 0.3s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: #fff; }
.faq-list details p { max-width: 640px; padding: 0 0 26px; color: var(--muted); font-size: 16.5px; line-height: 1.6; }
.faq-list details[open] p { animation: faq-open 0.4s var(--ease); }
@keyframes faq-open { from { opacity: 0; transform: translateY(-6px); } }

/* Community: the chat, its channels, the week's top rule sets, the emoji status and questions about the chat. */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.community-hero { padding: 96px 0 88px; }
.community-grid { display: grid; grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr); align-items: center; gap: 72px; }
.community-grid .page-hero-inner { margin: 0; text-align: left; }
.community-grid h1 { font-size: clamp(34px, 4.4vw, 62px); line-height: 1.02; }
.community-grid .lead { margin-left: 0; }

/* The chat window: header, topic tabs, pinned message, messages and the composer. */
.room { position: relative; display: flex; flex-direction: column; height: 700px; overflow: hidden; border-radius: 22px; background: #0e0e0e; box-shadow: var(--card-hi), 0 0 0 1px var(--line-2), 0 0 0 9px rgba(255, 255, 255, 0.025), 0 70px 120px -50px rgba(0, 0, 0, 0.95); text-align: left; }
:is(.room, .ch, .top-sets) svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.room-head { display: flex; align-items: center; gap: 12px; flex: none; height: 62px; padding: 0 18px; border-bottom: 1px solid var(--line); background: var(--card-2); }
.room-avatar { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: #070707; box-shadow: inset 0 0 0 1px var(--line-2); }
.room-avatar img { width: 19px; height: 26px; }
.room-title { min-width: 0; }
.room-title b { display: block; font-size: 15px; font-weight: 600; }
.room-title span { display: flex; align-items: center; margin-top: 1px; color: var(--muted); font-size: 13px; white-space: nowrap; }
.room-title span.is-typing { color: var(--text); }
.room-dots { display: inline-flex; gap: 3px; margin: 2px 0 0 5px; }
.room-dots i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; animation: typing 1.2s ease-in-out infinite; }
.room-dots i:nth-child(2) { animation-delay: 0.15s; }
.room-dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 60%, 100% { transform: none; opacity: 0.45; } 30% { transform: translateY(-3px); opacity: 1; } }
.room-tools { display: flex; gap: 18px; margin-left: auto; color: var(--muted); }
.room-tools svg { width: 18px; height: 18px; }
.room-tabs { display: flex; gap: 2px; flex: none; padding: 8px 12px; border-bottom: 1px solid var(--line); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, #000 86%, transparent); mask-image: linear-gradient(90deg, #000 86%, transparent); }
.room-tabs span { display: inline-flex; align-items: center; gap: 7px; flex: none; height: 30px; padding: 0 11px; border-radius: 8px; color: var(--muted); font-size: 13px; font-weight: 500; }
.room-tabs span.is-on { background: rgba(255, 255, 255, 0.08); color: var(--text); }
.room-tabs svg { width: 14px; height: 14px; }
.room-tabs i { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); font: 600 11px/18px var(--font); font-style: normal; text-align: center; }
.room-pin { display: flex; align-items: center; gap: 12px; flex: none; padding: 9px 18px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.018); }
.room-pin div { position: relative; flex: 1; min-width: 0; padding-left: 11px; }
.room-pin div::before { content: ''; position: absolute; left: 0; top: 2px; bottom: 2px; width: 2px; border-radius: 2px; background: var(--accent); }
.room-pin b { display: block; font-size: 12.5px; font-weight: 600; }
.room-pin p { overflow: hidden; color: var(--muted); font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
.room-pin svg { flex: none; width: 16px; height: 16px; color: var(--faint); }
.room-body { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: 0 18px 16px; background: radial-gradient(ellipse 90% 60% at 85% 0%, rgba(255, 255, 255, 0.035), transparent 70%); -webkit-mask-image: linear-gradient(transparent, #000 48px); mask-image: linear-gradient(transparent, #000 48px); }
.room-feed { flex: none; display: flex; flex-direction: column; }
.room-day { display: flex; justify-content: center; padding-top: 12px; }
.room-day span { padding: 3px 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.07); color: var(--muted); font-size: 12px; font-weight: 500; }
.room-input { display: flex; align-items: center; gap: 16px; flex: none; height: 56px; padding: 0 18px; border-top: 1px solid var(--line); background: var(--card-2); color: var(--faint); }
.room-input span { flex: 1; font-size: 14.5px; }
.room-input svg { width: 20px; height: 20px; }
/* New messages grow in from zero height, so the ones above slide up instead of jumping. */
.js .room .m-slot { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 0.6s var(--ease), opacity 0.45s ease 0.15s; }
.js .room .m-slot > .m { min-height: 0; overflow: hidden; padding-top: 0; }
.js .room .m-slot > .m > * { margin-top: 10px; }
.js .room .m-slot.is-in { grid-template-rows: 1fr; opacity: 1; }

/* Messages, shared by the chat and the channels. Name colours follow Telegram's. */
.m { display: flex; align-items: flex-end; gap: 9px; max-width: 92%; padding-top: 10px; }
:is(.m, .m-quote).c1 { --name: #b39cff; }
:is(.m, .m-quote).c2 { --name: #7aa8ff; }
:is(.m, .m-quote).c3 { --name: #ffb224; }
:is(.m, .m-quote).c4 { --name: #ff8ec7; }
:is(.m, .m-quote).c5 { --name: #6fd3ff; }
.m-av { flex: none; width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.m-av-team { display: grid; place-items: center; background: #070707; box-shadow: inset 0 0 0 1px var(--line-2); }
.m-av-team img { width: 16px; height: 22px; }
.m-bubble { min-width: 0; padding: 8px 12px; border-radius: 15px 15px 15px 5px; background: #1d1d1d; box-shadow: var(--card-hi); }
.m-name { display: flex; align-items: center; gap: 5px; color: var(--name, var(--text)); font-size: 13px; font-weight: 600; line-height: 1.4; }
.m-name img { width: 11px; height: 15px; }
.m-name i { margin-left: auto; padding-left: 16px; color: var(--faint); font-size: 12px; font-style: normal; font-weight: 400; }
.m-bubble p { margin-top: 2px; font-size: 14.5px; line-height: 1.42; overflow-wrap: anywhere; }
.m-bubble p code { padding: 1px 5px; border-radius: 5px; background: rgba(255, 255, 255, 0.08); font: 500 12.5px/1 var(--mono); white-space: nowrap; }
.m time { float: right; margin: 8px 0 -3px 12px; color: var(--faint); font-size: 11.5px; line-height: 1; font-variant-numeric: tabular-nums; }
.m-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-top: 7px; }
.m-foot time { float: none; margin: 0 0 2px; }
.m-reacts { display: flex; flex-wrap: wrap; gap: 5px; }
.m-reacts > span { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 8px 0 6px; border-radius: 12px; background: rgba(255, 255, 255, 0.08); font-size: 12.5px; }
.m-reacts > .is-zero { display: none; }
.m-reacts > .is-pop { animation: react-pop 0.45s var(--ease); }
@keyframes react-pop { 40% { transform: scale(1.16); background: rgba(255, 255, 255, 0.16); } }
.m-reacts b { font-weight: 600; font-variant-numeric: tabular-nums; }
.m-quote { margin: 5px 0 4px; padding: 4px 10px 5px; border-left: 2px solid var(--name); border-radius: 3px 7px 7px 3px; background: rgba(255, 255, 255, 0.05); background: color-mix(in srgb, var(--name) 10%, transparent); font-size: 13px; line-height: 1.35; }
.m-quote b { display: block; color: var(--name); font-weight: 600; }
.m-quote span { display: block; overflow: hidden; color: var(--muted); white-space: nowrap; text-overflow: ellipsis; }
.m-card { display: block; width: 100%; max-width: 280px; height: auto; margin-top: 8px; border-radius: 10px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08); }
.m-sticker { display: flex; align-items: flex-end; gap: 8px; }
.m-sticker img { width: 72px; height: auto; }
.m-sticker time { float: none; margin: 0 0 4px; padding: 4px 7px; border-radius: 9px; background: rgba(255, 255, 255, 0.07); color: var(--muted); }
.m-set, .m-dev { margin-top: 8px; padding: 11px; border-radius: 12px; background: rgba(255, 255, 255, 0.045); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.m-set-head, .m-dev-head { display: flex; align-items: center; gap: 10px; }
.m-set-ico { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 9px; background: rgba(255, 255, 255, 0.07); }
.m-set-ico svg { width: 17px; height: 17px; }
.m-set-head b, .m-dev-head b { display: block; font-size: 14px; font-weight: 600; }
.m-dev-head b { font: 500 14px/1.3 var(--mono); }
.m-set-head small, .m-dev-head small { display: block; margin-top: 1px; color: var(--faint); font-size: 12px; }
.m-dev-head em { margin-left: auto; padding: 7px 12px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 12.5px; font-style: normal; font-weight: 600; }
.m-set-checks { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.m-set-checks span { padding: 4px 8px; border-radius: 6px; background: rgba(255, 255, 255, 0.06); color: var(--muted); font-size: 12px; }
.m-set-rows { display: grid; gap: 3px; margin: 10px 0 0; padding: 0; list-style: none; }
.m-set-rows li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 10px; border-radius: 7px; background: rgba(255, 255, 255, 0.04); font-size: 13px; }
.m-set-rows span { color: var(--muted); }
.m-set-rows b { font: 500 12.5px/1.45 var(--mono); white-space: nowrap; }
.m-dev-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.m-dev-stats div { padding: 8px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); }
.m-dev-stats small { display: block; color: var(--faint); font-size: 11.5px; }
.m-dev-stats b { display: block; margin-top: 2px; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.m-dev-table { width: 100%; margin-top: 8px; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.m-dev-table th { padding: 6px 4px 5px; color: var(--faint); font-size: 11.5px; font-weight: 500; text-align: right; }
.m-dev-table td { padding: 6px 4px; border-top: 1px solid var(--line); text-align: right; white-space: nowrap; }
.m-dev-table :is(th, td):first-child { padding-left: 0; text-align: left; }
.m-dev-table :is(th, td):last-child { width: 1%; padding-right: 0; }
.m-dev-table td img { display: inline-block; width: 22px; height: 22px; margin-right: 8px; border-radius: 6px; vertical-align: middle; }
.m-dev-table small { margin-left: 6px; color: var(--faint); font-size: 11.5px; }
.m-dev-table svg { display: inline-block; width: 16px; height: 16px; stroke-width: 2; vertical-align: middle; }
.m-dev-table .is-yes { color: var(--green); }
.m-dev-table .is-no { color: var(--red); }

/* Channels: one card per topic, each with a post from it. */
.ch-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; margin-top: 64px; }
.ch { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: 24px; background: linear-gradient(180deg, var(--card-2), var(--card)); box-shadow: var(--card-hi), 0 0 0 1px var(--line); }
.ch-rules, .ch-dev { grid-column: span 6; }
.ch-pnl, .ch-news, .ch-help { grid-column: span 4; }
.ch-head { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.ch-ico { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px var(--line); }
.ch-ico svg { width: 19px; height: 19px; }
.ch-head h3 { font: 600 18px/1.2 var(--display); letter-spacing: -0.03em; }
.ch-head p { margin-top: 4px; color: var(--muted); font-size: 14.5px; line-height: 1.4; }
.ch-feed { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding: 10px 20px 22px; background: #0e0e0e; background: radial-gradient(ellipse 80% 60% at 90% 0%, rgba(255, 255, 255, 0.03), transparent 70%), #0e0e0e; }
.ch .m { max-width: min(100%, 560px); }
.ch .m-card { max-width: 340px; }
.ch-lock { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; border-top: 1px solid var(--line); background: #0e0e0e; color: var(--faint); font-size: 13px; }
.ch-lock svg { width: 14px; height: 14px; }

/* Top rule sets this week */
.top-sets-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; max-width: none; }
.top-sets-head .lead { max-width: 440px; margin-top: 0; font-size: 17px; }
.sets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.set { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 26px; border-radius: 24px; background: linear-gradient(180deg, var(--card-2), var(--card)); box-shadow: var(--card-hi), 0 0 0 1px var(--line); }
.set.is-first { box-shadow: var(--card-hi), 0 0 0 1px var(--line-2), 0 40px 90px -50px rgba(255, 255, 255, 0.14); }
.set.is-first::before { content: ''; position: absolute; top: -160px; right: -120px; width: 380px; height: 300px; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.07), transparent); pointer-events: none; }
.set > * { position: relative; }
.set-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.set h3 { font: 600 22px/1.15 var(--display); letter-spacing: -0.035em; }
.set-rank { color: var(--faint); font: 600 40px/0.85 var(--display); letter-spacing: -0.05em; }
.set.is-first .set-rank { color: var(--text); }
.set-by { display: flex; align-items: center; gap: 7px; margin-top: 12px; color: var(--muted); font-size: 14px; }
.set-by img { width: 22px; height: 22px; border-radius: 50%; }
.set-by .set-status { width: 11px; height: 15px; margin-left: -2px; border-radius: 0; }
.set-by span { color: var(--faint); }
.set-code { margin-left: auto; padding: 4px 8px; border-radius: 7px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); font: 500 12px/1.2 var(--mono); white-space: nowrap; }
.set-checks { margin: 20px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.set-checks li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.set-checks span { display: flex; align-items: center; gap: 9px; color: var(--muted); }
.set-checks span::before { content: ''; flex: none; width: 16px; height: 16px; border-radius: 50%; background: rgba(255, 255, 255, 0.07) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4.6 8.3l2.2 2.2 4.6-4.9' fill='none' stroke='%23ededed' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 12px no-repeat; }
.set-checks b { font: 500 13.5px/1.5 var(--mono); white-space: nowrap; }
.set-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.set-stats div { min-width: 0; padding: 12px 12px 13px; border-radius: 12px; background: rgba(255, 255, 255, 0.035); box-shadow: inset 0 0 0 1px var(--line); }
.set-stats small { display: block; color: var(--faint); font-size: 12.5px; white-space: nowrap; }
.set-stats b { display: block; margin-top: 7px; font: 600 22px/1 var(--display); letter-spacing: -0.03em; white-space: nowrap; }
.set-stats .is-up { color: var(--green); }
.set-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 22px; }
.set-foot p { color: var(--muted); font-size: 14px; }
.set-foot p b { margin-right: 4px; color: var(--text); font: 600 20px/1 var(--display); letter-spacing: -0.03em; }
.set-bars { display: flex; align-items: flex-end; gap: 3px; height: 32px; }
.set-bars i { width: 8px; height: calc(var(--h) * 100%); border-radius: 3px 3px 1px 1px; background: rgba(255, 255, 255, 0.24); transform-origin: 50% 100%; }
.set-bars i:last-child { background: var(--text); }
.js .set-bars i { transform: scaleY(0); transition: transform 0.8s var(--ease) 0.35s; }
.js .set-bars i:nth-child(2) { transition-delay: 0.41s; }
.js .set-bars i:nth-child(3) { transition-delay: 0.47s; }
.js .set-bars i:nth-child(4) { transition-delay: 0.53s; }
.js .set-bars i:nth-child(5) { transition-delay: 0.59s; }
.js .set-bars i:nth-child(6) { transition-delay: 0.65s; }
.js .set-bars i:nth-child(7) { transition-delay: 0.71s; }
.js .set.is-in .set-bars i { transform: none; }

/* Wear the angel */
.wear { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: 88px; }
.wear-stage { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 520px; width: 100%; border-radius: 32px; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.1), transparent 75%), var(--card); box-shadow: var(--card-hi), 0 0 0 1px var(--line); }
.wear-stage .angel { width: 50%; }
.wear .lead { max-width: 520px; }
.tg-list { display: grid; gap: 2px; max-width: 440px; margin-top: 32px; padding: 6px; border-radius: 18px; background: #0e0e0e; box-shadow: var(--card-hi), 0 0 0 1px var(--line-2), 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
.tg-row { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; }
.tg-row:first-child { background: rgba(255, 255, 255, 0.07); }
.tg-row img { width: 46px; height: 46px; border-radius: 50%; }
.tg-row b { display: flex; align-items: center; gap: 6px; font-size: 15.5px; font-weight: 600; }
.tg-row b .angel { width: 16px; }
.tg-row p { overflow: hidden; margin-top: 2px; color: var(--muted); font-size: 14px; white-space: nowrap; text-overflow: ellipsis; }
.tg-row p span { color: var(--text); }
.tg-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; align-self: stretch; padding-top: 3px; }
.tg-meta time { color: var(--faint); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.tg-meta i { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font: 600 12px/20px var(--font); font-style: normal; text-align: center; }
.wear .hero-ctas { margin-top: 32px; }

/* Questions about the chat */
.chat-faq .faq-list a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; transition: text-decoration-color 0.2s; }
.chat-faq .faq-list a:hover { text-decoration-color: currentColor; }

@media (max-width: 1100px) {
  .community-grid .page-hero-inner { margin-inline: auto; text-align: center; }
  .community-grid .lead { margin-inline: auto; }
  .room { width: 100%; max-width: 680px; margin-inline: auto; }
  .set { padding: 22px; }
}
@media (max-width: 900px) {
  .ch-grid { grid-template-columns: minmax(0, 1fr); margin-top: 48px; }
  .ch-rules, .ch-dev, .ch-pnl, .ch-news, .ch-help { grid-column: auto; }
  .top-sets-head { flex-direction: column; align-items: flex-start; gap: 0; }
  .top-sets-head .lead { margin-top: 20px; }
  .sets { grid-template-columns: minmax(0, 1fr); margin-top: 40px; }
}
@media (max-width: 720px) {
  .page-hero.community-hero { padding: 64px 0 56px; }
  .room { height: 600px; border-radius: 18px; box-shadow: var(--card-hi), 0 0 0 1px var(--line-2), 0 50px 90px -40px rgba(0, 0, 0, 0.95); }
  .room-head { height: 56px; padding: 0 14px; }
  .room-tabs { padding: 7px 8px; }
  .room-pin, .room-input { padding-inline: 14px; }
  .room-body { padding: 0 12px 12px; }
  .m { max-width: 100%; gap: 7px; }
  .m-av { width: 30px; height: 30px; }
  .m-bubble { padding: 7px 11px; }
  .m-bubble p { font-size: 14px; }
  .m-card { max-width: 230px; }
  .m-set-rows li { padding: 7px 8px; font-size: 12.5px; }
  .m-dev-stats b { font-size: 14px; }
  .m-dev-table small { display: none; }
  .ch { border-radius: 20px; }
  .ch-head { padding: 16px; }
  .ch-feed { padding: 6px 12px 16px; }
  .set { padding: 20px; border-radius: 20px; }
  .wear-stage { aspect-ratio: 4 / 3; border-radius: 24px; }
  .wear-stage .angel { width: 36%; }
  .tg-list { max-width: none; }
  .tg-row { grid-template-columns: 42px minmax(0, 1fr) auto; gap: 10px; }
  .tg-row img { width: 42px; height: 42px; }
}

/* Pricing */
.steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps3 li { position: relative; padding: 28px; border-radius: 24px; background: var(--card); box-shadow: var(--card-hi), 0 0 0 1px var(--line); counter-increment: step; }
.steps3 li::before { content: counter(step); display: block; color: var(--faint); font: 600 42px/1 var(--display); letter-spacing: -0.04em; }
.steps3 b { display: block; margin-top: 30px; font: 600 21px/1.2 var(--display); letter-spacing: -0.035em; }
.steps3 p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.plan-card { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 34px; border-radius: 28px; background: linear-gradient(180deg, var(--card-2), var(--card)); box-shadow: var(--card-hi), 0 0 0 1px var(--line-2); }
.plan-card::before { content: ''; position: absolute; top: -170px; right: -120px; width: 420px; height: 320px; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.08), transparent); pointer-events: none; }
.plan-card > * { position: relative; }
.plan-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.plan-card h2 { font-size: 22px; letter-spacing: -0.035em; }
.plan-rate { color: var(--muted); font-size: 15px; white-space: nowrap; }
.plan-rate b { color: var(--text); font-weight: 600; }
.plan-price { display: flex; align-items: baseline; gap: 14px; margin-top: 28px; }
.plan-price b { font: 600 clamp(64px, 8vw, 104px)/0.9 var(--display); letter-spacing: -0.06em; }
.plan-price span { color: var(--muted); font: 600 26px/1 var(--display); letter-spacing: -0.03em; }
.plan-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 24px; margin-top: 32px; padding-top: 26px; border-top: 1px solid var(--line); }
.plan-foot p { color: var(--muted); font-size: 15.5px; }
.plans-note { grid-column: 1 / -1; padding: 14px 0 6px; color: var(--muted); font-size: 15px; text-align: center; }
.plans-note a { color: var(--text); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; transition: text-decoration-color 0.2s; }
.plans-note a:hover { text-decoration-color: currentColor; }
.compare { display: grid; margin-top: 16px; padding: 34px; border-radius: 28px; background: var(--card); box-shadow: var(--card-hi), 0 0 0 1px var(--line); }
.compare > * { grid-area: 1 / 1; }
.compare h2 { align-self: start; justify-self: start; position: relative; max-width: 42%; padding-top: 14px; font-size: 22px; line-height: 1.2; letter-spacing: -0.035em; }
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: 16px; }
.compare-table th, .compare-table td { padding: 16px 12px; border-bottom: 1px solid var(--line); font-weight: 400; text-align: center; vertical-align: middle; }
.compare-table tr > :first-child { width: 44%; padding-left: 0; text-align: left; }
.compare-table thead th { padding: 18px 12px; font: 600 17px/1.2 var(--display); letter-spacing: -0.03em; }
.compare-table thead td { border-bottom-color: transparent; }
.compare-table tr > :nth-child(3) { background: rgba(255, 255, 255, 0.04); }
.compare-table thead th:nth-child(3) { border-radius: 16px 16px 0 0; }
.compare-table tbody tr:last-child > * { border-bottom: 0; }
.compare-table tbody tr:last-child > :nth-child(3) { border-radius: 0 0 16px 16px; }
.compare-table tbody th { color: var(--text); }
.compare-table tbody td { color: var(--muted); }
.cmp-price > * { font-weight: 600; }
.compare-table .cmp-price td { color: var(--text); }
.cmp-yes, .cmp-no { display: inline-block; width: 22px; height: 22px; vertical-align: middle; }
.cmp-yes { border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23f2f2f2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 14px no-repeat; }
.cmp-no { background: linear-gradient(var(--faint), var(--faint)) center / 12px 2px no-repeat; }
.pricing-flow { padding-top: 0; }
@media (max-width: 720px) {
  .plan-top { flex-wrap: wrap; }
  .compare { padding: 24px 16px 16px; border-radius: 22px; }
  .compare > * { grid-area: auto; }
  .compare h2 { max-width: none; padding: 0 6px 6px; }
  .compare-table { font-size: 14.5px; }
  .compare-table th, .compare-table td { padding: 13px 4px; text-wrap: balance; }
  .compare-table tr > :first-child { width: 42%; padding-left: 6px; }
  .compare-table thead th { padding: 14px 6px; font-size: 15px; }
  .compare-table thead th:nth-child(3) { border-radius: 12px 12px 0 0; }
  .compare-table tbody tr:last-child > :nth-child(3) { border-radius: 0 0 12px 12px; }
}

/* The angel, inlined by site.js so its wings beat and its halo floats. */
.angel > img, .angel > svg { display: block; width: 100%; height: auto; overflow: visible; }
.angel.is-live > svg { animation: angel-float 1.6s ease-in-out infinite; }
.angel.is-live [data-part='wingL'] { animation: wing-l 1.6s ease-in-out infinite; }
.angel.is-live [data-part='wingR'] { animation: wing-r 1.6s ease-in-out infinite; }
.angel.is-live [data-part='halo'] { transform-origin: 360px 70px; animation: halo-bob 1.6s ease-in-out -0.25s infinite; }
.angel.is-live.is-off > svg, .angel.is-live.is-off [data-part] { animation-play-state: paused; }
@keyframes wing-l { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
@keyframes wing-r { 0%, 100% { transform: rotate(6deg); } 50% { transform: rotate(-6deg); } }
@keyframes angel-float { 0%, 100% { transform: translateY(-1.5%); } 50% { transform: translateY(1.5%); } }
@keyframes halo-bob { 0%, 100% { transform: translateY(-10px) rotate(-2deg); } 50% { transform: translateY(8px) rotate(2deg); } }

/* Final call */
.final { position: relative; padding: 88px 0 110px; overflow: hidden; text-align: center; }
.final::before { content: ''; position: absolute; left: 50%; top: 42%; width: 760px; height: 460px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(255, 255, 255, 0.09), transparent); pointer-events: none; }
.final-inner { position: relative; display: flex; flex-direction: column; align-items: center; padding: 0 20px; }
.final .angel { width: 120px; }
.final h2 { margin-top: 26px; font-size: clamp(32px, 4.4vw, 62px); line-height: 1.04; letter-spacing: -0.05em; }
.final .more { margin-top: 22px; color: var(--muted); font-weight: 500; }
.final .more:hover { color: var(--text); }

/* Not found */
.lost { display: grid; place-items: center; min-height: min(100svh - 64px, 760px); padding: 64px 20px 96px; text-align: center; }
.lost .angel { width: 150px; margin: 0 auto; }
.lost h1 { margin-top: 34px; font-size: clamp(34px, 5.6vw, 72px); line-height: 1; letter-spacing: -0.05em; }
.lost p { margin-top: 18px; color: var(--muted); font-size: 18px; }
.lost .btn { margin-top: 34px; }

@media (max-width: 1100px) {
  .community-grid, .faq-grid, .wear { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .nav { grid-template-columns: 1fr auto; }
  .nav-menu, .flyouts, .nav-scrim { display: none; }
  .route { gap: 56px; }
  .feature, .feature:nth-child(even) { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .feature:nth-child(even) .feature-visual { order: 0; }
  .wear-stage { margin-inline: auto; }
}
@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .page-hero { padding: 96px 0 72px; }
  .route { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 44px; margin-top: 56px; }
  .route-col { justify-items: center; }
  .route-group { display: flex; flex-wrap: wrap; justify-content: center; }
  .route-group > b { flex-basis: 100%; text-align: center; }
  .route-core { width: min(240px, 64vw); }
  .features { gap: 72px; }
  .trio, .steps3, .plans { grid-template-columns: minmax(0, 1fr); }
  .trio { margin-top: 48px; }
}
@media (max-width: 720px) {
  :root { --gutter: 20px; }
  .lead { font-size: 17px; }
  .page-hero .lead { font-size: 17px; }
  .feature-visual { min-height: 0; padding: 22px; border-radius: 22px; }
  .migr-row { grid-template-columns: 28px 96px minmax(0, 1fr) 72px; gap: 10px; font-size: 13px; }
  .migr-row img { width: 28px; height: 28px; }
  .ov-window { height: 230px; }
  .chat-body { min-height: 0; padding: 18px 14px 22px; }
  .plan-card { padding: 26px; }
  .faq-list summary { font-size: 17px; padding: 21px 0; }
  .final { padding: 64px 0 80px; }
  .final .angel { width: 100px; }
  .nav { padding: 0 16px 0 20px; }
  .nav-login, .nav-cta .btn-sm { display: none; }
  .nav-burger { display: block; }
  .hero-sub { font-size: 17px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .film { padding: 4px 0 0; }
  .film-frame { width: 100%; border-radius: 0; box-shadow: none; }
  .film-controls { right: 10px; bottom: 10px; gap: 6px; }
  .film-btn { width: 34px; height: 34px; padding: 0; justify-content: center; }
  .film-btn span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
