/* TeX Gyre Schola and Matter.js are bundled locally; the game needs no CDN. */
@font-face{font-family:'TeX Gyre Schola';font-style:normal;font-weight:400;font-display:swap;src:url('assets/fonts/texgyreschola-regular.otf') format('opentype')}
@font-face{font-family:'TeX Gyre Schola';font-style:normal;font-weight:700;font-display:swap;src:url('assets/fonts/texgyreschola-bold.otf') format('opentype')}
@font-face{font-family:'TeX Gyre Schola';font-style:italic;font-weight:400;font-display:swap;src:url('assets/fonts/texgyreschola-italic.otf') format('opentype')}
@font-face{font-family:'TeX Gyre Schola';font-style:italic;font-weight:700;font-display:swap;src:url('assets/fonts/texgyreschola-bolditalic.otf') format('opentype')}
:root{--paper:#fff;--ink:#17243b;--navy:#183c70;--blue:#245cba;--red:#c32d41;--muted:#66738a;--line:#dce2ed;--wash:#f5f7fb;--font:'TeX Gyre Schola',Georgia,'Times New Roman',serif}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.5 var(--font);-webkit-font-smoothing:antialiased;min-height:100dvh;display:flex;flex-direction:column}
button,a{-webkit-tap-highlight-color:transparent}
button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation}
button:disabled{cursor:default}
a{color:inherit}
button:focus-visible,a:focus-visible,[tabindex]:focus-visible,summary:focus-visible{outline:3px solid var(--blue);outline-offset:4px}
button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
button>*{pointer-events:none}
.masthead{width:100%;max-width:1280px;margin:0 auto;padding:28px 40px 24px;display:flex;justify-content:space-between;align-items:center;gap:24px;border-bottom:1px solid var(--line);flex-shrink:0}
.brand{font-size:31px;font-weight:700;line-height:1.15;letter-spacing:-1px;text-decoration:none;color:var(--navy);min-width:0}
.brand-title{display:block}
.masthead nav{flex-shrink:0}
.text-button{padding:4px 0;border:0;background:none;font-size:12px}
.text-button span{margin-left:5px}
.text-button:hover{text-decoration:underline;text-underline-offset:4px}
main{width:100%;max-width:1184px;margin:0 auto;padding:0 40px 28px;outline:none}
.game-layout{flex:1;display:flex;flex-direction:column}
.game-layout> :not(.play-area){flex-shrink:0}
.progress-bar{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:27px 0 20px}
.case-position{font-size:11px;letter-spacing:1px;white-space:nowrap;color:var(--muted)}
.case-position strong{font-size:13px;color:var(--navy);font-weight:600}
.progress-steps{flex:1;max-width:660px;display:flex;gap:5px}
.progress-step{flex:1;min-width:4px;height:5px;border:0;padding:0;border-radius:2px;background:#e5e9f1}
.progress-step.complete{background:#9fb8e0}
.progress-step.active{background:var(--red)}
.case-list-button{display:flex;align-items:center;gap:7px;white-space:nowrap;color:var(--navy)}
.case-card{padding:24px 32px;background:white;border:1px solid var(--line);border-radius:8px;text-align:center}
.case-meta{display:flex;align-items:center;justify-content:center;gap:12px;font-size:10px;letter-spacing:.3px;color:var(--muted)}
.case-difficulty{font-weight:700;color:var(--blue)}
.difficulty-medium{color:var(--ink)}
.difficulty-hard{color:var(--red)}
.meta-dot{width:3px;height:3px;border-radius:50%;background:#a1adc0}
.case-title{font-size:32px;line-height:1.2;letter-spacing:-.65px;font-weight:500;margin:12px auto 20px;max-width:950px;color:var(--navy)}
.question-label{display:flex;justify-content:center;align-items:center;gap:12px;font-size:9px;letter-spacing:1.6px;color:var(--muted)}
.question-label::before,.question-label::after{content:'';width:25px;height:1px;background:var(--line)}
.question{font-size:19px;line-height:1.5;max-width:780px;margin:9px auto 0}
.question-info{display:inline-flex;position:relative;vertical-align:middle;align-items:center;justify-content:center;width:24px;height:24px;padding:0;margin-left:2px;border:0;background:transparent;color:var(--blue);border-radius:50%}
.question-info::after{content:'';position:absolute;inset:-10px;border-radius:50%}
.question-info svg{width:22px;height:22px;stroke-width:1.5}
.question-info:hover{background:var(--wash);color:var(--navy)}
.case-note{font-size:11px;color:var(--muted);margin:12px 0 0}
.play-area{margin-top:22px;flex:1;display:flex;flex-direction:column;gap:19px}
.buckets{flex:1;display:grid;grid-template-columns:repeat(var(--bucket-count),minmax(0,1fr));align-items:stretch;gap:16px}
.drop-zone{display:flex;flex-direction:column;min-width:0;background:white;border:1px solid #c9d5e7;border-top:3px solid var(--blue);border-radius:7px;padding:17px 14px 0;transition:border-color .15s,box-shadow .15s}
.drop-zone:nth-child(2){border-top-color:var(--red)}
.drop-zone:nth-child(3){border-top-color:var(--navy)}
.bucket-heading{position:relative;padding:0 3px;min-height:70px;flex:none}
.bucket-heading h2{font-size:20px;line-height:1.2;font-weight:500;margin:0 0 6px;color:var(--navy)}
.bucket-description{font-size:12px;line-height:1.45;color:var(--muted);margin:0;max-width:360px}
.drop-zone.drop-hover,.drop-zone.can-place:hover{border-color:var(--blue);box-shadow:0 0 0 2px #245cba25}
.physics-space{--sticker-width:78;--sticker-height:94;--token-width:78px;--token-height:94px;position:relative;overflow:hidden;min-height:var(--capacity-height,125px);width:100%;isolation:isolate;flex:1}
.physics-space:not(.physics-ready){display:flex;flex-wrap:wrap;gap:4px;justify-content:center;align-items:flex-end}
.justice-token{width:var(--token-width);height:var(--token-height);padding:3px 2px 0;border:0;border-radius:8px;display:inline-flex;flex-direction:column;align-items:center;justify-content:flex-start;background:transparent;touch-action:none;user-select:none;cursor:grab;transform-origin:center;flex-shrink:0}
.physics-sticker{position:absolute;top:0;left:0;will-change:transform}
.justice-token:active{cursor:grabbing}
.justice-token.selected{background:#eaf0fc;box-shadow:inset 0 0 0 2px var(--blue);z-index:20}
.justice-token:focus-visible{z-index:25;outline-offset:-1px}
.justice-token.is-dragged{opacity:0}
.justice-portrait{display:inline-block;position:relative;width:68px;height:72px;flex-shrink:0;vertical-align:middle}
.justice-portrait img{width:100%;height:100%;display:block;object-fit:contain;object-position:center bottom;filter:url('#sticker-outline');pointer-events:none;user-select:none}
.party-badge{position:absolute;bottom:1px;right:-1px;display:grid;place-items:center;width:19px;height:19px;line-height:1;border:2px solid white;border-radius:50%;font:700 11px/1 var(--font);color:white;box-shadow:0 1px 3px #14233c25}
.party-r{background:var(--red)}
.party-d{background:var(--blue)}
.justice-name{font-size:10px;line-height:1.2;letter-spacing:.1px;margin-top:5px;background:white;border-radius:4px;padding:0 4px;color:var(--ink)}
.bucket-tokens .justice-portrait{width:calc(var(--token-width)*.87);height:calc(var(--token-height)*.74)}
.bucket-tokens .justice-name{font-size:clamp(7px,calc(var(--token-width)*.128),10px);margin-top:3px;padding:0 2px}
.bucket-tokens .party-badge{width:clamp(11px,calc(var(--token-width)*.24),19px);height:clamp(11px,calc(var(--token-width)*.24),19px);font-size:clamp(7px,calc(var(--token-width)*.14),11px);border-width:1.5px}
.bench{border:1px solid #c9d5e7;border-radius:7px;background:white;padding:10px 18px 0;min-width:0;transition:box-shadow .15s;flex:none}
.bench-tokens{height:var(--capacity-height,110px);min-height:var(--capacity-height,110px);flex:none}
.bench .justice-portrait{width:calc(var(--token-width)*.87);height:calc(var(--token-height)*.75)}
.bench-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:2px}
.bench-title{color:var(--navy);font-size:12px;letter-spacing:1.6px;text-transform:uppercase}
.bench.drop-hover{box-shadow:0 0 0 2px #245cba25;border-color:var(--blue)}
.bench-empty{position:absolute;inset:0;display:grid;place-items:center;color:var(--muted);font-size:12px;pointer-events:none}
.game-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:18px 0 15px}
.control-left,.control-right{display:flex;align-items:center;gap:18px}
.primary-button,.secondary-button{display:inline-flex;align-items:center;justify-content:center;border-radius:5px;gap:12px;font-size:12px;padding:11px 16px}
.primary-button{background:var(--navy);border:1px solid var(--navy);color:white;min-width:132px}
.primary-button:hover{background:var(--blue);border-color:var(--blue)}
.primary-button:disabled{background:#edf0f5;color:#8b97aa;border-color:#e0e5ed}
.secondary-button{border:1px solid var(--line);background:white}
.secondary-button:hover{background:var(--wash)}
.secondary-button:disabled{opacity:.4}
.clear-button{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:11px}
.clear-button:disabled{opacity:.4}
.placement-status{font-size:11px;color:var(--muted)}
.save-note{font-size:10px;color:#8793a7}
.storage-warning{color:var(--red)}
.skip-link{position:fixed;top:8px;left:8px;background:var(--navy);color:white;padding:10px;z-index:100;transform:translateY(-150%)}
.skip-link:focus{transform:translateY(0)}
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.filter-defs{position:absolute;overflow:hidden;pointer-events:none}
.drag-ghost{position:fixed!important;z-index:1000;pointer-events:none;width:84px!important;height:100px!important;padding:3px!important;background:transparent!important;transform:rotate(-8deg)!important;box-shadow:none!important;opacity:1!important}
.drag-ghost .justice-portrait{width:74px;height:78px}
.drag-active,.drag-active *{cursor:grabbing!important}
dialog{border:1px solid var(--line);padding:25px 28px 28px;max-width:600px;width:calc(100% - 36px);max-height:85dvh;border-radius:9px;background:white;color:var(--ink);box-shadow:0 25px 100px #10244430;overscroll-behavior:contain}
dialog::backdrop{background:#10244460;backdrop-filter:blur(3px)}
.dialog-top{display:flex;justify-content:space-between;align-items:center;gap:14px}
.eyebrow{font-size:10px;line-height:1.4;letter-spacing:1.5px;text-transform:uppercase;color:var(--muted)}
.icon-button{border:1px solid var(--line);background:white;border-radius:50%;width:30px;height:30px;display:grid;place-items:center;font-size:12px;flex-shrink:0}
.dialog-title{font-size:30px;font-weight:500;line-height:1.2;margin:18px 0}
.dialog-copy{font-size:13px;line-height:1.9;color:var(--muted)}
.dialog-copy strong{color:var(--ink);font-weight:600}
.dialog-copy ol{padding-left:20px}
.dialog-copy li{padding:5px 0 5px 5px}
.dialog-copy a{text-decoration-color:#a9bad6;text-underline-offset:3px}
.arguments-modal{max-width:700px}
.arguments-modal .dialog-top{position:sticky;top:0;z-index:2;background:white;box-shadow:0 -28px 0 white;padding-bottom:7px}
.arguments-modal .dialog-title{margin-bottom:7px}
.arguments-case{font-size:18px;line-height:1.4;color:var(--navy);margin:0 0 15px}
.arguments-scope{font-size:12px;line-height:1.65;color:var(--muted);margin:0 0 18px}
.argument-brief{padding:15px 0;border-top:1px solid var(--line)}
.argument-brief:last-child{padding-bottom:0}
.argument-brief h3{font-size:13px;font-weight:700;line-height:1.35;color:#000;margin:0 0 4px}
.brief-party{font-size:13px;line-height:1.4;color:var(--muted);margin:0 0 10px}
.argument-brief ul{padding-left:18px;margin:0 0 9px;font-size:13px;line-height:1.6}
.argument-brief li+li{margin-top:5px}
.brief-source{display:flex;flex-wrap:wrap;gap:5px 16px;font-size:10px;line-height:1.6;color:var(--muted)}
.brief-source a{color:var(--blue);text-underline-offset:3px;white-space:nowrap}
.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}
.method-block{padding:15px 0;border-top:1px solid var(--line)}
.method-block h3{font-size:20px;font-weight:500;margin:0 0 6px}
.method-block p{margin:0}
.case-menu{display:grid;gap:4px;margin-top:20px}
.case-menu-item{border:0;border-radius:5px;background:white;padding:10px;display:flex;align-items:center;text-align:left;gap:12px;width:100%;font-size:12px}
.case-menu-item:hover,.case-menu-item.active{background:#eef3fc}
.case-number{font-size:11px;color:#8b98ad;width:23px;flex-shrink:0}
.menu-name{flex:1}
.menu-status{font-size:9px;color:#8190a8;white-space:nowrap}
.case-menu-item.active .menu-status{color:var(--blue)}
.modal-bottom{padding-top:15px;margin-top:20px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:12px}
.results-intro{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:36px 0 28px}
.results-intro h1{font-size:88px;font-weight:500;line-height:1;letter-spacing:-3px;margin:8px 0 12px;color:var(--navy)}
.results-intro p{font-size:14px;color:var(--muted);margin:0}
.result-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.result-rank{display:flex;align-items:center;gap:15px;margin-top:14px;color:var(--red)}
.result-rank strong{font-size:24px;line-height:1.3;font-weight:700}
.result-rank .text-button{font-size:11px;color:var(--muted);white-space:nowrap}
.share-modal{max-width:620px}
.share-modal .dialog-top{position:sticky;top:0;z-index:2;background:white;box-shadow:0 -28px 0 white;padding-bottom:7px}
.share-score-image{display:block;width:100%;height:auto;max-height:48dvh;object-fit:contain;margin:0 auto 18px;border:1px solid var(--line);border-radius:7px;background:white}
.share-actions{display:flex;justify-content:center}
.share-actions .primary-button{min-height:44px}
.clipboard-fallback{position:fixed;left:-9999px;top:0;font-size:16px}
.share-status{font-size:11px;line-height:1.6;min-height:18px;margin:12px 0 0;color:var(--blue);text-align:center}
.rank-table{border-collapse:collapse;width:100%;font-size:14px;line-height:1.4}
.rank-table th{text-align:left;font-size:11px;font-weight:400;color:var(--muted)}
.rank-table td,.rank-table th{padding:13px 8px;border-bottom:1px solid var(--line)}
.rank-table td:first-child{white-space:nowrap;color:var(--muted)}
.rank-table td:last-child{color:var(--navy);font-weight:700}
.score-summary{display:grid;grid-template-columns:1.15fr 1fr 1fr;background:white;border:1px solid var(--line);border-radius:8px;overflow:hidden}
.score-stat{padding:26px 30px;border-left:1px solid var(--line)}
.score-stat:first-child{border:0;background:var(--navy);color:white}
.score-stat:first-child .eyebrow{color:#d8e4f8}
.score-number{font-size:49px;line-height:1.2;letter-spacing:-2px}
.score-number small{font-size:20px;color:#adc2e2;letter-spacing:0}
.score-stat.incorrect .score-number{color:var(--red)}
.justice-highlights{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:20px 0}
.highlight-card{border:1px solid var(--line);border-top:3px solid var(--blue);border-radius:7px;background:white;padding:20px 23px}
.highlight-card.worst{border-top-color:var(--red)}
.highlight-top{display:flex;justify-content:space-between;gap:10px;margin-bottom:14px}
.highlight-top .eyebrow{font-size:9px}
.highlight-people{display:flex;flex-wrap:wrap;gap:14px}
.highlight-person{display:flex;gap:10px;align-items:center;min-width:130px}
.highlight-person .justice-portrait{width:47px;height:53px}
.highlight-person strong{display:block;font-size:20px;font-weight:500}
.highlight-person span:not(.justice-portrait):not(.party-badge){font-size:10px;color:var(--muted)}
.highlight-person .party-badge{width:16px;height:16px;font-size:9px}
.ranking-section{margin:29px 0 35px}
.section-top{display:flex;align-items:baseline;justify-content:space-between;gap:15px;margin-bottom:16px}
.section-top h2{font-size:26px;font-weight:500;letter-spacing:-.4px;margin:0;color:var(--navy)}
.ranking-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 27px}
.ranking-person{display:flex;align-items:center;gap:13px;padding:13px 0;border-bottom:1px solid var(--line)}
.ranking-person .justice-portrait{width:41px;height:48px}
.ranking-person .party-badge{width:15px;height:15px;font-size:8px}
.ranking-content{flex:1;min-width:0}
.ranking-top{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;margin-bottom:7px}
.ranking-top strong{font-weight:500}
.ranking-track{background:#e5eaf3;height:3px;overflow:hidden;border-radius:2px}
.ranking-fill{height:3px;background:var(--blue);border-radius:2px}
.ranking-counts{font-size:10px;color:var(--muted);margin-top:5px}
.review-section{padding:24px 0 30px;border-top:1px solid var(--line)}
.review-filter{border:1px solid var(--line);padding:7px 10px;background:white;border-radius:4px;font-size:11px}
.review-filter[aria-pressed=true]{background:var(--navy);color:white}
.review-case{border:1px solid var(--line);border-radius:7px;background:white;margin-bottom:10px;overflow:hidden}
.review-case summary{display:flex;align-items:center;gap:14px;cursor:pointer;padding:17px 20px;list-style:none}
.review-case summary::-webkit-details-marker{display:none}
.review-case summary::after{content:'+';color:var(--blue);font-size:18px}
.review-case[open] summary::after{content:'−'}
.review-number{font-size:10px;color:#8a98af}
.review-case-name{flex:1;font-size:18px}
.review-score{font-size:10px;background:#f1f4f9;color:var(--muted);border-radius:4px;padding:4px 7px;white-space:nowrap}
.review-score.perfect{background:#eaf1fc;color:var(--blue)}
.review-body{border-top:1px solid var(--line);padding:23px}
.review-question{font-size:18px;line-height:1.5;margin:0 0 20px}
.review-buckets{display:grid;grid-template-columns:repeat(var(--bucket-count),minmax(0,1fr));gap:12px}
.review-bucket{padding:13px;border:1px solid var(--line);background:white;border-radius:5px}
.review-bucket h4{font-size:17px;font-weight:500;margin:0 0 11px;color:var(--navy)}
.review-vote{display:flex;align-items:center;gap:9px;padding:6px 0;font-size:12px}
.review-vote .justice-portrait{width:28px;height:32px}
.review-vote .party-badge{width:12px;height:12px;font-size:7px;border-width:1px}
.vote-name{flex:1}
.vote-indicator{font-size:13px;color:var(--blue)}
.review-vote.wrong .vote-indicator,.review-vote.wrong .vote-name{color:var(--red)}
.vote-was{display:block;font-size:10px;color:#946171;margin-top:2px;line-height:1.3}
.review-explanation{color:var(--muted);font-size:13px;line-height:1.9;margin:20px 0 15px}
.review-sources{display:flex;gap:18px;font-size:11px;color:var(--blue);flex-wrap:wrap}
.review-sources a{text-decoration-color:#a7bbdf;text-underline-offset:4px}
.inline-empty{font-size:13px;color:var(--muted);text-align:center;padding:30px}
.download-status{font-size:11px;color:var(--blue);text-align:center}
.download-status:empty{display:none}
.case-feedback{margin-top:20px;border:1px solid var(--line);border-radius:8px;padding:22px;background:white}
.feedback-top{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}
.feedback-top h2{font-size:30px;line-height:1.2;font-weight:500;color:var(--navy);margin:0;outline:none}
.feedback-top p{font-size:12px;color:var(--muted);margin:5px 0 0}
.feedback-buckets{display:grid;grid-template-columns:repeat(var(--bucket-count),minmax(0,1fr));gap:12px}
.feedback-bucket{border:1px solid var(--line);border-top:3px solid var(--blue);border-radius:6px;padding:13px;min-width:0}
.feedback-bucket:nth-child(2){border-top-color:var(--red)}
.feedback-bucket:nth-child(3){border-top-color:var(--navy)}
.feedback-bucket h3{font-size:18px;line-height:1.25;font-weight:500;color:var(--navy);margin:0 0 12px}
.feedback-people{display:flex;flex-wrap:wrap;gap:12px 8px;align-items:flex-start}
.feedback-vote{display:flex;flex-direction:column;align-items:center;gap:4px;width:64px;font-size:10px;line-height:1.3;text-align:center}
.feedback-vote .justice-portrait{width:42px;height:46px}
.feedback-vote .party-badge{width:15px;height:15px;font-size:8px}
.feedback-mark{color:var(--blue)}
.feedback-vote.wrong,.feedback-vote.wrong .feedback-mark{color:var(--red)}
.feedback-empty{font-size:11px;color:var(--muted);margin:0}
.feedback-mistakes{font-size:12px;line-height:1.6;margin-top:17px}
.feedback-mistakes summary{cursor:pointer;color:var(--red)}
.feedback-mistakes ul{padding-left:18px;margin-bottom:0}
.feedback-mistakes li{margin-top:8px}
.feedback-explanation{font-size:13px;line-height:1.75;color:var(--muted);margin:18px 0 14px}
.feedback-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:12px}
.noscript{padding:30px;text-align:center}
@media(max-width:1000px){.masthead{padding:23px 30px}.brand{font-size:28px}main{padding:0 30px 25px}.progress-bar{gap:18px}.case-card{padding:23px}.case-title{font-size:28px}.question{font-size:18px}.bucket-heading h2{font-size:19px}.bucket-description{font-size:11px}.bench-tokens{--sticker-width:64;--sticker-height:80}.bench .justice-name{font-size:9px;margin-top:4px}.ranking-grid{gap:0 17px}.ranking-counts{font-size:9px}}
@media(max-width:700px){
 .masthead{padding:13px 14px;gap:12px}.brand{font-size:clamp(18px,5vw,24px);letter-spacing:-.6px}.masthead .text-button{font-size:10px;min-height:36px}main{padding:0 14px 16px}
 .progress-bar{gap:10px;margin:11px 0}.progress-steps{gap:3px}.case-position{font-size:8px;letter-spacing:.3px}.case-position strong{font-size:10px}.case-list-button{font-size:10px;min-height:28px}.case-list-button svg{display:none}
 .case-card{padding:12px}.case-title{font-size:20px;margin:7px auto 11px;letter-spacing:-.3px}.case-meta{font-size:8px;gap:8px}.question{font-size:14px;line-height:1.4;margin-top:6px}.question-label{font-size:7px;letter-spacing:1px}.case-note{font-size:9px;margin-top:7px}
 .play-area{margin-top:8px;gap:9px}.buckets{grid-template-columns:repeat(var(--bucket-count),minmax(0,1fr));gap:6px;align-items:stretch}.drop-zone{padding:10px 6px 0}.bucket-heading{padding:0;min-height:0;flex:none}.bucket-heading h2{font-size:14px;line-height:1.2;margin:0 0 5px}.bucket-description{font-size:10.5px;line-height:1.35;max-width:none}
 .physics-space{--sticker-width:30;--sticker-height:38;--sticker-min-width:24;--pile-min-height:50;--pile-padding:12;--pile-inset:8;margin-top:6px}.bucket-tokens .justice-portrait{width:calc(var(--token-width) - 2px);height:calc(var(--token-height) - 8px)}.bucket-tokens .justice-name{display:none}.bucket-tokens .party-badge{width:12px;height:12px;font-size:7px;border-width:1px}
 .justice-turn{display:flex;align-items:center;justify-content:center;gap:12px;min-height:80px;flex:none}.justice-turn .justice-token{width:64px;height:77px;padding:3px 2px 0;animation:justice-arrives .18s ease-out}.justice-turn .justice-token.selected{background:transparent;box-shadow:none}.justice-turn .justice-portrait{width:52px;height:56px}.justice-turn .justice-name{font-size:11px;margin-top:4px;padding:0 2px}.justice-turn .party-badge{width:16px;height:16px;font-size:9px}.turn-bubble{position:relative;background:var(--wash);border:1px solid var(--line);border-radius:12px;padding:10px 12px;max-width:214px}.turn-bubble::before{content:'';position:absolute;left:-5px;top:24px;width:8px;height:8px;background:var(--wash);border-left:1px solid var(--line);border-bottom:1px solid var(--line);transform:rotate(45deg)}.turn-bubble p{font-size:14px;line-height:1.25;margin:0;color:var(--navy)}.turn-bubble span{display:block;font-size:10px;color:var(--muted);margin-top:4px}.turn-complete{flex-direction:column;gap:2px}.turn-complete p{font-size:14px;color:var(--navy);margin:0}.turn-complete span{font-size:10px;color:var(--muted)}.cancel-edit{font-size:10px;min-height:44px;color:var(--muted)}
 .drag-ghost{width:64px!important;height:77px!important}.drag-ghost .justice-portrait{width:52px;height:56px}.drag-ghost .justice-name{font-size:11px}.drag-ghost .party-badge{width:16px;height:16px;font-size:9px}
 .game-controls{display:flex;gap:8px;margin:12px 0 8px;align-items:center}.control-left{gap:5px;flex:1;flex-wrap:wrap}.control-right{gap:0;flex-shrink:0}.placement-status{display:none}.primary-button,.secondary-button{font-size:10px;padding:10px}.primary-button{min-width:105px}.game-controls .primary-button,.game-controls .secondary-button,.clear-button{min-height:44px}.game-controls button svg{width:14px;height:14px}.game-controls .primary-button,.game-controls .secondary-button{gap:6px}.clear-button{font-size:9px}.clear-button svg{display:none}.save-note{font-size:8px}
 dialog{padding:20px}.dialog-title{font-size:28px}.dialog-copy{font-size:12px}.dialog-top .eyebrow{font-size:8px;letter-spacing:1px}.case-menu-item{padding:10px 4px;gap:8px;font-size:11px}.menu-status{font-size:8px}.case-number{font-size:10px}
 .arguments-case{font-size:16px}.arguments-scope{font-size:11px}.argument-brief{padding:13px 0}.argument-brief h3{font-size:12px}.brief-party{font-size:12px}.argument-brief ul{font-size:12px;line-height:1.6}.brief-source{font-size:10px}.arguments-modal .icon-button{width:40px;height:40px}
 .results-intro{flex-direction:column;align-items:flex-start;gap:20px;padding:28px 0 24px}.results-intro h1{font-size:72px}.results-intro p{font-size:13px}.result-actions{gap:10px}
 .result-rank strong{font-size:22px}.share-score-image{max-height:40dvh;margin-bottom:13px}.share-modal .icon-button{width:40px;height:40px}.rank-table{font-size:12px}
 .score-summary{grid-template-columns:1fr 1fr}.score-stat{padding:20px}.score-stat:first-child{grid-column:1/-1}.score-stat:nth-child(2){border:0}.score-number{font-size:45px}.score-stat:first-child .score-number{font-size:58px}.score-stat .eyebrow{font-size:9px}
 .justice-highlights{grid-template-columns:1fr;gap:12px;margin-top:15px}.highlight-card{padding:18px}.highlight-person{min-width:115px}.highlight-person strong{font-size:19px}.highlight-person .justice-portrait{width:42px;height:47px}.highlight-people{gap:12px}.highlight-top .eyebrow{font-size:8px}
 .ranking-grid{grid-template-columns:1fr 1fr;gap:0 16px}.ranking-person{gap:8px}.ranking-person .justice-portrait{width:34px;height:40px}.ranking-top{font-size:11px}.ranking-counts{font-size:8px}
 .section-top h2{font-size:23px}.review-case summary{gap:9px;padding:15px 13px}.review-case-name{font-size:17px}.review-score{font-size:9px}.review-number{font-size:9px}.review-body{padding:17px}.review-buckets{grid-template-columns:1fr;gap:10px}.review-question{font-size:17px}.review-filter{font-size:10px}.review-explanation{font-size:12px}
 .case-feedback{padding:12px;margin-top:10px}.feedback-top{gap:10px;margin-bottom:13px}.feedback-top h2{font-size:23px}.feedback-top p{font-size:10px}.feedback-top .primary-button{min-height:44px;min-width:110px;gap:5px}.feedback-buckets{gap:6px}.feedback-bucket{padding:9px 5px}.feedback-bucket h3{font-size:13px;margin-bottom:10px}.feedback-people{gap:10px 2px;justify-content:center}.feedback-vote{width:44px;font-size:9px;gap:3px}.feedback-vote .justice-portrait{width:30px;height:34px}.feedback-vote .party-badge{width:12px;height:12px;font-size:7px;border-width:1px}.feedback-empty{font-size:9px}.feedback-mistakes{font-size:11px}.feedback-explanation{font-size:12px;line-height:1.6;margin-top:14px}.case-feedback .review-sources{font-size:10px}.feedback-footer .save-note{font-size:9px}
}
@media(max-width:350px){.masthead{padding:10px 12px}.brand{font-size:17px}main{padding-inline:12px}.case-title{font-size:18px}.question{font-size:13px}.bucket-heading h2{font-size:13px}.bucket-description{font-size:10px}.physics-space{--sticker-width:24;--sticker-height:32}.game-controls .primary-button{min-width:92px}}
@keyframes justice-arrives{from{opacity:0;transform:translateY(6px) scale(.94)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
