/* ==========================================================================
   HERHACK 2026 — components.css
   Navigation, buttons, chips, marquee, dock, tabs, and the SVG art system.
   ========================================================================== */

/* ============================================================= BUTTONS === */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  line-height: 1;
  border: 1.5px solid transparent;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.34s var(--ease), background-color 0.3s var(--ease),
    color 0.3s var(--ease), box-shadow 0.34s var(--ease), border-color 0.3s var(--ease);
  will-change: transform;
}

/* micro-interaction: a light sweep across the pill on hover */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.55) 46%, transparent 72%);
  transform: translateX(-110%);
  transition: transform 0.7s var(--ease);
}
.btn:hover::before { transform: translateX(110%); }

.btn__arrow {
  display: inline-flex;
  width: 1.15em;
  height: 1.15em;
  transition: transform 0.4s var(--ease);
}
.btn__arrow .icon { width: 100%; height: 100%; }
.btn:hover .btn__arrow { transform: translateX(5px); }
.btn:active { transform: translateY(-1px) scale(0.985); }

.btn--primary {
  background: var(--coral);
  color: #220c05;
  box-shadow: 0 10px 26px -14px rgba(255, 90, 61, 0.95);
}
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 36px -16px rgba(255, 90, 61, 1);
}
.btn--primary::before { background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.62) 46%, transparent 72%); }

.btn--ghost {
  border-color: var(--line-2);
  color: var(--ink);
  background: rgba(255, 253, 251, 0.5);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); transform: translateY(-3px); }

.btn--outline {
  border-color: var(--line-2);
  color: var(--ink);
  background: transparent;
}
.btn--outline:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); transform: translateY(-3px); }

.btn--light {
  background: var(--cream);
  color: var(--ink);
}
.btn--light:hover { background: #fff; transform: translateY(-3px); box-shadow: 0 18px 34px -20px rgba(0, 0, 0, 0.7); }

.btn--lime { background: var(--lime); color: #1c2405; }
.btn--lime:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -18px rgba(201, 244, 90, 0.9); }

.btn--disabled {
  background: rgba(23, 21, 26, 0.12);
  color: var(--ink-35);
  cursor: not-allowed;
}

.btn--sm { padding: 11px 17px; font-size: 0.68rem; letter-spacing: 0.1em; }
.btn--lg { padding: 18px 28px; font-size: 0.82rem; }
.btn--block { width: 100%; justify-content: center; }

/* ============================================================ NAVIGATION == */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--z-nav);
  padding: 14px var(--gutter);
  transition: transform 0.55s var(--ease);
}
.nav.is-hidden { transform: translateY(-135%); }

.nav__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 26px);
  min-height: 56px;
  padding: 6px 8px 6px 20px;
  border-radius: var(--r-pill);
  background: rgba(255, 248, 243, 0.62);
  border: 1px solid transparent;
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav.is-stuck .nav__inner {
  background: rgba(255, 250, 246, 0.9);
  border-color: var(--line);
  box-shadow: 0 14px 40px -26px rgba(23, 21, 26, 0.75);
}

.nav__brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  margin-right: auto;
  flex: none;
}
.nav__mark {
  color: var(--coral);
  font-size: 0.9em;
  translate: 0 -1px;
  transition: transform 0.6s var(--ease);
}
.nav__brand:hover .nav__mark { transform: rotate(180deg) scale(1.15); }

.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--ink-70);
  transition: color 0.28s var(--ease), background-color 0.28s var(--ease);
}
.nav__link-i { font-size: 0.55rem; opacity: 0; transition: opacity 0.28s var(--ease); }
.nav__link:hover { color: var(--ink); background: rgba(23, 21, 26, 0.055); }
.nav__link:hover .nav__link-i { opacity: 0.55; }
.nav__link.is-current { color: var(--ink); background: rgba(23, 21, 26, 0.07); }
.nav__link.is-current::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--coral);
  translate: -50% 0;
}

.nav__meta { display: flex; align-items: center; gap: 12px; flex: none; }

/* The registration CTA's slot in the header and in the mobile menu. It exists
   only so the button can be added or removed without re-rendering the header.
   display:contents removes the wrapper from layout entirely, so the button is
   still the direct flex child of .nav__meta that it was before, and an empty
   slot (a signed-in visitor) takes no space.
   .signin-slot is the same wrapper for the SIGN IN button beside it, and it
   answers the same session question in the same call. */
.reg-slot,
.signin-slot { display: contents; }

