.sentence-voting{max-width:1440px;margin:auto;padding:20px 0 40px;color:#342214}.vote-heading{display:flex;align-items:center;gap:24px;color:#fff0cb;margin-bottom:22px}.vote-heading .welcome-logo{width:280px;height:100px;object-fit:contain}.vote-heading h1{font:800 clamp(30px,4vw,52px)/1.1 Georgia,serif;margin:5px 0}.vote-heading .eyebrow{color:#ffd985}.vote-timer{margin-left:auto;text-align:center;border:1px solid #cfaf68;background:#1a111ae8;padding:13px 25px;border-radius:12px}.vote-timer span{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.1em}.vote-timer strong{font-size:38px;color:#ffcd65;font-variant-numeric:tabular-nums}.voting-stage{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:24px;align-items:start}.ballot-paper,.sentence-result-card,.sentence-score-paper{background:#fff1d5 url('/assets/blank-em/pack/ui/sidebar_parchment_panel.png') center/100% 100% no-repeat;border:2px solid #c99b58;border-radius:13px;box-shadow:0 9px 25px #160d0d80;color:#35251a;min-width:0}.ballot-paper{padding:28px 35px}.ballot-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.ballot-tabs button{display:flex;gap:9px;align-items:center;justify-content:center;background:#eed6aa;border:2px solid #ceab6d;font:700 18px Georgia,serif;color:#513820;min-height:65px;padding:10px}.ballot-tabs button.active{color:#fff4cb;background:#007872;border-color:#4ee1cc}.ballot-tabs small{font:800 14px system-ui}.ballot-instruction{margin:24px 0 0;text-align:center;color:#755539;font-size:14px}.ballot-sentence{font:700 clamp(27px,3vw,43px)/1.35 Georgia,serif;text-align:center;margin:20px auto 28px;max-width:860px;text-wrap:balance}.sentence-blank{color:#007d77;text-decoration:underline;text-underline-offset:7px}.ballot-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-height:45vh;overflow:auto;padding:5px 5px 12px}.ballot-choices button{background:#fff9e7;color:#2c493f;border:2px solid #cbb085;box-shadow:0 3px 0 #cbb085;padding:15px 12px;min-height:62px;font:750 clamp(20px,2vw,28px) Georgia,serif;overflow-wrap:anywhere}.ballot-choices button.picked{background:#006e67;color:#fff4d3;border-color:#16bba6;box-shadow:0 3px 0 #00524e}.ballot-choices button:focus-visible,.ballot-tabs button:focus-visible{outline:3px solid #c83f7e;outline-offset:3px}.ballot-footer{display:flex;align-items:center;gap:20px;border-top:1px solid #b8976344;padding-top:20px;margin-top:15px}.ballot-footer>div{flex:1}.ballot-footer strong{display:block;font-size:22px}.ballot-footer small{display:block;color:#755539;max-width:400px;margin-top:6px;line-height:1.4}.ballot-footer button{font-size:20px;min-height:56px;min-width:170px}.vote-host{align-self:end;padding-bottom:20px}.vote-host .cindy-host{position:static;width:100%;min-height:0;display:block;transform:none}.vote-host .cindy-portrait{width:100%;height:auto;display:block}.vote-host .cindy-name{width:90%;margin:-12px auto 0}.vote-host-note{text-align:center;color:#ffe19e;font:700 23px/1.3 Georgia,serif;background:#21100cdf;padding:18px;margin-top:10px;border-radius:10px}.sentence-results-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:22px;padding:28px 2%}.sentence-result-cards{display:grid;gap:20px;min-width:0}.sentence-result-card{padding:27px 34px;background-size:100% 100%}.revealed-sentence{font:650 clamp(25px,2.5vw,36px)/1.45 Georgia,serif;margin:12px 0 16px;overflow-wrap:anywhere}.sentence-owned{color:#231b16;border-bottom:3px solid var(--color);background:color-mix(in srgb,var(--color) 20%,transparent);padding:0 2px;box-decoration-break:clone;-webkit-box-decoration-break:clone}.sentence-filler{color:#000;font-weight:800;text-decoration:underline}.sentence-card-bottom{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:18px;align-items:end}.sentence-card-bottom>img{width:100%;height:auto;mix-blend-mode:multiply}.sentence-credit{font-size:15px;overflow-wrap:anywhere}.sentence-credit strong{display:block;color:#00736d;margin-top:5px}.sentence-result-card details{font-size:14px}.sentence-result-card summary,.sentence-score-paper summary{cursor:pointer;font-weight:700;padding:10px 0}.answer-tally{display:flex;justify-content:space-between;gap:10px;border-top:1px solid #b7935140;padding:7px 0}.answer-tally small{display:block;font-size:11px;color:#795b3e}.sentence-score-paper{padding:28px 24px;align-self:start}.sentence-score-paper h2{font:750 27px Georgia,serif;margin:0 0 18px}.sentence-score-paper h3{font:750 23px Georgia,serif}.sentence-total{padding:17px 10px;background:#efe1bb;border:1px solid #c6a463;text-align:center;border-radius:8px}.sentence-total>strong{display:block;color:#006e68;font:800 58px Georgia,serif}.sentence-total p{font-size:13px;margin:6px 0}.sentence-standings{margin:20px 0}.sentence-racer{display:flex;gap:9px;align-items:center;padding:9px 0;border-bottom:1px solid #c6a46355}.sentence-racer>div{flex:1;min-width:0}.sentence-racer strong{overflow-wrap:anywhere}.sentence-racer small{display:block;font-size:11px;margin-top:5px}.sentence-racer .player-portrait{flex-shrink:0;width:37px;height:37px}.source-explanation{font-size:12px;color:#785735;line-height:1.5}.sentence-source-word{display:flex;justify-content:space-between;gap:15px;padding:8px 0;border-bottom:1px solid #c6a46355}.sentence-source-word small{display:block;font-size:11px;color:#775335}.sentence-source-word strong{overflow-wrap:anywhere}.sentence-source-word>b{color:#00736d}.sentence-score-view{padding:30px 5%;max-width:900px;margin:auto}
@media(max-width:1000px){.voting-stage{grid-template-columns:1fr}.vote-host{display:none}.vote-heading .welcome-logo{width:210px}.ballot-paper{padding:23px}.sentence-results-layout{grid-template-columns:minmax(0,1fr) 280px;gap:14px}.sentence-result-card{padding:24px}.sentence-card-bottom{grid-template-columns:minmax(0,1fr) 120px}.sentence-score-paper{padding:22px 18px}}
@media(max-width:700px){.vote-heading{gap:10px;flex-wrap:wrap}.vote-heading .welcome-logo{width:170px;height:65px}.vote-heading>div:not(.vote-timer){order:3;width:100%}.vote-heading h1{font-size:33px}.vote-timer{padding:8px 17px}.vote-timer strong{font-size:30px}.ballot-paper{padding:16px 12px}.ballot-tabs{grid-template-columns:repeat(2,1fr);gap:6px}.ballot-tabs button{font-size:17px;min-height:49px}.ballot-sentence{font-size:28px}.ballot-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;max-height:none}.ballot-choices button{font-size:22px}.ballot-footer{flex-direction:column;align-items:stretch}.ballot-footer>button{width:100%}.sentence-results-layout{grid-template-columns:1fr;padding:25px 3%}.sentence-result-card{padding:23px 18px}.revealed-sentence{font-size:27px}.sentence-card-bottom{grid-template-columns:minmax(0,1fr) 110px}.sentence-score-paper{padding:26px}.sentence-score-view{padding:25px 3%}}
/* Flexible paper surfaces keep decorative frames from crossing live text. */
.ballot-paper,.sentence-result-card,.sentence-score-paper{background:radial-gradient(ellipse at 25% 10%,#fffaf0 0%,#fff0d3 60%,#f3dfb8 100%);box-shadow:inset 0 0 0 5px #fff4da,inset 0 0 0 6px #d7b77f,0 9px 25px #160d0d80}
.storybook-host .cindy-portrait{max-width:100%}
@media(max-width:760px){.storybook-tabs{flex-wrap:wrap}.storybook-tabs .round-tabs{width:100%;justify-content:flex-end}}
.answer-completion{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}.answer-player{display:flex;align-items:center;gap:8px;background:#20180ded;border:1px solid #9d814e;color:#fff3d5;border-radius:9px;padding:7px 12px;min-width:0}.answer-player .player-portrait{width:30px;height:30px;flex-shrink:0}.answer-player strong{max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}.answer-player>span{font-size:12px;color:#e0cfae}.answer-player.done{border-color:#44c5a5;background:#113c30ed}.answer-player.done>span{font-size:22px}.answer-instruction{font:700 21px Georgia,serif;margin:0 0 22px;text-align:center}.answer-prompts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.answer-prompt{min-width:0;background:#fff8e8c9;border:1px solid #c4a776;border-radius:9px;padding:18px}.answer-prompt>.eyebrow{color:#00756c;margin:0 0 10px}.answer-sentence{font:700 clamp(23px,2vw,30px)/1.4 Georgia,serif;margin:0 0 15px;min-height:84px;overflow-wrap:anywhere}.answer-pool-label{font-size:12px;color:#755539}.answer-choices{display:flex;flex-wrap:wrap;gap:8px;max-height:155px;overflow:auto;padding:4px 4px 9px}.answer-choices button{padding:10px 16px;background:#fff9e7;border:2px solid #bea073;color:#234b40;font:700 21px Georgia,serif;min-height:47px;overflow-wrap:anywhere}.answer-choices button.picked{background:#006e67;color:#fff4d3;border-color:#16bba6}.answer-choices button:focus-visible{outline:3px solid #c83f7e;outline-offset:2px}.answer-submit-footer{position:sticky;bottom:0;background:#fff0d2;padding:16px 4px 4px;z-index:2}.answer-submit-footer button{min-width:230px}.voted-answer-ranking{margin-top:16px}.answer-tally>b{white-space:nowrap;color:#006e67}.answer-tally>span{overflow-wrap:anywhere}
@media(max-width:700px){.answer-prompts{grid-template-columns:1fr;gap:14px}.answer-prompt{padding:14px}.answer-sentence{min-height:0}.answer-completion{gap:5px}.answer-player{padding:5px 8px}.answer-player strong{max-width:105px}.answer-player>span{font-size:10px}.answer-submit-footer{gap:10px;flex-wrap:wrap;padding:12px 0}.answer-submit-footer button{min-width:0;width:100%}.answer-instruction{font-size:19px}.answer-submission .ballot-paper{padding:15px}.answer-choices{max-height:135px}}
.answer-submit-footer{position:static}.answer-player .player-portrait{color:#234b40;background:#fff4d6}
.sentence-card-bottom{grid-template-columns:minmax(0,2fr) minmax(0,3fr);align-items:stretch;gap:20px;min-height:120px}
/* The response list sets the row height; the picture cannot enlarge it. */
.sentence-art-frame{position:relative;margin:0;min-width:0;overflow:hidden;border-radius:10px;border:1px solid #b79b70;background:#eadcc2}
.sentence-context-art{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}
.sentence-context-art[data-scene="train"]{object-position:left center}
.sentence-context-art[hidden],.sentence-art-fallback[hidden]{display:none}
.sentence-art-fallback{position:absolute;inset:0;overflow:auto;padding:12px;font:600 15px/1.4 Georgia,serif;color:#73533a}
.sentence-vote-summary{min-width:0;font-size:13px}.sentence-vote-summary .sentence-credit{margin:0;font-size:13px}.sentence-vote-summary .voted-answer-ranking{margin-top:10px}.sentence-vote-summary .answer-tally{padding:6px 0;gap:8px;font-size:12px}
.sentence-vote-summary .voted-answer-ranking{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}
.vote-penalty{color:#9b2632;font-weight:750}
@media(max-width:1200px){.sentence-results-layout{grid-template-columns:minmax(0,1fr)}.sentence-card-bottom{gap:14px}}
@media(max-width:760px){.sentence-card-bottom{grid-template-columns:minmax(0,1fr)}.sentence-art-frame{height:140px}.sentence-vote-summary .voted-answer-ranking{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}}
/* Compact, selectable standings above one player's original score breakdown. */
.score-panel{padding:24px 18px;color:#342619}
.score-panel h2{font:750 31px/1.12 Georgia,serif;margin:0 0 18px}
.score-section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;min-width:0}
.score-panel h3{font:700 23px/1.2 Georgia,serif;margin:0;overflow-wrap:anywhere;min-width:0}
.score-section-heading>span{color:#816745;font-size:12px;flex-shrink:0}
.score-panel-hint{font-size:13px;color:#796044;margin:6px 0 16px;line-height:1.45}
.score-player-grid{display:grid;grid-template-columns:repeat(var(--score-columns),minmax(0,1fr));gap:6px;margin-bottom:24px}
.score-player-card{position:relative;display:flex;flex-direction:column;align-items:center;min-width:0;padding:30px 3px 8px;border:1px solid #d4b681;border-radius:8px;background:#fff7e6;color:#174e46;box-shadow:none}
.score-rank-award{position:absolute;top:0;left:50%;transform:translateX(-50%);width:34px;height:34px;object-fit:contain;z-index:1;pointer-events:none}
.score-player-card:hover:not(:disabled){background:#fffbed;border-color:var(--color,#008d82);transform:translateY(-1px)}
.score-player-card[aria-pressed="true"],.score-player-card[aria-pressed="true"]:hover:not(:disabled){background:#e6f8ef;border:2px solid #009e91;padding:29px 2px 7px;box-shadow:0 0 0 2px #00b49c18}
.score-player-card:focus-visible{outline:3px solid #007e78;outline-offset:2px}
.score-player-card .player-portrait{width:50px;height:50px;max-width:100%;flex-shrink:0;border-width:2px;font-size:21px;margin:0 0 6px;background:#fff5db}
.score-player-name{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#332719;font:700 16px/1.25 Georgia,serif}
.score-player-name-line{display:flex;align-items:center;justify-content:center;gap:3px;max-width:100%;min-height:20px}
.score-role-ai{flex:none;border-radius:3px;padding:1px 2px;background:#ffe298;color:#795000;font:700 8px/1.25 system-ui,sans-serif}
.score-player-best,.score-player-best-empty{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;min-height:35px;margin:5px 0 7px;padding:3px 1px;border-radius:5px;line-height:1.3}
.score-player-best{background:color-mix(in srgb,var(--color,#008f8b) 20%,#fff9e9);border-bottom:2px solid var(--color,#008f8b);color:#332719}
.score-player-best strong{font:750 11px/1.3 system-ui,sans-serif;max-width:100%;overflow-wrap:anywhere}
.score-player-best small{font:600 10px/1.3 system-ui,sans-serif}
.score-player-best u{text-decoration-color:var(--color,#008f8b);text-decoration-thickness:2px;text-underline-offset:2px}
.score-player-best-empty{font:500 10px/1.3 system-ui,sans-serif;color:#897655}
.score-player-total{font:750 21px/1.2 Georgia,serif;max-width:100%;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.score-player-round{display:block;margin-top:4px;max-width:100%;font:500 10px/1.3 system-ui,sans-serif;color:#756044;text-align:center;font-variant-numeric:tabular-nums}
.score-selected-detail{border-top:1px solid #c79f61;padding-top:18px}
.score-panel .sentence-total{background:none;border:0;border-radius:0;text-align:left;padding:0 0 16px;border-bottom:1px solid #cfb68a}
.score-panel .sentence-total .score-section-heading>strong{font:750 31px/1.15 Georgia,serif;color:#006e68;font-variant-numeric:tabular-nums}
.score-panel .sentence-total p{font-size:13px;line-height:1.5;margin:9px 0 0}
.score-panel .score-words-heading{margin-top:18px}
.score-panel .source-explanation{font-size:12px;line-height:1.4;margin:7px 0 12px}
.score-panel .sentence-source-word{padding:12px 2px;border-top:1px solid #d5be975e;border-bottom:0;gap:10px}
.score-panel .sentence-source-word>div{min-width:0;overflow-wrap:anywhere;font-size:16px}
.score-word-adjustment{font-weight:400;color:#705739}
.score-panel .sentence-source-word small{font-size:12px;margin-top:4px}
.score-panel .sentence-source-word>b{font-size:16px;flex-shrink:0}
.score-panel .score-all-words,.score-panel .score-all-words:hover:not(:disabled){width:100%;background:transparent;border:0;border-top:1px solid #cfb68a;border-radius:0;color:#007b85;font-weight:750;padding:14px 5px 2px}
.score-empty-words{font-size:13px;line-height:1.5;color:#755539}
.sentence-score-view .score-panel{max-width:540px;margin:auto}
@media(min-width:701px) and (max-width:1200px){.sentence-results-layout>.score-panel{width:100%;max-width:540px;margin:auto}}
/* Illustrated sentence reveals: compact scene beside the actual writers' answers. */
.sentence-result-card{display:grid;grid-template-columns:minmax(150px,34%) minmax(0,1fr);gap:18px;padding:20px;align-items:center}
.sentence-result-card>.sentence-art-frame{width:100%;height:auto;min-height:150px;max-height:none;align-self:stretch;border:1px solid #c49a50;border-radius:15px}
.sentence-result-content{min-width:0}
.sentence-result-labels{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap}
.sentence-result-labels .eyebrow{margin:0;color:#85613c;font-size:10px;letter-spacing:.15em}
.sentence-tie-label{font-size:11px;font-weight:750;color:#94621a}
.sentence-result-content .revealed-sentence{font:700 clamp(23px,2.1vw,31px)/1.22 Georgia,serif;text-align:center;text-wrap:balance;margin:8px 0 22px}
.sentence-result-content .voted-answer-ranking{display:grid;grid-template-columns:repeat(var(--answer-columns),minmax(90px,120px));justify-content:safe center;gap:10px 7px;overflow-x:auto;padding:16px 3px 3px;margin:-16px -3px -3px}
.sentence-result-content .voted-answer-ranking:focus-visible{outline:2px solid #008f8b;outline-offset:3px;border-radius:12px}
.answer-response-card{position:relative;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:7px;min-width:0;padding:10px 7px 7px;border:1px solid #c9c6b9;border-radius:12px;background:#fffaf0;box-shadow:0 2px 0 #d8c8a555;color:#2b3838}
.answer-response-card.answer-favorite{border:2px solid #e5a229;padding:9px 6px 6px;background:#ffefb4;box-shadow:0 0 12px #efc64b55,0 2px 0 #bd842744}
.answer-winner-mark{position:absolute;left:50%;top:-16px;transform:translateX(-50%);width:26px;height:23px;display:flex;align-items:center;justify-content:center;filter:drop-shadow(0 2px 1px #87551466)}
.answer-winner-mark img{display:block;width:24px;height:20px}
.answer-contributors{display:flex;flex-direction:column;gap:5px;min-width:0}
.answer-contributor{display:flex;gap:5px;align-items:center;min-width:0;text-align:left}
.answer-contributor .player-portrait{width:27px;height:27px;border-width:2px;flex-shrink:0;background:#fff4d9;font-size:12px}
.answer-contributor>span:not(.player-portrait){min-width:0}
.answer-contributor strong{font-size:12px;display:block;overflow-wrap:anywhere;line-height:1.15}
.answer-contributor .answer-ai-label{font-size:9px;font-weight:750;color:#89611e;line-height:1.15;display:block;margin-top:2px}
.answer-response-card .answer-response-word{font:700 17px/1.15 Georgia,serif;text-align:center;overflow-wrap:anywhere;margin:auto 0 0;color:#252d28;min-height:20px}
.answer-response-card .answer-vote-count{display:flex;align-items:center;justify-content:center;gap:5px;background:#d8e6e9;color:#234957;padding:4px 3px;border-radius:8px;line-height:1.2;font-size:14px;min-height:26px}
.answer-vote-count b{font-size:17px;font-variant-numeric:tabular-nums}
.answer-vote-count img{width:14px;height:14px;display:block}
.answer-vote-label{font-size:10px;font-weight:650}
.answer-favorite .answer-vote-count{background:#ffdd75;color:#69400d}
.answer-bank-label{min-height:27px;display:flex;flex-direction:column;justify-content:center;text-align:center}
.answer-bank-label strong{font-size:12px;line-height:1.15}
.answer-bank-label small{display:block;font-size:9px;line-height:1.15;margin-top:2px;color:#73573d}
.sentence-result-count{font-size:11px;font-weight:650;text-align:center;color:#856746;margin:11px 0 0}
.sentence-no-votes{font-size:12px;text-align:center;color:#755539;margin:-8px 0 12px}
.sentence-result-cards>p.sentence-result-card{display:block}
@media(max-width:760px){.sentence-result-card{grid-template-columns:minmax(0,1fr);gap:14px;padding:18px}.sentence-result-card>.sentence-art-frame{height:auto;aspect-ratio:16/9;min-height:0;max-height:220px;max-width:none;margin:0}.sentence-result-content .revealed-sentence{font-size:26px}}
/* A small scene anchors each ballot without competing with the choices. */
.vote-prompt-heading{display:grid;grid-template-columns:clamp(108px,10vw,148px) minmax(0,1fr);align-items:center;gap:16px;margin-bottom:15px}
.vote-prompt-heading>.sentence-art-frame{width:100%;height:auto;aspect-ratio:4/3;border:1px solid #c29d60;border-radius:11px;box-shadow:0 2px 5px #7651221c}
.vote-prompt-copy{min-width:0}
.vote-prompt-copy>.eyebrow{color:#00756c;margin:0 0 8px;line-height:1.4}
.vote-prompt-copy>.answer-sentence{min-height:0;margin:0;font-size:clamp(23px,1.85vw,28px);line-height:1.3;text-wrap:pretty}
.vote-prompt-heading .sentence-art-fallback{padding:8px;font-size:12px;line-height:1.3}
@media(min-width:701px) and (max-width:1000px){.vote-prompt-heading{grid-template-columns:96px minmax(0,1fr);gap:12px}.vote-prompt-copy>.answer-sentence{font-size:23px}}
@media(max-width:700px){
 .vote-prompt-heading{display:block;margin-bottom:13px}
 .vote-prompt-heading::after{content:'';display:block;clear:both}
 .vote-prompt-heading>.sentence-art-frame{float:left;width:90px;margin:0 12px 8px 0}
 .vote-prompt-copy>.eyebrow{font-size:10px;margin-bottom:6px}
 .vote-prompt-copy>.answer-sentence{font-size:22px}
 .vote-submission .answer-choices{max-height:none}
}
