/* AFK over the template's CSS: deep navy, one safety orange, Schibsted Grotesk + JetBrains Mono. Square, ruled, no glow. */
:root {
  --bg: #0a1533; --bg-2: #0d1a3e; --bg-3: #12234f; --line: #1d2d5c; --line-2: #2b3f78; --line-3: #3d5396;
  --ink: #edf0f8; --ink-2: #b7c0da; --mute: #8390b4;
  --or: #ff6b1a; --or-2: #d9530b; --on-or: #1a0d02;
  --up: #ff6b1a; --down: #8ea3e0;
  --pad: clamp(16px, 3.8vw, 55px);
}
* { box-sizing: border-box; }
html:root { height: auto; min-height: 100%; overflow-x: clip; overflow-y: auto; background: var(--bg); }
html body { height: auto; min-height: 100%; overflow: visible; overflow-x: clip; background: var(--bg); color: var(--ink); font-family: "Schibsted Grotesk", Arial, sans-serif; font-size: 16px; margin: 0; -webkit-user-select: auto; user-select: auto; }
.m, code, .mono { font-family: "JetBrains Mono", ui-monospace, monospace; }
code.m { font-size: .9em; color: var(--ink); background: var(--bg-3); padding: 1px 5px; }
::selection { background: var(--or); color: var(--on-or); }
a { color: var(--ink); }
button { font-family: inherit; }
[hidden] { display: none !important; }

