/* ==========================================================================
   Romania Kendama Open 2026: event microsite (/romania-kendama-open-2026)
   Look: the RKO poster. Black grunge, Romanian tricolour paint, tape, halftone.
   Pages are generated by tools/rko/build.py
   ========================================================================== */

:root {
  --bg: #0c0b0a;
  --bg-2: #131210;
  --bg-3: #1b1917;
  --bg-4: #24211e;
  --fg: #f4f1ec;
  --muted: #a8a299;
  --line: rgba(255, 255, 255, .12);
  --line-2: rgba(255, 255, 255, .2);
  --blue: #2a5bff;
  --yellow: #ffc61a;
  --red: #ef1d26;
  --blue-ink: #8eaaff;
  --red-ink: #ff6b71;
  --tape: rgba(214, 210, 203, .9);
  --radius: 14px;
  --radius-sm: 8px;
  --gutter: clamp(16px, 4vw, 32px);
  --max: 1200px;
  --header-h: 68px;
  --f-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-brush: "Permanent Marker", "Archivo", cursive;
  --tricolor: linear-gradient(90deg, var(--blue) 0 33.34%, var(--yellow) 0 66.67%, var(--red) 0);
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.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 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --scratches: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 800' preserveAspectRatio='none'%3E%3Cg stroke='%23fff' fill='none' stroke-linecap='round'%3E%3Cpath d='M-20 610 1220 180' stroke-width='1.2' opacity='.35'/%3E%3Cpath d='M80 -10 420 820' stroke-width='.8' opacity='.25'/%3E%3Cpath d='M-40 260 760 830' stroke-width='.7' opacity='.22'/%3E%3Cpath d='M1230 520 520 -20' stroke-width='1' opacity='.28'/%3E%3Cpath d='M300 820 1220 410' stroke-width='.6' opacity='.2'/%3E%3Cpath d='M900 -20 1040 820' stroke-width='.6' opacity='.18'/%3E%3C/g%3E%3C/svg%3E");
  --brush: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 40' preserveAspectRatio='none'%3E%3Cpath d='M4 19c22-7 70-12 130-13 74-1 150 0 260 4l-6 4 8 3-5 4 5 4c-84 5-170 9-260 9-60 0-102-2-130-5l5-3-9-3 6-2z'/%3E%3C/svg%3E");
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 1rem/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  background: var(--noise);
  opacity: .035;
}
[hidden] { display: none !important; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--yellow); color: #000; }

.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--yellow); color: #000; padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 16px; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 880px; }

/* ---------- Type ---------- */
.display {
  font-family: var(--f-display);
  font-stretch: 68%;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .005em;
  line-height: .95;
}
.h-xl { font-size: clamp(2.1rem, 7vw, 5.6rem); }
.h-lg { font-size: clamp(2.2rem, 5.2vw, 4rem); }
.h-md { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
.h-sm { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
.brush-font { font-family: var(--f-brush); font-weight: 400; letter-spacing: .02em; text-transform: uppercase; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: #d9d4cc; max-width: 62ch; }
.muted { color: var(--muted); }
.t-blue { color: var(--blue-ink); }
.t-yellow { color: var(--yellow); }
.t-red { color: var(--red-ink); }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 700 .78rem/1 var(--f-body);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.kicker::before { content: ""; width: 34px; height: 4px; background: var(--tricolor); border-radius: 2px; }

/* paint stroke under a word */
.stroke { position: relative; display: inline-block; z-index: 0; white-space: nowrap; }
.stroke::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: .02em;
  height: .32em;
  z-index: -1;
  background: var(--c, var(--yellow));
  -webkit-mask: var(--brush) center / 100% 100% no-repeat;
  mask: var(--brush) center / 100% 100% no-repeat;
  opacity: .9;
}
.stroke--blue { --c: var(--blue); }
.stroke--red { --c: var(--red); }

/* Japanese: Noto Sans JP for the glyphs, looser line height, phrase-aware line breaks */
/* Romanian: Permanent Marker has no ș, ț, ă, so the brush text uses Kalam, which has them all */
:lang(ro) { --f-brush: "Kalam", "Archivo", cursive; }
:lang(ro) .brush-font, :lang(ro) .day__date { font-weight: 700; }
:lang(ja) { --f-display: "Archivo", "Noto Sans JP", sans-serif; --f-body: "Inter", "Noto Sans JP", system-ui, sans-serif; --f-brush: "Permanent Marker", "Noto Sans JP", cursive; }
:lang(ja) body { line-height: 1.8; }
:lang(ja) .display { line-height: 1.15; letter-spacing: .01em; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3, :lang(ja) .lead, :lang(ja) p { word-break: auto-phrase; line-break: strict; }
:lang(ja) .h-xl { font-size: clamp(1.9rem, 5.6vw, 4.4rem); }
:lang(ja) .h-lg { font-size: clamp(1.6rem, 4.4vw, 3.3rem); }
:lang(ja) .display, :lang(ja) h1, :lang(ja) h2 { overflow-wrap: anywhere; }
:lang(ja) .stroke { white-space: normal; }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--fg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 2px solid var(--b);
  border-radius: 999px;
  background: transparent;
  color: var(--fg);
  font: 800 .92rem/1 var(--f-display);
  font-stretch: 85%;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--paint { background: var(--yellow); border-color: var(--yellow); color: #0c0b0a; }
.btn--paint:hover { background: #ffd54d; border-color: #ffd54d; }
.btn--ghost { --b: var(--line-2); }
.btn--ghost:hover { --b: var(--fg); }
.btn--sm { min-height: 40px; padding: 9px 16px; font-size: .8rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }
.btn .icon { width: 1.1em; height: 1.1em; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--yellow); padding-bottom: 2px; }
.link-arrow:hover { color: var(--yellow); }

/* ---------- Header ---------- */
.rko-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 11, 10, .82);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.rko-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--tricolor); opacity: .85; }
.rko-header__inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.rko-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; min-width: 0; }
.rko-brand img { width: 74px; height: auto; }
.rko-brand span { display: flex; flex-direction: column; font: 800 .82rem/1.1 var(--f-display); font-stretch: 80%; letter-spacing: .1em; text-transform: uppercase; }
.rko-brand small { font: 500 .72rem/1.3 var(--f-body); letter-spacing: .04em; text-transform: none; color: var(--muted); }
/* language dropdown */
.lang-dd { position: relative; flex: none; }
.lang-dd__btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--fg); font: 800 .78rem/1 var(--f-body); letter-spacing: .06em; cursor: pointer; transition: border-color .2s; }
.lang-dd__btn:hover, .lang-dd.is-open .lang-dd__btn { border-color: var(--fg); }
.lang-dd__btn .icon { width: 16px; height: 16px; }
.lang-dd .lang-dd__menu { right: 0; left: auto; min-width: 190px; list-style: none; margin: 0; }
.lang-dd .lang-dd__menu a { display: flex; align-items: center; gap: 12px; }
.lang-dd__menu a b { width: 26px; font: 800 .7rem/1 var(--f-body); letter-spacing: .06em; color: var(--muted); }
.lang-dd__menu a[aria-current="true"] { color: var(--yellow); }
.lang-dd__menu a[aria-current="true"]::after { content: "✓"; margin-left: auto; }

