:root {
  --bg: #FFF7E8;
  --ink: #2A2140;
  --ink-2: #554B6B;
  --card: #FFFFFF;
  --sun: #FFC83D;
  --mint: #5FD3A8;
  --lilac: #A98BF5;
  --peach: #FFB27A;
  --girl: #FF4F9A;
  --girl-soft: #FFE0EE;
  --boy: #2F8CFF;
  --boy-soft: #D9ECFF;
  --accent: var(--sun);
  --c1: var(--sun);
  --c2: var(--mint);
  --c3: var(--lilac);
  --radius: 28px;
  --shadow: 0 7px 0 var(--ink);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
}

body.reveal-a { --bg: #FFE9F3; --accent: #FF7DB5; --c1: #FF4F9A; --c2: #FF9CC8; --c3: #FFC94D; }
body.reveal-o { --bg: #E6F2FF; --accent: #6DB2FF; --c1: #2F8CFF; --c2: #8EC5FF; --c3: #FFC94D; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100dvh;
  font-family: "Nunito", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  transition: background-color 1.2s var(--ease-out);
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
h1, h2, h3, .btn, .chip, .fredoka { font-family: "Fredoka", "Nunito", sans-serif; }
h1 { font-size: clamp(2.3rem, 11vw, 3.4rem); line-height: 1.02; margin: 8px 0 12px; font-weight: 700; letter-spacing: -0.5px; text-wrap: balance; }
h2 { font-size: 1.5rem; line-height: 1.2; margin: 0 0 8px; font-weight: 600; text-wrap: balance; }
h1:focus { outline: none; }
p { margin: 0 0 12px; }
.lead { font-size: 1.1rem; color: var(--ink-2); font-weight: 700; }

/* ---------- Background ---------- */
.bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.blob {
  position: absolute; border-radius: 50%; opacity: .5;
  filter: blur(2px);
  transition: background-color 1.2s var(--ease-out);
  animation: drift 18s ease-in-out infinite alternate;
}
.b1 { width: 220px; height: 220px; background: var(--c1); top: -60px; left: -70px; }
.b2 { width: 160px; height: 160px; background: var(--c2); top: 18%; right: -60px; animation-delay: -4s; }
.b3 { width: 120px; height: 120px; background: var(--c3); bottom: 12%; left: -40px; animation-delay: -8s; }
.b4 { width: 260px; height: 260px; background: var(--c2); bottom: -120px; right: -80px; animation-delay: -2s; opacity: .35; }
.b5 { width: 46px; height: 46px; background: var(--c3); top: 40%; left: 12%; animation-delay: -6s; }
.b6 { width: 30px; height: 30px; background: var(--c1); top: 64%; right: 16%; animation-delay: -10s; }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(24px, -36px) scale(1.08); }
}

#confetti { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 50; pointer-events: none; }

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  max-width: 520px; margin: 0 auto;
  padding: calc(10px + env(safe-area-inset-top)) 16px 6px;
}
.dots { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; min-height: 10px; }
.dots li { width: 10px; height: 10px; border-radius: 99px; background: rgba(42, 33, 64, .18); transition: width .35s var(--ease-out), background-color .35s; }
.dots li.on { background: var(--ink); }
.dots li.now { width: 28px; background: var(--ink); }
.icon-btn {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  border: 3px solid var(--ink); background: var(--card); color: var(--ink);
  box-shadow: 0 4px 0 var(--ink); cursor: pointer;
  transition: transform .12s, box-shadow .12s;
}
.icon-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.icon-btn svg { width: 22px; height: 22px; }

