/* Celsius Free Spin — krémszínű háttér, zöld kártyaposztó, piros és arany hangsúlyok (magyar kártya) */
/* latin + latin-ext (ő, ű): a böngésző csak azt tölti le, amire a szövegnek szüksége van */
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/outfit-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/outfit-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/dm-mono-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DM Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/dm-mono-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/dm-mono-500-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DM Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/dm-mono-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* tartalék betűk az Outfit szélességére mérve: a betűcsere nem tol el semmit (CLS) */
@font-face { font-family: "Outfit Fallback"; font-weight: 400; src: local("Arial"), local("ArialMT"); size-adjust: 97.3%; }
@font-face { font-family: "Outfit Fallback"; font-weight: 700; src: local("Arial Bold"), local("Arial-BoldMT"); size-adjust: 93%; }
@font-face { font-family: "Outfit Fallback Android"; font-weight: 400; src: local("Roboto"), local("Roboto Regular"), local("Roboto-Regular"); size-adjust: 98%; }
@font-face { font-family: "Outfit Fallback Android"; font-weight: 700; src: local("Roboto Bold"), local("Roboto-Bold"); size-adjust: 99%; }
/* a Courier New ugyanolyan széles, mint a DM Mono */
@font-face { font-family: "DM Mono Fallback"; font-weight: 400; src: local("Courier New"), local("CourierNewPSMT"); }
@font-face { font-family: "DM Mono Fallback"; font-weight: 700; src: local("Courier New Bold"), local("CourierNewPS-BoldMT"); }

:root {
  --bg: #f6f1e6;
  --paper: #fffaf0;
  --paper-2: #efe7d6;
  --line: #ddd3bf;
  --text: #1d2a24;
  --muted: #5b6b62;
  --felt: #1f5a3c;
  --felt-2: #164530;
  --felt-3: #2a7350;
  --red: #c4202f;
  --red-2: #a51a27;
  --gold: #d9a520;
  --gold-l: #fff3cf;
  --brown: #7a4a1e;
  --link: #17603d;
  --mono: "DM Mono", "DM Mono Fallback", ui-monospace, Menlo, monospace;
  --sans: "Outfit", "Outfit Fallback", "Outfit Fallback Android", system-ui, -apple-system, sans-serif;
  --wrap: 880px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 var(--sans); overflow-wrap: break-word; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--link); text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--red); text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 16px; }
@media (min-width: 720px) { .wrap { padding-inline: 24px; } }

