/* HEDGEROW - a wargames table at night: olive drab, card stock, brass. */
:root {
  --bg: #1b1e17; --bg2: #252a20; --bg3: #313829; --edge: #4b5540; --ink: #e9e3cf; --dim: #a9a58f; --faint: #7d7b69;
  --brass: #d9b64a; --brass2: #a8862c; --red: #c8503e; --good: #9fbf6a;
  --paper: #ece4cc; --paper2: #ddd2b3; --paperink: #231e14;
  --s0: #d9b64a; --s1: #c8503e;
  --head: "Oswald", "Bahnschrift", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: "Georgia", "Iowan Old Style", "Times New Roman", serif;
  --safe-t: env(safe-area-inset-top, 0px); --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px); --safe-r: env(safe-area-inset-right, 0px);
  color-scheme: dark;
}
[hidden] { display: none !important; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--ink); font: 15px/1.45 var(--body); overflow: hidden; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, .btn, .pts, .hud, .card .c-name { font-family: var(--head); letter-spacing: 0.02em; }
h2 { margin: 0; font-size: 20px; font-weight: 600; }
h3 { margin: 22px 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--brass); font-weight: 600; }
p { margin: 6px 0; }
.note { color: var(--dim); font-size: 14px; }
.warn { color: #f09a7f; font-size: 13px; min-height: 1.2em; }
.row { display: flex; gap: 8px; align-items: center; }
.row.wrap { flex-wrap: wrap; }
.grow { flex: 1; }

/* ------------------------------------------------------------ buttons */
.btn {
  appearance: none; border: 1px solid var(--edge); background: linear-gradient(#384030, #2b3124); color: var(--ink);
  font-size: 15px; font-weight: 500; padding: 9px 14px; border-radius: 4px; cursor: pointer; min-height: 40px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 1px 2px rgba(0,0,0,0.4); text-transform: uppercase; letter-spacing: 0.06em;
}
.btn:hover { border-color: #6a7658; background: linear-gradient(#414a37, #30372a); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.4; cursor: default; }
.btn.primary { background: linear-gradient(#d9b64a, #a8862c); color: #1d1708; border-color: #e8cd74; font-weight: 700; }
.btn.primary:hover { background: linear-gradient(#e6c55c, #b48f31); }
.btn.big { font-size: 17px; padding: 12px 22px; min-height: 48px; }
.btn.icon { min-width: 40px; padding: 6px 10px; font-size: 18px; text-transform: none; }
.btn.on { background: linear-gradient(#5a6644, #454f34); border-color: var(--brass); color: #fff6d6; }
.btn.danger { border-color: #7a3a2e; }
/* an audio toggle that is off: struck through, the way a silenced gun is marked */
.btn.icon.off { opacity: 0.45; position: relative; }
.btn.icon.off::after { content: ""; position: absolute; left: 14%; right: 14%; top: 50%;
  height: 2px; background: #c9542f; transform: rotate(-24deg); border-radius: 2px; }

.padfocus { outline: 3px solid #ffe27a !important; outline-offset: 2px; }
.seg { display: flex; gap: 6px; }
.seg.wrap { flex-wrap: wrap; }
.seg .btn { flex: 1 1 auto; }
input { font: inherit; background: #12150f; color: var(--ink); border: 1px solid var(--edge); border-radius: 4px; padding: 9px 10px; min-height: 40px; }
input.code { width: 120px; text-transform: uppercase; letter-spacing: 0.3em; font-family: var(--head); font-size: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; color: var(--dim); font-size: 13px; }

/* ------------------------------------------------------------ screens */
.screen { position: fixed; inset: 0; display: flex; flex-direction: column; padding: var(--safe-t) var(--safe-r) 0 var(--safe-l); }
.screen.scroll { overflow-y: auto; }
.bar { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: linear-gradient(#262b20, #1f231a); border-bottom: 1px solid #3a4232; flex: 0 0 auto; }
.page { max-width: 760px; width: 100%; margin: 0 auto; padding: 12px 16px calc(40px + var(--safe-b)); }
.actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; flex-wrap: wrap; }

/* title */
#scr-title { padding: 0; background: #11130e; }
#poster { position: absolute; inset: 0; width: 100%; height: 100%; }
.title-lockup { position: absolute; left: max(28px, var(--safe-l)); top: max(28px, var(--safe-t)); max-width: 520px; text-shadow: 0 2px 12px rgba(0,0,0,0.8); }
.title-lockup .kicker { font-family: var(--head); text-transform: uppercase; letter-spacing: 0.3em; color: var(--brass); font-size: 13px; }
.title-lockup h1 { margin: 2px 0 4px; font-size: clamp(54px, 10vw, 104px); line-height: 0.95; font-weight: 700; letter-spacing: 0.06em; color: #f4ecd2; }
.title-lockup .tag { font-size: 16px; color: #e3dcc4; max-width: 440px; }
.title-menu { position: absolute; right: max(28px, var(--safe-r)); bottom: max(28px, calc(var(--safe-b) + 20px)); display: flex; flex-direction: column; gap: 10px; width: min(340px, calc(100vw - 40px)); }
.title-menu .row .btn { flex: 1; font-size: 13px; padding: 8px 6px; }

/* setup */
.seatrow { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--bg2); border: 1px solid var(--edge); border-radius: 6px; margin: 8px 0; flex-wrap: wrap; }
.seatrow .sw { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #111; flex: 0 0 auto; }
.seatrow .nm { flex: 1; min-width: 120px; }
.seatrow .nm small { display: block; color: var(--dim); }
.seatrow .seg { flex-wrap: wrap; }
.seatrow .seg .btn { min-height: 34px; padding: 5px 10px; font-size: 13px; }

/* ------------------------------------------------------------ cards */
.cardgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(186px, 1fr)); gap: 12px; padding: 12px 0; }
.card {
  position: relative; min-width: 0; background: linear-gradient(170deg, var(--paper), var(--paper2)); color: var(--paperink); border-radius: 8px;
  border: 1px solid #b9ad8b; box-shadow: 0 3px 10px rgba(0,0,0,0.5), inset 0 0 0 4px rgba(255,255,255,0.25); padding: 7px; font-size: 12px; line-height: 1.3;
  user-select: none;
}
.card .c-top { display: flex; align-items: center; gap: 6px; background: var(--nat, #555); color: #f6f0dc; margin: -3px -3px 5px; padding: 4px 6px; border-radius: 5px 5px 2px 2px; }
.card .c-cost { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: #f3ecd6; color: #1d1708; display: grid; place-items: center; font: 700 14px var(--head); box-shadow: inset 0 0 0 2px var(--nat, #555); }
.card .c-name { font-weight: 600; font-size: 14px; line-height: 1.1; flex: 1; text-transform: uppercase; }
.card .c-flag { font: 600 10px var(--head); opacity: 0.85; text-transform: uppercase; letter-spacing: 0.1em; }
.card .c-art { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 3px; border: 1px solid #8f8468; background: #6f7a45; object-fit: cover; }
.card .c-stats { display: flex; gap: 4px; margin: 6px 0 4px; }
.card .c-stat { flex: 1; text-align: center; background: rgba(60,50,30,0.1); border-radius: 3px; padding: 2px 0; }
.card .c-stat b { display: block; font: 700 17px var(--head); line-height: 1.1; }
.card .c-stat small { font: 600 9px var(--head); text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.75; }
.card table { width: 100%; border-collapse: collapse; font-family: var(--head); margin: 2px 0 5px; }
.card th { font-size: 9px; font-weight: 600; text-transform: uppercase; opacity: 0.7; padding: 1px 0; }
.card td { text-align: center; font-size: 15px; font-weight: 700; border-top: 1px solid rgba(60,50,30,0.2); padding: 1px 0; }
.card td.lbl { text-align: left; font-size: 10px; font-weight: 600; text-transform: uppercase; opacity: 0.8; width: 34%; }
.card td.z { opacity: 0.3; }
.card td.hl { background: rgba(200,80,62,0.25); }
.card .c-ab { font-size: 11px; border-top: 1px dashed rgba(60,50,30,0.35); padding-top: 4px; }
.card .c-ab b { font-family: var(--head); font-weight: 600; text-transform: uppercase; font-size: 10px; letter-spacing: 0.04em; }
.card .c-ab p { margin: 2px 0; }
.card .c-add { display: flex; justify-content: flex-end; margin-top: 5px; }
.card .c-add .btn { min-height: 30px; padding: 3px 12px; font-size: 13px; }
.card .c-count { position: absolute; left: -6px; top: -6px; background: var(--brass); color: #1d1708; font: 700 13px var(--head); border-radius: 12px; min-width: 24px; height: 24px; display: grid; place-items: center; box-shadow: 0 1px 3px #000; }
.card.dead { filter: grayscale(0.9) brightness(0.7); }
.card.mini .c-ab, .card.mini .c-art { display: none; }
.nat-ger { --nat: #4c4f47; } .nat-us { --nat: #4f5a34; } .nat-uk { --nat: #6b4a2e; } .nat-su { --nat: #7a2a22; }

/* muster */
.muster { flex: 1; display: flex; min-height: 0; }
.muster-left { flex: 1; overflow-y: auto; padding: 10px 16px; min-width: 0; }
.muster-right { width: 320px; flex: 0 0 auto; background: var(--bg2); border-left: 1px solid var(--edge); padding: 4px 14px calc(14px + var(--safe-b)); display: flex; flex-direction: column; gap: 8px; min-height: 0; }
.muster-right h3 { margin-top: 12px; }
.armylist { flex: 1 1 auto; display: flex; flex-direction: column; gap: 4px; min-height: 60px; overflow-y: auto; }
.armylist .armyrow { flex: 0 0 auto; }
.armyrow { display: flex; align-items: center; gap: 8px; background: var(--bg3); border-radius: 4px; padding: 4px 6px 4px 10px; }
.armyrow .n { flex: 1; } .armyrow .c { font-family: var(--head); color: var(--brass); }
.armyrow .btn { min-height: 30px; padding: 2px 10px; }
.pts { font-size: 20px; font-weight: 700; color: var(--brass); }
.pts.over { color: #ff8b6a; }
.nat-tabs .btn { flex: 1; }

/* ------------------------------------------------------------ game */
.hud { gap: 8px; padding: 6px 10px; }
.hud .phase { flex: 1; text-align: center; display: flex; flex-direction: column; line-height: 1.1; }
.hud .phase span { font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.14em; }
.hud .phase b { font-size: 17px; text-transform: uppercase; letter-spacing: 0.08em; }
.side-chip { display: flex; align-items: center; gap: 8px; padding: 3px 10px; border-radius: 4px; background: #12150f; border: 1px solid var(--edge); min-width: 0; }
.side-chip b { font: 700 20px var(--head); }
.side-chip .nm { font-size: 13px; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
.side-chip.s0 { border-left: 5px solid var(--s0); } .side-chip.s1 { border-right: 5px solid var(--s1); }
.side-chip.on { box-shadow: 0 0 0 2px var(--brass), 0 0 16px rgba(217,182,74,0.4); }
.side-chip.s1.on { box-shadow: 0 0 0 2px var(--s1), 0 0 16px rgba(200,80,62,0.4); }
.table { flex: 1; display: flex; min-height: 0; }
#boardwrap { position: relative; flex: 1; min-width: 0; min-height: 0; background: #1b1e17; touch-action: none; }
#board { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#panel { width: 330px; flex: 0 0 auto; background: var(--bg2); border-left: 1px solid var(--edge); display: flex; flex-direction: column; min-height: 0; padding-bottom: var(--safe-b); }
#orders { padding: 10px 12px; border-bottom: 1px solid var(--edge); }
.who { font-family: var(--head); text-transform: uppercase; letter-spacing: 0.1em; font-size: 13px; color: var(--brass); }
.who.s1 { color: #e0806f; }
.otext { font-size: 14px; min-height: 2.8em; }
#o-btns .btn { flex: 1 1 auto; }
.tray { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; max-height: 190px; overflow-y: auto; }
.chip { font: 500 12px var(--head); text-transform: uppercase; padding: 5px 8px; border-radius: 4px; background: var(--bg3); border: 1px solid var(--edge); color: var(--ink); cursor: pointer; min-height: 32px; }
.chip.on { border-color: var(--brass); background: #4b4a2b; }
.chip.placed { opacity: 0.45; }
#p-card { padding: 10px 12px; }
#p-card .card { max-width: 300px; margin: 0 auto; }
.odds { margin-top: 8px; background: #12150f; border: 1px solid #5a3a2e; border-radius: 6px; padding: 8px 10px; font-size: 13px; }
.odds .big { font: 700 22px var(--head); color: #ff9b7a; }
.odds .bars { display: flex; height: 10px; border-radius: 3px; overflow: hidden; margin: 6px 0; background: #333; }
.odds .bars i { display: block; height: 100%; }
.feed { flex: 1; overflow-y: auto; padding: 8px 12px; font-size: 12.5px; color: var(--dim); border-top: 1px solid var(--edge); min-height: 60px; }
.feed div { padding: 2px 0 2px 8px; border-left: 3px solid transparent; }
.feed .f0 { border-color: var(--s0); } .feed .f1 { border-color: var(--s1); }
.feed div:last-child { color: var(--ink); }

/* dice tray */
#dicetray { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); background: rgba(18,20,14,0.92); border: 1px solid #5c6446; border-radius: 10px; padding: 8px 12px; display: flex; flex-direction: column; align-items: center; gap: 6px; box-shadow: 0 6px 20px rgba(0,0,0,0.6); max-width: calc(100% - 20px); pointer-events: none; }
#dicetray .dice { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; }
#dicetray .d { width: 28px; height: 28px; border-radius: 6px; background: #efe8d2; display: grid; grid-template: repeat(3, 1fr) / repeat(3, 1fr); padding: 4px; box-shadow: inset 0 -2px 0 rgba(0,0,0,0.2); transition: transform 0.2s; }
#dicetray .d i { width: 5px; height: 5px; border-radius: 50%; background: #2a2620; align-self: center; justify-self: center; }
#dicetray .d.hit i { background: #fff0ea; }
#dicetray .d .p1 { grid-area: 1 / 1; } #dicetray .d .p3 { grid-area: 1 / 3; } #dicetray .d .p4 { grid-area: 2 / 1; }
#dicetray .d .p5 { grid-area: 2 / 2; } #dicetray .d .p6 { grid-area: 2 / 3; } #dicetray .d .p7 { grid-area: 3 / 1; }
#dicetray .d .p9 { grid-area: 3 / 3; }
#dicetray .d.hit { background: #d9483a; color: #fff; }
#dicetray .d.roll { transform: rotate(25deg) scale(0.8); }
#dicetray .res { font: 700 17px var(--head); text-transform: uppercase; letter-spacing: 0.1em; }
#dicetray .sub { font-size: 12px; color: var(--dim); }

/* modal, curtain, toast */
.modal, .curtain { position: fixed; inset: 0; background: rgba(8,9,6,0.72); display: grid; place-items: center; z-index: 50; padding: 16px; }
.modal .box, .curtain .box { background: var(--bg2); border: 1px solid var(--edge); border-radius: 8px; padding: 18px 20px; width: min(520px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; box-shadow: 0 10px 40px rgba(0,0,0,0.6); }
.curtain { background: #14170f; }
.toast { position: fixed; left: 50%; top: calc(64px + var(--safe-t)); transform: translateX(-50%); background: #2f3526; border: 1px solid var(--edge); padding: 8px 16px; border-radius: 6px; z-index: 60; box-shadow: 0 4px 16px rgba(0,0,0,0.5); max-width: calc(100vw - 32px); }
.toast.bad { border-color: #8a3b2d; background: #3a221c; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #7a3b2d; vertical-align: middle; }
.dot.on { background: var(--good); }
.init-roll { display: flex; gap: 16px; justify-content: center; margin: 12px 0; }
.init-roll > div { text-align: center; padding: 8px 14px; background: #12150f; border-radius: 6px; border: 1px solid var(--edge); }
.init-roll b { display: block; font: 700 30px var(--head); }
.init-roll .win { border-color: var(--brass); }

/* online */
.lobby-share { display: flex; gap: 16px; align-items: center; margin: 10px 0 16px; }
#lobby-qr svg { background: #fff; padding: 6px; border-radius: 6px; display: block; }
.bigcode { font: 700 40px var(--head); letter-spacing: 0.2em; color: var(--brass); }
.game-row { display: flex; gap: 10px; align-items: center; padding: 8px 10px; background: var(--bg2); border-radius: 6px; margin: 6px 0; }
.game-row .info { flex: 1; } .game-row small { display: block; color: var(--dim); }

/* manual */
.manual h3 { margin-top: 26px; }
.manual table { border-collapse: collapse; width: 100%; font-size: 14px; }
.manual td, .manual th { border-bottom: 1px solid var(--edge); padding: 4px 6px; text-align: left; vertical-align: top; }
.manual .k { color: var(--brass); font-family: var(--head); text-transform: uppercase; letter-spacing: 0.06em; }

/* ------------------------------------------------------------ narrow screens and phones */
@media (max-width: 900px) {
  .muster { flex-direction: column; }
  .muster-right { width: auto; border-left: 0; border-top: 1px solid var(--edge); max-height: 44vh; }
  .cardgrid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
}
@media (max-width: 760px), (max-height: 520px) and (pointer: coarse) {
  .side-chip .nm { max-width: 70px; font-size: 11px; }
  .side-chip b { font-size: 17px; }
  .hud .phase b { font-size: 14px; }
}
/* two audio switches live in the HUD, so on a phone they get the smallest
   tappable box that still clears 30px rather than squeezing the score chips */
@media (max-width: 480px) {
  .hud { gap: 4px; padding: 6px 6px; }
  .hud .btn.icon { min-width: 32px; min-height: 32px; padding: 2px 4px; font-size: 15px; }
  .side-chip .nm { max-width: 34px; }
}
body.portrait .table { flex-direction: column; }
body.portrait #panel { width: auto; border-left: 0; border-top: 1px solid var(--edge); max-height: 38vh; flex: 0 0 auto; }
body.portrait #p-card .card { max-width: none; }
body.portrait #p-card .card .c-art { display: none; }
body.portrait .feed { display: none; }
body.portrait #panel { overflow-y: auto; }
body.portrait #dicetray { bottom: 8px; }
body.touch .btn { min-height: 44px; }
body.touch .chip { min-height: 40px; }
@media (max-width: 560px) {
  .title-lockup h1 { font-size: 56px; }
  .title-lockup .tag { font-size: 14px; }
  .title-menu { left: 16px; right: 16px; width: auto; bottom: calc(var(--safe-b) + 16px); }
  .muster-left { padding: 8px 10px; }
  .cardgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .muster-right h3 { margin: 6px 0 0; }
  #scr-muster .bar h2 { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .pts { font-size: 16px; white-space: nowrap; }
  .card .c-top { flex-wrap: wrap; }
  .card .c-flag { display: none; }
  .card table td { font-size: 13px; }
  .card .c-name { font-size: 12px; }
}

/* short landscape screens (phones on their side): the board gets the width */
@media (max-height: 520px) and (orientation: landscape) {
  .hud { padding: 3px 8px; }
  .hud .btn.icon { min-height: 34px; min-width: 34px; padding: 2px 6px; }
  .hud .phase span { display: none; }
  .side-chip { padding: 1px 8px; }
  #panel { width: 250px; overflow-y: auto; }
  #orders { padding: 6px 10px; }
  .otext { font-size: 13px; min-height: 0; }
  #o-btns .btn { min-height: 38px; padding: 6px 8px; font-size: 13px; }
  #p-card { padding: 6px 10px; }
  #p-card .card .c-art, #p-card .card .c-ab { display: none; }
  .feed { display: none; }
}
/* ------------------------------------------------------------ campaign */
.camp { flex: 1; display: flex; min-height: 0; }
.camp-map { flex: 1; position: relative; min-width: 0; background: #1b1e17; }
#opsmap { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.camp-side { width: 340px; flex: 0 0 auto; background: var(--bg2); border-left: 1px solid var(--edge); padding: 10px 14px calc(14px + var(--safe-b)); overflow-y: auto; display: flex; flex-direction: column; gap: 8px; }
.camp-side h3 { margin: 10px 0 2px; }
.nextcard { background: linear-gradient(170deg, var(--paper), var(--paper2)); color: var(--paperink); border-radius: 8px; padding: 12px 14px; box-shadow: 0 3px 10px rgba(0,0,0,0.5); }
.nextcard .kicker { font: 600 11px var(--head); letter-spacing: 0.18em; text-transform: uppercase; color: #7a5a1a; }
.nextcard h2 { font-size: 22px; margin: 2px 0; text-transform: uppercase; }
.nextcard p { font-size: 13px; margin: 6px 0 10px; }
.roster { display: flex; flex-direction: column; gap: 4px; }
.rrow { display: flex; align-items: center; gap: 8px; background: var(--bg3); border-radius: 4px; padding: 6px 8px; font-size: 13px; }
.rrow .nm { flex: 1; min-width: 0; }
.rrow .nm small { display: block; color: var(--dim); font-size: 11px; }
.rrow .c { font-family: var(--head); color: var(--brass); }
.rrow .vet { color: #f0c948; letter-spacing: -1px; }
.campgrid { display: grid; gap: 8px; margin: 10px 0; }
.camppick { text-align: left; background: var(--bg3); border: 1px solid var(--edge); border-radius: 6px; padding: 10px 12px; color: var(--ink); cursor: pointer; font: inherit; }
.camppick.on { border-color: var(--brass); background: #45452a; }
.camppick b { display: block; font: 600 17px var(--head); text-transform: uppercase; letter-spacing: 0.04em; }
.camppick small { display: block; color: var(--dim); font-size: 12.5px; }
.camppick.on small { color: var(--ink); }
.diary { font-size: 13px; color: var(--ink); border-left: 3px solid var(--edge); padding-left: 8px; margin: 6px 0; }
.diary span { display: block; font: 600 10px var(--head); letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); }
.roster.pick .rrow { cursor: pointer; border: 1px solid transparent; }
.roster.pick .rrow.on { border-color: var(--brass); background: #45452a; }
.roster.pick .rrow input { width: 18px; height: 18px; min-height: 0; accent-color: #d9b64a; }
.brief .brief-head .kicker { font: 600 12px var(--head); letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass); }
.brief h1 { font: 700 34px var(--head); margin: 2px 0; letter-spacing: 0.04em; text-transform: uppercase; }
#brief-map { width: 100%; aspect-ratio: 16 / 9; border-radius: 6px; display: block; margin: 12px 0; background: #1b1e17; }
.brief-text { font-size: 16px; line-height: 1.6; }
.brief-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { font: 500 12px var(--head); text-transform: uppercase; padding: 4px 8px; border-radius: 4px; background: var(--bg3); border: 1px solid var(--edge); }
.chips span.ger { border-color: #7a3a2e; }
.debrief ul { margin: 6px 0; padding-left: 18px; }
@media (max-width: 900px) {
  .camp { flex-direction: column; }
  .camp-map { flex: 0 0 46vh; }
  .camp-side { width: auto; border-left: 0; border-top: 1px solid var(--edge); flex: 1; }
  .brief-grid { grid-template-columns: 1fr; }
}