/* ---------- header: the template's, wordmark where its logo was ---------- */
.af-header { position: fixed !important; z-index: 40 !important; }
.af-app .af-header { background: var(--bg); border-bottom: 1px solid var(--line); }
.af-header .headerBlock__wrapper { align-items: center; margin: 0 !important; padding: 16px var(--pad); gap: 20px; }
.af-mark.homeButton { width: auto !important; height: auto !important; padding: 0 !important; transform: none !important; font: 800 26px/1 "Schibsted Grotesk", sans-serif; letter-spacing: -.02em; color: var(--ink) !important; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.af-mark.homeButton::before { content: ""; width: 12px; height: 12px; background: var(--or); display: inline-block; transform: translateY(-1px); }
.af-mark.homeButton:hover { color: var(--or) !important; }
.af-nav { display: flex; gap: 26px; margin-right: auto; margin-left: 36px; }
.af-nav a { font: 600 13px/1 "Schibsted Grotesk", sans-serif; text-transform: uppercase; letter-spacing: .09em; color: var(--ink-2); text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.af-nav a:hover, .af-nav a.on { color: var(--ink); border-color: var(--or); }
.af-header .navbar { display: flex; align-items: center; gap: 22px; }
.af-hbtn { background: none; border: 0; cursor: pointer; padding: 0 !important; margin: 0 !important; height: auto !important; text-decoration: none; }
.af-hbtn .soundButton_text { font: 600 13px/1 "Schibsted Grotesk", sans-serif !important; text-transform: uppercase; letter-spacing: .09em; color: var(--ink) !important; margin: 0; border: 1px solid var(--or); padding: 9px 12px; }
.af-hbtn:hover .soundButton_text { background: var(--or); color: var(--on-or) !important; }
.af-hbtn.on .soundButton_text { border-color: var(--line-2); font-family: "JetBrains Mono", monospace !important; text-transform: none; letter-spacing: 0; }
.menuButton { font-size: 12px !important; background: none; border: 0; cursor: pointer; min-height: 34px; }
.af-header .pagination { top: 50%; transform: translate(-50%, -50%); }
.af-header .pagination_item { margin-top: 0 !important; padding: 14px !important; transform: none !important; background: none; border: 0; cursor: pointer; }
.pagination_dot { width: 5px !important; height: 5px !important; border-radius: 0 !important; }

/* the template's menu overlay */
.af-menu { background: var(--bg); z-index: 35 !important; padding: 0 clamp(16px, 10.6vw, 153px); }
.af-menu .menu { width: 100%; flex-direction: row !important; justify-content: space-between; align-items: flex-end; margin-left: 0 !important; }
.af-menu .menu_link { font-size: clamp(40px, 5.6vw, 84px) !important; font-weight: 600; text-decoration: none; letter-spacing: -.02em; }
.af-menu .menu_link:hover span { color: var(--or); }
.af-menu .menu_link .arrow { opacity: 0; }
.af-menu .menu_link:hover .arrow { opacity: 1; }
.af-menu .menu_content { position: static !important; max-width: 330px; margin: 0 0 12px; }
.af-menu .textIndication { display: flex; gap: 10px; align-items: flex-start; }
.af-menu .textIndication--arrow { width: 12px; flex: none; margin-top: 5px; stroke: var(--or); }
.af-menu .textIndication--text { font: 500 16px/1.45 "Schibsted Grotesk", sans-serif; color: var(--ink); margin: 0 0 22px; }
.af-medias { left: var(--pad) !important; transform: none !important; display: flex; gap: 18px; align-items: center; }
.af-x { font: 600 13px "Schibsted Grotesk", sans-serif; color: var(--ink-2); text-decoration: none; }
html.af-menu-open .menuButton_text-default { opacity: 0 !important; }
html.af-menu-open .menuButton_text-close { opacity: 1 !important; }
.ctaButton { text-decoration: none; background: none; border: 0; cursor: pointer; }
.ctaButton_text { font-size: 13px !important; letter-spacing: .07em; margin: 0; color: var(--ink); }
.ctaButton .line_default { background: var(--line-3) !important; }
.ctaButton:hover .line_default { background: var(--or) !important; }
.af-chip { display: inline-flex; align-items: center; gap: 7px; font: 500 12px/1 "JetBrains Mono", monospace; color: var(--ink-2); border: 1px solid var(--line-2); padding: 5px 8px; white-space: nowrap; }
.af-chip::before { content: ""; width: 6px; height: 6px; background: var(--or); }
.af-chip.off::before { background: var(--mute); }

/* chain strip under the header on app pages */
.af-strip { position: fixed; top: 69px; left: 0; right: 0; z-index: 30; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.af-strip-in { display: flex; gap: 26px; align-items: center; padding: 8px var(--pad); font-size: 12px; color: var(--mute); overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.af-strip-in::-webkit-scrollbar { display: none; }
.af-strip b { color: var(--ink); font-weight: 500; }
.af-strip b.bad { color: var(--mute); }

/* ---------- landing: the template's home, five phases over a ridge drawn from real candles ---------- */
.af-scene { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh; display: block; z-index: 0; }
.af-track { position: relative; z-index: 0; pointer-events: none; }
.af-step { height: 100vh; height: 100svh; }
.af-stage { position: fixed !important; inset: 0; z-index: 2; pointer-events: none; opacity: 1 !important; visibility: visible !important; }
.af-stage a, .af-stage button, .af-header a, .af-header button, .af-menu a, .af-menu button { pointer-events: auto; }
.af-phase { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s .45s; }
.af-phase.on { opacity: 1; visibility: visible; transition: opacity .5s ease; }
.af-phase .phase { position: absolute; inset: 0; }
.af-phase .phase_content { position: absolute !important; left: 8.4vw !important; right: auto !important; top: 17vh !important; bottom: auto !important; transform: none !important; width: min(40vw, 610px) !important; height: auto !important; display: flex; flex-direction: column; align-items: flex-start; }
.phase_content_caption { font: 700 12px/1 "JetBrains Mono", monospace !important; height: auto !important; padding: 6px 8px !important; border-radius: 0 !important; letter-spacing: .02em; color: var(--on-or) !important; background: var(--or) !important; }
.phase_content_title { font: 700 clamp(34px, 4.1vw, 62px)/.95 "Schibsted Grotesk", sans-serif !important; letter-spacing: -.025em; margin: 24px 0 18px !important; color: var(--ink); text-transform: none; }
.af-w { display: inline-block; opacity: 0; transform: translateY(.3em); }
.af-phase.on .af-w { animation: af-word .5s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--k) * 50ms + 100ms); }
@keyframes af-word { to { opacity: 1; transform: none; } }
.af-hook { font: 500 18px/1.4 "Schibsted Grotesk", sans-serif; color: var(--ink-2); margin: 0 0 24px; max-width: 28em; }
.phase_bottom { display: flex; align-items: center; }
.phase_bottom-video { width: 56px !important; height: 56px !important; position: relative; flex: none; }
.phase_bottom-video .icon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line-3); background: var(--bg); }
.phase_bottom-video .icon svg { width: 62%; height: 62%; }
.focusButton { margin-left: 26px; text-decoration: none; }
.focusButton_text { font: 600 15px/1 "Schibsted Grotesk", sans-serif !important; color: var(--ink) !important; }
.phase_legend-container { position: fixed !important; left: var(--pad) !important; bottom: clamp(20px, 3.8vw, 55px) !important; }
.phase_legend_text { position: static !important; font: 500 15px/1.35 "Schibsted Grotesk", sans-serif !important; width: 21em !important; margin: 0 !important; color: var(--ink); transition: opacity .3s; }
.scroll-prompt { position: fixed !important; left: 50% !important; bottom: clamp(20px, 3.8vw, 55px) !important; transform: translateX(-50%); transition: opacity .3s; }
.scroll-prompt_text { font: 600 12px/1 "Schibsted Grotesk", sans-serif !important; letter-spacing: .16em !important; color: var(--ink); }
.scroll-prompt_arrow { stroke: var(--ink); fill: var(--ink); }
.af-shift { position: fixed; right: var(--pad); bottom: clamp(20px, 3.8vw, 55px); width: min(400px, 34vw); background: var(--bg); border: 1px solid var(--line-2); pointer-events: auto; }
.af-shift-top { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-bottom: 1px solid var(--line-2); font: 600 12px/1 "Schibsted Grotesk", sans-serif; text-transform: uppercase; letter-spacing: .1em; }
.af-shift-top .m { letter-spacing: 0; text-transform: none; color: var(--or); font-weight: 500; }
.af-shift dl { margin: 0; padding: 6px 12px 10px; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font: 400 13px/1.3 "JetBrains Mono", monospace; }
.af-shift dt { color: var(--mute); }
.af-shift dd { margin: 0; text-align: right; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.af-shift dd.or { color: var(--or); }
.af-cap { position: fixed; left: 8.4vw; top: calc(17vh - 34px); margin: 0; font: 400 12px/1.3 "JetBrains Mono", monospace; color: var(--mute); pointer-events: none; }
.af-credit { position: fixed; right: var(--pad); bottom: calc(clamp(20px, 3.8vw, 55px) + 178px); margin: 0; width: min(400px, 34vw); font: 400 13px/1.45 "Schibsted Grotesk", sans-serif; color: var(--mute); opacity: 0; transition: opacity .4s; }
.af-credit a { color: var(--ink-2); pointer-events: auto; }
.af-landing.last .af-credit { opacity: 1; }
.af-landing.last .scroll-prompt { opacity: 0; }

/* the template's loader, on navy, a drawn mark in place of its own, no click to enter */
.af-loader { background: var(--bg) !important; color: var(--ink) !important; z-index: 50 !important; transition: opacity .55s ease, visibility 0s .55s !important; }
.af-loader.gone { opacity: 0; visibility: hidden; }
.af-loader .loader__subtitle, .af-loader .loader__counter { font: 600 12px/1 "Schibsted Grotesk", sans-serif !important; letter-spacing: .16em !important; text-transform: uppercase; }
.af-loader .loader__counter { font-family: "JetBrains Mono", monospace !important; letter-spacing: .08em !important; }
.af-loader-mark { width: 150px; height: 150px; display: block; }
.af-loader-mark .d { stroke: var(--or); stroke-width: 1.5; fill: none; stroke-dasharray: 900; stroke-dashoffset: 900; animation: af-draw 1.1s ease forwards; }
.af-loader-mark .h { stroke: var(--ink); stroke-width: 1.5; transform-origin: 75px 75px; animation: af-spin 2.4s linear infinite; }
@keyframes af-draw { to { stroke-dashoffset: 0; } }
@keyframes af-spin { to { transform: rotate(360deg); } }

/* ---------- app pages: the template's about layout (ruled edges, rotated side nav, split rows) ---------- */
.af-page { padding-top: 106px; position: relative; }
.af-edges { width: 100%; max-width: 1240px; margin: 0 auto; border-left: 1px solid var(--line); border-right: 1px solid var(--line); position: relative; }
.af-hero { padding: clamp(48px, 7vw, 100px) clamp(18px, 4vw, 56px) clamp(28px, 4vw, 52px); }
.af-tag { display: inline-block; font: 700 12px/1 "JetBrains Mono", monospace; padding: 6px 8px; background: var(--or); color: var(--on-or); }
.af-title { font: 700 clamp(40px, 6.4vw, 92px)/.92 "Schibsted Grotesk", sans-serif; letter-spacing: -.035em; margin: 22px 0 18px; max-width: 13ch; }
.af-title em { font-style: normal; color: var(--or); }
.af-lede { font-size: 19px; line-height: 1.45; color: var(--ink-2); max-width: 40rem; margin: 0; }
.af-lede a, .af-note a, .af-p a { color: var(--or); }
.af-side { position: fixed; left: 26px; top: 50%; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; display: flex; gap: 34px; z-index: 20; }
.af-side a { font: 600 12px/1 "Schibsted Grotesk", sans-serif; text-transform: uppercase; letter-spacing: .14em; color: var(--mute); text-decoration: none; padding: 4px 0; }
.af-side a.on, .af-side a:hover { color: var(--or); }
.af-row { position: relative; border-top: 1px solid var(--line); }
.af-row.wide::before { content: ""; position: absolute; top: -1px; left: -60px; right: -60px; height: 1px; background: var(--line); }
.af-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.af-split > * { padding: clamp(22px, 3vw, 40px) clamp(18px, 3vw, 40px); min-width: 0; }
.af-split > * + * { border-left: 1px solid var(--line); }
.af-split.r-wide { grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr); }
.af-split.l-wide { grid-template-columns: minmax(300px, 1fr) minmax(0, 1.6fr); }
.af-cell { padding: clamp(22px, 3vw, 40px) clamp(18px, 3vw, 40px); }
.af-window { margin: 0; padding: 22px; position: relative; }
.af-window::before { content: ""; position: absolute; left: 12px; right: 12px; top: 12px; height: 1px; background: var(--line-2); }
.af-ind { display: flex; gap: 12px; align-items: flex-start; }
.af-ind .textIndication--arrow { width: 13px; flex: none; margin-top: 6px; stroke: var(--or); }
.af-ind .textIndication--text { font-size: 17px; line-height: 1.45; color: var(--ink); }
.af-h2 { font: 700 clamp(26px, 2.8vw, 38px)/1 "Schibsted Grotesk", sans-serif; letter-spacing: -.02em; margin: 0 0 18px; }
.af-h3 { font: 700 15px/1.2 "Schibsted Grotesk", sans-serif; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 14px; color: var(--ink); }
.af-h3 .m { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--mute); font-size: 12px; margin-left: 8px; }
.af-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.af-top .af-h2, .af-top .af-h3 { margin: 0; }
.af-mute { color: var(--mute); }
.af-note { font-size: 14px; line-height: 1.5; color: var(--mute); margin: 10px 0 0; }
.af-p { font-size: 16px; line-height: 1.55; color: var(--ink-2); margin: 0 0 12px; }
.af-empty { border: 1px dashed var(--line-2); padding: 22px; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.af-empty b { color: var(--ink); }
.af-num { font: 500 clamp(22px, 2.2vw, 30px)/1 "JetBrains Mono", monospace; color: var(--ink); }
.af-num.or { color: var(--or); }
.af-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.af-kpis > div { padding: 18px clamp(14px, 2vw, 26px); border-right: 1px solid var(--line); min-width: 0; }
.af-kpis > div:last-child { border-right: 0; }
.af-kpis span { display: block; font-size: 13px; color: var(--mute); margin-bottom: 9px; }
.af-kpis b { font: 500 20px/1.1 "JetBrains Mono", monospace; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* buttons + forms */
.af-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 13px/1 "Schibsted Grotesk", sans-serif; text-transform: uppercase; letter-spacing: .09em; color: var(--on-or); background: var(--or); border: 1px solid var(--or); padding: 13px 18px; cursor: pointer; text-decoration: none; }
.af-btn:hover { background: var(--ink); border-color: var(--ink); }
.af-btn[disabled] { opacity: .45; cursor: not-allowed; }
.af-btn.line { background: none; color: var(--ink); border-color: var(--line-3); }
.af-btn.line:hover { border-color: var(--or); color: var(--or); }
.af-btn.big { width: 100%; padding: 17px; font-size: 14px; }
.af-btn.sm { padding: 8px 11px; font-size: 12px; }
.af-btn.danger { background: none; color: var(--ink); border-color: var(--or); }
.af-btn.danger:hover { background: var(--or); color: var(--on-or); }
.af-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.af-field > span { font-size: 13px; color: var(--ink-2); display: flex; justify-content: space-between; gap: 8px; }
.af-field > span i { font-style: normal; color: var(--mute); font-family: "JetBrains Mono", monospace; font-size: 12px; }
.af-field input, .af-field select, .af-field textarea, .af-input { width: 100%; background: var(--bg-2); color: var(--ink); border: 1px solid var(--line-2); padding: 11px 12px; font: 400 15px/1.2 "JetBrains Mono", monospace; border-radius: 0; outline: none; }
.af-field textarea { font-family: "Schibsted Grotesk", sans-serif; line-height: 1.45; resize: vertical; }
.af-field input:focus, .af-field select:focus, .af-field textarea:focus, .af-input:focus { border-color: var(--or); }
.af-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 30px; }
.af-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.af-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.af-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.af-stack { display: flex; flex-direction: column; gap: 14px; }
.af-seg { display: inline-flex; border: 1px solid var(--line-2); flex-wrap: wrap; }
.af-seg button { background: none; border: 0; border-right: 1px solid var(--line-2); color: var(--ink-2); font: 600 12px/1 "Schibsted Grotesk", sans-serif; text-transform: uppercase; letter-spacing: .08em; padding: 10px 13px; cursor: pointer; }
.af-seg button:last-child { border-right: 0; }
.af-seg button.on { background: var(--or); color: var(--on-or); }
.af-seg button:not(.on):hover { color: var(--ink); }
.af-tabs { display: flex; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.af-tabs button { background: none; border: 0; border-bottom: 2px solid transparent; color: var(--ink-2); font: 700 13px/1 "Schibsted Grotesk", sans-serif; text-transform: uppercase; letter-spacing: .09em; padding: 16px 18px 14px; cursor: pointer; white-space: nowrap; }
.af-tabs button.on { color: var(--ink); border-color: var(--or); }
.af-tabs button .m { color: var(--mute); font-weight: 400; margin-left: 6px; letter-spacing: 0; }
.af-sw { display: flex; align-items: flex-start; gap: 11px; cursor: pointer; font-size: 15px; line-height: 1.35; color: var(--ink); }
.af-sw input { appearance: none; flex: none; width: 34px; height: 18px; border: 1px solid var(--line-3); background: var(--bg-2); position: relative; cursor: pointer; margin: 1px 0 0; }
.af-sw input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 10px; height: 10px; background: var(--mute); transition: left .15s; }
.af-sw input:checked { border-color: var(--or); }
.af-sw input:checked::after { left: 19px; background: var(--or); }
.af-sw small { display: block; color: var(--mute); font-size: 13px; margin-top: 3px; }
.af-fs { border: 0; border-top: 1px solid var(--line); margin: 0; padding: 20px 0 6px; min-width: 0; }
.af-fs > legend { padding: 0 10px 0 0; font: 700 13px/1 "Schibsted Grotesk", sans-serif; text-transform: uppercase; letter-spacing: .09em; color: var(--ink); }
.af-fs > legend .m { text-transform: none; letter-spacing: 0; color: var(--mute); font-weight: 400; margin-left: 6px; }
details.af-more { border-top: 1px solid var(--line); }
details.af-more > summary { list-style: none; cursor: pointer; padding: 16px 0; font: 700 13px/1 "Schibsted Grotesk", sans-serif; text-transform: uppercase; letter-spacing: .09em; display: flex; justify-content: space-between; }
details.af-more > summary::-webkit-details-marker { display: none; }
details.af-more > summary::after { content: "+"; font-family: "JetBrains Mono", monospace; color: var(--or); font-size: 16px; }
details.af-more[open] > summary::after { content: "-"; }
details.af-more > div { padding: 0 0 18px; }
.af-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.af-tags span { font: 400 12px/1 "JetBrains Mono", monospace; border: 1px solid var(--line-2); padding: 6px 7px; display: inline-flex; gap: 7px; align-items: center; }
.af-tags span button { background: none; border: 0; color: var(--mute); cursor: pointer; padding: 0; font: inherit; }
.af-tags span button:hover { color: var(--or); }
.af-out { margin-top: 12px; font-size: 14px; line-height: 1.45; min-height: 1px; }
.af-out.err { color: var(--or); }
.af-out a { color: var(--or); }

