:root {
  --cyan: #18C8DB;
  --cyan-hi: #5BEAF5;
  --cyan-deep: #0A9DB1;
  --ink: #121318;
  --ink-2: #26272F;
  --paper: #FFFBF2;
  --cream: #FFF1DC;
  --yellow: #FFD23F;
  --pink: #FF5D8F;
  --green: #3DDC97;
  --red: #FF4D5E;
  --violet: #7C5CFF;
  --spring: cubic-bezier(.2, 1.35, .35, 1);
  --soft: cubic-bezier(.4, 0, .2, 1);
  --r: 22px;
  --font: 'Baloo Thambi 2', 'Noto Sans Tamil', 'Tamil Sangam MN', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; overflow: hidden; overscroll-behavior: none; }
body {
  font-family: var(--font);
  background: #0B8FA1;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -webkit-user-select: none; user-select: none;
  touch-action: manipulation;
  -webkit-touch-callout: none;
}
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, textarea { font: inherit; -webkit-user-select: text; user-select: text; }

#app {
  position: relative;
  height: 100vh; height: 100dvh;
  max-width: 520px; margin: 0 auto;
  overflow: hidden;
  background: radial-gradient(130% 70% at 50% 0%, var(--cyan-hi) 0%, var(--cyan) 48%, var(--cyan-deep) 100%);
  isolation: isolate;
}
@media (min-width: 600px) {
  body { display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, #10B4C7, #075F6B 70%); }
  #app { width: 430px; height: min(100dvh - 40px, 900px); border-radius: 40px; border: 4px solid var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.35), 0 10px 0 var(--ink); }
}

/* ---------- Sky backdrop ---------- */
.sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.cloud { position: absolute; background: #fff; border-radius: 999px; opacity: .55; filter: blur(.3px); }
.cloud::before, .cloud::after { content: ''; position: absolute; background: inherit; border-radius: 50%; }
.cloud.c1 { width: 110px; height: 34px; top: 9%; left: -30px; animation: drift 38s linear infinite; }
.cloud.c2 { width: 80px; height: 26px; top: 22%; left: 60%; animation: drift 52s linear infinite -20s; opacity: .4; }
.cloud.c3 { width: 140px; height: 40px; top: 48%; left: 20%; animation: drift 64s linear infinite -40s; opacity: .25; }
.cloud::before { width: 46%; height: 140%; left: 16%; top: -55%; }
.cloud::after { width: 34%; height: 110%; left: 52%; top: -35%; }
.hill { position: absolute; border-radius: 50%; bottom: -60%; }
.hill.h1 { width: 160%; height: 80%; left: -55%; background: #10B2C5; bottom: -62%; }
.hill.h2 { width: 140%; height: 70%; left: 20%; background: #0EA5B8; bottom: -58%; }
@keyframes drift { from { transform: translateX(-160px); } to { transform: translateX(560px); } }

/* ---------- Screens ---------- */
#stage { position: absolute; inset: 0; }
.screen {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  padding: calc(env(safe-area-inset-top, 0px) + 14px) 18px calc(env(safe-area-inset-bottom, 0px) + 18px);
  overflow-y: auto; overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.screen::-webkit-scrollbar { display: none; }
.in-fwd  { animation: inFwd .55s var(--spring) both; }
.in-back { animation: inBack .55s var(--spring) both; }
.in-pop  { animation: inPop .6s var(--spring) both; }
.out-fwd  { animation: outFwd .32s var(--soft) both; pointer-events: none; }
.out-back { animation: outBack .32s var(--soft) both; pointer-events: none; }
.out-pop  { animation: outPop .3s var(--soft) both; pointer-events: none; }
@keyframes inFwd  { from { transform: translateX(42%) rotate(2deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes inBack { from { transform: translateX(-42%) rotate(-2deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes inPop  { from { transform: scale(.85) translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes outFwd  { to { transform: translateX(-30%) scale(.94); opacity: 0; } }
@keyframes outBack { to { transform: translateX(30%) scale(.94); opacity: 0; } }
@keyframes outPop  { to { transform: scale(1.06); opacity: 0; } }

/* staggered entrance for children */
.rise > * { animation: rise .6s var(--spring) both; }
.rise > *:nth-child(1) { animation-delay: .05s; } .rise > *:nth-child(2) { animation-delay: .1s; }
.rise > *:nth-child(3) { animation-delay: .15s; } .rise > *:nth-child(4) { animation-delay: .2s; }
.rise > *:nth-child(5) { animation-delay: .25s; } .rise > *:nth-child(6) { animation-delay: .3s; }
.rise > *:nth-child(7) { animation-delay: .35s; } .rise > *:nth-child(8) { animation-delay: .4s; }
.rise > *:nth-child(n+9) { animation-delay: .45s; }
@keyframes rise { from { transform: translateY(26px) scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Top bar ---------- */
.topbar { display: flex; align-items: center; gap: 10px; min-height: 48px; margin-bottom: 8px; }
.topbar .spacer { flex: 1; }
.icon-btn {
  width: 46px; height: 46px; flex: none;
  display: grid; place-items: center;
  background: var(--paper); border: 3px solid var(--ink); border-radius: 16px;
  box-shadow: 0 4px 0 var(--ink);
  font-size: 1.3rem; line-height: 1;
  transition: transform .08s, box-shadow .08s;
}
.icon-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.icon-btn svg { width: 22px; height: 22px; }
.title { font-weight: 800; font-size: 1.65rem; line-height: 1.1; letter-spacing: -.01em; }
.sub { font-weight: 600; font-size: .95rem; opacity: .72; line-height: 1.25; }
.head { margin: 4px 2px 14px; }
.head .title { font-size: 1.9rem; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; min-height: 62px; padding: 10px 20px;
  border: 3px solid var(--ink); border-radius: var(--r);
  background: var(--yellow); color: var(--ink);
  font-weight: 800; font-size: 1.35rem; line-height: 1.05;
  box-shadow: 0 6px 0 var(--ink);
  transition: transform .09s, box-shadow .09s, filter .2s, opacity .2s;
}
.btn small { font-size: .62em; font-weight: 600; opacity: .75; margin-top: 3px; letter-spacing: .01em; }
.btn:active:not(:disabled) { transform: translateY(5px); box-shadow: 0 1px 0 var(--ink); }
.btn:disabled { opacity: .45; filter: saturate(.3); cursor: not-allowed; }
.btn.white { background: #fff; }
.btn.pink { background: var(--pink); color: #fff; }
.btn.green { background: var(--green); }
.btn.ink { background: var(--ink); color: #fff; border-color: #000; box-shadow: 0 6px 0 #000; }
.btn.ink:active:not(:disabled) { box-shadow: 0 1px 0 #000; }
.btn.slim { min-height: 52px; font-size: 1.1rem; }
.btn.shine::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 45%, transparent 60%);
  background-size: 250% 100%; animation: shine 3.2s ease-in-out infinite;
}
@keyframes shine { 0%, 55% { background-position: 130% 0; } 100% { background-position: -130% 0; } }
.btn-row { display: flex; gap: 12px; }
.btn-row .btn { flex: 1; }
.link-btn { font-weight: 700; font-size: 1rem; padding: 10px; text-decoration: underline; text-underline-offset: 4px; opacity: .85; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.bottom { margin-top: auto; padding-top: 16px; }

/* ---------- Cards / panels ---------- */
.panel {
  background: var(--paper); border: 3px solid var(--ink); border-radius: 24px;
  box-shadow: 0 6px 0 var(--ink); padding: 16px;
}
.panel + .panel { margin-top: 16px; }
.panel h3 { font-size: 1.15rem; font-weight: 800; line-height: 1.15; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.panel h3 span { font-size: .8rem; font-weight: 600; opacity: .6; }
.panel .hint { font-size: .88rem; opacity: .7; font-weight: 500; margin-top: 6px; line-height: 1.3; }

/* ---------- Avatars ---------- */
.av {
  --c: var(--pink);
  width: 44px; height: 44px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%; border: 3px solid var(--ink);
  background: var(--c); color: var(--ink);
  font-weight: 800; font-size: 1.15rem; line-height: 1;
}
.av.lg { width: 92px; height: 92px; font-size: 2.4rem; border-width: 4px; box-shadow: 0 5px 0 var(--ink); }
.av.md { width: 60px; height: 60px; font-size: 1.6rem; }

/* ---------- Home ---------- */
.home { align-items: center; text-align: center; }
.home .topbar { width: 100%; }
.home-ad { width: 100%; margin-top: 14px; flex: none; }
.home:has(.dk[open]) > * { flex-shrink: 0; }
.logo { margin-top: 2vh; display: flex; flex-direction: column; align-items: center; }
.logo .badge { width: 84px; height: 84px; border-radius: 24px; border: 3px solid var(--ink); box-shadow: 0 5px 0 var(--ink); overflow: hidden; animation: wobble 4s ease-in-out infinite; }
.logo .badge img { width: 100%; height: 100%; display: block; }
.wordmark { font-size: clamp(2.8rem, 13vw, 3.6rem); font-weight: 800; line-height: 1; margin-top: 12px; color: var(--ink); text-shadow: 0 4px 0 rgba(255,255,255,.55); letter-spacing: -.01em; }
.wordmark-en { font-weight: 800; letter-spacing: .42em; font-size: .85rem; margin-top: 4px; padding-left: .42em; opacity: .75; }
.tagline { margin-top: 10px; font-size: 1.08rem; font-weight: 600; line-height: 1.3; max-width: 22em; }
.tagline em { font-style: normal; background: var(--ink); color: #fff; padding: 0 8px; border-radius: 8px; }
@keyframes wobble { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg) translateY(-3px); } }

.herd { position: relative; width: 100%; height: 170px; margin: 10px 0 4px; display: flex; justify-content: center; align-items: flex-end; }
.herd .goat { width: 82px; margin: 0 -10px; animation: herdHop 1.6s ease-in-out infinite; }
.herd .goat:nth-child(1) { animation-delay: -.2s; width: 70px; }
.herd .goat:nth-child(2) { animation-delay: -.6s; }
.herd .goat:nth-child(3) { animation-delay: -1s; width: 104px; z-index: 2; }
.herd .goat:nth-child(4) { animation-delay: -1.3s; }
.herd .goat:nth-child(5) { animation-delay: -.9s; width: 70px; }
@keyframes herdHop { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-12px); } 55% { transform: translateY(0) scaleY(.95); } }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: rgba(18,19,24,.12); font-weight: 700; font-size: .82rem; }

/* ---------- Players ---------- */
.plist { display: flex; flex-direction: column; gap: 10px; }
.prow {
  display: flex; align-items: center; gap: 10px;
  background: var(--paper); border: 3px solid var(--ink); border-radius: 20px;
  padding: 8px 8px 8px 10px; box-shadow: 0 4px 0 var(--ink);
  animation: rise .45s var(--spring) both;
}
.prow.removing { animation: popOut .28s var(--soft) both; }
@keyframes popOut { to { transform: scale(.7) translateX(40px); opacity: 0; } }
.prow input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  font-size: 1.2rem; font-weight: 700; padding: 6px 4px; color: var(--ink);
}
.prow input::placeholder { color: rgba(18,19,24,.35); }
.prow .x { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 1.25rem; font-weight: 800; opacity: .55; }
.prow .x:active { background: rgba(0,0,0,.08); }
.add-row {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  border: 3px dashed rgba(18,19,24,.55); border-radius: 20px; padding: 14px;
  font-weight: 800; font-size: 1.1rem; background: rgba(255,255,255,.25);
}
.add-row:active { background: rgba(255,255,255,.45); transform: scale(.98); }
.count-note { text-align: center; font-weight: 700; font-size: .95rem; margin-top: 10px; opacity: .75; }

/* ---------- Setup ---------- */
.stepper { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.stepper .val { font-size: 2.6rem; font-weight: 800; line-height: 1; min-width: 70px; text-align: center; display: flex; align-items: center; justify-content: center; gap: 6px; }
.stepper .val .goat { width: 34px; }
.stepper .icon-btn { width: 54px; height: 54px; font-size: 1.7rem; font-weight: 800; background: var(--yellow); }
.bump { animation: bump .35s var(--spring); }
@keyframes bump { 40% { transform: scale(1.3); } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 999px; border: 2.5px solid var(--ink);
  background: #fff; font-weight: 700; font-size: .98rem; line-height: 1.1;
  transition: transform .15s var(--spring), background .15s;
}
.chip small { font-weight: 600; opacity: .6; font-size: .78em; }
.chip:active { transform: scale(.94); }
.chip.on { background: var(--ink); color: #fff; }
.chip.on small { opacity: .75; }
.chip .e { font-size: 1.1rem; }

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.seg button {
  border: 2.5px solid var(--ink); border-radius: 16px; padding: 10px 8px; background: #fff;
  font-weight: 800; font-size: 1.05rem; line-height: 1.15; text-align: center; transition: transform .15s var(--spring);
}
.seg button small { display: block; font-weight: 600; font-size: .75rem; opacity: .65; }
.seg button.on { background: var(--ink); color: #fff; }
.seg button:active { transform: scale(.96); }

.toggle-row { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.toggle-row .t { flex: 1; font-weight: 700; line-height: 1.2; }
.toggle-row .t small { display: block; font-weight: 500; opacity: .65; font-size: .82rem; }
.switch { width: 58px; height: 34px; flex: none; border-radius: 999px; border: 3px solid var(--ink); background: #ddd; position: relative; transition: background .2s; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2.5px solid var(--ink); transition: transform .3s var(--spring); }
.switch.on { background: var(--green); }
.switch.on::after { transform: translateX(24px); }

.sticky-cta { position: sticky; bottom: 0; padding-top: 14px; margin-top: auto; }
.sticky-cta::before { content: ''; position: absolute; inset: -20px -18px -18px; background: linear-gradient(transparent, rgba(10,157,177,.9) 45%); z-index: -1; pointer-events: none; }

/* ---------- Reveal (flip card) ---------- */
.dots { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin: 2px 0 10px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(18,19,24,.2); transition: all .3s var(--spring); }
.dots i.done { background: var(--ink); }
.dots i.now { background: var(--yellow); border: 2px solid var(--ink); transform: scale(1.35); }
.pass-to { text-align: center; margin-bottom: 14px; }
.pass-to .sub { font-size: 1rem; }
.pass-to .name { font-size: 2.1rem; font-weight: 800; line-height: 1.05; display: inline-block; }
.pass-to.swap .name { animation: nameSwap .55s var(--spring); }
@keyframes nameSwap { 0% { transform: translateY(20px) scale(.7); opacity: 0; } 100% { transform: none; opacity: 1; } }

.flip { flex: 1; min-height: 400px; max-height: 560px; perspective: 1400px; position: relative; }
.flip-inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .75s var(--spring); }
.flip.flipped .flip-inner { transform: rotateY(180deg); }
.flip.nudge .flip-inner { animation: nudge 2.4s ease-in-out infinite; }
@keyframes nudge { 0%, 70%, 100% { transform: rotateY(0); } 78% { transform: rotateY(-14deg); } 86% { transform: rotateY(8deg); } }
.face {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border: 3.5px solid var(--ink); border-radius: 30px; box-shadow: 0 8px 0 var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 22px 20px; overflow: hidden;
}
.face.front {
  background:
    radial-gradient(circle at 20% 15%, rgba(255,255,255,.7) 0 3px, transparent 4px) 0 0 / 34px 34px,
    var(--yellow);
}
.face.front .tap { margin-top: 16px; font-size: 1.6rem; font-weight: 800; line-height: 1.1; }
.face.front .tap small { display: block; font-size: .6em; font-weight: 600; opacity: .7; margin-top: 4px; }
.face.front .peek { margin-top: 14px; padding: 6px 14px; border-radius: 999px; background: rgba(18,19,24,.1); font-weight: 700; font-size: .9rem; }
.finger { font-size: 2.6rem; animation: tapTap 1.4s ease-in-out infinite; margin-top: 4px; }
@keyframes tapTap { 0%, 100% { transform: translateY(0) scale(1); } 45% { transform: translateY(-8px); } 60% { transform: translateY(2px) scale(.9); } }
.face.back { transform: rotateY(180deg); background: var(--paper); }
.face.back.karu { background: radial-gradient(circle at 50% 30%, #2C2D36, var(--ink) 70%); color: #fff; border-color: #000; }
.face.back .goat { width: 128px; margin-bottom: 4px; }
.role { font-weight: 800; font-size: 1.05rem; padding: 4px 14px; border-radius: 999px; background: var(--green); border: 2.5px solid var(--ink); }
.karu .role { background: var(--red); color: #fff; border-color: #000; }
.secret { font-size: clamp(2.1rem, 11vw, 3rem); font-weight: 800; line-height: 1.1; margin-top: 10px; word-break: break-word; }
.secret-en { font-size: 1.15rem; font-weight: 700; opacity: .6; margin-top: 2px; }
.karu-title { font-size: clamp(2rem, 10vw, 2.7rem); font-weight: 800; line-height: 1.05; margin-top: 10px; color: #fff; text-shadow: 0 0 24px rgba(255,77,94,.55); }
.karu-sub { opacity: .75; font-weight: 600; margin-top: 4px; }
.clue { margin-top: 14px; padding: 8px 14px; border-radius: 14px; background: rgba(255,255,255,.1); border: 2px dashed rgba(255,255,255,.35); font-weight: 700; }
.cat-tag { margin-top: 12px; font-weight: 700; font-size: .95rem; opacity: .7; }
.face.back .btn { margin-top: auto; }
.face.back .spacer { flex: 1; min-height: 8px; }

/* ---------- Discuss ---------- */
.starter { display: flex; align-items: center; gap: 12px; }
.starter .t { flex: 1; font-weight: 800; font-size: 1.15rem; line-height: 1.15; }
.starter .t small { display: block; font-weight: 600; font-size: .82rem; opacity: .65; margin-top: 2px; }
.timer { position: relative; width: 210px; height: 210px; margin: 18px auto 6px; display: grid; place-items: center; }
.timer svg.ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.timer .track { fill: var(--paper); stroke: var(--ink); stroke-width: 4; }
.timer .prog { fill: none; stroke: var(--yellow); stroke-width: 14; stroke-linecap: round; transition: stroke-dashoffset .3s linear, stroke .3s; }
.timer.low .prog { stroke: var(--red); }
.timer.low { animation: throb 1s ease-in-out infinite; }
@keyframes throb { 50% { transform: scale(1.04); } }
.timer .ring-out { fill: none; stroke: var(--ink); stroke-width: 4; }
.timer .center { position: relative; text-align: center; }
.timer .time { font-size: 3rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.timer .state { max-width: 140px; margin: 4px auto 0; line-height: 1.15; font-size: .8rem; font-weight: 700; opacity: .6; }
.timer-ctrls { display: flex; gap: 10px; justify-content: center; margin-bottom: 8px; }
.timer-ctrls .chip { background: var(--paper); }
.discuss-goat { display: flex; justify-content: center; margin: 4px 0; }
.discuss-goat .goat { width: 150px; }
.alive { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 8px; }
.alive .pchip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 999px; background: var(--paper); border: 2.5px solid var(--ink); font-weight: 700; }
.alive .pchip .av { width: 28px; height: 28px; font-size: .8rem; border-width: 2px; }
.alive .pchip.out { opacity: .45; text-decoration: line-through; }

/* ---------- Vote ---------- */
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 12px; }
.vcard {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 14px 8px 12px; background: var(--paper); border: 3px solid var(--ink); border-radius: 22px;
  box-shadow: 0 5px 0 var(--ink); font-weight: 800; font-size: 1.1rem; line-height: 1.1; text-align: center;
  transition: transform .25s var(--spring), background .2s, box-shadow .1s; word-break: break-word;
}
.vcard:active { transform: scale(.95); }
.vcard.sel { background: var(--ink); color: #fff; transform: translateY(-4px) rotate(-2deg); box-shadow: 0 9px 0 #000; }
.vcard.sel .av { animation: wiggle .5s ease-in-out; }
.vcard.dim { opacity: .55; }
@keyframes wiggle { 25% { transform: rotate(-12deg); } 75% { transform: rotate(12deg); } }

/* ---------- Elimination reveal ---------- */
.elim { align-items: center; justify-content: center; text-align: center; transition: background .5s; }
.elim .suspense, .elim .verdict { display: flex; flex-direction: column; align-items: center; width: 100%; }
.elim .verdict { display: none; }
.elim.revealed .suspense { display: none; }
.elim.revealed .verdict { display: flex; }
.elim .shake { animation: shake .12s linear infinite; }
@keyframes shake { 0% { transform: translate(1px, -1px) rotate(-2deg); } 50% { transform: translate(-1px, 1px) rotate(2deg); } 100% { transform: translate(1px, 1px) rotate(-1deg); } }
.drum { font-size: 1.5rem; font-weight: 800; margin-top: 18px; }
.drum span { display: inline-block; animation: bounceDot 1s infinite; }
.drum span:nth-child(2) { animation-delay: .15s; } .drum span:nth-child(3) { animation-delay: .3s; }
@keyframes bounceDot { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-8px); } }
.elim.is-karu { background: radial-gradient(circle at 50% 35%, #34353F, var(--ink) 70%); color: #fff; }
.elim.is-karu .icon-btn { background: #fff; }
.verdict .goat { width: 190px; animation: slam .7s var(--spring) both; }
@keyframes slam { from { transform: scale(2.2) rotate(-12deg); opacity: 0; } to { transform: none; opacity: 1; } }
.verdict-title { font-size: clamp(2rem, 10vw, 2.6rem); font-weight: 800; line-height: 1.05; margin-top: 10px; animation: rise .6s .25s var(--spring) both; }
.verdict-sub { font-weight: 600; font-size: 1.1rem; opacity: .8; margin-top: 6px; animation: rise .6s .35s var(--spring) both; }
.status-line { margin: 18px 0 6px; padding: 8px 14px; border-radius: 14px; background: rgba(18,19,24,.1); font-weight: 700; animation: rise .6s .5s var(--spring) both; }
.is-karu .status-line { background: rgba(255,255,255,.12); }
.verdict .btn { animation: rise .6s .6s var(--spring) both; margin-top: 18px; }
.stamp { display: inline-block; margin-top: 10px; padding: 6px 16px; border: 4px solid var(--red); color: var(--red); font-weight: 800; font-size: 1.5rem; border-radius: 12px; transform: rotate(-8deg); animation: stamp .45s .2s var(--spring) both; letter-spacing: .04em; }
.stamp.ok { border-color: var(--green); color: var(--green); }
@keyframes stamp { from { transform: scale(3) rotate(-8deg); opacity: 0; } to { transform: scale(1) rotate(-8deg); opacity: 1; } }

/* ---------- Guess ---------- */
.guess { background: radial-gradient(circle at 50% 30%, #2C2D36, var(--ink) 70%); color: #fff; align-items: center; text-align: center; }
.guess .icon-btn { background: #fff; color: var(--ink); }
.guess .goat { width: 170px; margin-top: 10px; }
.word-box { width: 100%; margin-top: 18px; padding: 20px; border-radius: 24px; border: 3px solid #fff; background: rgba(255,255,255,.06); animation: inPop .55s var(--spring) both; }

/* ---------- Result ---------- */
.result { align-items: stretch; }
.banner { text-align: center; margin-top: 4px; }
.banner .goat-wrap { display: flex; justify-content: center; align-items: flex-end; height: 160px; }
.banner .goat-wrap .goat { width: 120px; margin: 0 -14px; }
.banner .goat-wrap .goat.big { width: 160px; z-index: 2; }
.banner .goat-wrap.flock .goat { animation: herdHop 1s ease-in-out infinite; }
.banner .goat-wrap.flock .goat:nth-child(2) { animation-delay: -.3s; }
.banner .goat-wrap.flock .goat:nth-child(3) { animation-delay: -.6s; }
.banner h1 { font-size: clamp(2rem, 9.5vw, 2.5rem); font-weight: 800; line-height: 1.05; margin-top: 8px; }
.banner p { font-weight: 600; opacity: .75; }
.reveal-word { display: flex; gap: 10px; margin-top: 14px; }
.reveal-word .panel { flex: 1; text-align: center; padding: 12px; margin: 0 !important; }
.reveal-word .lbl { font-size: .78rem; font-weight: 700; opacity: .6; text-transform: uppercase; letter-spacing: .05em; }
.reveal-word .w { font-size: 1.45rem; font-weight: 800; line-height: 1.1; }
.reveal-word .we { font-size: .85rem; font-weight: 600; opacity: .6; }
.reveal-word .panel.dark { background: var(--ink); color: #fff; }
.karu-names { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 6px; }
.karu-names .pchip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 3px; border-radius: 999px; background: rgba(255,255,255,.12); font-weight: 700; font-size: .95rem; }
.karu-names .av { width: 26px; height: 26px; font-size: .75rem; border-width: 2px; }
.board { margin-top: 16px; }
.board-row { display: flex; align-items: center; gap: 10px; padding: 8px 4px; border-bottom: 2px dashed rgba(18,19,24,.15); animation: rise .5s var(--spring) both; }
.board-row:last-child { border-bottom: 0; }
.board-row .rank { width: 26px; font-weight: 800; text-align: center; font-size: 1.1rem; }
.board-row .n { flex: 1; font-weight: 700; font-size: 1.1rem; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board-row .pts { font-weight: 800; font-size: 1.35rem; font-variant-numeric: tabular-nums; min-width: 34px; text-align: right; }
.board-row .delta { font-weight: 800; font-size: .85rem; padding: 2px 8px; border-radius: 999px; background: var(--green); border: 2px solid var(--ink); animation: deltaPop .6s .5s var(--spring) both; }
.board-row .av { width: 36px; height: 36px; font-size: .95rem; }
.board-row.lead .n::after { content: ' 👑'; }
@keyframes deltaPop { from { transform: scale(0) rotate(-30deg); } to { transform: none; } }

/* ---------- Goat mascot ---------- */
.goat { display: block; overflow: visible; }
.goat .g-head { transform-origin: 100px 150px; animation: headBob 3.2s ease-in-out infinite; }
.goat .g-body { transform-origin: 100px 228px; animation: breathe 3.2s ease-in-out infinite; }
.goat .g-eye { transform-box: fill-box; transform-origin: center; animation: blink 5s infinite; }
.goat .g-eye:nth-child(2) { animation-delay: .04s; }
.goat .g-ear-l { transform-box: fill-box; transform-origin: 90% 50%; animation: earL 3.2s ease-in-out infinite; }
.goat .g-ear-r { transform-box: fill-box; transform-origin: 10% 50%; animation: earR 3.2s ease-in-out infinite; }
.goat .g-lids { transform-box: fill-box; transform-origin: 50% 0%; transform: scaleY(0); transition: transform .35s var(--spring); }
.goat .g-pupil { transition: transform .35s var(--spring); }
.goat .m { opacity: 0; transition: opacity .15s; }
.goat.mood-idle .m-smile, .goat.mood-happy .m-smile, .goat.mood-think .m-smirk,
.goat.mood-sneaky .m-smirk, .goat.mood-shock .m-o, .goat.mood-sad .m-sad { opacity: 1; }
.goat.mood-sneaky .g-lids { transform: scaleY(1); }
.goat.mood-sneaky .g-pupil { animation: lookAround 2.6s ease-in-out infinite; }
.goat.mood-think .g-pupil { transform: translate(3px, -4px); }
.goat.mood-think .g-head { animation: thinkHead 3s ease-in-out infinite; }
.goat.mood-shock .g-eye { animation: none; transform: scale(1.22); }
.goat.mood-shock .g-pupil { transform: scale(.7); transform-box: fill-box; transform-origin: center; }
.goat.mood-shock .g-head { animation: shockHead .5s ease-in-out infinite; }
.goat.mood-sad .g-head { animation: sadHead 3s ease-in-out infinite; }
.goat.mood-sad .g-pupil { transform: translateY(4px); }
.goat.mood-sad .g-ear-l { animation: none; transform: rotate(-30deg); }
.goat.mood-sad .g-ear-r { animation: none; transform: rotate(30deg); }
.goat.mood-happy { animation: happyHop .55s ease-in-out infinite; }
.goat.mood-happy .g-eye { animation: none; }
@keyframes headBob { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg) translateY(-2px); } }
@keyframes thinkHead { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(-4deg) translateY(-2px); } }
@keyframes shockHead { 0%, 100% { transform: translateY(-4px) rotate(-1deg); } 50% { transform: translateY(-6px) rotate(1deg); } }
@keyframes sadHead { 0%, 100% { transform: rotate(6deg) translateY(6px); } 50% { transform: rotate(4deg) translateY(8px); } }
@keyframes breathe { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.015, 1.03); } }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.08); } }
@keyframes earL { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-8deg); } }
@keyframes earR { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(8deg); } }
@keyframes lookAround { 0%, 100% { transform: translateX(-4px); } 45%, 55% { transform: translateX(4px); } }
@keyframes happyHop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.peeker { position: absolute; right: -8px; bottom: -6px; width: 92px; pointer-events: none; animation: peek 7s ease-in-out infinite; z-index: 0; }
@keyframes peek { 0%, 18%, 100% { transform: translateY(80%) rotate(-10deg); } 26%, 70% { transform: translateY(18%) rotate(-10deg); } }

/* ---------- Modal / toast ---------- */
.modal { position: absolute; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center; background: rgba(10,14,20,.5); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); padding: 14px; padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 14px); animation: fade .25s both; }
.modal[hidden] { display: none; }
.modal.closing { animation: fadeOut .22s both; }
.modal .sheet { width: 100%; max-height: 88%; overflow-y: auto; background: var(--paper); border: 3.5px solid var(--ink); border-radius: 30px; box-shadow: 0 8px 0 var(--ink); padding: 22px 18px 18px; animation: sheetUp .5s var(--spring) both; }
.modal.closing .sheet { animation: sheetDown .22s var(--soft) both; }
.sheet h2 { font-size: 1.6rem; font-weight: 800; line-height: 1.1; }
.sheet p { font-weight: 500; margin-top: 6px; line-height: 1.35; }
.sheet .btn-row, .sheet .stack { margin-top: 18px; }
@keyframes fade { from { opacity: 0; } } @keyframes fadeOut { to { opacity: 0; } }
@keyframes sheetUp { from { transform: translateY(110%); } } @keyframes sheetDown { to { transform: translateY(110%); } }
.howto { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.howto li { display: flex; gap: 12px; align-items: flex-start; }
.howto .n { flex: none; width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; font-size: 1.35rem; background: var(--cyan); border: 2.5px solid var(--ink); }
.howto b { display: block; font-size: 1.05rem; line-height: 1.2; }
.howto span { font-size: .92rem; opacity: .75; font-weight: 500; line-height: 1.3; display: block; }
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.points div { background: #fff; border: 2.5px solid var(--ink); border-radius: 14px; padding: 8px 6px; text-align: center; font-weight: 700; font-size: .8rem; line-height: 1.15; }
.points b { display: block; font-size: 1.4rem; }

.toast { position: absolute; left: 50%; top: calc(env(safe-area-inset-top, 0px) + 14px); z-index: 60; transform: translate(-50%, -150%); background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 700; transition: transform .45s var(--spring); white-space: nowrap; max-width: 92%; overflow: hidden; text-overflow: ellipsis; }
.toast.show { transform: translate(-50%, 0); }

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

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

/* ---------- Karuppaadu hint (related word) ---------- */
.clue { display: flex; flex-direction: column; align-items: center; gap: 0; min-width: 70%; }
.clue small { font-size: .78rem; font-weight: 600; opacity: .7; }
.clue b { font-size: 1.7rem; line-height: 1.15; color: var(--yellow); }
.clue span { font-size: .95rem; font-weight: 600; opacity: .7; }

/* ---------- Online ---------- */
.screen.soft .rise > *, .screen.soft .board-row, .screen.soft .verdict-title, .screen.soft .verdict-sub,
.screen.soft .status-line, .screen.soft .verdict .btn, .screen.soft .verdict .goat, .screen.soft .stamp,
.screen.soft .word-box, .screen.soft .delta { animation: none !important; }
.field {
  width: 100%; margin-top: 10px; padding: 12px 14px; border: 3px solid var(--ink); border-radius: 16px;
  background: #fff; font-size: 1.2rem; font-weight: 700; color: var(--ink); outline: 0;
}
.field:focus { box-shadow: 0 0 0 4px rgba(255,210,63,.7); }
.code-in { text-align: center; font-size: 2rem; letter-spacing: .4em; text-transform: uppercase; padding-left: .4em; }
.online .topbar { width: 100%; }
.code-pill { font-weight: 800; letter-spacing: .12em; font-size: .95rem; padding: 6px 14px; background: var(--paper); border: 2.5px solid var(--ink); }
.code-pill.light { background: #fff; color: var(--ink); }
.conn { width: 9px; height: 9px; border-radius: 50%; background: var(--green); border: 2px solid var(--ink); }
.conn.off { background: var(--red); animation: throb 1s infinite; }

.room-code { text-align: center; }
.room-code .lbl { font-weight: 700; font-size: .85rem; opacity: .6; }
.room-code .code { display: flex; justify-content: center; gap: 8px; margin: 8px 0 14px; cursor: pointer; }
.room-code .code span { width: 56px; height: 66px; display: grid; place-items: center; font-size: 2.3rem; font-weight: 800; background: var(--yellow); border: 3px solid var(--ink); border-radius: 16px; box-shadow: 0 4px 0 var(--ink); animation: rise .5s var(--spring) both; }
.room-code .code span:nth-child(2) { animation-delay: .06s; transform: rotate(2deg); } .room-code .code span:nth-child(3) { animation-delay: .12s; } .room-code .code span:nth-child(4) { animation-delay: .18s; transform: rotate(-2deg); }
.lobby-list { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.lp { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 4px; border-radius: 16px; animation: rise .45s var(--spring) both; }
.lp.me { background: rgba(24,200,219,.15); }
.lp.off { opacity: .45; }
.lp .n { flex: 1; font-weight: 700; font-size: 1.1rem; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp .n small { font-weight: 600; opacity: .6; }
.lp .tag, .sum-row .tag { font-size: .75rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: rgba(18,19,24,.08); white-space: nowrap; }
.lp .x { width: 34px; height: 34px; border-radius: 10px; font-weight: 800; opacity: .5; }
.mini-step { display: flex; align-items: center; gap: 10px; }
.mini-step .icon-btn { width: 40px; height: 40px; font-size: 1.3rem; background: var(--yellow); }
.mini-step b { font-size: 1.6rem; min-width: 20px; text-align: center; }
.icon-btn:disabled { opacity: .4; }
.waiting { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--paper); border: 3px solid var(--ink); border-radius: 22px; box-shadow: 0 5px 0 var(--ink); }
.waiting .goat { width: 64px; flex: none; }
.waiting b { display: block; font-size: 1.05rem; line-height: 1.2; }
.waiting small { display: block; font-weight: 600; opacity: .65; font-size: .85rem; line-height: 1.3; }

.role-chip { align-self: center; margin-bottom: 8px; padding: 6px 14px; border-radius: 999px; background: var(--paper); border: 2.5px solid var(--ink); font-weight: 700; font-size: .95rem; box-shadow: 0 3px 0 var(--ink); max-width: 100%; }
.role-chip.shown { background: var(--green); }
.role-chip.shown.k { background: var(--ink); color: #fff; }
.role-chip small { opacity: .7; font-weight: 600; }

.feed { flex: 1; min-height: 140px; max-height: 42vh; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: 22px; background: rgba(255,255,255,.28); border: 2.5px dashed rgba(18,19,24,.25); scrollbar-width: none; }
.feed.empty { display: grid; place-items: center; text-align: center; font-weight: 700; opacity: .7; }
.round-sep { align-self: center; font-size: .78rem; font-weight: 800; padding: 2px 10px; border-radius: 999px; background: rgba(18,19,24,.12); }
.bubble { display: flex; gap: 8px; align-items: flex-end; max-width: 88%; }
.bubble.new { animation: bubbleIn .5s var(--spring) both; }
@keyframes bubbleIn { from { transform: scale(.5) translateY(14px); opacity: 0; } }
.bubble .av { width: 34px; height: 34px; font-size: .85rem; }
.bubble > div { background: var(--paper); border: 2.5px solid var(--ink); border-radius: 18px 18px 18px 4px; padding: 4px 12px 6px; box-shadow: 0 3px 0 var(--ink); }
.bubble small { display: block; font-size: .72rem; font-weight: 700; opacity: .55; }
.bubble p { font-size: 1.25rem; font-weight: 800; line-height: 1.15; }
.bubble p i { font-weight: 600; font-size: .95rem; opacity: .6; }
.bubble.mine { align-self: flex-end; flex-direction: row-reverse; }
.bubble.mine > div { background: var(--yellow); border-radius: 18px 18px 4px 18px; }

.turn-box { margin-top: 12px; padding: 12px; border-radius: 22px; background: var(--paper); border: 3px solid var(--ink); box-shadow: 0 5px 0 var(--ink); }
.turn-box.mine { background: var(--yellow); animation: inPop .5s var(--spring) both; }
.turn-lbl { font-weight: 800; font-size: 1.3rem; }
.turn-lbl small { font-weight: 600; font-size: .8rem; opacity: .7; }
.send-row { display: flex; gap: 8px; align-items: stretch; }
.send-row .field { margin-top: 8px; flex: 1; min-width: 0; }
.send-row .btn { width: auto; margin-top: 8px; min-height: 0; padding: 8px 16px; font-size: 1.05rem; }
.turn-other { display: flex; align-items: center; gap: 12px; }
.turn-other b { display: block; font-size: 1.1rem; }
.turn-other small { font-weight: 600; opacity: .6; }
.typing { display: inline-flex; gap: 4px; margin: 4px 0; vertical-align: middle; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: bounceDot 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
.typing.big { display: flex; justify-content: center; margin: 14px 0; } .typing.big i { width: 12px; height: 12px; }
.upnext { display: flex; gap: 4px; margin-top: 10px; flex-wrap: wrap; }
.upnext span { opacity: .4; transition: all .3s var(--spring); }
.upnext span.done { opacity: .2; }
.upnext span.now { opacity: 1; transform: scale(1.15); }
.upnext .av { width: 30px; height: 30px; font-size: .75rem; border-width: 2px; }
.tbar { height: 8px; border-radius: 999px; background: rgba(18,19,24,.12); overflow: hidden; margin-bottom: 8px; }
.tbar i { display: block; height: 100%; background: var(--ink); transform-origin: left; transition: transform .25s linear; border-radius: inherit; }
.tbar.low i { background: var(--red); }

.timer.sm { width: 150px; height: 150px; margin: 4px auto 10px; }
.timer.sm .time { font-size: 2.2rem; }
.summary { padding: 8px 12px; }
.sum-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 2px dashed rgba(18,19,24,.12); }
.sum-row:last-child { border-bottom: 0; }
.sum-row .av { width: 32px; height: 32px; font-size: .8rem; border-width: 2px; }
.sum-row .n { font-weight: 800; min-width: 64px; max-width: 34%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sum-row .cl { flex: 1; font-weight: 700; opacity: .8; font-size: 1.02rem; }
.sum-row.out { opacity: .4; text-decoration: line-through; }

.vcard { position: relative; }
.vcard small { font-size: .75rem; opacity: .6; }
.vcard:disabled { opacity: .5; }
.vcard .voted { position: absolute; top: 6px; right: 8px; width: 24px; height: 24px; border-radius: 50%; background: var(--green); border: 2px solid var(--ink); font-size: .8rem; display: grid; place-items: center; color: var(--ink); }

.online.elim { justify-content: flex-start; }
.online.elim .verdict { margin: auto 0; }
.vote-lines { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 14px; animation: rise .6s .45s var(--spring) both; }
.vote-line { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px 3px 3px; border-radius: 999px; background: rgba(18,19,24,.08); }
.is-karu .vote-line { background: rgba(255,255,255,.12); }
.vote-line .av { width: 26px; height: 26px; font-size: .7rem; border-width: 2px; }
.online.guess { align-items: center; text-align: center; }
.board-row.me { background: rgba(24,200,219,.15); border-radius: 12px; }

.reacts { display: flex; justify-content: center; gap: 3px; margin-top: 12px; }
.reacts button { width: 38px; height: 40px; flex: 0 1 38px; border-radius: 14px; font-size: 1.35rem; background: rgba(255,255,255,.35); transition: transform .15s var(--spring); }
.reacts button:active { transform: scale(1.35) rotate(-10deg); }
.guess .reacts button, .is-karu .reacts button { background: rgba(255,255,255,.12); }
#floats { position: absolute; inset: 0; pointer-events: none; z-index: 45; overflow: hidden; }
.floaty { position: absolute; bottom: 70px; display: flex; flex-direction: column; align-items: center; animation: floatUp 2.6s cubic-bezier(.2,.7,.3,1) forwards; }
.floaty .fe { font-size: 2.6rem; filter: drop-shadow(0 3px 0 rgba(0,0,0,.2)); }
.floaty .fn { font-size: .72rem; font-weight: 800; background: var(--ink); color: #fff; padding: 1px 8px; border-radius: 999px; margin-top: -4px; }
@keyframes floatUp { 0% { transform: translateY(0) scale(.4); opacity: 0; } 12% { transform: translateY(-30px) scale(1.15); opacity: 1; } 100% { transform: translateY(-58vh) translateX(20px) scale(.9); opacity: 0; } }
.sticky-cta .btn:disabled { opacity: 1; filter: none; background: #E9E3D7; color: rgba(18,19,24,.45); }

/* ---------- Sign in ---------- */
.login .logo { margin-top: 1vh; }
.login-goat { width: 130px; animation: wobble 4s ease-in-out infinite; }
.login-form { width: 100%; text-align: left; display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.login-form label { font-weight: 800; font-size: 1.02rem; }
.login-form label span { font-weight: 600; opacity: .6; font-size: .85em; }
.login-form .field { margin-top: 6px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 600 !important; font-size: .9rem !important; line-height: 1.3; cursor: pointer; }
.check input { width: 22px; height: 22px; flex: none; margin-top: 1px; accent-color: var(--ink); }
.check span { opacity: .8 !important; font-size: 1em !important; }
.form-err { color: #C8102E; font-weight: 700; font-size: .92rem; min-height: 1.2em; margin: -4px 0; }
.fine { text-align: center; font-size: .8rem; font-weight: 600; opacity: .6; }
.fine a { color: inherit; }
.user-pill { background: var(--paper); border: 2.5px solid var(--ink); font-weight: 800; max-width: 46%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar a.icon-btn { text-decoration: none; color: inherit; }
.topbar .pill + .pill { margin-left: 6px; }

/* ---------- Rating card ---------- */
.rate-goat { width: 96px; margin: 0 auto -4px; }
.stars { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
.stars button { font-size: 2.6rem; line-height: 1; color: #D9D2C3; -webkit-text-stroke: 2px var(--ink); transition: transform .25s var(--spring), color .15s; padding: 2px; }
.stars button.on { color: var(--yellow); transform: scale(1.12) rotate(-6deg); }
.stars button:active { transform: scale(.85); }
.star-lbl { text-align: center; font-weight: 800; margin-top: 4px !important; min-height: 1.4em; }
.sheet textarea.field { resize: none; font-size: 1rem; font-weight: 600; margin-top: 12px; }
.sheet .check { margin-top: 12px; }
