/* Verseny napja – teljes képernyős kártyák, görgetésre a következőre úszik (scroll-snap). Önálló lap, a személyes oldal és a főoldal arculatán. */
:root { --sat: env(safe-area-inset-top, 0px); --sab: env(safe-area-inset-bottom, 0px); --ink: #1b2925; --ink2: #1f2f2a; --sage: #98b0a9; --sage2: #cfe0d6; --gold: #e8b86b; --lila: #c9b8f0; --tx: #dfe7e4; --mut: #8ea59d; --bar: 66px; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--ink); color: var(--tx); font-family: 'Roboto', sans-serif; -webkit-font-smoothing: antialiased; overflow: hidden; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button { font: inherit; }

/* ===== felső sáv ===== */
.tb { position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: calc(var(--bar) + var(--sat)); padding-top: var(--sat) !important; display: flex; align-items: center; gap: 16px; padding: 0 20px; background: rgba(27,41,37,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,.08); }
.tb-logo { flex: 0 0 auto; width: 132px; display: block; }
.tb-logo img { width: 100%; height: auto; display: block; }
.tb-live { flex: 0 0 auto; display: flex; align-items: center; gap: 7px; font-family: 'Roboto Condensed', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #ff8f7a; }
.tb-live i { width: 9px; height: 9px; border-radius: 50%; background: #ff6b55; box-shadow: 0 0 0 0 rgba(255,107,85,.6); animation: pul 1.8s infinite; }
.tb-live.off { color: var(--mut); } .tb-live.off i { background: var(--mut); animation: none; }
@keyframes pul { 0% { box-shadow: 0 0 0 0 rgba(255,107,85,.55); } 70% { box-shadow: 0 0 0 10px rgba(255,107,85,0); } 100% { box-shadow: 0 0 0 0 rgba(255,107,85,0); } }
.tb-strip { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 6px 4px; mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent); }
.tb-strip::-webkit-scrollbar { display: none; }
.tb-strip button { flex: 0 0 auto; border: 0; padding: 0; background: none; cursor: pointer; position: relative; border-radius: 50%; }
.tb-strip button.done { opacity: .38; }
.tb-strip button.cur .av { width: 42px; height: 42px; box-shadow: 0 0 0 3px var(--ink), 0 0 0 5px #fff; }
.tb-strip button.seen .av { box-shadow: 0 0 0 2px var(--ink), 0 0 0 4px var(--gold); }
.tb-strip .sep { flex: 0 0 auto; width: 8px; height: 2px; background: rgba(255,255,255,.18); border-radius: 1px; }
.tb-r { flex: 0 0 auto; display: flex; align-items: center; gap: 12px; }
.tb-clock { font-family: 'Roboto Condensed', sans-serif; font-weight: 700; font-size: 24px; color: #fff; font-variant-numeric: tabular-nums; }
.tb-btn { border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; border-radius: 999px; padding: 7px 14px; font-family: 'Roboto Condensed', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; white-space: nowrap; }
.tb-btn:hover { border-color: var(--sage); background: rgba(152,176,169,.15); }
.tb-btn.on { background: var(--sage); color: var(--ink); border-color: var(--sage); }
.tb-prog { position: absolute; left: 0; bottom: -1px; height: 3px; background: linear-gradient(90deg, var(--sage), var(--gold)); width: 0; transition: width 1s; }

/* ===== avatár ===== */
.av { --s: 34px; position: relative; display: inline-flex; align-items: center; justify-content: center; width: var(--s); height: var(--s); border-radius: 50%; overflow: hidden; background: var(--c, #2f4640); flex: 0 0 auto; box-shadow: 0 0 0 2px var(--ink), 0 0 0 3px var(--c, #555); vertical-align: middle; }
.av b { font-family: 'Roboto Condensed', sans-serif; font-weight: 700; color: #13201c; font-size: calc(var(--s) * .38); letter-spacing: .02em; }
.av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.av.xl { --s: 168px; box-shadow: 0 0 0 5px var(--ink), 0 0 0 9px var(--c), 0 18px 50px rgba(0,0,0,.45); }
.av.lg { --s: 76px; box-shadow: 0 0 0 3px var(--ink), 0 0 0 6px var(--c); }
.av.md { --s: 54px; box-shadow: 0 0 0 3px var(--ink), 0 0 0 5px var(--c); }
.av.sm { --s: 30px; }
.av.empty { background: #3b5750; } .av.empty b { color: var(--mut); }

/* ===== kártyák ===== */
.deck { position: fixed; inset: 0; overflow-y: auto; scroll-snap-type: y mandatory; scroll-behavior: smooth; overscroll-behavior: contain; }
.sl { position: relative; min-height: 100vh; min-height: 100svh; height: 100vh; height: 100svh; scroll-snap-align: start; scroll-snap-stop: always; display: flex; align-items: stretch; padding: calc(var(--bar) + var(--sat) + 26px) 44px 34px; overflow: hidden;
  background: radial-gradient(1100px 760px at 82% 46%, color-mix(in srgb, var(--c, #98b0a9) 20%, transparent), transparent 62%), linear-gradient(135deg, #3b5750 0%, #2f4640 55%, #1f2f2a 100%); }
.sl.done { filter: saturate(.55); }
.sl-in { width: 100%; max-width: 1560px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 46px; align-items: center; }
.sl-l { display: flex; flex-direction: column; gap: 15px; min-width: 0; }
.sl-r { min-width: 0; }

.tagrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-family: 'Roboto Condensed', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; background: rgba(255,255,255,.08); color: #fff; }
.tag.now { background: #ff6b55; color: #fff; } .tag.now i { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.tag.next { background: var(--gold); color: #2a1e05; } .tag.done { background: rgba(152,176,169,.25); color: var(--sage2); }
.nr { font-family: 'Courier Prime', monospace; font-weight: 700; font-size: 15px; letter-spacing: .1em; color: var(--mut); text-transform: uppercase; }
.dn { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; color: var(--tx); } .dn .bi-moon-stars-fill { color: var(--lila); } .dn .bi-sun-fill { color: var(--gold); }
.delay { font-family: 'Roboto Condensed', sans-serif; font-weight: 700; font-size: 14px; padding: 4px 11px; border-radius: 999px; }
.delay.late { background: rgba(255,143,122,.16); color: #ff9b86; } .delay.early, .delay.ok { background: rgba(152,176,169,.18); color: var(--sage2); }

.who { display: flex; align-items: center; gap: 30px; }
.who .k { font-family: 'Roboto Condensed', sans-serif; font-weight: 600; font-size: 16px; letter-spacing: .2em; text-transform: uppercase; color: var(--c); }
.who h2 { font-family: 'Roboto Condensed', sans-serif; font-weight: 700; font-size: clamp(44px, 5.6vw, 92px); line-height: .98; color: #fff; letter-spacing: -.01em; }
.who .p { font-size: 17px; color: var(--mut); margin-top: 6px; }
.route { font-family: 'Roboto Condensed', sans-serif; font-weight: 700; font-size: clamp(26px, 2.9vw, 44px); line-height: 1.08; color: #fff; }
.route span { color: var(--c); padding: 0 .18em; }
.when { font-size: 19px; color: var(--tx); margin-top: -8px; }
.stats { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); }
.stats div { padding: 12px 26px 12px 0; margin-right: 26px; border-right: 1px solid rgba(255,255,255,.1); }
.stats div:last-child { border-right: 0; }
.stats b { display: block; font-family: 'Roboto Condensed', sans-serif; font-weight: 700; font-size: 30px; color: #fff; line-height: 1.1; }
.stats span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); }

.cdbox { display: flex; align-items: flex-end; gap: 18px; flex-wrap: wrap; }
.cdbox .lab { font-family: 'Roboto Condensed', sans-serif; font-weight: 600; font-size: 14px; letter-spacing: .18em; text-transform: uppercase; color: var(--mut); margin-bottom: 4px; }
.cd { font-family: 'Roboto Condensed', sans-serif; font-weight: 700; font-size: clamp(54px, 6.2vw, 96px); line-height: .95; color: var(--gold); font-variant-numeric: tabular-nums; }
.cdbox .sub { font-size: 17px; color: var(--tx); padding-bottom: 10px; }
.bar { height: 8px; border-radius: 4px; background: rgba(255,255,255,.1); overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--c), #fff); border-radius: 4px; }

.segs { display: flex; flex-wrap: wrap; gap: 8px; }
.seg { display: inline-flex; align-items: baseline; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.08); font-size: 15px; color: var(--tx); text-decoration: none; }
.seg b { font-family: 'Roboto Condensed', sans-serif; font-size: 16px; color: #fff; }
.seg small { color: var(--mut); font-size: 13px; }
.seg.d { opacity: .5; } .seg.d b { text-decoration: line-through; }
.seg.on { background: color-mix(in srgb, var(--c) 30%, transparent); border-color: var(--c); }
a.seg:hover { border-color: var(--sage); }

.hand { display: grid; gap: 10px; }
.hin { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--mut); }
.hin b { color: var(--tx); font-weight: 500; }
.hout { display: flex; align-items: center; gap: 18px; padding: 16px 20px; border-radius: 16px; background: rgba(0,0,0,.22); border: 1px solid rgba(255,255,255,.09); }
.hout .pair { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.hout .pair i { font-size: 22px; color: var(--gold); }
.hout .lab { font-family: 'Roboto Condensed', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.hout .t { font-family: 'Roboto Condensed', sans-serif; font-weight: 700; font-size: 26px; color: #fff; line-height: 1.1; }
.hout .s { font-size: 14px; color: var(--tx); margin-top: 2px; }

/* vezetői rögzítés */
.lead { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 14px; border: 1px dashed rgba(232,184,107,.5); background: rgba(232,184,107,.07); }
.lead .go { background: var(--gold); color: #241a04; border: 0; border-radius: 999px; padding: 11px 20px; font-family: 'Roboto Condensed', sans-serif; font-weight: 700; font-size: 16px; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.lead input { background: rgba(0,0,0,.3); color: #fff; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; padding: 9px 10px; font-size: 16px; color-scheme: dark; }
.lead .sec { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 9px 14px; font-size: 14px; cursor: pointer; }
.lead .msg { font-size: 14px; color: var(--gold); flex-basis: 100%; min-height: 0; }
.lead .msg:empty { display: none; }

/* térkép */
.map { position: relative; border-radius: 22px; background: radial-gradient(circle at 50% 40%, #3b5750, #1b2925); border: 1px solid rgba(255,255,255,.08); padding: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.map > svg { width: 100%; height: auto; display: block; overflow: visible; }
.map .lk { fill: rgba(59,87,80,.55); }
.map .b0 { fill: none; stroke: rgba(255,255,255,.16); stroke-width: 9; stroke-linejoin: round; }
.map .b1 { fill: none; stroke: rgba(152,176,169,.75); stroke-width: 11; stroke-linejoin: round; }
.map .me { fill: none; stroke-width: 22; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 10px rgba(255,255,255,.35)); }
.map .lb { font: 700 46px 'Roboto Condensed', sans-serif; fill: #fff; paint-order: stroke; stroke: #1b2925; stroke-width: 12px; stroke-linejoin: round; }
.map .st circle { fill: var(--sage); stroke: #fff; stroke-width: 3; }
.map .st text { font: 700 26px 'Roboto Condensed', sans-serif; fill: #fff; letter-spacing: .08em; paint-order: stroke; stroke: rgba(27,41,37,.9); stroke-width: 6px; }
.map .ring { fill: none; stroke: #fff; stroke-width: 4; transform-box: fill-box; transform-origin: center; animation: ring 2s ease-out infinite; }
@keyframes ring { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(2.3); } }
.map .cap { margin: 10px 6px 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--tx); }
.map .cap i { display: inline-block; width: 20px; height: 5px; border-radius: 3px; margin-right: 6px; vertical-align: middle; }

/* nyitó és záró kártya */
.sl.intro .sl-in, .sl.fin .sl-in { grid-template-columns: 1fr; text-align: center; justify-items: center; align-content: center; gap: 18px; }
.kick { font-family: 'Cinzel', serif; font-weight: 600; font-size: 22px; letter-spacing: .22em; color: var(--gold); text-transform: uppercase; }
.big { font-family: 'Roboto Condensed', sans-serif; font-weight: 700; font-size: clamp(44px, 5.6vw, 88px); line-height: .95; color: #fff; }
.script { font-family: 'Caveat', cursive; font-weight: 600; font-size: 36px; color: var(--gold); }
.tiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.tile { min-width: 190px; padding: 16px 22px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); }
.tile b { display: block; font-family: 'Roboto Condensed', sans-serif; font-weight: 700; font-size: 34px; color: #fff; line-height: 1.1; }
.tile span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); }
.team { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 16px; max-width: 1200px; }
.team button { border: 0; background: none; color: var(--tx); cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 7px; width: 100px; font-size: 14px; line-height: 1.2; }
.team button small { color: var(--mut); font-size: 12px; white-space: nowrap; }
.team button:hover .av { transform: scale(1.06); } .team .av { transition: transform .2s; }
.team button.run .av { box-shadow: 0 0 0 3px var(--ink), 0 0 0 6px #ff6b55; }
.cta { border: 0; background: var(--sage); color: var(--ink); border-radius: 999px; padding: 14px 26px; font-family: 'Roboto Condensed', sans-serif; font-weight: 700; font-size: 16px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.cta:hover { background: #fff; }
.wide { width: min(720px, 100%); }
.note { font-size: 14px; color: var(--mut); }
.hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--mut); animation: bob 2.4s infinite; pointer-events: none; }
@keyframes bob { 50% { transform: translate(-50%, 5px); } }

/* ===== alacsony asztali képernyő (pl. 1366×768) ===== */
@media (min-width: 1001px) and (max-height: 980px) {
  .sl { padding-top: calc(var(--bar) + var(--sat) + 16px); padding-bottom: 18px; }
  .sl-l { gap: 12px; } .av.xl { --s: 118px; } .who { gap: 22px; }
  .who h2 { font-size: clamp(40px, 4.6vw, 70px); } .route { font-size: clamp(24px, 2.4vw, 36px); } .when { font-size: 17px; margin-top: -4px; }
  .stats div { padding: 8px 20px 8px 0; margin-right: 20px; } .stats b { font-size: 24px; }
  .cd { font-size: clamp(46px, 5vw, 72px); } .seg { padding: 5px 12px; font-size: 14px; }
  .hout { padding: 12px 16px; } .hout .t { font-size: 22px; } .av.md { --s: 46px; }
  .big { font-size: clamp(40px, 4.8vw, 70px); } .tile { padding: 12px 18px; } .tile b { font-size: 28px; } .script { font-size: 30px; }
}

/* ===== mobil ===== */
@media (max-width: 1000px) {
  .deck { scroll-snap-type: y proximity; }
  .sl { height: auto; min-height: 100svh; padding: calc(var(--bar) + var(--sat) + 16px) 18px 30px; }
  .sl-in { grid-template-columns: 1fr; gap: 20px; align-content: start; }
  .sl-r { order: -1; }
  .map { padding: 8px; border-radius: 16px; } .map .cap { position: static; margin: 4px 6px 2px; }
  .who { gap: 18px; } .av.xl { --s: 104px; }
  .stats div { padding: 10px 16px 10px 0; margin-right: 16px; } .stats b { font-size: 24px; }
  .tb-logo { width: 96px; } .tb { gap: 10px; padding: 0 12px; } .tb-live span { display: none; } .tb-clock { font-size: 18px; }
  .hint { display: none; }
}
@media (max-width: 560px) {
  .tb-btn.ld { display: none; }
  .when { font-size: 16px; } .hout { padding: 12px 14px; gap: 12px; } .hout .t { font-size: 21px; }
  .av.md { --s: 44px; }
  .tile { min-width: 140px; padding: 12px 14px; } .tile b { font-size: 26px; }
  .team button { width: 84px; } .av.lg { --s: 62px; }
  .kick { font-size: 15px; } .script { font-size: 28px; }
}

/* ===== valódi térkép (Leaflet) ===== */
.lmap { width: 100%; height: min(64vh, 640px); min-height: 340px; border-radius: 14px; overflow: hidden; background: #1b2925; }
.leaflet-container { font-family: 'Roboto', sans-serif; background: #1b2925; }
.leaflet-control-attribution { background: rgba(27,41,37,.75) !important; color: #8ea59d !important; font-size: 10px; }
.leaflet-control-attribution a { color: #b9cdc2 !important; }
.leaflet-bar a { background: rgba(35,53,48,.92); color: #fff; border-bottom-color: rgba(255,255,255,.12); }
.leaflet-bar a:hover { background: #2f4640; color: #fff; }
.leaflet-bar { border: 1px solid rgba(255,255,255,.15) !important; }
.lav .av { --s: 100%; width: 100%; height: 100%; box-shadow: 0 0 0 3px #fff, 0 6px 16px rgba(0,0,0,.55); }
.lav.pulz::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 3px solid #fff; animation: lring 1.8s ease-out infinite; pointer-events: none; }
@keyframes lring { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.9); } }
.lpin { position: relative; }
.lpin i { position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-radius: 50%; border: 3px solid #1b2925; box-shadow: 0 0 0 2px rgba(255,255,255,.85); }
.lpin span { position: absolute; left: 20px; top: -5px; white-space: nowrap; font: 700 15px 'Roboto Condensed', sans-serif; color: #fff; text-shadow: 0 0 4px #13201c, 0 0 4px #13201c, 0 0 8px #13201c; }
.nav { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; flex: 0 0 auto; padding: 9px 15px; border-radius: 999px; background: var(--sage); color: var(--ink); font-family: 'Roboto Condensed', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.nav:hover { background: #fff; }
.nav.sm { padding: 4px 10px; font-size: 12px; margin-left: 6px; background: rgba(152,176,169,.22); color: var(--sage2); }
@media (min-width: 1001px) and (max-height: 980px) { .lmap { height: min(60vh, 520px); min-height: 300px; } }
@media (max-width: 1000px) { .lmap { height: 42vh; min-height: 260px; } .hout { flex-wrap: wrap; } .nav { margin-left: 0; } }
.lav .av b { font-size: 16px; }

.leaflet-layer.sotet { filter: invert(1) hue-rotate(180deg) brightness(.92) contrast(.88) saturate(.45); }
.lstart .lt { position: absolute; left: calc(100% + 10px); top: 50%; transform: translateY(-50%); font-style: normal; white-space: nowrap; font: 700 16px 'Roboto Condensed', sans-serif; color: #fff; text-shadow: 0 0 4px #13201c, 0 0 4px #13201c, 0 0 8px #13201c; }
.ldot i { position: absolute; inset: 0; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 10px rgba(0,0,0,.6); }
.ldot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 3px solid #fff; animation: lring 1.6s ease-out infinite; }

/* ===== TELEFON: minden kártya pontosan egy képernyő, felül a térkép kitölti a maradék helyet ===== */
@media (max-width: 700px) and (min-height: 560px) {
  :root { --bar: 54px; }
  .deck { scroll-snap-type: y mandatory; }
  .sl { height: 100vh; height: 100svh; min-height: 0; padding: calc(var(--bar) + var(--sat) + 8px) 12px max(10px, var(--sab)); }
  .sl-in { display: flex; flex-direction: column; align-items: stretch; gap: 9px; height: 100%; width: 100%; min-width: 0; }
  .sl-l, .sl-r { width: 100%; min-width: 0; }
  .sl-r { order: -1; flex: 1 1 auto; min-height: 96px; display: flex; }
  .map { flex: 1; display: flex; flex-direction: column; padding: 0; border-radius: 14px; box-shadow: none; overflow: hidden; }
  .map > svg { width: 100%; height: 100%; }
  .lmap { flex: 1; height: auto !important; min-height: 0 !important; border-radius: 14px; }
  .map .cap { display: none; }
  .leaflet-control-zoom { display: none; }
  .sl-l { flex: 0 0 auto; gap: 8px; }

  .tagrow { gap: 6px 8px; flex-wrap: nowrap; overflow: hidden; }
  .tag { padding: 4px 9px; font-size: 11px; letter-spacing: .1em; flex: 0 0 auto; }
  .nr { font-size: 11px; flex: 0 0 auto; } .dn { font-size: 12px; flex: 0 0 auto; } .delay { font-size: 11px; padding: 3px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .who { gap: 12px; } .av.xl { --s: 56px; box-shadow: 0 0 0 3px var(--ink), 0 0 0 5px var(--c); }
  .who .k { font-size: 10px; letter-spacing: .16em; } .who h2 { font-size: clamp(24px, 7.6vw, 32px); line-height: 1; } .who .p { font-size: 12px; margin-top: 2px; }
  .route { font-size: clamp(18px, 5.6vw, 22px); } .when { font-size: 13px; margin-top: -5px; }
  .stats { border: 0; gap: 0; flex-wrap: nowrap; }
  .stats div { padding: 0 12px 0 0; margin-right: 12px; border-right: 1px solid rgba(255,255,255,.12); }
  .stats b { font-size: 17px; } .stats span { font-size: 9px; letter-spacing: .12em; }
  .cdbox { gap: 10px; flex-wrap: nowrap; } .cdbox .lab { font-size: 10px; margin-bottom: 0; }
  .cd { font-size: clamp(36px, 11vw, 46px); } .cdbox .sub { font-size: 12px; padding-bottom: 5px; }
  .bar { height: 5px; } .sl-l .bar { margin-top: 6px !important; }
  .segs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 6px; margin: 0 -12px; padding: 0 12px; }
  .segs::-webkit-scrollbar { display: none; }
  .seg { flex: 0 0 auto; padding: 4px 10px; font-size: 12px; } .seg b { font-size: 13px; } .seg small { font-size: 11px; } .seg .sn { display: none; }
  .hand { gap: 6px; grid-template-columns: minmax(0, 1fr); } .hand > * { min-width: 0; } .delay .dl { display: none; }
  .hin { font-size: 12px; gap: 8px; white-space: nowrap; overflow: hidden; } .hin > span { overflow: hidden; text-overflow: ellipsis; } .hin .av.sm { --s: 22px; }
  .hout { flex-wrap: nowrap; padding: 9px 10px; gap: 10px; border-radius: 12px; } .hout > div:not(.pair) { min-width: 0; }
  .hout .pair { gap: 5px; } .hout .pair i { font-size: 15px; } .av.md { --s: 36px; box-shadow: 0 0 0 2px var(--ink), 0 0 0 4px var(--c); }
  .hout .lab { font-size: 10px; letter-spacing: .14em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .hout .t { font-size: 18px; } .hout .s { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .nav { margin-left: auto; width: 42px; height: 42px; padding: 0; justify-content: center; border-radius: 50%; font-size: 18px; } .nav .nt { display: none; }
  .nav.sm { width: auto; height: auto; padding: 2px 8px; font-size: 11px; border-radius: 999px; margin-left: 4px; }
  .lead { padding: 7px 8px; gap: 6px; } .lead .go { padding: 9px 12px; font-size: 13px; } .lead input { padding: 6px; font-size: 14px; } .lead .sec { padding: 6px 10px; font-size: 12px; }

  /* nyitó és záró kártya */
  .sl.intro .sl-in, .sl.fin .sl-in { gap: 10px; justify-content: center; align-items: center; }
  .kick { font-size: 12px; letter-spacing: .16em; } .big { font-size: clamp(32px, 10vw, 42px); } .script { font-size: 22px; }
  .sl.intro .cd, .sl.fin .cd { font-size: clamp(44px, 14vw, 60px) !important; }
  .tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; } .tile { min-width: 0; padding: 8px 10px; border-radius: 12px; } .tile b { font-size: 17px; } .tile span { font-size: 9px; }
  .team { gap: 10px 4px; } .team button { width: 66px; gap: 4px; font-size: 11px; } .team button small { display: none; }
  .tiles .tile:last-child:nth-child(odd) { grid-column: 1 / -1; } .tile span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .team .av { --s: 40px !important; }
  .cta { padding: 11px 18px; font-size: 13px; } .note { font-size: 12px; }

  /* felső sáv */
  .tb { gap: 8px; padding: 0 10px; } .tb-logo { width: 78px; } .tb-live span { display: none; }
  .tb-strip button.cur .av { width: 36px; height: 36px; } .tb-clock { font-size: 16px; }
  .tb-btn { padding: 6px 9px; font-size: 11px; } .tb-btn.ld { display: inline-block; } .tb-btn.ld span { display: none; }
}
/* fekvő telefon: nincs elég magasság, a kártyák természetes magasságúak */
@media (max-height: 559px) { .deck { scroll-snap-type: y proximity; } .sl { height: auto; min-height: 100svh; } }

/* ===== időjárás + gyakorlati infók ===== */
.extra { display: flex; flex-wrap: nowrap; align-items: center; gap: 6px 8px; overflow-x: auto; scrollbar-width: none; mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent); }
.extra::-webkit-scrollbar { display: none; }
.extra > * { flex: 0 0 auto; }
.extra:empty { display: none; }
.wx { display: inline-flex; align-items: center; gap: 10px; padding: 6px 13px; border-radius: 999px; background: rgba(127,181,230,.14); border: 1px solid rgba(127,181,230,.3); font-size: 14px; color: #dfe7e4; white-space: nowrap; }
.wx > i { font-size: 18px; color: #fff; } .wx b { font-family: 'Roboto Condensed', sans-serif; font-size: 17px; color: #fff; }
.wx span { display: inline-flex; align-items: center; gap: 3px; } .wx span.w { color: #ffb48f; font-weight: 600; }
.ix { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.09); font-size: 13px; color: var(--tx); white-space: nowrap; }
.ix i { color: var(--sage); } .ix small { color: var(--mut); font-size: 11px; }
.ix.w { background: rgba(232,184,107,.1); border-color: rgba(232,184,107,.3); } .ix.w i { color: var(--gold); }
.who .p b.becs { color: var(--gold); } .who .p small { color: var(--mut); }

/* ===== felugró ablak: csere, értesítés ===== */
.pop { position: fixed; inset: 0; z-index: 80; padding-top: max(16px, var(--sat)) !important; padding-bottom: max(16px, var(--sab)) !important; background: rgba(19,32,28,.72); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 16px; }
.pop[hidden] { display: none; }
.pop-in { position: relative; width: min(560px, 100%); max-height: calc(100svh - 32px); overflow: auto; background: #233530; border: 1px solid rgba(255,255,255,.12); border-radius: 20px; padding: 22px 22px 18px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.pop-in .lab { font-family: 'Roboto Condensed', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.pop-in h3 { font-family: 'Roboto Condensed', sans-serif; font-weight: 700; font-size: 26px; color: #fff; margin: 4px 0 8px; }
.pop-in .note { font-size: 14px; color: var(--tx); margin: 0 0 14px; line-height: 1.45; }
.pop-in .ok { color: var(--sage2); font-weight: 600; margin: 0 0 12px; }
.pop-in .row { display: flex; gap: 10px; flex-wrap: wrap; }
.pop-in .msg { font-size: 14px; color: var(--gold); margin-top: 10px; min-height: 18px; }
.pop-in .sec2 { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 12px 20px; cursor: pointer; }
.pop-x { position: absolute; right: 12px; top: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.08); color: #fff; font-size: 22px; cursor: pointer; }
.pop-list { display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr); }
.pop-list button { min-width: 0; width: 100%; }
.pop-list button { display: flex; align-items: center; gap: 12px; text-align: left; padding: 10px 12px; border-radius: 14px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); color: var(--tx); cursor: pointer; }
.pop-list button:hover { border-color: var(--sage); background: rgba(152,176,169,.1); }
.pop-list button .pt { flex: 1; min-width: 0; } .pop-list .av { flex: 0 0 auto; } .pop-list b { display: block; color: #fff; font-family: 'Roboto Condensed', sans-serif; font-size: 18px; }
.pop-list small { display: block; font-size: 12px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pop-list .bad small { color: #ff9b86; } .pop-list .warn small { color: var(--gold); } .pop-list .ok small { color: var(--sage2); }
.pop-list .bad { opacity: .75; }

/* ===== felső sáv ikon-gombjai, szurkolói és kivetítő mód ===== */
.tb-btn.ic { padding: 7px 10px; font-size: 15px; line-height: 1; }
html.szurk #bLead, html.szurk .lead { display: none !important; }
html.kiv .lead, html.kiv #bLead, html.kiv #bBell, html.kiv #bNow, html.kiv .hint { display: none !important; }
html.kiv .deck { scroll-behavior: smooth; }
html.kiv .sl { transition: opacity .6s; }

@media (max-width: 700px) and (min-height: 560px) {
  .extra { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -12px; padding: 0 12px; gap: 6px; }
  .extra::-webkit-scrollbar { display: none; }
  .wx { padding: 4px 10px; font-size: 12px; gap: 7px; flex: 0 0 auto; } .wx b { font-size: 14px; } .wx > i { font-size: 15px; }
  .ix { padding: 4px 9px; font-size: 11px; flex: 0 0 auto; } .ix small { display: none; }
  .who .p small { display: none; }
  .tb-btn.kv { display: none; }
}

/* ===== TELEFON: kisebb térkép, levegősebb adatok ===== */
@media (max-width: 700px) and (min-height: 560px) {
  .sl-r { flex: 0 0 auto; height: clamp(130px, 25svh, 220px); min-height: 0; }
  .sl-l { flex: 1 1 auto; min-height: 0; justify-content: space-evenly; gap: 6px; }
  .sl-in { gap: 12px; }
}
/* magasabb telefonokon (pl. iPhone 12–16, 390×844) a szövegek is nagyobbak lehetnek */
@media (max-width: 700px) and (min-height: 780px) {
  .who h2 { font-size: clamp(28px, 8.4vw, 36px); } .av.xl { --s: 64px; }
  .route { font-size: clamp(20px, 6.2vw, 25px); } .when { font-size: 14px; }
  .cd { font-size: clamp(42px, 13vw, 56px); } .stats b { font-size: 19px; }
  .tag { font-size: 12px; padding: 5px 11px; }
}

/* ===== mobil alsó menü + felcsúszó lap ===== */
.bnav { display: none; }
.sheet { position: fixed; inset: 0; z-index: 90; background: rgba(19,32,28,0); transition: background .22s; }
.sheet[hidden] { display: none; }
.sheet.on { background: rgba(19,32,28,.62); }
.sh-in { position: absolute; left: 0; right: 0; bottom: 0; max-height: 84svh; overflow-y: auto; overscroll-behavior: contain; background: #233530; border-radius: 22px 22px 0 0; border-top: 1px solid rgba(255,255,255,.1); padding: 10px 16px calc(18px + var(--sab)); transform: translateY(100%); transition: transform .24s cubic-bezier(.2,.8,.2,1); box-shadow: 0 -20px 60px rgba(0,0,0,.45); }
.sheet.on .sh-in { transform: none; }
.sh-h { display: block; width: 42px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.25); margin: 0 auto 12px; }
.sh-t { font-family: 'Roboto Condensed', sans-serif; font-weight: 700; font-size: 24px; color: #fff; margin-bottom: 6px; }
.sh-t2 { font-family: 'Roboto Condensed', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin: 18px 0 8px; }
.sh-s { font-size: 13px; color: var(--mut); margin: 0 0 12px; line-height: 1.4; }
.sheet button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
/* futók */
.fl-list { display: grid; gap: 8px; }
.fl-row { border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); padding: 8px 10px; }
.fl-row.run { border-color: #ff6b55; }
.fl-main { width: 100%; display: flex; align-items: center; gap: 12px; background: none; border: 0; padding: 2px 0; text-align: left; }
.fl-t { flex: 1; min-width: 0; } .fl-t b { display: block; font-family: 'Roboto Condensed', sans-serif; font-size: 18px; color: #fff; } .fl-t b em { font-style: normal; color: var(--gold); font-size: 14px; }
.fl-t small { display: block; font-size: 12px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fl-row.run .fl-t small { color: #ff9b86; font-weight: 600; }
.fl-main > .bi { color: var(--mut); }
.fl-bl { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 2px 50px; }
.fl-bl button { padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); font-size: 12px; }
.fl-bl button.k { opacity: .45; text-decoration: line-through; } .fl-bl button.a { background: #ff6b55; border-color: #ff6b55; color: #fff; }
/* szakaszok */
.sz-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.sz-grid button { aspect-ratio: 1; border-radius: 10px; border: 0; background: color-mix(in srgb, var(--c) 30%, #233530); box-shadow: inset 0 0 0 2px var(--c); font-family: 'Roboto Condensed', sans-serif; font-weight: 700; font-size: 15px; color: #fff; }
.sz-grid button.k { opacity: .35; } .sz-grid button.a { background: var(--c); color: #13201c; box-shadow: 0 0 0 3px #fff; }
.sz-grid button:disabled { opacity: .2; }
.bl-list { display: grid; gap: 6px; }
.bl-list button { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 9px 10px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); }
.bl-list button.k { opacity: .5; }
.bl-list .nr2 { font-family: 'Courier Prime', monospace; font-weight: 700; font-size: 13px; color: var(--mut); min-width: 24px; }
.bl-t { flex: 1; min-width: 0; } .bl-t b { display: block; font-family: 'Roboto Condensed', sans-serif; font-size: 15px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bl-t small { display: block; font-size: 11px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bl-i { font-family: 'Roboto Condensed', sans-serif; font-weight: 700; font-size: 14px; color: var(--tx); white-space: nowrap; }
.st { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; } .st.d { background: var(--sage); } .st.n { background: #ff6b55; box-shadow: 0 0 0 3px rgba(255,107,85,.3); }
/* több */
.tb-list { display: grid; gap: 6px; }
.tb-row { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 13px 14px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); }
.tb-row > .bi:first-child { font-size: 20px; color: var(--gold); width: 24px; text-align: center; }
.tb-row > span { flex: 1; min-width: 0; } .tb-row b { display: block; font-size: 15px; color: #fff; font-weight: 600; }
.tb-row small { display: block; font-size: 12px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-row > .bi:last-child { color: var(--mut); }
.toast { position: fixed; z-index: 95; left: 50%; transform: translateX(-50%); bottom: calc(var(--nav, 0px) + var(--sab) + 14px); background: #fff; color: #13201c; font-weight: 600; font-size: 14px; padding: 10px 16px; border-radius: 999px; box-shadow: 0 10px 30px rgba(0,0,0,.4); max-width: calc(100% - 32px); text-align: center; }
.toast[hidden] { display: none; }

@media (max-width: 700px) {
  :root { --nav: 62px; }
  .bnav { display: flex; position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; height: calc(var(--nav) + var(--sab)); padding-bottom: var(--sab); background: rgba(27,41,37,.94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid rgba(255,255,255,.09); }
  .bnav button { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; background: none; border: 0; color: var(--mut); font: 600 11px 'Roboto Condensed', sans-serif; letter-spacing: .04em; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .bnav button i { font-size: 21px; transition: transform .15s; } .bnav button:active i { transform: scale(.88); }
  .bnav button.on { color: #fff; } .bnav button.on i { color: var(--gold); }
  /* a felső sáv letisztul: a gombjai az alsó menüben vannak */
  .tb-strip, #bNow, #bBell, #bLead, #bKiv { display: none !important; }
  .tb { justify-content: space-between; } .tb-r { margin-left: auto; }
  .hint { display: none; }
}
@media (max-width: 700px) and (min-height: 560px) {
  .sl { padding-bottom: calc(var(--nav) + var(--sab) + 8px); }
  .sl-r { height: clamp(110px, 22svh, 200px); }
}
@media (max-width: 700px) and (max-height: 559px) { .sl { padding-bottom: calc(var(--nav) + var(--sab) + 12px); } }
.fl-list, .bl-list, .tb-list { grid-template-columns: minmax(0, 1fr); }
.fl-row, .bl-list button, .tb-row { min-width: 0; }
.sh-in { overflow-x: hidden; }
/* alacsonyabb telefon (pl. 360×740, iPhone SE): kisebb térkép, az átvétel-sor elmarad */
@media (max-width: 700px) and (min-height: 560px) and (max-height: 779px) {
  .sl-r { height: clamp(90px, 16svh, 140px); }
  .sl-in { gap: 8px; } .sl-l { gap: 4px; justify-content: space-between; }
  .hin { display: none; }
  .av.xl { --s: 50px; } .who h2 { font-size: 26px; } .route { font-size: 18px; } .when { font-size: 12px; }
  .cd { font-size: 38px; } .stats b { font-size: 16px; } .stats span { font-size: 8px; }
  .hout { padding: 7px 9px; } .hout .t { font-size: 16px; } .av.md { --s: 32px; } .nav { width: 38px; height: 38px; }
  .seg { padding: 3px 9px; } .wx, .ix { padding: 3px 8px; }
}

/* ===== A elrendezés (telefon): tiszta kártya, részletek az Infó lapon ===== */
.who .pm, .wxs { display: none; }
.bnav button.inf i { color: #7fb5e6; }
.if-sz { display: grid; gap: 6px; grid-template-columns: minmax(0,1fr); }
.if-sz > * { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); font-size: 14px; color: var(--tx); text-decoration: none; }
.if-sz b { color: #fff; } .if-sz small { display: block; font-size: 11px; color: var(--mut); } .if-sz em { font-style: normal; color: var(--mut); font-size: 12px; white-space: nowrap; }
.if-sz .k { opacity: .5; } .if-sz .a { background: rgba(232,184,107,.15); border-color: var(--gold); }
.if-wx { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--mut); }
.if-ix { display: flex; flex-wrap: wrap; gap: 6px; }
.if-hand { display: grid; gap: 8px; } .if-hand > div { display: flex; align-items: center; gap: 10px; font-size: 14px; } .if-hand b { color: #fff; } .if-hand .bi-flag-fill { color: var(--gold); font-size: 18px; width: 30px; text-align: center; }
@media (max-width: 700px) {
  .segs, .extra, .stats { display: none !important; }
  .who .pt0 { display: none; } .who .pm { display: inline; font-size: 13px; }
  .wxs { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: #fff; } .wxs:empty { display: none; }
  .hin { display: flex !important; }
  .delay { margin-left: auto; }
}
@media (max-width: 700px) and (min-height: 560px) {
  .sl-r { height: clamp(120px, 23svh, 200px); }
  .sl-l { gap: 10px; justify-content: flex-start; } .sl-in { gap: 14px; }
  .who { gap: 14px; } .av.xl { --s: 66px; } .who h2 { font-size: clamp(28px, 8.6vw, 36px); }
  .route { font-size: clamp(20px, 6.2vw, 25px); } .when { font-size: 14px; margin-top: -6px; }
  .cd { font-size: clamp(46px, 14vw, 60px); } .cdbox .sub { font-size: 13px; }
  .hin { font-size: 13px; } .hin .av.sm { --s: 26px; }
  .hout { padding: 12px 14px; } .hout .t { font-size: 21px; } .av.md { --s: 40px; }
}
@media (max-width: 700px) and (min-height: 560px) and (max-height: 779px) {
  .sl-r { height: clamp(96px, 18svh, 150px); } .sl-l { gap: 7px; }
  .av.xl { --s: 54px; } .who h2 { font-size: 28px; } .route { font-size: 19px; } .cd { font-size: 44px; }
  .hout { padding: 9px 11px; } .hout .t { font-size: 18px; } .av.md { --s: 34px; }
}
@media (max-width: 700px) and (min-height: 780px) { .sl-l { justify-content: space-evenly; gap: 6px; } .hin { font-size: 14px; } .hin .av.sm { --s: 30px; } }

/* ===== nyilvános „Váltás most” ===== */
.vrow { display: flex; gap: 8px; }
.vgo { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 14px 18px; background: var(--gold); color: #241a04; font: 700 17px 'Roboto Condensed', sans-serif; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; box-shadow: 0 8px 24px rgba(232,184,107,.25); }
.vgo:active { transform: scale(.98); }
.vido { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; border-radius: 999px; padding: 12px 16px; font: 600 14px 'Roboto', sans-serif; cursor: pointer; }
.vinp { display: block; width: 100%; margin-top: 10px; background: rgba(0,0,0,.3); color: #fff; border: 1px solid rgba(255,255,255,.2); border-radius: 12px; padding: 12px; font-size: 17px; color-scheme: dark; }
.toast button { margin-left: 8px; border: 0; background: #1f2f2a; color: #fff; border-radius: 999px; padding: 5px 11px; font: 600 13px Roboto, sans-serif; cursor: pointer; }
@media (max-width: 700px) { .vgo { padding: 12px 14px; font-size: 15px; } .vido { padding: 10px 13px; } .vido span { display: none; } }
@media (max-width: 700px) and (min-height: 560px) and (max-height: 779px) { .vgo { padding: 9px 12px; font-size: 14px; } .vido { padding: 8px 11px; } .sl-r { height: clamp(80px, 13svh, 110px); } .hin { font-size: 12px; } }

/* ===== gyors váltás-rögzítés ===== */
.tb-btn.rg { background: var(--gold); color: #241a04; border-color: var(--gold); }
.tb-btn.rg:hover { background: #fff; border-color: #fff; }
.rz-list { display: grid; gap: 6px; grid-template-columns: minmax(0,1fr); max-height: 38svh; overflow-y: auto; }
.rz { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); cursor: pointer; min-width: 0; }
.rz input { accent-color: var(--gold); width: 18px; height: 18px; flex: 0 0 auto; margin: 0; }
.rz .rn { font: 700 16px 'Roboto Condensed', sans-serif; color: var(--mut); min-width: 30px; }
.rz .rt { flex: 1; min-width: 0; } .rz .rt b { display: block; color: #fff; font: 700 16px 'Roboto Condensed', sans-serif; }
.rz .rt small { display: block; font-size: 12px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rz.v .rt small b { color: var(--gold); } .rz.v .rn { color: var(--gold); }
.rz.j { border-style: dashed; } .rz.j em { font-style: normal; color: #ff9b86; font-weight: 600; }
.rz:has(input:checked) { border-color: var(--gold); background: rgba(232,184,107,.12); }
.rz-ok { width: 100%; margin-top: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.rz-msg { color: var(--gold); font-size: 14px; margin-top: 8px; min-height: 18px; }
.sheet .vinp { margin-top: 8px; }
@media (min-width: 701px) { .sh-in { left: 50%; right: auto; width: min(560px, 100%); transform: translate(-50%, 100%); border-radius: 22px 22px 0 0; } .sheet.on .sh-in { transform: translate(-50%, 0); } }
@media (max-width: 700px) {
  .bnav button.rgz b { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-top: -22px; border-radius: 50%; background: var(--gold); color: #241a04; box-shadow: 0 6px 18px rgba(232,184,107,.35), 0 0 0 4px #13201c; }
  .bnav button.rgz b i { font-size: 22px; color: #241a04; } .bnav button.rgz { color: #fff; }
  #bRogz { display: none !important; }
}
.rz .rt small b { display: inline; font: inherit; font-weight: 700; color: var(--gold); }
.rz-ok { background: var(--gold); color: #241a04; }

/* ===== élő helyzetek ===== */
.hauto { position: relative; width: 34px; height: 34px; border-radius: 10px; background: #e8b86b; color: #241a04; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 3px #fff, 0 6px 16px rgba(0,0,0,.5); }
.hauto i { font-size: 17px; } .hauto b { position: absolute; top: -8px; right: -8px; min-width: 18px; height: 18px; border-radius: 9px; background: #1b2925; color: #fff; font: 700 11px Roboto, sans-serif; display: flex; align-items: center; justify-content: center; }
.hauto em { position: absolute; left: 42px; top: 50%; transform: translateY(-50%); white-space: nowrap; font: 700 13px 'Roboto Condensed', sans-serif; font-style: normal; color: #fff; text-shadow: 0 0 4px #13201c, 0 0 4px #13201c; }
.hauto.regi { opacity: .55; }
.lav .helo { position: absolute; bottom: -9px; left: 50%; transform: translateX(-50%); padding: 1px 6px; border-radius: 6px; background: #ff6b55; color: #fff; font: 700 9px Roboto, sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.elomap { height: min(52svh, 460px); border-radius: 16px; overflow: hidden; margin-top: 6px; background: #1b2925; }
.el-l { display: grid; gap: 6px; margin-top: 12px; }
.el-s { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); color: var(--tx); text-decoration: none; }
.el-s > span:not(.av):not(.el-i) { flex: 1; min-width: 0; } .el-s b { display: block; color: #fff; font-size: 14px; } .el-s small { display: block; font-size: 12px; color: var(--mut); }
.el-s em { font-style: normal; font-size: 12px; color: var(--mut); } .el-s em.f { color: #7fd1a0; font-weight: 700; }
.el-i { display: inline-flex; align-items: center; gap: 3px; padding: 4px 8px; border-radius: 8px; background: #e8b86b; color: #241a04; font: 700 12px Roboto, sans-serif; }
@media (max-width: 700px) { #bElo { display: none !important; } }

/* „Több” lap egyszerűsítve: navigáló csempék, rövid lista, beállítás-chipek */
.tb-lab { font: 700 11px 'Roboto Condensed', sans-serif; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin: 10px 0 8px; }
.tb-csk { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.tb-cs { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 14px; border-radius: 14px; background: rgba(232,184,107,.12); border: 1px solid rgba(232,184,107,.35); text-align: left; min-width: 0; }
.tb-cs .bi { font-size: 20px; color: var(--gold); margin-bottom: 4px; }
.tb-cs b { font-size: 15px; color: #fff; font-weight: 700; } .tb-cs small { font-size: 12px; color: var(--mut); max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tb-chip { display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: transparent; color: #dfe7e4; font-size: 13px; }
.tb-chip .bi { color: var(--mut); } .tb-chip.on { border-color: rgba(232,184,107,.6); color: #fff; } .tb-chip.on .bi { color: var(--gold); }
