/* Only new screens and controls. The approved home menu keeps its own styles. */
[hidden] { display: none !important; }
.game-screen { width: 100%; max-width: 440px; min-height: 100vh; min-height: 100svh; margin: 0 auto; padding: calc(14px + env(safe-area-inset-top, 0px)) max(18px, env(safe-area-inset-right, 0px)) calc(18px + env(safe-area-inset-bottom, 0px)) max(18px, env(safe-area-inset-left, 0px)); display: flex; flex-direction: column; background: radial-gradient(ellipse at 25% 72%, #3907663d, transparent 60%), #09041e; }
.game-header { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin: 0 -7px 18px; min-height: 44px; }
.game-header h1 { font-size: 18px; font-weight: 800; text-align: center; margin: 0; outline: none; }
.game-header .game-back .icon { transform: rotate(180deg); }
.header-spacer { width: 40px; flex-shrink: 0; }
.setup-form { display: flex; flex-direction: column; gap: 20px; flex: 1; }
.setup-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.setup-form legend { width: 100%; font-size: 15px; font-weight: 700; margin-bottom: 10px; padding: 0; }
.legend-hint { float: right; font-size: 10px; font-weight: 400; color: #a992cb; padding-top: 3px; }
.mode-card { display: flex; align-items: center; text-align: left; gap: 11px; width: 100%; padding: 13px 12px; background: linear-gradient(120deg, #231443, #160d30); border: 1px solid #7044a77d; border-radius: 18px; }
.mode-emoji { font-size: 36px; filter: drop-shadow(0 0 7px #e84bff50); flex-shrink: 0; }
.mode-card strong { display: block; font-size: 15px; }
.mode-card small { display: block; font: 11px/1.5 "Segoe UI", sans-serif; color: #c3afd9; margin-top: 5px; }
.mode-card > .icon { margin-left: auto; width: 16px; color: #c4a0ec; }
.question-options { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.question-choice, .format-card, .theme-card { position: relative; cursor: pointer; min-width: 0; }
.question-choice input, .format-card input, .theme-card input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.question-choice > span { display: grid; place-items: center; min-height: 45px; border-radius: 16px; border: 1px solid #6d439e88; background: linear-gradient(160deg, #1c1037, #100924); font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.question-choice input:checked + span { color: #fff; background: linear-gradient(140deg, #dc47f4, #f32bff 60%, #a611d8); border-color: #ff9ff9; box-shadow: 0 0 16px #ef20fd45, inset 0 1px #ffc5ff90; font-weight: 800; }
.question-choice input:focus-visible + span, .format-card input:focus-visible + span, .theme-card input:focus-visible + span { outline: 2px solid #30d8ff; outline-offset: 4px; }
.format-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.format-body { display: flex; align-items: center; gap: 8px; min-height: 84px; border-radius: 17px; padding: 12px 9px; border: 1px solid #62419480; background: #170c30; }
.format-body strong { display: block; font-size: 12px; }
.format-body small { display: block; color: #bea5d4; font: 10px/1.5 "Segoe UI", sans-serif; margin-top: 4px; }
.format-emoji { font-size: 24px; flex-shrink: 0; }
.format-card input:checked + .format-body { border-color: #f47cfc; box-shadow: inset 0 0 15px #d027f124, 0 0 12px #ec36ff40; }
.format-card.unavailable { cursor: not-allowed; opacity: .6; }
.format-body em { display: inline-block; font: normal 8px "Segoe UI", sans-serif; padding: 2px 4px; border-radius: 5px; background: #926bc230; color: #d2bce8; }
.theme-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.theme-body { position: relative; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; min-height: 91px; padding: 12px 3px; background: #180d30; border: 1px solid var(--theme); border-radius: 15px; transition: box-shadow .15s, background-color .15s; }
.theme-emoji { font-size: 29px; line-height: 1.2; }
.theme-body strong { font-size: 10px; font-weight: 600; letter-spacing: -.15px; }
.theme-card input:checked + .theme-body { background: linear-gradient(150deg, color-mix(in srgb, var(--theme) 28%, #180d30), #180d30); box-shadow: inset 0 0 14px color-mix(in srgb, var(--theme) 22%, transparent), 0 0 12px color-mix(in srgb, var(--theme) 35%, transparent); border-width: 2px; padding: 11px 2px; }
.theme-check { display: none; position: absolute; top: -5px; right: -4px; width: 22px; height: 22px; border-radius: 50%; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; background: var(--theme); color: #fff; box-shadow: 0 0 9px #0004; }
.theme-card input:checked + .theme-body .theme-check { display: flex; }
.screen-bottom { margin-top: auto; padding-top: 6px; }
.game-primary { min-height: 53px; justify-content: center; text-align: center; font-size: 16px; border-radius: 18px; }
.local-note, .session-note { text-align: center; color: #b59bce; font: 10px/1.6 "Segoe UI", sans-serif; margin: 0 0 10px; }
.session-note { font-size: 10px; color: #a88aba; margin: 11px 0 0; }
.field-error { font: 12px/1.5 "Segoe UI", sans-serif; color: #ff9fcf; margin: 9px 0 0; min-height: 0; }
.field-error:empty { margin: 0; }
.room-summary { padding: 18px; border-radius: 20px; border: 1px solid #9254c37d; background: radial-gradient(ellipse at top right, #6e1aa04d, transparent 85%), #160c30; }
.room-brand { display: flex; justify-content: space-between; gap: 8px; align-items: center; font-weight: 900; font-size: 19px; letter-spacing: 1px; color: #f286f4; }
.room-brand span { font-size: 9px; letter-spacing: 0; font-weight: 400; color: #cfaddf; }
.room-summary h2 { margin: 16px 0 10px; font-size: 19px; }
.room-facts { display: flex; flex-wrap: wrap; gap: 8px 14px; font: 11px/1.6 "Segoe UI", sans-serif; color: #dbc3ec; }
.room-themes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 13px; }
.room-themes > span { padding: 5px 8px; border-radius: 9px; background: #a754cc1a; border: 1px solid #9860be3d; font: 10px/1.5 "Segoe UI", sans-serif; }
.players-section { margin-top: 24px; }
.players-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.players-heading h2 { font-size: 16px; letter-spacing: 0; margin: 0; }
.players-heading h2 span { color: #ba92e7; margin-left: 5px; }
.players-heading > span { font-size: 10px; color: #aa8dc5; }
.empty-players { padding: 25px 10px; text-align: center; color: #e6cef8; font-size: 14px; line-height: 1.7; border: 1px dashed #73509869; border-radius: 16px; margin: 16px 0; }
.empty-players span { display: inline-block; margin-top: 4px; color: #b99dce; font-size: 11px; }
.player-list { padding: 0; margin: 13px 0; list-style: none; display: grid; gap: 8px; }
.player-list li { display: flex; align-items: center; gap: 9px; padding: 5px 6px 5px 10px; min-height: 55px; background: linear-gradient(110deg, #201039, #150b2b); border: 1px solid #643e8a45; border-radius: 15px; }
.player-avatar { width: 33px; height: 33px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: hsl(var(--avatar-hue) 65% 28%); color: #ffeaff; border: 1px solid hsl(var(--avatar-hue) 75% 65% / .7); font-size: 15px; font-weight: 800; }
.player-row-name { flex: 1; min-width: 0; overflow-wrap: anywhere; font: 14px/1.4 "Segoe UI", sans-serif; }
.player-edit, .player-remove { width: 44px; height: 44px; flex-shrink: 0; padding: 0; border: 0; border-radius: 12px; background: transparent; color: #c5a0e6; font-size: 24px; }
.player-remove { color: #ed9ed0; }
.add-player { width: 100%; min-height: 50px; display: flex; align-items: center; justify-content: center; gap: 9px; color: #e5c4fa; font-size: 13px; background: #26113c55; border: 1px dashed #b76de89c; border-radius: 16px; }
.room-feedback { margin: 10px 0; min-height: 18px; font: 11px/1.5 "Segoe UI", sans-serif; color: #c3afd8; overflow-wrap: anywhere; }
.room-bottom { margin-top: auto; padding-top: 25px; }
.game-screen button:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.name-label { display: block; font-size: 13px; color: #d6bee9; margin: 20px 0 8px; }
.name-input { width: 100%; min-width: 0; min-height: 52px; border-radius: 13px; border: 1px solid #ac6cd7; background: #0c0620; color: #fff; font: 16px "Segoe UI", sans-serif; padding: 12px; }
.name-input:focus { outline: 2px solid #30d8ff; outline-offset: 2px; }
.name-input[aria-invalid="true"] { border-color: #ff9fcf; }
#player-form .game-primary { margin-top: 18px; }
.game-dialog h2 { margin: 0; font-size: 23px; }
#leave-title { margin: 18px 0 12px; }
.leave-button { margin-top: 9px; width: 100%; min-height: 48px; border: 1px solid #bc65ab55; border-radius: 15px; background: transparent; color: #f2b1d8; font-size: 13px; }
@media (min-width: 600px) { .game-screen { min-height: max(760px, calc(100svh - 48px)); border: 1px solid #7d36ce70; border-radius: 32px; box-shadow: 0 20px 80px #0006; } }
@media (max-width: 350px) { .game-screen { padding-left: 14px; padding-right: 14px; } .theme-body strong { font-size: 9px; } .format-body { gap: 6px; padding-left: 7px; padding-right: 7px; } .format-body strong { font-size: 11px; } .format-emoji { font-size: 20px; } .mode-card small { font-size: 10px; } .legend-hint { font-size: 9px; } }
@media (hover: hover) { .player-edit:hover, .player-remove:hover { background: #a56de51c; } .add-player:not(:disabled):hover { border-color: #fa8bfd; background: #4b19604a; } }

/* Secret handoff: identical presentation for every participant. */
.deal-progress { margin: 0 3px; color: #bda3d7; text-align: center; font-size: 11px; }
.deal-progress-track { height: 4px; margin: 12px auto 0; background: #332047; border-radius: 5px; max-width: 190px; overflow: hidden; }
.deal-progress-track span { display: block; height: 100%; background: linear-gradient(90deg, #a84afa, #ff6be9); border-radius: inherit; }
.handoff-panel { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 35px 0 15px; }
.sealed-card { width: 130px; height: 158px; margin-bottom: 32px; border-radius: 25px; border: 1px solid #c477ee; background: linear-gradient(150deg, #472064, #1a0c30 70%); box-shadow: inset 0 1px #e5b0ff55, 0 0 35px #c22bef1a; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 22px; transform: rotate(-7deg); }
.sealed-card .icon { width: 48px; height: 48px; color: #e7a0ff; stroke-width: 1.2; }
.sealed-card span { font-size: 15px; letter-spacing: 2px; font-weight: 800; color: #a880c1; }
.handoff-caption { margin: 0 0 10px; font-size: 14px; color: #c9b1df; }
.handoff-name { font-size: clamp(27px, 8vw, 36px); line-height: 1.2; margin: 0; max-width: 100%; overflow-wrap: anywhere; color: #faeaff; letter-spacing: -.6px; }
.deal-description { font: 13px/1.8 "Segoe UI", sans-serif; color: #bca2d2; margin: 20px 0 0; }
.privacy-note { color: #9cdded; font: 11px/1.6 "Segoe UI", sans-serif; margin: 15px 4px 0; max-width: 270px; }
.privacy-note:empty { margin: 0; }
.deal-bottom { padding-top: 24px; }
.secret-panel { display: flex; flex: 1; flex-direction: column; justify-content: center; padding: 25px 0 10px; }
.secret-owner { text-align: center; font: 12px/1.6 "Segoe UI", sans-serif; color: #d1aedf; overflow-wrap: anywhere; margin: 0 0 18px; }
.secret-card { position: relative; padding: 25px 23px 30px; border: 2px solid #f477fc; border-radius: 27px; background: radial-gradient(ellipse at 50% 0, #67148866, transparent 80%), #1c0a34; box-shadow: 0 0 25px #ed30f32b, inset 0 0 25px #a935dd1c; text-align: center; }
.secret-card-label { color: #e1b3ef; font-size: 12px; }
.secret-card-mark { display: block; color: #ed8cff; font-size: 47px; line-height: 1; margin: 28px 0 22px; text-shadow: 0 0 20px #da33f54d; }
.secret-card h2 { font-size: clamp(26px, 7.5vw, 34px); line-height: 1.2; letter-spacing: -.5px; overflow-wrap: anywhere; margin: 0; outline: none; }
.secret-card p { font: 15px/1.8 "Segoe UI", sans-serif; color: #e2cdec; margin: 22px 0 0; }
.secret-reminder { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 23px 0 0; font: 11px/1.7 "Segoe UI", sans-serif; color: #bf9ed1; }
.secret-reminder .icon { width: 23px; color: #ef8df4; }
.ready-content { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px 0; }
.ready-symbol { display: grid; place-items: center; width: 92px; height: 92px; margin-bottom: 32px; border-radius: 30px; border: 1px solid #c66de3; background: linear-gradient(135deg, #692c84, #2e124d); color: #facaff; font-size: 47px; box-shadow: 0 0 30px #ce40dd24; }
.ready-eyebrow { font-size: 12px; color: #b8f2ef; margin-bottom: 17px; }
.ready-content h2 { font-size: clamp(28px, 8vw, 36px); line-height: 1.2; margin: 0 0 20px; }
.ready-content p { font: 13px/1.8 "Segoe UI", sans-serif; color: #c3a9d6; margin: 0; }
.ready-count { display: inline-block; margin-top: 27px; color: #d8b5ea; border: 1px solid #83509a60; background: #8b459219; border-radius: 20px; padding: 9px 15px; font-size: 11px; }
#exit-game-title { margin: 18px 0 12px; }
.secret-panel:not([hidden]) .secret-card { animation: secret-reveal .18s ease-out; }
@keyframes secret-reveal { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

/* Shared oral discussion: one neutral card for the entire company. */
.question-stage { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 28px 0 20px; }
.question-shared-label { text-align: center; font-size: 11px; color: #c6a4db; margin: 0 0 15px; }
.question-card { position: relative; min-height: 230px; padding: 28px 23px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid #c459fa; border-radius: 26px; background: radial-gradient(ellipse at 50% 0, #54147060, transparent 80%), #160b2e; box-shadow: inset 0 0 25px #8327c11a, 0 0 25px #ae29e71c; text-align: center; }
.question-glyph { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 21px; border: 1px solid #df82f34d; border-radius: 12px; background: #c556ee12; color: #ed95fa; font-size: 23px; font-weight: 700; }
.question-card h2 { font-size: clamp(23px, 6.5vw, 29px); line-height: 1.35; margin: 0; outline: none; overflow-wrap: anywhere; letter-spacing: -.3px; }
.question-instruction { text-align: center; color: #bca3d3; font: 11px/1.8 "Segoe UI", sans-serif; margin: 18px 0 0; }
.discussion-roster { margin: 0 0 20px; }
.discussion-roster-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.discussion-roster-heading h2 { font-size: 12px; font-weight: 600; margin: 0; letter-spacing: 0; color: #d9bfe9; }
.discussion-roster-heading > span { color: #a58abf; font-size: 10px; }
#question-players { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; margin: 12px 0 0; }
#question-players li { display: flex; align-items: center; gap: 7px; max-width: 100%; padding: 6px 10px 6px 6px; border: 1px solid #74469d55; border-radius: 22px; background: #231136; color: #e2ccec; font: 12px/1.4 "Segoe UI", sans-serif; }
#question-players li > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.discussion-avatar { display: grid; place-items: center; width: 27px; height: 27px; flex-shrink: 0; background: #63307c; border: 1px solid #bc6dd266; border-radius: 50%; font-size: 12px; font-weight: 700; color: #ffe2ff; }
.question-controls { padding-top: 8px; }
.finish-discussion { display: block; width: 100%; min-height: 48px; border: 0; border-radius: 15px; margin-top: 6px; color: #c8a5de; background: transparent; font-size: 12px; }
.exhausted-note { color: #a6e1eb; font: 11px/1.7 "Segoe UI", sans-serif; text-align: center; margin: 0 0 13px; }
.exhausted-note:empty { margin: 0; }
.discussion-symbol { width: 92px; height: 92px; display: grid; place-items: center; border: 1px solid #bf6fe8; border-radius: 30px; background: linear-gradient(145deg, #57276b, #241039); box-shadow: 0 0 28px #b932df20; color: #f3b3fc; margin-bottom: 32px; }
.discussion-symbol .icon { width: 47px; height: 47px; stroke-width: 1.4; }
@media (max-height: 700px) { .question-stage { padding-top: 20px; } .question-card { min-height: 200px; padding: 22px 18px; } }

/* Secret ballots and reveal. No tally is rendered before all ballots are cast. */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.vote-counter { text-align: center; font-size: 11px; color: #c6a2db; margin: 0 0 10px; }
.runoff-note { font: 11px/1.7 "Segoe UI", sans-serif; text-align: center; padding: 11px; border: 1px solid #9165c04d; border-radius: 13px; color: #d6b7eb; margin: 0; background: #42215926; }
.ballot-form { display: flex; flex-direction: column; flex: 1; padding-top: 18px; }
.ballot-prompt { text-align: center; font-size: 24px; line-height: 1.25; margin: 0 0 12px; }
.ballot-prompt strong { font-weight: 800; }
.ballot-help { text-align: center; font: 12px/1.7 "Segoe UI", sans-serif; color: #c6abd9; margin: 0 0 22px; }
.candidate-fieldset { min-width: 0; border: 0; padding: 0; margin: 0 0 24px; }
.vote-candidates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px 10px; }
.vote-candidates[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 280px; margin-inline: auto; }
.vote-candidates[data-count="1"] { grid-template-columns: minmax(0, 1fr); max-width: 160px; margin-inline: auto; }
.content-category { margin-top: 20px; }
.content-category h3 { font-size: 13px; margin: 0 0 10px; color: #e1caef; }
.content-category > p { font: 10px/1.6 "Segoe UI", sans-serif; margin: 8px 0 0; color: #ac8ec5; }
.subtheme-card { display: block; position: relative; cursor: pointer; }
.subtheme-card input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.subtheme-body { display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 13px 15px; border: 1px solid #71519888; border-radius: 17px; background: #1a0d31; }
.subtheme-icon { font-size: 28px; }
.subtheme-body strong { display: block; font-size: 14px; }
.subtheme-body small { display: block; margin-top: 5px; color: #b99cd1; font-size: 10px; }
.subtheme-check { display: grid; place-items: center; margin-left: auto; width: 25px; height: 25px; border: 1px solid #8c5cb0; border-radius: 50%; font-size: 0; flex-shrink: 0; }
.subtheme-card input:checked + .subtheme-body { border-color: #f47cfc; background: #2b123f; box-shadow: 0 0 12px #ec36ff25; }
.subtheme-card input:checked + .subtheme-body .subtheme-check { background: #d44ee8; border-color: #e895f4; font-size: 13px; }
.subtheme-card input:focus-visible + .subtheme-body { outline: 2px solid #30d8ff; outline-offset: 4px; }
#new-content-title { margin-bottom: 17px; }
.exhausted-actions { padding-bottom: 2px; }
.candidate-card { min-width: 0; cursor: pointer; position: relative; }
.candidate-card input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.candidate-body { position: relative; display: flex; align-items: center; flex-direction: column; justify-content: center; gap: 10px; padding: 17px 5px 13px; min-height: 126px; border: 1px solid #784ea88c; border-radius: 18px; background: linear-gradient(160deg, #291644, #160d2a); transition: box-shadow .15s, border-color .15s; }
.candidate-avatar { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 18px; background: linear-gradient(150deg, hsl(var(--avatar-hue) 65% 42%), hsl(var(--avatar-hue) 60% 22%)); border: 1px solid hsl(var(--avatar-hue) 85% 73% / .6); color: #fff1ff; font-size: 26px; font-weight: 800; box-shadow: inset 0 1px #fff2; }
.candidate-body strong { max-width: 100%; font: 12px/1.5 "Segoe UI", sans-serif; text-align: center; overflow-wrap: anywhere; }
.candidate-tick { display: none; position: absolute; right: -5px; top: -5px; width: 25px; height: 25px; border-radius: 50%; background: #ec56ef; color: #fff; font-size: 13px; align-items: center; justify-content: center; }
.candidate-card input:checked + .candidate-body { border-color: #ff9af5; box-shadow: 0 0 17px #e342ee55, inset 0 0 18px #b828c42d; }
.candidate-card input:checked + .candidate-body .candidate-tick { display: flex; }
.candidate-card input:focus-visible + .candidate-body { outline: 2px solid #30d8ff; outline-offset: 3px; }
#vote-confirm-title { margin: 18px 0 12px; }
#confirm-candidate-name { color: #f7c0ff; overflow-wrap: anywhere; }
#commit-vote:disabled { opacity: .4; }
#counting-title { font-size: 28px; margin: 35px 0 17px; text-align: center; outline: none; }
.counting-orbit { position: relative; width: 100px; height: 100px; display: grid; place-items: center; color: #f5adff; }
.counting-orbit .icon { width: 43px; height: 43px; }
.counting-orbit::before { content: ""; position: absolute; inset: 0; border: 2px solid #68298955; border-top-color: #ed70fa; border-right-color: #6be7ff; border-radius: 50%; animation: count-orbit .8s linear infinite; }
.result-hero { text-align: center; padding: 10px 0 22px; }
.result-symbol { display: block; color: #ee7cf6; font-size: 46px; text-shadow: 0 0 20px #e33dff44; margin-bottom: 9px; }
.result-hero h2 { font-size: 30px; line-height: 1.15; margin: 0 0 12px; color: #ffe5ff; }
.result-hero > p { font: 12px/1.8 "Segoe UI", sans-serif; color: #c8acd9; margin: 0; }
.winner-card { display: flex; flex-direction: column; gap: 7px; padding: 16px; margin: 20px 0 0; border: 1px solid #df7fee80; border-radius: 19px; background: radial-gradient(ellipse at top, #74278555, transparent), #1e1032; }
.winner-card > span { color: #be9dd3; font-size: 10px; }
.winner-card strong { font-size: 25px; overflow-wrap: anywhere; }
.winner-card small { color: #86e5ed; font-size: 11px; }
.story-reveal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; margin-bottom: 25px; }
.story-reveal article { min-width: 0; border: 1px solid #a653dc; border-radius: 18px; background: linear-gradient(160deg, #37204b, #1b0e2e); padding: 14px 12px; }
.story-reveal article:nth-child(2) { border-color: #4bc0dd; background: linear-gradient(160deg, #153b52, #110e2d); }
.story-reveal article > span { font: 9px/1.5 "Segoe UI", sans-serif; color: #dab1e7; }
.story-reveal h3 { font-size: 16px; line-height: 1.3; margin: 13px 0 9px; overflow-wrap: anywhere; }
.story-reveal p { font: 10px/1.7 "Segoe UI", sans-serif; color: #cbb5d9; margin: 0 0 14px; }
.story-reveal strong { font: 11px/1.6 "Segoe UI", sans-serif; color: #f6e3ff; overflow-wrap: anywhere; }
.result-tally { margin-bottom: 25px; }
.result-tally h2 { font-size: 16px; margin: 0; letter-spacing: 0; }
.result-tally > p { color: #a78ebd; font-size: 10px; margin: 7px 0 12px; }
#vote-totals { list-style: none; display: grid; gap: 6px; padding: 0; margin: 0; }
#vote-totals li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 13px; background: #28143c66; border: 1px solid #70438a44; border-radius: 12px; font: 12px/1.5 "Segoe UI", sans-serif; }
#vote-totals li span { overflow-wrap: anywhere; min-width: 0; }
#vote-totals li strong { color: #df9ef4; flex-shrink: 0; }
.result-actions { padding-top: 0; }
.results-screen:not([hidden]) .result-hero { animation: result-in .22s ease-out; }
@keyframes count-orbit { to { transform: rotate(360deg); } }
@keyframes result-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 350px) { .vote-candidates { gap: 11px 8px; } .candidate-avatar { width: 43px; height: 43px; font-size: 22px; } .candidate-body strong { font-size: 11px; } .story-reveal article { padding: 12px 10px; } }
@media (max-height: 700px) { .sealed-card { width: 95px; height: 112px; margin-bottom: 22px; gap: 14px; } .sealed-card .icon { width: 35px; height: 35px; } .handoff-panel { padding-top: 22px; } .secret-panel { padding-top: 18px; } .secret-card { padding: 20px; } .secret-card-mark { margin: 17px 0; font-size: 35px; } }
