.op-home {display:flex;align-items:center;gap:24px;padding-block:15px;border-bottom:1px solid #334741}
.op-home small,.op-home h2{margin:0}.op-home small,.op-toolbar small,.op-honors p,.op-camp p,.op-career p,.op-rules{color:#b1beb6;font-size:12px;line-height:1.6}
.op-home h2{font-size:17px;color:#eef1e6}.op-home>button{margin-left:auto;padding:8px 14px}
.op-home #op-home-progress{flex:0 1 310px}.op-level{display:flex;align-items:center;gap:10px;min-width:0;font-variant-numeric:tabular-nums}
.op-level b{white-space:nowrap;color:#bcead1}.op-level>span{display:block;height:5px;background:#34453f;min-width:34px;flex:1}.op-level i{display:block;background:#acdab9;height:100%}.op-level small{white-space:nowrap;color:#c8d3ca;font-size:11px}
#dialog[data-view="operations"],#dialog[data-view="drill"]{width:min(940px,calc(100vw - 24px));background:#131d20;color:#edf0e8}
#dialog[data-view="drill"]{width:min(700px,calc(100vw - 24px))}
.op-roster,.op-toolbar,.op-camp-heading,.op-brief,.op-command,.op-bag,.op-options,.op-switch,.op-field-stats{display:flex;align-items:center;gap:9px}
.op-roster{border:1px solid #475b53;background:linear-gradient(108deg,#263832,#182223);padding:8px 12px;gap:13px}
.op-roster img{width:67px;height:57px;object-fit:cover;object-position:65% 28%}.op-roster small,.op-roster strong{display:block}.op-roster small{color:#b2c6b9;font-size:11px;margin-top:3px}
.op-roster label{margin-left:auto;color:#b2c6b9;font-size:11px}.op-roster select{display:block;color:#e8e8d8;background:#172022;border:1px solid #556c5c;font-size:13px;padding:4px}
.op-career{border:1px solid #354640;border-top:0;padding:8px 12px}.op-career summary{cursor:pointer}.op-career summary .op-level{display:inline-flex;width:calc(100% - 23px)}.op-career p{margin:7px 0}
.op-toolbar{justify-content:space-between;flex-wrap:wrap;margin:15px 0 9px}
.op-switch button,.op-options button,.op-command button,.op-back{padding:7px 12px;min-height:35px;font-size:13px}
.op-switch button[aria-pressed=true],.op-options button[aria-pressed=true]{background:#304d3e;border-color:#8ab99d;color:#d3f8dc}
.op-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.op-card{position:relative;isolation:isolate;overflow:hidden;min-height:223px;border:1px solid #4b5b55;background:#1b2725}
.op-card>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:61% 28%;z-index:-2}
.op-card:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#091414 1%,#0e1d19e8 25%,#13282284 57%,transparent 90%);z-index:-1}
.op-card>div{display:flex;flex-direction:column;justify-content:flex-end;min-height:223px;padding:12px}.op-kind{font-size:10px;color:#dedfcf;align-self:flex-start;text-shadow:0 1px 4px #112}
.op-stars{white-space:nowrap;color:#f5d597;letter-spacing:.14em;font-style:normal}.op-stars i{color:#a9b8aa;font-style:normal}
.op-card h3{font-size:clamp(18px,2vw,24px);margin:3px 0}.op-card p{margin:0 0 10px;color:#d5ded5;font-size:12px;min-height:33px}
.op-start{border:1px solid #a3c7ac;background:#294838ed;color:#e7f7e5;min-height:33px;font-weight:700}
.op-start:hover,.op-route:hover,.op-key:hover{border-color:#beebcc;background-color:#294138}
.op-camp,.op-honors{margin-top:16px}.op-honors h3,.op-camp h3,#dialog[data-view="drill"] h4{font-size:15px;margin:10px 0 4px}.op-camp-heading{justify-content:space-between}.op-camp-heading>b,.op-report>strong{color:#ebca8b;font-size:13px}
.op-camp>div:last-child,.op-honors>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.op-honors>div{grid-template-columns:repeat(4,minmax(0,1fr))}
.op-camp article,.op-honors>div>div{background:#1d2b29;border:1px solid #3c4b44;padding:8px 10px}.op-camp p,.op-honors p{margin:3px 0 8px}.op-camp article b,.op-honors span{font-size:13px}.op-camp article b small{color:#b3c7b6}.op-camp article button{padding:4px 8px;font-size:11px}.op-honors .op-stars{display:block}
.op-brief{border-bottom:1px solid #374a44;padding-bottom:8px;color:#acbcb1;font-size:12px;flex-wrap:wrap}.op-brief b{margin-left:auto;color:#dfccaa}.op-back{padding-left:0;color:#c8e7ce;min-height:26px}
.op-comms{position:relative;display:flex;align-items:center;gap:12px;min-height:67px;margin:10px 0;padding:6px 10px;background:#20332e;border-left:2px solid #9ccaac}
.op-comms>img{width:58px;height:50px;object-fit:cover}.op-comms p{display:grid;gap:3px;margin:0}.op-comms b{font-size:11px;color:#a8d8bb}.op-comms p span{font-size:13px;color:#f4f2e8}
.op-code{display:flex;justify-content:center;gap:10px;padding:13px 0}.op-code b{display:grid;place-items:center;font:700 36px var(--mono);width:65px;height:62px;color:#d5f5c6;border:1px solid #668479;background:linear-gradient(145deg,#30493f,#13211e)}
.op-keypad,.op-command{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin:10px 0}.op-key{min-width:44px;min-height:42px;border:1px solid #668075;background:#20302e;color:#eff3e6;font-size:18px}
#dialog[data-view="drill"] button:disabled,.op-camp button:disabled{opacity:.56}.op-log{list-style:none;padding:0;margin:9px 0 0}.op-log li{display:flex;gap:15px;align-items:center;padding:7px 10px;background:#192826;border-bottom:1px solid #3b4d45}.op-log li>span{margin-left:auto;color:#c9dacb;font-size:12px}
.op-deck{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.op-pair{position:relative;display:grid;place-content:center;min-height:67px;overflow:hidden;background:repeating-linear-gradient(135deg,#20312c 0 7px,#253a35 7px 8px);border:1px solid #63796c;color:#b9cebd}
.op-pair>b{font:600 19px var(--mono)}.op-pair img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover}.op-pair span{position:absolute;bottom:0;left:0;right:0;background:#0e1a18d9;color:white;font-size:11px}.op-pair[data-matched=true]{border-color:#9fd4aa}.op-deck .op-pair:disabled{opacity:1!important}
.op-bag,.op-field-stats{justify-content:space-between;background:#21312c;border:1px solid #425b4e;padding:10px 12px;font-size:13px}.op-bag strong,.op-field-stats b{color:#e7cd91}
.op-lots,.op-routes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:9px 0}.op-lot{display:flex;align-items:center;gap:8px;background:#1c292a;border:1px solid #52635d;text-align:left;min-height:54px;padding:4px}.op-lot img{width:47px;height:42px;object-fit:cover}.op-lot small,.op-lot b{display:block;font-size:12px}.op-lot i{margin-left:auto;margin-right:5px;font-style:normal}.op-lot[aria-pressed=true]{border-color:#a7d6b4;background:#314a3b}
.op-report{text-align:center;border:1px solid #536959;padding:22px 14px;background:radial-gradient(ellipse at top,#324a3b,#182326 80%)}.op-report>.op-stars{font-size:30px}.op-report h3{margin:6px 0;font-size:25px}.op-report p{color:#dae6d8;font-size:14px}.op-report .op-level{margin:12px auto;max-width:360px}.op-report>small{color:#b9ccbb}
.op-field-hero{position:relative;isolation:isolate;overflow:hidden;min-height:127px;padding:16px;background:#24322e}.op-field-hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:65% 35%;z-index:-2}.op-field-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#121e20ee 5%,#152422ab 44%,transparent);z-index:-1}.op-field-hero h3{font-size:26px;margin:3px 0}.op-field-hero p,.op-field-hero small{font-size:12px;margin:0}.op-options{flex-wrap:wrap}.op-options button{font-size:12px}
.op-waypoints{display:flex;gap:4px;margin:12px 0}.op-waypoints i{height:4px;flex:1;background:#34443e}.op-waypoints .past{background:#82b69b}.op-waypoints .now{background:#e0c18a}
.op-route{text-align:left;display:grid;gap:6px;padding:12px;background:linear-gradient(130deg,#283a32,#192627);border:1px solid #66836e}.op-route small,.op-route span{color:#c0d1c2;font-size:11px}.op-route b{font-size:17px}
.op-sticker{display:block;flex:none;width:72px;height:72px;background-size:200% 200%;background-repeat:no-repeat}
.operator-reaction {
  position: fixed;
  inset: max(12px, env(safe-area-inset-top)) auto auto 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 100;
  box-sizing: border-box;
  width: max-content;
  min-width: min(305px, calc(100vw - 24px));
  max-width: min(440px, calc(100vw - 24px));
  margin: 0;
  padding: 3px 20px 3px 8px;
  pointer-events: none;
  color: #f7faf1;
  background: linear-gradient(110deg, #334e40, #192c28 80%);
  border: 1px solid #a8ccb3;
  border-left-width: 4px;
  box-shadow: 0 6px 25px #04110dcc;
}
.operator-reaction::backdrop { pointer-events: none; background: transparent; }
.operator-reaction .op-sticker { width: 82px; height: 82px; }
.operator-reaction > div { display: grid; gap: 3px; min-width: 0; }
.operator-reaction b { color: #bce2ca; font-size: 13px; }
.operator-reaction div span { color: #fffdf4; font-size: 16px; line-height: 1.45; font-weight: 650; }
.operator-reaction[data-mood="victory"] { border-color: #e8c57c; background: linear-gradient(110deg,#4c4931,#26352a 75%); }
@media (max-width:520px), (max-height:450px) {
  .operator-reaction { gap: 7px; padding: 2px 12px 2px 4px; }
  .operator-reaction .op-sticker { width: 59px; height: 59px; }
  .operator-reaction div span { font-size: 14px; }
}
@media (prefers-reduced-motion:no-preference) {
  .operator-reaction { animation: reaction-arrive .22s ease-out both; }
  @keyframes reaction-arrive {
    from { opacity: 0; transform: translate(-50%,-9px); }
    to { opacity: 1; transform: translate(-50%,0); }
  }
}
.op-promotion{margin:10px auto;padding:8px 14px;border:1px solid #a89365;background:#313327;color:#ffe3a0;font-weight:bold}
.op-week{border:1px solid #53604b;border-left:3px solid #c5ac77;padding:12px 14px;margin-top:14px;background:linear-gradient(105deg,#30372b,#1b2926)}.op-week small,.op-week details{color:#d5c9a8;font-size:11px}.op-week h3{margin:2px 0;color:#f4e5bf;font-size:18px}.op-week p{margin:5px 0 8px;color:#c8d1c8;font-size:12px}.op-week-tasks,.op-week details div{display:flex;gap:6px;flex-wrap:wrap}.op-week-tasks span,.op-week details span{border:1px solid #566454;padding:4px 7px;font-size:12px}.op-week b{color:#e8cb8e}.op-week details{margin-top:7px}.op-week summary{cursor:pointer}.op-week details div{margin-top:5px}
.op-reaction-setting input{justify-self:start;width:20px;accent-color:#a7d7b3}#op-callsign{color:#d0ba86}
@media(max-width:760px){.op-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.op-card,.op-card>div{min-height:165px}.op-card p{min-height:0}.op-home{gap:10px}.op-home h2{font-size:14px}.op-home>button{white-space:nowrap}.op-brief{gap:5px}.op-honors>div{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.op-home{display:grid;grid-template-columns:1fr auto;padding-block:10px}.op-home>button{grid-column:2;grid-row:1/3}.op-home #op-home-progress{grid-column:1}.op-home .op-level{max-width:225px}.op-card>div{padding:9px}.op-card,.op-card>div{min-height:148px}.op-roster{gap:7px;padding:6px}.op-roster img{width:46px;height:44px}.op-roster strong{font-size:13px}.op-camp article{padding:6px}.op-options button{padding:5px}.op-route{padding:8px}.op-pair{min-height:57px}.op-camp article button{padding:5px}.op-lot img{width:33px;height:33px}.op-brief b{font-size:11px}.op-honors p{font-size:11px}.main-nav{gap:0}.main-nav .nav-item{padding-inline:5px}.main-nav #nav-history span{display:none}.main-nav #nav-history .history-mobile{display:inline-flex}}
