:root{--ink:#243c35;--muted:#758078;--paper:#f6f5f0;--line:#dce2da;--green:#356650}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.6 -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif}main{max-width:1080px;margin:auto;padding:30px 40px}header{display:flex;justify-content:space-between;align-items:center}.brand{font-size:23px;font-weight:750;text-decoration:none;color:var(--ink);letter-spacing:2px}.brand span{font-size:11px;letter-spacing:1px;font-weight:500;margin-left:14px;padding-left:14px;border-left:1px solid #b8c4b9}.tag{font-size:12px;color:var(--muted)}.intro{padding:58px 0 32px}.eyebrow{font-size:12px;letter-spacing:3px;color:var(--green)}h1{font-size:48px;line-height:1.3;letter-spacing:-1px;margin:16px 0}h1 em{font-style:normal;color:var(--green)}.intro p{color:var(--muted)}.sides{display:grid;grid-template-columns:1fr 1fr;gap:24px}.side{background:#fff;border:1px solid var(--line);padding:27px;border-radius:18px}.side-title{display:flex;align-items:center;gap:12px;margin-bottom:24px}.avatar{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:#e6eee6;color:#356650;font-weight:600}.side-b .avatar{background:#f4e9df;color:#98724e}h2,h3,p{margin:0}h2{font-size:19px}.side-title p{color:var(--muted);font-size:12px;margin-top:2px}.step{margin-left:auto;font-size:26px;color:#d3dacf;font-weight:300}button{font:inherit;cursor:pointer;transition:background .2s}button:disabled{opacity:.55;cursor:wait}.record{width:100%;border:1px solid #b9cbbb;color:var(--green);background:#f1f6ee;border-radius:10px;padding:15px;display:flex;justify-content:center;align-items:center;gap:10px}.record-dot{width:10px;height:10px;border-radius:50%;background:currentColor}.record.active{color:#b24e40;background:#fff0eb;border-color:#dcb5a7}.record.active .record-dot{border-radius:2px;animation:pulse 1s infinite}.audio-row{display:flex;justify-content:space-between;align-items:center;margin:10px 0 24px;font-size:11px;color:var(--muted)}.upload{position:relative;cursor:pointer;text-decoration:underline}.upload input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.text-label{display:block;font-size:12px;margin-bottom:9px}.text-label small{font-size:10px;color:var(--muted);margin-left:8px}textarea{width:100%;min-height:132px;resize:vertical;font:14px/1.7 inherit;font-family:inherit;line-height:1.7;padding:13px;border:1px solid var(--line);border-radius:8px;background:#fdfdfb;color:var(--ink)}textarea::placeholder{color:#9aa398}*:focus-visible{outline:2px solid #527e60;outline-offset:3px}.submit-row{display:flex;align-items:center;justify-content:space-between;margin:26px 0}.submit-row p{font-size:12px}.submit-row small{color:var(--muted)}.primary{border:0;border-radius:10px;background:var(--green);color:white;padding:16px 26px;font-weight:600;min-width:205px}.primary:hover{background:#284d3d}.primary span{margin-left:25px}footer{font-size:10px;color:var(--muted);text-align:center;margin:40px 0 8px;line-height:1.9}#error{background:#fbe8e2;color:#9b3d29;padding:14px;border-radius:8px}#result{margin-top:34px;padding:32px;border:1px solid #c4d1c2;border-radius:18px;background:#edf2e9}#verdict{font-size:24px;margin:12px 0 25px}.analysis-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px}h3{font-size:12px;margin-bottom:6px;color:var(--green)}.analysis-grid p,.advice p{font-size:14px}.advice{padding-top:20px;margin-top:24px;border-top:1px solid #ced9c9}.uncertain{color:var(--muted);font-size:12px;margin-top:18px}audio{width:100%;height:34px;margin-top:12px}[hidden]{display:none!important}@keyframes pulse{50%{opacity:.3}}@media(max-width:640px){main{padding:22px 20px}.intro{padding:36px 0 24px}h1{font-size:38px}.sides{grid-template-columns:1fr;gap:16px}.side{padding:22px}.tag{display:none}.submit-row{gap:16px}.primary{min-width:170px;padding:15px}.primary span{margin-left:12px}.analysis-grid{grid-template-columns:1fr;gap:20px}#result{padding:24px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
main{max-width:840px}.intro{padding-top:42px}#welcome .primary{margin-top:24px}.muted{color:var(--muted);font-size:14px;margin-top:8px}.hint{font-size:12px;color:var(--muted);margin-top:14px}.room-bar{display:flex;justify-content:space-between;margin:0 0 16px;font-size:12px}#invite,#writer,#waiting,#feedback{margin-bottom:20px}#invite h2{font-size:17px}.invite-row{display:flex;gap:8px;margin-top:16px}.invite-row input{min-width:0;flex:1;border:1px solid var(--line);border-radius:7px;padding:10px;color:var(--muted);background:var(--paper)}.invite-row button,#retry-audio{border:1px solid #b9cbbb;background:#edf2e9;border-radius:7px;padding:10px;color:var(--green)}#statement{min-height:180px;font-size:15px}#question{margin:0 0 20px;padding:14px;background:#f1f6ee;border:0;border-radius:8px}#waiting h2{margin-top:10px}#retry-ai{margin-top:18px}#result{margin:0 0 20px}blockquote{margin:22px 0;padding-left:16px;border-left:3px solid #89a383;font-size:16px}details{border-top:1px solid #ced9c9;padding-top:16px;font-size:13px}summary{cursor:pointer}details h3{margin-top:18px}.preserve{white-space:pre-wrap;overflow-wrap:anywhere}fieldset{border:0;padding:0;margin:20px 0}legend{font-size:14px;margin-bottom:8px}fieldset label{display:inline-flex;align-items:center;margin-right:18px;font-size:13px;min-height:34px}input[type=radio]{accent-color:var(--green)}#feedback textarea{min-height:70px}#feedback .primary{margin-top:12px}#feedback-status{font-size:13px;margin-top:10px;color:var(--green)}.new-room{display:block;text-align:center;color:var(--green);font-size:13px;margin:24px}#retry-audio{margin:10px 0}#error{margin-bottom:20px}@media(max-width:640px){.intro{padding-top:30px}h1{font-size:33px}.side{padding:20px}.submit-row{flex-wrap:wrap}#submit{width:100%}.room-bar{gap:10px}.analysis-grid{gap:18px}}
/* The winning pan moves down: the stronger argument carries more weight. */
.settlement{--tilt:0deg;--counter:0deg;position:relative;text-align:center;overflow:hidden;padding:30px 18px 22px;margin:-8px -8px 30px;border-radius:14px;background:#243c35;color:#f8efd9}.settlement[data-winner=a]{--tilt:-12deg;--counter:12deg}.settlement[data-winner=b]{--tilt:12deg;--counter:-12deg}.settlement-kicker{font-size:10px;letter-spacing:3px;color:#bcc9b9}.settlement h2{font-size:29px;margin:10px 0 5px;font-weight:750}.settlement p{font-size:12px;color:#d1dbc9}.scale-scene{position:relative;max-width:320px;margin:10px auto 0}.scale-glow{position:absolute;inset:20px 20px 0;background:radial-gradient(ellipse,#d6ba6540,transparent 65%)}.justice-scale{position:relative;width:100%;display:block;overflow:visible}.scale-stand,.beam-line{stroke:#a7b49a;stroke-width:5;stroke-linecap:round;stroke-linejoin:round}.scale-pivot{fill:#e4c879;stroke:#243c35;stroke-width:3}.scale-beam{transform-origin:160px 48px;transform:rotate(var(--tilt))}.scale-pan{transform:rotate(var(--counter));stroke:#7e9487;stroke-width:2;fill:#314c40}.scale-pan text{stroke:none;fill:#c3d0c6;font-size:21px;font-weight:700}.pan-a,.pan-b{transform-origin:0 0}[data-winner=a] .pan-a,[data-winner=b] .pan-b{stroke:#efd48c;fill:#786437}[data-winner=a] .pan-a text,[data-winner=b] .pan-b text{fill:#fff0b8}.settlement-stamp{display:inline-block;border:1px solid #728574;border-radius:5px;padding:4px 14px;letter-spacing:3px;font-size:11px;color:#ced8c8}.decisive .settlement-stamp{border-color:#c6ab62;color:#f0d996}.replay{display:block;margin:14px auto 0;background:none;border:0;color:#c5cebb;font-size:11px;padding:6px 12px}.reveal.decisive .scale-beam{animation:weigh 1.8s cubic-bezier(.25,.7,.25,1) both}.reveal.decisive .scale-pan{animation:pan-level 1.8s cubic-bezier(.25,.7,.25,1) both}.reveal.decisive .settlement-stamp{animation:verdict-stamp .45s 1.5s both}.reveal.decisive h2{animation:verdict-stamp .5s .9s both}@keyframes weigh{0%{transform:rotate(0deg)}25%{transform:rotate(calc(var(--tilt)*-.45))}65%{transform:rotate(calc(var(--tilt)*1.2))}85%{transform:rotate(calc(var(--tilt)*.92))}100%{transform:rotate(var(--tilt))}}@keyframes pan-level{0%{transform:rotate(0deg)}25%{transform:rotate(calc(var(--counter)*-.45))}65%{transform:rotate(calc(var(--counter)*1.2))}85%{transform:rotate(calc(var(--counter)*.92))}100%{transform:rotate(var(--counter))}}@keyframes verdict-stamp{from{opacity:0;transform:scale(1.16)}to{opacity:1;transform:scale(1)}}@media(max-width:640px){.settlement{padding:24px 10px 18px;margin:-6px -6px 24px}.settlement h2{font-size:26px}}@media(prefers-reduced-motion:reduce){.settlement *{animation:none!important}}
.argument-analysis{border-top:1px solid #ced9c9;margin-top:28px;padding-top:26px}.argument-analysis .analysis-heading{font-size:19px;color:var(--ink);margin:0 0 22px}.argument-analysis h4{font-size:16px;margin:22px 0 12px}.argument-card{background:#ffffffa8;border:1px solid #d5dfcf;border-radius:12px;padding:20px;margin:12px 0}.argument-card h5{font-size:15px;line-height:1.7;margin:0 0 10px;overflow-wrap:anywhere}.argument-status{display:inline-block;border-radius:4px;font-size:11px;padding:2px 8px;background:#ecebe5;color:#655f48}.argument-status.supported{background:#dfeedd;color:#2e633a}.argument-status.partial{background:#f2e8ca;color:#76601e}.argument-status.unsupported{background:#f1e1dc;color:#8c4837}.argument-card p{font-size:14px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:12px}.argument-card strong{font-weight:600}.judgment-reason{padding:0 0 8px}.judgment-reason p{font-size:15px;line-height:1.9}.analysis-grid p,#next{white-space:pre-wrap;line-height:1.9;overflow-wrap:anywhere}@media(max-width:640px){.argument-card{padding:16px}}
.bridges{margin:28px 0;padding:24px;background:#fff9e9;border:1px solid #e6dcc1;border-radius:12px}.bridges>h3{font-size:18px;color:#615735;margin:0 0 18px}.bridges h4{font-size:14px;margin:18px 0 8px;color:#6d623d}.bridges p{font-size:14px;line-height:1.9}.bridges>div+div{border-top:1px solid #e9dfc4;margin-top:18px;padding-top:4px}@media(max-width:640px){.bridges{padding:18px}}
.room-status{border:1px solid #c4d2bd;border-radius:14px;padding:20px;margin-bottom:24px;background:#eef2e7}.status-top{display:flex;align-items:center;gap:12px}.status-top h2{font-size:19px}.status-indicator{width:12px;height:12px;background:#a79254;border-radius:50%;flex-shrink:0}.status-indicator.running{width:22px;height:22px;border:3px solid #d5dfd0;border-top-color:#356650;background:transparent;animation:status-spin 1s linear infinite}.room-status>p{font-size:13px;color:#596953;margin:10px 0 0}.participant-progress{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}.participant-progress>div{display:flex;flex-direction:column;gap:5px;background:#ffffff9c;border-radius:8px;padding:12px;font-size:13px}.participant-progress strong{font-size:12px;color:#6b795e}.is-running{border-color:#76936d}.skip-response{display:block;width:100%;border:1px solid #b6c2ac;background:transparent;color:#40563c;border-radius:8px;padding:12px}#other-supplement{margin-top:18px;line-height:1.9;padding:16px;background:#f4f5ef;border-radius:8px}@keyframes status-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.status-indicator.running{animation:none}}@media(max-width:640px){.room-status{padding:17px}.status-top h2{font-size:17px}}
.in-room .intro{display:none}.in-room header{margin-bottom:26px}
#appeal{margin:24px 0;border-color:#b6c7a9}#appeal-form{margin-top:20px}#appeal-submit{margin-top:14px}#decision-history{margin:24px 0}#decision-list details{margin-top:16px}#decision-list p,#exchange-history p{margin:12px 0;line-height:1.9;font-size:14px}#exchange-history details{margin:20px 0}
.appeal-jump{display:block;width:fit-content;margin:0 0 22px auto;border:1px solid #7e9274;padding:9px 16px;border-radius:8px;font-size:13px;color:var(--green);text-decoration:none}#appeal{scroll-margin-top:24px}
.voice-input{margin:16px 0}.voice-input .retry-audio{border:1px solid #b9cbbb;background:#edf2e9;border-radius:7px;padding:10px;color:var(--green);margin:10px 0}#feedback .voice-input .record{margin-top:18px}
/* Keep the material being answered beside the microphone, including while recording. */
#response-workbench{background:#fff;border-radius:10px}.opponent-panel{padding:16px;background:#f3f5ec;border:1px solid #d6dfcb;border-radius:10px}.opponent-panel h2{font-size:16px}.opponent-panel .hint{font-size:11px;margin-top:5px}#other-supplement{max-height:220px;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:0 8px 0 0;margin-top:12px;font-size:14px;background:transparent;line-height:1.85}.recording-panel{min-width:0}.responding #writer>.side-title{display:none}.responding #response-workbench{position:sticky;top:8px;z-index:5;padding-bottom:12px;box-shadow:0 8px 12px -12px #243c3560}.responding .recording-panel{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding-top:12px}.responding .recording-panel .record,.responding .recording-panel .skip-response{padding:12px 8px;font-size:13px}.responding .recording-panel .audio-row,.responding .recording-panel audio,.responding .recording-panel #skip-note,.responding .recording-panel #retry-audio{grid-column:1/-1}.responding .recording-panel .audio-row{margin:0}.responding #skip-note{margin:0;font-size:10px;order:5}.responding .room-status{padding:14px}.responding .room-status>#status-detail{font-size:12px}.responding .participant-progress{margin-top:10px;gap:8px}.responding .participant-progress>div{padding:8px}.responding #statement-form{margin-top:14px}@media(min-width:760px){.responding #response-workbench{display:grid;grid-template-columns:1.3fr 1fr;gap:20px;align-items:start}.responding .recording-panel{padding-top:0}}@media(max-width:640px){.responding #other-supplement{max-height:26svh}.responding #writer{padding:14px}.responding .opponent-panel{padding:12px}}@media(max-height:650px){.responding #other-supplement{max-height:18svh}}
.early-decision{display:flex;flex-wrap:wrap;gap:10px;align-items:center;border:1px solid #d8cfb5;background:#faf6e9;border-radius:12px;padding:16px;margin:0 0 18px}.early-decision>div{flex:1 1 230px}.early-decision h2{font-size:14px}.early-decision p{font-size:12px;color:#6a695a;margin-top:6px}.early-decision button{padding:10px 13px;border:1px solid #a79a74;background:white;border-radius:8px;color:#615531;font-size:12px}.early-decision small{flex-basis:100%;font-size:10px;color:#837b65}