/* The CTA's placeholder while the session is still being resolved: identical
   dimensions, but a span rather than a link - not focusable, not clickable, so
   a signed-in visitor never sees a REGISTER NOW button flash. */
.btn--pending { pointer-events: none; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.63rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  color: var(--ink-70);
  white-space: nowrap;
}
.status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(201, 244, 90, 0.7);
  animation: pulse 2.4s var(--ease) infinite;
}
.status.is-closed .status__dot { background: var(--ink-35); animation: none; box-shadow: none; }

/* burger */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  place-items: center;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.burger:hover { background: rgba(23, 21, 26, 0.05); }
.burger__box { display: grid; gap: 5px; width: 19px; }
.burger__line {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.burger__line--3 { width: 62%; margin-left: auto; }

/* ------------------------------------------------------------- menu ----- */
/* NOTE: the menu is rendered OUTSIDE .nav on purpose — a transformed or
   will-change ancestor would turn it into the containing block and it would
   only cover the nav bar instead of the viewport. */
.menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  background: var(--dark);
  color: var(--cream);
  padding: calc(var(--nav-h) + 34px) var(--gutter) 40px;
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.menu.is-open { opacity: 1; }
.menu__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  min-height: calc(100dvh - var(--nav-h) - 80px);
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.menu__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  color: rgba(255, 248, 243, 0.45);
}
.menu__link {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-dark);
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.menu.is-open .menu__link {
  opacity: 1;
  transform: none;
  transition-delay: calc(120ms + var(--i) * 55ms);
}
.menu__link-i {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--coral);
  letter-spacing: 0.1em;
}
.menu__link-t {
  font-size: clamp(1.9rem, 8.5vw, 3.1rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
  text-transform: uppercase;
}
.menu__link:active .menu__link-t { color: var(--coral); }
.menu__foot { margin-top: auto; display: grid; gap: 16px; padding-top: 20px; }
.menu__meta {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: rgba(255, 248, 243, 0.5);
  line-height: 1.9;
}
.burger[aria-expanded="true"] .burger__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__line:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__line--3 { width: 100%; transform: translateY(-7px) rotate(-45deg); margin: 0; }

/* ================================================================ CHIPS === */
.chip,
.note-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-2);
  background: var(--cream);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-70);
  line-height: 1.4;
}
.note-chip .icon { width: 13px; height: 13px; color: var(--coral); flex: none; }

/* ============================================================== MARQUEE === */
.marquee {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding-block: 14px;
  background: rgba(255, 255, 255, 0.4);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 30px;
  width: max-content;
  animation: marq 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  white-space: nowrap;
  color: var(--ink-70);
}
.marquee__star { color: var(--coral); font-size: 0.8rem; flex: none; }
@keyframes marq { to { transform: translateX(-50%); } }

.marquee-slot { position: relative; z-index: var(--z-content); }

.marquee--community { background: transparent; border-color: var(--line-2); }
.marquee--community .marquee__item { font-size: clamp(0.8rem, 1.4vw, 1.1rem); letter-spacing: 0.1em; color: var(--ink); }

/* ================================================================= DOCK === */
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-dock);
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(to top, rgba(255, 248, 243, 0.96) 40%, rgba(255, 248, 243, 0));
  transform: translateY(130%);
  transition: transform 0.55s var(--ease);
  pointer-events: none;
}
.dock.is-on { transform: none; pointer-events: auto; }
.dock__in {
  max-width: 640px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 8px 8px 18px;
  border-radius: var(--r-pill);
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px -22px rgba(23, 21, 26, 0.6);
}
.dock__cd {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--ink-70);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (min-width: 861px) { .dock { display: none; } }

