:root {
  --ink: #3b2f2a;
  --ink2: #6e5d55;
  --muted: #a0908a;
  --card: #ffffff;
  --line: #f1e4dc;
  --peach: #ffb38a;
  --peach-d: #ff8f61;
  --peach-l: #fff0e7;
  --mint: #8fd6c2;
  --mint-d: #4fb89d;
  --mint-l: #e6f7f1;
  --lav: #b9a6f2;
  --lav-d: #8c74e0;
  --lav-l: #f1ecff;
  --butter: #ffd98a;
  --butter-l: #fff6df;
  --rose: #ffb3c1;
  --shadow: 0 10px 30px rgba(170, 110, 85, 0.12);
  --shadow-s: 0 4px 14px rgba(170, 110, 85, 0.1);
  --r: 28px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: ui-rounded, "SF Pro Rounded", "Nunito", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  background: linear-gradient(180deg, #fff7f0 0%, #ffeef1 55%, #f4efff 100%) fixed;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  min-height: 100vh;
}
body.has-tabs .screen { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
.screen {
  max-width: 480px;
  margin: 0 auto;
  padding: calc(14px + env(safe-area-inset-top)) 18px calc(32px + env(safe-area-inset-bottom));
  min-height: 100vh;
  animation: fadein 0.35s ease;
}
@keyframes fadein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.center { text-align: center; }
h1, h2, h3 { letter-spacing: -0.01em; }
h1.title { font-size: 30px; font-weight: 800; margin: 10px 0 4px; }
h2 { font-size: 24px; font-weight: 800; margin: 6px 0 12px; }
h3.sec { font-size: 18px; font-weight: 800; margin: 26px 2px 12px; color: var(--ink); }
.muted { color: var(--muted); font-size: 15px; font-weight: 500; }
.muted.small { font-size: 13px; margin: 10px 0 0; }
.hidden { display: none !important; }
.loading { display: flex; align-items: center; justify-content: center; }

/* ---------- совёнок ---------- */
.owlbox { display: flex; flex-direction: column; align-items: center; margin: 8px 0 14px; }
.owl { width: 120px; height: auto; display: block; filter: drop-shadow(0 8px 12px rgba(143, 90, 58, 0.18)); }
.owlbox.big .owl { width: 150px; }
.owlbox.small { margin: 0; }
.owlbox.small .owl { width: 64px; }
.owl .eyes { transform-origin: 100px 95px; animation: blink 4.5s infinite; }
.owlbox.hello .owl { animation: bob 2s ease-in-out infinite; }
.owlbox.hello .wr { transform-origin: 167px 100px; animation: wave 0.9s ease-in-out infinite alternate; }
.owlbox.happy .owl { animation: hop 0.6s ease-in-out 3; }
.owlbox.wait .owl { animation: tilt 2.2s ease-in-out infinite; }
.owlbox.wait .pupil { animation: look 2.2s ease-in-out infinite; }
.owlbox.sad .owl { transform: rotate(-6deg); }
@keyframes blink { 0%, 93%, 100% { transform: scaleY(1); } 96% { transform: scaleY(0.08); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes wave { from { transform: rotate(0deg); } to { transform: rotate(-24deg); } }
@keyframes hop { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-16px) scale(1.05); } }
@keyframes tilt { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
@keyframes look { 0%, 100% { transform: translateX(-3px); } 50% { transform: translateX(3px); } }
.bubble {
  position: relative; background: var(--card); border-radius: 22px; padding: 12px 18px; margin-top: 10px;
  font-weight: 700; text-align: center; max-width: 330px; box-shadow: var(--shadow-s);
}
.bubble::before {
  content: ""; position: absolute; top: -9px; left: 50%; margin-left: -9px;
  border: 9px solid transparent; border-top: 0; border-bottom-color: var(--card);
}

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 20px; cursor: pointer; font-family: inherit; text-decoration: none;
  background: linear-gradient(135deg, #ffbe95, var(--peach-d)); color: #fff;
  font-size: 17px; font-weight: 800; padding: 14px 22px;
  box-shadow: 0 8px 18px rgba(255, 143, 97, 0.35); transition: transform 0.15s, box-shadow 0.15s;
}
.btn:active { transform: scale(0.97); box-shadow: 0 4px 10px rgba(255, 143, 97, 0.3); }
.btn:disabled { opacity: 0.5; }
.btn.big { display: flex; width: 100%; padding: 18px; font-size: 19px; margin: 16px 0 6px; border-radius: 24px; }
.btn.ghost { background: var(--card); color: var(--peach-d); box-shadow: var(--shadow-s); }
.btn.wide { display: flex; width: 100%; margin: 10px 0; }
.row { display: flex; gap: 10px; margin: 14px 0; }
.row .btn { flex: 1; }

/* ---------- шапка главной ---------- */
.top { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 16px; }
.hello { display: flex; align-items: center; gap: 12px; }
.hello .owl { width: 54px; animation: bob 2.4s ease-in-out infinite; }
.hello small { display: block; color: var(--muted); font-weight: 700; font-size: 14px; }
.hello b { font-size: 21px; font-weight: 800; }
.ring-prog { position: relative; width: 64px; height: 64px; }
.ring-prog svg { width: 64px; height: 64px; transform: rotate(-90deg); }
.ring-prog circle { fill: none; stroke-width: 8; stroke-linecap: round; }
.ring-prog .bg { stroke: #fff; }
.ring-prog .fg { stroke: var(--mint-d); transition: stroke-dashoffset 0.8s; }
.ring-prog span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; }
.ring-prog small { font-size: 12px; color: var(--muted); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 6px 0 16px; }
.stats.two { grid-template-columns: repeat(2, 1fr); }
.stat { border-radius: 22px; padding: 12px 12px 10px; background: var(--card); box-shadow: var(--shadow-s); }
.stat b { display: block; font-size: 20px; font-weight: 800; }
.stat small { display: block; font-size: 12.5px; color: var(--ink2); font-weight: 600; line-height: 1.25; }
.stat.peach { background: var(--peach-l); }
.stat.mint { background: var(--mint-l); }
.stat.lav { background: var(--lav-l); }

.hero {
  position: relative; overflow: hidden; border-radius: var(--r); padding: 20px 20px 16px; color: var(--ink);
  background: radial-gradient(circle at 100% 0%, rgba(255, 217, 138, 0.7), transparent 45%), linear-gradient(140deg, #ffd8c4, #ffc2cf 60%, #e2d6ff);
  box-shadow: var(--shadow);
}
.hero.done { background: linear-gradient(140deg, #d8f3ea, #e2d6ff); }
.hero h2 { margin: 10px 0 4px; font-size: 26px; }
.hero p { margin: 0 0 4px; color: var(--ink2); font-weight: 600; }
.hero .soft { font-size: 14px; margin-top: 8px; }
.hero .btn.big { background: var(--ink); box-shadow: 0 8px 18px rgba(59, 47, 42, 0.25); }
.hero-top { display: flex; gap: 8px; }
.pill { font-size: 13px; font-weight: 800; padding: 5px 11px; border-radius: 99px; background: rgba(255, 255, 255, 0.75); }
.pill.ghost { background: rgba(255, 255, 255, 0.35); }

.banner {
  display: flex; align-items: center; gap: 12px; width: 100%; margin: 14px 0 0; padding: 14px 16px; text-align: left;
  border: 0; border-radius: 22px; background: var(--butter-l); font-family: inherit; color: var(--ink); cursor: pointer; box-shadow: var(--shadow-s);
}
.banner > span:first-child { font-size: 26px; }
.banner b { display: block; font-size: 16px; }
.banner small { color: var(--ink2); font-size: 13px; font-weight: 600; }
.banner .chev { margin-left: auto; font-size: 26px; color: var(--muted); }

.lessons { display: flex; flex-direction: column; gap: 10px; }
.lrow {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 14px; text-align: left;
  border: 2px solid transparent; border-radius: 22px; background: var(--card); box-shadow: var(--shadow-s);
  font-family: inherit; color: var(--ink); cursor: pointer; transition: transform 0.15s;
}
.lrow:active { transform: scale(0.98); }
.lrow .lt { flex: 1; min-width: 0; }
.lrow .lt b { display: block; font-size: 16.5px; font-weight: 800; }
.lrow .lt small { display: block; color: var(--muted); font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb {
  width: 42px; height: 42px; flex: none; border-radius: 15px; display: flex; align-items: center; justify-content: center;
  font-weight: 800; background: var(--lav-l); color: var(--lav-d);
}
.lb.done { background: var(--mint-l); font-size: 20px; }
.lb.lock { background: #f6f1ee; font-size: 16px; }
.lrow.current { border-color: var(--peach); }
.lrow.current .lb { background: linear-gradient(135deg, #ffbe95, var(--peach-d)); color: #fff; }
.lrow.locked { opacity: 0.55; cursor: default; box-shadow: none; background: rgba(255, 255, 255, 0.6); }
.lsticker { font-size: 26px; }

.howto { background: var(--card); border-radius: 22px; padding: 14px 18px; margin: 12px 0; box-shadow: var(--shadow-s); }
.howto:first-of-type { margin-top: 22px; }
.howto summary { font-weight: 800; cursor: pointer; list-style: none; }
.howto summary::after { content: "›"; float: right; color: var(--muted); transition: transform 0.2s; font-size: 22px; line-height: 1; }
.howto[open] summary::after { transform: rotate(90deg); }
.howto li, .howto p { font-size: 15px; color: var(--ink2); }

/* ---------- нижнее меню ---------- */
.tabbar {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(12px + env(safe-area-inset-bottom));
  width: min(452px, calc(100% - 24px)); display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, 0.88); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: 26px; padding: 8px; box-shadow: 0 12px 34px rgba(150, 100, 80, 0.2); z-index: 5;
}
.tab {
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px 0 5px; border: 0; background: none;
  border-radius: 18px; font-family: inherit; font-size: 11.5px; font-weight: 800; color: var(--muted); cursor: pointer;
}
.tab svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.tab.on { color: var(--peach-d); background: var(--peach-l); }
.tab.on svg { fill: rgba(255, 143, 97, 0.18); }

/* ---------- карточки ---------- */
.card { background: var(--card); border-radius: 24px; padding: 16px 18px; margin: 12px 0; box-shadow: var(--shadow-s); }
.card p { margin: 0 0 8px; }
.card p:last-child { margin-bottom: 0; }
.card.warn { background: #fff7ec; border: 2px solid #ffd7a8; }
.card.task { background: var(--mint-l); font-size: 18px; font-weight: 700; text-align: center; padding: 22px; }
.soft-card { text-align: center; }
.goal { font-weight: 800; font-size: 18px; text-align: center; }
.empty-card { padding: 20px 0; }
.toast {
  position: fixed; left: 50%; top: calc(16px + env(safe-area-inset-top)); transform: translate(-50%, -20px); opacity: 0;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 18px; font-weight: 700; font-size: 15px;
  z-index: 20; transition: all 0.25s; max-width: 90%; text-align: center; box-shadow: var(--shadow);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- урок ---------- */
.lhead { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.lhead .x {
  width: 38px; height: 38px; border-radius: 14px; border: 0; background: var(--card); box-shadow: var(--shadow-s);
  font-size: 16px; color: var(--muted); cursor: pointer; flex: none;
}
.lhead .ln { font-size: 13px; color: var(--muted); font-weight: 800; white-space: nowrap; }
.progress { height: 10px; background: rgba(255, 255, 255, 0.9); border-radius: 99px; overflow: hidden; flex: 1; }
.progress > div { height: 100%; background: linear-gradient(90deg, var(--mint), var(--mint-d)); border-radius: 99px; transition: width 0.4s; }
.kicker {
  display: inline-block; font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em;
  padding: 5px 11px; border-radius: 99px; margin-top: 4px;
}
.kicker.mint { background: var(--mint-l); color: var(--mint-d); }
.kicker.lav { background: var(--lav-l); color: var(--lav-d); }
.kicker.peach { background: var(--peach-l); color: var(--peach-d); }
.kicker.butter { background: var(--butter-l); color: #c99214; }
.prize {
  display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 0 0; font-weight: 700; color: var(--ink2);
}
.prize span { font-size: 30px; }

.media {
  width: 100%; aspect-ratio: 4 / 5; max-height: 42vh; background: var(--card); border-radius: var(--r); overflow: hidden;
  display: flex; align-items: center; justify-content: center; margin: 6px 0 4px; box-shadow: var(--shadow);
}
.media video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.ph { text-align: center; padding: 16px; }
.ph-emoji {
  font-size: 84px; line-height: 1; width: 150px; height: 150px; margin: 0 auto; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: radial-gradient(circle, var(--peach-l), #fff 70%);
}
.ph-text { font-weight: 800; margin-top: 12px; padding: 0 10px; }
.ph-code { font-size: 12.5px; color: var(--muted); margin-top: 4px; font-weight: 600; }
.media.pulse { animation: pulse 0.5s ease-in-out infinite alternate; }
@keyframes pulse { from { transform: scale(1); } to { transform: scale(1.025); box-shadow: 0 14px 34px rgba(255, 143, 97, 0.3); } }
.say { font-size: 17px; text-align: center; margin: 14px 6px; color: var(--ink2); font-weight: 600; }

.mystery {
  width: 220px; height: 220px; margin: 14px auto; border-radius: 50%; background: var(--card);
  display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: var(--shadow); transition: all 0.3s;
}
.mystery .q-mark { font-size: 90px; font-weight: 900; color: var(--lav); }
.mystery.listening { animation: pulse 0.6s ease-in-out infinite alternate; }
.mystery.open { background: radial-gradient(circle, #fff, var(--mint-l)); }
.mystery .reveal { font-size: 92px; line-height: 1; animation: hop 0.6s ease-in-out 2; }
.mystery .rl { font-size: 14.5px; font-weight: 800; text-align: center; padding: 6px 18px 0; }
.choices { display: flex; gap: 16px; justify-content: center; margin: 18px 0 6px; }
.choice {
  width: 140px; height: 140px; border-radius: var(--r); background: var(--card); border: 3px solid transparent;
  font-size: 80px; cursor: pointer; box-shadow: var(--shadow); transition: transform 0.15s;
}
.choice:active { transform: scale(0.95); }
.choice.right { border-color: var(--mint-d); background: var(--mint-l); }
.choice.wrong { animation: shake 0.4s; border-color: var(--rose); }
@keyframes shake { 25% { transform: translateX(-8px); } 75% { transform: translateX(8px); } }

.wait-row {
  display: flex; align-items: center; gap: 12px; background: var(--card); border-radius: 24px; padding: 10px 14px; margin: 14px 0 6px;
  box-shadow: var(--shadow-s);
}
.wait-text { flex: 1; }
.wait-text b { display: block; font-size: 19px; font-weight: 800; }
.wait-text span { color: var(--ink2); font-weight: 600; font-size: 15px; }
.ring { position: relative; width: 60px; height: 60px; flex: none; }
.ring svg { width: 60px; height: 60px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: var(--peach); stroke-width: 4.5; stroke-linecap: round; stroke-dasharray: 107; animation: ring 5s linear forwards; }
@keyframes ring { from { stroke-dashoffset: 0; } to { stroke-dashoffset: 107; } }
.ring span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; }

.marks { display: grid; gap: 10px; margin: 14px 0; }
.mk {
  display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; text-align: left;
  border: 0; border-radius: 22px; padding: 14px 16px; font-family: inherit; color: var(--ink); cursor: pointer; box-shadow: var(--shadow-s);
}
.mk i { grid-row: 1 / 3; font-style: normal; font-size: 28px; width: 48px; height: 48px; border-radius: 16px; background: rgba(255, 255, 255, 0.7); display: flex; align-items: center; justify-content: center; }
.mk b { font-size: 17px; font-weight: 800; }
.mk span { font-size: 13.5px; color: var(--ink2); font-weight: 600; }
.mk.m1 { background: var(--butter-l); }
.mk.m2 { background: var(--mint-l); }
.mk.m3 { background: var(--lav-l); }
.mk:active { transform: scale(0.98); }

.newstks { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.newstk {
  width: 120px; padding: 14px 8px 10px; border-radius: 24px; background: var(--card); box-shadow: var(--shadow);
  animation: pop 0.6s cubic-bezier(0.2, 1.6, 0.4, 1) both;
}
.newstk span { display: block; font-size: 58px; line-height: 1.1; }
.newstk b { font-size: 15px; }
@keyframes pop { from { transform: scale(0.2) rotate(-20deg); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- дневник слов ---------- */
.chart { background: var(--card); border-radius: 24px; padding: 14px 14px 12px; box-shadow: var(--shadow-s); margin: 6px 0 14px; }
.chart svg { width: 100%; height: auto; display: block; }
.chart .ax { font-size: 11px; fill: var(--muted); font-weight: 700; font-family: inherit; }
.chart-cap { font-size: 14px; color: var(--ink2); font-weight: 600; margin-top: 4px; }
.chart.empty { color: var(--muted); font-weight: 600; font-size: 15px; text-align: center; padding: 26px 18px; }
.addword { display: flex; gap: 8px; margin: 10px 0; }
.addword input {
  flex: 1; min-width: 0; border: 0; border-radius: 20px; padding: 14px 16px; font-size: 17px; font-family: inherit;
  background: var(--card); box-shadow: var(--shadow-s); color: var(--ink);
}
.addword input:focus { outline: 3px solid var(--peach-l); }
.addword .btn { padding: 14px 18px; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 16px; }
.qchip {
  border: 0; border-radius: 99px; padding: 8px 13px; background: rgba(255, 255, 255, 0.75); font-family: inherit;
  font-weight: 700; font-size: 14.5px; color: var(--ink2); cursor: pointer;
}
.wgroup { margin: 12px 0; }
.wgroup small { display: block; font-weight: 800; color: var(--muted); font-size: 13px; margin: 0 4px 8px; text-transform: uppercase; letter-spacing: 0.03em; }
.wchips { display: flex; flex-wrap: wrap; gap: 8px; }
.wchip {
  display: inline-flex; align-items: center; gap: 4px; background: var(--card); border-radius: 16px; padding: 8px 6px 8px 14px;
  font-weight: 800; box-shadow: var(--shadow-s);
}
.wchip button { border: 0; background: none; color: var(--muted); font-size: 18px; padding: 0 6px; cursor: pointer; }

/* ---------- наклейки ---------- */
.album-cap {
  display: inline-block; font-weight: 800; background: var(--card); padding: 6px 14px; border-radius: 99px; box-shadow: var(--shadow-s); margin-top: 6px;
}
.album { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stk {
  text-align: center; padding: 14px 6px 10px; border-radius: 22px; background: rgba(255, 255, 255, 0.5);
  border: 2px dashed #ead9d0; min-height: 124px; cursor: default;
}
.stk .se { display: block; font-size: 46px; line-height: 1.15; filter: grayscale(1) brightness(1.6) opacity(0.35); }
.stk b { display: block; font-size: 14px; margin-top: 4px; color: var(--muted); }
.stk small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 600; line-height: 1.2; }
.stk.got { background: var(--card); border: 2px solid transparent; box-shadow: var(--shadow-s); cursor: pointer; }
.stk.got .se { filter: none; }
.stk.got b { color: var(--ink); }
.stk.boing .se { animation: hop 0.5s ease-in-out 1; }

/* ---------- календарь ---------- */
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-head b { font-size: 18px; text-transform: capitalize; }
.cal-head button { width: 36px; height: 36px; border: 0; border-radius: 12px; background: var(--peach-l); color: var(--peach-d); font-size: 22px; cursor: pointer; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.cal-grid.dow span { font-size: 12px; font-weight: 800; color: var(--muted); padding-bottom: 2px; }
.cd { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 14px; font-weight: 700; font-size: 15px; color: var(--ink2); }
.cd.on { background: linear-gradient(135deg, var(--mint), var(--mint-d)); color: #fff; font-weight: 900; }
.cd.today { box-shadow: inset 0 0 0 2.5px var(--peach); }
.time-row { display: flex; gap: 10px; align-items: center; margin: 10px 0; }
.time-row input {
  flex: 1; font-size: 19px; font-weight: 800; padding: 11px 12px; border-radius: 18px; border: 2px solid var(--line);
  font-family: inherit; color: var(--ink); background: #fff; min-width: 0;
}
.ok-line { font-weight: 700; color: var(--mint-d); font-size: 15px; }

/* ---------- формы ---------- */
.form .q { display: block; margin: 0 0 20px; font-weight: 800; }
.form .q .muted { display: block; font-weight: 600; font-size: 13.5px; }
.form input[type="number"], .form input:not([type]), .form textarea, .q textarea {
  display: block; width: 100%; margin-top: 8px; padding: 13px 14px; font-size: 17px; border-radius: 16px;
  border: 2px solid var(--line); background: #fffdfb; font-family: inherit; font-weight: 600; color: var(--ink);
}
.form input:focus, .form textarea:focus, .q textarea:focus { outline: none; border-color: var(--peach); }
.q textarea { min-height: 76px; resize: vertical; }
.radios { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.radios label { position: relative; }
.radios input { position: absolute; opacity: 0; }
.radios span {
  display: inline-block; padding: 10px 16px; border-radius: 16px; background: #f8f1ec; font-weight: 700; cursor: pointer; transition: all 0.15s;
}
.radios input:checked + span { background: linear-gradient(135deg, #ffbe95, var(--peach-d)); color: #fff; box-shadow: 0 6px 14px rgba(255, 143, 97, 0.3); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink2); font-weight: 600; margin: 4px 0 10px; }
.consent input { width: 22px; height: 22px; flex: none; accent-color: var(--peach-d); }
.err { color: #d9534f; font-weight: 700; min-height: 1em; margin: 6px 0 0; }

/* ---------- конфетти ---------- */
.confetti { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 30; }
.confetti i { position: absolute; top: -14px; width: 10px; height: 14px; border-radius: 3px; animation: fall 1.5s ease-in forwards; }
@keyframes fall { to { transform: translateY(105vh) rotate(560deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
