:root {
  color-scheme: dark;
  --ground:#16191c; --panel:#21272c; --soft:#2c3339; --ink:#f4f6ed;
  --muted:#b5bfb9; --line:#41494a; --lime:#c0ff70; --gold:#ffd084; --aqua:#91e3d3;
  --sans:"Barlow","Hiragino Sans","Yu Gothic UI","Meiryo",sans-serif;
  --mono:"IBM Plex Mono",ui-monospace,Menlo,Consolas,monospace;
  font:16px/1.55 var(--sans); color:var(--ink); background:var(--ground);
}
*{box-sizing:border-box}
body{margin:0} button,textarea,input{font:inherit} button{color:inherit;cursor:pointer} button:disabled{cursor:default;opacity:.45}
button:focus-visible,a:focus-visible,textarea:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid var(--aqua);outline-offset:3px}
a{color:var(--aqua);text-underline-offset:4px} h1,h2,h3,p,dl,dd{margin:0} p{line-height:1.78} h1,h2{line-height:1.25}
h1[tabindex="-1"]:focus{outline:0}
.topbar{border-bottom:1px solid var(--line);background:#1c2024}
.topbar-inner,main,.site-footer{width:min(1160px,calc(100% - 64px));margin-inline:auto}
.topbar-inner{min-height:68px;display:flex;align-items:center;gap:30px}
.brand,.sound,nav button{border:0;background:none}
.brand{display:inline-flex;align-items:center;gap:11px;padding:0;font-weight:900;letter-spacing:.04em;font-size:1.65rem;white-space:nowrap}
.brand-mark{display:flex;align-items:center;justify-content:center;gap:3px;width:38px;height:33px;border-radius:5px;background:var(--lime);transform:skew(-9deg)}
.brand-mark i{width:4px;background:#1b241a;transform:skew(-13deg);height:10px}
.brand-mark i:nth-child(2){height:18px}.brand-mark i:nth-child(3){height:13px}
nav{display:flex;align-self:stretch;gap:clamp(10px,2.25vw,34px);margin:auto}
nav button{color:var(--muted);border-bottom:2px solid transparent;font-size:.9rem;padding:4px 0 0;white-space:nowrap}
nav button[aria-current]{color:var(--lime);border-color:var(--lime);font-weight:700}
.sound{font-size:.86rem;color:var(--muted);border:1px solid var(--line);border-radius:6px;padding:6px 11px;white-space:nowrap}
.sound[aria-pressed="true"]{color:var(--lime)} .sound::before{content:"♪";margin-right:6px}
main{padding:30px 0 40px;min-height:calc(100dvh - 148px)} .site-footer{border-top:1px solid var(--line);display:flex;flex-wrap:wrap;align-items:center;gap:7px 14px;padding:20px 0;font-size:.83rem;color:var(--muted)}
.site-footer>:last-child{margin-left:auto}
.launch{position:relative;isolation:isolate;overflow:hidden;border:1px solid #4a5750;border-radius:13px;background:radial-gradient(ellipse at 83% 56%,#304238 0,transparent 52%),#20262a}
.launch::before,.stage::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background-image:radial-gradient(#a6cdb92d .8px,transparent 1px);background-size:12px 12px}
.launch-copy{position:relative;z-index:2;width:max-content;max-width:68%;padding:clamp(30px,4.2vw,54px) 0 clamp(29px,4vw,48px) clamp(25px,4vw,51px)}
.eyebrow{color:var(--lime);font-size:.87rem;letter-spacing:.08em;font-weight:700}
.signal{width:8px;height:8px;background:var(--lime);display:inline-block;margin-right:9px;transform:rotate(-12deg)}
.launch h1{display:flex;align-items:baseline;gap:.06em;font-size:clamp(1.7rem,3.8vw,3.4rem);font-weight:900;letter-spacing:-.07em;margin:8px 0 10px;white-space:nowrap}
.big-number{font:italic 900 clamp(3.6rem,7.4vw,6.6rem)/.98 var(--sans);letter-spacing:-.09em;color:var(--lime);margin-right:.07em}
.launch-copy>p:not(.eyebrow){color:#d9e0d7;line-height:1.7}
.actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.actions.below{margin-top:20px}
.btn{border:1px solid transparent;border-radius:6px;background:var(--lime);color:#192112;min-height:43px;padding:9px 18px;font-weight:750;font-size:.94rem;line-height:1.45}
.btn:hover{background:#d5ff9f}.btn.soft{color:var(--ink);border-color:#63716c;background:#252d30}.btn.soft:hover{background:#374139}
.option-line,.audio-options label{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:.87rem;margin-top:16px}
input[type=checkbox],input[type=range]{accent-color:var(--lime)} input[type=checkbox]{width:1.1rem;height:1.1rem;margin:0}
.console-art{position:absolute;z-index:1;pointer-events:none;inset:0 0 0 auto;width:49%;display:grid;place-items:center;perspective:900px}
.orbit{position:absolute;width:85%;aspect-ratio:1;transform:rotateX(63deg) rotateZ(-21deg);border:1px dashed #94cb974d;border-radius:50%;box-shadow:0 0 0 26px #9fe49706,0 0 0 57px #93d6a507}
.key-case{width:83%;padding:clamp(8px,1.25vw,18px);transform:rotateX(44deg) rotateZ(-16deg) rotateY(-6deg);border:2px solid #899c85;border-radius:12px;background:#425147;box-shadow:1px 3px #768574,3px 6px #5d705f,4px 9px #4d5d4e,6px 13px #333d34,8px 22px 29px #060a08b0}
.keys{display:grid;gap:5px;user-select:none}.key-row{display:flex;justify-content:center;gap:5px}
.key-row i{display:grid;place-items:center;min-width:0;flex:0 1 8.9%;height:26px;font:500 .79rem var(--mono);background:#283039;color:#b8c5c7;border:1px solid #4a5358;border-radius:4px;box-shadow:0 2px #13171b}
.key-row i.wide{flex-basis:14%}.key-row i.space{flex-basis:37%}
.key-case .keys{gap:7px}.key-case .key-row i{height:clamp(23px,2.6vw,37px);color:#e4ebe3;background:#29322e;border:1px solid #68766c;box-shadow:1px 3px #19231c,1px 5px #19231c;font-weight:700}
.key-case .key-row .prime,.key-case .space{background:var(--lime);color:#20351b;border-color:#d8ffad;box-shadow:1px 3px #64864b,1px 5px #486830}
.dashboard{display:grid;grid-template-columns:repeat(3,1fr);padding:17px 0;border-bottom:1px solid var(--line)}
.dashboard>div{padding:1px 22px;display:flex;align-items:baseline;justify-content:space-between;gap:6px;border-right:1px solid var(--line)}
.dashboard>div:first-child{padding-left:0}.dashboard>div:last-child{border:0;padding-right:0}.dashboard span{color:var(--muted);font-size:.89rem}
.dashboard span small{font-size:.76rem}.dashboard strong{font:700 1.55rem var(--mono);white-space:nowrap}.dashboard strong small{font:.84rem var(--sans);color:var(--muted)}
.overview{margin-top:29px}.overview-head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:12px}.overview h2,.screen h2{font-size:1.35rem}
.practice-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--line);border-radius:8px;background:#1d2226}
.practice-item{display:flex;gap:13px;align-items:center;text-align:left;border:0;background:none;padding:19px}.practice-item+.practice-item{border-left:1px solid var(--line)}.practice-item:hover{background:#2a3234}
.practice-icon{display:grid;place-items:center;height:36px;width:36px;flex:none;background:#323c36;color:var(--lime);font-size:1.3rem;border-radius:7px}
.practice-name,.practice-detail{display:block}.practice-name{font-weight:700}.practice-detail,.helper,.small{color:var(--muted);font-size:.89rem;line-height:1.65}
details{margin:16px 0} summary{cursor:pointer}.audio-settings{margin:20px 0 0;color:var(--muted);font-size:.87rem}.audio-options{display:flex;align-items:center;flex-wrap:wrap;gap:18px;margin:14px 0}.audio-options label{margin:0}.audio-options .btn{font-size:.83rem;min-height:34px;padding:5px 11px}
.screen{max-width:940px;margin:auto}.screen-header,.race-head{margin-bottom:19px}.screen h1{font-size:clamp(1.8rem,3vw,2.65rem);margin:5px 0 8px}
.race-head,.hud{display:flex;align-items:center;justify-content:space-between;gap:14px}
.race-stats{display:flex;align-items:baseline;gap:clamp(13px,3vw,38px)}.race-stats>div,.stat{display:grid;text-align:right}
.race-stats span,.stat span{color:var(--muted);font-size:.85rem}.race-stats strong,.stat strong{font:700 clamp(1.35rem,2.8vw,2.15rem) var(--mono);color:var(--lime)}
.race-stats>div:last-child strong{color:var(--ink)}.track{display:grid;gap:5px;margin-bottom:15px}
.lane{display:grid;align-items:center;grid-template-columns:5.6em 1fr 5em;gap:11px;font-size:.82rem}.lane span{color:var(--lime)}.lane b{text-align:right;font-family:var(--mono)}
.rail{height:7px;border-radius:3px;background:repeating-linear-gradient(90deg,#3b4444 0 1px,transparent 1px 10%),#283031;overflow:hidden}
.rail i{display:block;background:var(--lime);height:100%;transition:width .18s ease}.ghost span{color:var(--aqua)}.ghost .rail i{background:var(--aqua)}
.stage{background:#222b2d;isolation:isolate;position:relative;overflow:hidden;border:1px solid #485a54;border-radius:9px;padding:16px 22px 12px;margin-bottom:14px;text-align:center}
.stage-top,.stage-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:.85rem;color:var(--muted)}.stage-top>:first-child{color:var(--aqua);font-weight:700}
.reading{min-height:1.3em;margin-top:13px;font-size:.87rem;letter-spacing:.1em;color:var(--muted)}
.prompt{font-weight:800;font-size:clamp(1.65rem,4.5vw,3.25rem);line-height:1.32;overflow-wrap:anywhere;margin:1px 0 15px}
.matched{color:var(--lime)}mark{color:#ffd1b5;background:#5e3733;text-decoration:underline;text-underline-offset:.1em}#gain{color:var(--gold);font-weight:700}
.input-switch{font:inherit;background:transparent;color:var(--lime);border:0;padding:.35em .2em;text-decoration:underline;text-underline-offset:.2em;cursor:pointer}
.topic-picker[open]>div{margin-top:.75rem}

.roman-guide{font:600 clamp(1.05rem,3vw,1.65rem)/1.45 var(--mono);letter-spacing:.05em;overflow-wrap:anywhere;margin-bottom:14px}
.roman-guide .matched{text-decoration:underline;text-underline-offset:.2em}
.rank-filters{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0}.rank-filters label,#rank-form label{font-weight:650;font-size:.95rem}
.rank-filters select,.rank-filters input,#rank-name{font:inherit;color:var(--ink);background:var(--panel);border:1px solid var(--line);border-radius:5px;padding:8px;max-width:100%}
.rank-mine{color:var(--aqua);font-weight:700;margin:16px 0}.my-row{background:var(--panel)}
.history caption{text-align:left;margin:8px 0}.grade-part{padding:14px 0;border-bottom:1px solid var(--line)}
.grade-part li{margin:7px 0}.grade-part ul{margin:4px 0;padding-left:1.3rem}.grade-part li p{overflow-wrap:anywhere}
#rank-form{margin:10px 0}#rank-form .actions{margin-top:4px}#rank-receipt{margin-bottom:10px}
.cover{position:absolute;inset:0;display:grid;place-content:center;background:#232b2d;z-index:2}.cover span{color:var(--muted);font-size:.9rem}.cover strong{font:700 3.5rem var(--mono);color:var(--lime)}.cover .paused{font:700 2rem var(--sans)}
.timebar{display:block;width:100%;height:5px;border:0;appearance:none;border-radius:4px;overflow:hidden;margin-top:10px;background:#394240}
.timebar::-webkit-progress-bar{background:#394240}.timebar::-webkit-progress-value{background:var(--lime)}.timebar::-moz-progress-bar{background:var(--lime)}
.editor-label{display:block;font-weight:650;margin:4px 0 6px;font-size:.9rem}
.editor{display:block;width:100%;border:1px solid #65776f;background:#101619;color:var(--ink);border-radius:6px;font-size:1.15rem;line-height:1.65;padding:9px 14px;resize:vertical}.editor:focus{border-color:var(--lime)}.editor.long{min-height:160px}
.editor-meta{display:flex;justify-content:space-between;min-height:23px;gap:12px;margin:5px 0}.status{color:var(--gold)}.arena>.keys{width:min(100%,540px);margin:2px auto}.arena>.actions{justify-content:center}
.case-text,.sample-text{padding:17px 19px;background:var(--panel);border-radius:8px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0 17px}
.results{display:flex;flex-wrap:wrap;gap:18px clamp(20px,5vw,65px);padding:20px 0;border-block:1px solid var(--line);margin:20px 0}
.results dt{font-size:.9rem;color:var(--muted)}.results dd{font:700 2rem/1.5 var(--mono);color:var(--lime)}.results dd small{font:.9rem var(--sans);margin-left:4px;color:var(--muted)}
.choice-list{display:grid;border-top:1px solid var(--line)}.choice{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;background:none;padding:17px 2px;border:0;border-bottom:1px solid var(--line)}.choice:hover strong{color:var(--lime)}
.division{border-top:1px solid var(--line);margin-top:21px;padding-top:18px}.checklist{display:grid;gap:10px;margin:15px 0}.checklist label{display:flex;align-items:baseline;gap:9px}.inline-input{display:block;margin-top:14px}
.info-table{overflow-x:auto}.history{border-collapse:collapse;width:100%;font-size:.87rem;text-align:left}.history th,.history td{padding:9px;border-bottom:1px solid var(--line)}.history th{color:var(--muted)}[hidden]{display:none!important}
@media(max-width:850px){
 .topbar-inner,main,.site-footer{width:calc(100% - 40px)}
 .dashboard>div{flex-direction:column;padding-inline:13px}.practice-item{padding:15px 12px;gap:9px}
 .console-art{width:43%}.key-case{width:92%}.key-case .key-row{gap:3px}.key-case .key-row i{font-size:.7rem}
}
@media(max-width:650px){
 .topbar-inner,main,.site-footer{width:calc(100% - 28px)}main{padding-top:18px}.topbar-inner{min-height:60px;flex-wrap:wrap;padding-top:9px;gap:5px 12px;justify-content:space-between}
 nav{order:3;flex:1 0 100%;justify-content:space-between;gap:4px}nav button{font-size:.84rem;padding:8px 0}
 .launch-copy{width:100%;max-width:100%;padding:24px 20px}.launch h1{font-size:clamp(1.65rem,6.7vw,2.8rem)}.console-art{opacity:.21;top:35%;bottom:-8%;width:40%;right:-6%;z-index:-1}
 .dashboard span small{display:block}.dashboard>div{justify-content:flex-start}.dashboard span{font-size:.82rem}.dashboard strong{font-size:1.2rem}
 .practice-list{grid-template-columns:1fr}.practice-item+.practice-item{border-left:0;border-top:1px solid var(--line)}.race-head{align-items:flex-start;flex-direction:column}.race-stats{width:100%;justify-content:space-between}
 .race-stats>div{text-align:left}.stage{padding:13px 12px}.key-row{gap:3px}.lane{grid-template-columns:5em 1fr 4em}.site-footer>:last-child{margin-left:0}.btn{padding:9px 12px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

/* The title screen and the playfield share the courthouse's midnight palette. */
body[data-intro] .topbar,body[data-intro] .site-footer{display:none}
body[data-intro]{background:#101923}
body[data-intro] main{display:grid;align-content:center;min-height:100svh;padding-block:24px}
.title-screen{display:grid;grid-template-columns:41% 59%;position:relative;overflow:hidden;background:#122129;border:2px solid #607f78;border-radius:15px;box-shadow:0 6px 0 #0a1119,inset 0 0 0 5px #1c3338}
.title-copy{grid-area:1/1;position:relative;align-self:center;padding:clamp(26px,4vw,58px);z-index:1}
.title-art{grid-area:1/2;display:grid;align-items:center;background:#152331}
.title-art img,.court-scene{display:block;width:100%;image-rendering:pixelated}
.title-copy h1{font-size:clamp(5.6rem,10vw,8.6rem);font-weight:950;line-height:1.18;letter-spacing:.025em;color:#edffe0;text-shadow:3px 3px #54866a,6px 6px #2b514b;margin:4px 0 14px}
.title-blurb{max-width:18em;font-weight:650;color:#deebd9}
.title-controls{margin-top:24px;min-height:94px}
.title-controls [role=status]{font:650 .9rem var(--mono);letter-spacing:.06em;margin-bottom:10px;color:var(--aqua)}
.loading-track{width:11em;height:9px;background:#253b40;overflow:hidden}.loading-track i{display:block;width:42%;height:100%;background:var(--lime);animation:load-slide .85s ease-in-out infinite alternate}
@keyframes load-slide{to{transform:translateX(140%)}}
.start-key{padding-inline:1.5rem;letter-spacing:.06em;border-radius:5px;box-shadow:0 4px 0 #67914e}
.start-key:active{transform:translateY(2px);box-shadow:0 2px 0 #67914e}
.intro-music{display:inline-flex;align-items:center;vertical-align:middle;margin:10px 0 10px 13px;gap:4px;color:var(--muted);font-size:.9rem}
.audio-switches{display:flex;align-items:center;gap:6px}
.music{background:transparent;color:var(--muted);font-size:.86rem;border:1px solid var(--line);border-radius:6px;padding:6px 10px}
.music[aria-pressed=true]{color:var(--aqua)}
.console-art{overflow:hidden;background:#172937;display:flex;align-items:end;justify-content:center}
.console-art .court-scene{position:absolute;top:0;left:0;width:100%;height:79%;object-fit:cover;object-position:50% 58%}
.console-art .key-case{position:absolute;bottom:5%;width:65%;transform:rotateX(42deg) rotateZ(-6deg);background:#374940}
.combo-hud{display:flex;align-items:center;justify-content:flex-end;gap:10px;color:var(--gold);font-weight:700;font-size:.92rem;margin:10px 0 6px}
.combo-lights{display:inline-flex;align-items:center;gap:4px}
.combo-lights i{width:18px;height:9px;transform:skew(-16deg);background:#384245;border:1px solid #607073}
.combo-lights[data-lit="1"] i:first-child,.combo-lights[data-lit="2"] i:not(:last-child),.combo-lights[data-lit="3"] i{background:var(--gold);border-color:#eac172;box-shadow:0 0 6px #ffcf7640}
.stage{border:2px solid #648778;background:#18292d;box-shadow:0 4px 0 #09181b,inset 0 0 0 4px #23373b;padding:16px 22px}
.stage-top>:first-child{background:#263d40;border:1px solid #456665;border-radius:4px;padding:3px 9px;letter-spacing:.04em}
.stage-top>:last-child{font-family:var(--mono);color:#c1d1c8}
.arena .timebar{height:7px}
.arena .prompt{color:#f6ffe8;text-shadow:0 3px #31473a}
.arena .prompt .matched{color:var(--lime)}
#gain{font-variant-numeric:tabular-nums;min-height:1.6em}
.score-summary{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:20px 24px;background:#1e3030;border:1px solid #526d61;border-radius:8px}
.score-summary strong{font:800 clamp(2.7rem,6vw,4.3rem)/1.15 var(--mono);color:var(--lime)}
.score-summary small{font:600 1rem var(--sans);padding-left:7px}
.run-feedback{margin:24px 0}.run-feedback .results{margin:12px 0;padding:12px 0}.run-feedback h3{font-size:1.08rem;margin:16px 0 4px}
.attempt-detail summary{color:var(--aqua)}.attempt-detail ol{padding-left:2em;margin:.5em 0}.attempt-detail li{padding:5px 0}.attempt-detail b{font-size:.88rem;color:var(--muted);margin-left:12px}
.rank-entry{padding:19px 22px;border:1px solid #546764;border-radius:9px;background:var(--panel)}
.rank-entry h2{margin-bottom:7px}#rank-name{background:var(--ground);min-height:43px}
@media(max-width:850px){.topbar-inner{gap:12px}.audio-switches{gap:3px}.audio-switches button{padding-inline:6px}.title-copy{padding:25px}.intro-music{margin-left:6px}}
@media(max-width:650px){.title-screen{grid-template-columns:1fr}.title-art{grid-area:1/1}.title-art img{height:clamp(142px,36vw,210px);object-fit:cover;object-position:center 54%}.title-copy{grid-area:2/1;text-align:center}.title-copy h1{font-size:5.4rem;margin:0 0 8px}.title-blurb{max-width:none}.title-controls{margin-top:15px;min-height:78px}.loading-track{margin:auto}.console-art{top:0;bottom:0;right:0;width:46%;opacity:.16}.console-art .key-case{display:none}.console-art .court-scene{height:100%;object-position:center}.score-summary{align-items:flex-start;flex-direction:column;gap:8px;padding:15px}.rank-entry{padding:15px}.rank-entry input{width:min(100%,16em)}.combo-hud{margin-top:6px}.stage{padding:12px}}
@media(max-height:520px) and (min-width:651px){.title-copy{padding:18px 30px}.title-copy h1{font-size:5rem}.title-controls{margin-top:10px;min-height:72px}}
.file-stamp{position:absolute;right:18px;top:41px;opacity:0;pointer-events:none;border:2px solid currentColor;color:var(--gold);font-weight:900;letter-spacing:.14em;padding:1px 7px;line-height:1.4;transform:rotate(-10deg)}
@media(max-width:650px){.file-stamp{top:39px;right:12px;font-size:.76rem}}
.arena .race-head{padding-block:7px;border-bottom:1px solid var(--line)}
.docket{margin:8px 0 2px;padding:8px 12px 5px;background:#172328;border:1px solid #395050;border-radius:5px}
.docket-label{display:flex;justify-content:space-between;font-size:.85rem;color:#bed2c6;font-variant-numeric:tabular-nums}
.docket-line{position:relative;height:23px;margin:0 12px;background:repeating-linear-gradient(90deg,#58736e 0 2px,transparent 2px 12px) left bottom 2px / 100% 2px no-repeat}
.docket-line::after{content:"";position:absolute;right:-3px;bottom:3px;width:3px;height:15px;background:var(--gold)}
#file-position{position:absolute;bottom:6px;left:0;transition:left .055s linear}
.moving-file{display:block;position:absolute;bottom:0;left:-9px;width:19px;height:12px;background:#f0ca80;border:1px solid #cca15f;box-shadow:2px 2px #101b1f}
.moving-file::before{content:"";position:absolute;left:0;top:-4px;width:8px;height:3px;background:#dba859}
.moving-file::after{content:"";position:absolute;left:3px;top:3px;width:8px;height:2px;background:#9d743e}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:650px){.arena .race-head{position:static}}
@media(prefers-reduced-motion:reduce){.docket-line{display:none}}

/* Each room has its own pixel illustration and keeps the worksheet legible. */
#app{--room-ink:#9edccc;--room-picture:0%}
#app[data-screen=essay]{--room-ink:#e6bb8e;--room-picture:25%}
#app[data-screen=measure]{--room-ink:#9bbde6;--room-picture:50%}
#app[data-screen=ranking]{--room-ink:#f2cf80;--room-picture:75%}
#app[data-scene=result]:not([data-screen=ranking]){--room-ink:#e9ca89;--room-picture:100%}
.screen-header,.screen>.hud{position:relative;isolation:isolate;background:#1c2c32;border:1px solid #435d5d;box-shadow:0 3px 0 #111b20;border-radius:9px;padding:clamp(15px,2vw,25px) clamp(16px,2.4vw,29px);overflow:hidden;margin-bottom:20px}
.screen-header{display:grid;align-content:center;min-height:112px;padding-right:clamp(126px,24%,220px)}
.screen-header::after,.practice-icon{content:"";background-image:url("assets/menu-scenes.png");background-size:500% 100%;background-position:var(--room-picture) center;image-rendering:pixelated}
.screen-header::after{position:absolute;right:0;top:0;bottom:0;width:clamp(112px,22%,190px);margin-block:auto;aspect-ratio:112/64;height:auto;max-height:100%;align-self:center}
.screen-header .eyebrow,.screen>.hud .eyebrow{color:var(--room-ink)}
.screen-header h1{margin:.15em 0 .22em}.screen-header .helper{font-size:1rem;line-height:1.6}
.practice-list{gap:12px;border:0;background:none}
.practice-item,.practice-item+.practice-item{border:1px solid #43575a;background:#1e2a30;border-radius:7px;box-shadow:0 3px 0 #0f1b20;padding:12px;transition:transform .12s ease}
.practice-item:hover,.choice:hover{transform:translateY(-2px);background:#233439}
.practice-icon{width:64px;height:38px;border-radius:3px;--room-picture:0%}
.practice-item[data-action=essays] .practice-icon{--room-picture:25%}
.practice-item[data-action=measure] .practice-icon{--room-picture:50%}
.choice-list{border:0;gap:8px;margin-block:12px}.choice{border:1px solid #45595a;border-radius:6px;background:#202e32;box-shadow:0 2px 0 #121d22;padding:14px 16px}
.choice strong{display:inline-flex;align-items:center;gap:12px}.choice strong::before{content:"";width:8px;height:8px;background:var(--room-ink);clip-path:polygon(0 0,45% 0,45% 25%,70% 25%,70% 45%,100% 45%,100% 60%,70% 60%,70% 80%,45% 80%,45% 100%,0 100%)}
.grade-part h2{display:flex;align-items:center;gap:.5em}.grade-part h2 small{font:.9rem var(--mono);color:var(--muted)}
.grade-meter{display:inline-flex;gap:4px}.grade-meter i{width:16px;height:9px;transform:skew(-14deg);border:1px solid #718077;background:#263835}
.grade-meter[data-points="1"] i:first-child,.grade-meter[data-points="2"] i{background:var(--gold);border-color:#eac987}
.rank-medal{display:inline-block;min-width:3em;text-align:center;font-weight:800;font-variant-numeric:tabular-nums;border-radius:4px}
.rank-medal:is([data-place="1"],[data-place="2"],[data-place="3"]){background:#e6c37d;color:#2f271a;box-shadow:0 2px #7c694f}.rank-medal[data-place="2"]{background:#afcbd1}.rank-medal[data-place="3"]{background:#d8a485}
.rank-filters{align-items:end}.rank-filters label{display:grid;gap:5px;color:var(--muted)}
.music-deck{display:inline-flex;align-items:center;gap:9px;max-width:100%;font-variant-numeric:tabular-nums}
.track-skip{color:var(--aqua);background:#212d30;border:1px solid #415754;border-radius:4px;padding:4px 9px;font-size:.85rem}
.equalizer{display:inline-flex;align-items:end;gap:2px;height:12px}.equalizer i{width:3px;height:6px;background:var(--aqua)}.equalizer i:nth-child(2){height:11px}.equalizer i:nth-child(3){height:8px}
@media(max-width:750px){.practice-item,.practice-item+.practice-item{padding:10px;gap:6px}.practice-icon{width:48px;height:29px}}
@media(max-width:650px){.screen-header{min-height:95px;display:block;padding:14px}.screen-header::after{width:66px;height:38px;top:8px;right:8px;bottom:auto;margin:0}.screen-header .eyebrow{padding-right:65px}.screen-header h1{margin-top:12px;padding-right:48px;font-size:1.65rem}.screen-header .helper{font-size:.95rem}.practice-icon{width:58px;height:35px}.music-deck{flex-basis:100%}}
.word-list{max-width:56rem;margin:auto;padding-block:2rem}.word-list h1{margin:1rem 0}.word-list section{margin-block:2rem}.word-list section>p{margin:.7rem 0;color:var(--muted)}
.word-list .history td{font-size:1rem}.word-list td small{display:block;font-family:var(--mono);color:var(--muted);overflow-wrap:anywhere}
.word-list th:first-child{white-space:nowrap}.word-list ol{padding-left:2em}.word-list li{margin:.65em 0;line-height:1.65}

.topic-picker {margin-top:1rem}
.topic-picker summary {cursor:pointer;font-weight:700}
.topic-picker select, .library-filters select {max-width:100%;font:inherit;color:inherit;background:#202a32;border:1px solid #627482;border-radius:.35rem;padding:.45rem}
.topic-picker[open] summary {margin-bottom:.65rem}
.library-filters {display:flex;gap:.65rem 1.25rem;align-items:center;flex-wrap:wrap;margin:1rem 0}
.word-list .history td {vertical-align:top}
.word-list .history td a {display:block;overflow-wrap:anywhere}
.word-list .history .source-detail {font-size:.85rem}
.word-list .history td small {overflow-wrap:anywhere;white-space:normal}

/* Course selection and the 90-second finish line */
.launch-copy{width:59%;max-width:none;padding-right:clamp(18px,2.3vw,32px)}
.console-art{width:41%}
.course-picker{min-width:0;margin:18px 0 10px;padding:0;border:0}
.course-picker legend,.answer-picker{font-size:.85rem;font-weight:700}
.course-grid,.pace-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.course-card{min-width:0;position:relative;cursor:pointer;display:grid;align-content:start;gap:3px;border-radius:9px;border:1px solid #53635a;background:#202b2a;padding:11px 9px}
.course-card input{position:absolute;right:6px;top:7px;accent-color:var(--lime)}
.course-card>span{padding-right:18px;color:#c1d3ca;font-size:.73rem}
.course-card strong{font-size:clamp(.88rem,1.55vw,1.13rem)}
.course-card small,.pace-grid small{font-size:.72rem;color:#c1d3ca}
.course-card b{color:var(--lime);font-size:1.25rem;font-variant-numeric:tabular-nums}
.course-card:has(:checked){background:#2d3d2a;border-color:var(--lime)}
.course-card:focus-within{outline:2px solid white;outline-offset:2px}
.course-target{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;font-size:.83rem}
.course-target strong,.pace-grid strong,.challenge-verdict.cleared h2{color:var(--lime)}
.answer-picker{display:inline-flex;align-items:center;gap:6px}
.answer-picker select{font:inherit;color:#ecf1e9;background:#242e30;border:1px solid #68776d;border-radius:5px;padding:4px}
.course-progress,.challenge-verdict,.pace-panel{padding:clamp(13px,2.3vw,24px);border:1px solid #53635a;background:#202a2a;border-radius:10px;margin:12px 0}
.course-progress{padding:10px 14px}
.course-progress>div{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.course-progress span{font-size:.8rem}
.course-progress progress{display:block;width:100%;height:9px;margin-top:5px;accent-color:var(--lime)}
.challenge-verdict h2{font-size:clamp(1.8rem,5vw,3rem);margin:0}
.challenge-verdict p{margin:.35em 0}.challenge-verdict .actions{margin-top:12px}
.challenge-verdict.cleared{background:#2b3928;border-color:#99be70}
.pace-panel h2{margin:0 0 10px}.pace-panel details{margin:10px 0}
.pace-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,140px),1fr));margin-top:12px}
.pace-grid>div{display:grid;gap:3px;align-content:start;border-radius:7px;background:#15201f;padding:12px}
.pace-grid span{font-size:.82rem}.pace-grid strong{font-size:1.55rem}
@media(max-width:750px){.launch-copy{width:100%;max-width:none;padding:24px 20px}.launch .console-art{display:none}}
@media(max-width:380px){.launch-copy{padding:17px 12px}.course-card{padding:8px 6px}.course-grid{gap:4px}}

/* The relief above the archive gate and the three schools of magic share a palette. */
:root{--ground:#111521;--panel:#202739;--soft:#292e43;--ink:#faf4e5;--muted:#c4c7d3;--line:#484a61;--lime:#ffe09b;--aqua:#94efe4}
.topbar{background:#191d2d}.brand-mark{background:#f5c776}
.title-screen,.launch{background-color:#191c30;border-color:#8d785a}
.quest-title,.archive-title{font-family:"Hiragino Mincho ProN","Yu Mincho",serif}
.quest-title{font-size:clamp(1.55rem,3vw,2.9rem);letter-spacing:.15em;color:var(--gold);margin:-.25em 0 .4em}
.title-copy h1{color:#fff1cb;text-shadow:3px 3px #946a44,6px 6px #423344}
.title-art.arcane-art,.launch .archive-art{position:relative;isolation:isolate;overflow:hidden;background:#161c35}
.title-art.arcane-art{align-self:stretch;min-height:280px}
.arcane-art img:first-child,.launch .archive-art .court-scene{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:90% center}
.arcane-art .title-tome,.archive-art .hero-tome{position:absolute;z-index:1;inset:20% auto auto 11%;width:clamp(110px,15vw,226px);height:auto;image-rendering:auto;filter:drop-shadow(0 8px 12px #110c2f);animation:archive-float 3.5s ease-in-out infinite alternate}
.launch{background:#181d30}
.launch .archive-art{position:absolute;inset:0 0 0 auto;width:41%}
.launch .archive-title{font-size:clamp(2.5rem,5.5vw,4.6rem);line-height:1.18;letter-spacing:.04em;color:#fff0c4;margin:.18em 0}
.archive-art .hero-tome{inset:42% auto auto 8%;width:46%}
.start-key{box-shadow:0 4px 0 #967040}.btn:hover{background:#ffecbc}
.course-card:has(:checked){background:#393047;border-color:#e4be7c}
.arena{max-width:980px}.arena .race-head{margin-bottom:6px}
.arena .race-head h1{font-size:clamp(1.25rem,2.8vw,2rem)}
.arena .course-progress{margin:7px 0 0;padding:6px 12px;background:#1e2434;border-color:#4f5268}
.arena .combo-hud{font-size:.84rem;margin:5px 0}
.arena .stage{padding:0;background:#182033;border:1px solid #97825e;box-shadow:0 4px 0 #0b0e1c}
.arena .stage-top,.arena .stage-bottom{padding:5px 13px;background:#1c2536}
.arena .stage-top>:first-child{border:0;background:transparent;padding:0;color:#d6edf6}
.arena .stage-top>:last-child{color:#e3d4b1}
.library-world{--magic:#c5a0ff;position:relative;isolation:isolate;overflow:hidden;height:clamp(156px,24vw,265px);background:#18203a url("assets/archive-hall-easy.png") center / 100% 100% no-repeat}
.library-world[data-subject="民法"]{--magic:#82efdf}.library-world[data-subject="刑法"]{--magic:#ffb381}
.world-hud{position:absolute;z-index:2;inset:7px 9px auto;display:flex;align-items:start;justify-content:space-between;pointer-events:none}
.world-hud span,.folio-tag{border:1px solid #a48b62;background:#151a30f2;color:#fff0c9;border-radius:4px;box-shadow:0 2px 0 #090e1b;font-weight:750}
.world-hud span{font-size:.78rem;padding:2px 8px}
#file-deadline{font-variant-numeric:tabular-nums}
.flight-path{position:absolute;inset:0 clamp(57px,9%,110px);pointer-events:none}
#book-position{position:absolute;top:69%;left:0}
.flying-folio{position:absolute;left:0;bottom:0;width:clamp(72px,10vw,103px);transform:translateX(-50%);display:grid;grid-template-columns:minmax(0,1fr);justify-items:center;align-items:end}
.folio-body{position:relative;isolation:isolate;width:100%;animation:archive-float 1.25s ease-in-out infinite alternate}
#tome-sprite{display:block;width:100%;height:auto;filter:drop-shadow(0 3px 2px #0d1026)}
.folio-halo{position:absolute;z-index:-1;inset:25% 1% 5%;border-radius:50%;background:radial-gradient(ellipse,var(--magic) 0%,transparent 69%);opacity:.68}
.folio-tag{font-size:clamp(.78rem,1.7vw,1rem);padding:2px 7px;max-width:clamp(104px,17vw,182px);width:max-content;line-height:1.3;z-index:1;text-wrap:balance}
.seal-meter{width:45%;display:block;height:5px;border-radius:5px;background:#141528;border:1px solid #c3b4cc;overflow:hidden}
.seal-meter i{display:block;height:100%;background:var(--magic);transition:width .13s}
#spell-trails{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.library-world .file-stamp{background:#241935df;z-index:2;top:42px;right:14px;color:#ffdc8e}
.incantation{background:#151c30}.incantation .reading{min-height:0;margin:0;padding-top:7px}.incantation .reading:empty{padding-top:3px}
.arena .incantation .prompt{font-size:clamp(1.4rem,3.4vw,2.4rem);color:#fff5db;text-shadow:none;margin:2px 12px 6px}
.incantation .roman-guide{color:#dfecf8;margin:0 12px 8px;font-size:clamp(1rem,2.3vw,1.48rem)}
.arena .incantation .matched{color:#89e8d6}
.arena .cover{background:#111627cc;z-index:4}
.arena .score-track{font-size:.84rem;color:var(--muted);margin:12px 0}
.score-track .track{margin:8px 0}
.recap .score-summary{background:#25263a}.recap .challenge-verdict.cleared{background:#302a3f;border-color:#bca26e}
@keyframes archive-float{from{transform:translateY(2px) rotate(-3deg)}to{transform:translateY(-4px) rotate(3deg)}}
.library-world[data-resting=true] .folio-body{animation-play-state:paused}
@media(max-width:750px){
 .launch .archive-art{display:block;position:relative;inset:auto;width:100%;height:115px;opacity:1;z-index:0}
 .launch .archive-art .court-scene{object-position:50% 72%}
 .archive-art .hero-tome{width:80px;inset:auto auto 10% 44%}
}
@media(max-width:650px){
 .title-art.arcane-art{min-height:165px}
 .arcane-art .title-tome{width:104px;inset:15% auto auto 30%}
 .arena .race-head{flex-wrap:wrap}.arena .race-stats{width:100%;justify-content:space-between}
 .library-world{height:clamp(160px,37vw,208px)}
 #book-position{top:78%}.flying-folio{width:60px}.world-hud span{font-size:.73rem}
 .arena .stage-top,.arena .stage-bottom{padding:4px 8px}
}
@media(prefers-reduced-motion:reduce){
 .arcane-art .title-tome,.archive-art .hero-tome,.folio-body{animation:none}
 .flight-path #book-position{left:50%!important}
 .seal-meter i{transition:none}
}

.recap .screen-header::after{background:transparent url("assets/pixel-flying-grimoire.png") center / contain no-repeat;height:80%;aspect-ratio:1;max-width:27%}

/* The archive encounter layers keep the reading target stationary below the action. */
.library-world{background-image:var(--archive-hall,url("assets/archive-hall-easy.png"));image-rendering:pixelated}
.hero-anchor{position:absolute;left:2%;bottom:9%;width:clamp(64px,13%,142px);aspect-ratio:1;pointer-events:none;animation:mage-breathe 1.5s ease-in-out infinite alternate}
#archive-mage,#archive-mage img{width:100%;height:100%;display:block;position:relative;object-fit:contain;transform-origin:45% 92%}
#archive-mage img,#tome-sprite{image-rendering:pixelated}
.cast-sigil{position:absolute;inset:22% -3% auto auto;width:23%;aspect-ratio:1;border:2px solid var(--magic);border-radius:50%;box-shadow:0 0 9px var(--magic),inset 0 0 7px var(--magic);animation:sigil-glow 1.3s ease infinite alternate}
.cast-sigil::before,.cast-sigil::after{content:"";position:absolute;inset:12%;border:1px solid #ffeaab;transform:rotate(45deg)}
.cast-sigil::after{transform:rotate(15deg)}
.flight-path{left:max(25%,85px);right:max(10%,50px)}
#book-position{top:80%}
.flying-folio{width:clamp(60px,9vw,96px)}
.library-world[data-beast=slime] .flying-folio{width:clamp(42px,6.5vw,75px)}
.library-world[data-beast=golem] .flying-folio{width:clamp(65px,10vw,114px)}
.library-world[data-beast=dragon] .flying-folio{width:clamp(76px,12vw,136px)}
.library-world[data-beast=slime] .folio-body{transform-origin:50% 100%;animation:slime-bounce .7s ease-in-out infinite}
.library-world[data-beast=golem] .folio-body{transform-origin:50% 92%;animation:guard-step .8s ease-in-out infinite alternate}
.library-world[data-beast=dragon] .folio-body{animation:dragon-soar 1.6s ease-in-out infinite alternate}
@keyframes slime-bounce{0%,100%{transform:scale(1.09,.85)}48%{transform:translateY(-11px) scale(.94,1.08)}}
@keyframes guard-step{0%,75%{transform:rotate(-5deg)}100%{transform:translateY(-4px) rotate(4deg)}}
@keyframes dragon-soar{from{transform:translateY(4px) rotate(-4deg)}to{transform:translateY(-10px) rotate(5deg)}}
@keyframes mage-breathe{from{transform:translateY(0)}to{transform:translateY(-3px) rotate(1deg)}}
@keyframes sigil-glow{from{transform:scale(.72) rotate(0);opacity:.45}to{transform:scale(1) rotate(90deg);opacity:.92}}
.library-world[data-resting=true] :is(.hero-anchor,.folio-body,.cast-sigil){animation-play-state:paused}
@media(prefers-reduced-motion:reduce){.library-world :is(.hero-anchor,.folio-body,.cast-sigil){animation:none!important}}
.drill-controls,.drill-group,.drill-record{border:1px solid var(--line);border-radius:10px;background:var(--panel);padding:16px;margin:14px 0}
.drill-controls{position:sticky;top:0;z-index:3;box-shadow:0 4px 14px #090b142e}
.drill-controls label,.drill-group legend,.drill-record>span:first-child{font-weight:750;color:var(--gold)}
#drill-order{max-height:3.4em;overflow:auto;margin:.5em 0}
.term-grid{display:flex;flex-wrap:wrap;gap:8px}
.term-grid label{display:inline-flex;align-items:center;gap:7px;cursor:pointer;padding:7px 11px;border:1px solid var(--line);border-radius:6px}
.term-grid label:has(:checked){border-color:var(--aqua);background:#213b41;color:#c2fff4}
.term-grid input{accent-color:var(--aqua)}
.drill-record,.course-margin{display:grid;gap:.25rem}
.drill-record strong,.challenge-verdict .course-margin strong{font-size:clamp(2.4rem,6vw,4rem);line-height:1.14;color:var(--gold);font-variant-numeric:tabular-nums}
.drill-record+h2,.recap .actions+h2{margin-top:1.5rem}
.split-list{padding-inline-start:2.1rem}
.split-list li{padding:9px;border-bottom:1px solid var(--line)}
.split-list b{float:right;color:var(--aqua);font-variant-numeric:tabular-nums}
.course-margin{margin:15px 0 6px;color:var(--muted)}
#share-fallback{width:100%;margin:.6em 0}
#share-status:empty{display:none}
#share-status{display:block;color:var(--aqua);margin:8px 0}
#archive-mage .mage-pose{position:absolute;inset:0;opacity:0;object-position:bottom center}
#archive-mage img:first-child{object-position:bottom center}
@media(min-width:651px) and (max-height:820px){
 .library-world{height:clamp(164px,26vh,212px)}
 .arena .race-head{position:static}
}
.library-world{container-type:size}
.flying-folio{max-width:56cqh}


/* Keep the two live values beside the typing field in both worlds. */
.arena .race-head {flex-direction:row;align-items:center;flex-wrap:wrap}
.chain-count {white-space:nowrap;color:#c0cbd8;font-size:.88rem}
.chain-count strong {color:#ffdfa2;font:700 1.1rem var(--mono)}
.arena .stage {margin-bottom:.4rem}
.play-scoreboard {
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.5rem;
  position:sticky;top:0;z-index:3;padding-block:.25rem .4rem;background:var(--ground);
}
.clock-panel,.points-panel {
  display:flex;align-items:center;justify-content:space-between;gap:.55rem;
  min-width:0;padding:.48rem clamp(.65rem,2vw,1.15rem);border:1px solid;border-radius:6px;
}
.clock-panel {--clock-color:#a0efe2;background:#172e33;border-color:#50787a;color:var(--clock-color)}
.points-panel {background:#302b24;border-color:#7e6d4f;color:#ffdf99}
.scoreboard-stat {min-width:0}
.scoreboard-label {display:flex;align-items:center;gap:.42rem;color:#f3f3e9;font-size:.9rem;font-weight:700}
.clock-icon,.points-icon {width:.88rem;height:.88rem;position:relative;flex:none;display:inline-block}
.clock-icon {border:2px solid var(--clock-color);border-radius:50%}
.clock-icon::after {content:"";position:absolute;left:39%;top:15%;width:30%;height:43%;border-left:1px solid currentColor;border-bottom:1px solid currentColor}
.points-icon {width:.66rem;height:.66rem;border:2px solid #ffdf99;transform:rotate(45deg);margin-inline:.1rem}
.scoreboard-stat strong {display:block;font:750 clamp(1.7rem,3vw,2.5rem)/1.1 var(--mono);font-variant-numeric:tabular-nums;letter-spacing:-.045em;white-space:nowrap}
.scoreboard-value {display:flex;align-items:baseline;gap:.35rem}.scoreboard-value>span {font-size:.9rem}
.time-scale,.last-gain {min-width:0;display:grid;justify-items:end;gap:.18rem;text-align:right;font-size:.875rem}
.time-scale {width:48%;max-width:13rem}
.time-scale progress {appearance:none;-webkit-appearance:none;display:block;width:100%;height:.56rem;border:0;border-radius:3px;overflow:hidden;background:#0d1a21;color:var(--clock-color)}
.time-scale progress::-webkit-progress-bar {background:#0d1a21}
.time-scale progress::-webkit-progress-value {background:var(--clock-color)}
.time-scale progress::-moz-progress-bar {background:var(--clock-color)}
.clock-panel[data-phase=closing] {--clock-color:#ffe1a0;background:#382f22;border-color:#97815a}
.clock-panel[data-phase=final] {--clock-color:#ffe5d8;background:#58322e;border-color:#e7a28a}
.clock-panel[data-phase=final] #time-stage {font-weight:800}
.last-gain {color:#eadfc6}
.last-gain #gain {min-height:0;color:#ffe1a2;font:750 clamp(.98rem,1.7vw,1.3rem)/1.15 var(--mono);font-variant-numeric:tabular-nums}
@media(max-width:600px){
  .play-scoreboard {gap:.35rem}
  .clock-panel,.points-panel {padding:.35rem .6rem;display:grid;align-content:start;gap:.25rem}
  .time-scale,.last-gain {width:auto;max-width:none;display:flex;align-items:center;justify-content:flex-start;text-align:left;gap:.35rem;font-size:.81rem}
  .time-scale span,.last-gain b {flex:none}
  .time-scale progress {width:clamp(1.75rem,7vw,3.5rem);height:.42rem}
  .scoreboard-label {font-size:.875rem}
  .last-gain #gain {font-size:.9rem}
  .last-gain {flex-wrap:wrap}
}
@media(max-height:520px){
  .play-scoreboard {position:static}
}

.title-guide {margin:.6rem 0;color:#efe4c5}
.title-guide summary {cursor:pointer;font-weight:700}
.title-guide p {font-size:.9rem;margin:.35rem 0}
.title-guide ol {max-width:28rem;list-style:none;padding:0;margin:0}
.title-guide li {display:flex;justify-content:space-between;gap:.5rem;padding:.25rem 0;border-bottom:1px solid var(--line)}
.live-title {display:block;color:#ffe1a4;margin-top:.18rem;font-size:.85rem}
.title-award {display:flex;align-items:center;gap:.75rem;margin:.65rem 0;--medal:#e1b993;--enamel:#52443e}
.title-award[data-level="2"] {--medal:#d3dff0;--enamel:#384956}
.title-award[data-level="3"] {--medal:#a6efce;--enamel:#265648}
.title-award[data-level="4"] {--medal:#e0c2ff;--enamel:#4f3664}
.title-award[data-level="5"] {--medal:#ffe2a0;--enamel:#72512e}
.title-seal {flex:none;position:relative;display:grid;place-items:center;isolation:isolate;background:var(--medal);color:var(--medal);width:3.1rem;height:3.5rem;font:800 1.5rem/1 Georgia,serif;clip-path:polygon(14% 0,86% 0,100% 14%,100% 67%,85% 84%,50% 100%,15% 84%,0 67%,0 14%)}
.title-seal::before {content:"";position:absolute;inset:3px;clip-path:inherit;background:var(--enamel);z-index:-1}
.challenge-verdict .title-award h2 {font-size:clamp(1.45rem,3vw,2.2rem);color:var(--medal);line-height:1.2}
.title-award small {color:#e5dbc6}.title-award p {font-size:.94rem}
.title-margin {display:flex;align-items:baseline;flex-wrap:wrap;gap:.3rem .55rem}.title-margin strong {font:750 1.65rem/1.1 var(--mono);color:var(--gold)}
.title-margin span {font-size:.9rem}.review-title {color:var(--gold);font-weight:750}
.standing-title {display:block;font-size:.82rem;color:#edcf92}