/* main menu with dropdowns */
.rko-nav { display: flex; align-items: center; gap: 2px; }
.nav-dd { position: relative; }
.nav-dd__btn, .rko-nav > a:not(.btn) {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 9px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  text-decoration: none;
  font: 700 .86rem/1 var(--f-body);
  color: #d8d3cb;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.nav-dd__btn:hover, .nav-dd.is-open > .nav-dd__btn, .rko-nav > a:not(.btn):hover { background: rgba(255, 255, 255, .07); color: #fff; }
.nav-dd.is-current > .nav-dd__btn { color: var(--yellow); }
.chev { width: 14px; height: 14px; transition: transform .2s; }
.is-open > button .chev { transform: rotate(180deg); }
.dd-panel {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 60;
  min-width: 240px;
  padding: 8px;
  background: #171513;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .55);
}
.dd-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.is-open > .dd-panel { display: block; }
.dd-panel a { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; font: 600 .9rem/1.3 var(--f-body); color: #e3ded6; white-space: nowrap; }
.dd-panel a:hover, .dd-panel a:focus-visible { background: rgba(255, 255, 255, .07); color: var(--yellow); }
.dd-panel hr { border: 0; border-top: 1px solid var(--line); margin: 6px 4px; }
.rko-nav .btn { margin-left: 10px; }
:lang(ja) .nav-dd__btn, :lang(ja) .rko-nav > a:not(.btn) { font-size: .8rem; padding: 9px 9px; letter-spacing: 0; }
:lang(ja) .rko-nav .btn { font-size: .74rem; padding: 9px 14px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 12px; background: transparent; cursor: pointer; place-items: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s, background .25s; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 1021px) {
  .lang-dd { order: 3; margin-left: 6px; }
  .rko-nav { order: 2; }
}
@media (hover: hover) and (min-width: 1021px) {
  .nav-dd:hover > .dd-panel { display: block; }
  .nav-dd:hover > button .chev { transform: rotate(180deg); }
}
@media (max-width: 1240px) and (min-width: 1021px) {
  .rko-brand small { display: none; }
  .nav-dd__btn, .rko-nav > a:not(.btn) { padding: 9px 9px; }
}
@media (max-width: 1020px) {
  .nav-toggle { display: grid; }
  .rko-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px var(--gutter) 22px;
    background: #0c0b0a;
    border-bottom: 1px solid var(--line);
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .rko-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-dd { border-bottom: 1px solid var(--line); }
  .nav-dd__btn, .rko-nav > a:not(.btn) { width: 100%; justify-content: space-between; padding: 16px 6px; border-radius: 8px; font-size: 1.02rem; }
  :lang(ja) .nav-dd__btn, :lang(ja) .rko-nav > a:not(.btn) { font-size: .95rem; padding: 16px 6px; }
  .chev { width: 18px; height: 18px; }
  .nav-dd .dd-panel { position: static; min-width: 0; margin: 0 0 12px; padding: 4px; background: rgba(255, 255, 255, .03); border-color: var(--line); box-shadow: none; }
  .nav-dd .dd-panel::before { display: none; }
  .dd-panel a { white-space: normal; padding: 12px 14px; }
  .rko-nav .btn { margin: 16px 0 0; }
  :lang(ja) .rko-nav .btn { font-size: .85rem; }
}
@media (max-width: 520px) {
  .rko-header__inner { gap: 10px; }
  .rko-brand span { display: none; }
  .lang-dd__btn { padding: 0 10px; }
}
}

/* ---------- Texture helpers ---------- */
.grit { position: relative; isolation: isolate; }
.grit::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--scratches) center / cover no-repeat;
  opacity: .5;
}
.halftone { position: relative; }
.halftone::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(rgba(255, 255, 255, .11) 1px, transparent 1.7px) 0 0 / 7px 7px;
  -webkit-mask: linear-gradient(115deg, #000 0 18%, transparent 46% 70%, #000 100%);
  mask: linear-gradient(115deg, #000 0 18%, transparent 46% 70%, #000 100%);
}
/* the dots behind the category cards are a little darker */
#categories.halftone::after { background: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1.7px) 0 0 / 7px 7px; }
.tape {
  display: inline-block;
  padding: 8px 22px;
  background: var(--tape);
  color: #121110;
  font: 900 1rem/1 var(--f-display);
  font-stretch: 70%;
  letter-spacing: .12em;
  text-transform: uppercase;
  clip-path: polygon(0 8%, 3% 0, 6% 10%, 10% 2%, 14% 9%, 100% 0, 98% 30%, 100% 55%, 97% 80%, 100% 100%, 92% 92%, 86% 100%, 0 100%, 2% 72%, 0 48%, 3% 26%);
  transform: rotate(-3deg);
}
.tricolor-bar { height: 6px; background: var(--tricolor); border-radius: 3px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(calc(100svh - var(--header-h)), 920px);
  display: grid;
  align-items: center;
  padding: clamp(40px, 7vw, 90px) 0 clamp(56px, 8vw, 100px);
  background:
    radial-gradient(60% 50% at 18% 30%, rgba(42, 91, 255, .16), transparent 70%),
    radial-gradient(50% 45% at 55% 45%, rgba(255, 198, 26, .09), transparent 70%),
    radial-gradient(55% 50% at 88% 60%, rgba(239, 29, 38, .14), transparent 70%),
    var(--bg);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--scratches) center / cover no-repeat;
  opacity: .55;
}
.hero__arch, .hero__city { position: absolute; z-index: -1; pointer-events: none; opacity: .5; }
.hero__arch { top: 0; left: 0; width: clamp(200px, 32vw, 470px); }
.hero__city { right: 0; bottom: 0; width: clamp(220px, 36vw, 500px); }
.hero__inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero__logo { width: clamp(260px, calc((100svh - 400px) * 1.58), min(720px, 92vw)); margin: 0 auto -6px; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .6)); animation: splat .9s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes splat { from { opacity: 0; transform: scale(.86) rotate(-2deg); } to { opacity: 1; transform: none; } }
.hero h1 { font-size: clamp(1.5rem, 4vw, 2.9rem); letter-spacing: .04em; margin-bottom: 18px; }
.h1-sub { display: block; margin-top: 10px; font-size: .55em; letter-spacing: .12em; color: var(--muted); }
.hero__facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin: 0 0 28px; padding: 0; list-style: none; }
.hero__facts li { display: flex; align-items: center; gap: 10px; font-size: clamp(1.15rem, 2.4vw, 1.6rem); }
.hero__facts .icon { width: 1.1em; height: 1.1em; color: var(--muted); }
.hero__facts strong { font-weight: 400; }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

