@font-face{font-family:Barlow Port;src:url("./art/barlow-condensed-bold.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}
:root{--paper:#e5e8de;--ink:#173137;--port:#203e44;--oxide:#a83e25;--signal:#ffd09b;--press:"Barlow Port","Arial Narrow",sans-serif}
.top{background:#142c31;border-bottom:3px solid #a95238}
.brand-mark{background:#e6c188;color:var(--ink);clip-path:none;border-radius:50%;border:2px solid #f6dab1;outline:1px solid #293c3d;outline-offset:-5px}
.brand-mark img{display:block;max-width:73%;height:auto}
.brand div>span{font:700 14px/1 var(--press);color:#e9c79d}
.top .switch{padding:0;gap:0;border:0;border-bottom:1px solid #63797b;border-radius:0}
.top .switch button{border-radius:0;border-bottom:2px solid transparent}
.top .switch button[aria-pressed=true]{background:#27464a;border-color:#edba81;color:white}
.sector{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;column-gap:11px;background:#f1e4cc;color:var(--ink);border:0;border-bottom:4px solid #ad4b33;border-radius:0;padding:8px 12px 9px;box-shadow:2px 3px 0 #1a32385c}
.berth-number{grid-row:1/4;align-self:stretch;display:grid;place-items:center;border-right:1px solid #aeac97;padding-right:10px;font:700 3rem/.95 var(--press);color:#803e2b}
.sector-code,.sector .objective{color:#384b4b}
.sector h2{margin:2px 0;font-size:1.3rem}
.actor{border-radius:0;border-top:0;border-left:3px solid #a8dacf;background:#192e33f5}
.actor.enemy{border-color:#e69873}
.actor small,.brief-stats b{font-family:var(--press),sans-serif}
.operations{background:#172d32;color:#ecf1e8;border-top:2px solid #8ca19b}
.console .section-head h2{font-size:1.12rem}
.console .section-head h2 .icon{color:#f4bd84}
.command{position:relative;background:#233e43;color:#f6f2e5;border:0;border-left:5px solid #ce8358;padding:12px 15px 9px}
.command .question-head{color:#d2ded9}
#question.dispatch,#question.english{font-family:var(--press),"Microsoft YaHei",sans-serif;font-weight:700;font-size:2.08rem;line-height:1.13}
#question mark{color:#ffd298;border-color:#c88557}
.command .choices{gap:0;background:var(--paper);color:var(--ink);border:1px solid #b1b8ab}
.command .choice{border:0;border-radius:0;border-bottom:1px dashed #a7b1a6;text-align:start;background:transparent;color:var(--ink);padding:7px 10px}
.command .choice+.choice{border-left:1px solid #b6bdb1}
.command .choice:hover,.command .choice:focus-visible{color:#102d32;background:#f9efd9}
.command .choice:focus-visible{outline:3px solid #a44429;outline-offset:-3px}
.command .choice .key{display:grid;place-items:center;flex:0 0 22px;height:25px;font:700 17px/1 var(--press);color:#86452e;border:1px solid #aa9e85}
.targets .choice strong{color:var(--ink)}.targets .choice small{color:#3a5351}
.quartermaster{background:none;color:#efd3aa;border-left:0;padding:4px 0;margin:4px 0 0}
.mission{border-color:#527074}
.mission .brief-stats{border-block:1px solid #577173}
.actions .action-step{color:#bdc9c5}
.actions .action-step[data-state=current]{color:#ffd09b}
.command .bad{color:#ffd0bb}
.command .good{color:#bee5cf}
.command .command-foot{color:#d5dcd6}
#handoff{border-top:0;border-left:7px solid #98c7bc}
#handoff[data-side=p1]{border-left-color:#dfa578}
@media(min-width:901px){
  .command[data-phase=quiz],.command[data-phase=target]{display:grid;grid-template-columns:minmax(0,0.93fr) minmax(0,1.07fr);column-gap:22px;align-content:start;min-height:157px}
  .command:is([data-phase=quiz],[data-phase=target]) .question-head{grid-column:1;grid-row:1}
  .command:is([data-phase=quiz],[data-phase=target]) #question{grid-column:1;grid-row:2;margin:8px 0 5px}
  .command:is([data-phase=quiz],[data-phase=target]) .quartermaster{grid-column:1;grid-row:3}
  .command:is([data-phase=quiz],[data-phase=target]) .choices{grid-column:2;grid-row:1/5;align-self:start;grid-template-columns:repeat(2,minmax(0,1fr))}
  .command:is([data-phase=quiz],[data-phase=target]) .command-foot{grid-column:1;grid-row:4;min-height:0;margin:0}
  .command .choice{min-height:59px}
  .command .choice:nth-child(odd){border-left:0}
  .op-grid{grid-template-columns:minmax(0,1fr) minmax(215px,22%);gap:28px}
}
@media(max-width:680px){
  .brand div>span{font-size:12px}
  .command{padding:7px 8px;border-left-width:3px}
  .command .choice{padding:5px;gap:6px}
  .command .choice:nth-child(odd){border-left:0}
  .command .choice .key{flex-basis:17px;height:21px;font-size:14px}
  #question.dispatch,#question.english{font-size:1.43rem}
  .sector{column-gap:5px;padding:3px 5px;border-bottom-width:2px}
  .sector h2{font-size:14px}
  .berth-number{font-size:1.65rem;padding-right:4px}
}