/* ================================================================= TABS === */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--line-2);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ink-70);
  transition: all 0.32s var(--ease);
}
.tab:hover { border-color: var(--ink); color: var(--ink); }
.tab.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}
.tab__n {
  font-size: 0.6rem;
  padding: 2px 7px;
  border-radius: var(--r-pill);
  background: rgba(23, 21, 26, 0.08);
}
.tab.is-active .tab__n { background: var(--coral); color: #220c05; }

.pane__note {
  font-size: 0.86rem;
  color: var(--ink-55);
  margin-bottom: 20px;
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
}

/* ================================================================= ICON === */
.icon { width: 1em; height: 1em; display: inline-block; flex: none; }

/* ============================================================ SVG ART ===== */
/* Shared "digital bloom" illustration system. */
.bloom { width: 100%; height: auto; overflow: visible; }

.bb-ring,
.bb-petals path { transform-box: view-box; }

.bb-ring { transform-origin: 0 0; }
.bb-ring--a { animation: bb-spin 26s linear infinite; }
.bb-ring--b { animation: bb-spin 34s linear infinite reverse; }
.bb-ring--c { animation: bb-spin 46s linear infinite; }

@keyframes bb-spin { to { transform: rotate(360deg); } }

.bb-petals--a path { fill: url(#petalA-hero); }
.bb-petals path { fill: rgba(255, 90, 61, 0.55); }
.bb-petal { stroke: #17151a; stroke-opacity: 0.1; stroke-width: 1.6; }

/* petal breathing — each petal has its own delay */
.bb-petals--c path {
  animation: bb-breathe 5.5s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 160ms);
}
.bb-petals--b path {
  animation: bb-breathe 6.8s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 210ms);
  opacity: 0.92;
}
.bb-petals--a path {
  animation: bb-breathe 4.6s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 120ms);
  opacity: 0.98;
}
@keyframes bb-breathe {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(1.07) translateY(-3px); }
}

.bb-core { animation: bb-core-pulse 3.6s ease-in-out infinite; }
@keyframes bb-core-pulse {
  0%, 100% { r: 30; opacity: 1; }
  50% { r: 35; opacity: 0.92; }
}
.bb-core-halo { animation: bb-core-halo 3.6s ease-in-out infinite; }
@keyframes bb-core-halo {
  0%, 100% { opacity: 0.9; transform: scale(1); }
  50% { opacity: 0.65; transform: scale(1.12); }
}
.bb-core-ring { transform-box: view-box; transform-origin: 0 0; animation: bb-ring-out 4.2s ease-out infinite; }
.bb-core-ring--2 { animation-delay: 2.1s; }
@keyframes bb-ring-out {
  0% { transform: scale(0.55); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

.bb-orbit {
  transform-box: view-box;
  transform-origin: 300px 268px;
  fill: none;
  stroke: rgba(23, 21, 26, 0.24);
  stroke-width: 1.2;
  animation: bb-spin 120s linear infinite;
}
.bb-orbit--2 { animation-duration: 180s; animation-direction: reverse; stroke: rgba(169, 149, 255, 0.45); }

.bb-ring-dots circle { fill: rgba(23, 21, 26, 0.3); animation: bb-twinkle 4s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 140ms); }
@keyframes bb-twinkle {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 0.85; }
}

.bb-gr {
  fill: none;
  stroke: rgba(23, 21, 26, 0.2);
  stroke-width: 1.1;
  animation: bb-grow 7s ease-in-out infinite;
}
.bb-gr--2 { animation-delay: 0.6s; stroke: rgba(255, 90, 61, 0.32); }
.bb-gr--3 { animation-delay: 1.2s; stroke: rgba(169, 149, 255, 0.36); }
@keyframes bb-grow {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

.bb-stem-line { stroke-dasharray: 620; stroke-dashoffset: 620; animation: bb-draw 3.4s var(--ease) forwards; }
@keyframes bb-draw { to { stroke-dashoffset: 0; } }
.bb-stem-code { animation: bb-code-fade 3.4s var(--ease) forwards; }
@keyframes bb-code-fade { from { opacity: 0; } 60%, to { opacity: 0.45; } }

.bb-leaf { transform-box: view-box; transform-origin: 300px 452px; animation: bb-sway 6s ease-in-out infinite; }
.bb-leaf--r { transform-origin: 300px 414px; animation-delay: 1.4s; }
@keyframes bb-sway {
  0%, 100% { transform: rotate(-1.6deg) scale(1); }
  50% { transform: rotate(1.8deg) scale(1.04); }
}

.bb-node { fill: var(--ink); }
.bb-node circle { animation: bb-node-pulse 3s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 420ms); }
@keyframes bb-node-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.bb-node line { stroke: rgba(23, 21, 26, 0.3); stroke-width: 1; }
.bb-node text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  fill: var(--ink-55);
}

.bb-frag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  fill: var(--ink-35);
  animation: bb-frag-float var(--d, 4s) ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 260ms);
}
@keyframes bb-frag-float {
  0%, 100% { transform: translateY(0); opacity: 0.55; }
  50% { transform: translateY(-9px); opacity: 1; }
}

.bb-spark { fill: var(--coral); animation: bb-twinkle var(--d, 3s) ease-in-out infinite; animation-delay: calc(var(--i, 0) * 180ms); }

