/* Nightfall's graphite menu slabs and Silverfrost's teal geometry, one field terminal. */
/* Selected and inspected options use dark ink on the frosted paper surface. */
.wheel-readout .readout-name,.wheel-readout.revealed .readout-name{color:#173641}.wheel-readout .readout-label{color:#3d6774}.wheel-catalog>summary i{color:#335966}
.wheel-options li:is(.picked,.inspected)>button{background:#d6e9ec;color:#193d47}.wheel-options li:is(.picked,.inspected)>button b{color:#193d47;font-weight:650}.wheel-options li:is(.picked,.inspected)>button small,.wheel-options li:is(.picked,.inspected)>button em{color:#385f6d}.wheel-options li:is(.picked,.inspected)>button:hover:not(:disabled){background:#c5dfe3;color:#193d47}.wheel-options li:is(.picked,.inspected)>button:focus-visible{outline:2px solid #245769;outline-offset:-3px}
.chronicle-summary .chronicle-metric small{color:#42636d}.chronicle-growth article strong{color:#193e4d}.chronicle-letter .section-number{border-color:#648695;color:#31576a}
.compact-unit.player .unit-hp,.compact-unit.player .unit-title small{color:#2d5663}.compact-unit.player .unit-resource strong small{color:#3b6570}
@media(max-width:760px){.skills-pane .live-resources{margin-bottom:4px}.skills-pane .live-resources>div{padding:2px 5px;font-size:11px}.skills-pane .live-resources strong{font-size:18px}.skills-pane .skill-descriptions article{padding:1px 2px;grid-template-rows:auto auto minmax(18px,1fr)}.skills-pane .skill-descriptions article.highlight{padding-left:5px}.skills-pane .skill-descriptions strong{font-size:12px;line-height:1.25}.skills-pane .skill-descriptions small{font-size:10px;line-height:1.2;white-space:nowrap}.skills-pane .skill-descriptions article p{font-size:12px;line-height:1.4;margin:0;color:#d3e4eb}.battle-file .file-values>span{font-size:11px}.battle-file .file-values b{font-size:13px}}
.action-buttons button:nth-child(2)::before,.action-buttons button:nth-child(3)::before,.action-buttons button:nth-child(4)::before{content:none}
:root{--bg:#11171d;--panel:#202930;--panel2:#2b373e;--line:#52626b;--ink:#f0f5f5;--muted:#bdcbcf;--cyan:#72d7dc;--gold:#e2c889;--red:#ff8e9c;--frost:#e5ecee;--frost-ink:#172b32;--radius:0px}
body{background:#11171d;color:var(--ink);background-image:none;font-size:16px}
body:not([data-view=home])::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,#0e161ced,#16212dd9 58%,#13212de0),url('assets/prts/themes/silverfrost.png') center/cover no-repeat}
button,input,select{border-radius:0}button.primary{background:#6fd5da;border-color:#6fd5da;color:#102d34;box-shadow:none}button.primary:hover:not(:disabled){background:#a8ecec}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid #91eced;outline-offset:3px}.topbar{background:#1a2329;border-bottom:1px solid #788c95}.top-actions button.nav-active{background:#dce8e9;color:#183139;border-left:3px solid #68d4da}.terminal-strip{background:#0c1319;color:#c2d1d6}.brand span{color:#99b9c5}.footer{background:#182229}.shell{position:relative}
.field-heading{display:flex;align-items:center;gap:19px;min-width:0}.field-heading-mark{display:block;flex:none;width:32px;height:32px;object-fit:contain}.pagehead{border-bottom:1px solid #8fa5ac;position:relative;padding-bottom:20px}.pagehead::after{content:"";position:absolute;left:0;bottom:-2px;width:105px;height:3px;background:#e5eef0}.pagehead h1{font-size:32px;letter-spacing:.045em}.pagehead .eyebrow{color:#7fd6df;font-size:12px}.pagehead p{color:#c1d1d7;max-width:75ch}.pagehead>.row button{min-height:46px}.panel{background:#202a31;border:1px solid #657880;border-top:1px solid #a1b5bb;padding:24px}.panel::after{width:10px;height:10px;border-color:#c8e9ea;right:7px;top:7px}.panel h2,.panel h3{letter-spacing:.025em}.panel h3{font-size:18px}.sectiontitle{border-bottom:1px solid #4d6771;padding-bottom:12px}.sectiontitle h3::before{content:"";display:inline-block;width:5px;height:16px;background:#7dcfd5;vertical-align:-2px;margin-right:10px}.muted{color:#b9cbd1}.bar{background:#0b171d}.bar i{background:#75d1bf}.bar.energy i{background:#81c9e5;box-shadow:none}.tag{background:#293f48;border-color:#6a8d99;color:#d3e7eb}.tag.gold{background:#3c3528;color:#ffe1a4;border-color:#9d895b}.tag.red{background:#422832;color:#ffacb6;border-color:#b1747e}.notice{background:#2b3b43;color:#e0edf0;border-left-color:#7ce2e7}
/* The entry screen keeps its flow; its establishing image moves from daytime to night. */
body[data-view=home] .start-title{background:linear-gradient(0deg,#0e1821f5 0%,#13202aa8 50%,#10203124 100%),url('assets/prts/themes/nightfall.png') center top/cover}.hero-start{border-color:#637b87}.hero-start>.panel{background:#212d34;border-color:#647f8b}.start-line{background:#77d5db}.home-insignia span{color:#c2dbe4}.start-title p{color:#e2ebef}.start-title h1{letter-spacing:.03em}.startfoot article{border-color:#526974}
/* Silver-edged dial, graphite choices. The rotor and probabilities remain functional. */
.origin-stage{border-color:#7697a2}.origin-stage>strong{color:#e5f1f3;font-size:27px}.progress-steps span{background:#445d68}.progress-steps span.done{background:#98e3e5}.wheel-viewport{position:relative;background:radial-gradient(ellipse at center,#9fd8e516,transparent 70%)}.wheel-assembly{filter:none}.wheel-rim{filter:drop-shadow(0 12px 8px #030a0e66)}.wheel-hub{background:linear-gradient(160deg,#e9f0f1,#b2c5ce);border:1px solid #f0f7f8;box-shadow:0 0 0 5px #263b46,0 0 0 6px #9aafb8}.wheel-hub span,.wheel-hub small{color:#2a5661;font-size:12px}.wheel-hub strong{color:#173d47;font-weight:700}.wheel-pin i{background:#e2f4f6;filter:drop-shadow(0 0 4px #92eff0)}.wheel-light{opacity:.3}.wheel-sector text{fill:#f5f9fa;text-shadow:none}.wheel-sector.selected path{stroke:#e9ffff;stroke-width:3;filter:none}.wheel-tools{border-bottom:1px solid #647e87;padding-bottom:10px;color:#d5e5e9}.wheel-tools>span b{color:#95e3e8}.wheel-tools button{border-color:#66828d;color:#d4e6ec;background:#253d48;min-height:32px}.wheel-tools button[aria-pressed=true]{background:#e4eef0;color:#183640;border-color:#eef9fa}.wheel-readout,.wheel-readout.revealed{background:#e2ebed;border:1px solid #bfd2d7;border-left:5px solid #43aebc;color:#16323a}.readout-label{color:#3d6774}.readout-name{color:#132e37;font-size:18px;font-weight:700}.wheel-readout .restore-result{background:#d2e2e6;color:#1f5261;border-color:#6c8b96}.spin-progress{background:#182831}.spin-progress i{background:#91dce0}.wheel-catalog{border-color:#7c99a4;background:#18262e}.wheel-catalog summary{background:#dbe7ea;color:#213f49;border-bottom:2px solid #6fc8d2}.wheel-catalog summary span{color:#335966}.catalog-body{background:#18262e}.wheel-search{background:#10202a;color:#f0f5f5;border-color:#6f8995}.wheel-options li>button{background:#25353f;border:0;border-bottom:1px solid #486572;color:#e7f0f3;padding-block:13px}.wheel-options li.picked>button,.wheel-options li.inspected>button{background:#d6e9ec;color:#16313c;border-left:4px solid #50bdc9}.wheel-options li.picked small,.wheel-options li.picked em,.wheel-options li.inspected small,.wheel-options li.inspected em{color:#385f6d}.wheel-options b{font-size:14px}.wheel-options em{font-size:13px;color:#bed2d9}.wheel-caption{border-color:#8aa3ad}.wheel-caption p,.wheel-note{color:#c5d7dd}.wheel-caption .primary{width:100%;min-height:48px;letter-spacing:.06em}.daily-wheel .wheel-presentation{max-width:430px}
/* Registered field file: pale data cells sit on a dark expedition spine. */
.sidepanel{background:#182730;border-top:4px solid #93dadd}.dossier-insignia{padding-bottom:15px;border-bottom:1px solid #74939e}.dossier-insignia span{color:#b3d0d8}.sidepanel h2{font-size:25px}.archive-combat-values{gap:2px;background:#6b818a;border:1px solid #859aa3}.archive-combat-values>span{padding:12px;background:#dce7ea;color:#325260;font-size:13px;border:0}.archive-combat-values b{color:#142f3b;font-size:21px}.archive-combat-values .stat-tier{color:#316372;font-size:12px}.sidepanel .resource-rule{background:#263e49;color:#bceef1;border-color:#82d9df}.statblock .row{font-size:14px}.statblock small{font-size:12px;color:#b7d0d8}.auto-progression>div{background:#273942;border-left-color:#728c97}.auto-progression .unlocked{border-left-color:#87d8d9}.auto-progression .unlocked b{color:#b5f5ed}.journal strong{color:#e8f4f7}.journal>div{padding-block:16px;border-color:#4d7381}.journal p{color:#bfd1d8;font-size:14px}
/* Tactical scene: enemy dossiers above, allied telemetry below, a command rail at the foot. */
.in-combat{background:#111d25}.in-combat .topbar{background:#14232c}.mission-strip{position:relative;background:linear-gradient(100deg,#1c303d,#283b43);border:1px solid #7b98a4;border-left:4px solid #cde4ea}.mission-strip .eyebrow{color:#aad8e3}.mission-strip .mission-goal{color:#e2d6ae}.mission-strip h2{letter-spacing:.04em}.battle-tools button{background:#dce8ea;color:#173a47;border-color:#a1bac2}.array{background:#15242d;border:1px solid #607d8b}.array-heading{background:#e1eaec;color:#294a57;border-color:#9db5bf;font-weight:700;letter-spacing:.06em}.array-heading small{color:#496674}.array:first-child{border-color:#a66c79}.array:first-child .array-heading{background:#422b36;color:#f0b3bf;border-color:#9b6c78}.array:first-child .array-heading small{color:#d3a3b1}.compact-unit{background:#263c48;border:1px solid #62838f;border-left:3px solid #77ced8;border-top:1px solid #7aa0af}.compact-unit.enemy{background:#302b37;border-color:#836879;border-left-color:#d08495}.compact-unit.player{background:#dbebed;color:#16303e;border:1px solid #e2f6f9;border-left:4px solid #4fb7c7;box-shadow:none}.compact-unit.player h3,.compact-unit.player .unit-title,.compact-unit.player .unit-data,.compact-unit.player .tiny,.compact-unit.player .intent,.compact-unit.player .unit-grade{color:#234652}.compact-unit.player .faction-mark,.compact-unit.player .role-emblem{filter:brightness(.28)}.compact-unit .unit-grade{font-size:12px}.compact-unit .intent{border-top-color:#678691}.compact-unit.player .bar{background:#b5cfd5}.compact-unit.player .bar i{background:#258c85}.compact-unit.player .bar.energy i{background:#267ab0}.compact-unit.player .unit-resource{color:#1c4e5d;border-color:#94b8c3}.compact-unit.player .unit-resource strong{color:#165b65}.compact-unit.player .resource-pips i{background:#b0cbd3}.compact-unit.player .resource-pips i.filled{background:#3b9aac}.compact-unit.selected{outline:2px solid #b0f2f3;outline-offset:-2px}.statusrow span{font-size:12px}.compact-unit.player .statusrow span{background:#d1e1e4;color:#244c58;border-color:#7199a6}
.info-panels>section{background:#21323d;border:1px solid #647c88}.skills-pane>h3,.log-pane>h3{background:#dce6e9;color:#173541;padding:7px 9px;margin:-8px -8px 10px;font-size:14px;line-height:1.3;border-bottom:2px solid #78becd}.skill-descriptions article{border-bottom:1px solid #547280;padding:9px 4px}.skill-descriptions article.highlight{background:#2f4b56;border-left:3px solid #92dce1;padding-left:9px}.skill-descriptions strong{color:#dcf3f7;font-size:14px}.skill-descriptions small{color:#e1c88c;font-size:12px}.skill-descriptions p{color:#cadbe2;font-size:14px;line-height:1.65}.skill-descriptions>p{font-size:13px;color:#b8cdd5}.live-resources{background:#132732;border-color:#7098a7}.live-resources strong{color:#a3e8e9}.battle-file{background:#dbe5e8!important;color:#173743!important}.battle-file h3,.battle-file>strong{color:#203f4b!important}.battle-file p,.battle-file .file-values,.battle-file .stat-tier{color:#365b68!important}.battle-file .file-values b{color:#143645}.battle-file h3 button{color:#315b69;border-color:#8bb0bb;background:transparent}.battle-file .unit-resource{color:#264d59;border-color:#91acb7}.battle-file .unit-resource strong{color:#226678}.battle-log p{color:#d0dee4;font-size:13px}.battle-log .good{color:#a0dcca}.battle-log .bad{color:#f3b5c1}.battle-log span{color:#9bbbc9}
.command-pane{background:#dce7ea;border:1px solid #9ab7c0;border-top:3px solid #79bdcb;color:#17333e}.command-heading{color:#274a57;border-bottom:1px solid #9bb8c3}.command-heading span{color:#446a79}.battle-subtitles{background:#c9dade;color:#214c5d;border-color:#93afbb}.battle-subtitles>span{color:#557a86}.action-buttons button{background:#253c49;color:#edf7f9;border-color:#4c6c7c;text-align:left;position:relative;display:grid;grid-template-columns:28px minmax(0,1fr);column-gap:7px;align-items:center;padding:10px 12px}.action-buttons button .action-seal{font:700 24px/1 Consolas,monospace;color:#a7e5eb;grid-row:1/3}.action-buttons button .action-name{font-size:14px;line-height:1.4}.action-buttons button small{color:#add1de;font-size:12px;grid-column:2}.action-buttons button:not(:has(.action-seal)){display:block;text-align:center}.action-buttons button.selected{background:#2e6979;border-color:#72dbe0}.action-buttons button:hover:not(:disabled){background:#345a6b}.action-buttons button:disabled{opacity:.5;filter:none}.aux-controls{border-top:1px solid #a2bcc5;color:#345969}.aux-controls label{color:#345969}.aux-controls button,.aux-controls select{background:#ccdde1;color:#294e60;border-color:#89a8b6}.aux-controls input{accent-color:#338593}.unit-resource .resource-pips i.filled{background:#7ed5dc}
/* Post-operation growth is a silver telemetry sheet; gains are dark teal, not neon. */
.growth-screen{position:relative}.growth-hero{border-bottom:1px solid #8ba4b0;padding-bottom:17px}.growth-hero .eyebrow{color:#9fdde3}.growth-total strong{color:#b6e8eb}.growth-total{border-color:#8ddae3}.growth-rating,.growth-mastery{background:#273e4b;border-color:#7a9cab}.growth-stat{background:#e0e9ec;border-color:#adbdc5;border-top:4px solid #82c1cc;color:#213e49}.growth-stat>span,.growth-stat small,.growth-stat .stat-tier{color:#3b5e6b}.growth-stat>strong{color:#16343e;font-size:30px}.growth-stat b{color:#257176}.growth-track{background:#becfd6}.growth-track i{background:#7395a6}.growth-track em{background:#3b8f9d}.growth-unlock{background:#dce9e2;color:#235950;border-color:#78aaa0}.growth-milestones .reached{color:#b3e7e8}.training-summary{background:#243e49;color:#d9edf2;border-color:#77a7b4}.training-summary span{color:#c0dce2}.training-formula{color:#c0d8e1}.growth-actions p{color:#c3d6dc}
.codex-card,.route-card,.skill{background:#233641;border:1px solid #6d8691;border-top:3px solid #95bac7}.codex-card:hover{background:#2e4b58;border-color:#a5e7e8}.codex-card h3,.skill h3{color:#dcebf0}.codex-card p,.skill p{color:#c4d6de;font-size:15px}.route-card.current{background:#d4e5e8;color:#153842;border-color:#95dcdf}.route-card.current h3,.route-card.current small,.route-card.current p,.route-card.current .route-number{color:#315a66}.route-number{color:#91d0db}.skill-meta{color:#e5ce9f;border-color:#648692}.result-banner{background:#2b4654;border-left-color:#b1e1e8}.result-cells>div{background:#e0e9ec;color:#294c5e}.result-cells strong{color:#245f75}.result-cells small{color:#4c6977}
/* A complete chronicle: light letter, dark operation records, the same teal field seals. */
.chronicle-cover{background:linear-gradient(90deg,#213642f0,#314751c9),url('assets/prts/themes/silverfrost.png') center 58%/cover;border-color:#9eb6c2;border-left-color:#acdfe5}.cover-index{color:#9dbec98a}.chronicle-heading{border-color:#98b4c0}.chronicle-letter{background:#e2ebed;border-color:#aec0c7;border-top:4px solid #7cbaca;color:#233e49}.chronicle-letter h3,.chronicle-letter header small,.chronicle-letter>p,.letter-signature{color:#2b4f5c}.chronicle-letter .eyebrow{color:#3b6c7d}.chronicle-section{background:#233541;border-color:#73909f}.chronicle-section>header{border-color:#7191a2}.chronicle-modes{background:#223f4b;border-color:#7396a6}.chronicle-growth article{background:#dce8eb;color:#173946;border-color:#9bb8c5}.chronicle-growth article>span,.chronicle-growth article p,.chronicle-growth article small{color:#3b6170}.chronicle-growth article>b{color:#236878}.chronicle-growth article i{color:#296e7d}.chronicle-imprints article{background:#28414d;border-color:#7fa9b9}.chronicle-imprints article>span{color:#b5e4e8;border-color:#82a9b6}.chronicle-imprints h4{color:#deedf1}.boss-record{background:#29404b;border-color:#6d91a0}.chronicle-summary .chronicle-metric{background:#dce6e9;color:#1b3b4b}.chronicle-summary .chronicle-metric strong{color:#265468}.chronicle-summary .chronicle-metric span{color:#476e7a}dialog{background:#24353f;border-color:#a4bbc6}.modal-head{border-color:#8ba8b5}
@media(max-width:1100px) and (min-width:761px){.action-buttons button{padding:8px;grid-template-columns:23px minmax(0,1fr);column-gap:5px}.action-buttons button .action-seal{font-size:21px}.action-buttons button .action-name{font-size:13px}.skill-descriptions p{font-size:13px}}
@media(max-width:760px){.field-heading{gap:12px}.field-heading-mark{width:21px;height:40px}.pagehead h1{font-size:25px}.pagehead{padding-bottom:14px}.pagehead>.row{width:100%}.pagehead>.row button{flex:1}.panel{padding:17px}.panel h3{font-size:17px}.readout-name{font-size:16px}.wheel-hub span,.wheel-hub small{font-size:11px}.wheel-hub strong{font-size:35px}.wheel-tools button{min-height:38px;font-size:12px}.wheel-caption p{font-size:14px}.archive-combat-values>span{font-size:13px}.archive-combat-values b{font-size:20px}.growth-stat>strong{font-size:24px}.growth-stat b{font-size:13px}.in-combat main.shell{padding:5px 7px}.in-combat .mission-strip{padding:7px 10px}.in-combat .mission-strip h2{font-size:16px}.compact-unit{padding:9px;border-left-width:2px}.compact-unit .unit-grade{font-size:11px}.compact-unit.player{border-left-width:3px}.array-heading{padding:6px 9px}.skills-pane>h3,.log-pane>h3{padding:5px 7px;margin:-7px -7px 7px;font-size:12px}.skill-descriptions article{padding:5px 2px}.skill-descriptions strong{font-size:12px}.skill-descriptions p{font-size:12px;line-height:1.55}.skill-descriptions small{font-size:11px}.battle-log p{font-size:12px;line-height:1.55}.command-heading{font-size:12px}.action-buttons button{padding:7px 5px;grid-template-columns:20px minmax(0,1fr);column-gap:3px}.action-buttons button .action-seal{font-size:18px}.action-buttons button .action-name{font-size:12px}.action-buttons button small{font-size:11px}.aux-controls label,.aux-controls button{font-size:11px}.action-buttons{gap:5px}.growth-hero h1{font-size:24px}.chronicle-letter>p{font-size:15px}}
@media(prefers-reduced-motion:no-preference){.pagehead .field-heading-mark{animation:field-register .5s ease-out both}.wheel-readout.revealed{animation:frost-reveal .4s ease-out both}.growth-stat{animation:field-register .35s ease-out both}@keyframes field-register{from{opacity:.2;transform:translateY(6px)}to{opacity:1;transform:none}}@keyframes frost-reveal{from{border-left-width:12px;background:#f4ffff}to{border-left-width:5px;background:#e2ebed}}}
@media(max-width:760px){.action-buttons{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.action-buttons button{min-height:46px;white-space:normal}.in-combat .combat-center{grid-template-rows:minmax(100px,.72fr) minmax(220px,1.28fr)}.in-combat .info-panels{grid-template-rows:minmax(168px,1fr) minmax(52px,.3fr)}.command-pane{max-height:245px;overflow:auto}.battle-subtitles:not(.active){height:18px;min-height:18px;padding-block:2px}.compact-unit .unit-title strong{max-width:62%}}