.countdown { display: flex; gap: clamp(8px, 2vw, 14px); justify-content: center; margin: 0; }
.countdown__cell {
  min-width: clamp(68px, 15vw, 104px);
  padding: 12px 8px 10px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  text-align: center;
}
.countdown__num { display: block; font: 900 clamp(1.9rem, 5vw, 3rem)/1 var(--f-display); font-stretch: 70%; font-variant-numeric: tabular-nums; }
.countdown__label { display: block; margin-top: 6px; font: 700 .68rem/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.countdown__cell:nth-child(1) .countdown__num { color: var(--blue-ink); }
.countdown__cell:nth-child(2) .countdown__num { color: var(--yellow); }
.countdown__cell:nth-child(3) .countdown__num { color: var(--red-ink); }

/* ---------- Marquee band ---------- */
.band-wrap { position: relative; z-index: 2; overflow: hidden; margin-top: -46px; padding: 20px 0; }
.band {
  position: relative;
  margin: 0 -2vw;
  padding: 14px 0;
  background: var(--tape);
  color: #121110;
  transform: rotate(-1.6deg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
}
.band__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.band__track span { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; font: 900 clamp(1.1rem, 2.4vw, 1.55rem)/1 var(--f-display); font-stretch: 68%; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.band__track i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; isolation: isolate; }
.section--alt { background: var(--bg-2); }
.section--tight { padding: clamp(44px, 6vw, 72px) 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 40px; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head > div { max-width: 720px; }
.section-head h2 { margin-bottom: 14px; }
.section-head p:last-child { margin-bottom: 0; }

/* stats strip */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-2); }
.stat { padding: 26px 22px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font: 900 clamp(2.2rem, 5vw, 3.4rem)/1 var(--f-display); font-stretch: 68%; }
.stat span { display: block; margin-top: 8px; color: var(--muted); font-size: .92rem; line-height: 1.4; }
.stat:nth-child(4n+1) b { color: var(--blue-ink); }
.stat:nth-child(4n+2) b { color: var(--yellow); }
.stat:nth-child(4n+3) b { color: var(--red-ink); }
@media (max-width: 520px) {
  .stat { padding: 20px 14px; }
  .stat b { font-size: 2rem; }
}

/* intro split */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.poster-frame { position: relative; max-width: 440px; margin: 0 auto; }
.poster-frame img { border-radius: 6px; box-shadow: 0 30px 60px rgba(0, 0, 0, .55); transform: rotate(2deg); }
.poster-frame .tape { position: absolute; top: -16px; left: 50%; z-index: 2; width: max-content; max-width: 94%; padding: 9px 20px; font-size: clamp(.82rem, 2.4vw, 1rem); text-align: center; line-height: 1.15; transform: translateX(-50%) rotate(-3deg); box-shadow: 0 8px 20px rgba(0, 0, 0, .45); }

/* ---------- Category cards ---------- */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 980px) { .cats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cats { grid-template-columns: 1fr; } }
.cat {
  --c: var(--yellow);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)), rgba(22, 20, 18, .94);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  transition: border-color .25s, transform .25s;
}
.cat:hover { border-color: color-mix(in srgb, var(--c) 60%, transparent); transform: translateY(-3px); }
.cat::before {
  content: "";
  position: absolute;
  top: 58px;
  left: -30px;
  width: 280px;
  height: 70px;
  z-index: -1;
  background: var(--c);
  opacity: .13;
  -webkit-mask: var(--brush) center / 100% 100% no-repeat;
  mask: var(--brush) center / 100% 100% no-repeat;
  transform: rotate(-4deg);
}
.cat--blue { --c: var(--blue); }
.cat--yellow { --c: var(--yellow); }
.cat--red { --c: var(--red); }
.cat__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.cat__tag { font: 700 .72rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cat__day { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .06); font: 700 .74rem/1 var(--f-body); color: #e7e2da; white-space: nowrap; }
.cat__day .icon { width: 14px; height: 14px; }
.cat h3 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); margin-bottom: 10px; }
.cat h3::after { content: ""; display: block; width: 56px; height: 5px; margin-top: 12px; background: var(--c); border-radius: 3px; }
.cat p { color: #cfc9c0; font-size: .95rem; }
.podium { list-style: none; margin: auto 0 18px; padding: 16px 0 0; display: grid; gap: 8px; border-top: 1px dashed var(--line-2); }
.podium li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.podium span { color: var(--muted); font-size: .88rem; }
.podium b { font: 900 1.35rem/1 var(--f-display); font-stretch: 72%; letter-spacing: .02em; text-align: right; }
.podium li:first-child b { color: var(--yellow); font-size: 1.6rem; }
.podium .podium__solo b { font: 900 1.6rem/1.05 var(--f-display); font-stretch: 72%; color: var(--yellow); text-align: left; }
.podium .podium__extra b { font: 700 .92rem/1.3 var(--f-body); color: #e7e2da; }
.cat__links { display: flex; flex-wrap: wrap; gap: 8px 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.cat__links a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; text-decoration: none; color: #e9e4dc; }
.cat__links a:hover { color: var(--yellow); }
.cat__links .icon { width: 16px; height: 16px; }

/* ---------- Entry rule + planner ---------- */
.rule-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.rule-grid > *, .days > *, .cats > *, .split > * { min-width: 0; }
@media (max-width: 900px) { .rule-grid { grid-template-columns: 1fr; } }
.panel { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); }
.panel h3 { margin-bottom: 14px; }
.ladder { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 18px 0 10px; }
.ladder span { padding: 12px 6px; text-align: center; border-radius: 8px; font: 800 .82rem/1.15 var(--f-display); font-stretch: 80%; text-transform: uppercase; letter-spacing: .05em; }
@media (max-width: 520px) { .ladder { grid-template-columns: 1fr 1fr; } }
.ladder-note { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .88rem; margin-bottom: 18px; }
.plus-row { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 8px; align-items: center; text-align: center; }
.plus-row > span:not(.op) { padding: 12px 6px; border-radius: 8px; font: 800 .8rem/1.15 var(--f-display); font-stretch: 80%; text-transform: uppercase; letter-spacing: .05em; }
.plus-row .op { font: 900 1.4rem/1 var(--f-display); color: var(--muted); }
.chip-blue { background: rgba(42, 91, 255, .2); border: 1px solid rgba(42, 91, 255, .5); }
.chip-yellow { background: rgba(255, 198, 26, .14); border: 1px solid rgba(255, 198, 26, .45); }
.chip-red { background: rgba(239, 29, 38, .16); border: 1px solid rgba(239, 29, 38, .5); }
.open-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 14px 0 6px; }
.open-row span { padding: 12px 6px; text-align: center; border-radius: 8px; font: 800 .82rem/1.15 var(--f-display); font-stretch: 80%; text-transform: uppercase; letter-spacing: .05em; }
.examples { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.examples li { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; }
.examples li > span { min-width: 0; }
.examples .icon { margin-top: 4px; }
.examples .ok { color: #6ee7a8; }
.examples .no { color: var(--red-ink); }

.planner__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0; }
@media (max-width: 460px) { .planner__opts { grid-template-columns: 1fr; } }
.planner__opt { position: relative; }
.planner__opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.planner__opt label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: border-color .2s, background .2s;
}
.planner__opt label::before { content: ""; width: 18px; height: 18px; flex: none; border: 2px solid var(--line-2); border-radius: 5px; transition: background .2s, border-color .2s; }
.planner__opt input:checked + label { border-color: var(--yellow); background: rgba(255, 198, 26, .08); }
.planner__opt input:checked + label::before { background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat; border-color: var(--yellow); }
.planner__opt input:disabled + label { opacity: .4; cursor: not-allowed; }
.planner__opt input:focus-visible + label { outline: 3px solid var(--yellow); outline-offset: 2px; }
.planner__opt small { margin-left: auto; color: var(--muted); font-weight: 500; font-size: .76rem; }
.planner__msg { min-height: 52px; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px; background: rgba(255, 255, 255, .05); font-size: .94rem; }
.planner__msg[data-state="ok"] { background: rgba(110, 231, 168, .1); color: #b7f5d3; }
.planner__msg[data-state="warn"] { background: rgba(239, 29, 38, .12); color: #ffc2c4; }

/* ---------- Schedule ---------- */
.days { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 860px) { .days { grid-template-columns: 1fr; } }
.day { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); position: relative; overflow: hidden; isolation: isolate; }
.day__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.day__head h3 { font-size: clamp(2.4rem, 5vw, 3.4rem); }
.day__head h3 span { color: var(--c, var(--yellow)); }
.day__date { font-family: var(--f-brush); font-size: 1.15rem; color: var(--muted); }
.day__theme { margin: -10px 0 20px; color: #cfc9c0; font-size: .95rem; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--c, var(--yellow)), rgba(255, 255, 255, .1)); }
.timeline li { position: relative; display: grid; grid-template-columns: 82px 1fr; gap: 12px; padding: 12px 0 12px 30px; border-bottom: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 18px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg-3); border: 3px solid var(--c, var(--yellow)); }
.timeline time { font: 900 1.35rem/1.1 var(--f-display); font-stretch: 72%; color: var(--c, var(--yellow)); font-variant-numeric: tabular-nums; }
.timeline b { display: block; font-weight: 700; }
.timeline small { display: block; color: var(--muted); font-size: .86rem; }
.timeline a { color: inherit; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.timeline a:hover { color: var(--yellow); }
.day--1 { --c: var(--blue-ink); }
.day--2 { --c: var(--red-ink); }
.note { position: relative; margin-top: 18px; padding-left: 28px; color: var(--muted); font-size: .9rem; }
.note .icon { position: absolute; left: 0; top: 3px; }
.note a { color: #e9e4dc; }

/* ---------- Judges ---------- */
.judges { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1100px) { .judges { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .judges { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.judge { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 0 0 18px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(22, 20, 18, .94); overflow: hidden; }
.judge::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--c, var(--yellow)); z-index: 2; }
.judge__photo { position: relative; aspect-ratio: 4 / 5; margin-bottom: 30px; background: #1d1b18; }
.judge__photo > img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.3) contrast(1.05); transition: filter .3s; }
.judge:hover .judge__photo > img { filter: none; }
.judge__photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(transparent, rgba(12, 11, 10, .55)); pointer-events: none; }
.judge__logo { position: absolute; left: 14px; bottom: -22px; z-index: 1; display: block; width: 104px; height: 56px; padding: 6px 10px; border-radius: 10px; background: #fff; box-shadow: 0 8px 22px rgba(0, 0, 0, .45); overflow: hidden; }
.judge__logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.judge h3, .judge__rep, .judge__handle { padding: 0 14px; }
.judge h3 { font-size: 1.45rem; }
.judge__rep { margin: 0; color: var(--muted); font-size: .88rem; }
.judge__handle { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 10px; font-weight: 700; font-size: .86rem; text-decoration: none; color: #e9e4dc; overflow-wrap: anywhere; }
.judge__handle:hover { color: var(--yellow); }
.judge__handle .icon { width: 16px; height: 16px; flex: none; }
.judge--soon .judge__photo { display: grid; place-items: center; background: radial-gradient(60% 50% at 50% 40%, rgba(255, 198, 26, .12), transparent 70%), repeating-linear-gradient(135deg, rgba(255, 255, 255, .03) 0 10px, transparent 10px 20px), #151311; }
.judge__q { font: 900 clamp(4rem, 9vw, 6rem)/1 var(--f-display); color: rgba(255, 255, 255, .22); }
.judge__logo--mystery { padding: 0; }
.judge__logo--mystery img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 520px) {
  .judges { gap: 10px; }
  .judge__photo { margin-bottom: 24px; }
  .judge__logo { left: 10px; bottom: -18px; width: 78px; height: 44px; padding: 5px 8px; }
  .judge h3, .judge__rep, .judge__handle { padding: 0 10px; }
  .judge h3 { font-size: 1.15rem; }
  .judge__rep { font-size: .8rem; }
  .judge__handle { font-size: .76rem; }
  .judge--soon .judge__rep { font-size: .78rem; }
}

/* ---------- Tickets ---------- */
.tickets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .tickets { grid-template-columns: 1fr; } }
.ticket {
  position: relative;
  padding: 28px 24px 24px;
  border-radius: var(--radius);
  background: var(--bg-3);
  border: 1px solid var(--line);
  overflow: hidden;
  -webkit-mask: radial-gradient(circle 12px at 0 62%, transparent 11.5px, #000 12px) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% 62%, transparent 11.5px, #000 12px) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 12px at 0 62%, transparent 11.5px, #000 12px) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% 62%, transparent 11.5px, #000 12px) right / 51% 100% no-repeat;
}
.ticket::after { content: ""; position: absolute; left: 18px; right: 18px; top: 62%; border-top: 2px dashed var(--line-2); }
.ticket h3 { font-size: 1.7rem; margin-bottom: 8px; }
.ticket p { color: #cfc9c0; font-size: .94rem; min-height: 4.8em; }
.ticket__price { margin-top: 36px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ticket__price .tape { font-size: .9rem; padding: 7px 16px; }
.ticket__bar { position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--c, var(--tricolor)); }

/* ---------- Follow ---------- */
.follow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .follow { grid-template-columns: 1fr; } }
.handle { display: flex; flex-direction: column; gap: 14px; padding: 24px; background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); position: relative; overflow: hidden; }
.handle__name { font: 900 clamp(1.4rem, 2.6vw, 1.9rem)/1 var(--f-display); font-stretch: 72%; word-break: break-word; }
.handle__role { color: var(--muted); font-size: .9rem; margin: -6px 0 0; }
.handle__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.handle__links a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--line-2); border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .86rem; transition: border-color .2s, color .2s; }
.handle__links a:hover { border-color: var(--yellow); color: var(--yellow); }
.handle::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--c, var(--yellow)); }