.bb-halo { animation: bb-core-halo 6s ease-in-out infinite; transform-box: view-box; transform-origin: 300px 268px; }
/* soft bloom glow — gradient based (no SVG filter) so it stays cheap to animate */
.bb-glow { transform-box: view-box; transform-origin: 0 0; animation: bb-core-halo 5.5s ease-in-out infinite; }
.bb-glow circle { opacity: 0.5; }

/* per-instance petal gradients (scoped by uid suffix) */
.bloom--hero .bb-petals--c path { fill: url(#petalC-hero); }
.bloom--hero .bb-petals--b path { fill: url(#petalB-hero); }
.bloom--hero .bb-petals--a path { fill: url(#petalA-hero); }
.bloom--prize .bb-petals--c path { fill: url(#petalC-prize); }
.bloom--prize .bb-petals--b path { fill: url(#petalB-prize); }
.bloom--prize .bb-petals--a path { fill: url(#petalA-prize); }
.bloom--final .bb-petals--c path { fill: url(#petalC-final); }
.bloom--final .bb-petals--b path { fill: url(#petalB-final); }
.bloom--final .bb-petals--a path { fill: url(#petalA-final); }

/* diagram variant */
.bloom-diagram { width: 100%; height: auto; overflow: visible; }
.bloom-diagram .bb-petals--dc path { fill: url(#diaPetalC-d1); }
.bloom-diagram .bb-petals--db path { fill: url(#diaPetalL-d1); }
.bloom-diagram .bb-petals--da path { fill: url(#diaPetalP-d1); }
.bloom-diagram .bb-gr { transform-box: view-box; }
.dia-stage circle { fill: var(--coral); }
.dia-stem__line { stroke-dasharray: 420; stroke-dashoffset: 420; animation: bb-draw 3s var(--ease) forwards; }
.dia-stem__leaf { transform-box: view-box; transform-origin: 260px 400px; animation: bb-sway 6.5s ease-in-out infinite; }
.dia-stage text,
.dia-code text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  fill: var(--ink-55);
}
.dia-stage line { stroke: rgba(23, 21, 26, 0.24); stroke-width: 1; stroke-dasharray: 3 4; }
.dia-stage { animation: bb-frag-float 6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 700ms); }

/* glyphs */
.glyph { width: 100%; height: 100%; color: var(--accent, var(--coral)); }

/* avatars */
.avatar { width: 100%; height: 100%; }

/* sponsor placeholder mark */
.sponsor-mark { width: 30px; height: 30px; color: rgba(23, 21, 26, 0.34); flex: none; }

/* track artwork */
.track-art { width: 100%; height: auto; overflow: visible; }
.track-art .ta-lines line { stroke: var(--accent); stroke-width: 1.4; opacity: 0.45; animation: bb-frag-float 5s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 220ms); }
.track-art .ta-nodes circle { fill: var(--accent); animation: bb-node-pulse 3.4s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 260ms); }
.track-art .ta-rings circle { fill: none; stroke: var(--accent); stroke-width: 1.2; opacity: 0.4; animation: bb-core-halo 5s ease-in-out infinite; }
.track-art .ta-rings circle:nth-child(2) { animation-delay: 0.6s; }
.track-art .ta-rings circle:nth-child(3) { animation-delay: 1.2s; }
.track-art .ta-line { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.track-art .ta-dot { fill: var(--accent); }
.track-art .ta-bars rect { fill: var(--accent); opacity: 0.5; animation: bb-breathe 3.8s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 180ms); transform-box: fill-box; transform-origin: bottom; }
.track-art .ta-leaf { fill: var(--accent); opacity: 0.85; }
.track-art .ta-stem { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; }
.track-art .ta-coins path,
.track-art .ta-coins ellipse { fill: none; stroke: var(--accent); stroke-width: 2.2; }
.track-art .ta-arrow { fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.track-art .bb-petals--a path { fill: var(--accent); }
.track-art .ta-blocks rect { fill: none; stroke: var(--accent); stroke-width: 2.2; animation: bb-breathe 3.6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 180ms); transform-box: fill-box; transform-origin: center; }
.track-art .ta-shield { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linejoin: round; }
.track-art .ta-alert { fill: var(--accent); opacity: 0.9; animation: bb-twinkle 3s ease-in-out infinite; }
.track-art .ta-code { font-family: var(--font-mono); font-size: 11px; fill: var(--ink-35); }