/* tables + rows */
.af-tw { overflow-x: auto; }
.af-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.af-table th { text-align: left; font: 500 12px/1 "JetBrains Mono", monospace; color: var(--mute); padding: 10px 10px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.af-table td { padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.af-table td.m, .af-table td .m { font-size: 13px; }
.af-table td.r, .af-table th.r { text-align: right; }
.af-table tr.click { cursor: pointer; }
.af-table tr.click:hover td { background: var(--bg-2); }
.af-table a { color: var(--ink); }
.af-side-buy { color: var(--or); }
.af-side-sell { color: var(--down); }
.af-flag { display: inline-block; font: 700 11px/1 "JetBrains Mono", monospace; padding: 4px 6px; border: 1px solid var(--or); color: var(--or); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.af-flag.solid { background: var(--or); color: var(--on-or); }
.af-flag.dim { border-color: var(--line-3); color: var(--ink-2); }
.af-bar { height: 6px; background: var(--bg-3); position: relative; }
.af-bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--or); }
.af-coinrow { display: grid; grid-template-columns: 46px minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)) 120px; gap: 14px; align-items: center; padding: 14px clamp(14px, 2vw, 26px); border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.af-coinrow:hover { background: var(--bg-2); }
.af-coinrow .af-av { width: 46px; height: 46px; }
.af-av { display: inline-flex; align-items: center; justify-content: center; background: var(--bg-3); border: 1px solid var(--line-2); font: 700 16px/1 "JetBrains Mono", monospace; color: var(--or); overflow: hidden; flex: none; }
.af-av img { width: 100%; height: 100%; object-fit: cover; }
.af-coinrow b { display: block; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.af-coinrow small { display: block; color: var(--mute); font: 400 12px/1.3 "JetBrains Mono", monospace; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.af-coinrow .lbl { display: none; }
.af-dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; font-size: 14px; }
.af-dl dt { color: var(--mute); }
.af-dl dd { margin: 0; text-align: right; font-family: "JetBrains Mono", monospace; overflow-wrap: anywhere; }
.af-json { background: var(--bg-2); border: 1px solid var(--line); padding: 14px; font: 400 12.5px/1.5 "JetBrains Mono", monospace; color: var(--ink-2); white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; max-height: 380px; overflow: auto; }
.af-log { font: 400 13px/1.45 "JetBrains Mono", monospace; }
.af-log > div { display: grid; grid-template-columns: 88px 64px minmax(0, 1fr) auto; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.af-log > div > span:nth-child(3) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }
.af-log a { color: var(--or); }
.af-rule { border: 1px solid var(--line-2); padding: 14px 16px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 14px; align-items: start; }
.af-rule + .af-rule { margin-top: -1px; }
.af-rule b { font-size: 15px; }
.af-rule p { margin: 4px 0 0; font: 400 12.5px/1.45 "JetBrains Mono", monospace; color: var(--ink-2); overflow-wrap: anywhere; }
.af-rule .acts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.af-ticket .af-seg { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
.af-ticket .af-seg button { padding: 13px; }
.af-quick { display: flex; gap: 6px; flex-wrap: wrap; }
.af-quick button { background: none; border: 1px solid var(--line-2); color: var(--ink-2); font: 400 12px/1 "JetBrains Mono", monospace; padding: 7px 9px; cursor: pointer; }
.af-quick button:hover, .af-quick button.on { border-color: var(--or); color: var(--or); }
.af-chart { width: 100%; height: 260px; display: block; background: var(--bg-2); border: 1px solid var(--line); }
.af-ladder { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line-2); }
.af-ladder > div { padding: 12px; border-right: 1px solid var(--line-2); font-size: 13px; color: var(--ink-2); }
.af-ladder > div:last-child { border-right: 0; }
.af-ladder b { display: block; color: var(--ink); font: 500 15px/1.2 "JetBrains Mono", monospace; margin-top: 6px; }
.af-steps { display: flex; gap: 0; list-style: none; padding: 0; margin: 0 0 18px; border: 1px solid var(--line-2); counter-reset: s; }
.af-steps li { flex: 1; padding: 10px 12px; font: 500 12px/1.2 "JetBrains Mono", monospace; color: var(--mute); border-right: 1px solid var(--line-2); counter-increment: s; }
.af-steps li::before { content: counter(s) ". "; }
.af-steps li:last-child { border-right: 0; }
.af-steps li.on { color: var(--on-or); background: var(--or); }
.af-steps li.done { color: var(--ink); }
.af-split-rows .row { display: grid; grid-template-columns: minmax(0, 1fr) 110px 34px; gap: 8px; margin-bottom: 8px; }
.af-split-rows .row button { background: none; border: 1px solid var(--line-2); color: var(--mute); cursor: pointer; }
.af-drop { display: flex; align-items: center; justify-content: center; gap: 14px; border: 1px dashed var(--line-3); padding: 18px; cursor: pointer; color: var(--ink-2); font-size: 14px; min-height: 96px; }
.af-drop img { width: 72px; height: 72px; object-fit: cover; }
.af-rev td:first-child { white-space: nowrap; }
.af-rev td { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.af-rev td b { color: var(--ink); }
.af-rev a { color: var(--or); }

/* footer */
.af-foot { border-top: 1px solid var(--line); margin-top: 0; }
.af-foot-in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem 2.4rem; align-items: center; padding: 2rem clamp(18px, 4vw, 56px) 2.4rem; font-size: 14px; color: var(--mute); line-height: 1.5; }
.af-foot-in p { margin: 0; max-width: 36rem; }
.af-foot-mark { font: 800 30px/1 "Schibsted Grotesk", sans-serif; letter-spacing: -.02em; color: var(--ink); }
.af-foot nav { display: flex; gap: 16px; flex-wrap: wrap; }
.af-foot nav a { color: var(--ink-2); text-decoration: none; text-transform: uppercase; font-size: 12px; letter-spacing: .08em; font-weight: 600; }
.af-foot nav a:hover { color: var(--or); }
.af-ca { grid-column: 1 / -1; font-size: 13px; color: var(--ink-2); overflow-wrap: anywhere; }

/* toasts */
.af-toasts { position: fixed; right: 16px; bottom: 16px; z-index: 90; display: flex; flex-direction: column; gap: 8px; max-width: min(420px, calc(100vw - 32px)); }
.af-toast { background: var(--bg); border: 1px solid var(--line-3); border-left: 4px solid var(--or); color: var(--ink); padding: 12px 14px; font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.af-toast.err { border-left-color: var(--ink); }
.af-toast a { color: var(--or); }

@media (max-width: 1100px) {
  .af-nav { gap: 16px; margin-left: 20px; }
  .af-coinrow { grid-template-columns: 46px minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)) 100px; }
  .af-coinrow .hide-md { display: none; }
}
@media (max-width: 1000px) {
  .af-nav, .af-side { display: none; }
  .af-phase .phase_content { left: 20px !important; right: 20px !important; top: 96px !important; width: auto !important; }
  .af-cap { left: 20px; top: 72px; }
  .phase_content_title { font-size: clamp(32px, 9vw, 46px) !important; margin: 16px 0 12px !important; }
  .af-hook { font-size: 16px; margin-bottom: 16px; }
  .af-shift { left: 20px; right: 20px; width: auto; bottom: 96px; }
  .af-shift dl { grid-template-columns: auto 1fr auto 1fr; }
  .phase_legend_text { font-size: 14px !important; width: auto !important; max-width: calc(100vw - 40px); }
  .af-credit { left: 20px; right: 20px; width: auto; bottom: 236px; }
  .af-split, .af-split.r-wide, .af-split.l-wide { grid-template-columns: minmax(0, 1fr); }
  .af-split > * + * { border-left: 0; border-top: 1px solid var(--line); }
  .af-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .af-kpis > div:nth-child(2) { border-right: 0; }
  .af-kpis > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 700px) {
  .af-header .headerBlock__wrapper { padding: 14px 16px; gap: 10px; }
  .af-mark.homeButton { font-size: 22px; }
  .af-header .pagination_item { padding: 8px !important; }
  .af-header .navbar { gap: 12px; }
  .af-hbtn .soundButton_text { font-size: 11px !important; padding: 8px 9px; letter-spacing: .06em; }
  .af-strip { top: 63px; }
  .af-page { padding-top: 100px; }
  .af-menu .menu { flex-direction: column !important; align-items: flex-start; gap: 34px; }
  .af-foot-in { grid-template-columns: 1fr; }
  .af-edges { border-left: 0; border-right: 0; }
  .af-grid2, .af-grid3, .af-grid4 { grid-template-columns: minmax(0, 1fr); }
  .af-grid4.keep2, .af-grid3.keep2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .af-coinrow { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; }
  .af-coinrow .af-av { width: 40px; height: 40px; }
  .af-coinrow .hide-sm { display: none; }
  .af-log > div { grid-template-columns: 70px minmax(0, 1fr) auto; }
  .af-log > div > span:nth-child(2) { display: none; }
  .af-ladder { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .af-ladder > div:nth-child(2) { border-right: 0; }
  .af-ladder > div:nth-child(n+3) { border-top: 1px solid var(--line-2); }
  .af-steps li { padding: 9px 6px; font-size: 11px; }
  .af-shift dl { grid-template-columns: auto 1fr; }
  .af-shift dl .hide-sm { display: none; }
  .af-title { font-size: clamp(38px, 11vw, 52px); }
  .af-lede { font-size: 17px; }
  .af-tabs button { padding: 14px 12px 12px; font-size: 12px; }
}

/* header + landing fixes over the template's rules */
.af-header .navbar { margin: 0 !important; height: auto !important; align-items: center !important; }
.af-header .soundButton { display: flex !important; }
.af-header .menuButton { margin: 0 !important; }
@media (max-width: 1000px) {
  .af-cap { top: 76px; font-size: 11px; right: 20px; }
  .af-phase .phase_content { top: 118px !important; }
}
@media (max-width: 700px) {
  .af-landing .af-hbtn { display: none !important; }
}
.af-header .af-hbtn, .af-header .menuButton { transform: none !important; }
.main[data-v-8b03ae4b], .main { position: static !important; height: auto !important; min-height: 100vh; background: transparent !important; }
@media (max-width: 700px) {
  .af-rev thead { display: none; }
  .af-rev, .af-rev tbody, .af-rev tr, .af-rev td { display: block; width: 100%; }
  .af-rev tr { border-bottom: 1px solid var(--line-2); padding: 10px 0; }
  .af-rev td { border: 0; padding: 4px 0; }
  .af-rev td:first-child { font-weight: 700; padding-top: 6px; }
  .af-rev td:nth-child(2)::before { content: "There: "; color: var(--mute); }
  .af-rev td:nth-child(3)::before { content: "Here: "; color: var(--or); }
}
.af-header .af-hbtn .soundButton_text { display: block !important; opacity: 1 !important; visibility: visible !important; white-space: nowrap; }
@media (max-width: 700px) { .af-kpis b { white-space: normal; font-size: 17px; } }
.af-log > .af-empty { display: block; font-family: "Schibsted Grotesk", sans-serif; }
.af-kpis.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.af-kpis.two > div:nth-child(2) { border-right: 0; }
.af-credit { background: var(--bg); border: 1px solid var(--line-2); padding: 10px 12px; }
.af-log > .af-empty { padding: 22px; }
