/* یادا — گرم و بازیگوش */
:root {
  --navy: #14213D; --navy-2: #24305E; --ink: #14213D; --ink-2: #5A5F73;
  --orange: #FF7A45; --orange-d: #F0642D; --orange-ink: #A63A0C; --peach: #FFE7DA;
  --paper: #FFF7F1; --card: #FFFFFF; --line: #F1E3DA;
  --mint: #DCF3E6; --mint-ink: #16653D; --sky: #E2ECFF; --sky-ink: #1E4C99;
  --lilac: #ECE6FF; --lilac-ink: #4D2FA3; --sun: #FFF0C2; --sun-ink: #7A4F00;
  --bad: #C8322B; --bad-soft: #FDE8E6; --ok: #1E9A5A;
  --font: 'Vazirmatn', Tahoma, 'Segoe UI', sans-serif; --display: 'Lalezar', 'Vazirmatn', Tahoma, sans-serif;
  --r: 22px; --shadow: 0 1px 2px rgba(20,33,61,.05), 0 8px 24px rgba(166,58,12,.07);
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.7; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
[hidden] { display: none !important; }

.logo { font-family: var(--display); font-size: 32px; line-height: 1; color: var(--navy); }
.logo.big { font-size: 68px; }
.display { font-family: var(--display); font-weight: 400; }
.muted { color: var(--ink-2); font-size: 13px; margin: 0; }
.error { color: var(--bad); font-size: 14px; min-height: 1em; margin: 4px 0; }

.btn { border: 1.5px solid var(--line); background: var(--card); border-radius: 14px; padding: 9px 18px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; transition: transform .12s, background .12s; }
.btn:hover { background: var(--paper); }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn.primary:hover { background: var(--navy-2); }
.btn.accent { background: var(--orange); border-color: var(--orange); color: var(--navy); }
.btn.accent:hover { background: var(--orange-d); }
.btn.danger { color: var(--bad); border-color: var(--bad-soft); }
.btn.sm { min-height: 34px; padding: 4px 12px; font-size: 13px; }
.btn.wide { width: 100%; }
.icon-btn { border: 0; background: none; width: 40px; height: 40px; border-radius: 12px; color: var(--ink-2); font-size: 18px; display: grid; place-items: center; }
.icon-btn:hover { background: var(--peach); color: var(--ink); }

.field { display: grid; gap: 4px; }
.field label, .lbl { font-size: 13px; font-weight: 500; color: var(--ink-2); }
input, select, textarea { background: var(--card); border: 1.5px solid var(--line); border-radius: 14px; padding: 9px 12px; min-height: 44px; width: 100%; }
textarea { min-height: 70px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--orange); outline: none; box-shadow: 0 0 0 4px rgba(255,122,69,.18); }

/* ورود */
.auth { min-height: 100%; display: grid; place-items: center; padding: 24px 16px; }
.auth-card { width: min(420px, 100%); background: var(--card); border-radius: 28px; box-shadow: var(--shadow); padding: 28px 28px 24px; text-align: center; display: grid; gap: 10px; }
.auth-mascot { margin: 0 auto -6px; }
.tagline { margin: 0 0 6px; color: var(--ink-2); }
.tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); border-radius: 14px; padding: 4px; }
.tabs button { border: 0; background: none; border-radius: 11px; padding: 8px; color: var(--ink-2); }
.tabs button.on { background: var(--card); color: var(--ink); font-weight: 700; box-shadow: var(--shadow); }
#authForm { display: grid; gap: 12px; text-align: start; }