/* ---------- fejléc: zöld posztó, arany szegély ---------- */
.site-header { background: var(--felt-2); box-shadow: inset 0 -3px 0 var(--gold); }
.site-header .wrap { display: flex; align-items: center; gap: 12px; min-height: 64px; padding-bottom: 3px; }
.logo { display: inline-flex; flex: none; line-height: 0; border-radius: 6px; }
.logo svg { display: block; width: 118px; height: 40px; }
.site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }
.nav { margin-left: auto; display: flex; gap: 4px; }
.nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; color: #d6e7dc; text-decoration: none; font: 600 14px/1 var(--sans); white-space: nowrap; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(217, 165, 32, 0.6); }
.age { flex: none; display: inline-grid; place-items: center; min-width: 44px; height: 30px; padding: 0 8px; border-radius: 999px; background: var(--red); color: #fff; font: 500 13px/1 var(--mono); box-shadow: inset 0 0 0 2px var(--gold); }
@media (max-width: 560px) {
  .nav a[aria-current="page"] { display: none; }
  .nav--short a + a { display: none; }
  .nav a { padding: 0 10px; }
}

/* ---------- szöveg ---------- */
main { display: block; padding-bottom: 8px; }
.page-head { padding: 34px 0 6px; }
h1, h2, h3 { color: var(--text); text-wrap: balance; }
h1 { font: 700 clamp(30px, 7vw, 46px)/1.08 var(--sans); letter-spacing: -0.025em; margin: 0 0 14px; }
h2 { font: 700 clamp(24px, 5vw, 32px)/1.15 var(--sans); letter-spacing: -0.02em; margin: 56px 0 16px; }
h3 { font: 600 20px/1.3 var(--sans); margin: 28px 0 8px; }
p { margin: 0 0 14px; }
ul, ol { margin: 0 0 16px; padding-left: 22px; }
li { margin-bottom: 6px; }
li::marker { color: var(--muted); }
strong, b { font-weight: 700; }
.byline { margin: 0 0 16px; font: 400 13px/1.4 var(--mono); color: var(--muted); }
.byline time { white-space: nowrap; }
.intro { font-size: 18.5px; color: #34443b; }
.figure { margin: 24px 0; }
.figure img { width: 100%; border-radius: 16px; border: 1px solid var(--line); background: var(--paper); }
/* üres hely, amíg nincs kép */
.figure:has(img[src=""]) { aspect-ratio: 16 / 9; border: 2px dashed var(--line); border-radius: 16px;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' fill='none' stroke='%235b6b62' stroke-width='2'%3E%3Crect x='6' y='10' width='36' height='28' rx='3'/%3E%3Ccircle cx='17' cy='20' r='3'/%3E%3Cpath d='m6 34 11-10 8 7 6-5 11 9'/%3E%3C/svg%3E") center no-repeat; }
.figure img[src=""] { display: none; }
ul.checks { list-style: none; padding-left: 0; }
ul.checks > li { position: relative; padding: 2px 0 0 40px; margin-bottom: 12px; }
ul.checks > li::before { content: ""; position: absolute; left: 0; top: 3px; width: 26px; height: 26px; border-radius: 50%; background: var(--felt); }
ul.checks > li::after { content: ""; position: absolute; left: 8px; top: 10px; width: 10px; height: 6px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg); }
/* hibalista: piros felkiáltójel */
ul.issues { list-style: none; padding-left: 0; }
ul.issues > li { position: relative; padding: 2px 0 0 40px; margin-bottom: 12px; }
ul.issues > li::before { content: "!"; position: absolute; left: 0; top: 3px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: #fff; font: 700 15px/1 var(--sans); }
ol.steps { list-style: none; counter-reset: step; padding-left: 0; }
ol.steps > li { counter-increment: step; position: relative; min-height: 34px; padding: 4px 0 0 50px; margin-bottom: 14px; }
ol.steps > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: #fff; font: 500 15px/1 var(--mono); box-shadow: inset 0 0 0 2px var(--gold); }

/* táblázatok */
.table-wrap { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
th, td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { background: var(--paper-2); color: var(--brown); font: 500 12px/1.3 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) {
  .table-stack table, .table-stack tbody, .table-stack tr, .table-stack td { display: block; width: 100%; }
  .table-stack thead { display: none; }
  .table-stack tr { padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .table-stack tr:last-child { border-bottom: 0; }
  .table-stack td { display: grid; grid-template-columns: minmax(0, 38%) minmax(0, 1fr); gap: 10px; padding: 4px 0; border: 0; }
  .table-stack td::before { content: attr(data-label); padding-top: 2px; font: 500 11px/1.4 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
  .table-stack td:first-child { font-weight: 700; }
  /* sorcím felirat nélkül (összehasonlító táblázat): teljes szélességben */
  .table-stack td:not([data-label]) { display: block; padding-bottom: 6px; font-size: 16px; color: var(--felt); }
}
tr.total td { font-weight: 700; background: var(--paper-2); }
/* szabálylista: arany rombusz */
ul.rules { list-style: none; padding-left: 0; }
ul.rules > li { position: relative; padding-left: 28px; margin-bottom: 10px; }
ul.rules > li::before { content: ""; position: absolute; left: 4px; top: 0.6em; width: 10px; height: 10px; background: var(--gold); transform: rotate(45deg); }

/* gombdoboz */
.cta-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin: 24px 0; padding: 18px 20px; border: 2px dashed var(--gold); border-radius: 16px; background: var(--paper); }
.cta-box p { margin: 0; font-weight: 600; }
.cta-note { font: 400 12px/1.3 var(--mono); color: var(--muted); letter-spacing: 0.04em; }
@media (max-width: 560px) { .cta-box .btn { width: 100%; } }

/* gombok */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px; cursor: pointer; font: 600 15px/1.15 var(--sans); text-align: center; text-decoration: none; transition: filter 0.15s, transform 0.15s, background-color 0.15s; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { cursor: default; opacity: 0.7; }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 10px 22px -12px rgba(196, 32, 47, 0.9); }
.btn--red:hover { background: var(--red-2); color: #fff; }
.btn--gold { background: var(--gold); color: #2a1c00; box-shadow: 0 10px 22px -12px rgba(217, 165, 32, 0.9); }
.btn--gold:hover { filter: brightness(1.07); color: #2a1c00; }
.btn--light { background: #fff; color: var(--text); }
.btn--light:hover { background: #f1efe6; color: var(--text); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }

/* GYIK */
.faq { display: grid; gap: 10px; margin-top: 8px; }
.faq details { border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.faq details[open] { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.faq summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 16px 18px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-size: 17.5px; line-height: 1.4; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; margin-top: -1px; border-radius: 50%;
  background: linear-gradient(#fff, #fff) center / 11px 2px no-repeat, linear-gradient(#fff, #fff) center / 2px 11px no-repeat, var(--red); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 18px 16px; color: #34443b; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- kártyaasztal: zöld posztó, fakeret ---------- */
.asztal { margin: 20px 0 26px; padding: 22px; border-radius: 22px;
  background: radial-gradient(120% 90% at 50% 0%, var(--felt-3), var(--felt) 55%, var(--felt-2));
  box-shadow: inset 0 0 0 6px #5b3a1c, inset 0 0 0 8px #3d2612, 0 18px 34px -16px rgba(22, 69, 48, 0.55); }
.deck { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; gap: 16px; min-height: 470px; }
.slot { display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 0; }
.info { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; }
.slot.is-live .info { min-height: 168px; }
.label { margin: 0; color: #e3f1e8; text-align: center; font-size: 13.5px; line-height: 1.4; font-variant-numeric: tabular-nums; }
.label b { display: block; color: #fff; font-size: 15px; line-height: 1.3; }
.reveal { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 7px 12px; border-radius: 10px; background: var(--gold-l); color: var(--text); transition: opacity 0.25s 0.4s; }
.reveal small { font: 500 10px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--brown); }
.reveal .code { font: 500 18px/1 var(--mono); letter-spacing: 0.05em; color: var(--text); -webkit-user-select: all; user-select: all; }
.slot.pre .reveal { opacity: 0; transition: none; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; width: 100%; }
.actions .btn { flex: 1 1 auto; }
.deck.is-ended { display: block; min-height: 0; }
.deck-end { margin: 0; padding: 28px 8px; color: #fff; text-align: center; font: 700 20px/1.4 var(--sans); }

/* kártya: 3D fordítás; a méretek a kártya szélességéhez igazodnak (cqw) */
.card { position: relative; width: 100%; max-width: 200px; aspect-ratio: 5 / 8; perspective: 1000px; container-type: inline-size; }
.flip { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 0.7s cubic-bezier(0.3, 0.7, 0.2, 1); }
.card.is-open .flip { transform: rotateY(180deg); }
.slot.pre .card.is-open .flip { transform: none; transition: none; }
.face { position: absolute; inset: 0; overflow: hidden; border-radius: 12px; -webkit-backface-visibility: hidden; backface-visibility: hidden; box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35); }
/* hátlap: piros, arany keret, középen tulipán */
.back { display: grid; place-items: center; border: 6px solid var(--paper); background-color: var(--red);
  background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.08) 0 6px, transparent 6px 12px), repeating-linear-gradient(-45deg, rgba(0, 0, 0, 0.08) 0 6px, transparent 6px 12px); }
.back::after { content: ""; position: absolute; inset: 8px; border: 2px solid var(--gold); border-radius: 6px; }
.back svg { width: 54%; }
.lock { position: absolute; left: 50%; bottom: 9%; transform: translateX(-50%); padding: 5px 8px; border-radius: 999px; background: rgba(0, 0, 0, 0.4); color: #fff; font: 500 max(10px, 6.4cqw)/1.2 var(--mono); white-space: nowrap; }
/* keskeny kártyán (mobil) a lakat és a dátum két sorban */
@container (max-width: 150px) {
  .lock { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 7px; border-radius: 8px; font-size: 9px; }
  .corner { font-size: 7.5px; letter-spacing: 0.02em; }
}
/* 320 px körül: csak a lakat, a dátum ott van a kártya alatt */
@container (max-width: 100px) {
  .lock > span:last-child { display: none; }
}
/* előlap */
.front { display: grid; grid-template-rows: auto 1fr auto; padding: 6cqw; transform: rotateY(180deg); background: var(--paper); border: 1px solid var(--line); color: var(--text); }
.corner { display: flex; justify-content: space-between; gap: 4px; font: 500 max(9px, 6cqw)/1.1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.suit { display: grid; place-items: center; }
.suit svg { width: 36%; }
.fcode { padding: 5cqw 2cqw; border: 2px dashed var(--gold); border-radius: 8px; background: var(--gold-l); text-align: center; }
.fcode span { display: block; margin-bottom: 4cqw; font: 500 max(8px, 5.2cqw)/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--brown); }
.fcode b { display: block; min-height: 1em; font: 500 9.4cqw/1 var(--mono); letter-spacing: 0.02em; color: var(--text); white-space: nowrap; }
.fcode small { display: block; margin-top: 3cqw; font-size: max(9px, 6.2cqw); line-height: 1.2; color: var(--muted); }
.card.is-past { opacity: 0.62; }
.card.is-past .fcode b { text-decoration: line-through; text-decoration-thickness: 2px; }
.stamp { position: absolute; right: 6cqw; top: 34%; padding: 2.4cqw 4cqw; border: 2.5px solid var(--red); border-radius: 4px; background: rgba(255, 250, 240, 0.85); color: var(--red); font: 500 max(9px, 7cqw)/1 var(--mono); letter-spacing: 0.06em; transform: rotate(-12deg); }
.slot.is-live .card { filter: drop-shadow(0 0 14px rgba(217, 165, 32, 0.5)); }

/* ---------- bónuszválasztó ---------- */
.quiz { display: grid; grid-template-columns: 1.1fr 1fr; margin: 18px 0 24px; overflow: hidden; border: 1.5px solid var(--felt); border-radius: 18px; background: var(--paper); }
.quiz__q { display: grid; align-content: start; gap: 20px; margin: 0; padding: 22px; }
.q { min-width: 0; margin: 0; padding: 0; border: 0; }
.q legend { margin-bottom: 10px; padding: 0; font-weight: 700; font-size: 16px; line-height: 1.35; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts label { position: relative; cursor: pointer; }
.opts input { position: absolute; opacity: 0; pointer-events: none; }
.opts span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 15px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--text); font-weight: 600; font-size: 14.5px; line-height: 1.2; transition: background-color 0.15s, border-color 0.15s; }
.opts label:hover span { border-color: var(--felt-3); }
.opts input:checked + span { border-color: var(--felt); background: var(--felt); color: #fff; }
.opts input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.quiz__a { display: grid; align-content: start; gap: 10px; min-height: 330px; padding: 22px; color: #f1f8f3;
  background: radial-gradient(120% 90% at 50% 0%, var(--felt-3), var(--felt) 60%, var(--felt-2)); }
.quiz__a p { margin: 0; }
.quiz__a .res { display: grid; gap: 10px; }
.quiz__a .k { font: 500 12px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.quiz__a .pick { color: #fff; font: 700 28px/1.15 var(--sans); letter-spacing: -0.015em; }
.quiz__a .what { color: #d6ecdf; }
.quiz__a .btn { justify-self: start; margin-top: 4px; }
.quiz__a .note { padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.25); color: #cfe8da; font-size: 13px; line-height: 1.5; }
@media (max-width: 720px) {
  .quiz { grid-template-columns: 1fr; }
  .quiz__a { min-height: 0; }
}
/* mobilon fix két oszlop: a sortörés nem függ a betűtípustól (CLS) */
@media (max-width: 560px) {
  .quiz__q { padding: 18px 16px; }
  .opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .opts span { display: flex; justify-content: center; width: 100%; padding: 0 10px; text-align: center; }
}

/* ---------- lábléc ---------- */
.site-footer { margin-top: 72px; padding: 32px 0 calc(28px + env(safe-area-inset-bottom, 0px)); background: var(--felt-2); box-shadow: inset 0 3px 0 var(--gold); color: #c9dccf; font-size: 14px; line-height: 1.6; }
.f-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.f-nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.f-nav a { color: #fff; text-decoration: none; font-weight: 600; min-height: 32px; display: inline-flex; align-items: center; }
.f-nav a:hover { text-decoration: underline; color: #fff; }
.disclaimer { margin: 18px 0 0; }
.disclaimer p { margin: 0 0 10px; }
.site-footer a { color: #fff; text-decoration-color: var(--gold); }
.f-legal { display: flex; flex-wrap: wrap; gap: 0 18px; margin: 4px 0 0; font-size: 13px; }
.f-legal a { color: #c9dccf; min-height: 32px; display: inline-flex; align-items: center; text-decoration-thickness: 1px; }
.f-legal a:hover, .f-legal a[aria-current="page"] { color: #fff; }
.f-copy { margin: 14px 0 0; font: 400 12.5px/1.4 var(--mono); color: #9fbcab; }

/* jogi oldalak (noindex) */
.legal h2 { margin-top: 44px; }
.legal code { font: 400 0.88em var(--mono); background: var(--paper-2); padding: 1px 5px; border-radius: 4px; }
.legal .tel { white-space: nowrap; }

/* értesítés */
.toast { position: fixed; z-index: 50; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); width: max-content; max-width: calc(100% - 32px); transform: translateX(-50%); padding: 11px 18px; border-radius: 999px; background: var(--text); color: #fff; font-weight: 600; font-size: 14px; line-height: 1.35; text-align: center; box-shadow: 0 12px 26px -10px rgba(0, 0, 0, 0.6); }

/* mobil: H1 → intro → H2 → a heti lap már az első képernyőn */
@media (max-width: 640px) {
  .asztal { margin-top: 14px; padding: 14px; border-radius: 18px; box-shadow: inset 0 0 0 5px #5b3a1c, inset 0 0 0 7px #3d2612, 0 14px 28px -16px rgba(22, 69, 48, 0.55); }
  .deck { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 10px; min-height: 460px; }
  .slot { gap: 8px; }
  /* a heti lap elöl, teljes szélességben: kártya balra, adatok és gombok jobbra */
  .slot.is-current { order: -1; grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr); align-items: center; column-gap: 14px; }
  .slot.is-current .card { max-width: none; }
  .slot.is-current .info { align-items: stretch; min-height: 0; }
  .slot.is-current .label { text-align: left; }
  .slot.is-current .reveal { align-self: flex-start; flex-wrap: wrap; }
  .slot.is-current .actions { flex-direction: column; }
  .slot:not(.is-current) .label { font-size: 11.5px; line-height: 1.35; }
  .slot:not(.is-current) .label b { font-size: 12.5px; }
}
@media (max-width: 560px) {
  .site-header .wrap { min-height: 56px; }
  .page-head { padding-top: 18px; }
  h1 { font-size: 28px; margin-bottom: 8px; }
  h2 { font-size: 23px; margin-top: 42px; }
  .byline { font-size: 12px; margin-bottom: 8px; }
  .intro { font-size: 15.5px; line-height: 1.55; }
  .page-head + h2 { margin-top: 22px; }
}
@media (max-width: 360px) {
  .site-header .wrap { gap: 8px; }
  /* csak a °C kör látszik a logóból, mint a Celsius oldalán mobilon */
  .site-header .logo { width: 40px; overflow: hidden; }
  .site-header .logo svg { flex: none; max-width: none; }
  .nav a { padding: 0 8px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
