@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Noto+Sans+JP:wght@400;500;600;700;800;900&display=swap');
:root{font-family:'DM Sans','Noto Sans JP',sans-serif;color:#172346;background:#f5f7ff;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}a{color:inherit}.shell{min-height:100vh;display:flex;flex-direction:column}.topbar{height:82px;padding:0 clamp(20px,5vw,74px);display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid #e5eafd}.top-tag{font-size:13px;font-weight:700;color:#6b789d;letter-spacing:.04em}main{flex:1}h1{font-size:clamp(38px,5.4vw,70px);line-height:1.25;letter-spacing:-.075em;margin:24px 0}.card{background:#fff;border:1px solid #e4e9f7;border-radius:22px;box-shadow:0 12px 36px #1f3d8b0c}.section-title{font-size:23px;letter-spacing:-.05em;margin:0}.field-label{display:block;font-size:13px;font-weight:800;margin-bottom:9px;color:#42506f}.input{width:100%;border:1.5px solid #d9e0f2;border-radius:12px;padding:14px 16px;background:#fff;color:#172346;outline:none;font-size:16px}.input:focus{border-color:#2447d5;box-shadow:0 0 0 4px #2447d51a}.input::placeholder{color:#aab3cc}.input.code{font-size:22px;letter-spacing:.18em;font-weight:800}.btn{border:0;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:14px 19px;font-weight:800;font-size:15px;min-height:52px;text-decoration:none;transition:transform .15s,box-shadow .15s}.btn:hover:not(:disabled){transform:translateY(-2px)}.btn-primary{background:#2447d5;color:#fff;box-shadow:0 7px 16px #2447d52e}.btn-primary:hover{box-shadow:0 11px 22px #2447d540}.btn-dark{background:#172346;color:#fff}.btn-soft{background:#edf1ff;color:#2447d5}.btn-white{background:#fff;color:#2447d5}.btn-outline{background:#fff;border:1px solid #dce2f2;color:#405171}.btn-wide{width:100%}.page{max-width:1120px;margin:auto;padding:36px 20px 56px}.page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:23px}.kicker{color:#2447d5;font-size:12px;font-weight:900;letter-spacing:.13em;margin-bottom:9px}.page h1{font-size:clamp(28px,4vw,40px);margin:0;color:#172346}.muted{color:#687693;line-height:1.7}.room-pill{border:1px solid #dce5ff;background:#eaf0ff;color:#2447d5;border-radius:100px;padding:10px 15px;font-size:14px;font-weight:800;white-space:nowrap}.host-grid{display:grid;grid-template-columns:minmax(0,1.48fr) minmax(320px,.72fr);gap:20px}.panel{padding:28px}.panel + .panel{margin-top:20px}.panel-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.badge{background:#eaf0ff;color:#2447d5;padding:7px 10px;border-radius:100px;font-size:12px;font-weight:800}.badge.live{background:#effbd2;color:#497b00}.badge.result{background:#fff0e2;color:#a44b00}.count-input{display:flex;align-items:center;gap:12px}.count-input .input{width:115px;text-align:center;font-size:25px;font-weight:900}.count-input strong{font-size:15px}.form-row{margin-bottom:22px}.form-row textarea{min-height:105px;resize:vertical}.hint{font-size:12px;color:#8b97b1;margin-top:8px}.question{font-size:clamp(23px,3vw,35px);font-weight:900;line-height:1.55;letter-spacing:-.05em;white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0 22px}.target-line{background:#f0f4ff;border-radius:14px;padding:15px 18px;display:flex;align-items:center;justify-content:space-between;color:#516281;font-weight:700}.target-line strong{font-size:27px;color:#2447d5}.answer-progress{display:flex;align-items:flex-end;gap:8px;margin:28px 0 12px}.answer-progress strong{font-size:54px;line-height:1;color:#2447d5}.answer-progress span{font-weight:700;color:#74819e;padding-bottom:5px}.progress-track{height:12px;background:#eaf0ff;border-radius:10px;overflow:hidden}.progress-fill{height:100%;background:#b9f052;border-radius:10px;transition:width .3s}.result-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:25px}.result-box{border-radius:16px;padding:21px;text-align:center}.result-box.yes{background:#e9eeff;color:#2447d5}.result-box.no{background:#f0f2f7;color:#5d6982}.result-box span{font-size:16px;font-weight:900}.result-box strong{display:block;font-size:52px;line-height:1.2}.verdict{border-radius:16px;padding:20px;text-align:center;margin:18px 0;font-size:21px;font-weight:900}.verdict.success{background:#e9f9bb;color:#436d00}.verdict.miss{background:#fff0e4;color:#b65d12}.side .panel{padding:24px}.side h2{font-size:17px;letter-spacing:-.04em;margin:0 0 14px}.code-display{font-size:43px;letter-spacing:.17em;font-weight:900;color:#2447d5;text-align:center;background:#f2f5ff;border-radius:14px;padding:13px 8px}.qr-wrap{width:220px;height:220px;margin:16px auto;background:#fff;padding:7px;border:1px solid #e4e9f7;border-radius:12px;display:grid;place-items:center}.qr-wrap svg{width:100%;height:100%}.link-row{display:flex;gap:8px}.link-row .input{font-size:13px;min-width:0}.link-row .btn{min-width:65px}.joined{display:flex;align-items:center;justify-content:space-between;background:#f4f7ff;padding:14px;border-radius:12px;margin-top:20px;font-size:14px;font-weight:700}.joined strong{font-size:22px;color:#2447d5}.history-list{display:grid;gap:9px}.history-item{display:flex;justify-content:space-between;gap:10px;padding:12px;border:1px solid #e7ebf5;border-radius:10px;font-size:13px}.history-item div{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-item strong{white-space:nowrap;color:#2447d5}.participant-page{max-width:650px}.participant-page .page-head{align-items:center}.participant-card{padding:30px}.participant-card .question{font-size:clamp(25px,5vw,37px)}.answer-buttons{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:26px}.answer-btn{border:2px solid transparent;border-radius:18px;padding:26px 10px;font-size:33px;font-weight:900;transition:transform .15s,border-color .15s}.answer-btn:hover{transform:translateY(-3px)}.answer-btn.yes{background:#e6ecff;color:#2447d5}.answer-btn.no{background:#edf0f5;color:#55627c}.answer-btn.selected{border-color:currentColor;box-shadow:0 8px 22px #1b3eac1c}.answer-note{text-align:center;color:#71809e;font-size:13px;margin:15px 0 0}.waiting{text-align:center;padding:55px 15px}.waiting-icon{width:66px;height:66px;border-radius:20px;background:#eaf0ff;display:grid;place-items:center;margin:auto;color:#2447d5;font-size:31px;font-weight:900}.waiting h2{font-size:22px;margin:20px 0 8px}.waiting p{color:#6b7893;line-height:1.8}.participant-result .verdict{font-size:25px}.participant-result .result-grid{margin-bottom:24px}.participant-result .muted{text-align:center}.toast{position:fixed;bottom:22px;left:50%;transform:translate(-50%,25px);background:#172346;color:#fff;padding:11px 18px;border-radius:100px;box-shadow:0 10px 30px #17234644;opacity:0;pointer-events:none;transition:.2s;z-index:10;max-width:90vw;text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}.error{color:#af2c2c;font-size:14px;margin:10px 0}.spinner{width:20px;height:20px;border:3px solid #dde5ff;border-top-color:#2447d5;border-radius:50%;animation:spin 1s linear infinite;margin:20px auto}@keyframes spin{to{transform:rotate(360deg)}}
@media(max-width:800px){.host-grid{grid-template-columns:1fr}.top-tag{display:none}.side{display:grid;grid-template-columns:1fr 1fr;gap:16px}.side .panel+.panel{margin:0}.page-head{align-items:center}}@media(max-width:550px){.topbar{height:70px}.page{padding-top:25px}.page-head{display:block}.room-pill{display:inline-block;margin-top:13px}.panel,.participant-card{padding:22px}.side{display:block}.side .panel+.panel{margin-top:16px}.qr-wrap{width:190px;height:190px}.participant-page .page-head{display:flex}.answer-btn{padding:22px 8px}}

/* YESの青とNOのマゼンタを軸にした発表演出 */
.answer-btn.no{background:#ffe4f5;color:#b60085}
.answer-btn.no.selected{background:#fbd0ee}
.result-box.no{background:#ffe4f5;color:#b60085}
.reveal-stage{overflow:hidden;border-radius:24px;background:#fff;border:1px solid #dbe0f5;box-shadow:0 22px 55px #11186d22;margin-bottom:22px;position:relative}
.reveal-top{min-height:64px;background:#1623b8;color:#fff;padding:14px 27px;display:flex;align-items:center;justify-content:space-between;gap:12px;position:relative}
.reveal-top:before{content:'';position:absolute;inset:0 0 0 50%;background:#c90092}
.reveal-top>*{position:relative;z-index:1}
.reveal-kicker{font-size:21px;font-weight:900;letter-spacing:.1em;text-shadow:0 2px 0 #0004}
.reveal-round{font-size:12px;font-weight:900;letter-spacing:.18em;opacity:.85}
.reveal-question{padding:20px 26px 17px;color:#172346;font-size:clamp(19px,2.5vw,28px);font-weight:900;line-height:1.5;letter-spacing:-.04em;text-align:center;white-space:pre-wrap;overflow-wrap:anywhere}
.reveal-countbar{background:#fff;display:flex;align-items:center;justify-content:center;gap:25px;padding:0 20px 18px}
.answered-total{display:flex;align-items:baseline;gap:8px;color:#1724bb;font-size:clamp(28px,5vw,46px);font-weight:900;line-height:1}
.answered-total strong{font-size:1.3em;color:#e60062;text-shadow:2px 3px 0 #f5d7e8}
.countbar-label{font-size:clamp(15px,2vw,23px);font-weight:900;color:#1724bb;letter-spacing:-.03em}
.reveal-counter{height:clamp(245px,35vw,385px);background:#0a0b14;position:relative;display:flex;align-items:center;justify-content:center;gap:12px;border-top:7px solid #17152a;border-bottom:7px solid #17152a;overflow:hidden}
.reveal-counter:before,.reveal-counter:after{content:'';position:absolute;top:0;bottom:0;width:5px;background:#c90092}
.reveal-counter:before{left:0}.reveal-counter:after{right:0}
.spotlight{display:none}
.spotlight.left{background:#182fee;left:-160px;top:30px}.spotlight.right{background:#e400ae;right:-160px;bottom:0}
.counter-caption{position:absolute;top:17px;left:0;right:0;text-align:center;color:#c9c5e7;font-size:12px;font-weight:900;letter-spacing:.28em}
.tv-digits{display:flex;align-items:center;justify-content:center;gap:clamp(0px,1.1vw,13px);z-index:1;padding-top:15px}
.tv-digit{width:clamp(68px,11vw,140px);height:auto;filter:drop-shadow(0 0 4px #fff6)}
.tv-digit .off{fill:#25252b}.tv-digit .on{fill:#fffde4;filter:drop-shadow(0 0 6px #ffffaa)}
.is-final .tv-digits{animation:count-slam .55s cubic-bezier(.15,1.4,.3,1) both}
.counter-unit{color:#ffdb22;font-size:clamp(24px,4vw,45px);font-weight:900;align-self:flex-end;margin-bottom:50px;z-index:1;text-shadow:0 0 18px #ffac00}
.counter-line{height:4px;position:absolute;bottom:0;left:0;right:0;background:#1724bb}
.reveal-bottom{display:grid;grid-template-columns:1fr 1.5fr 1fr;align-items:center;gap:12px;padding:20px 24px;background:#fff;transition:opacity .3s,transform .4s}
.is-pending .reveal-bottom{opacity:0;transform:translateY(14px)}
.reveal-target,.reveal-no{font-size:15px;font-weight:800;color:#687391;text-align:center}
.reveal-target strong{color:#1724bb;font-size:27px}.reveal-no strong{color:#c90092;font-size:27px}
.reveal-verdict{text-align:center;border-radius:100px;padding:12px 15px;font-size:clamp(17px,2.7vw,28px);font-weight:900;letter-spacing:-.03em}
.reveal-verdict.hit{background:#ffeb31;color:#161a71;box-shadow:0 5px 0 #e9b90e;animation:verdict-pop .6s .2s both}
.reveal-verdict.near{background:#ffe3f5;color:#ad0084}
.side,.history-list,.history-item{min-width:0}
.history-list{grid-template-columns:minmax(0,1fr)}
.history-item{width:100%}
@keyframes count-slam{0%{transform:scale(1.4);filter:brightness(2)}45%{transform:scale(.88)}100%{transform:scale(1)}}
@keyframes verdict-pop{0%{transform:scale(.5) rotate(-7deg)}75%{transform:scale(1.08) rotate(2deg)}100%{transform:scale(1) rotate(0)}}
@media(max-width:550px){.participant-page .page-head{display:block}.participant-page .room-pill{margin-top:10px}.reveal-top{padding:12px 16px;min-height:55px}.reveal-kicker{font-size:17px}.reveal-question{padding:18px 15px 12px}.reveal-countbar{display:block;text-align:center;padding-bottom:13px}.answered-total{justify-content:center;margin-bottom:7px}.countbar-label{font-size:16px}.reveal-counter{height:235px;gap:1px}.tv-digit{width:clamp(60px,20vw,83px)}.counter-unit{margin-bottom:38px;font-size:24px}.reveal-bottom{grid-template-columns:1fr 1fr;padding:15px 12px;gap:14px}.reveal-verdict{grid-column:1/-1;grid-row:1}.reveal-target,.reveal-no{font-size:13px}.reveal-target strong,.reveal-no strong{font-size:22px}}
@media(prefers-reduced-motion:reduce){.is-final .tv-digits,.reveal-verdict.hit{animation:none}.reveal-bottom{transition:none}}
.room-limit{border-top:1px solid #e5eaf7;margin-top:20px;padding-top:18px}
.room-limit-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:14px;font-weight:800}
.room-limit-heading strong{color:#2447d5;font-size:17px}
.room-limit .hint{margin:7px 0 16px}
.limit-controls{display:flex;gap:8px}
.limit-controls .input{min-width:0;flex:1}
.limit-controls .btn{min-width:64px}
.limit-controls+.hint{margin:7px 0 0}
.reveal-countbar{padding-top:22px}
.participant-prompt{font-size:clamp(21px,4.5vw,30px);font-weight:900;line-height:1.6;letter-spacing:-.05em;margin:12px 0 20px}
.spin-actions{display:flex;align-items:center;justify-content:center;gap:24px;padding:20px 24px;background:#fff;min-height:100px}
.spin-actions .reveal-target{min-width:130px}
.stop-btn{border:0;border-radius:100px;background:#f0009d;color:#fff;font-size:clamp(24px,4vw,38px);font-weight:900;letter-spacing:.04em;padding:17px 42px;box-shadow:0 8px 0 #8b005c,0 13px 24px #8b005c44;transition:transform .12s,box-shadow .12s}
.stop-btn:hover:not(:disabled){transform:translateY(3px);box-shadow:0 5px 0 #8b005c,0 9px 18px #8b005c44}
.stop-btn:active:not(:disabled){transform:translateY(7px);box-shadow:0 1px 0 #8b005c}
.spin-wait{font-size:16px;font-weight:800;color:#1724bb;text-align:center;margin:0}
.spin-grid{display:block}
.spin-grid>div{display:none}
.spin-grid .side{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.spin-grid .side .panel+.panel{margin:0}
@media(max-width:550px){.spin-actions{flex-direction:column;gap:12px;padding:18px}.stop-btn{width:100%}.spin-grid .side{display:block}.spin-grid .side .panel+.panel{margin-top:16px}}
.reveal-counter{aspect-ratio:16/9;height:auto}
.page:not(.participant-page) .tv-digit{width:clamp(68px,18vw,225px)}
.host-head-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}
.host-head-actions .btn{font-size:13px;min-height:44px;padding:10px 15px}
.counter-mode{background:#0a0b14}
.counter-mode .topbar{display:none}
.counter-page{max-width:1600px;margin:auto;padding:12px}
.counter-page .reveal-stage{margin:0}
.counter-page .tv-digit{width:clamp(60px,16vw,260px)}
.is-waiting .tv-digit .on{fill:#25252b;filter:none}
@media(max-width:550px){.reveal-counter{height:auto}.page:not(.participant-page) .tv-digit,.counter-page .tv-digit{width:clamp(54px,18vw,68px)}.counter-unit{margin-bottom:25px}.host-head-actions{justify-content:flex-start;margin-top:12px}.host-head-actions .room-pill{margin-top:0}.counter-page{padding:0}.counter-page .reveal-stage{border-radius:0}}
.reveal-counter{border:0}
.reveal-counter:before,.reveal-counter:after,.counter-line{display:none}
.counter-options{border-top:1px solid #e5eaf7;margin-top:20px;padding-top:18px}
.counter-options h3{font-size:15px;margin:0;color:#172346}
.counter-options .hint{margin:6px 0 12px}
.display-choice{display:flex;align-items:center;gap:10px;padding:10px 0;font-size:13px;font-weight:800;color:#42506f;cursor:pointer}
.display-choice input{width:20px;height:20px;accent-color:#2447d5;cursor:pointer;flex:none}
.counter-bare .counter-page{padding:0}
.counter-bare .reveal-stage{border:0;border-radius:0;box-shadow:none}
.invite-popup-btn{width:100%;margin:-3px 0 16px;font-size:13px;min-height:44px}
.invite-mode{background:#1724bb}
.invite-mode .topbar{display:none}
.invite-page{min-height:100vh;display:grid;place-items:center;padding:clamp(16px,4vw,55px);background:#1724bb}
.invite-board{width:min(1200px,100%);display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.85fr);align-items:center;gap:clamp(24px,5vw,70px);padding:clamp(28px,5vw,66px);border-radius:28px;background:#fff;box-shadow:0 24px 70px #06106155}
.invite-copy h1{font-size:clamp(38px,5vw,72px);line-height:1.18;color:#1724bb;margin:28px 0 20px}
.invite-copy p{font-size:clamp(16px,1.8vw,22px);font-weight:700;line-height:1.7;color:#53617e;margin:0 0 35px}
.invite-code-label{font-size:13px;font-weight:900;letter-spacing:.18em;color:#c90092;margin-bottom:8px}
.invite-code{font-size:clamp(42px,5vw,72px);font-weight:900;letter-spacing:.12em;color:#1724bb;line-height:1.1;white-space:nowrap;font-variant-numeric:tabular-nums}
.invite-qr{aspect-ratio:1;padding:clamp(10px,2vw,24px);border:2px solid #dfe5f6;border-radius:22px;display:grid;place-items:center;background:#fff}
.invite-qr svg{width:100%;height:100%}
@media(max-width:800px){.invite-board{grid-template-columns:1fr;text-align:center;gap:22px}.invite-copy h1{margin:18px 0 10px}.invite-copy p{margin-bottom:17px}.invite-qr{width:min(100%,390px);margin:auto}}
@media(max-width:550px){.invite-page{padding:12px}.invite-board{padding:24px;border-radius:18px}.invite-copy h1{font-size:38px}.invite-code{font-size:clamp(36px,10vw,52px);letter-spacing:.09em}.invite-qr{border-radius:15px}}
/* The counter symbol and wordmark share the reveal stage's colors. */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0a0b14;
  font-size: 21px;
  font-weight: 900;
  text-decoration: none;
}
.brand-mark { display: block; flex: none; width: 48px; height: 48px; }
.brand-title {
  display: inline-flex;
  align-items: baseline;
  gap: .16em;
  transform: rotate(-4deg);
  white-space: nowrap;
}
.brand-kana {
  color: #ffeb31;
  letter-spacing: -.055em;
  -webkit-text-stroke: 3px #0a0b14;
  paint-order: stroke fill;
  text-shadow: 0 2px #0a0b14;
}
.brand-yes {
  padding: .02em .15em .04em;
  background: #1724bb;
  color: #fffdf0;
  border: 2px solid #0a0b14;
  border-radius: 4px;
  box-shadow: 0 2px #0a0b14;
  font-size: 1.3em;
  line-height: 1;
  letter-spacing: -.06em;
}
.brand:focus-visible { outline: 3px solid #2447d5; outline-offset: 4px; border-radius: 4px; }
.invite-brand { font-size: 24px; }
@media (max-width: 800px) { .invite-brand { display: flex; justify-content: center; } }
@media (max-width: 550px) {
  .brand { font-size: 19px; }
  .brand-mark { width: 44px; height: 44px; }
}
.room-settings-panel .room-limit{border-top:0;margin-top:0;padding-top:0}
.effect-modes{border:0;margin:0;padding:0;display:grid;gap:8px}
.effect-modes legend{font-size:13px;font-weight:800;color:#42506f;margin-bottom:11px;padding:0}
.effect-choice{display:flex;align-items:flex-start;gap:10px;border:1px solid #dfe5f2;border-radius:12px;padding:11px 12px;cursor:pointer;color:#172346}
.effect-choice:has(input:checked){border-color:#2447d5;background:#f0f4ff}
.effect-choice input,.effect-sound input{width:19px;height:19px;accent-color:#2447d5;flex:none;margin:1px 0 0;cursor:pointer}
.effect-choice span,.effect-sound span{display:grid;gap:4px}
.effect-choice strong,.effect-sound span{font-size:14px;font-weight:800}
.effect-choice small,.effect-sound small{font-size:11px;line-height:1.5;color:#71809e;font-weight:600}
.effect-sound{display:flex;align-items:flex-start;gap:10px;border-top:1px solid #e5eaf7;margin-top:18px;padding-top:18px;cursor:pointer}

/* The two entry points come before the optional demo in reading and keyboard order. */
.landing-layout {
  --landing-yes: #1724bb;
  --landing-no: #c90092;
  display: grid;
  grid-template-columns: minmax(20px, 1fr) repeat(2, minmax(0, 540px)) minmax(20px, 1fr);
  align-items: center;
  padding-bottom: 48px;
}
body:has(.landing-layout) { min-width: 0; }
.shell:has(.landing-layout) .topbar { height: 68px; }
.landing-layout::before {
  content: "";
  grid-area: 1 / 1 / 2 / -1;
  align-self: stretch;
  background: var(--landing-yes);
}
.landing-intro {
  grid-area: 1 / 2;
  z-index: 0;
  padding: 36px clamp(16px, 3vw, 44px) 36px 0;
  color: #fff;
}
.landing-intro h1 {
  font-size: clamp(38px, 5.1vw, 66px);
  font-weight: 900;
  color: #fffdf0;
  line-height: 1.16;
  letter-spacing: -.04em;
  margin: 0 0 16px;
  -webkit-text-stroke: clamp(3px, .43vw, 6px) #0a0b14;
  paint-order: stroke fill;
  text-shadow: .025em .065em #0a0b14;
  transform: rotate(-2deg);
  transform-origin: left center;
}
.landing-intro h1 span { color: #ffeb31; }
.landing-intro p { font-size: clamp(14px, 1.35vw, 16px); line-height: 1.85; margin: 0; }
.landing-entry {
  grid-area: 2 / 2 / 3 / 4;
  align-self: start;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding-top: 22px;
}
.landing-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(18px, 3vw, 28px);
  background: #fff;
  border: 1px solid #dbe2f1;
  border-radius: 12px;
}
.landing-card h2 { font-size: clamp(19px, 2.4vw, 24px); letter-spacing: -.035em; line-height: 1.3; margin: 0 0 8px; }
.landing-card p { font-size: 14px; line-height: 1.65; color: #4c5b77; margin: 0 0 17px; }
.landing-entry-fields { margin-top: auto; margin-bottom: 13px; }
.landing-card .field-label { margin-bottom: 6px; }
.landing-card .input { border-radius: 7px; padding: 9px 12px; min-height: 42px; }
.landing-card .input.code { font-size: 19px; font-variant-numeric: tabular-nums; }
.landing-card .btn { box-shadow: none; border-radius: 7px; min-height: 46px; padding-block: 10px; }
.landing-card .btn-primary { background: var(--landing-yes); }
.landing-card .btn-outline { color: var(--landing-yes); border-color: var(--landing-yes); }
.landing-limit { font-size: 13px; color: #314264; }
.landing-limit summary { cursor: pointer; font-weight: 700; padding-block: 6px; }
.landing-limit[open] .field-label { margin-top: 8px; }
.landing-card .landing-room-note { font-size: 12px; margin: 4px 0 0; }
.landing-demo {
  grid-area: 1 / 3;
  z-index: 0;
  justify-self: end;
  width: min(100%, 390px);
  margin: 24px 0;
  background: #fff;
  border-radius: 9px;
  overflow: hidden;
}
.landing-demo-header, .landing-demo-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  padding: 9px 14px;
}
.landing-demo-header h2 { font-size: 14px; margin: 0; }
.landing-demo-header span { font-size: 12px; font-weight: 700; color: #4c5b77; }
.landing-demo-board { aspect-ratio: 16 / 9; display: grid; place-items: center; background: #0a0b14; }
.landing-demo-count {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  width: 72%;
  color: #ffdb22;
  font-size: 20px;
  font-weight: 900;
}
.landing-demo-count > span { margin-bottom: 5%; }
.landing-demo-digits { display: flex; flex: 1; min-width: 0; gap: 4px; }
.landing-demo-digits .tv-digit { flex: 1; width: 0; filter: none; }
.landing-demo-votes { min-height: 35px; padding: 8px 14px 0; background: #fff; }
.landing-demo-split { display: grid; overflow: hidden; border-radius: 3px; color: #fff; font-size: 12px; font-weight: 800; line-height: 27px; text-align: center; }
.landing-demo-split > span:first-child { background: var(--landing-yes); }
.landing-demo-split > span:last-child { background: var(--landing-no); }
.landing-demo-status { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 9px; font-size: 12px; font-weight: 800; }
.landing-demo-hit { color: #382c00; background: #ffeb31; border-radius: 3px; padding: 3px 6px; }
.landing-demo .btn {
  min-height: 44px;
  padding: 7px 11px;
  background: var(--landing-yes);
  color: #fff;
  border: 2px solid #0a0b14;
  border-radius: 6px;
  box-shadow: 0 2px #0a0b14;
  font-size: 12px;
}
.landing-layout :is(button, input, summary):focus-visible { outline: 3px solid #2447d5; outline-offset: 3px; }
@media (max-width: 700px) {
  .shell:has(.landing-layout) .topbar { height: 58px; }
  .landing-layout { grid-template-columns: 16px minmax(0, 1fr) 16px; padding-bottom: 28px; }
  .landing-intro { padding: 24px 0; }
  .landing-intro h1 { font-size: clamp(34px, 9vw, 50px); margin-bottom: 8px; }
  .landing-copy-break { display: none; }
  .landing-entry { grid-area: 2 / 2; grid-template-columns: minmax(0, 1fr); padding-top: 14px; gap: 10px; }
  .landing-card p { margin-bottom: 12px; }
  .landing-card .landing-room-note { margin-bottom: 0; }
  .landing-demo { grid-area: 3 / 2; justify-self: start; margin: 20px 0 0; border: 1px solid #dbe2f1; }
}
@media (prefers-reduced-motion: reduce) {
  .landing-layout .btn { transition: none; }
  .landing-layout .btn:hover:not(:disabled) { transform: none; }
}

