.tf-page {
  --tf-ink: #16181b;
  --tf-paper: #eeeee9;
  --tf-accent: #d0ff62;
  --tf-mono: "Moderat Mono", ui-monospace, monospace;
}
.tf-page a:focus-visible, .tf-page button:focus-visible, .tf-page input:focus-visible,
.tf-page select:focus-visible { outline: 2px solid #738d30; outline-offset: 3px; }

.tf-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  padding: 21px clamp(18px, 3.3vw, 54px);
  font: 600 clamp(10px, 1vw, 14px)/1 var(--tf-mono);
  color: #fff;
  text-transform: uppercase;
}
.tf-nav a { color: inherit; text-decoration: none; }
.tf-wordmark { display: inline-flex; align-items: center; gap: 10px; letter-spacing: 0.075em; }
.tf-mark { display: block; width: 24px; height: 24px; flex: none; }
.tf-nav :is(.tf-mark, .tf-wordmark-label, .tf-nav-links) { position: relative; z-index: 4; }
.tf-nav :is(.tf-wordmark-label, .tf-nav-links) { mix-blend-mode: difference; }
.tf-nav-links { display: flex; gap: clamp(16px, 4vw, 65px); align-items: center; }
.tf-nav-cta { border: 1px solid currentColor; padding: 11px 14px; }
.tf-page .component--hero { --hero-poster: url("/media/space-hero/poster-v2.webp"); }
.tf-hero-drag { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.tf-page .component--hero .content.--main { top: 13%; z-index: 1; }
.tf-page .component--hero .title { font-size: clamp(49px, 13vw, 242px); letter-spacing: -.085em; line-height: .81; }
.tf-page .component--hero .wysiwyg { margin-top: clamp(23px, 3.2vw, 48px); }
.tf-hero-description { font-size: clamp(15px, 1.5vw, 25px); }
.tf-hero-cta { display: inline-block; margin-top: 15px; color: #fff; border-bottom: 1px solid currentColor; font: 600 12px/1.6 var(--tf-mono); text-transform: uppercase; text-decoration: none; }
.tf-page .component--hero .info { position: absolute; width: calc(100% - 7vw); bottom: 22px; }
.tf-page .component--hero .info .label { font-size: clamp(9px, .86vw, 13px); }

.tf-width { width: min(1344px, 93vw); margin-inline: auto; }
.tf-studio, .tf-markets { position: relative; z-index: 2; padding: 54px 0 100px; scroll-margin-top: 0; }
.tf-overline { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid currentColor; padding-top: 13px; font: 600 11px/1.2 var(--tf-mono); text-transform: uppercase; letter-spacing: .055em; }
.tf-section-lead { display: grid; grid-template-columns: 1.7fr 1fr; align-items: end; gap: 28px; margin: 42px 0 37px; }
.tf-section-lead h2 { margin: 0; font: 400 clamp(46px, 7.6vw, 110px)/.86 "Pastiche Grotesque", sans-serif; letter-spacing: -.071em; }
.tf-section-lead p { margin: 0 0 4px; font-size: clamp(16px, 1.45vw, 21px); line-height: 1.3; max-width: 345px; }
.tf-button { min-height: 44px; padding: 0 15px; border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; font: 600 12px/1.15 var(--tf-mono); }
.tf-button:disabled { opacity: .38; cursor: not-allowed; }
.tf-small, .tf-feedback, .tf-quote { font: 600 12px/1.45 var(--tf-mono); }
.tf-small { margin: 8px 0 0; color: inherit; opacity: .7; }
.tf-feedback { margin: 10px 0 0; min-height: 18px; }
.tf-preview-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.tf-status { display: inline-flex; align-items: center; gap: 7px; border: 1px solid currentColor; padding: 5px 7px; color: var(--tf-accent); white-space: nowrap; font: 600 10px/1 var(--tf-mono); text-transform: uppercase; }
.tf-status::before { content: ""; width: 5px; height: 5px; background: currentColor; border-radius: 50%; }
.tf-status[hidden], .tf-status:empty { display: none; }

.tf-studio {
  --tf-ink: #141414;
  --tf-studio-paper: #f4f1ea;
  --tf-studio-rule: #c8c4bb;
  --tf-studio-caption: #56534e;
  --tf-studio-accent: #814b2f;
  --tf-studio-copper: #b87333;
  --tf-studio-blue: #1f3a5f;
  background: var(--tf-studio-paper);
  color: var(--tf-ink);
  padding-block: clamp(41px, 5.6vw, 80px);
}
.tf-studio::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: url("/media/space-hero/studio-paper.webp") center / cover no-repeat; opacity: .72; mix-blend-mode: multiply; }
.tf-studio .tf-width { width: min(1120px, 92vw); }
.tf-studio :is(a, button, input):focus-visible { outline-color: var(--tf-studio-accent); }
.tf-studio-intro { display: flex; justify-content: space-between; gap: 18px; align-items: end; padding-bottom: 26px; margin-bottom: 21px; border-bottom: 1px solid var(--tf-ink); }
.tf-studio-intro h2 { margin: 0; font: 400 clamp(43px, 5.6vw, 78px)/.9 "Pastiche Grotesque", sans-serif; letter-spacing: -.07em; }
.tf-studio-intro p { margin: 10px 0 0; max-width: 375px; font-size: 16px; line-height: 1.36; color: var(--tf-studio-caption); }
.tf-workspace { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); }
.tf-form, .tf-preview { min-width: 0; }
.tf-preview { border-left: 1px solid var(--tf-studio-rule); padding-left: clamp(24px, 3.8vw, 50px); }
.tf-terminal-rail { display: flex; min-height: 29px; justify-content: space-between; gap: 10px; align-items: baseline; }
.tf-terminal-rail h3 { margin: 0; font: 600 12px/1.2 var(--tf-mono); letter-spacing: .025em; text-transform: uppercase; }
.tf-terminal-rail time, .tf-panel-title h4 span, .tf-first span { color: var(--tf-studio-caption); font: 600 11px/1.2 var(--tf-mono); white-space: nowrap; }
.tf-form label, .tf-form legend { font-size: 14px; line-height: 1.25; }
.tf-form label { display: block; min-width: 0; }
.tf-fields { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 16px; }
.tf-form input:not([type="checkbox"], [type="file"]) { display: block; width: 100%; min-width: 0; height: 41px; padding: 0 4px; margin-top: 3px; border: 0; border-bottom: 1px solid #79766d; border-radius: 0; background: transparent; color: inherit; font: inherit; font-size: 16px; }
.tf-form input::placeholder { color: #5f5d57; }
.tf-form input[name="ticker"] { text-transform: uppercase; font-family: var(--tf-mono); }
.tf-photo-row { display: flex; gap: 12px; justify-content: space-between; align-items: center; margin-top: 17px; }
.tf-form .tf-photo-picker { position: relative; display: flex; gap: 11px; align-items: center; cursor: pointer; min-height: 44px; }
.tf-photo-picker:focus-within { outline: 2px solid var(--tf-studio-blue); outline-offset: 4px; }
.tf-photo-picker input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.tf-photo-thumb { width: 43px; aspect-ratio: 1; border: 1px dashed #8c8377; display: grid; place-items: center; flex: none; }
.tf-photo-thumb:has(img[hidden])::before { content: "+"; color: var(--tf-studio-caption); font-size: 19px; }
.tf-photo-thumb:has(img:not([hidden])) { border-style: solid; }
.tf-photo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tf-photo-copy { display: grid; gap: 3px; min-width: 0; }
.tf-photo-copy small { color: var(--tf-studio-caption); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.tf-photo-remove { flex: none; padding: 5px 0; color: var(--tf-studio-caption); background: none; border: 0; border-bottom: 1px solid currentColor; cursor: pointer; font-size: 12px; }
.tf-photo-feedback { margin: 6px 0 0; color: var(--tf-studio-accent); font-size: 12px; }
.tf-photo-feedback:empty { display: none; }
.tf-panel { border-top: 1px solid var(--tf-studio-rule); margin-top: 26px; padding-top: 20px; }
.tf-panel-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tf-panel-title h4 { margin: 0; font-size: 19px; font-weight: 400; letter-spacing: -.039em; }
.tf-panel-title h4 span, .tf-first span { margin-left: 4px; }
.tf-presets { display: flex; gap: 11px; }
.tf-presets button { min-height: 31px; border: 0; border-bottom: 1px solid transparent; padding: 0 1px; background: transparent; color: var(--tf-studio-caption); font: 600 11px/1 var(--tf-mono); cursor: pointer; }
.tf-presets button:hover { color: var(--tf-ink); }
.tf-presets button[aria-pressed="true"] { border-color: var(--tf-ink); color: var(--tf-ink); }
.tf-form fieldset { border: 0; padding: 0; margin: 18px 0 0; }
.tf-form legend { padding: 0; margin-bottom: 7px; }
.tf-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.tf-days label { position: relative; cursor: pointer; }
.tf-days input { position: absolute; opacity: 0; }
.tf-days span { display: grid; place-items: center; min-height: 39px; border-top: 1px solid var(--tf-studio-rule); border-bottom: 1px solid var(--tf-studio-rule); color: var(--tf-studio-caption); font: 600 12px/1 var(--tf-mono); }
.tf-days input:checked + span { border-top-color: var(--tf-ink); border-bottom-color: var(--tf-ink); background: var(--tf-ink); color: var(--tf-studio-paper); }
.tf-days input:focus-visible + span { outline: 2px solid var(--tf-studio-accent); outline-offset: 2px; }
.tf-times { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.45fr); margin-top: 20px; align-items: end; }
.tf-first span { margin-left: 2px; font-size: 10px; }
.tf-form-actions { display: flex; flex-direction: row-reverse; align-items: center; justify-content: flex-end; gap: 15px; margin-top: 26px; }
.tf-form-actions .tf-feedback { flex: 1; color: var(--tf-studio-caption); margin: 0; }
.tf-meteora-fields:not([hidden]) { display: grid; gap: 8px; margin: 0 0 18px; }
.tf-meteora-fields input { padding: 10px 12px; color: inherit; background: transparent; border: 1px solid #767b84; font: inherit; }
.tf-meteora-fields p { margin: 0; }
.tf-chain-link { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.tf-primary { flex: none; border-color: var(--tf-ink); background: var(--tf-ink); color: var(--tf-studio-paper); }
.tf-primary:hover { background: #333630; }

.tf-preview > .tf-preview-top { border-bottom: 1px solid var(--tf-studio-rule); padding-bottom: 11px; }
.tf-preview-identity { min-width: 0; }
.tf-token-name { margin: 0; overflow-wrap: anywhere; font-size: clamp(21px, 2.35vw, 33px); line-height: 1.01; letter-spacing: -.045em; }
#preview-symbol { color: var(--tf-studio-caption); font: 600 11px/1.3 var(--tf-mono); }
.tf-preview .tf-status { border: 0; padding: 0; color: #365e4e; }
.tf-dial { position: relative; width: min(100%, 306px); aspect-ratio: 1; margin: 12px auto; color: var(--tf-ink); }
.tf-dial-ticks, .tf-dial-arc, .tf-dial-needle { position: absolute; border-radius: 50%; pointer-events: none; }
.tf-dial-ticks {
  inset: 15px;
  background: repeating-conic-gradient(from -.5deg, #57554f 0deg 1deg, transparent 1deg 15deg);
  mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 5px) calc(100% - 1px), transparent 100%);
}
.tf-dial-arc {
  inset: 27px;
  background-color: #d8d4ca;
  background-image: var(--tf-trading-arc);
  mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px) calc(100% - 1px), transparent 100%);
}
.tf-dial-needle { inset: 15px; transform: rotate(var(--tf-needle-rotation, 0deg)); }
.tf-dial-needle::before { content: ""; position: absolute; left: calc(50% - 1px); top: 2px; width: 2px; height: 20px; background: var(--tf-studio-blue); }
.tf-dial-scale { position: absolute; inset: 6px 8px; font: 600 10px/1 var(--tf-mono); color: var(--tf-studio-caption); pointer-events: none; }
.tf-dial-scale span { position: absolute; transform: translate(-50%, -50%); }
.tf-dial-scale span:nth-child(1) { top: 0; left: 50%; }
.tf-dial-scale span:nth-child(2) { top: 14.65%; left: 85.35%; }
.tf-dial-scale span:nth-child(3) { top: 50%; left: 100%; }
.tf-dial-scale span:nth-child(4) { top: 85.35%; left: 85.35%; }
.tf-dial-scale span:nth-child(5) { top: 100%; left: 50%; }
.tf-dial-scale span:nth-child(6) { top: 85.35%; left: 14.65%; }
.tf-dial-scale span:nth-child(7) { top: 50%; left: 0; }
.tf-dial-scale span:nth-child(8) { top: 14.65%; left: 14.65%; }
.tf-dial-stop { position: absolute; inset: 29px; transform: rotate(var(--tf-stop-angle)); pointer-events: none; }
.tf-dial-stop button { position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%); width: 27px; height: 27px; display: grid; place-items: center; border: 0; border-radius: 50%; padding: 0; background: none; cursor: grab; pointer-events: auto; touch-action: none; }
.tf-dial-stop button:active { cursor: grabbing; }
.tf-dial-stop button::after { content: ""; width: 9px; height: 9px; border: 1px solid #784622; background: var(--tf-studio-copper); border-radius: 50%; box-shadow: 0 0 0 1px var(--tf-studio-paper); }
.tf-dial-stop button:hover::after, .tf-dial-stop button:focus-visible::after { width: 12px; height: 12px; }
.tf-dial-medallion { position: absolute; top: 23%; left: 36%; width: 28%; aspect-ratio: 1; border-radius: 50%; border: 1px dashed #928779; overflow: hidden; pointer-events: none; }
.tf-dial-medallion:has(img:not([hidden])) { border-style: solid; box-shadow: 0 1px 2px #28221c50; }
.tf-dial-medallion img { width: 100%; height: 100%; object-fit: cover; }
.tf-count { position: absolute; top: 59%; left: 9%; right: 9%; display: grid; justify-items: center; gap: 6px; text-align: center; pointer-events: none; }
.tf-count p { margin: 0; color: var(--tf-studio-caption); font: 600 11px/1.2 var(--tf-mono); }
.tf-count strong { display: block; font: 600 clamp(31px, 3.4vw, 42px)/1 var(--tf-mono); font-variant-numeric: tabular-nums; letter-spacing: -.083em; }
.tf-count strong[data-long="true"] { font-size: clamp(23px, 2.6vw, 35px); }
.tf-preview-window { border-top: 1px solid var(--tf-studio-rule); padding-top: 11px; }
.tf-preview-window > p { margin: 0 0 5px; font-size: 14px; line-height: 1.25; }
.tf-preview-window > time { color: var(--tf-studio-caption); font: 600 11px/1.2 var(--tf-mono); }

.tf-markets { background: #191c22; color: var(--tf-paper); }
.tf-markets-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 286px), 1fr)); gap: 14px; }
.tf-market { padding: 18px; border: 1px solid #454a54; }
.tf-market h3 { margin: 18px 0 0; font-size: 26px; letter-spacing: -.045em; overflow-wrap: anywhere; }
.tf-market-identity { display: flex; gap: 10px; align-items: center; margin-top: 18px; }
.tf-market-identity h3 { margin: 0; }
.tf-market-identity img { width: 39px; height: 39px; border-radius: 50%; object-fit: cover; flex: none; }
.tf-market-controls { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 7px; margin-top: 24px; }
.tf-market-controls input { color: inherit; font-size: 16px; min-width: 0; background: transparent; border: 1px solid #767b84; padding: 8px; }
.tf-market-controls button { min-height: 38px; }
.tf-footer { background: #191c22; color: var(--tf-paper); border-top: 1px solid #454a54; }
.tf-footer .tf-width { display: flex; justify-content: space-between; gap: 12px; padding-block: 26px; font: 600 11px/1.2 var(--tf-mono); }
.tf-footer a { color: inherit; }

@media (max-width: 660px) {
  .tf-nav { padding-top: 15px; }
  .tf-nav-links { gap: 14px; }
  .tf-nav-cta { padding: 8px; }
  .tf-page .component--hero .content.--main { top: auto; bottom: 21%; }
  .tf-page .component--hero .video video { object-position: var(--tf-video-position, 50% 50%); }
  .tf-page .component--hero .info { bottom: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 12px; }
  .tf-page .component--hero .info .label { height: auto; line-height: 1.2; }
  .tf-page .component--hero .info .label:nth-child(even) { text-align: right; }
  .tf-section-lead { grid-template-columns: 1fr; }
  .tf-markets { padding: 35px 0 55px; }
  .tf-section-lead { gap: 13px; margin: 34px 0 25px; }
}

@media (max-width: 860px) {
  .tf-workspace { grid-template-columns: 1fr; gap: 30px; }
  .tf-preview { border-left: 0; border-top: 1px solid var(--tf-ink); padding: 21px 0 0; }
}

@media (max-width: 520px) {
  .tf-studio-intro { flex-direction: column; align-items: start; gap: 12px; }
  .tf-panel-title { flex-wrap: wrap; }
  .tf-times { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tf-first { grid-column: 1 / -1; }
  .tf-form-actions { align-items: stretch; flex-direction: column-reverse; gap: 8px; }
  .tf-form-actions .tf-feedback:empty { display: none; }
}
