:root {
  --night: #0c1f17; --pine: #10261c; --pine2: #173a2a; --green: #2f9e5f; --red: #c0262d; --red2: #e23b3b;
  --gold: #e3b64f; --gold2: #f4d58a; --cream: #fbf6ec; --ink: #1d2a23; --muted: #6c7a71; --line: #e7dfcf;
  --r: 16px; --shadow: 0 10px 30px rgba(0,0,0,.25);
  --serif: Georgia, 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font: 16px/1.45 var(--sans); color: var(--ink); min-height: 100vh;
  background: radial-gradient(1200px 600px at 80% -10%, #22533b 0%, transparent 60%),
              radial-gradient(900px 500px at -10% 20%, #3a1418 0%, transparent 55%), var(--night);
  background-attachment: fixed; padding-bottom: calc(76px + env(safe-area-inset-bottom));
}
a { color: var(--red); }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
.grow { flex: 1; }
.muted { color: var(--muted); } .small { font-size: .9em; }

/* luzes no topo */
.lights { height: 14px; background: radial-gradient(circle at 10px 6px, var(--red2) 3px, transparent 4px) 0 0/80px 14px,
  radial-gradient(circle at 30px 6px, var(--gold) 3px, transparent 4px) 0 0/80px 14px,
  radial-gradient(circle at 50px 6px, #4aa8ff 3px, transparent 4px) 0 0/80px 14px,
  radial-gradient(circle at 70px 6px, var(--green) 3px, transparent 4px) 0 0/80px 14px;
  animation: blink 2.4s steps(2) infinite; filter: drop-shadow(0 0 4px rgba(255,220,120,.7)); }
@keyframes blink { 50% { opacity: .55; } }

.snow, .confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 50; }
.confetti { z-index: 60; }

/* topo */
.top { display: flex; align-items: center; justify-content: space-between; padding: 10px 18px 6px; color: #fff; max-width: 1100px; margin: 0 auto; }
.brand { display: flex; gap: 10px; align-items: center; }
.brand-star { font-size: 30px; color: var(--gold); text-shadow: 0 0 14px rgba(244,198,78,.8); animation: glow 3s ease-in-out infinite; }
@keyframes glow { 50% { text-shadow: 0 0 26px rgba(244,198,78,1); transform: scale(1.06); } }
.brand-title { font: 700 22px/1.1 var(--serif); letter-spacing: .3px; }
.brand-sub { font-size: 13px; color: var(--gold2); }
.top-actions { display: flex; gap: 6px; align-items: center; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.07); color: #fff; font-size: 18px; }
.icon-btn[aria-pressed="true"] { background: var(--gold); color: var(--pine); border-color: var(--gold); }
.sync { font-size: 12px; color: #888; margin-right: 4px; }
.sync.ok { color: #4cd38a; } .sync.busy { color: var(--gold); } .sync.off { color: #ff8a65; }

/* barra de progresso */
.progress { position: relative; max-width: 1064px; margin: 4px auto 0; height: 26px; border-radius: 99px; background: rgba(255,255,255,.1); overflow: hidden; border: 1px solid rgba(255,255,255,.12); }
@media (max-width: 1100px) { .progress { margin: 4px 18px 0; } }
.progress-fill { height: 100%; width: 0; border-radius: 99px; transition: width .8s cubic-bezier(.2,.8,.2,1);
  background: repeating-linear-gradient(-45deg, var(--red) 0 12px, #fff 12px 18px, var(--red) 18px 30px);
  background-size: 42px 42px; animation: candy 1.4s linear infinite; box-shadow: 0 0 12px rgba(226,59,59,.6); }
@keyframes candy { to { background-position: 42px 0; } }
.progress-label { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.8); white-space: nowrap; overflow: hidden; }
.now-playing { text-align: center; color: var(--gold2); font-size: 13px; margin-top: 4px; }
.link { background: none; border: 0; color: inherit; text-decoration: underline; padding: 0 4px; }
.panel .link { color: var(--red); }

/* separadores */
.tabs { position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; display: flex; justify-content: space-around; background: rgba(12,31,23,.96);
  backdrop-filter: blur(8px); border-top: 1px solid rgba(255,255,255,.1); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
.tabs button { flex: 1; background: none; border: 0; color: #b9c8bf; font-size: 11px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 0; border-radius: 12px; }
.tabs button span { font-size: 20px; }
.tabs button.on { color: #fff; background: rgba(244,198,78,.16); }
@media (min-width: 820px) {
  body { padding-bottom: 30px; }
  .tabs { position: static; max-width: 1064px; margin: 12px auto 0; border: 0; background: rgba(255,255,255,.06); border-radius: 99px; padding: 5px; }
  .tabs button { flex-direction: row; justify-content: center; font-size: 15px; gap: 8px; padding: 8px; border-radius: 99px; }
  .tabs button span { font-size: 18px; }
}

.view { max-width: 1100px; margin: 0 auto; padding: 14px 18px; position: relative; z-index: 1; }
.page-title { color: #fff; font: 700 28px/1.2 var(--serif); margin: 8px 0 14px; }
.page-title small { font: 400 14px var(--sans); color: var(--gold2); margin-left: 8px; }
.intro { color: #c9d6cd; margin-top: -6px; }
.panel { background: var(--cream); border-radius: var(--r); padding: 16px 18px; margin-bottom: 14px; box-shadow: var(--shadow); }
.panel h2 { font: 700 18px var(--serif); margin: 0 0 10px; color: var(--pine); }
.two { display: grid; gap: 14px; } @media (min-width: 760px) { .two { grid-template-columns: 1fr 1fr; } .two .panel { margin: 0; } .two { margin-bottom: 14px; } }

/* início */
.hero { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #fff; padding: 18px 22px; border-radius: 22px; margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(192,38,45,.85), rgba(120,20,28,.9)); box-shadow: var(--shadow); border: 1px solid rgba(244,198,78,.35); }
.eyebrow { color: var(--gold2); font-size: 14px; letter-spacing: .4px; }
.countdown { display: flex; gap: 10px; margin: 10px 0 6px; flex-wrap: wrap; }
.cd { background: rgba(0,0,0,.22); border-radius: 12px; padding: 8px 12px; text-align: center; min-width: 64px; }
.cd b { display: block; font: 700 30px/1 var(--serif); } .cd small { font-size: 11px; opacity: .85; }
.big { font: 700 30px var(--serif); }
.hero-place { opacity: .9; }
.hero-tree svg { width: 110px; height: 136px; display: block; filter: drop-shadow(0 6px 10px rgba(0,0,0,.3)); }
.twinkle { transform-origin: 60px 10px; animation: glow 2.2s ease-in-out infinite; }
.bulb { animation: bulb 1.8s ease-in-out infinite; } .b2 { animation-delay: .6s; } .b3 { animation-delay: 1.2s; }
@keyframes bulb { 50% { opacity: .35; } }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
@media (max-width: 560px) { .stats { grid-template-columns: repeat(2, 1fr); } .hero-tree svg { width: 80px; height: 100px; } }
.stat { background: var(--cream); border: 0; border-radius: var(--r); padding: 12px 8px; display: grid; justify-items: center; box-shadow: var(--shadow); position: relative; color: var(--ink); }
.ring { width: 58px; height: 58px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: var(--line); stroke-width: 5; } .ring .fg { stroke: var(--green); stroke-linecap: round; transition: stroke-dasharray .6s; }
.stat-ic { position: absolute; top: 28px; font-size: 20px; }
.stat b { font-size: 18px; margin-top: 4px; } .stat small { color: var(--muted); font-size: 12px; }
.feed { list-style: none; padding: 0; margin: 0; } .feed li { padding: 6px 0; border-bottom: 1px dashed var(--line); }
.feed li:last-child { border: 0; }
.who-txt-r { color: #1f6fb2; } .who-txt-n { color: #b02a6b; }

/* listas */
.quick { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.quick input, .quick select { padding: 11px 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,.2); background: #fff; font: inherit; min-width: 0; }
.quick input[name=title] { flex: 1 1 240px; } .w-qty { width: 90px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; align-items: center; }
.chip { border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; border-radius: 99px; padding: 6px 12px; font-size: 14px; }
.chip.on { background: var(--gold); color: var(--pine); border-color: var(--gold); font-weight: 600; }
.panel .chip { color: var(--ink); border-color: var(--line); background: #fff; }
.list .row, .row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.row-main { flex: 1; text-align: left; background: none; border: 0; padding: 2px 0; display: flex; flex-direction: column; color: inherit; min-width: 0; }
.row-title { font-weight: 600; } .row-note { color: var(--muted); font-size: 13px; }
.row.done .row-title { text-decoration: line-through; color: var(--muted); font-weight: 400; }
.qty { font-weight: 400; color: var(--muted); }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check span { display: block; width: 26px; height: 26px; border-radius: 8px; border: 2px solid #b9b09b; background: #fff; transition: .15s; position: relative; }
.check input:checked + span { background: var(--green); border-color: var(--green); }
.check input:checked + span::after { content: '✓'; color: #fff; position: absolute; inset: 0; display: grid; place-items: center; font-weight: 700; }
.check input:focus-visible + span { outline: 3px solid var(--gold); }
.due { font-size: 12px; padding: 2px 8px; border-radius: 99px; background: #efe7d6; white-space: nowrap; }
.due.late { background: #ffd9d6; color: #a1121a; font-weight: 600; } .due.today { background: var(--gold2); font-weight: 600; }
.who { border: 0; border-radius: 99px; padding: 3px 10px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.who-r { background: #dcecfb; color: #1f5f99; } .who-n { background: #fbdcec; color: #962258; } .who-b { background: #e4f3e8; color: #23683f; }
.starter { background: rgba(244,198,78,.12); border: 1px dashed var(--gold); color: #fff; border-radius: var(--r); padding: 14px 18px; }
.btn { border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 12px; padding: 10px 14px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.btn.small { padding: 5px 10px; font-size: 13px; }
.btn.primary { background: var(--red); color: #fff; border-color: var(--red); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--pine); }
.btn.danger { color: var(--red); } .btn.wa { background: #25d366; color: #fff; border-color: #25d366; }
.btn.big { width: 100%; justify-content: center; padding: 14px; font-size: 17px; }
.course-head { display: flex; justify-content: space-between; align-items: center; }
.dish { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.dish:last-child { border: 0; }
.dish-name { font: 700 17px var(--serif); } .ingr { font-size: 13px; color: #6b5a2d; margin-top: 2px; }
.dish-side { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.send-row { display: flex; gap: 8px; flex-wrap: wrap; }
.status { font-size: 13px; } .st-sim { background: #e4f3e8 !important; } .st-nao { background: #ffe1df !important; } .st-talvez { background: #fff2cf !important; }

/* formulários */
.field { display: block; margin-bottom: 10px; } .field span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 3px; }
.field input, .field select, .field textarea { width: 100%; padding: 10px 12px; border: 1px solid #d9cfbb; border-radius: 10px; font: inherit; background: #fff; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.toggle { display: flex; gap: 8px; align-items: center; margin: 6px 0; font-size: 14px; }
dialog { border: 0; border-radius: 20px; padding: 20px; width: min(520px, 94vw); background: var(--cream); box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(5,15,10,.6); backdrop-filter: blur(3px); }
dialog h2 { font: 700 22px var(--serif); margin: 0 0 12px; color: var(--pine); }
.dlg-actions { display: flex; gap: 8px; margin-top: 8px; }
.toast { position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 20px); opacity: 0; transition: .25s; background: var(--pine); color: #fff;
  padding: 10px 18px; border-radius: 99px; z-index: 70; border: 1px solid var(--gold); pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* entrada */
.overlay { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px;
  background: radial-gradient(800px 500px at 50% 0%, #2a5a40, transparent 70%), rgba(8,20,14,.96); }
.login-box { background: var(--cream); border-radius: 24px; padding: 28px 24px; width: min(400px, 100%); text-align: center; box-shadow: var(--shadow); }
.login-star { font-size: 48px; color: var(--gold); text-shadow: 0 0 20px rgba(244,198,78,.8); }
.login-box h1 { font: 700 26px var(--serif); margin: 4px 0; color: var(--pine); }
.who-pick { display: flex; gap: 10px; margin: 10px 0 16px; }
.who-pick label { flex: 1; } .who-pick input { position: absolute; opacity: 0; }
.who-pick span { display: block; padding: 14px; border-radius: 14px; border: 2px solid var(--line); font-weight: 700; background: #fff; }
.who-pick input:checked + span { border-color: var(--red); background: #fff1f0; color: var(--red); }
.who-pick input:focus-visible + span { outline: 3px solid var(--gold); }
.login-box .field { text-align: left; }
.err { color: var(--red); font-weight: 600; }

/* cartão: editor */
.card-layout { display: grid; gap: 14px; margin-bottom: 14px; }
@media (min-width: 900px) { .card-layout { grid-template-columns: 340px 1fr; align-items: start; } .card-controls { position: sticky; top: 10px; } }
.styles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.style-pick { border: 2px solid transparent; border-radius: 12px; padding: 10px 6px; display: grid; gap: 2px; font-size: 13px; }
.style-pick small { font-size: 11px; opacity: .8; }
.style-pick.on { border-color: var(--red); box-shadow: 0 0 0 3px rgba(192,38,45,.2); }
.sp-classic { background: #f7efdc; color: #1f4d33; } .sp-nordic { background: #eef4f8; color: #24405a; } .sp-velvet { background: #7a1219; color: #f4d58a; }
.card-preview { display: flex; justify-content: center; align-items: flex-start; }

/* ===== o cartão da ementa (alta gama) ===== */
.menu-card {
  --display: 'Bodoni 72', Didot, 'Bodoni MT', 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --book: 'Cormorant Garamond', 'EB Garamond', Garamond, 'Palatino Linotype', Palatino, Georgia, serif;
  --foil: linear-gradient(100deg, #7a5a17 0%, #c99a3a 22%, #f6e3a1 45%, #d4a94a 60%, #8c6a1e 82%, #c99a3a 100%);
  width: min(520px, 100%); min-height: calc(min(520px, 100vw - 36px) * 1.419); font-family: var(--book);
  position: relative; border-radius: 3px; display: flex; overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,.2), 0 24px 60px rgba(0,0,0,.5);
}
/* textura de papel */
.menu-card::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .45 0 0 0 0 .35 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.mc-frame { flex: 1; margin: 18px; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 8% 10% 7%; position: relative; z-index: 1;
  border: 1px solid var(--line-c); outline: 1px solid var(--line-c); outline-offset: 5px; }
.mc-corner { position: absolute; width: 54px; height: 54px; z-index: 2; background: var(--orn-c);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round'%3E%3Cpath d='M4 56V14Q4 4 14 4h42'/%3E%3Cpath d='M10 40q0-22 18-28q-14 10-10 26M40 10q-22 0-28 18q10-14 26-10'/%3E%3Ccircle cx='20' cy='20' r='2.2' fill='%23000'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round'%3E%3Cpath d='M4 56V14Q4 4 14 4h42'/%3E%3Cpath d='M10 40q0-22 18-28q-14 10-10 26M40 10q-22 0-28 18q10-14 26-10'/%3E%3Ccircle cx='20' cy='20' r='2.2' fill='%23000'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat; }
.mc-corner.tl { top: 8px; left: 8px; } .mc-corner.tr { top: 8px; right: 8px; transform: scaleX(-1); }
.mc-corner.bl { bottom: 8px; left: 8px; transform: scaleY(-1); } .mc-corner.br { bottom: 8px; right: 8px; transform: scale(-1); }
.mc-top { color: var(--orn-c); }
.crest { width: 92px; height: 70px; display: block; }
.crest-year { font: 600 15px var(--display); letter-spacing: 1px; }
.crest .berry { fill: #a3182a; }
.mc-sub { font: 500 11px var(--sans); letter-spacing: .38em; text-transform: uppercase; margin-top: 10px; opacity: .85; }
.mc-title { font: 400 clamp(30px, 7vw, 44px)/1.05 var(--display); letter-spacing: .01em; margin: 8px 0 8px; font-style: italic; }
.mc-date { font: italic 15px var(--book); } .mc-date::first-letter, .eyebrow::first-letter { text-transform: uppercase; }
.mc-place { font: 500 10px var(--sans); letter-spacing: .3em; text-transform: uppercase; opacity: .75; margin-top: 4px; }
.mc-rule { width: 46%; height: 9px; margin: 16px auto 10px; flex: none; position: relative; }
.mc-rule::before { content: ''; position: absolute; left: 0; right: 0; top: 4px; height: 1px; background: linear-gradient(90deg, transparent, var(--line-c) 20%, var(--line-c) 80%, transparent); }
.mc-rule::after { content: ''; position: absolute; left: 50%; top: 0; width: 7px; height: 7px; margin-left: -4px; transform: rotate(45deg); background: var(--orn-c); box-shadow: 0 0 0 3px var(--paper); }
.mc-body { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 100%; }
.mc-course h3 { display: flex; align-items: center; gap: 12px; font: 600 10px var(--sans); letter-spacing: .34em; text-transform: uppercase; margin: 10px 0 6px; color: var(--accent); }
.mc-course h3::before, .mc-course h3::after { content: ''; flex: 1; height: 1px; background: var(--line-c); opacity: .7; }
.mc-course h3 span { padding-left: .34em; }
.mc-dish { margin-bottom: 7px; }
.mc-name { font: 500 19px/1.2 var(--book); letter-spacing: .02em; }
.mc-desc { font: italic 14px/1.35 var(--book); opacity: .78; margin-top: 1px; }
.mc-by { display: block; font: 500 9px var(--sans); letter-spacing: .25em; text-transform: uppercase; opacity: .55; margin-top: 3px; }
.mc-footer { font: italic 400 22px var(--display); }
.mc-sign { font: italic 14px var(--book); margin-top: 6px; opacity: .8; }
.mc-empty { font: italic 16px var(--book); opacity: .7; }

.mc-classic { --paper: #fbf6ea; --line-c: #b8913f; --orn-c: #b08a3a; --accent: #8e1d26; color: #1e3326;
  background: radial-gradient(ellipse at 50% 0%, #fffdf7 0%, #f8f0de 55%, #efe2c4 100%); }
.mc-classic .mc-title, .mc-velvet .mc-title { background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mc-classic .mc-top { color: #2c5a3d; }
.mc-nordic { --paper: #f7fafc; --line-c: #9fb7c9; --orn-c: #7d9bb3; --accent: #3d5f7c; color: #1f3347;
  background: radial-gradient(ellipse at 50% 0%, #ffffff 0%, #f3f7fa 60%, #e3ecf2 100%); }
.mc-nordic .mc-title { font-style: normal; text-transform: uppercase; letter-spacing: .14em; font-size: clamp(22px, 5vw, 32px); color: #1f3347; }
.mc-velvet { --paper: #5a0d14; --line-c: rgba(222,186,104,.75); --orn-c: #d9b05a; --accent: #e6c47a; color: #f5e6c4;
  background: radial-gradient(ellipse at 50% 15%, #8a1822 0%, #5f0e16 55%, #3d070c 100%); }
.mc-velvet::before { mix-blend-mode: overlay; opacity: .6; }
.mc-velvet .mc-top { filter: drop-shadow(0 0 6px rgba(244,198,78,.55)); }

.mc-dense .mc-name { font-size: 16.5px; } .mc-dense .mc-desc { font-size: 12.5px; } .mc-dense .mc-dish { margin-bottom: 4px; } .mc-dense .mc-title { font-size: clamp(26px, 6vw, 36px); } .mc-dense .mc-rule { margin: 10px auto 6px; } .mc-dense .crest { width: 74px; height: 56px; }
.mc-dense2 .mc-name { font-size: 14.5px; } .mc-dense2 .mc-desc { font-size: 11.5px; } .mc-dense2 .mc-course h3 { margin: 5px 0 3px; }

/* impressão: só o cartão, em A5 */
@media print {
  @page { size: A5 portrait; margin: 0; }
  body { background: none !important; padding: 0; }
  .no-print, .lights, .snow, .confetti, .tabs, .top, .progress, .page-title, .toast, .card-controls { display: none !important; }
  .view { padding: 0; max-width: none; }
  .card-layout { display: block; margin: 0; }
  .menu-card { width: 148mm; height: 210mm; min-height: 0; overflow: hidden; box-shadow: none; border-radius: 0; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* página pública da ementa */
.public { display: grid; place-items: center; padding: 24px 14px 40px; gap: 18px; }
.public-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
@media (max-width: 480px) {
  .top { padding: 8px 12px 4px; } .brand-title { font-size: 18px; } .brand-star { font-size: 24px; }
  .icon-btn { width: 36px; height: 36px; font-size: 16px; } .sync { display: none; }
  .page-title { font-size: 24px; } .page-title small { display: block; margin: 2px 0 0; }
  .progress-label { font-size: 11.5px; }
}

/* dois dias */
.ev-chips .chip { font-size: 15px; padding: 8px 14px; }
.hero-events { display: grid; gap: 3px; font-size: 14px; margin-top: 6px; }
.hero-events div { opacity: .75; } .hero-events div.next { opacity: 1; }
.hero-events div::first-letter { text-transform: none; }

/* gastos */
.price { font-weight: 700; color: var(--pine); white-space: nowrap; }
.money-top { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 8px; }
.money-top div { background: #fff; border-radius: 12px; padding: 10px; text-align: center; border: 1px solid var(--line); }
.money-top small { display: block; color: var(--muted); font-size: 12px; } .money-top b { font-size: 18px; }
.money-total { color: var(--red); font-size: 22px !important; }
.settle { background: #fff7e0; border-radius: 12px; padding: 10px 12px; margin: 6px 0 10px; }
.money-h { font: 600 13px var(--sans); text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin: 8px 0 6px; }
.bar-row { display: grid; grid-template-columns: minmax(90px, 1fr) 2fr auto; gap: 10px; align-items: center; padding: 4px 0; font-size: 14px; }
.bar { height: 10px; background: #efe7d6; border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--green), var(--gold)); border-radius: 99px; }
@media (max-width: 480px) { .money-top b { font-size: 15px; } .money-total { font-size: 18px !important; } }
.public-cards { display: grid; gap: 28px; justify-items: center; width: 100%; }
@media print { .public-cards { gap: 0; } .public-cards .menu-card { break-after: page; } .public-actions { display: none; } }
.money-top { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.settle div { margin-top: 4px; font-weight: 600; }
.tabs i { font-style: normal; }
.lang-pick { height: 36px; border-radius: 99px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.07); color: #fff; padding: 0 8px; font: inherit; font-size: 13px; }
.lang-pick option { color: #000; }
.login-lang { float: right; background: #fff; color: var(--ink); border-color: var(--line); }
.lang-chips .chip { color: var(--ink); }
@media (max-width: 480px) { .lang-pick { width: 56px; padding: 0 4px; } }
.public-langs { justify-content: center; } .public-langs .chip { font-size: 13px; }
@media print { .public-langs { display: none; } }

/* compras por dia */
.chip-n { display: inline-block; min-width: 1.5em; padding: 0 .35em; margin-left: .25em; border-radius: 99px; background: rgba(255,255,255,.18); font-size: .8em; text-align: center; }
.day-tag { display: inline-block; font-size: .72em; padding: 1px 6px; margin-left: 4px; border-radius: 99px; background: rgba(244,198,78,.16); color: #f4c64e; white-space: nowrap; vertical-align: middle; }
.per-day { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 8px 0 4px; font-size: .92em; opacity: .9; }
/* lista de compras por baixo de cada parte da ementa */
.course-shop { margin: 10px 0 2px 14px; padding: 8px 0 2px 12px; border-left: 2px dashed rgba(244,198,78,.45); position: relative; }
.course-shop::before { content: ''; position: absolute; left: -2px; top: 0; width: 10px; height: 2px; background: rgba(244,198,78,.45); }
.cs-head { font-size: .85em; letter-spacing: .04em; color: #f4c64e; margin-bottom: 4px; }
.row.mini { padding: 4px 0; font-size: .94em; }
.quick.mini { margin-top: 6px; gap: 6px; }
.quick.mini input { padding: 6px 8px; font-size: .9em; }
/* inventário por dia e por ementa */
.inv-head h2 { margin: 6px 0 2px; }
.inv-part h2 small { font-weight: 400; font-size: .7em; margin-left: 6px; }
.inv-dish { font-size: 1em; margin: 12px 0 4px; }
.inv-table { width: 100%; border-collapse: collapse; font-size: .92em; }
.inv-table th { text-align: left; font-weight: 600; font-size: .78em; text-transform: uppercase; letter-spacing: .05em; opacity: .65; padding: 4px 6px; border-bottom: 1px solid var(--line, #ddd); }
.inv-table td { padding: 4px 6px; border-bottom: 1px solid rgba(0,0,0,.06); vertical-align: middle; }
.inv-table td:first-child, .inv-table th:first-child { width: 34px; padding-left: 0; }
.inv-table .num { text-align: right; white-space: nowrap; }
.inv-table tr.done td:nth-child(2) { text-decoration: line-through; opacity: .6; }
.link-row { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
@media (max-width: 560px) { .inv-table th:nth-child(5), .inv-table td:nth-child(5) { display: none; } }
@media print {
  body.printing-inv .ev-chips, body.printing-inv .no-print { display: none !important; }
  body.printing-inv { background: #fff !important; color: #000; }
  body.printing-inv .view { padding: 0 !important; }
  body.printing-inv .panel { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; margin-bottom: 8px; background: #fff; }
  body.printing-inv .inv-table td:nth-child(5), body.printing-inv .inv-table th:nth-child(5) { display: table-cell; }
}
/* fotos (ou círculos com iniciais) */
.av { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; display: inline-flex; align-items: center; justify-content: center; flex: none; vertical-align: middle;
  box-shadow: 0 0 0 2px #fff, 0 1px 3px rgba(0,0,0,.25); }
.av-ph { background: hsl(var(--h, 200) 55% 42%); color: #fff; font: 700 13px/1 var(--sans, system-ui); letter-spacing: .02em; }
.av-ph.av-r { background: #2f7cc0; } .av-ph.av-n { background: #c2407f; }
.av-xs { width: 18px; height: 18px; font-size: 8px; box-shadow: 0 0 0 1.5px #fff; margin-right: 4px; }
.av-sm { width: 26px; height: 26px; font-size: 11px; margin-right: 6px; }
.av-md { width: 38px; height: 38px; font-size: 14px; }
.av-lg { width: 72px; height: 72px; font-size: 24px; }
.av-xl { width: 96px; height: 96px; font-size: 32px; box-shadow: 0 0 0 3px #f4c64e, 0 4px 14px rgba(0,0,0,.3); }
.av-pair { display: inline-flex; margin-right: 4px; } .av-pair .av { margin-right: 0; } .av-pair .av + .av { margin-left: -7px; }
.who { display: inline-flex; align-items: center; }
.av-btn { position: relative; background: none; border: 0; padding: 0; cursor: pointer; border-radius: 50%; flex: none; }
.av-cam { position: absolute; right: -2px; bottom: -2px; width: 26px; height: 26px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 14px; box-shadow: 0 1px 4px rgba(0,0,0,.3); }
.photo-tiles { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; margin: 8px 0 4px; }
.photo-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.guest-row { gap: 10px; align-items: center; }
.photo-field { display: flex; align-items: center; gap: 14px; }
.brand-sub { display: flex; align-items: center; gap: 2px; }
.feed li { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.who-pick span { display: flex; align-items: center; gap: 10px; }
/* datas e horas à europeia por cima do seletor do telemóvel */
.dt-wrap { position: relative; display: inline-flex; align-items: center; min-width: 120px; min-height: 40px; padding: 0 12px; border: 1px solid var(--line, #ddd); border-radius: 12px; background: #fff; color: var(--ink, #222); font: inherit; }
.field .dt-wrap { display: flex; width: 100%; box-sizing: border-box; }
.dt-show { pointer-events: none; font-variant-numeric: tabular-nums; }
.dt-show.empty { opacity: .45; }
.dt-wrap input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; border: 0; margin: 0; padding: 0; cursor: pointer; }
/* convite pessoal (invite.html) */
.invite { max-width: 560px; margin: 0 auto; }
.invite .panel { text-align: center; }
.inv-hero { padding-top: 26px; }
.inv-hero .av-xl { margin: 0 auto; }
.inv-hello { font: italic 400 30px/1.15 var(--serif, Georgia, serif); margin: 14px 0 6px; }
.inv-note { font-size: 17px; line-height: 1.55; margin: 0 auto; max-width: 30em; }
.inv-ev h2, .inv-reply h2, .inv-who h2 { margin: 0 0 6px; }
.inv-when { margin: 0 0 10px; font-size: 16px; line-height: 1.5; }
.inv-when::first-letter { text-transform: uppercase; }
.inv-what { text-align: left !important; } .inv-what h3 { margin: 0 0 4px; } .inv-what p { margin: 0; line-height: 1.5; }
.inv-reply { text-align: left !important; } .inv-reply h2 { text-align: center; }
.inv-choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0 14px; }
.inv-choice { border: 2px solid var(--line, #ddd); background: #fff; border-radius: 14px; padding: 12px 4px; font: 600 15px var(--sans, system-ui); cursor: pointer; color: inherit; }
.inv-choice.on.ch-sim { border-color: #2e8b57; background: #e7f6ec; color: #1d6b40; }
.inv-choice.on.ch-talvez { border-color: #d49a1f; background: #fdf3dc; color: #7a5208; }
.inv-choice.on.ch-nao { border-color: #b4423f; background: #fbe9e8; color: #8a2523; }
.inv-reply .btn.primary { width: 100%; margin-top: 6px; }
.inv-err { color: #b4423f; font-size: 14px; margin: 6px 0 0; }
.inv-thanks { text-align: center; font-size: 17px; margin: 14px 0 0; }
.inv-thanks small { opacity: .7; font-size: 13px; }
.inv-faces { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; margin: 8px 0; }
.inv-actions { justify-content: center; }
.inv-menu-h { text-align: center; color: #fff; margin: 22px 0 10px; font-family: var(--serif, Georgia, serif); }
.inv-sign { text-align: center; color: var(--gold2, #f4d58d); font: italic 18px var(--serif, Georgia, serif); margin: 18px 0 8px; }
/* na app: botões do convite em cada convidado */
.guest-row .inv-btn { white-space: nowrap; }
.reply-msg { font-style: italic; }

/* Mensagens de voz */
.voice-field { display: grid; gap: 8px; }
.voice-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.voice-btns { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-left: auto; }
.btn.rec-on { background: var(--red); color: #fff; border-color: var(--red); animation: recPulse 1.2s ease-in-out infinite; }
@keyframes recPulse { 50% { box-shadow: 0 0 0 6px rgba(192,38,45,.25); } }
.vc-note { color: var(--muted); }
.inv-voice { margin-top: 14px; }
.inv-voice-h { margin: 0 0 8px; color: var(--muted); font-size: 14px; }
.inv-voice-btns { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.inv-vbtn { display: inline-flex; align-items: center; gap: 6px; }
.inv-vbtn.on { background: var(--red); color: #fff; border-color: var(--red); }
@media (prefers-reduced-motion: reduce) { .btn.rec-on { animation: none; } }
/* dentro da janela de edição: .field span / input não se aplicam aqui */
.field .voice-field { display: grid; gap: 8px; margin: 4px 0 6px; }
.field .voice-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0; font-size: 14px; color: var(--ink); }
.field .voice-row .av { display: inline-flex; margin: 0; }
.field .voice-row .av-xs { width: 26px; height: 26px; font-size: 11px; }
.field .voice-btns { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; margin: 0 0 0 auto; font-size: inherit; color: inherit; }
.field .voice-btns .muted { margin: 0; }
.field input[type=checkbox] { width: auto; padding: 0; }
.field .inv-days { display: flex; flex-direction: column; gap: 2px; margin: 0; color: var(--ink); font-size: 14px; }
.field .inv-days .toggle { justify-content: flex-start; margin: 4px 0; }
/* no convite: o cartão só tão alto quanto o que tem (sem meia página vazia) */
@media screen { .invite .menu-card { min-height: 0; } }
/* Ecrã de agradecimento – festa de Natal disco (o "pulso" segue a música: 122 batidas por minuto = 0,49 s) */
body.thx-open { overflow: hidden; }
.thx { --beat: .4918s; position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; overflow: hidden;
  background: radial-gradient(ellipse at 50% 0%, #3a0d5c 0%, #1a0630 45%, #07020f 100%); animation: thxIn .4s ease-out; }
.thx-beams { position: absolute; inset: -50%; pointer-events: none; mix-blend-mode: screen; opacity: .55;
  background: conic-gradient(from 0deg at 50% 50%, transparent 0 8deg, rgba(255,79,216,.55) 10deg 14deg, transparent 16deg 52deg, rgba(79,243,255,.5) 54deg 58deg, transparent 60deg 100deg,
    rgba(255,211,77,.55) 102deg 106deg, transparent 108deg 150deg, rgba(125,255,122,.45) 152deg 156deg, transparent 158deg 200deg, rgba(255,79,216,.5) 202deg 206deg, transparent 208deg 250deg,
    rgba(79,243,255,.5) 252deg 256deg, transparent 258deg 300deg, rgba(255,211,77,.5) 302deg 306deg, transparent 308deg 360deg);
  animation: beams 14s linear infinite; filter: blur(6px); }
.thx-floor { position: absolute; left: -20%; right: -20%; bottom: -8%; height: 38%; pointer-events: none; transform: perspective(420px) rotateX(62deg); transform-origin: bottom; opacity: .55;
  background: linear-gradient(90deg, #ff4fd8 2px, transparent 2px) 0 0/60px 60px, linear-gradient(0deg, #4ff3ff 2px, transparent 2px) 0 0/60px 60px,
    linear-gradient(0deg, rgba(255,79,216,.25), transparent); animation: floor calc(var(--beat) * 4) linear infinite; }
.thx-glitter { position: absolute; inset: 0; pointer-events: none; }
.thx-glitter .gl { position: absolute; top: -6%; left: var(--x); color: var(--c); font-style: normal; font-size: 14px; text-shadow: 0 0 8px var(--c);
  animation: fall var(--d) linear var(--w) infinite; opacity: 0; }
.thx-card { position: relative; width: min(500px, 100%); max-height: calc(100vh - 32px); overflow: auto; text-align: center; padding: 64px 20px 20px; border-radius: 26px; color: #fff;
  background: linear-gradient(160deg, rgba(110,18,40,.92), rgba(60,8,52,.92) 55%, rgba(20,10,48,.94)); backdrop-filter: blur(6px);
  box-shadow: 0 0 0 2px #ffd34d, 0 0 26px rgba(255,211,77,.55), 0 0 60px rgba(255,79,216,.35);
  animation: pulse var(--beat) ease-out infinite; scrollbar-width: none; }
.thx-x { position: absolute; top: 12px; right: 12px; z-index: 3; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.25); color: #fff; font-size: 16px; cursor: pointer; }
/* bola de espelhos que também é bola de Natal */
.ball-wrap { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 64px; height: 70px; pointer-events: none; }
.ball-string { position: absolute; left: 31px; top: 0; width: 2px; height: 10px; background: #ffd34d; }
.ball-cap { position: absolute; left: 24px; top: 9px; width: 16px; height: 8px; border-radius: 3px 3px 1px 1px; background: linear-gradient(90deg, #a8801c, #ffe48a, #a8801c); z-index: 1; }
.ball { position: absolute; left: 6px; top: 14px; width: 52px; height: 52px; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.95) 0 6%, transparent 22%),
    repeating-linear-gradient(90deg, transparent 0 6px, rgba(0,0,0,.35) 6px 7px), repeating-linear-gradient(0deg, transparent 0 6px, rgba(0,0,0,.35) 6px 7px),
    conic-gradient(#c9d6ff, #ff9de9, #fff6c2, #9ff9ff, #d7ffd0, #c9d6ff);
  background-size: auto, 70px 100%, 100% 100%, 100% 100%; box-shadow: 0 0 18px rgba(255,255,255,.7), 0 0 40px rgba(79,243,255,.5); animation: spin 3s linear infinite; }
.thx-lights { display: flex; justify-content: space-between; margin: -18px 6px 6px; }
.thx-lights i { width: 10px; height: 14px; border-radius: 50% 50% 45% 45%; background: var(--c, #ff4f5e); box-shadow: 0 0 10px var(--c, #ff4f5e); animation: twinkle calc(var(--beat) * 2) ease-in-out infinite; }
.thx-lights i:nth-child(4n+2) { --c: #ffd34d; animation-delay: calc(var(--beat) * .5); }
.thx-lights i:nth-child(4n+3) { --c: #4ff3ff; animation-delay: var(--beat); }
.thx-lights i:nth-child(4n) { --c: #7dff7a; animation-delay: calc(var(--beat) * 1.5); }
.thx-big { margin: 6px 0 10px; font: italic 800 clamp(44px, 12vw, 64px)/1.05 var(--serif, Georgia, serif); letter-spacing: .5px;
  background: linear-gradient(100deg, #b8860b 0%, #ffe9a3 20%, #fff 28%, #ffd34d 40%, #b8860b 60%, #ffe9a3 80%, #b8860b 100%) 0 0/250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 0 rgba(0,0,0,.35)) drop-shadow(0 0 14px rgba(255,211,77,.5)); animation: shine 3s linear infinite; }
.thx-faces { display: flex; justify-content: center; align-items: flex-end; gap: 4px; margin: 26px 0 4px; }
.thx-face { position: relative; display: inline-block; animation: bop var(--beat) ease-in-out infinite alternate; }
.thx-face.f2 { animation-delay: calc(var(--beat) / 2); }
.thx-face.f3 { animation-delay: var(--beat); }
.thx-face .av { width: 62px; height: 62px; font-size: 20px; box-shadow: 0 0 0 3px #ffd34d, 0 0 16px rgba(255,79,216,.8); }
.thx-face.guest .av { width: 88px; height: 88px; font-size: 30px; box-shadow: 0 0 0 4px #fff, 0 0 0 7px #ff4fd8, 0 0 26px rgba(79,243,255,.9); }
.thx-face .hat { position: absolute; width: 46px; top: -26px; left: 50%; transform: translateX(-38%) rotate(-12deg); z-index: 2; filter: drop-shadow(0 2px 2px rgba(0,0,0,.4)); }
.thx-face.guest .hat { width: 60px; top: -32px; }
.thx-h { margin: 12px 8px 8px; font: 700 22px/1.25 var(--serif, Georgia, serif); color: #fff; text-shadow: 0 0 12px rgba(255,79,216,.8); }
.thx-media:not(:empty) { margin: 10px 0 6px; padding: 4px; border-radius: 16px; background: linear-gradient(90deg, #ffd34d, #ff4fd8, #4ff3ff, #ffd34d) 0 0/300% 100%; animation: shine 4s linear infinite; }
.thx-video { width: 100%; max-height: 56vh; border-radius: 12px; background: #000; display: block; }
.thx-txt { margin: 10px 4px 14px; font-size: 16px; line-height: 1.5; color: #ffeefa; }
.tkts { display: grid; gap: 10px; margin: 0 0 12px; }
.tkt { position: relative; display: grid; gap: 2px; padding: 12px 16px 12px 22px; text-align: left; color: #3b2300; border-radius: 10px;
  background: linear-gradient(110deg, #c8961e, #ffe48a 30%, #f2c443 55%, #ffe9a3 75%, #c8961e) 0 0/200% 100%; animation: shine 5s linear infinite;
  -webkit-mask: radial-gradient(circle 9px at 0 50%, transparent 98%, #000), radial-gradient(circle 9px at 100% 50%, transparent 98%, #000);
  -webkit-mask-composite: source-in; mask-composite: intersect; }
.tkt::after { content: "🎟️"; position: absolute; top: 50%; right: 18px; transform: translateY(-50%) rotate(-12deg); font-size: 30px; padding-left: 16px; border-left: 2px dashed rgba(59,35,0,.35); }
.tkt-vip { font: 800 10px/1 var(--sans); letter-spacing: 2px; color: #8a1c3d; }
.tkt b { font: 700 18px/1.2 var(--serif, Georgia, serif); padding-right: 70px; }
.tkt-when { font-weight: 700; font-size: 15px; text-transform: capitalize; padding-right: 70px; }
.tkt-place { font-size: 13px; opacity: .85; padding-right: 70px; }
.thx-diet { margin: 0 0 12px; font-size: 14px; color: #c9f6ff; }
.thx-sign { margin: 4px 0 14px; color: #ffe9a3; font: italic 16px/1.4 var(--serif, Georgia, serif); }
.thx-sign b { font-size: 20px; color: #fff; text-shadow: 0 0 10px rgba(255,211,77,.7); }
.thx .thx-music { background: linear-gradient(90deg, #ff4fd8, #7a3cff); color: #fff; border: 0; box-shadow: 0 0 16px rgba(255,79,216,.6); font-weight: 700; padding: 10px 22px; }
.thx-yt:not(:empty) { margin: 4px 0 12px; aspect-ratio: 16 / 9; }
.thx-yt iframe { width: 100%; height: 100%; border: 0; border-radius: 12px; }
.thx-again { margin-top: 10px; }
@keyframes thxIn { from { opacity: 0; transform: scale(1.04); } }
@keyframes beams { to { transform: rotate(360deg); } }
@keyframes floor { to { background-position: 0 60px, 0 60px, 0 0; } }
@keyframes fall { 0% { transform: translateY(0) rotate(0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(112vh) rotate(360deg); opacity: 0; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 2px #ffd34d, 0 0 34px rgba(255,211,77,.8), 0 0 80px rgba(255,79,216,.55); } 100% { box-shadow: 0 0 0 2px #ffd34d, 0 0 22px rgba(255,211,77,.45), 0 0 50px rgba(255,79,216,.25); } }
@keyframes spin { to { background-position: 0 0, 70px 0, 0 0, 0 0; filter: hue-rotate(360deg); } }
@keyframes twinkle { 50% { opacity: .35; transform: scale(.85); } }
@keyframes shine { to { background-position: -250% 0; } }
@keyframes bop { to { transform: translateY(-6px) rotate(2deg); } }
@media (prefers-reduced-motion: reduce) { .thx, .thx *, .thx-card { animation: none !important; } .thx-glitter { display: none; } }
/* Modo simples (Natalia): menos coisas, letras e botões maiores */
body.simple #progress, body.simple #btnSnow, body.simple #btnMusic, body.simple #nowPlaying, body.simple .lights { display: none !important; }
body.simple .view { font-size: 17px; }
.sm-hello { text-align: center; padding: 22px 16px 18px; margin-bottom: 14px; border-radius: 20px; color: #fff; background: linear-gradient(160deg, #8e1b2c, #5c0f1c); box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.sm-hi { display: flex; align-items: center; justify-content: center; gap: 10px; font: 700 22px/1.2 var(--serif, Georgia, serif); }
.sm-count { margin-top: 12px; font-size: 18px; }
.sm-count b { display: block; font: 800 64px/1 var(--serif, Georgia, serif); color: #ffd34d; text-shadow: 0 2px 12px rgba(255,211,77,.4); }
.sm-when { margin-top: 8px; font-size: 15px; opacity: .9; text-transform: none; }
.sm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.sm-tile { display: grid; justify-items: center; gap: 4px; padding: 18px 8px; min-height: 120px; border: 0; border-radius: 18px; cursor: pointer; background: #fffaf0; color: #2b1a10; box-shadow: 0 3px 10px rgba(0,0,0,.18); font: inherit; }
.sm-tile:active { transform: scale(.97); }
.sm-ic { font-size: 38px; line-height: 1; }
.sm-tile b { font-size: 18px; }
.sm-tile small { font-size: 14px; color: #7a5a3a; }
.sm-todo h2 { font-size: 20px; }
body.simple .sm-todo .row { padding: 12px 4px; }
body.simple .sm-todo .row-title { font-size: 17px; }
.sm-free { font-size: 17px; text-align: center; padding: 10px 0; }
.sm-switch { text-align: center; margin: 18px 0 8px; }
.sm-switch .link { font-size: 15px; }
