/* iszeged.hu – „Napfény": fehér alap, napsárga kiemelés, kerek kártyák. */
@font-face { font-family: Outfit; src: url(../fonts/outfit-latin-ext.woff2) format("woff2"); font-weight: 100 900; font-display: swap;
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Outfit; src: url(../fonts/outfit-latin.woff2) format("woff2"); font-weight: 100 900; font-display: swap;
  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 Sans"; src: url(../fonts/dm-sans-latin-ext.woff2) format("woff2"); font-weight: 100 1000; font-display: swap;
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DM Sans"; src: url(../fonts/dm-sans-latin.woff2) format("woff2"); font-weight: 100 1000; font-display: swap;
  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; }

:root {
  --sun: #FFC629; --sun-soft: #FFF8E1; --ink: #1E2430; --text: #3D4553; --muted: #5A6272;
  --soft: #F3F4F6; --line: #E6E8EC; --border: #D5D8DE; --bg: #FFFFFF; --green: #1F7A4D; --heart: #E0354B; --red: #B3261E;
  --display: Outfit, system-ui, sans-serif; --body: "DM Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 var(--body); }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.2; }
h1 { font-size: 1.75rem; font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: 1.05rem; font-weight: 700; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 2000; }
.skip:focus { left: 8px; top: 8px; }
.muted { color: var(--muted); font-weight: 400; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 16px 16px 40px; }
.narrow { max-width: 620px; margin: 0 auto; padding-top: 12px; }

/* fejléc */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1240px; margin: 0 auto; padding: 14px 16px 6px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; min-height: 44px; }
.brand .name { font: 700 1.65rem/1 var(--display); letter-spacing: -.02em; }
.brand .tagline { display: none; margin-left: 10px; color: var(--muted); font-size: .9rem; }
.mainnav { display: flex; align-items: center; gap: 24px; }
.mainnav a { display: flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--muted); font-size: .95rem; }
.mainnav a[aria-current] { color: var(--ink); font-weight: 700; box-shadow: inset 0 -3px 0 var(--sun); }
.mainnav a.cta { background: var(--ink); color: #fff; padding: 0 18px; border-radius: 22px; font-weight: 500; box-shadow: none; }
.modebar { background: var(--sun-soft); border-block: 1px solid #F3DFA0; padding: 6px 16px; display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; font-size: .9rem; }
.modebar button { background: none; border: 1px solid var(--ink); border-radius: 18px; min-height: 36px; padding: 0 14px; cursor: pointer; }

/* elrendezés */
.layout { display: flex; flex-direction: column; gap: 16px; }
.content { min-width: 0; }
.side { display: flex; flex-direction: column; gap: 14px; }
.month { display: none; background: var(--soft); border-radius: 20px; padding: 16px; }
.monthhead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-family: var(--display); font-size: 1.05rem; }
.monthhead span { display: flex; gap: 4px; }
.grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; text-align: center; }
.grid.dows { font-size: .75rem; color: var(--muted); margin-bottom: 4px; }
.grid a { display: flex; align-items: center; justify-content: center; height: 38px; border-radius: 10px; text-decoration: none; font-size: .9rem; }
.grid a:hover { background: #fff; }
.grid a.empty { color: #8A909C; }
.grid a.past { opacity: .6; }
.grid a[aria-current] { background: var(--sun); font-weight: 700; opacity: 1; color: var(--ink); }
.round { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; text-decoration: none; font-size: 1.4rem; line-height: 1; flex: none; }
.week .round { background: var(--soft); }

.week { display: flex; gap: 6px; align-items: center; margin-bottom: 14px; }
.daybtn { flex: 1; min-width: 0; height: 64px; border-radius: 16px; background: var(--soft); text-decoration: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.daybtn .dow { font-size: .75rem; color: var(--muted); }
.daybtn .n { font: 600 1.1rem/1 var(--display); }
.daybtn.empty .n { color: #8A909C; }
.daybtn[aria-current] { background: var(--sun); }
.daybtn[aria-current] .dow, .daybtn[aria-current] .n { color: var(--ink); font-weight: 700; }
.week .round { display: none; }

.headline { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 4px 0 14px; }
.headline span { color: var(--muted); font-size: .9rem; }
.dayhead { margin: 26px 0 10px; font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.dayhead a { text-decoration: none; }
.dayhead a:hover { text-decoration: underline; }
.none { color: var(--muted); padding: 18px; background: var(--soft); border-radius: 18px; }

/* szűrők */
.filters { display: flex; flex-direction: column; gap: 10px; }
.switch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 4px; background: var(--soft); border-radius: 16px; }
.switch a { display: flex; align-items: center; justify-content: center; height: 40px; border-radius: 12px; text-decoration: none; color: var(--muted); font-size: .9rem; }
.switch a[aria-current] { background: #fff; color: var(--ink); font-weight: 700; }
.chipgroup { display: flex; align-items: center; gap: 8px; min-width: 0; }
.chiplabel { font: 700 .8rem var(--display); color: var(--muted); width: 44px; flex: none; }
.chiprow { display: flex; gap: 8px; overflow-x: auto; padding: 2px 16px 2px 0; margin-right: -16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.chiprow::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 20px; border: 1px solid var(--border); background: #fff; text-decoration: none; font-size: .9rem; white-space: nowrap; flex: none; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.sun[aria-pressed="true"] { background: var(--sun); border-color: var(--sun); color: var(--ink); font-weight: 700; }
.search label { display: block; font: 700 .8rem var(--display); color: var(--muted); margin-bottom: 6px; }
.search div { display: flex; gap: 6px; }
.search input { flex: 1; min-width: 0; height: 44px; border: 1px solid var(--border); border-radius: 22px; padding: 0 16px; }
.search button { height: 44px; border: none; border-radius: 22px; padding: 0 16px; background: var(--ink); color: #fff; cursor: pointer; }

/* kártyák */
.cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.card { display: flex; gap: 12px; padding: 14px; border-radius: 18px; background: var(--soft); }
.card:nth-child(odd) { background: var(--sun-soft); }
.card .time { width: 50px; flex: none; font: 700 1.1rem/1.3 var(--display); }
.card .body { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.card h3 { font-size: 1rem; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.card p { margin: 0; }
.card .lead { font-size: .9rem; line-height: 1.4; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .meta { font-size: .82rem; color: var(--muted); }
.card .meta a { text-decoration: none; }
.card .meta a:hover { text-decoration: underline; }
.fold { margin-top: 18px; }
.fold summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font: 600 .95rem var(--display); color: var(--muted); }
.more { margin: 20px 0 0; }

/* ajánlás, jelölés (csak barát- és gazda-módban kerül az oldalba) */
.card.rec, .card.liked { box-shadow: inset 0 0 0 2px var(--sun); background: var(--sun-soft); }
.card.liked { box-shadow: inset 0 0 0 2px var(--green); }
.card.disliked { opacity: .6; }
.why { font-size: .88rem; color: var(--ink); margin: 2px 0 0; }
.why:empty { display: none; }
.acts { display: flex; gap: 8px; margin-top: 6px; }
.acts button { height: 40px; padding: 0 14px; border-radius: 20px; border: 1px solid var(--border); background: #fff; cursor: pointer; font-size: .88rem; }
.acts button[aria-pressed="true"][data-label="like"] { background: var(--green); border-color: var(--green); color: #fff; }
.acts button[aria-pressed="true"][data-label="dislike"] { background: var(--muted); border-color: var(--muted); color: #fff; }
.note { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.note label { font-size: .85rem; color: var(--muted); }
.note textarea { border: 1px solid var(--border); border-radius: 12px; padding: 10px; }
.note button { align-self: flex-start; height: 40px; padding: 0 16px; border-radius: 20px; border: none; background: var(--ink); color: #fff; cursor: pointer; }
.note .saved { font-size: .85rem; color: var(--green); }
.privatebox { background: var(--sun-soft); border-radius: 18px; padding: 16px; }

/* részletoldal */
.detail { padding-top: 6px; }
.crumbs { margin: 0 0 8px; font-size: .88rem; color: var(--muted); }
.detail h1 { overflow-wrap: anywhere; }
.detail > .lead, .narrow > .lead { font-size: 1.05rem; color: var(--text); margin: 10px 0 18px; }
.cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.detail section { margin-bottom: 20px; }
.detail section h2 { margin-bottom: 6px; }
.detail section p { margin: 0; }
.times { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.times li a { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 20px; background: var(--soft); text-decoration: none; font-size: .9rem; }
.times li a:hover { background: var(--sun); }
.links { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 20px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 23px; border: 2px solid var(--ink); background: var(--ink); color: #fff; text-decoration: none; font-weight: 500; cursor: pointer; }
.button.ghost { background: #fff; color: var(--ink); }
.description { white-space: pre-line; color: var(--text); }
.map { height: 280px; border-radius: 18px; overflow: hidden; background: var(--soft); z-index: 0; }
.map.tall { height: min(62vh, 560px); margin-bottom: 18px; }
.pin { width: 18px; height: 18px; border-radius: 50%; background: var(--sun); border: 3px solid var(--ink); }

/* helyszínek */
.venuelist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.venuelist a { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 18px; background: var(--soft); text-decoration: none; min-height: 44px; }
.venuelist a:hover { background: var(--sun-soft); }
.venuelist span, .venuelist em { font-size: .85rem; color: var(--muted); font-style: normal; }

/* űrlapok */
.form { display: flex; flex-direction: column; gap: 8px; }
.form label { font-weight: 500; margin-top: 8px; }
.form input[type=text], .form input[type=email], .form input[type=password], .form textarea { border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; width: 100%; }
.form fieldset { border: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.form legend { font-weight: 700; padding: 0; margin-bottom: 4px; }
.form .radio { display: flex; align-items: center; gap: 10px; min-height: 44px; margin: 0; font-weight: 400; }
.form .radio input { width: 20px; height: 20px; accent-color: var(--ink); }
.form .button { align-self: flex-start; margin-top: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.error { background: #FCE8E6; color: var(--red); border-radius: 12px; padding: 12px 14px; }
.prose h2 { margin: 22px 0 6px; }
.prose p { margin: 0 0 10px; color: var(--text); }

.foot { max-width: 1240px; margin: 0 auto; padding: 20px 16px 96px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.foot p { margin: 0 0 6px; }

/* telefon: alsó menüsor */
@media (max-width: 759px) {
  .mainnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1500; background: #fff; border-top: 1px solid var(--line); justify-content: space-around; gap: 0; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .mainnav a { flex: 1; justify-content: center; font-size: .8rem; }
  .mainnav a.cta { background: none; color: var(--muted); padding: 0; font-weight: 400; }
  .mainnav a.cta[aria-current] { color: var(--ink); font-weight: 700; box-shadow: inset 0 -3px 0 var(--sun); border-radius: 0; }
  .content { display: contents; }
  .side { display: contents; }
  .switch { order: -3; }
  .week { order: -2; margin-bottom: 0; }
  .filters, .search { order: -1; }
  .headline { margin: 0; }
  .layout .dayhead { margin: 10px 0 -6px; }
  .fold, .more { margin-top: 0; }
}
@media (min-width: 760px) {
  .wrap { padding: 24px 32px 56px; }
  .top { padding: 16px 32px; border-bottom: 1px solid var(--line); max-width: none; }
  .brand .tagline { display: inline; }
  .foot { padding: 24px 32px 40px; }
  .layout { flex-direction: row; gap: 36px; align-items: flex-start; }
  .side { width: 300px; flex: none; position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; }
  .content { flex: 1; }
  .month { display: block; }
  .week .round { display: inline-flex; }
  .chipgroup { flex-direction: column; align-items: flex-start; }
  .chiplabel { width: auto; }
  .chiprow { flex-wrap: wrap; overflow: visible; margin-right: 0; padding-right: 0; }
  h1 { font-size: 2rem; }
  .cols { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 36px; }
  .map { height: 340px; }
  .venuelist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .venuelist.compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .content > .cards, .fold > .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards .card:nth-child(odd) { background: var(--soft); }
  .cards .card:nth-child(4n+1), .cards .card:nth-child(4n) { background: var(--sun-soft); }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* kedvencek, megosztás, naptárba */
.card .tools { display: flex; flex-direction: column; gap: 2px; flex: none; margin: -6px -6px -6px 0; }
.iconbtn, .fav button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 44px; height: 44px; border: none; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; }
.iconbtn:hover, .fav button:hover { background: rgba(30, 36, 48, .07); color: var(--ink); }
.fav { margin: 0; }
.fav .core { fill: none; }
.fav button[aria-pressed="true"] { color: var(--heart); }
.fav button[aria-pressed="true"] .core { fill: var(--heart); }
.fav.wide button, .tool, .share > summary { width: auto; height: 44px; padding: 0 16px; border-radius: 22px; border: 1px solid var(--border); background: #fff; color: var(--ink); font-size: .92rem; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; cursor: pointer; }
.fav.wide button:hover, .tool:hover, .share > summary:hover { border-color: var(--ink); background: #fff; }
.fav.wide button[aria-pressed="true"] { background: #FDECEF; border-color: var(--heart); color: var(--ink); }
.fav.wide button[aria-pressed="true"] svg { color: var(--heart); }
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.share { position: relative; }
.share > summary { list-style: none; }
.share > summary::-webkit-details-marker { display: none; }
.headline .share { margin-left: auto; }
.headline .share > summary { height: 40px; padding: 0 12px; font-size: .85rem; color: var(--muted); }
.sharebox { position: absolute; right: 0; top: 50px; z-index: 1200; width: min(300px, 86vw); background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 10px 30px rgba(30, 36, 48, .16); padding: 8px; display: flex; flex-direction: column; gap: 2px; }
.toolbar .sharebox { right: auto; left: 0; }
.sharebox button, .sharebox a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border: none; border-radius: 10px; background: none; text-align: left; text-decoration: none; cursor: pointer; font-size: .95rem; color: var(--ink); }
.sharebox button:hover, .sharebox a:hover { background: var(--soft); }
.sharebox input, .copyrow input { height: 40px; border: 1px solid var(--border); border-radius: 10px; padding: 0 10px; font-size: .82rem; color: var(--muted); min-width: 0; }
.sharebox input { margin-top: 4px; }
.mainnav .count { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; margin-left: 6px; padding: 0 6px; border-radius: 10px; background: var(--sun); color: var(--ink); font-size: .72rem; font-weight: 700; }
.mainnav .count[hidden] { display: none; }
.daybtn, .grid a { position: relative; }
.hasfav::after { content: ""; position: absolute; top: 5px; right: 5px; width: 7px; height: 7px; border-radius: 50%; background: var(--heart); }
.daybtn[aria-current].hasfav::after, .grid a[aria-current].hasfav::after { background: var(--ink); }
.favcount { font-size: .85rem; color: var(--muted); margin: 2px 0 0; }
.narrowish { max-width: 860px; margin: 0 auto; }
.transfer { margin-top: 32px; padding: 18px; border-radius: 18px; background: var(--soft); }
.transfer p { margin: 6px 0 12px; color: var(--text); font-size: .92rem; }
.copyrow { display: flex; gap: 8px; }
.copyrow input { flex: 1; height: 44px; background: #fff; }
.copyrow button { height: 44px; padding: 0 16px; border: none; border-radius: 22px; background: var(--ink); color: #fff; cursor: pointer; flex: none; }
.toast { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%); z-index: 3000; background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 22px; font-size: .9rem; box-shadow: 0 6px 20px rgba(30, 36, 48, .25); }
@media (max-width: 759px) {
  .mainnav a { font-size: .74rem; }
  .mainnav .count { min-width: 17px; height: 17px; margin-left: 3px; padding: 0 4px; font-size: .66rem; }
}

/* keresőbarát címsorok, gyorslinkek, lábléc-linkek */
.eyebrow { display: block; font: 600 .82rem var(--display); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.intro { margin: -6px 0 14px; color: var(--muted); }
.quick { display: flex; gap: 8px; }
.round.off { opacity: .35; }
.crumbs a { color: inherit; }
.foottags { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-bottom: 14px; }
.foottags a { color: var(--muted); text-decoration: none; }
.foottags a:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 759px) { .quick { order: -1; } .foottags a { min-height: 32px; display: inline-flex; align-items: center; } }

/* keresés */
.searchlink { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--soft); color: var(--ink); flex: none; margin-left: auto; }
.searchlink:hover, .searchlink[aria-current] { background: var(--sun); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.bigsearch { margin: 18px 0 0; }
.bigsearch div { position: relative; display: flex; gap: 8px; }
.bigsearch svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.bigsearch input { -webkit-appearance: none; appearance: none; flex: 1; min-width: 0; height: 54px; margin: 0; border: 2px solid transparent; border-radius: 27px; background: var(--soft); padding: 0 18px 0 50px; font-size: 1.05rem; color: var(--ink); }
.bigsearch input::placeholder { color: var(--muted); opacity: 1; }
.bigsearch input::-webkit-search-decoration { -webkit-appearance: none; }
.bigsearch input:focus, .bigsearch input:focus-visible { outline: none; background: #fff; border-color: var(--sun); }
.bigsearch button { height: 54px; padding: 0 22px; border: none; border-radius: 27px; background: var(--ink); color: #fff; cursor: pointer; font-weight: 500; }
.searchstatus { margin: 14px 4px 22px; color: var(--muted); font-size: .92rem; line-height: 1.45; }
.js .bigsearch button { display: none; }
.hitlinks { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 6px; }
.venuelist.compact a { flex-direction: column; }
@media (min-width: 760px) { .searchlink { order: 2; margin-left: 0; } .top .mainnav { margin-left: auto; } }
#search-results .dayhead { margin: 18px 0 8px; }
#search-results .card .time:empty { display: none; }
.whenline { font: 700 1rem/1.3 var(--display); color: var(--ink); margin: 0; }
.card.notime .time { display: none; }

/* a menü ikonjai: csak a telefonos alsó sávban látszanak */
.navicon { display: none; }
@media (max-width: 759px) {
  .mainnav { padding: 4px 2px calc(4px + env(safe-area-inset-bottom)); }
  .mainnav a, .mainnav a.cta { position: relative; flex-direction: column; gap: 3px; min-height: 52px; font-size: .68rem; box-shadow: none; }
  .mainnav a[aria-current], .mainnav a.cta[aria-current] { box-shadow: none; }
  .navicon { display: block; box-sizing: content-box; width: 22px; height: 22px; padding: 3px 16px; border-radius: 14px; }
  .mainnav a[aria-current] .navicon { background: var(--sun); color: var(--ink); }
  .mainnav .count { position: absolute; top: 2px; left: calc(50% + 8px); margin: 0; background: var(--heart); color: #fff; }
}

/* látogatottság (csak a gazdának) */
.modebar a { color: inherit; }
.statcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 14px 0; }
.statcards div { background: var(--sun-soft); border-radius: 18px; padding: 14px 16px; display: flex; flex-direction: column; }
.statcards strong { font: 700 1.8rem/1.1 var(--display); }
.statcards span { font-size: .85rem; color: var(--muted); }
.stats h2 { margin: 26px 0 8px; }
.stattable { width: 100%; border-collapse: collapse; font-size: .92rem; }
.stattable th { text-align: left; font-weight: 500; color: var(--muted); font-size: .8rem; padding: 4px 8px 4px 0; }
.stattable td { padding: 5px 8px 5px 0; border-top: 1px solid var(--line); white-space: nowrap; }
.stattable .num { text-align: right; font-variant-numeric: tabular-nums; }
.stattable .barcell { width: 55%; }
.stattable progress { width: 100%; height: 10px; appearance: none; -webkit-appearance: none; border: none; background: transparent; }
.stattable progress::-webkit-progress-bar { background: transparent; }
.stattable progress::-webkit-progress-value { background: var(--sun); border-radius: 5px; }
.stattable progress::-moz-progress-bar { background: var(--sun); border-radius: 5px; }
.statcols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 32px; }
.statcols ol { list-style: none; margin: 0; padding: 0; }
.statcols li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px solid var(--line); font-size: .92rem; }
.statcols li a { color: inherit; overflow-wrap: anywhere; }
.statcols li span { color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (min-width: 760px) { .statcards { grid-template-columns: repeat(4, minmax(0, 1fr)); } .statcols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* hetek közti lapozás telefonon */
.weekhead { display: none; }
@media (max-width: 759px) {
  .weekhead { display: flex; align-items: center; justify-content: space-between; order: -2; margin-bottom: -8px; }
  .weeklabel { display: inline-flex; align-items: center; gap: 10px; font: 600 .95rem var(--display); }
  .weekhead .round { background: var(--soft); }
}

/* „Ma" gomb a naptárnál: vissza a mai napra */
.todaybtn { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 18px; border: 1px solid var(--border); background: #fff; text-decoration: none; font: 600 .85rem var(--body); color: var(--ink); }
.todaybtn:hover { border-color: var(--ink); }
.todaybtn[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.monthhead span { align-items: center; }
.monthhead .todaybtn { margin-right: 4px; }
.monthhead strong { white-space: nowrap; font-size: 1rem; }
.monthhead .round { width: 36px; height: 36px; font-size: 1.2rem; }
.headline h1 { margin-right: auto; }
.headline .share { margin-left: 0; }