/* ساختار */
.top { background: rgba(255,247,241,.92); backdrop-filter: blur(8px); display: flex; align-items: center; gap: 24px; padding: 12px clamp(16px, 4vw, 40px); position: sticky; top: 0; z-index: 5; }
.install-btn { margin-inline-start: auto; border-color: var(--orange); color: var(--orange-ink); background: var(--peach); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav { display: flex; gap: 6px; background: var(--card); padding: 5px; border-radius: 18px; box-shadow: var(--shadow); }
.nav a { text-decoration: none; color: var(--ink-2); padding: 7px 14px; border-radius: 14px; font-weight: 500; display: flex; align-items: center; gap: 6px; }
.nav a svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.nav a:hover { color: var(--ink); background: var(--paper); }
.nav a.on { background: var(--navy); color: #fff; font-weight: 800; }
.main { max-width: 1120px; margin: 0 auto; padding: 4px clamp(16px, 4vw, 40px) 110px; display: grid; gap: 16px; }
h1 { font-size: 24px; margin: 0; text-wrap: balance; }
h2 { font-family: var(--display); font-weight: 400; font-size: 22px; margin: 0; letter-spacing: .2px; }
.panel { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 20px 22px; }

/* قهرمان صفحه */
.hero { position: relative; background: #4A5D96; color: #fff; border-radius: 26px; padding: 16px 24px; display: flex; align-items: center; gap: 20px; overflow: hidden; }
.hero::before { content: ''; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,.08); inset-inline-end: -60px; top: -110px; }
.hero::after { content: ''; position: absolute; width: 112px; height: 112px; border-radius: 50%; background: var(--orange); inset-inline-end: 4px; bottom: -44px; }
.hero-text { flex: 1; position: relative; z-index: 1; }
.hero h1 { font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1.2; }
.hero p { margin: 2px 0 0; font-size: 15px; font-weight: 500; }
.hero .date { font-size: 13px; color: #E4E8F4; margin-top: 2px; font-weight: 500; }
.hero-mascot { width: 74px; order: 9; height: auto; position: relative; z-index: 1; margin-bottom: -28px; align-self: flex-end; }
.ring { position: relative; z-index: 1; width: 78px; height: 78px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring .lbl2 { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1.1; }
.ring b { font-family: var(--display); font-weight: 400; font-size: 21px; }
.ring small { font-size: 11px; font-weight: 700; }

/* افزودن سریع */
.quick { display: grid; gap: 10px; padding: 12px; border-radius: 22px; }
.quick-head { display: flex; align-items: center; gap: 10px; }
.quick-head img { width: 34px; height: 34px; }
.quick-row { display: flex; gap: 10px; }
.quick-row input { flex: 1; font-size: 16px; min-height: 52px; border-radius: 16px; padding: 10px 16px; background: var(--paper); border-color: transparent; }
.quick-row input:focus { background: #fff; }
.quick-row .btn { min-height: 52px; border-radius: 16px; padding: 0 24px; font-size: 15px; }
.preview { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 0 6px 2px; }
.examples { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.examples button { border: 1.5px dashed #F2B699; background: none; border-radius: 99px; padding: 2px 12px; font-size: 13px; color: var(--orange-ink); min-height: 32px; }
.examples button:hover { background: var(--peach); border-style: solid; }
.chip { font-size: 13px; border-radius: 99px; padding: 2px 11px; background: var(--paper); color: var(--ink-2); display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; font-weight: 500; }
.chip.when { background: var(--peach); color: var(--orange-ink); }
.chip.bad { background: var(--bad-soft); color: var(--bad); }
.chip.team { background: var(--lilac); color: var(--lilac-ink); }
.chip.rep { background: var(--sky); color: var(--sky-ink); }
.chip.person { background: var(--mint); color: var(--mint-ink); }
.forgot-h { margin: 4px 0 0; font-family: var(--display); font-weight: 400; font-size: 24px; color: var(--navy); }
#forgotForm { display: grid; gap: 10px; text-align: start; }
#forgotForm .linkish, #authForm .linkish { justify-self: center; margin-top: 2px; }
.pass-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; margin-top: 10px; }
@media (max-width: 600px) { .pass-form { grid-template-columns: 1fr; } }
.linkish { border: 0; background: none; color: var(--navy-2); text-decoration: underline; padding: 0 4px; font-size: 13px; font-weight: 500; }

/* چیدمان دو ستونه */
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.side { display: grid; gap: 20px; }

.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filters button { border: 1.5px solid var(--line); background: var(--card); border-radius: 99px; padding: 4px 16px; font-size: 13px; font-weight: 500; min-height: 36px; }
.filters button.on { background: var(--navy); color: #fff; border-color: var(--navy); }

/* کارت‌های یادآور */
.list { display: grid; gap: 10px; }
.group-h { display: flex; align-items: center; gap: 8px; margin: 10px 4px 0; font-family: var(--display); font-size: 19px; color: var(--navy); }
.group-h:first-child { margin-top: 0; }
.group-h .n { font-family: var(--font); font-size: 12px; font-weight: 800; background: var(--navy-2); color: #fff; border-radius: 99px; padding: 0 9px; }
.group-h.bad { color: var(--bad); }
.dotc { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }
.group-h.bad .dotc { background: var(--bad); } .group-h.later .dotc { background: var(--sky-ink); } .group-h.none .dotc { background: #B9B2AE; } .group-h.tmr .dotc { background: var(--lilac-ink); }
.item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--card); border-radius: 18px; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.item:hover { transform: translateY(-1px); box-shadow: 0 2px 4px rgba(20,33,61,.06), 0 12px 28px rgba(166,58,12,.1); }
.chk { width: 30px; height: 30px; flex: none; border-radius: 50%; border: 2.5px solid var(--navy); background: none; display: grid; place-items: center; color: #fff; padding: 0; }
.chk.p2 { border-color: var(--orange); } .chk.p3 { border-color: var(--bad); }
.chk:hover { background: var(--mint); }
.chk svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.item.done { background: transparent; box-shadow: none; border: 1.5px dashed var(--line); }
.item.done .chk { background: var(--ok); border-color: var(--ok); }
.item .body { flex: 1; min-width: 0; text-align: start; background: none; border: 0; padding: 0; }
.item .ttl { font-weight: 700; font-size: 16px; overflow-wrap: anywhere; }
.item.done .ttl { text-decoration: line-through; color: var(--ink-2); font-weight: 500; }
.item .meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 5px; }
.time { flex: none; text-align: center; min-width: 62px; }
.time b { display: block; font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1; color: var(--navy); }
.time small { font-size: 11px; color: var(--ink-2); font-weight: 500; }
.time.late b { color: var(--bad); }
/* ---------- روز من ---------- */
.myday { background: linear-gradient(135deg, #FFF0C2, #FFE7DA); border-radius: var(--r); padding: 16px 18px; box-shadow: var(--shadow); display: grid; gap: 12px; }
.md-head { display: flex; align-items: center; gap: 12px; }
.md-sun { font-size: 28px; width: 52px; height: 52px; display: grid; place-items: center; background: #fff; border-radius: 50%; flex: none; box-shadow: var(--shadow); }
.md-t { flex: 1; min-width: 0; }
.md-t h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1.3; color: var(--navy); }
.md-t p { margin: 0; font-size: 13px; color: var(--sun-ink); }
.md-sbtn { flex: none; }
.md-sbtn .n { background: var(--orange); color: var(--navy); border-radius: 99px; padding: 0 7px; font-size: 12px; font-weight: 800; }
.md-sbtn.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.md-bar { height: 8px; background: rgba(255,255,255,.75); border-radius: 99px; overflow: hidden; }
.md-bar i { display: block; height: 100%; background: var(--orange); border-radius: 99px; transition: width .4s; }
.md-sugg { background: rgba(255,255,255,.8); border-radius: 16px; padding: 4px 14px; display: grid; }
.sg { display: flex; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.sg:last-child { border-bottom: 0; }
.sg .ttl { flex: 1; min-width: 0; font-weight: 700; overflow-wrap: anywhere; }
.md-list { display: grid; gap: 10px; }
.md-empty { margin: 0; text-align: center; color: var(--sun-ink); font-size: 14px; }
.sunb { width: 36px; height: 36px; flex: none; border-radius: 50%; border: 1.5px solid var(--line); background: none; padding: 0; font-size: 16px; line-height: 1; display: grid; place-items: center; filter: grayscale(1); opacity: .45; transition: opacity .15s, background .15s; }
.sunb:hover { opacity: 1; filter: none; background: var(--sun); }
.sunb.on { filter: none; opacity: 1; background: var(--sun); border-color: #F5D77A; }
@media (max-width: 600px) { .md-head { flex-wrap: wrap; } .md-sbtn { width: 100%; } .sg .chip { display: none; } }

.item.popping { animation: popdone .45s ease-out forwards; }
@keyframes popdone { 30% { transform: scale(1.03); background: var(--mint); } 100% { transform: scale(.98); opacity: .4; } }

.empty { text-align: center; padding: 26px 10px 18px; color: var(--ink-2); display: grid; justify-items: center; gap: 4px; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); }
.empty img { width: 120px; height: auto; margin-bottom: 6px; }
.empty strong { font-family: var(--display); font-weight: 400; font-size: 22px; color: var(--navy); }

/* کاشی‌های آمار */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { border-radius: 18px; padding: 12px 14px; }
.tile b { display: block; font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1.1; }
.tile span { font-size: 13px; font-weight: 700; }
.tile.t1 { background: var(--peach); color: var(--orange-ink); }
.tile.t2 { background: var(--bad-soft); color: var(--bad); }
.tile.t3 { background: var(--navy); color: #fff; }
.tile.t4 { background: var(--mint); color: var(--mint-ink); }

/* نمودار هفته */
.bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; align-items: end; height: 130px; margin-top: 14px; padding-bottom: 2px; border-bottom: 2px dotted var(--line); }
.bar { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 3px; }
.bar i { display: block; width: 100%; max-width: 26px; border-radius: 9px 9px 4px 4px; background: var(--peach); min-height: 6px; }
.bar.has i { background: var(--navy-2); }
.bar.today i { background: var(--orange); }
.bar b { font-size: 12px; color: var(--ink-2); }
.bar-l { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; text-align: center; font-size: 12px; color: var(--ink-2); margin-top: 6px; }
.bar-l .on { color: var(--navy); font-weight: 800; }

/* تقویم */
.cal-head { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.cal-head h2 { min-width: 160px; text-align: center; font-size: 26px; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.wd { font-size: 12px; font-weight: 700; color: var(--ink-2); text-align: center; }
.day { background: var(--paper); border: 2px solid transparent; border-radius: 16px; min-height: 96px; padding: 7px; text-align: start; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.day:hover { border-color: #F6C2A8; }
.day .dn { font-weight: 800; font-size: 15px; }
.day.out { opacity: .35; }
.day.fri .dn { color: var(--bad); }
.day.today { background: #E9ECF6; }
.day.today .dn { background: var(--navy); color: #fff; border-radius: 99px; padding: 0 8px; align-self: flex-start; }
.day.sel { border-color: var(--navy); background: #fff; }
.ev { font-size: 11.5px; border-radius: 7px; padding: 0 6px; background: var(--card); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.ev.p2 { background: var(--peach); color: var(--orange-ink); } .ev.p3 { background: var(--bad-soft); color: var(--bad); }
.ev.done { text-decoration: line-through; opacity: .55; }
.ev.more { background: none; color: var(--ink-2); }
.evdots { display: none; gap: 3px; }
.evdots i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }

/* تیم‌ها */
.team { display: grid; gap: 10px; }
.team + .team { border-top: 1.5px dashed var(--line); padding-top: 16px; margin-top: 16px; }
.team-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.team-head h2 { flex: 1; }
.code { font-family: ui-monospace, Consolas, monospace; background: var(--sun); color: var(--sun-ink); border-radius: 10px; padding: 2px 10px; letter-spacing: 1px; direction: ltr; font-weight: 700; }
.members { display: flex; flex-wrap: wrap; gap: 6px; }
.avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--navy-2); color: #fff; font-size: 12px; display: inline-grid; place-items: center; }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.row input { flex: 1; min-width: 180px; }
.steps { margin: 6px 0 0; padding-inline-start: 22px; display: grid; gap: 8px; }
/* پیوست‌ها */
.files { display: grid; gap: 6px; }
.file { display: flex; align-items: center; gap: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 6px 10px; }
.file img, .file .ficon { width: 44px; height: 44px; flex: none; border-radius: 10px; object-fit: cover; background: #fff; display: grid; place-items: center; font-size: 22px; }
.file .fname { flex: 1; min-width: 0; display: grid; font-weight: 700; font-size: 14px; color: var(--navy); text-decoration: none; overflow-wrap: anywhere; line-height: 1.5; }
.file a.fname:hover { text-decoration: underline; }
.file .fname small { font-weight: 500; font-size: 12px; color: var(--ink-2); }
.file.ask { background: var(--bad-soft); border-color: #F6C9C5; }
.x { border: 0; background: none; width: 32px; height: 32px; border-radius: 50%; flex: none; color: var(--ink-2); font-size: 14px; padding: 0; }
.x:hover { background: var(--bad-soft); color: var(--bad); }
.drop { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; border: 2px dashed var(--line); border-radius: 14px; padding: 10px 12px; transition: background .15s, border-color .15s; }
.drop.over { background: var(--peach); border-color: var(--orange); }
.btn.clip { min-width: 48px; padding: 0 12px; font-size: 18px; }
.qfiles { display: flex; flex-wrap: wrap; gap: 6px; }
.qfiles:empty { display: none; }
.qfiles .chip { padding-inline-end: 4px; margin-top: 8px; }
.qfiles .chip small { color: var(--ink-2); }
.qfiles .x { width: 24px; height: 24px; font-size: 11px; }

/* صدای یادآور */
.sounds { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 8px; }
.snd { border: 1.5px solid var(--line); background: var(--card); border-radius: 16px; padding: 10px 6px; display: grid; justify-items: center; gap: 2px; font-size: 13px; font-weight: 700; transition: transform .12s, background .12s; }
.snd span { font-size: 24px; line-height: 1.2; }
.snd:hover { background: var(--paper); }
.snd:active { transform: scale(.96); }
.snd.on { background: var(--peach); border-color: var(--orange); color: var(--orange-ink); }
.vol { display: grid; gap: 6px; margin-top: 16px; }
.vol-row { display: flex; align-items: center; gap: 10px; }
.vol-row input { flex: 1; accent-color: var(--orange); height: 28px; }
.vol-row b { min-width: 44px; text-align: center; font-size: 14px; }
.snd-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ok-box { background: var(--mint); color: var(--mint-ink); border-radius: 14px; padding: 10px 14px; font-weight: 700; }

/* پنجره */
dialog { border: 0; border-radius: 26px; padding: 0; width: min(560px, calc(100% - 24px)); box-shadow: 0 24px 60px rgba(20,33,61,.3); color: var(--ink); }
dialog::backdrop { background: rgba(20,33,61,.45); }
.m-head { display: flex; align-items: center; padding: 16px 22px; border-bottom: 1.5px solid var(--line); }
.m-head h3 { flex: 1; margin: 0; font-family: var(--display); font-weight: 400; font-size: 24px; }
.m-body { padding: 16px 22px; display: grid; gap: 12px; max-height: 68vh; overflow: auto; }
.m-foot { display: flex; gap: 8px; padding: 12px 22px; border-top: 1.5px solid var(--line); }
.grow { flex: 1; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.datebox { display: flex; gap: 6px; flex-wrap: wrap; }
.datebox select { flex: 1; min-width: 74px; }
.datebox input { width: auto; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chips button { border: 1.5px solid var(--line); background: var(--paper); border-radius: 99px; padding: 2px 12px; font-size: 13px; min-height: 32px; }
.chips button:hover { background: var(--peach); }

/* پیام‌ها */
.toasts { position: fixed; bottom: 18px; left: 18px; display: grid; gap: 10px; z-index: 50; width: min(380px, calc(100% - 36px)); }
.toast { background: var(--navy); color: #fff; border-radius: 18px; padding: 12px 16px; box-shadow: 0 12px 30px rgba(0,0,0,.25); display: grid; gap: 8px; }
.toast.rem { background: var(--card); color: var(--ink); border: 3px solid var(--orange); }
.toast .t1 { font-weight: 700; white-space: pre-line; }
.toast .acts { display: flex; gap: 6px; }
.toast .btn:not(.accent) { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.toast .btn:not(.accent):hover { background: rgba(255,255,255,.12); }
.toast.rem .btn:not(.accent) { color: var(--navy); border-color: var(--line); }
.toast.rem .btn:not(.accent):hover { background: var(--paper); }

@media (prefers-reduced-motion: no-preference) {
  .toast { animation: pop .25s ease-out; }
  .float { animation: float 3.2s ease-in-out infinite; }
  .hero-mascot { animation: float 3.6s ease-in-out infinite; }
}
@keyframes pop { from { transform: translateY(10px); opacity: .3; } }
@keyframes float { 50% { transform: translateY(-6px) rotate(-1deg); } }

@media (max-width: 900px) { .cols { grid-template-columns: 1fr; } .side { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .top { gap: 10px; backdrop-filter: none; background: var(--paper); }
  .nav { position: fixed; bottom: 10px; left: 10px; right: 10px; justify-content: space-around; z-index: 10; border-radius: 22px; }
  .nav a { flex-direction: column; gap: 0; font-size: 11px; padding: 6px 4px; flex: 1; }
  .hero { padding: 14px 16px; gap: 12px; border-radius: 22px; }
  .hero h1 { font-size: 22px; }
  .hero p { font-size: 13px; }
  .hero .date { display: none; }
  .hero-mascot, .hero::after { display: none; }
  .ring { width: 64px; height: 64px; }
  .ring b { font-size: 17px; }
  .ring small { font-size: 9px; }
  .side { grid-template-columns: 1fr; }
  .grid2 { grid-template-columns: 1fr; }
  .quick-row .btn { padding: 0 16px; }
  .day { min-height: 62px; padding: 5px; }
  .ev { display: none; }
  .evdots { display: flex; flex-wrap: wrap; }
  .time b { font-size: 20px; }
  .toasts { bottom: 90px; }
}
