/* Ink, paper, and a few useful colors. */
:root{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:#e6e0cf;background:#242729}
body{background:#242729;transition:none}
header{align-items:center;border-bottom:1px solid #ffffff14;padding-bottom:16px}
header:after{content:none}h1{font:700 36px system-ui,sans-serif;letter-spacing:-2px;text-shadow:none}h1 em{color:#d9c593}header p{color:#b7b9ac;font-size:13px;margin-top:8px}
.card{background:#303537;border:1px solid #ffffff16;border-radius:18px;box-shadow:0 8px 24px #00000020}
.game{border-color:#ffffff1c}.panel h2,.modal h2,.lab-header h2,.feature-head h2,.expansion-head h2{font-family:system-ui,sans-serif;letter-spacing:-1px;font-weight:700}
button,.btn,.preset,.row select,.mode-grid button,.feature-settings,.lab-window button,.feature-window button,.expansion-window button{border-radius:10px;box-shadow:none;text-shadow:none;transition:background-color .16s,border-color .16s,box-shadow .16s}
.btn{background:#dac697;color:#292a28;border:1px solid #dac697}.btn.dark{background:#444b4b;color:#ebe6d7;border:1px solid #ffffff18}.btn:hover{transform:none;filter:brightness(1.08)}
.meter{height:10px;border-radius:8px;background:#202526;border:0}.meter i{background:#a9bc8d;box-shadow:none}.meter.mana i{background:#b2a0c7}.wave{background:#414b4b;border:1px solid #ffffff12;border-radius:10px;color:#e9dfc3}
canvas{border-radius:12px;border:1px solid #ffffff14;box-shadow:none}.stage:after{display:none}
.modal,.lab-window,.feature-window,.expansion-window,.journal-window{background:#303537;border:1px solid #ffffff24;border-radius:20px;box-shadow:0 16px 48px #00000050;backdrop-filter:none}
.muted,.help,.bottom,.modal p{color:#c1c4b8}.panel{padding:16px}.panel h2{font-size:20px}.stat b,.row label{letter-spacing:0;text-transform:none}
.lab-header,.lab-categories,.lab-palette,.lab-workspace,.journal-detail,.feature-readout,.route-readout{background:#2b3032;background-image:none;border-radius:10px}
.lab-category,.palette-block,.script-block,.script-hat{border-radius:8px;box-shadow:none;text-shadow:none}.lab-category{letter-spacing:0}.palette-block{border:1px solid #ffffff22}
.expansion-card:after{display:none}.route-grid button,.mutation-choice button{background:#3b4344;border:1px solid #ffffff18;border-radius:10px;box-shadow:none}.route-grid button:hover,.mutation-choice button:hover{transform:none}.route-grid strong,.mutation-choice strong{font:700 20px system-ui,sans-serif}.mastery-badge{text-shadow:none}
button:focus-visible,select:focus-visible{outline:2px solid #f1db9e;outline-offset:3px}
@media(max-width:620px){h1{font-size:28px}header p{font-size:12px}}

.meter i{transition:width .15s ease-out}.modal{padding:28px}.modal p{line-height:1.6}.btn{padding:10px 16px}.panel{padding:20px}.lab-window,.feature-window,.expansion-window,.journal-window{overflow:hidden}.feature-readout,.route-readout{border-color:#ffffff18}.btn.dark:hover{background:#525b59}.mode-grid button:hover,.route-grid button:hover,.mutation-choice button:hover{border-color:#dac69780}
@media(prefers-reduced-motion:reduce){button,.meter i{transition:none}}
