
/* Marcellus: elegáns, nyugodt display-serif (a Dream Avenue-t váltja).
   Self-host, mert a CSP nem enged külső stíluslapot. */
@font-face { font-family: 'Marcellus'; src: url('/public/fonts/marcellus-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF; font-display: swap; }
@font-face { font-family: 'Marcellus'; src: url('/public/fonts/marcellus-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0150-0151, U+0170-0171; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('/public/fonts/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('/public/fonts/montserrat-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0150-0151, U+0170-0171; font-display: swap; }
:root {
  /* zonepilates.hu arculat */
  --ink: #2f2f2f; --muted: #7d746e; --bg: #efe9e0; --card: #fffbf5;
  --accent: #564b45; --accent-dark: #3d342f; --accent-ink: #fffbf5;
  --beige: #d4c5b9; --line: #e0d6ca;
  --ok: #5f7d5a; --warn: #b45309; --err: #a3352c;
  /* Lágy akcent-paletta — a barna-bézs mellé egy kis szín a felületeken.
     Mindegyikhez halvány háttér (…-bg) és telített ikon-szín (…) tartozik. */
  --c-ibolya: #6d5b9e; --c-ibolya-bg: #efeaf7;
  --c-viz: #3f7d94; --c-viz-bg: #e6f1f4;
  --c-zold: #5f7d5a; --c-zold-bg: #e9f1e7;
  --c-borostyan: #b0791f; --c-borostyan-bg: #f8efdc;
  --c-rozsa: #b25572; --c-rozsa-bg: #f8e9ee;
  --c-piros: #a3352c; --c-piros-bg: #f8e6e3;
  --c-szurke: #6f6660; --c-szurke-bg: #efe9e2;
  /* Glassmorph tokenek (a sportolói oldal használja) */
  --glass: rgba(255, 251, 245, .58);
  --glass-strong: rgba(255, 251, 245, .78);
  --glass-brd: rgba(255, 255, 255, .55);
  --glass-shadow: 0 8px 32px rgba(86, 75, 69, .10), 0 1px 2px rgba(86, 75, 69, .06);
}
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Montserrat', -apple-system, "Segoe UI", sans-serif;
  background: var(--bg); color: var(--ink); }
h1, h2 { font-family: 'Marcellus', 'Cormorant Garamond', Georgia, serif;
  font-weight: 400; letter-spacing: .02em; }
h1 { font-size: 34px; margin: 6px 0 18px; }
h2 { font-size: 26px; margin: 22px 0 10px; }
.ic { vertical-align: -4px; flex-shrink: 0; }
.site-header { display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; background: var(--card); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; }
.brand { font-weight: 700; text-decoration: none; color: var(--ink); letter-spacing: .04em; }
nav a { margin-left: 14px; text-decoration: none; color: var(--muted); }
nav a.active, nav a:hover { color: var(--ink); }
/* a fő tartalom szélességét a .g-main / .admin-main szabályozza */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px; margin-bottom: 14px; box-shadow: 0 1px 3px rgba(86,75,69,.06); }
.btn { display: inline-flex; align-items: center; gap: 7px; border: 0;
  border-radius: 999px; padding: 11px 20px;
  background: var(--accent); color: var(--accent-ink); font-size: 15px;
  font-family: inherit; letter-spacing: .02em;
  text-decoration: none; cursor: pointer; transition: background .2s ease; }
.btn:hover { background: var(--accent-dark); }
.btn.secondary { background: transparent; color: var(--accent);
  border: 1px solid var(--accent); }
.btn.block { display: block; width: 100%; text-align: center; }
/* Linkek egységes Zone-stílusa (táblázatokban, szövegben) */
a { color: var(--accent, #564b45); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
.guest-table a { color: var(--accent, #564b45); font-weight: 600;
  text-decoration: underline; text-decoration-color: rgba(86,75,69,.25);
  text-underline-offset: 3px; }
.guest-table a:hover { text-decoration-color: var(--accent, #564b45); }
a.btn, .btn { text-decoration: none !important; }
.qty-btn { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--card); color: var(--ink); font-size: 17px; line-height: 1;
  cursor: pointer; transition: background .15s ease, border-color .15s ease,
    transform .1s ease; display: inline-flex; align-items: center; justify-content: center; }
.qty-btn:hover { background: var(--bg); border-color: var(--accent); }
.qty-btn:active { transform: scale(.94); }
.qty-btn.del { border-color: transparent; font-size: 15px; }
.qty-btn.del:hover { border-color: var(--err); color: var(--err); }
.muted { color: var(--muted); }
@keyframes auth-in { from { opacity: 0; transform: translateY(14px) scale(.985); }
  to { opacity: 1; transform: none; } }
.tag { display: inline-block; border-radius: 999px; padding: 2px 10px; font-size: 13px; }
.tag.ok { background: #e7f3ec; color: var(--ok); }
.tag.full { background: #fdf0e5; color: var(--warn); }
input, select { width: 100%; padding: 12px; border: 1px solid var(--line);
  border-radius: 10px; font-size: 16px; margin: 6px 0 12px; background: #fff; }
/* A böngésző alapból más (pl. monospace) betűt ad a dátum- és szövegmezőknek */
input, select, textarea, button { font-family: inherit; }
textarea { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 16px; margin: 6px 0 12px; background: #fff; resize: vertical; }
/* Dátummező: egyforma magasság a többi mezővel, iOS-en balra igazított érték */
input[type=date] { min-height: 46px; line-height: 1.2; }
input[type=date]::-webkit-date-and-time-value { text-align: left; }
.grid-label-sm { display: grid; grid-template-columns: 120px 1fr; gap: 0 10px; }
/* Születésnap: év / hónap / nap legördülő (a natív naptárban évtizedeket kellene lapozni) */
.szuletes-valaszto { display: grid; grid-template-columns: 1.1fr 1.6fr 1fr; gap: 8px; }
label { font-size: 14px; color: var(--muted); }
.error { color: var(--err); margin: 8px 0; }
/* Sikeres művelet visszajelzése (link elküldve, mentés kész) */
.siker { color: var(--ok); background: #eef4ec; border: 1px solid #cfe0c9;
  border-radius: 10px; padding: 11px 14px; font-size: 14.5px; margin: 0 0 14px; }
/* Nap-sáv a vendég-órarendben (Motibro „Felfedezés" mintája) */
/* Kiemelt esemény (workshop, retreat): kiemelve az órarend tetején */
.featured-card { display: block; text-decoration: none; color: inherit;
  background: linear-gradient(135deg, #fffbf5 0%, #f6ecdf 100%);
  border: 1px solid var(--beige); border-left: 4px solid var(--accent);
  border-radius: 14px; padding: 14px 16px; margin-bottom: 10px; }
.featured-card:hover { border-color: var(--accent); text-decoration: none; }
.featured-card .name { font-weight: 600; font-size: 16px; margin-top: 6px; }
.featured-card .sub { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
/* „A Zone-utad" — a sportoló saját összegzése a fiók tetején.
   A gyűrű egy conic-gradient: nincs hozzá kép, sem JS, sem SVG. */
.utad { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.utad-gyuru { --p: 0; width: 92px; height: 92px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: conic-gradient(var(--accent) calc(var(--p) * 1%), var(--beige) 0); }
.utad-gyuru-belso { width: 74px; height: 74px; border-radius: 50%; background: var(--card);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  line-height: 1.1; }
.utad-gyuru-belso strong { font-size: 25px; }
.utad-gyuru-belso span { font-size: 10.5px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted); margin-top: 1px; }
.utad-szoveg { flex: 1 1 220px; min-width: 0; }
.utad-szoveg h3 { margin: 0 0 4px; }
.utad-fo { margin: 0 0 10px; font-size: 15px; }
.utad-tenyek { display: flex; flex-wrap: wrap; gap: 7px; }
.utad-teny { display: inline-flex; align-items: center; gap: 6px; font-size: 13px;
  background: var(--bg); border-radius: 999px; padding: 5px 12px; color: var(--ink); }
.utad-teny svg { color: var(--accent); flex-shrink: 0; }
/* Az óra-leírás kártya (a zonepilates.hu szövegével). */
/* Óra-oldal: fotós fejléc, tiszta adat-sorok, külön foglalás-sáv */
.ora-hero { position: relative; border-radius: 20px; overflow: hidden; min-height: 210px;
  background-size: cover; background-position: center; margin: 0 0 14px;
  display: flex; flex-direction: column; justify-content: space-between; }
.ora-hero::before { content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(43,36,33,.15) 0%, rgba(43,36,33,.78) 100%); }
.ora-hero > * { position: relative; }
.ora-vissza { display: inline-flex; align-items: center; gap: 4px; margin: 12px;
  align-self: flex-start; color: #fffbf5; text-decoration: none; font-size: 14px;
  background: rgba(43,36,33,.42); padding: 6px 12px 6px 8px; border-radius: 999px; }
.ora-vissza:hover { text-decoration: none; background: rgba(43,36,33,.6); }
.ora-hero-szoveg { padding: 0 18px 16px; color: #fffbf5; }
body.guest .ora-hero-szoveg h1, .ora-hero-szoveg h1 { margin: 0 0 4px; color: #fffbf5;
  font-size: 30px; line-height: 1.15; }
.ora-hero-szoveg div { font-size: 15px; opacity: .92; text-transform: lowercase; }
.ora-hero-szoveg div::first-letter { text-transform: uppercase; }
.ora-adatok { display: flex; flex-direction: column; gap: 14px; }
.ora-adat { display: flex; align-items: center; gap: 14px; }
.ora-adat > svg { color: var(--accent); width: 22px; flex-shrink: 0; }
.ora-adat > div { display: flex; flex-direction: column; min-width: 0; }
.ora-adat .muted { font-size: 13.5px; }
.ora-edzo-kep { width: 40px; height: 40px; border-radius: 50%; object-fit: cover;
  margin: 0 -9px; flex-shrink: 0; }
.ora-adat-jelzes { margin-top: -4px; }
.ora-kiemeles { margin: 0; font-weight: 600; }
.ora-muvelet-sav { border-top: 1px solid var(--line); padding-top: 14px; }
.ora-muvelet-sav form + form, .ora-statusz + form { margin-top: 10px; }
.ora-statusz { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.ora-statusz.ok { color: var(--ok); }
.hazirend { margin: 0; padding-left: 20px; line-height: 1.65; }
.hazirend li + li { margin-top: 6px; }
@media (max-width: 520px) { .ora-hero { min-height: 180px; border-radius: 16px; }
  .ora-hero-szoveg h1 { font-size: 25px; } }
/* Foglalásaim: kártyánként fej (idő + óra), határidő, gombsor */
.foglalas-lista { display: flex; flex-direction: column; gap: 12px; }
.foglalas-kartya { margin: 0; padding: 14px 16px; }
.fk-fej { display: flex; gap: 14px; align-items: flex-start; text-decoration: none; color: inherit; }
.fk-fej:hover { text-decoration: none; }
.fk-ido { display: flex; flex-direction: column; min-width: 58px; }
.fk-ido strong { font-size: 18px; }
.fk-ido span { font-size: 12.5px; color: var(--muted); }
.fk-info { flex: 1; min-width: 0; }
.fk-info .name { font-weight: 600; }
.fk-info .sub { font-size: 13.5px; color: var(--muted); }
.fk-info .badge-wl { margin-top: 4px; display: inline-block; }
.fk-hatarido { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted);
  margin: 10px 0 0; }
.fk-gombok { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px;
  padding-top: 12px; border-top: 1px solid var(--line); }
.fk-gombok form { margin: 0; }
.fk-gombok .btn { display: inline-flex; align-items: center; gap: 6px; }
.btn.kicsi { padding: 8px 14px; font-size: 14px; }
.ures-allapot { text-align: center; padding: 8px 0; }
.ures-allapot p { margin: 0 0 12px; }
.cim-sor { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.cim-sor h1 { margin-bottom: 14px; }
/* Üdvözlés és óraválasztó */
.udvozlo { max-width: 540px; margin: 10px auto; text-align: center; padding: 30px 24px; }
.udvozlo h1 { margin: 12px 0 10px; }
.udvozlo p { line-height: 1.65; }
.udvozlo-ikon { width: 60px; height: 60px; margin: 0 auto; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: var(--bg); color: var(--accent); }
.udvozlo-proba { display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--bg); border-radius: 12px; padding: 10px 14px; }
.udvozlo-kihagy, .ov-kihagy { display: block; text-align: center; margin-top: 14px;
  font-size: 14px; color: var(--muted); }
.oravalaszto { max-width: 640px; margin: 0 auto; }
.ov-halado { display: flex; gap: 6px; margin: 14px 0 18px; }
.ov-halado span { flex: 1; height: 4px; border-radius: 2px; background: var(--line); }
.ov-halado span.kesz, .ov-halado span.on { background: var(--accent); }
.ov-lepes { border: 0; padding: 0; margin: 0 0 18px; }
.ov-lepes[hidden] { display: none; }
.ov-lepes legend { font-family: 'Marcellus', serif; font-size: 22px; margin-bottom: 12px; padding: 0; }
.ov-tipp { margin: -6px 0 10px; font-size: 13.5px; }
.ov-opciok { display: flex; flex-direction: column; gap: 8px; }
.ov-opcio { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px;
  background: var(--card); border: 1px solid var(--line); cursor: pointer; color: var(--ink);
  font-size: 15.5px; transition: border-color .15s ease, background .15s ease; }
.ov-opcio:hover { border-color: var(--accent); }
.ov-opcio input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); flex-shrink: 0; }
.ov-opcio:has(input:checked) { border-color: var(--accent); background: #f6f1ea; }
.ov-gombok { display: flex; gap: 10px; margin-top: 8px; }
.ov-gombok [hidden] { display: none !important; }
.ov-gombok .btn:disabled { opacity: .45; cursor: default; }
.ov-gombok .btn:last-child, .ov-gombok #ov-tovabb, .ov-gombok #ov-kuld { flex: 1; }
.ov-ajanlas { padding: 0; overflow: hidden; }
.ov-kep { height: 150px; background-size: cover; background-position: center; position: relative; }
.ov-elso { position: absolute; left: 12px; top: 12px; background: var(--accent); color: var(--accent-ink);
  font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 4px 10px; border-radius: 999px; }
.ov-tartalom { padding: 16px 18px 18px; }
.ov-tartalom h3 { margin: 2px 0 8px; }
.ov-alcim { font-size: 13px; }
.ov-indok { display: flex; gap: 6px; align-items: center; font-weight: 600; color: var(--ok); margin: 0 0 8px; }
.ov-idopontok { display: flex; flex-direction: column; gap: 6px; margin-top: 10px;
  padding-top: 10px; border-top: 1px solid var(--line); }
.ov-idopontok a { text-decoration: none; color: var(--ink); font-size: 14.5px; }
.ov-idopontok a:hover { color: var(--accent); }
.ov-idopontok .ov-mind { color: var(--accent); font-size: 14px; }
.ov-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; white-space: nowrap; }
/* Kosár: tételek, összesítő */
.kosar-tetelek { padding: 4px 18px; }
.kosar-tetel { padding: 14px 0; border-bottom: 1px solid var(--line); }
.kosar-tetel:last-child { border-bottom: 0; }
.kt-fej { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.kt-nev { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.kt-nev strong { font-size: 16.5px; }
.kt-nev .muted { font-size: 13px; }
.kt-ar { font-size: 16.5px; white-space: nowrap; }
.kt-lab { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.kt-lab form { margin: 0; }
.leptető { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line);
  border-radius: 999px; padding: 2px; }
.leptető span { min-width: 26px; text-align: center; font-weight: 600; }
.leptető .qty-btn { border: 0; background: none; width: 30px; height: 30px; border-radius: 50%;
  font-size: 17px; cursor: pointer; color: var(--ink); }
.leptető .qty-btn:hover { background: var(--bg); }
.szoveg-gomb { background: none; border: 0; padding: 4px 0; color: var(--muted); font-size: 13.5px;
  cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.szoveg-gomb:hover { color: var(--err); }
.kupon { margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.kupon summary { cursor: pointer; color: var(--accent); font-size: 14.5px; }
.kupon-urlap { display: flex; gap: 8px; margin-top: 10px; }
.kupon-urlap input { margin: 0; flex: 1; min-width: 0; }
.osszeg-sor { display: flex; justify-content: space-between; padding: 6px 0; font-size: 15px; }
.osszeg-sor.vegosszeg { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px;
  font-size: 19px; font-weight: 700; }
.kosar-biztonsag { display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 12.5px; margin: 10px 0 0; }
/* Bérletek: kiemelt próbajegy, óra-kontextus */
.proba-kartya { border: 2px solid var(--accent); position: relative; padding-top: 22px; }
.proba-cimke { position: absolute; top: -11px; left: 16px; background: var(--accent);
  color: var(--accent-ink); font-size: 11px; font-weight: 700; letter-spacing: .1em;
  padding: 3px 10px; border-radius: 999px; }
.proba-ar { font-size: 22px; font-weight: 700; }
.ora-kontextus { display: flex; gap: 10px; align-items: flex-start; }
.ora-kontextus svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
/* Foglalás megerősítése */
.megerosites { text-align: center; max-width: 520px; margin: 10px auto; padding: 30px 24px; }
.megerosites h1 { margin: 12px 0 6px; }
.megerosites-ikon { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-zold-bg, #e9f1e7); color: var(--ok); }
.megerosites-ikon.varo { background: #efeaf7; color: #6d5b9e; }
.megerosites-ora { display: flex; flex-direction: column; gap: 3px; margin: 18px 0;
  padding: 14px; border-radius: 14px; background: var(--bg); }
.megerosites-ora span:first-letter { text-transform: uppercase; }
.megerosites-gombok { display: flex; flex-direction: column; gap: 10px; }
.megerosites-gombok .btn { display: flex; align-items: center; justify-content: center; gap: 8px; }
.megerosites-linkek { display: flex; justify-content: center; gap: 22px; margin-top: 18px;
  font-size: 14.5px; }
.ic-head { display: flex; align-items: center; gap: 8px; }
.ic-head svg { color: var(--ih, var(--accent)); flex-shrink: 0; }
.ora-alcim { margin: 0 0 10px; color: var(--muted); font-size: 14px;
  font-style: italic; }
.ora-erosseg { display: flex; align-items: center; gap: 7px; margin: 0 0 14px;
  font-size: 13px; }
/* Az egész óra-kártya kattintható. */
.ora-kartya[data-href] { cursor: pointer; }

/* Szerencsekerék (születésnapi esemény) */
.kerek-lap { display: grid; grid-template-columns: minmax(320px, 1fr) 380px;
  gap: 20px; align-items: start; }
.kerek-lap.kivetito { grid-template-columns: 1fr 420px; min-height: 82vh;
  align-items: center; }
.kerek-wrap { position: relative; width: min(92vw, 560px); aspect-ratio: 1;
  margin: 0 auto; }
.kivetito .kerek-wrap { width: min(44vw, 76vh); }
.kerek { position: absolute; inset: 0; border-radius: 50%;
  border: 10px solid var(--accent-dark);
  box-shadow: 0 24px 70px rgba(43,36,33,.35), inset 0 0 0 4px rgba(255,251,245,.25);
  transition: transform 5s cubic-bezier(.12,.65,.08,1); will-change: transform; }
.kerek-felirat { position: absolute; inset: 0; display: flex; justify-content: center; }
.kerek-felirat span { margin-top: 26px; max-width: 130px; text-align: center;
  font-size: 13px; font-weight: 700; color: #fffbf5; line-height: 1.15;
  text-shadow: 0 1px 3px rgba(0,0,0,.35); }
.kerek-kozep { position: absolute; top: 50%; left: 50%; width: 74px; height: 74px;
  transform: translate(-50%,-50%); border-radius: 50%; background: var(--accent-dark);
  display: flex; align-items: center; justify-content: center; font-size: 30px;
  box-shadow: 0 6px 18px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.15); }
.kerek-mutato { position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  font-size: 34px; color: var(--accent-dark); z-index: 2;
  filter: drop-shadow(0 3px 4px rgba(0,0,0,.3)); }
.kerek-talalatok { margin-top: 4px; }
.kerek-talalat { padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px;
  margin-top: 6px; cursor: pointer; display: flex; flex-direction: column; gap: 1px; }
.kerek-talalat:hover { background: var(--bg); }
.kerek-talalat span { font-size: 12.5px; color: var(--muted); }
.kerek-talalat em { font-size: 11.5px; color: var(--warn); font-style: normal; }
.kerek-talalat.volt { opacity: .6; }
.kerek-valasztott { margin-top: 12px; padding: 12px 14px; border-radius: 12px;
  background: var(--bg); }
.kerek-valasztott .nev { font-weight: 700; font-size: 17px; }
.kerek-eredmeny { margin-top: 16px; text-align: center; padding: 18px;
  border-radius: 14px; background: linear-gradient(150deg,#564b45,#3d342f);
  color: #fffbf5; animation: uszik-be .4s ease-out both; }
.kerek-eredmeny .cim { font-size: 15px; letter-spacing: .06em; }
.kerek-eredmeny .dij { font-size: 24px; font-weight: 700; margin-top: 6px;
  font-family: 'Marcellus', serif; }
@media (max-width: 900px) { .kerek-lap, .kerek-lap.kivetito {
  grid-template-columns: 1fr; } }

/* Órák külön kis kártyákon (nem egy nagy napi tömbben). */
.ora-lista { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.ora-kartya { margin-bottom: 0; padding: 13px 16px; }
.ora-kartya .session-row { border-bottom: 0; padding: 0; }
body.guest .ora-kartya { transition: transform .16s ease, box-shadow .2s ease; }
body.guest .ora-kartya:hover { transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(86, 75, 69, .14), inset 0 1px 0 rgba(255, 255, 255, .55); }

/* Óratípus erőssége (zoneweb-minta): kis láng-ikon + 5 pötty, a tartomány
   kitöltve. A pöttyök színe a szinthez igazodik (zöld → borostyán → piros),
   a lágy akcent-palettából — így ránézésre olvasható, mennyire kemény az óra. */
.diff-wrap { display: inline-flex; align-items: center; gap: 5px; margin-left: 8px;
  vertical-align: 1px; }
.diff-wrap .diff-ic { color: var(--muted); flex-shrink: 0; }
.diff-dots { display: inline-flex; gap: 4px; }
.diff-dot { width: 7px; height: 7px; border-radius: 50%;
  background: rgba(86, 75, 69, .14); }
.diff-dot.active { background: var(--accent); }
/* Nehézség a weboldal mintájára: felirat + egyszínű pöttyök + tartomány */
.nehezseg { display: flex; align-items: center; gap: 7px; margin: 3px 0 2px; }
.nehezseg .diff-label { font-size: 9px; font-weight: 600; letter-spacing: 1.5px;
  color: var(--accent); opacity: .85; }
.nehezseg .diff-dots { gap: 5px; }
.nehezseg .diff-dot { width: 8px; height: 8px; background: rgba(86, 75, 69, .12); }
.nehezseg .diff-dot.active { background: var(--accent); }
.nehezseg .diff-range-value { font-size: 10px; font-weight: 700; letter-spacing: 1.2px;
  color: var(--accent); opacity: .75; }
/* Órarend: ragadós fej (hónap, szűrők, nap-sáv). Tömör háttér, filter nélkül
   (a drop-shadow telefonon téglalap-szegélyt hagyott). */
.orarend-fej { position: sticky; top: 0; z-index: 20; background: var(--bg);
  margin: 0 -4px; padding: 8px 4px 2px; border-bottom: 1px solid var(--line); }
.orarend-honap { font-family: 'Marcellus', serif; font-size: 18px; margin: 0 0 6px; }
.orarend-szurok { display: flex; gap: 8px; align-items: center; margin: 0 0 6px; }
/* min-width: 0 — különben a leghosszabb óratípus-név szélesíti ki az oldalt */
.orarend-szurok select { width: auto; flex: 1 1 0; min-width: 0; margin: 0;
  padding: 9px 8px; font-size: 14px; text-overflow: ellipsis; }
.nehezseg .diff-range-value { white-space: nowrap; }
/* Órakártya: a név szűkülhet, a gomb és a hely-jelzés ne vágódjon le */
.ora-kartya .session-meta { flex: 1 1 auto; min-width: 0; }
.ora-kartya .session-row > :last-child { flex-shrink: 0; }
.ora-kartya .btn { white-space: nowrap; }
@media (max-width: 520px) {
  .ora-kartya .session-row { gap: 10px; }
  .ora-kartya .btn { padding: 10px 14px; font-size: 14px; }
  .ora-kartya .session-time { font-size: 15px; }
}
.szuro-torles { font-size: 13px; white-space: nowrap; }
@media (max-width: 520px) { .orarend-szurok { flex-wrap: wrap; }
  .szuro-torles { flex-basis: 100%; } }
.tag.kedvenc { background: #efeaf7; color: #6d5b9e; font-size: 11.5px;
  font-weight: 600; margin-left: 6px; vertical-align: 1px; }
.featured-card .lead { font-size: 14px; margin-top: 8px; }
.tag-featured { display: inline-block; font-size: 11px; letter-spacing: .1em;
  background: var(--accent); color: var(--accent-ink); border-radius: 999px;
  padding: 3px 10px; }
.day-strip { display: flex; gap: 6px; overflow-x: auto; padding: 4px 0 10px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.day-strip::-webkit-scrollbar { display: none; }
.day-strip a { flex: 0 0 auto; width: 52px; padding: 8px 0 7px; border-radius: 14px;
  background: var(--card); border: 1px solid var(--line); text-decoration: none;
  color: var(--ink); display: flex; flex-direction: column; align-items: center;
  gap: 3px; transition: background .15s ease; }
.day-strip a:hover { background: #f6f2ec; text-decoration: none; }
.day-strip a.on { background: var(--accent); color: var(--accent-ink);
  border-color: var(--accent); }
.day-strip a.empty { opacity: .45; }
.day-strip .dw { font-size: 11px; text-transform: uppercase; letter-spacing: .04em;
  color: var(--muted); }
.day-strip a.on .dw { color: var(--accent-ink); }
.day-strip .dd { font-size: 17px; font-weight: 700; line-height: 1; }
.day-strip .dot { width: 6px; height: 6px; border-radius: 50%; background: transparent; }
.day-strip .dot.free { background: var(--ok); }
.day-strip .dot.full { background: var(--warn); }
.day-strip a.on .dot.free, .day-strip a.on .dot.full { background: var(--accent-ink); }
.day-title { margin: 18px 0 8px; font-size: 15px; color: var(--muted);
  text-transform: capitalize; display: flex; align-items: center; gap: 10px; }
.session-row { display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.session-row:last-child { border-bottom: 0; }
a.session-row.row-link { text-decoration: none; color: inherit; cursor: pointer;
  border-radius: 8px; transition: background .12s; }
a.session-row.row-link:hover { background: var(--bg); }
/* Teljes szélességben kattintható sor (gyűjtőoldalak listái) */
a.row-link { text-decoration: none; color: inherit; cursor: pointer;
  margin: 0 -18px; padding-left: 18px; padding-right: 18px;
  transition: background .15s ease; }
a.row-link:hover { background: #f6f2ec; text-decoration: none; }
a.row-link:hover .btn.secondary { background: var(--accent); color: var(--accent-ink); }
/* Kattintható táblázat-sor: a soron bárhol, kivéve a benne lévő vezérlőket */
tr.row-click { cursor: pointer; }
/* Megerősítő párbeszéd (a böngésző confirm() helyett) */
dialog.zconfirm { border: 0; border-radius: 18px; padding: 0; max-width: 420px;
  width: calc(100vw - 40px); background: var(--card); color: var(--ink);
  box-shadow: 0 26px 70px rgba(40,32,28,.3); }
dialog.zconfirm::backdrop { background: rgba(40,32,28,.5); backdrop-filter: blur(3px);
  animation: zc-fade .18s ease both; }
dialog.zconfirm[open] { animation: zc-in .22s cubic-bezier(.21,1.02,.73,1) both; }
@keyframes zc-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes zc-in { from { opacity: 0; transform: translateY(10px) scale(.97); }
  to { opacity: 1; transform: none; } }
.zconfirm .zc-body { padding: 26px 26px 20px; }
.zconfirm .zc-icon { width: 46px; height: 46px; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; font-size: 22px; margin-bottom: 14px;
  background: var(--bg); }
.zconfirm.danger .zc-icon { background: #f7e3e1; }
.zconfirm h3 { margin: 0 0 6px; font-family: 'Marcellus', Georgia, serif;
  font-weight: 400; font-size: 23px; }
.zconfirm p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.zconfirm .zc-check { display: flex; gap: 10px; align-items: flex-start;
  margin: 16px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--bg);
  font-size: 14px; color: var(--ink); cursor: pointer; line-height: 1.45; }
.zconfirm .zc-check input { width: auto; margin: 2px 0 0; flex-shrink: 0; }
.zconfirm .zc-actions { display: flex; gap: 8px; padding: 0 26px 26px; }
.zconfirm .zc-actions .btn { flex: 1; justify-content: center; }
.zconfirm .btn.danger { background: var(--err); color: #fff; }
.zconfirm .btn.danger:hover { background: #8c2c24; }
@media (prefers-reduced-motion: reduce) {
  dialog.zconfirm[open], dialog.zconfirm::backdrop { animation: none; }
}
/* Jelenléti ív számláló-kártyák (Motibro-minta) */
.sheet-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px; margin-bottom: 14px; }
.sheet-stat { border-radius: 14px; padding: 14px 18px; color: #fff; }
.sheet-stat .n { font-size: 26px; font-weight: 700; line-height: 1.1; }
.sheet-stat .l { font-size: 12px; text-transform: uppercase; letter-spacing: .06em;
  opacity: .92; }
/* Kampány-varázsló lépéssáv */
.wizard { display: flex; gap: 6px; margin: 0 0 18px; flex-wrap: wrap; }
.wizard a { flex: 1; min-width: 130px; display: flex; align-items: center; gap: 9px;
  padding: 11px 14px; border-radius: 12px; background: var(--card);
  border: 1px solid var(--line); color: var(--muted); text-decoration: none;
  font-size: 14px; }
.wizard a:hover { background: #f6f2ec; text-decoration: none; }
.wizard a .n { width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  background: var(--line); color: var(--ink); display: flex; align-items: center;
  justify-content: center; font-size: 12.5px; font-weight: 700; }
.wizard a.done { color: var(--ink); }
.wizard a.done .n { background: var(--ok); color: #fff; }
.wizard a.on { background: var(--accent); border-color: var(--accent);
  color: var(--accent-ink); font-weight: 600; }
.wizard a.on .n { background: var(--accent-ink); color: var(--accent); }
tr.row-click:hover { background: #f6f2ec; }
.session-time { font-weight: 700; min-width: 52px; }
.session-meta { flex: 1; }
.session-meta .name { font-weight: 600; }
.session-meta .sub { font-size: 13px; color: var(--muted); }
/* ── Vendég-portál (Motibro-minta) ── */
body.guest { display: flex; min-height: 100vh; background: var(--bg); }
.g-nav { width: 235px; flex-shrink: 0; background: var(--card);
  border-right: 1px solid var(--line);
  padding: 24px 14px; display: flex; flex-direction: column; gap: 3px;
  position: sticky; top: 0; height: 100vh; }
.g-head { display: flex; flex-direction: column; align-items: center; gap: 6px;
  margin-bottom: 22px; }
.g-logo { max-width: 150px; height: auto; }
/* A sötét oldalsávon a (sötét) logót CSS fehéríti — nincs külön világos fájl. */
body.guest .g-logo { filter: brightness(10); }
.g-nav a { display: flex; align-items: center; gap: 11px; color: var(--muted);
  text-decoration: none; padding: 11px 14px; border-radius: 12px; font-size: 15px;
  letter-spacing: .01em; }
.lbl-rovid { display: none; }
.g-nav a.on { background: var(--bg); color: var(--accent); font-weight: 600;
  box-shadow: inset 3px 0 0 var(--accent); }
.g-nav a:hover { background: var(--bg); color: var(--ink); }
.g-exit { display: flex; align-items: center; gap: 11px; width: 100%;
  text-align: left; background: none; border: 0; cursor: pointer;
  color: var(--muted); padding: 11px 14px; font-size: 15px; border-radius: 12px;
  font-family: inherit; }
.g-exit:hover { background: var(--bg); }
/* Alulról felugró sáv — a telepítés-ajánló és az értesítés-kérés közös alakja.
   Nem modális: a mögötte lévő oldal látszik és görgethető, csak a lap aljára
   ül rá addig, amíg a vendég nem válaszol. */
.also-sav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: var(--card); border-top: 1px solid var(--line);
  border-radius: 18px 18px 0 0; padding: 16px 18px calc(18px + env(safe-area-inset-bottom));
  box-shadow: 0 -10px 30px rgba(86,75,69,.18);
  transform: translateY(105%); transition: transform .24s cubic-bezier(.21,1.02,.73,1); }
.also-sav.be { transform: translateY(0); }
.also-sav .tartalom { flex: 1 1 220px; min-width: 0; font-size: 14.5px; }
.also-sav .tartalom .muted { font-size: 13px; margin-top: 3px; line-height: 1.5; }
.also-sav .gombok { display: flex; gap: 8px; flex-wrap: wrap; }
.also-sav .btn { padding: 10px 18px; font-size: 14px; }
.telepito-sav .ikon { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; }
.push-sav .ikon { width: 44px; height: 44px; border-radius: 14px; flex-shrink: 0;
  background: var(--bg); color: var(--accent); display: flex;
  align-items: center; justify-content: center; }
/* A telepítés-ajánlásnak asztali gépen nincs értelme; az értesítés-kérést a
   push.js amúgy is csak a telepített appban mutatja. */
@media (min-width: 761px) { .telepito-sav { display: none; } }
.g-main { flex: 1; padding: 30px 26px; max-width: 1100px; min-width: 0; }
.warn-banner { background: var(--accent); color: var(--accent-ink);
  border-radius: 14px; padding: 15px 18px; margin-bottom: 16px; display: flex;
  align-items: center; gap: 12px; flex-wrap: wrap; }
.warn-banner .btn { background: var(--beige); color: var(--accent-dark); }
.badge-closed { background: #c07a4b; color: #fff; font-size: 11px; font-weight: 700;
  border-radius: 5px; padding: 2px 8px; letter-spacing: .03em; }
.badge-wl { background: var(--beige); color: var(--accent-dark); font-size: 11px; font-weight: 700;
  border-radius: 5px; padding: 2px 8px; letter-spacing: .03em; }
.wys-bar { display: flex; gap: 3px; flex-wrap: wrap; align-items: center;
  background: var(--bg); border: 1px solid var(--line); border-bottom: 0;
  border-radius: 10px 10px 0 0; padding: 7px; }
.wys-bar button { border: 1px solid var(--line); background: var(--card);
  border-radius: 7px; min-width: 32px; height: 32px; cursor: pointer;
  font-size: 14px; font-family: inherit; color: var(--ink); }
.wys-bar button:hover { background: var(--beige); }
.wys-bar button.on { background: var(--accent); color: #fff; }
.wys-bar input[type=color] { width: 32px; height: 32px; border: 1px solid var(--line);
  border-radius: 7px; padding: 2px; background: var(--card); cursor: pointer; }
.wys-area { min-height: 200px; background: #fff; border: 1px solid var(--line);
  border-radius: 0 0 10px 10px; padding: 14px 16px; font-size: 15px;
  line-height: 1.55; outline: none; margin-bottom: 12px; }
.wys-area:focus { border-color: var(--accent); }
.wys-area img { max-width: 100%; }
.wys-src { width: 100%; min-height: 200px; font-family: ui-monospace, monospace;
  font-size: 13px; border: 1px solid var(--line); border-radius: 0 0 10px 10px;
  padding: 12px; margin-bottom: 12px; }
.ai-bar { display: flex; gap: 8px; margin-bottom: 14px; }
.ai-bar input { flex: 1; margin: 0; }
.blk-toolbar { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.blk-toolbar button { border: 1px dashed var(--accent); background: none;
  color: var(--accent); border-radius: 999px; padding: 7px 14px; cursor: pointer;
  font-family: inherit; font-size: 13.5px; }
.blk-toolbar button:hover { background: var(--bg); }
.blk { background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 12px; margin-bottom: 8px; }
.blk.drag { opacity: .5; }
.blk-head { display: flex; align-items: center; gap: 8px; font-size: 13px;
  color: var(--muted); margin-bottom: 6px; }
.blk-grip { cursor: grab; font-size: 15px; }
.blk-actions { margin-left: auto; display: flex; gap: 4px; }
.blk-actions button { border: 1px solid var(--line); background: var(--card);
  border-radius: 6px; width: 26px; height: 26px; cursor: pointer; font-size: 12px; }
.blk input, .blk textarea, .blk select { width: 100%; border: 1px solid var(--line);
  border-radius: 8px; padding: 9px 10px; font-size: 14.5px; font-family: inherit;
  margin: 3px 0; background: #fff; }
.blk-wrap { display: grid; grid-template-columns: 1fr 340px; gap: 16px;
  align-items: start; }
.blk-preview { position: sticky; top: 14px; }
.blk-preview-label { font-size: 12px; letter-spacing: .08em; color: var(--muted);
  text-transform: uppercase; margin-bottom: 6px; }
.blk-preview-frame { background: #efe9e0; border: 1px solid var(--line);
  border-radius: 12px; padding: 18px 14px; }
.blk-preview-head { text-align: center; font-family: Georgia, serif; font-size: 24px;
  letter-spacing: .16em; color: #3d342f; margin-bottom: 12px; line-height: 1.1; }
.blk-preview-head span { font-family: 'Montserrat', sans-serif; font-size: 8px;
  letter-spacing: .3em; color: #7d746e; }
.blk-preview-body { background: #fffbf5; border: 1px solid #e0d6ca; border-radius: 10px;
  padding: 16px; font-size: 13px; line-height: 1.55; overflow-wrap: break-word; }
.blk-preview-body img { max-width: 100%; height: auto; }
.blk-preview-foot { text-align: center; color: #7d746e; font-size: 10.5px;
  margin-top: 12px; line-height: 1.6; }
.blk.open { border-color: var(--accent); box-shadow: 0 2px 10px rgba(86,75,69,.1); }
.blk-head { cursor: pointer; user-select: none; }
.blk-type { font-weight: 600; color: var(--ink); }
.blk-sum { color: var(--muted); font-size: 12.5px; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; max-width: 220px; }
.blk-props { border-top: 1px dashed var(--line); margin-top: 8px; padding-top: 10px; }
.blk-f { display: block; font-size: 12.5px; color: var(--muted); margin: 8px 0 2px; }
.blk-colors { display: flex; gap: 18px; }
.blk-color { width: 44px !important; height: 34px; padding: 2px !important; }
.blk-check { display: flex; gap: 8px; align-items: center; font-size: 14px;
  margin: 10px 0; color: var(--ink); }
.blk-check input { width: auto !important; margin: 0 !important; }
.blk-upload { display: flex; align-items: center; gap: 10px; }
.blk-upload input[type=file] { border: 0; padding: 4px 0; }
.blk-upstat { font-size: 12.5px; color: var(--ok); white-space: nowrap; }
.blk-thumb { max-width: 160px; border-radius: 8px; border: 1px solid var(--line);
  margin: 6px 0; display: block; }
.blk-note { font-size: 13px; color: var(--muted); margin: 6px 0; }
.blk-minibar { display: flex; gap: 3px; margin-bottom: 4px; }
.blk-minibar button { border: 1px solid var(--line); background: var(--card);
  border-radius: 6px; min-width: 28px; height: 28px; cursor: pointer; font-size: 13px; }
.blk-minibar button:hover { background: var(--beige); }
.blk-rich { min-height: 90px; background: #fff; border: 1px solid var(--line);
  border-radius: 8px; padding: 10px 12px; font-size: 14.5px; line-height: 1.5;
  outline: none; }
.blk-rich:focus { border-color: var(--accent); }
@media (max-width: 900px) { .blk-wrap { grid-template-columns: 1fr; }
  .blk-preview { position: static; } }
.section-head { display: flex; justify-content: space-between; align-items: baseline; }
.section-head a { font-size: 13px; color: var(--accent); text-decoration: none;
  text-transform: uppercase; letter-spacing: .05em; }
@media (max-width: 760px) {
  /* App-szerkezet: a LAP maga nem görget, hanem a tartalom-doboz belül.
     Így az alsó menü sima flex-elem lehet a lap alján — nem fixed pozíciójú,
     tehát nem tud görgetés közben a képernyő közepére úszni (iOS-en ez a
     fixed elemek ismert hibája), és nem is takarja a tartalmat. */
  body.guest { flex-direction: column; height: 100vh; height: 100dvh;
    min-height: 0; overflow: hidden; }
  /* Alsó tab-sáv, mint a Motibro sportolói appban */
  .g-nav { width: 100%; height: auto; position: static; order: 2;
    flex: 0 0 auto; box-sizing: border-box; max-width: 100%; gap: 0;
    z-index: 100; flex-direction: row; justify-content: space-between;
    padding: 8px 2px calc(10px + env(safe-area-inset-bottom));
    border-right: 0; border-top: 1px solid var(--line);
    box-shadow: 0 -4px 16px rgba(86,75,69,.08); }
  .g-head { display: none; }
  .g-exit { display: none; }   /* a Kilépés a Profil oldalon érhető el */
  /* Hat menüpont egy telefon szélességére: rövid címke, zsugorodó doboz,
     és semmi fix szélesség — így nem lóg ki oldalra a sáv. */
  .g-nav a { flex-direction: column; gap: 3px; padding: 6px 2px;
    font-size: 10px; letter-spacing: 0; border-radius: 10px;
    flex: 1 1 0; min-width: 0; max-width: none; text-align: center;
    overflow: hidden; }
  .lbl-hosszu { display: none; }
  .lbl-rovid { display: block; max-width: 100%; overflow: hidden;
    text-overflow: ellipsis; white-space: nowrap; }
  .g-nav a.on { box-shadow: none; background: var(--bg); }
  .g-nav a .ic { width: 22px; height: 22px; }
  /* A tartalom görget, nem a lap. Fent a biztonsági zóna (órajel, kamera-sziget)
     alatt kezdődik, lent nem kell hely a menünek — az már nem lebeg fölötte. */
  .g-main { order: 1; flex: 1 1 auto; min-height: 0; overflow-y: auto;
    -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
    padding: calc(16px + env(safe-area-inset-top)) 14px 24px; }
  h1 { font-size: 28px; }
}

/* ══ Prémium üveg + sötét textúra — CSAK a sportolói oldal (body.guest) ══
   A zoneweb receptje: meleg, rétegzett háttér, erős üveg-kártyák, és
   SÖTÉT, noise-texturás elemek (oldalsáv, hős-kártya, kiemelt kártya) —
   plusz finom film-szemcse az egész oldalon. Az admin érintetlen. */
/* A hátteret NEM background-attachment: fixed adja: az iOS-en minden
   görgetésnél újrafestést kényszerít. Helyette egy saját, rögzített réteg a
   tartalom alatt — egyszer festődik ki, görgetéskor csak eltolódik. */
body.guest { background: #efe7da; }
body.guest::after {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(720px 480px at 88% -8%, rgba(203, 183, 167, .65), transparent 62%),
    radial-gradient(560px 420px at -8% 26%, rgba(246, 226, 203, .75), transparent 60%),
    radial-gradient(800px 560px at 55% 114%, rgba(180, 156, 138, .45), transparent 62%),
    linear-gradient(172deg, #f6f0e6 0%, #ede3d3 52%, #e5d9c7 100%);
}
/* Film-szemcse az egész oldalon (a zoneweb body::before mintája). */
body.guest::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 2147483647;
  opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
}
body.guest h1 { color: var(--accent-dark); letter-spacing: .02em; }
body.guest h2 { color: var(--accent-dark); }

/* Üveg-kártya: erős blur, gradiens-él, belső fény. */
/* Üveg-kártya elmosás NÉLKÜL. A backdrop-filter minden példánynál külön
   GPU-réteget nyit — az órarenden 100+ kártya van, ott ez akasztotta a
   görgetést. Az elmosás csak a kevés, nagy felületen marad (menü, sávok). */
body.guest .card {
  background: linear-gradient(155deg, rgba(255, 252, 246, .88), rgba(255, 249, 240, .74));
  border: 1px solid rgba(255, 255, 255, .65);
  border-top-color: rgba(255, 255, 255, .85);
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(86, 75, 69, .10), 0 2px 6px rgba(86, 75, 69, .05),
    inset 0 1px 0 rgba(255, 255, 255, .55);
}
/* Hosszú listán a képernyőn kívüli kártyákat a böngésző ne is fesse ki. */
body.guest .ora-lista > .ora-kartya { content-visibility: auto;
  contain-intrinsic-size: auto 84px; }

/* Sötét, texturás felület (zoneweb pricing/footer-minta) — közös alap. */
body.guest .g-nav, body.guest .utad, body.guest .featured-card, body.guest .warn-banner {
  position: relative; isolation: isolate; overflow: hidden;
}
body.guest .g-nav::after, body.guest .utad::after,
body.guest .featured-card::after, body.guest .warn-banner::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  opacity: .16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

/* Oldalsáv: sötét üveg, világos menüpontokkal. */
body.guest .g-nav {
  background: linear-gradient(168deg, rgba(61, 52, 47, .92), rgba(43, 36, 33, .96));
  -webkit-backdrop-filter: blur(22px) saturate(1.15);
  backdrop-filter: blur(22px) saturate(1.15);
  border-right: 1px solid rgba(255, 255, 255, .08);
}
body.guest .g-nav a { color: #cbc0b6; }
body.guest .g-nav a.on {
  background: rgba(255, 251, 245, .13); color: #fffbf5; font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .10); backdrop-filter: none;
}
body.guest .g-nav a:hover { background: rgba(255, 251, 245, .07); color: #fffbf5; }
body.guest .g-exit { color: #cbc0b6; }
body.guest .g-exit:hover { color: #fffbf5; }

/* A Zone-utad: sötét, texturás hős-kártya, világos szöveggel. */
body.guest .utad {
  background: linear-gradient(140deg, #4a403a 0%, #352d28 55%, #2b2421 100%);
  border: 1px solid rgba(255, 255, 255, .10);
  border-top-color: rgba(255, 255, 255, .18);
  color: #f3ede5;
  box-shadow: 0 24px 60px rgba(43, 36, 33, .35), inset 0 1px 0 rgba(255, 255, 255, .08);
}
body.guest .utad h3 { color: #fffbf5; }
body.guest .utad .muted, body.guest .utad-fo { color: #d8cec4; }
body.guest .utad-fo strong { color: #fffbf5; }
body.guest .utad-gyuru { background: conic-gradient(#e8d9c8 calc(var(--p) * 1%),
  rgba(255, 251, 245, .14) 0); }
body.guest .utad-gyuru-belso { background: rgba(43, 36, 33, .82);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fffbf5; }
body.guest .utad-gyuru-belso span { color: #b9aea6; }
body.guest .utad-teny { background: rgba(255, 251, 245, .10);
  border: 1px solid rgba(255, 255, 255, .12); color: #ece4da; }
body.guest .utad-teny svg { color: #e8d9c8; }
body.guest .utad a { color: #e8d9c8; }

/* Kiemelt esemény: sötét texturás kártya, a cím világos. */
body.guest .featured-card {
  background: linear-gradient(150deg, #564b45 0%, #3d342f 70%, #332b26 100%);
  border: 1px solid rgba(255, 255, 255, .10); border-left: 4px solid #e8d9c8;
  color: #f3ede5;
  box-shadow: 0 18px 44px rgba(43, 36, 33, .30);
  transition: transform .18s ease, box-shadow .22s ease;
}
body.guest .featured-card:hover { transform: translateY(-3px);
  box-shadow: 0 26px 60px rgba(43, 36, 33, .38); }
body.guest .featured-card .name { color: #fffbf5; }
body.guest .featured-card .sub, body.guest .featured-card .lead { color: #cfc5ba; }
body.guest .tag-featured { color: #e8d9c8; }

body.guest .warn-banner {
  background: linear-gradient(150deg, #564b45, #3d342f);
  box-shadow: 0 10px 30px rgba(43, 36, 33, .30);
}

/* Gombok: gradiens, fény-él, emelkedő hover. */
body.guest .btn {
  background: linear-gradient(180deg, #6a5c52, #564b45 55%, #443a34);
  box-shadow: 0 6px 18px rgba(43, 36, 33, .28), inset 0 1px 0 rgba(255, 255, 255, .18);
  transition: transform .14s ease, box-shadow .2s ease;
}
body.guest .btn:hover { transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(43, 36, 33, .34), inset 0 1px 0 rgba(255, 255, 255, .18); }
body.guest .btn:active { transform: translateY(0) scale(.98); }
/* Sötét felületen a gomb VILÁGOS legyen, különben beleolvad a háttérbe.
   (A body.guest .btn gradiens-szabály fajsúlya elnyomta a régi .warn-banner
   .btn szabályt — ez állítja helyre, erősebb szelektorral.) */
body.guest .warn-banner .btn, body.guest .featured-card .btn, body.guest .utad .btn {
  background: linear-gradient(180deg, #f3ebe0, #e2d5c6);
  color: var(--accent-dark);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .7);
}
body.guest .warn-banner .btn:hover, body.guest .featured-card .btn:hover,
body.guest .utad .btn:hover {
  background: linear-gradient(180deg, #fdf7ee, #ece0d2);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255, 255, 255, .7);
}
body.guest .warn-banner .btn::before, body.guest .featured-card .btn::before,
body.guest .utad .btn::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .5), transparent);
}
body.guest .btn.secondary {
  background: rgba(255, 251, 245, .8);
  color: var(--accent); border: 1px solid rgba(86, 75, 69, .30); box-shadow: none;
}
body.guest .btn.secondary:hover { background: rgba(255, 251, 245, .8); transform: none; }

/* Nap-sáv: üveg-pirulák, az aktív sötét texturával. */
body.guest .day-strip a {
  background: rgba(255, 251, 245, .72);
  border: 1px solid rgba(255, 255, 255, .6);
  box-shadow: 0 2px 8px rgba(86, 75, 69, .06);
}
body.guest .day-strip a.on {
  background: linear-gradient(165deg, #5c5049, #3d342f);
  border-color: rgba(255, 255, 255, .12);
  box-shadow: 0 8px 20px rgba(43, 36, 33, .30), inset 0 1px 0 rgba(255, 255, 255, .12);
}
body.guest .day-strip a:hover { background: rgba(255, 251, 245, .75); }
body.guest .day-strip a.on:hover { background: linear-gradient(165deg, #5c5049, #3d342f); }

body.guest .also-sav {
  background: rgba(255, 251, 245, .78);
  -webkit-backdrop-filter: blur(26px) saturate(1.2);
  backdrop-filter: blur(26px) saturate(1.2);
  border-top: 1px solid rgba(255, 255, 255, .7);
}
body.guest .session-row { border-bottom-color: rgba(86, 75, 69, .10); }
body.guest .tag.ok { background: rgba(95, 125, 90, .14); }

/* ── Finom mikro-animációk ──
   A .uszik-be/.lathato osztályokat a finom.js kezeli; JS nélkül semmi nem
   marad rejtve. Minden mozgás lassú és diszkrét. */
@property --p { syntax: '<number>'; inherits: false; initial-value: 0; }
/* Belépő koreográfia: a fő tartalom gyermekei egyszer, betöltéskor úsznak fel,
   40 ms-os lépcsővel. Tiszta CSS — nem függ JS-től, nem tud beragadni. */
/* Egyetlen, rövid áttűnés a tartalomra — nem elemenként lépcsőzve.
   A finom hatás megmarad, de a lap AZONNAL ott van. Lapváltáskor a
   navigacio.js újrajátssza (.be osztály levétele/visszatétele). */
body.guest .g-main, body.guest .g-main.be { animation: uszik-be .2s ease-out both; }
@keyframes uszik-be { from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; } }
/* Amíg a következő lap tartalma úton van: a mostani halványul egy kicsit —
   ennyi elég visszajelzésnek, pörgő nélkül. */
body.guest .g-main.valtas { opacity: .55; transition: opacity .12s ease; }
/* A menüpont AZONNAL reagál a koppintásra. */
body.guest .g-nav a { transition: background .12s ease, color .12s ease; }
body.guest .g-nav a:active { transform: scale(.97); }
body.guest .utad-gyuru.toltodik { transition: --p 1.1s cubic-bezier(.3,.7,.2,1); }
/* Gomb: lassú fény-sweep hoverre, pörgő töltéskor. */
body.guest .btn { position: relative; overflow: hidden; }
body.guest .btn::before { content: ''; position: absolute; top: 0; bottom: 0;
  left: -80%; width: 55%; transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .14), transparent);
  transition: left .9s ease; pointer-events: none; }
body.guest .btn:hover::before { left: 125%; }
body.guest .btn.toltodik { color: transparent; pointer-events: none; }
body.guest .btn.toltodik::after { content: ''; position: absolute; inset: 0;
  margin: auto; width: 17px; height: 17px; border-radius: 50%;
  border: 2px solid rgba(255, 251, 245, .35); border-top-color: #fffbf5;
  animation: porog .7s linear infinite; }
@keyframes porog { to { transform: rotate(360deg); } }
/* Nap-sáv: sticky, görgetésre finom árnyék; az aktív pirula belépése. */
/* A nap-sáv NEM ragadós és nincs rajta filter: a drop-shadow az egész
   részfát raszterizálja, amitől a telefonon látható téglalap-szegély
   maradt a háttéren. */
body.guest .day-strip { position: relative; }
body.guest .day-strip a { transition: transform .18s ease, background .2s ease; }
body.guest .day-strip a:active { transform: scale(.94); }
body.guest .day-strip a.on { animation: pirula-be .3s cubic-bezier(.34,1.4,.64,1) both; }
@keyframes pirula-be { from { transform: scale(.92); } to { transform: scale(1); } }
/* Erősség-pöttyök: sorban töltődnek fel. */
body.guest .diff-dot.active { animation: potty-be .35s ease both; }
body.guest .diff-dot.active:nth-child(2) { animation-delay: .04s; }
body.guest .diff-dot.active:nth-child(3) { animation-delay: .08s; }
body.guest .diff-dot.active:nth-child(4) { animation-delay: .12s; }
body.guest .diff-dot.active:nth-child(5) { animation-delay: .16s; }
@keyframes potty-be { from { transform: scale(.3); opacity: 0; }
  to { transform: scale(1); opacity: 1; } }
/* "CSAK N HELY": nagyon lassú, finom lüktetés. */
body.guest .badge-closed { animation: lelegzik 4s ease-in-out infinite; }
@keyframes lelegzik { 0%, 100% { opacity: 1; } 50% { opacity: .78; } }
/* Apróságok. */
body.guest ::selection { background: rgba(86, 75, 69, .22); }
body.guest .num, body.guest .utad-gyuru-belso strong,
body.guest .session-time { font-variant-numeric: tabular-nums; }
body.guest .section-head a { transition: transform .18s ease; display: inline-block; }
body.guest .section-head a:hover { transform: translateX(2px); }
body.guest :focus-visible { outline: 2px solid rgba(86, 75, 69, .55);
  outline-offset: 2px; border-radius: 4px; }
@media (min-width: 761px) {
  body.guest .g-main::-webkit-scrollbar, body.guest::-webkit-scrollbar { width: 9px; }
  body.guest ::-webkit-scrollbar-thumb { background: rgba(86, 75, 69, .28);
    border-radius: 999px; }
  body.guest ::-webkit-scrollbar-track { background: transparent; }
}
/* Oldalak közti view-transition SZÁNDÉKOSAN NINCS: a gyakorlatban beragadó,
   megfagyott pillanatképet okozott (a fél-átlátszó "szellem-oldal"), és amíg
   aktív, a renderelés áll. A belépő koreográfia adja az áttűnés-érzetet. */
@media (prefers-reduced-motion: reduce) {
  body.guest .g-main, body.guest .g-main.be { animation: none !important; }
  body.guest .g-main.valtas { opacity: 1; }
  body.guest .btn::before, body.guest .badge-closed,
  body.guest .diff-dot.active, body.guest .day-strip a.on { animation: none; }
  body.guest .utad-gyuru.toltodik { transition: none; }
}

@media (max-width: 760px) {
  /* Mobil alsó menü: sötét üveg, mint egy prémium app tab-sávja. */
  body.guest .g-nav {
    background: linear-gradient(180deg, rgba(52, 44, 39, .88), rgba(43, 36, 33, .94));
    -webkit-backdrop-filter: blur(28px) saturate(1.15);
    backdrop-filter: blur(28px) saturate(1.15);
    border-top: 1px solid rgba(255, 255, 255, .10); border-right: 0;
    box-shadow: 0 -10px 34px rgba(43, 36, 33, .28);
  }
  body.guest .g-nav a { color: #b9aea6; }
  body.guest .g-nav a.on { background: rgba(255, 251, 245, .14); color: #fffbf5; }
}
