/* v1.11 holdlz: HOLD THE LZ (js/holdlz-ui.js) — requisition panel, evac window, wave banners, lobby cards, debrief wave log */
:root { --hl: #FF6B57; --hl-dim: #7A3326; }

/* title menu + war room */
.menu button.holdlz { color: var(--hl); }
.menu button.holdlz small { color: var(--muted); }
.holdlz-region .region-head .rg-n { color: var(--hl); }
.mcard.holdlz-card { border-color: #3A2420; background: linear-gradient(160deg, rgba(255, 107, 87, 0.07), rgba(15, 22, 18, 0) 60%), #0F1612; }
.mcard.holdlz-card:hover:not(:disabled) { border-color: var(--hl); }
.mcard.holdlz-card.done { border-color: var(--hl-dim); }
.mcard.holdlz-card .mc-tier { color: var(--hl); }
.mcard.holdlz-card .mc-objs span { border-color: var(--hl-dim); color: #FFB3A3; }
.mcard .hl-best { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; color: var(--amber); }
.cm-sp.holdlz i { background: var(--hl); }
.cm-sp.holdlz b { color: var(--hl); }

/* briefing */
.hl-tabs { display: inline-flex; gap: 4px; margin-left: 8px; vertical-align: middle; }
.hl-tabs button { height: 22px; padding: 0 8px; background: transparent; border: 1px solid #2B3A2F; color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em; }
.hl-tabs button.active { border-color: var(--hl); color: var(--hl); background: rgba(255, 107, 87, 0.08); }
.hl-brief-best { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: #B4C0B6; padding-top: 6px; }
.hl-brief-best b { color: var(--amber); font-weight: 500; }

/* ---------- in mission: requisition panel ---------- */
#hl-panel { position: absolute; left: 50%; bottom: 92px; transform: translateX(-50%); width: min(760px, calc(100% - 540px)); min-width: 520px; z-index: 3;
  background: rgba(9, 13, 11, 0.96); border: 1px solid var(--hl-dim); box-shadow: 0 0 0 1px rgba(255, 107, 87, 0.12), 0 10px 34px rgba(0, 0, 0, 0.55); font-family: var(--mono); }
.hl-head { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 8px 0 12px; border-bottom: 1px solid var(--line); cursor: default; }
.hl-tag { font-size: 10px; letter-spacing: 0.2em; color: var(--hl); }
.hl-rp { font-size: 11px; letter-spacing: 0.12em; color: var(--muted); }
.hl-rp b { font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--amber); margin-right: 3px; letter-spacing: 0.02em; }
.hl-next { flex: 1; min-width: 0; font-size: 10px; letter-spacing: 0.1em; color: #FFB3A3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hl-timer { font-size: 11px; letter-spacing: 0.12em; color: #F3F6F2; white-space: nowrap; }
.hl-start { height: 32px; padding: 0 14px; background: var(--green); border: none; color: #0B0F0C; font-family: var(--display); font-weight: 800; font-size: 17px; letter-spacing: 0.1em; white-space: nowrap; }
.hl-start:hover { filter: brightness(1.08); }
.hl-chev { display: none; width: 28px; text-align: center; color: var(--muted); font-size: 14px; }
.hl-items { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; padding: 8px; }
.hl-item { position: relative; display: grid; grid-template-columns: 22px 1fr; grid-template-rows: auto auto; column-gap: 6px; align-items: center; min-height: 52px; padding: 6px 8px;
  background: #0F1612; border: 1px solid var(--line2); color: #D9E0DA; text-align: left; }
.hl-item:hover { border-color: var(--amber); }
.hl-item i { grid-row: 1 / span 2; font-style: normal; font-size: 18px; color: var(--amber); text-align: center; }
.hl-item b { font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: 0.06em; color: #F3F6F2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hl-item .hl-cost { font-size: 10px; letter-spacing: 0.12em; color: var(--amber); }
.hl-item em { position: absolute; top: 4px; right: 5px; font-style: normal; font-size: 9px; letter-spacing: 0.08em; color: var(--green); }
.hl-item.off { opacity: 0.42; }
.hl-item.off:hover { border-color: var(--line2); }
.hl-offer { display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: linear-gradient(90deg, rgba(124, 255, 154, 0.14), rgba(124, 255, 154, 0.03)); border-bottom: 1px solid #2E7A47; }
.hl-offer > div { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hl-offer b { font-size: 10px; letter-spacing: 0.2em; color: var(--green); font-weight: 500; }
.hl-offer span { font-family: var(--body); font-size: 13px; color: #E6EBE4; }
.hl-offer em { font-style: normal; font-weight: 700; color: var(--amber); }
.hl-extract { height: 40px; padding: 0 18px; background: var(--green); border: none; color: #0B0F0C; font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: 0.12em; white-space: nowrap; }
.hl-stay { height: 40px; padding: 0 14px; background: transparent; border: 1px solid var(--hl); color: var(--hl); font-family: var(--display); font-weight: 800; font-size: 17px; letter-spacing: 0.12em; }
body.hl-shop #toast { bottom: 260px; }

/* wave banners */
.hl-banner { position: absolute; left: 50%; top: 34%; transform: translate(-50%, -50%) scale(0.96); display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 30px;
  pointer-events: none !important; opacity: 0; transition: opacity 0.35s ease, transform 0.35s ease; z-index: 4; text-align: center;
  background: radial-gradient(ellipse at center, rgba(7, 10, 8, 0.78), rgba(7, 10, 8, 0) 72%); }
.hl-banner.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.hl-banner b { font-family: var(--display); font-weight: 800; font-size: 64px; letter-spacing: 0.08em; line-height: 1; color: #F3F6F2; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.8); }
.hl-banner span { font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; color: #E6EBE4; }
.hl-banner.bad b { color: var(--hl); }
.hl-banner.good b { color: var(--green); }

/* debrief */
.rating.hl-score { letter-spacing: 0.12em; }
.stars-big .hl-waves { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: 0.08em; color: #F3F6F2; }
.db-medals .hl-wavelog { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.db-medals .hl-wavelog span { padding: 0; border: none; background: none; }
.hl-wl-t { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; color: var(--muted) !important; }
.hl-bars { display: flex; align-items: flex-end; gap: 4px; height: 76px; overflow-x: auto; }
.hl-bars > div { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 18px; }
.hl-bars i { display: block; width: 14px; background: linear-gradient(180deg, var(--green), #2E7A47); }
.hl-bars > div.lost i { background: linear-gradient(180deg, var(--hl), #7A3326); }
.hl-bars span { font-family: var(--mono); font-size: 9px; color: var(--muted) !important; }

/* ---------- phones: the requisition panel becomes a bottom sheet with big touch targets ---------- */
@media (max-width: 1100px) and (min-width: 901px) { #hl-panel { width: calc(100% - 520px); min-width: 0; } .hl-items { grid-template-columns: repeat(3, 1fr); } .hl-next { display: none; } }
@media (max-width: 900px), (pointer: coarse) and (max-width: 1100px) {
  #hl-panel { left: 6px; right: 6px; bottom: 76px; width: auto; min-width: 0; transform: none; }
  .hl-head { height: 46px; gap: 8px; padding: 0 4px 0 10px; cursor: pointer; }
  .hl-next { display: none; }
  .hl-tag { display: none; }
  .hl-chev { display: inline-block; }
  .hl-start { height: 36px; padding: 0 12px; font-size: 16px; }
  .hl-items { grid-template-columns: repeat(3, 1fr); gap: 5px; padding: 6px; }
  .hl-item { min-height: 50px; padding: 5px 6px; grid-template-columns: 20px 1fr; }
  .hl-item b { font-size: 13px; }
  .hl-offer { flex-wrap: wrap; gap: 6px; padding: 8px; }
  .hl-offer > div { flex-basis: 100%; }
  .hl-offer span { font-size: 12px; }
  .hl-extract, .hl-stay { flex: 1; height: 44px; }
  body.hl-shop:not(.hl-col) #mobilebar { display: none; }
  body.hl-col #mobilebar { bottom: 130px; }
  body.hl-shop #toast { bottom: 300px; }
  .hl-banner { top: 40%; width: calc(100% - 24px); padding: 10px 12px; }
  .hl-banner b { font-size: 44px; }
  .hl-banner span { font-size: 10px; letter-spacing: 0.14em; }
}
@media (max-width: 900px) and (orientation: landscape) { #hl-panel { bottom: 70px; } .hl-items { grid-template-columns: repeat(6, 1fr); } }