/* ---------- Layout ---------- */
#app { position: relative; z-index: 10; }
.screen {
  max-width: 520px; margin: 0 auto;
  padding: 12px 16px calc(40px + env(safe-area-inset-bottom));
  min-height: calc(100dvh - 70px);
  display: flex; flex-direction: column; gap: 14px;
}
.screen.center { text-align: center; align-items: center; justify-content: center; }
.enter > * { animation: rise .55s var(--ease-out) both; }
.enter > *:nth-child(2) { animation-delay: .06s; }
.enter > *:nth-child(3) { animation-delay: .12s; }
.enter > *:nth-child(4) { animation-delay: .18s; }
.enter > *:nth-child(5) { animation-delay: .24s; }
.enter > *:nth-child(n+6) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.chip {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  padding: 6px 14px; border-radius: 99px;
  background: var(--card); border: 2.5px solid var(--ink);
  font-weight: 600; font-size: .95rem;
}
.center .chip { align-self: center; }
.chip svg { width: 18px; height: 18px; flex: none; }
.card {
  background: var(--card); border: 3px solid var(--ink);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 20px;
}
.note { font-size: .95rem; color: var(--ink-2); font-weight: 700; }
.test-banner { background: var(--ink); color: #fff; border-radius: 14px; padding: 8px 14px; font-weight: 800; font-size: .9rem; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 60px; padding: 0 28px; width: 100%;
  border-radius: 99px; border: 3px solid var(--ink);
  background: var(--accent); color: var(--ink);
  font-size: 1.25rem; font-weight: 600;
  box-shadow: 0 6px 0 var(--ink);
  cursor: pointer; touch-action: manipulation;
  transition: transform .12s var(--ease-out), box-shadow .12s var(--ease-out), background-color .6s, opacity .2s;
}
.btn svg { width: 24px; height: 24px; flex: none; }
.btn:active:not(:disabled) { transform: translateY(5px); box-shadow: 0 1px 0 var(--ink); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.ghost { background: var(--card); }
.btn.small { min-height: 48px; font-size: 1.05rem; padding: 0 18px; width: auto; }
.link-btn {
  background: none; border: 0; padding: 12px; min-height: 48px;
  font: 800 1rem "Nunito", sans-serif; color: var(--ink-2);
  text-decoration: underline; text-underline-offset: 4px; cursor: pointer;
}
:focus-visible { outline: 3px solid var(--lilac); outline-offset: 4px; }
.btn:focus-visible { outline-color: var(--ink); }
.row { display: flex; gap: 12px; flex-wrap: wrap; }
.row > .btn { flex: 1 1 140px; }
.wiggle { animation: wiggle 2.4s ease-in-out infinite; }
@keyframes wiggle { 0%, 86%, 100% { transform: rotate(0); } 90% { transform: rotate(-3deg); } 94% { transform: rotate(3deg); } }

/* ---------- Intro art ---------- */
.hero-art { width: min(260px, 70vw); margin: 4px auto 0; display: block; overflow: visible; }
.hero-art .float1 { animation: bob 3.2s ease-in-out infinite; transform-origin: center; }
.hero-art .float2 { animation: bob 3.8s ease-in-out infinite -1s; }
.hero-art .float3 { animation: bob 3.5s ease-in-out infinite -2s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.ou { font-size: .55em; color: var(--ink-2); display: inline-block; transform: rotate(-6deg); }

/* ---------- Forms ---------- */
label { font-weight: 800; font-size: 1.05rem; display: block; margin-bottom: 6px; }
.opt { font-weight: 700; color: var(--ink-2); }
input[type=text], input[type=datetime-local] {
  width: 100%; min-height: 58px; padding: 0 18px;
  border: 3px solid var(--ink); border-radius: 18px; background: var(--card);
  font: 700 1.15rem "Nunito", sans-serif; color: var(--ink);
  box-shadow: inset 0 3px 0 rgba(42, 33, 64, .08);
}
input::placeholder { color: #8C83A0; }
input[aria-invalid=true] { border-color: #C2185B; }
.err { color: #B0164F; font-weight: 800; margin: 6px 0 0; min-height: 1.4em; font-size: .98rem; }
.help { color: var(--ink-2); font-size: .95rem; font-weight: 700; margin: 6px 0 0; }
.field { margin: 0; }

/* ---------- Choices ---------- */
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.choice {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 18px 10px 14px; min-height: 170px;
  border: 3px solid var(--ink); border-radius: var(--radius);
  background: var(--card); color: var(--ink); box-shadow: var(--shadow);
  font: 600 1.4rem "Fredoka", sans-serif; cursor: pointer; touch-action: manipulation;
  transition: transform .25s var(--ease-spring), box-shadow .15s, background-color .25s;
  position: relative;
}
.choice svg { width: 84px; height: 84px; transition: transform .35s var(--ease-spring); }
.choice:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--ink); }
.choice.girl[aria-pressed=true] { background: var(--girl-soft); }
.choice.boy[aria-pressed=true] { background: var(--boy-soft); }
.choice[aria-pressed=true] { transform: translateY(-4px) rotate(-1.5deg); }
.choice[aria-pressed=true] svg { transform: scale(1.12) rotate(6deg); }
.choice .check {
  position: absolute; top: -12px; right: -10px; width: 38px; height: 38px; border-radius: 50%;
  background: var(--ink); color: #fff; display: grid; place-items: center;
  transform: scale(0); transition: transform .35s var(--ease-spring);
}
.choice .check svg { width: 22px; height: 22px; }
.choice[aria-pressed=true] .check { transform: scale(1); }

/* ---------- Quiz ---------- */
.counter { font-weight: 800; color: var(--ink-2); font-size: .95rem; letter-spacing: .3px; text-transform: uppercase; }
.answers { display: grid; gap: 12px; }
.answer {
  min-height: 64px; padding: 12px 18px; text-align: left;
  border: 3px solid var(--ink); border-radius: 20px; background: var(--card);
  font: 800 1.1rem "Nunito", sans-serif; color: var(--ink); box-shadow: 0 5px 0 var(--ink);
  cursor: pointer; touch-action: manipulation; transition: transform .12s, box-shadow .12s, background-color .2s;
}
.answer:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--ink); }
.answer.picked { background: var(--sun); }
.answer:disabled:not(.picked) { opacity: .5; }
.fact { background: var(--ink); color: #fff; border-radius: 20px; padding: 14px 16px; font-weight: 800; animation: rise .4s var(--ease-out) both; }
.verdict-big { font: 700 2.2rem/1.05 "Fredoka", sans-serif; margin: 6px 0; }
.t-a { color: #D81B72; }
.t-o { color: #1769D6; }
.meter { display: flex; height: 18px; border-radius: 99px; overflow: hidden; border: 3px solid var(--ink); background: #eee; }
.meter span { display: block; height: 100%; transition: width 1s var(--ease-out); width: 0; }
.meter .ma { background: var(--girl); }
.meter .mo { background: var(--boy); }
.legend { display: flex; justify-content: space-between; font-weight: 800; font-size: .95rem; }

/* ---------- Ring ---------- */
.ring-wrap { position: relative; }
.ring-svg { width: 100%; max-width: 340px; display: block; margin: 0 auto; }

/* ---------- Balloons ---------- */
.balloons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 10px; }
.balloon {
  background: none; border: 0; padding: 0; cursor: pointer; touch-action: manipulation;
  min-height: 112px; display: grid; place-items: center; border-radius: 20px;
}
.balloon svg { width: 76px; height: 114px; animation: bob 3s ease-in-out infinite; animation-delay: var(--d, 0s); transition: transform .15s; }
.balloon:active svg { transform: scale(.92); }
.balloon.popped { cursor: pointer; }
.balloon.popped:active .face { transform: scale(.94); }
.balloon.popped svg { animation: popout .28s ease-out forwards; }
@keyframes popout { 0% { transform: scale(1); opacity: 1; } 60% { transform: scale(1.45); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; visibility: hidden; } }
.msg-card { min-height: 92px; display: flex; align-items: center; justify-content: center; text-align: center; font-weight: 800; font-size: 1.1rem; }
.msg-card.flash { animation: flash .45s var(--ease-spring); }
@keyframes flash { from { transform: scale(.92) rotate(-2deg); } to { transform: none; } }

/* ---------- Reveal ---------- */
.count-num { font: 700 9rem/1 "Fredoka", sans-serif; animation: beat .9s var(--ease-spring) both; text-shadow: 0 8px 0 rgba(42, 33, 64, .15); }
@keyframes beat { 0% { transform: scale(.3); opacity: 0; } 40% { transform: scale(1.15); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
.heart-beat { animation: heart 1s ease-in-out infinite; display: inline-block; }
@keyframes heart { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.18); } 30% { transform: scale(1); } 45% { transform: scale(1.12); } }
.scratch {
  position: relative; width: 100%; aspect-ratio: 4 / 3;
  border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; background: var(--card);
  animation: rise .5s var(--ease-spring) both;
}
.scratch canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: grab; transition: opacity .7s var(--ease-out); }
.scratch canvas.gone { opacity: 0; pointer-events: none; }
.under { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 4px; text-align: center; }
.under.a { background: radial-gradient(circle at 50% 40%, #FFF 0%, var(--girl-soft) 70%); }
.under.o { background: radial-gradient(circle at 50% 40%, #FFF 0%, var(--boy-soft) 70%); }
.under .u-small { font: 600 1.6rem "Fredoka", sans-serif; }
.under .u-big { font: 700 clamp(2.8rem, 15vw, 4.2rem)/1 "Fredoka", sans-serif; }
.under svg { width: 70px; height: 70px; }
.locked .timer { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; width: 100%; }
.timer div { background: var(--card); border: 3px solid var(--ink); border-radius: 18px; padding: 10px 4px; box-shadow: 0 5px 0 var(--ink); }
.timer b { display: block; font: 700 2rem/1 "Fredoka", sans-serif; font-variant-numeric: tabular-nums; }
.timer small { font-weight: 800; color: var(--ink-2); }

/* ---------- Final ---------- */
.big-reveal { font-size: clamp(3.2rem, 17vw, 5rem); margin: 0; line-height: 1; }
.big-reveal .word { display: block; }
.letters span { display: inline-block; animation: letter .7s var(--ease-spring) both; }
@keyframes letter { from { opacity: 0; transform: translateY(40px) scale(.4) rotate(-12deg); } to { opacity: 1; transform: none; } }
.final .word.a { color: #D81B72; text-shadow: 0 5px 0 #FFC2DD; }
.final .word.o { color: #1769D6; text-shadow: 0 5px 0 #BFE0FF; }
.welcome { font: 600 1.45rem "Fredoka", sans-serif; }
.score ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 10px; text-align: left; }
.score li { display: flex; align-items: center; gap: 12px; font-weight: 800; }
.score .ok, .score .no { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; border: 2.5px solid var(--ink); }
.score .ok { background: var(--mint); }
.score .no { background: #FFD4D4; }
.score .ok svg, .score .no svg { width: 18px; height: 18px; }
.score .sub { color: var(--ink-2); font-weight: 700; display: block; font-size: .92rem; }
.score-title { font: 700 1.6rem "Fredoka", sans-serif; margin: 12px 0 0; text-align: center; }

/* ---------- Organizer ---------- */
.secret-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.secret-choices label {
  margin: 0; display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 58px; border: 3px solid var(--ink); border-radius: 18px; background: var(--card);
  cursor: pointer; font-weight: 800;
}
.secret-choices input { width: 22px; height: 22px; accent-color: var(--ink); }
.secret-choices label:has(input:checked) { background: var(--sun); }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 800; font-size: 1.05rem; margin-bottom: 6px; padding: 0; }
.out-link { word-break: break-all; font-size: .9rem; font-weight: 700; background: var(--bg); border: 2px dashed var(--ink); border-radius: 14px; padding: 10px; }
#qr { display: grid; place-items: center; padding: 12px; background: #fff; border-radius: 16px; }
#qr img, #qr canvas { max-width: 220px; height: auto; }

/* ---------- Toast ---------- */
#toast {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 60;
  transform: translate(-50%, 140%); opacity: 0;
  background: var(--ink); color: #fff; font-weight: 800;
  padding: 12px 20px; border-radius: 99px; max-width: calc(100% - 32px); text-align: center;
  transition: transform .35s var(--ease-spring), opacity .25s;
}
#toast.show { transform: translate(-50%, 0); opacity: 1; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (min-width: 700px) {
  .screen { padding-top: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

[hidden] { display: none !important; }

/* ---------- Família ---------- */
.parents { display: flex; align-items: flex-end; justify-content: center; width: 100%; margin-top: 4px; }
.parents img { width: 32%; height: auto; flex: none; position: relative; z-index: 1; filter: drop-shadow(0 6px 0 rgba(42, 33, 64, .15)); }
.parents .p1 { transform: rotate(-6deg); animation: bob 3.4s ease-in-out infinite; }
.parents .p2 { transform: rotate(6deg); animation: bob 3.4s ease-in-out infinite -1.7s; }
.parents .hero-art { width: 36%; margin: 0 -4%; z-index: 0; }

.balloon { position: relative; }
.balloon .face {
  position: absolute; inset: 0; margin: auto; width: 96%; max-height: 112px; object-fit: contain;
  animation: facein .55s var(--ease-spring) both;
}
@keyframes facein { from { opacity: 0; transform: scale(.2) rotate(-20deg); } to { opacity: 1; transform: none; } }
.msg-card { gap: 12px; text-align: left; justify-content: flex-start; }
.msg-card .msg-face { width: 72px; height: 72px; object-fit: contain; flex: none; }

.fam-jump { position: fixed; inset: 0; z-index: 55; pointer-events: none; overflow: hidden; transition: opacity .6s; }
.fam-jump.out { opacity: 0; }
.fam-jump img {
  position: absolute; bottom: -10px; height: auto;
  animation: jump 1.1s var(--ease-spring) var(--d) both, shake .5s ease-in-out calc(var(--d) + 1.1s) 3;
  filter: drop-shadow(0 8px 0 rgba(42, 33, 64, .2));
}
@keyframes jump { from { transform: translateY(120%) rotate(0); } to { transform: translateY(0) rotate(var(--r)); } }
@keyframes shake { 0%, 100% { rotate: 0deg; } 25% { rotate: -6deg; } 75% { rotate: 6deg; } }

.fam-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 8px; margin-top: 10px; }
.fam-grid figure { margin: 0; display: grid; justify-items: center; gap: 2px; }
.fam-grid img { width: 100%; height: auto; animation: bob 2.6s ease-in-out infinite; animation-delay: var(--d); }
.fam-grid figcaption { font-weight: 800; font-size: .85rem; line-height: 1.2; text-align: center; }
.secret { display: flex; align-items: center; gap: 14px; text-align: left; }
.secret img { width: 96px; height: auto; flex: none; animation: wiggle 2.4s ease-in-out infinite; }
.secret p { margin: 0; font-size: 1.05rem; }

/* ---------- Palpites da galera ---------- */
.vote-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; text-align: left; max-height: 360px; overflow-y: auto; }
.vote-list li { display: flex; align-items: center; gap: 12px; font-weight: 800; }
.vote-list .ok, .vote-list .no { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none; border: 2.5px solid var(--ink); }
.vote-list .ok { background: var(--mint); }
.vote-list .no { background: #FFD4D4; }
.vote-list svg { width: 16px; height: 16px; }
.vote-list .sub { display: block; color: var(--ink-2); font-weight: 700; font-size: .9rem; }
input[type=password] {
  width: 100%; min-height: 58px; padding: 0 18px; border: 3px solid var(--ink); border-radius: 18px; background: var(--card);
  font: 700 1.15rem "Nunito", sans-serif; color: var(--ink);
}

/* ---------- Ossinho ---------- */
.bone-stage { display: grid; grid-template-columns: 1fr 0.7fr 1fr; align-items: end; gap: 0; padding: 18px 10px 14px; overflow: hidden; }
.bone-p { position: relative; z-index: 2; }
.bone-p { width: 100%; height: auto; transition: transform .18s var(--ease-out); }
.bone-p.left { transform: rotate(-4deg); }
.bone-p.right { transform: rotate(4deg); }
.bone-p.winner { animation: winjump .7s var(--ease-spring) 2; }
@keyframes winjump { 0%, 100% { translate: 0 0; } 50% { translate: 0 -18px; } }
.bone { width: 190%; margin: 0 -45% 34px; height: auto; overflow: visible; position: relative; z-index: 1; }
.bone.tug { animation: tug .18s ease-in-out; }
@keyframes tug { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(1.08); } }
.bone g { transition: transform .6s var(--ease-spring); transform-box: fill-box; transform-origin: center; }
.broken #gL { transform: translate(-14px, 12px) rotate(-14deg); }
.broken #gR { transform: translate(14px, 12px) rotate(14deg); }
.pull-bar { height: 14px; border: 3px solid var(--ink); border-radius: 99px; background: var(--card); overflow: hidden; }
.pull-bar span { display: block; height: 100%; width: 0; background: var(--sun); transition: width .2s var(--ease-out); }

/* balões: a última pessoa fica no meio da linha */
.balloon:last-child:nth-child(3n + 1) { grid-column: 2; }
/* o recado fica sempre visível, preso no fim da tela */
.msg-card { position: sticky; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 5; }

/* ---------- Telas grandes (notebook / desktop) ---------- */
@media (min-width: 900px) {
  body { font-size: 19px; }
  .top { max-width: 680px; padding-top: 18px; }
  .screen { max-width: 680px; padding-top: 24px; gap: 18px; min-height: calc(100dvh - 90px); }
  h1 { font-size: 3.6rem; }
  .big-reveal { font-size: 6rem; }
  .lead { font-size: 1.2rem; }
  .btn { min-height: 66px; font-size: 1.4rem; }
  .chip { font-size: 1.05rem; }
  .parents { max-width: 560px; margin: 0 auto; }
  .choice { min-height: 210px; font-size: 1.6rem; }
  .choice svg { width: 104px; height: 104px; }
  .answer { min-height: 70px; font-size: 1.2rem; }
  .balloons { grid-template-columns: repeat(5, 1fr); }
  .balloon:last-child:nth-child(3n + 1) { grid-column: auto; }
  .balloon { min-height: 130px; }
  .balloon svg { width: 84px; height: 126px; }
  .balloon .face { max-height: 130px; }
  .bone-stage { padding: 26px 30px 18px; }
  .scratch { max-width: 560px; }
  .fam-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .vote-list { max-height: 460px; }
  .icon-btn { width: 52px; height: 52px; }
}
@media (min-width: 900px) and (max-height: 820px) {
  h1 { font-size: 3rem; }
  .parents img { width: 26%; }
}
@media (max-width: 400px) {
  .balloon { min-height: 98px; }
  .balloon svg { width: 64px; height: 96px; }
  .balloon .face { max-height: 98px; }
  .msg-card { min-height: 80px; padding: 14px; font-size: 1rem; }
  .msg-card .msg-face { width: 60px; height: 60px; }
}
@media (min-width: 900px) {
  .b1 { width: 460px; height: 460px; top: -140px; left: -140px; }
  .b2 { width: 320px; height: 320px; right: -90px; }
  .b3 { width: 240px; height: 240px; left: -60px; }
  .b4 { width: 520px; height: 520px; bottom: -220px; right: -160px; }
  .b5 { width: 90px; height: 90px; left: 16%; }
  .b6 { width: 60px; height: 60px; right: 20%; }
}