/* ---------- CTA cards ---------- */
.cta-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 860px) { .cta-cards { grid-template-columns: 1fr; } }
.cta-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: clamp(26px, 4vw, 40px); border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-3); overflow: hidden; isolation: isolate; text-decoration: none; min-height: 260px; transition: border-color .25s, transform .25s; }
.cta-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.cta-card img.cta-card__bg {
  position: absolute; right: 0; bottom: 0; width: 62%; z-index: -1; opacity: .35;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 45%), linear-gradient(to bottom, transparent, #000 45%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 45%), linear-gradient(to bottom, transparent, #000 45%);
  mask-composite: intersect;
}
.cta-card ul { margin: 4px 0 8px; padding: 0; list-style: none; display: grid; gap: 6px; color: #d6d0c7; }
.cta-card li { display: flex; gap: 10px; align-items: center; }
.cta-card li .icon { color: var(--yellow); }
.cta-card .link-arrow { margin-top: auto; align-self: flex-start; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--bg-3); border: 1px solid var(--line); border-radius: 12px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 700; font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 900 1.6rem/1 var(--f-display); color: var(--yellow); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 22px 18px; color: #d3cdc4; }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line); background: radial-gradient(50% 70% at 12% 20%, rgba(42, 91, 255, .14), transparent 70%), radial-gradient(45% 60% at 92% 80%, rgba(239, 29, 38, .12), transparent 70%), var(--bg); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--scratches) center / cover no-repeat; opacity: .4; }
.page-hero__city { position: absolute; right: 0; bottom: 0; width: clamp(160px, 26vw, 340px); z-index: -1; opacity: .35; pointer-events: none; }
.page-hero h1 { margin: 6px 0 16px; }
.page-hero .lead { margin-bottom: 0; }
.page-hero--cat { --c: var(--yellow); }
.page-hero--cat h1 .stroke::after { background: var(--c); }
.page-hero--blue { --c: var(--blue); }
.page-hero--red { --c: var(--red); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: .86rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: #d8d2c9; text-decoration: none; }
.breadcrumb a:hover { color: var(--yellow); }
.page-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin-top: 28px; padding: 0; list-style: none; }
.facts li { padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, .03); }
.facts small { display: block; font: 700 .68rem/1.2 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.facts b { font-weight: 700; line-height: 1.35; display: block; }

/* ---------- Document (rules, terms, privacy) ---------- */
.doc-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .doc-layout { grid-template-columns: 1fr; } .toc { display: none; } }
.toc { position: sticky; top: calc(var(--header-h) + 24px); font-size: .9rem; }
.toc strong { display: block; font: 700 .72rem/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: #cfc9c0; }
.toc a:hover { color: var(--yellow); border-left-color: var(--yellow); }
.doc { max-width: 760px; }
.doc section { padding-bottom: 8px; margin-bottom: 34px; border-bottom: 1px solid var(--line); }
.doc section:last-of-type { border-bottom: 0; }
.doc h2 { font-family: var(--f-display); font-stretch: 72%; font-weight: 900; text-transform: uppercase; font-size: clamp(1.5rem, 2.8vw, 2rem); letter-spacing: .01em; margin-bottom: 16px; display: flex; gap: 12px; align-items: baseline; }
.doc h2 .num { color: var(--yellow); font-size: .8em; }
.doc h3 { font-size: 1.12rem; margin: 22px 0 10px; }
.doc p, .doc li { color: #ddd7ce; }
.doc ul, .doc ol { padding-left: 1.3em; margin: 0 0 1em; }
.doc li { margin-bottom: .45em; }
.doc li::marker { color: var(--yellow); }
.doc a { color: var(--yellow); text-underline-offset: 3px; }
.doc strong { color: #fff; }
.callout { display: flex; gap: 12px; padding: 16px 18px; border-radius: 10px; background: rgba(255, 198, 26, .08); border: 1px solid rgba(255, 198, 26, .3); margin: 0 0 1.2em; }
.callout .icon { color: var(--yellow); margin-top: 3px; }
.callout p:last-child { margin-bottom: 0; }
.callout--red { background: rgba(239, 29, 38, .09); border-color: rgba(239, 29, 38, .35); }
.callout--red .icon { color: var(--red-ink); }
.score-table, .data-table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: .95rem; }
.score-table th, .score-table td, .data-table th, .data-table td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.score-table th, .data-table th { font: 700 .72rem/1.2 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.data-table td:first-child { font-weight: 700; }
.data-table td small { display: block; color: var(--muted); font-size: .82rem; font-weight: 400; margin-top: 2px; }
.table-wrap { overflow-x: auto; margin: 0 0 1.2em; border: 1px solid var(--line); border-radius: 12px; }
.table-wrap table { margin: 0; }
.table-wrap th:first-child, .table-wrap td:first-child { padding-left: 16px; }
.doc-meta { color: var(--muted); font-size: .88rem; }

/* tricklist */
.tricklist { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; }
.tricklist th { font: 700 .72rem/1.2 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-align: left; padding: 10px 12px; border-bottom: 2px solid var(--line-2); }
.tricklist td { padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tricklist td.n { width: 52px; font: 900 1.5rem/1 var(--f-display); font-stretch: 70%; color: var(--c, var(--yellow)); }
.tricklist td.t b { display: block; font-size: 1.06rem; }
.tricklist td.t small { display: block; color: var(--muted); font-size: .88rem; margin-top: 3px; }
.tricklist td.p { width: 90px; text-align: right; white-space: nowrap; }
.tricklist td.p span { display: inline-block; min-width: 44px; padding: 5px 9px; border-radius: 999px; background: rgba(255, 255, 255, .07); font: 800 .9rem/1 var(--f-display); font-stretch: 85%; text-align: center; }
.tricklist tbody tr:hover { background: rgba(255, 255, 255, .025); }
.tricklist .check { width: 46px; }
.tricklist .check span { display: inline-block; width: 20px; height: 20px; border: 2px solid var(--line-2); border-radius: 5px; }
.bonus-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 40px 0 14px; }
.bonus-head .tape { font-size: .9rem; }

/* rules hub */
.hub { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .hub { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .hub { grid-template-columns: 1fr; } }
.hub a.cat { text-decoration: none; }
.hub .cat h3 { font-size: 1.9rem; }

/* ---------- Travel ---------- */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.info { padding: 18px 18px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-3); }
.info .icon { color: var(--yellow); width: 22px; height: 22px; margin-bottom: 10px; }
.info b { display: block; margin-bottom: 4px; }
.info span { color: var(--muted); font-size: .9rem; line-height: 1.5; display: block; }
.routes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .routes { grid-template-columns: 1fr; } }
.route { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-3); display: flex; flex-direction: column; gap: 10px; }
.route__icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .06); color: var(--c, var(--yellow)); }
.route__icon .icon { width: 24px; height: 24px; }
.route h3 { font-size: 1.15rem; }
.route dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 4px 0 0; font-size: .92rem; }
.route dt { color: var(--muted); }
.route dd { margin: 0; font-weight: 600; }
.route p { color: #cfc9c0; font-size: .92rem; margin: 0; }
.route--blue { --c: var(--blue-ink); }
.route--red { --c: var(--red-ink); }
.flight-tools { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; }
.view-switch { display: inline-flex; padding: 4px; border: 1px solid var(--line-2); border-radius: 999px; }
.view-switch button { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 0; border-radius: 999px; background: transparent; font-weight: 700; font-size: .86rem; color: var(--muted); cursor: pointer; }
.view-switch button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.view-switch .icon { width: 16px; height: 16px; }
.flight-map { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-3); }
.flight-map__map { min-height: 500px; }
.flight-map__side { display: flex; flex-direction: column; gap: 14px; padding: 20px; border-left: 1px solid var(--line); }
.flight-map__hint { margin: 0; color: var(--muted); font-size: .88rem; }
.flight-map__regions { position: relative; display: flex; flex-wrap: wrap; gap: 6px; }
.flight-map > * { min-width: 0; }
.flight-map__regions button { padding: 7px 11px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; font-size: .8rem; font-weight: 600; color: #d8d2c9; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.flight-map__regions button:hover { border-color: var(--fg); color: #fff; }
.flight-map__regions button[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); color: #0c0b0a; }
.flight-map__info { margin-top: auto; padding: 18px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.flight-map__info h3 { font: 900 1.6rem/1.05 var(--f-display); font-stretch: 72%; text-transform: uppercase; margin-bottom: 8px; }
.flight-map__badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font: 700 .72rem/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; background: rgba(255, 198, 26, .15); color: var(--yellow); }
.flight-map__badge--stop { background: rgba(42, 91, 255, .2); color: var(--blue-ink); }
.flight-map__info dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 14px 0; font-size: .9rem; }
.flight-map__info dt { color: var(--muted); }
.flight-map__info dd { margin: 0; }
.flight-map__info .fare { font: 900 1.35rem/1 var(--f-display); font-stretch: 75%; color: var(--yellow); }
.flight-map__legend { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 12px 16px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--muted); }
.flight-map__legend span { display: inline-flex; align-items: center; gap: 8px; }
.ln { display: inline-block; width: 26px; height: 0; border-top: 3px solid var(--yellow); }
.ln--stop { border-top: 3px dashed var(--blue-ink); }
.fl-route { transition: opacity .2s; }
.fl-route--active { animation: fl-dash 1s linear infinite; }
@keyframes fl-dash { to { stroke-dashoffset: -24; } }
.fl-label { background: var(--yellow) !important; color: #0c0b0a !important; border: 0 !important; border-radius: 999px !important; font: 800 .74rem/1 var(--f-body) !important; padding: 5px 9px !important; box-shadow: none !important; }
.fl-label::before { display: none; }
.flight-map .leaflet-tile-pane { filter: grayscale(1) invert(1) brightness(.85) contrast(.9); }
@media (max-width: 860px) {
  .flight-map { grid-template-columns: minmax(0, 1fr); }
  .flight-map__map { min-height: 0; height: 290px; }
  .flight-map__side { border-left: 0; border-top: 1px solid var(--line); padding: 16px; }
  .flight-map__regions { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .flight-map__regions::-webkit-scrollbar { display: none; }
  .flight-map__regions button { flex: none; }
  .flight-map__info { margin-top: 0; }
  .flight-map__info dl { grid-template-columns: 1fr; gap: 2px; }
  .flight-map__info dd { margin-bottom: 10px; }
}
.map-wrap { position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-3); }
.map { height: clamp(380px, 60vh, 560px); }
.map-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 12px 16px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--muted); }
.map-legend span { display: inline-flex; align-items: center; gap: 8px; }
.map-legend i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); border: 2px solid #fff; }
.map-fallback { padding: 24px; color: var(--muted); }
.leaflet-container { background: #1a1917 !important; font: inherit !important; }
.map .leaflet-tile-pane { filter: grayscale(1) invert(1) brightness(.92) contrast(.9); }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background: #1b1917 !important; color: var(--fg) !important; border: 1px solid var(--line-2); }
.leaflet-popup-content { margin: 12px 14px !important; font-size: .88rem; line-height: 1.45; }
.leaflet-popup-content b { display: block; font-size: .96rem; margin-bottom: 2px; }
.leaflet-popup-content a { color: var(--yellow) !important; }
.leaflet-container a.leaflet-popup-close-button { color: var(--muted) !important; }
.leaflet-control-attribution { background: rgba(12, 11, 10, .8) !important; color: var(--muted) !important; }
.leaflet-control-attribution a { color: #d8d2c9 !important; }
.leaflet-bar a { background: #1b1917 !important; color: var(--fg) !important; border-color: var(--line) !important; }
.pin { width: 18px; height: 18px; border-radius: 50%; background: var(--c); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .6); }
.hotel-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.hotel-filters button { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; font-weight: 700; font-size: .88rem; cursor: pointer; }
.hotel-filters button[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.hotels { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.hotel { display: flex; flex-direction: column; gap: 8px; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-3); }
.hotel[hidden] { display: none; }
.hotel__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.hotel__tier { font: 700 .7rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; }
.tier-budget { background: rgba(42, 91, 255, .2); color: var(--blue-ink); }
.tier-mid { background: rgba(255, 198, 26, .15); color: var(--yellow); }
.tier-upscale { background: rgba(239, 29, 38, .16); color: var(--red-ink); }
.hotel h3 { font-size: 1.08rem; }
.hotel__area { color: var(--muted); font-size: .88rem; display: flex; gap: 6px; align-items: center; }
.hotel__area .icon { width: 15px; height: 15px; }
.hotel__price { font: 900 1.5rem/1 var(--f-display); font-stretch: 75%; }
.hotel__price small { font: 500 .8rem/1 var(--f-body); color: var(--muted); }
.hotel__eur { margin-top: -4px; text-align: right; color: var(--muted); font-size: .8rem; }
.hotel p { color: #cfc9c0; font-size: .9rem; margin: 0; }
.hotel__links { display: flex; gap: 14px; flex-wrap: wrap; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); }
.hotel__links a { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; font-weight: 700; text-decoration: none; }
.hotel__links a:hover { color: var(--yellow); }
.hotel__links .icon { width: 14px; height: 14px; }
.areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.area { padding: 20px; border-radius: 12px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(255, 255, 255, .05), transparent); }
.area h3 { font-size: 1.1rem; margin-bottom: 6px; }
.area p { color: #cfc9c0; font-size: .92rem; margin: 0 0 8px; }
.area small { color: var(--muted); font-size: .82rem; display: flex; gap: 6px; align-items: center; }

/* ---------- Partners ---------- */
.tiers { display: grid; gap: 18px; }
.tier { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-3); align-items: center; }
@media (max-width: 760px) { .tier { grid-template-columns: 1fr; } }
.tier h3 { font-size: 1.6rem; }
.tier p { color: var(--muted); font-size: .9rem; margin: 6px 0 0; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.slot { display: grid; place-items: center; min-height: 104px; padding: 16px; border: 2px dashed var(--line-2); border-radius: 12px; color: var(--muted); font-weight: 700; font-size: .86rem; text-align: center; text-decoration: none; transition: border-color .2s, color .2s; }
.slot:hover { border-color: var(--yellow); color: var(--yellow); }
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.logo-tile { display: grid; place-items: center; min-height: 110px; padding: 18px; border-radius: 12px; background: #f3f0ea; text-decoration: none; }
.logo-tile--dark { background: #1f1d1a; border: 1px solid var(--line); }
.logo-tile img { max-height: 64px; width: auto; max-width: 100%; object-fit: contain; }
.logos--event { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 14px; }
.logo-tile--event { min-height: 170px; gap: 10px; align-content: center; transition: transform .2s; }
.logo-tile--event:hover { transform: translateY(-3px); }
.logo-tile--event img { max-height: 92px; }
.logo-tile--event span { font: 700 .82rem/1.2 var(--f-body); color: #3a3631; text-align: center; }
.logo-tile--slot { min-height: 170px; gap: 10px; align-content: center; background: transparent; border: 2px dashed var(--line-2); color: var(--muted); font-weight: 700; font-size: .88rem; text-align: center; transition: border-color .2s, color .2s; }
.logo-tile--slot:hover { border-color: var(--yellow); color: var(--yellow); }
.logo-tile--slot .icon { width: 26px; height: 26px; }
.sponsor-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 30px; margin-top: 18px; padding: 22px 26px; border: 2px dashed var(--line-2); border-radius: var(--radius); }
.sponsor-bar p { margin: 6px 0 0; }
.organizer { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-3); }
.organizer img { width: 120px; }
@media (max-width: 560px) { .organizer { grid-template-columns: 1fr; } }
.perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.perks li { display: flex; gap: 12px; padding: 16px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.perks .icon { color: var(--yellow); margin-top: 3px; }

/* ---------- Footer ---------- */
.rko-footer { position: relative; isolation: isolate; overflow: hidden; padding: clamp(56px, 8vw, 96px) 0 28px; background: #080807; border-top: 1px solid var(--line); }
.rko-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--tricolor); }
.rko-footer__top { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 900px) { .rko-footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .rko-footer__top { grid-template-columns: 1fr; } }
.rko-footer img.rko-footer__logo { width: 180px; margin-bottom: 16px; }
.rko-footer h2 { font: 700 .74rem/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.rko-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rko-footer a { text-decoration: none; color: #d8d2c9; }
.rko-footer a:hover { color: var(--yellow); }
.rko-footer p { color: var(--muted); font-size: .92rem; }
.rko-footer__legal { display: grid; gap: 4px; font-size: .86rem; color: var(--muted); }
.rko-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--muted); }
.rko-footer__bottom nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.rko-footer__word { font: 900 clamp(4rem, 17vw, 13rem)/.8 var(--f-display); font-stretch: 62%; text-transform: uppercase; letter-spacing: -.01em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .09); margin-top: 36px; white-space: nowrap; text-align: center; user-select: none; }
.socials { display: flex; gap: 8px; margin-top: 16px; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; }
.socials a:hover { border-color: var(--yellow); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* print-only header */
.print-head, .print-foot { display: none; }

/* ==========================================================================
   Print / Save as PDF (rules, tricklists, terms, privacy)
   ========================================================================== */
@media print {
  @page { size: A4; margin: 16mm 15mm 18mm; }
  :root { --fg: #111; --muted: #555; --line: #d6d2cc; --line-2: #bdb8b0; }
  :root { color-scheme: light !important; }
  html { background: #fff !important; }
  body { background: #fff !important; color: #111; font-size: 10.5pt; line-height: 1.5; }
  .lead a, .t-yellow { color: #111 !important; }
  body::before { display: none; }
  .rko-header, .rko-footer, .skip-link, .no-print, .toc, .page-actions, .page-hero__city, .breadcrumb { display: none !important; }
  .page-hero, .section, .section--alt { background: #fff !important; padding: 0 !important; border: 0 !important; }
  .page-hero::before, .grit::before, .halftone::after { display: none !important; }
  .container { max-width: none; padding: 0; }
  .doc-layout { display: block; }
  .doc { max-width: none; }
  .print-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 10px; margin-bottom: 14px; border-bottom: 3px solid #111; }
  .print-head img { width: 110px; }
  .print-head div { text-align: right; font-size: 9pt; color: #444; line-height: 1.4; }
  .print-head strong { display: block; font: 900 13pt/1.1 var(--f-display); font-stretch: 72%; text-transform: uppercase; color: #111; }
  .print-foot { display: block; margin-top: 18px; padding-top: 8px; border-top: 1px solid #ccc; font-size: 8.5pt; color: #555; }
  .page-hero h1 { color: #111; font-size: 26pt; margin: 0 0 6px; }
  .stroke::after { opacity: .55; }
  .lead { color: #333; font-size: 11pt; }
  .facts { grid-template-columns: repeat(4, 1fr); margin: 12px 0 18px; }
  .facts li { border-color: #ccc; background: #f6f5f2; padding: 8px 10px; }
  .doc section { break-inside: auto; margin-bottom: 14px; padding-bottom: 4px; border-color: #ddd; }
  .doc h2 { color: #111; font-size: 15pt; break-after: avoid; margin-bottom: 8px; }
  .doc h2 .num { color: #111; }
  .doc h3 { break-after: avoid; }
  .doc p, .doc li { color: #222; }
  .doc strong, .doc b { color: #111; }
  .doc a { color: #111; }
  .doc li::marker { color: #111; }
  .callout { background: #f6f5f2 !important; border-color: #ccc !important; }
  .callout .icon { color: #111 !important; }
  .tricklist tr, .score-table tr, .data-table tr { break-inside: avoid; }
  .tricklist td { padding: 5px 8px; }
  .tricklist td.t b { font-size: 10.5pt; }
  .tricklist td.n { font-size: 12pt; }
  .tricklist td.n { color: #111; font-size: 14pt; }
  .tricklist td.p span { background: #eee; }
  .tricklist td.t small { color: #555; }
  .table-wrap { border-color: #ccc; overflow: visible; }
  .bonus-head { margin-top: 18px; }
  .bonus-block { break-inside: avoid; }
  .tape { background: #e2dfda; }
  a[href^="http"]::after { content: ""; }
}
