/* Touch play uses the available screen; menus and reports retain normal scrolling. */
.dts-dialog.dts-mobile {
  position:fixed;
  inset:0;
  width:100%;
  height:100dvh;
  max-width:none;
  max-height:100dvh;
  margin:0;
  border:0;
  border-radius:0;
  overscroll-behavior:contain;
}
.dts-mobile .dts-shell {
  min-height:100%;
  padding:calc(16px + env(safe-area-inset-top,0px)) calc(16px + env(safe-area-inset-right,0px)) calc(16px + env(safe-area-inset-bottom,0px)) calc(16px + env(safe-area-inset-left,0px));
}
.dts-mobile .dts-shell:fullscreen {
  width:100%;
  height:100dvh;
  max-height:none;
  overflow:auto;
}
.dts-mobile:not(.dts-mobile-playfield) .dts-header {
  position:relative;
  margin:0 0 18px;
  padding:0 0 14px;
}
.dts-mobile:not(.dts-mobile-playfield) .dts-intro-panel,
.dts-mobile:not(.dts-mobile-playfield) .dts-result-panel { max-width:950px;margin-inline:auto; }
.dts-mobile:not(.dts-mobile-playfield) .dts-header-actions button { min-height:40px; }
.dts-mobile:not(.dts-mobile-playfield) .dts-intro-footer { bottom:calc(-16px - env(safe-area-inset-bottom,0px));padding-bottom:calc(12px + env(safe-area-inset-bottom,0px)); }
.dts-rotate-overlay { display:none; }

/* One shallow HUD row leaves the entire remaining height for the arena. */
.dts-dialog.dts-mobile.dts-mobile-playfield { overflow:hidden; }
.dts-dialog.dts-mobile.dts-mobile-playfield .dts-shell {
  display:flex;
  flex-direction:column;
  width:100%;
  height:100dvh;
  min-height:0;
  padding:env(safe-area-inset-top,0px) env(safe-area-inset-right,0px) env(safe-area-inset-bottom,0px) env(safe-area-inset-left,0px);
  overflow:hidden;
  background:#0b1116;
}
.dts-dialog.dts-mobile.dts-mobile-playfield .dts-header {
  position:relative;
  z-index:7;
  display:flex;
  flex:none;
  flex-wrap:nowrap;
  align-items:center;
  gap:8px;
  width:100%;
  height:48px;
  min-height:48px;
  margin:0;
  padding:2px 10px;
  background:#101820;
  border:0;
  border-bottom:1px solid #ffffff0d;
  backdrop-filter:none;
}
.dts-mobile.dts-mobile-playfield .dts-title { display:none; }
.dts-dialog.dts-mobile.dts-mobile-playfield .dts-header-actions { order:2;flex:none;gap:3px; }
.dts-dialog.dts-mobile.dts-mobile-playfield .dts-header-actions .dts-icon,
.dts-dialog.dts-mobile.dts-mobile-playfield .dts-header-actions .dts-close {
  width:42px;height:42px;flex-basis:42px;border-color:transparent;background:transparent;margin:0;
}
.dts-dialog.dts-mobile.dts-mobile-playfield .dts-header-actions .dts-control { min-width:48px;min-height:42px;padding:6px;font-size:10px!important; }
.dts-dialog.dts-mobile.dts-mobile-playfield .dts-hud {
  display:flex;
  flex:1 1 auto;
  align-items:center;
  gap:20px;
  min-width:0;
  width:auto;
  margin:0;
  border:0;
}
.dts-dialog.dts-mobile.dts-mobile-playfield .dts-hud>div { flex:none;padding:0;min-width:0;border:0; }
.dts-mobile.dts-mobile-playfield .dts-hud small { font-size:6px;line-height:1.2;letter-spacing:.9px; }
.dts-dialog.dts-mobile.dts-mobile-playfield .dts-hud strong { font-size:18px;line-height:1;margin-top:4px;letter-spacing:-.3px; }
.dts-dialog.dts-mobile.dts-mobile-playfield .dts-hearts { gap:4px;margin-top:4px; }
.dts-dialog.dts-mobile.dts-mobile-playfield .dts-hearts svg { width:18px;height:18px; }
.dts-dialog.dts-mobile.dts-mobile-playfield .dts-hud .dts-grenade-stat,
.dts-dialog.dts-mobile.dts-mobile-playfield .dts-hud .dts-dash-stat { display:none; }
.dts-dialog.dts-mobile.dts-mobile-playfield .dts-main { display:block;position:relative;flex:1 1 auto;min-height:0;margin:0;padding:0; }
.dts-dialog.dts-mobile.dts-mobile-playfield .dts-play-column { position:relative;width:100%;height:100%;max-width:100%;min-height:0;margin:0; }
.dts-dialog.dts-mobile.dts-mobile-playfield .dts-arena {
  width:min(100%,calc((100dvh - 48px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))*1.6666667));
  height:auto;
  min-height:0;
  max-height:100%;
  aspect-ratio:5/3;
  margin:0 auto;
  border:0;
  border-radius:0;
  box-shadow:none;
}
.dts-mobile.dts-mobile-playfield .dts-arena canvas { display:block;width:100%;height:100%; }
.dts-mobile.dts-mobile-playfield .dts-arena-label { inset:8px 9px auto;font-size:6px; }
.dts-mobile.dts-mobile-playfield .dts-board-footer,
.dts-mobile.dts-mobile-playfield .dts-next-mission { display:none; }

/* A stick and three actions stay in the thumb zones, outside the arena where space allows. */
.dts-dialog.dts-mobile.dts-mobile-playfield .dts-touch-controls {
  position:absolute;
  z-index:6;
  inset:0;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin:0;
  padding:0 14px 16px;
  opacity:1;
  pointer-events:none;
  touch-action:none;
  user-select:none;
  -webkit-user-select:none;
}
.dts-mobile .dts-joystick {
  position:relative;
  display:grid;
  place-items:center;
  flex:none;
  width:112px;
  height:112px;
  margin:0;
  padding:0;
  border:1px solid #c5dece50;
  border-radius:50%;
  background:radial-gradient(circle,#bcd0c309 49%,#13241bd1 50%,#1428218f 69%,#bcd0c327 70%);
  color:#c4d6cb;
  box-shadow:0 4px 24px #0005,inset 0 0 20px #a8cbbc0a;
  touch-action:none!important;
  pointer-events:auto;
  -webkit-touch-callout:none;
}
.dts-mobile .dts-joystick::before,
.dts-mobile .dts-joystick::after { content:'';position:absolute;background:#b9d4c31a;pointer-events:none; }
.dts-mobile .dts-joystick::before { width:1px;height:80%; }
.dts-mobile .dts-joystick::after { width:80%;height:1px; }
.dts-mobile .dts-joystick-knob {
  position:absolute;
  z-index:1;
  left:50%;
  top:50%;
  width:46px;
  height:46px;
  border:1px solid #d1e4d579;
  border-radius:50%;
  background:radial-gradient(circle at 40% 30%,#7f9d89e8,#355b45e8);
  box-shadow:0 3px 11px #0006,inset 0 1px #e4ead029;
  transform:translate(calc(-50% + var(--dts-stick-x,0px)),calc(-50% + var(--dts-stick-y,0px)));
  pointer-events:none;
}
.dts-mobile .dts-joystick>span:not(.dts-joystick-knob) { position:absolute;bottom:12px;font-size:7px;font-weight:650;letter-spacing:1.2px;pointer-events:none; }
.dts-mobile .dts-joystick.dts-pressed { border-color:#d1e3ae;background-color:#8dac7922; }
.dts-mobile .dts-touch-actions { display:grid;grid-template-columns:62px 76px;grid-template-rows:56px 64px;gap:8px 12px;align-items:end;pointer-events:none; }
.dts-dialog.dts-mobile.dts-mobile-playfield .dts-touch-actions button {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  width:62px;
  height:56px;
  min-height:44px;
  margin:0;
  padding:5px;
  border:1px solid #c6d7c340;
  border-radius:16px;
  background:#142420d9;
  color:#dce7d2!important;
  box-shadow:0 3px 14px #0005;
  touch-action:none;
  pointer-events:auto;
  user-select:none;
  -webkit-touch-callout:none;
}
.dts-mobile .dts-touch-actions svg { width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round; }
.dts-mobile .dts-touch-actions span { font-size:7px;font-weight:700;letter-spacing:.6px;white-space:nowrap; }
.dts-mobile .dts-touch-actions b { font-size:10px;letter-spacing:0; }
.dts-dialog.dts-mobile.dts-mobile-playfield .dts-touch-actions .dts-touch-reload { grid-column:1;grid-row:1; }
.dts-dialog.dts-mobile.dts-mobile-playfield .dts-touch-actions .dts-touch-grenade { grid-column:1;grid-row:2;align-self:start; }
.dts-dialog.dts-mobile.dts-mobile-playfield .dts-touch-actions .dts-touch-dash { grid-column:2;grid-row:1/3;align-self:end;width:76px;height:76px;border-radius:50%;border-color:#d6c49078;background:radial-gradient(circle at 40% 20%,#697d50ed,#243b2ae8); }
.dts-dialog.dts-mobile.dts-mobile-playfield .dts-touch-actions .dts-touch-dash svg { width:27px;height:27px; }
.dts-mobile .dts-touch-actions button:disabled { opacity:.42; }
.dts-dialog.dts-mobile.dts-mobile-playfield .dts-touch-actions button:active:not(:disabled) { background:#739362e8;transform:scale(.96); }
.dts-dialog.dts-mobile.dts-mobile-playfield .dts-weapon-bar { position:absolute;z-index:4;left:50%;bottom:12px;transform:translateX(-50%);display:flex;width:max-content;max-width:calc(100% - 325px);gap:16px;padding:7px 12px;margin:0;border:0;border-radius:7px;background:#101a21dc;pointer-events:none; }
.dts-mobile.dts-mobile-playfield .dts-weapon-bar button,
.dts-mobile.dts-mobile-playfield .dts-weapon-bar>span,
.dts-mobile.dts-mobile-playfield .dts-weapon-bar [data-dts-fire-mode] { display:none; }
.dts-dialog.dts-mobile.dts-mobile-playfield .dts-weapon-bar strong { font-size:13px;line-height:1.4; }
.dts-mobile.dts-mobile-playfield .dts-weapon-bar small { font-size:6px;letter-spacing:.7px; }
.dts-mobile.dts-mobile-playfield .dts-weapon-bar>div:nth-child(2) { justify-content:center; }
.dts-mobile.dts-mobile-playfield .dts-live-top5 { left:6px;top:5px;width:158px; }
.dts-mobile.dts-mobile-playfield .dts-live-top5.is-collapsed { width:78px; }
.dts-mobile.dts-mobile-playfield .dts-live-top5-toggle { min-height:30px;padding:2px 3px;font-size:7px; }
.dts-mobile.dts-mobile-playfield .dts-live-top5 li { font-size:9px; }
.dts-mobile.dts-mobile-playfield .dts-field-radio { left:50%;bottom:62px;transform:translateX(-50%);max-width:45%;padding:6px 9px;border-radius:5px; }
.dts-mobile.dts-mobile-playfield .dts-field-radio span { font-size:9px; }
.dts-mobile.dts-mobile-playfield .dts-field-radio>i { font-size:18px; }
.dts-mobile.dts-mobile-playfield .dts-mission-toast { right:7px;top:37px;bottom:auto;max-width:45%;padding:6px 9px; }
.dts-mobile.dts-mobile-playfield .dts-best-notice { top:6px;right:7px;padding:6px 8px; }
.dts-mobile.dts-mobile-playfield .dts-best-notice>span { font-size:8px; }
.dts-mobile.dts-mobile-playfield .dts-wave-break { top:6px;left:50%;right:auto;transform:translateX(-50%);width:auto;min-width:140px;max-width:42%;padding:7px 12px 10px; }
.dts-mobile.dts-mobile-playfield .dts-wave-break>strong { font-size:11px; }
.dts-mobile.dts-mobile-playfield .dts-wave-break b { font-size:19px; }
.dts-mobile.dts-mobile-playfield .dts-wave-break>span { font-size:8px; }
.dts-dialog.dts-mobile.dts-mobile-playfield .dts-guide { z-index:9;inset:6px 8px 6px auto;width:min(360px,calc(100% - 16px));max-height:calc(100% - 12px);padding:18px; }
.dts-mobile.dts-help-open .dts-touch-controls { visibility:hidden; }

/* Upgrades and pause actions remain reachable even on very short phone viewports. */
.dts-mobile.dts-mobile-playfield .dts-overlay { z-index:7;overflow-y:auto;overscroll-behavior:contain;padding:14px; }
.dts-mobile.dts-mobile-playfield .dts-overlay h3 { font-size:27px; }
.dts-mobile.dts-mobile-playfield .dts-overlay .dts-primary { min-height:44px;font-size:12px!important; }
.dts-dialog.dts-mobile.dts-mobile-playfield.dts-upgrade-open .dts-touch-controls,
.dts-mobile.dts-upgrade-open .dts-weapon-bar { display:none; }
/* Upgrade choices expand across the phone, with compact exact-benefit cards. */
.dts-dialog.dts-mobile.dts-mobile-playfield .dts-hud>.dts-combat-hud { display:none; }
.dts-dialog.dts-mobile.dts-mobile-playfield.dts-upgrade-open .dts-arena { width:100%;height:100%;max-height:none;aspect-ratio:auto; }
.dts-dialog.dts-mobile.dts-upgrade-open .dts-overlay { padding:12px 20px;justify-content:center; }
.dts-dialog.dts-mobile.dts-upgrade-open .dts-upgrade-choice { width:100%;max-width:850px;max-height:100%; }
.dts-dialog.dts-mobile.dts-upgrade-open .dts-upgrade-heading { margin-bottom:12px;gap:10px; }
.dts-dialog.dts-mobile.dts-upgrade-open .dts-upgrade-heading h3 { margin:5px 0!important;font-size:21px!important; }
.dts-dialog.dts-mobile.dts-upgrade-open .dts-upgrade-heading p { font-size:9px; }
.dts-dialog.dts-mobile.dts-upgrade-open .dts-upgrade-heading .dts-eyebrow { font-size:6px!important;letter-spacing:1px!important; }
.dts-dialog.dts-mobile.dts-upgrade-open .dts-upgrade-paused { font-size:6px; }
.dts-dialog.dts-mobile.dts-upgrade-open .dts-upgrade-cards { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px; }
.dts-dialog.dts-mobile.dts-upgrade-open .dts-upgrade-card { padding:12px 14px; }
.dts-dialog.dts-mobile.dts-upgrade-open .dts-upgrade-card .dts-upgrade-card-top { margin-bottom:8px; }
.dts-dialog.dts-mobile.dts-upgrade-open .dts-upgrade-symbol { width:30px;height:30px; }
.dts-dialog.dts-mobile.dts-upgrade-open .dts-upgrade-symbol svg { width:25px;height:25px; }
.dts-dialog.dts-mobile.dts-upgrade-open .dts-upgrade-card .dts-upgrade-category,
.dts-dialog.dts-mobile.dts-upgrade-open .dts-upgrade-card .dts-upgrade-description { display:none; }
.dts-dialog.dts-mobile.dts-upgrade-open .dts-upgrade-level { font-size:6px;gap:6px; }
.dts-dialog.dts-mobile.dts-upgrade-open .dts-upgrade-name { font-size:17px;margin:0; }
.dts-dialog.dts-mobile.dts-upgrade-open .dts-upgrade-card .dts-upgrade-metric { margin:10px 0 8px;padding-top:8px;font-size:8px; }
.dts-dialog.dts-mobile.dts-upgrade-open .dts-upgrade-comparison { gap:7px; }
.dts-dialog.dts-mobile.dts-upgrade-open .dts-upgrade-comparison small { font-size:5px;margin-bottom:4px; }
.dts-dialog.dts-mobile.dts-upgrade-open .dts-upgrade-comparison b { font-size:22px; }
.dts-dialog.dts-mobile.dts-upgrade-open .dts-upgrade-comparison em { font-size:7px; }
.dts-dialog.dts-mobile.dts-upgrade-open .dts-upgrade-card .dts-upgrade-select { margin-top:12px;padding-top:8px;font-size:8px; }
.dts-dialog.dts-mobile.dts-upgrade-open .dts-upgrade-select>i { margin-left:auto; }
.dts-dialog.dts-mobile.dts-upgrade-open .dts-upgrade-select kbd { display:none; }
.dts-dialog.dts-mobile.dts-upgrade-open .dts-upgrade-footer { margin-top:8px;font-size:7px; }
.dts-dialog.dts-mobile.dts-upgrade-open .dts-upgrade-finish { padding:6px 0;min-height:32px;font-size:8px!important; }
.dts-mobile .dts-touch-actions { grid-template-rows:56px 76px; }
.dts-dialog.dts-mobile.dts-mobile-playfield .dts-touch-actions .dts-touch-emp { grid-column:2;grid-row:1;justify-self:center;border-color:#8ac4ca45;background:#153036de;color:#b9e1df!important; }
.dts-dialog.dts-mobile.dts-mobile-playfield .dts-touch-actions .dts-touch-dash { grid-column:2;grid-row:2; }
.dts-mobile .dts-touch-actions .dts-touch-reload>small { font-size:6px;letter-spacing:.8px; }
.dts-mobile .dts-touch-actions .dts-touch-reload>span { font-size:25px;line-height:1; }
.dts-mobile.dts-mobile-playfield .dts-wave-timer { width:36%;max-width:230px;top:5px;padding:5px 8px 7px; }
.dts-mobile.dts-mobile-playfield .dts-wave-timer>div { font-size:6px;letter-spacing:.5px;margin-bottom:4px; }
.dts-mobile.dts-mobile-playfield .dts-wave-timer strong { font-size:9px; }
.dts-mobile.dts-mobile-playfield .dts-pause-mark { width:36px;height:36px;margin-bottom:12px; }
.dts-mobile.dts-mobile-playfield .dts-pause-mark i { height:15px;width:4px; }
.dts-mobile.dts-mobile-playfield .dts-pause-panel h3 { font-size:27px;margin:7px 0; }
.dts-mobile.dts-mobile-playfield .dts-pause-panel>p { font-size:10px; }
.dts-mobile.dts-mobile-playfield .dts-pause-stats { margin:12px 0 0;padding:9px; }
.dts-mobile.dts-mobile-playfield .dts-pause-panel>.dts-primary { margin-top:12px; }
.dts-mobile.dts-mobile-playfield .dts-pause-panel>small { margin-top:4px;font-size:7px; }

/* Portrait play waits for a rotation; the round is paused by the controller. */
.dts-mobile.dts-mobile-portrait .dts-rotate-overlay {
  position:fixed;
  z-index:30;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:14px;
  padding:calc(28px + env(safe-area-inset-top,0px)) calc(28px + env(safe-area-inset-right,0px)) calc(28px + env(safe-area-inset-bottom,0px)) calc(28px + env(safe-area-inset-left,0px));
  background:radial-gradient(ellipse at 50% 28%,#253e32,#0f171ee8 66%),#0d151b;
  color:#eaf0e4;
  text-align:center;
  overflow-y:auto;
}
.dts-mobile .dts-rotate-overlay::before { content:'↻';display:grid;place-items:center;width:84px;height:54px;border:2px solid #aeca9a;border-radius:11px;color:#d4e3c5;font:400 35px/1 Inter,Arial,sans-serif;box-shadow:0 0 45px #80b07716;transform:rotate(-8deg); }
.dts-mobile .dts-rotate-overlay h3 { max-width:280px;margin:12px 0 0;font:700 26px/1.15 Inter,Arial,sans-serif;letter-spacing:-.8px; }
.dts-mobile .dts-rotate-overlay p { max-width:280px;margin:0;color:#a9b9ad;font-size:12px;line-height:1.7; }
.dts-mobile .dts-rotate-overlay button { min-height:44px;padding:11px 18px;border:1px solid #b1c69742;border-radius:7px;background:#405d3c;color:#e9efdf;font-size:12px; }
.dts-mobile .dts-rotate-overlay [data-dts-close] { background:transparent;border-color:transparent;color:#b7c0bd; }
.dts-mobile.dts-mobile-portrait .dts-touch-controls { visibility:hidden; }
/* The mobile battlefield uses this space for play, including the former toggle. */
#darktober-survival-dialog .dts-live-top5[hidden],
#darktober-survival-dialog.dts-mobile.dts-mobile-playfield .dts-live-top5 { display:none!important; }

@media (max-width:700px) and (orientation:landscape) {
  .dts-dialog.dts-mobile.dts-mobile-playfield .dts-header { padding-inline:6px;gap:4px; }
  .dts-dialog.dts-mobile.dts-mobile-playfield .dts-hud { gap:13px; }
  .dts-dialog.dts-mobile.dts-mobile-playfield .dts-header-actions { gap:1px; }
  .dts-dialog.dts-mobile.dts-mobile-playfield .dts-touch-controls { padding:0 10px 12px; }
  .dts-mobile .dts-joystick { width:100px;height:100px; }
  .dts-mobile .dts-joystick-knob { width:42px;height:42px; }
  .dts-mobile .dts-touch-actions { grid-template-columns:56px 68px;gap:6px 8px; }
  .dts-dialog.dts-mobile.dts-mobile-playfield .dts-touch-actions button { width:56px;height:52px; }
  .dts-dialog.dts-mobile.dts-mobile-playfield .dts-touch-actions .dts-touch-dash { width:68px;height:68px; }
  .dts-dialog.dts-mobile.dts-mobile-playfield .dts-weapon-bar { max-width:calc(100% - 270px);gap:10px;padding:6px 9px;bottom:9px; }
}
@media (max-height:340px) and (orientation:landscape) {
  .dts-mobile.dts-mobile-playfield .dts-field-radio { bottom:50px; }
  .dts-dialog.dts-mobile.dts-upgrade-open .dts-upgrade-heading { margin-bottom:8px; }
  .dts-dialog.dts-mobile.dts-upgrade-open .dts-upgrade-heading h3 { font-size:18px!important;margin:4px 0!important; }
  .dts-dialog.dts-mobile.dts-upgrade-open .dts-upgrade-symbol { display:none; }
  .dts-dialog.dts-mobile.dts-upgrade-open .dts-upgrade-card .dts-upgrade-card-top { justify-content:flex-end; }
  .dts-dialog.dts-mobile.dts-upgrade-open .dts-upgrade-level { flex-direction:row;align-items:center;gap:9px; }
  .dts-dialog.dts-mobile.dts-upgrade-open .dts-upgrade-card { padding:10px 12px; }
  .dts-dialog.dts-mobile.dts-upgrade-open .dts-upgrade-name { font-size:15px; }
  .dts-dialog.dts-mobile.dts-upgrade-open .dts-upgrade-card .dts-upgrade-metric { margin-top:7px;padding-top:7px; }
  .dts-dialog.dts-mobile.dts-upgrade-open .dts-upgrade-comparison b { font-size:19px; }
  .dts-dialog.dts-mobile.dts-upgrade-open .dts-upgrade-card .dts-upgrade-select { margin-top:8px; }
  .dts-mobile.dts-mobile-playfield .dts-pause-mark { display:none; }
  .dts-mobile.dts-mobile-playfield .dts-pause-panel>small { display:none; }
}
@media (prefers-reduced-motion:reduce) {
  .dts-mobile .dts-joystick-knob,
  .dts-mobile .dts-touch-actions button { transition:none; }
}

/* Physical touch controls and their labels keep native readable sizes. The
   fifth operator ability has its own place instead of falling into a new row. */
.dts-mobile.dts-mobile-playfield .dts-hud small{font-size:10px;letter-spacing:.3px}
.dts-mobile.dts-mobile-playfield .dts-touch-actions span{font-size:10px;letter-spacing:.1px}
.dts-mobile.dts-mobile-playfield .dts-touch-actions .dts-touch-reload>small{font-size:10px;letter-spacing:0}
.dts-mobile.dts-mobile-playfield .dts-touch-actions .dts-touch-ability [data-dts-ability-name]{font-size:10px;line-height:1.15;white-space:normal}
.dts-mobile.dts-mobile-playfield .dts-touch-actions{grid-template-columns:56px 64px 72px;grid-template-rows:54px 68px;gap:8px}
.dts-dialog.dts-mobile.dts-mobile-playfield .dts-touch-actions .dts-touch-reload{grid-column:1;grid-row:1}
.dts-dialog.dts-mobile.dts-mobile-playfield .dts-touch-actions .dts-touch-grenade{grid-column:1;grid-row:2}
.dts-dialog.dts-mobile.dts-mobile-playfield .dts-touch-actions .dts-touch-emp{grid-column:2;grid-row:1}
.dts-dialog.dts-mobile.dts-mobile-playfield .dts-touch-actions .dts-touch-ability{grid-column:2;grid-row:2;width:64px;height:64px}
.dts-dialog.dts-mobile.dts-mobile-playfield .dts-touch-actions .dts-touch-dash{grid-column:3;grid-row:2;width:72px;height:72px}
.dts-mobile.dts-mobile-playfield .dts-joystick>span:not(.dts-joystick-knob){font-size:10px;letter-spacing:.3px}
.dts-mobile.dts-mobile-playfield .dts-weapon-bar{max-width:calc(100% - 360px)}
@media(max-width:700px) and (orientation:landscape){
 .dts-mobile.dts-mobile-playfield .dts-touch-actions{grid-template-columns:52px 56px 64px;grid-template-rows:50px 60px;gap:6px}
 .dts-dialog.dts-mobile.dts-mobile-playfield .dts-touch-actions .dts-touch-ability{width:56px;height:60px}
 .dts-dialog.dts-mobile.dts-mobile-playfield .dts-touch-actions .dts-touch-dash{width:64px;height:64px}
 .dts-mobile.dts-mobile-playfield .dts-weapon-bar{max-width:calc(100% - 315px)}
}

/* The 3D courtyard has its own mobile composition. The controller measures
   this arena after layout; portrait controls occupy a real row below it. */
#darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-shell{background:#18181a}
#darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-main{flex:1 1 0;min-height:0;overflow:hidden;padding:0!important}
#darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-play-column{display:flex;flex-direction:column;min-height:0;height:100%;width:100%!important;background:#18181a}
#darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-arena{position:relative;flex:1 1 0;min-height:0!important;max-height:none;width:100%!important;height:auto!important;aspect-ratio:auto!important;margin:0!important;padding:0!important;align-items:flex-start;justify-content:flex-start}
#darktober-survival-dialog.dts-has-world3d.dts-mobile .dts-touch-controls{background:none;border:0;box-shadow:none}
#darktober-survival-dialog.dts-has-world3d.dts-mobile .dts-touch-actions button{min-width:44px;min-height:44px!important;color:#eae8e6!important;border:1px solid #c4c2c044;background:linear-gradient(145deg,#323234ef,#222224ec);border-radius:9px;box-shadow:0 3px 12px #0003,inset 0 1px #e9e7e50b;font-family:var(--font-body,Inter,Arial,sans-serif)}
#darktober-survival-dialog.dts-has-world3d.dts-mobile .dts-touch-actions button:disabled{opacity:.48;filter:saturate(.35)}
#darktober-survival-dialog.dts-has-world3d.dts-mobile .dts-touch-actions button:is(:active,.dts-pressed):not(:disabled){background:#62413e;border-color:#eaa295;transform:scale(.96)}
#darktober-survival-dialog.dts-has-world3d.dts-mobile .dts-touch-actions :is(span,small){font-size:11px!important;letter-spacing:0!important;line-height:1.2}
#darktober-survival-dialog.dts-has-world3d.dts-mobile .dts-touch-actions .dts-touch-ability{background:linear-gradient(145deg,#493331f0,#2e2627ef);border-color:#dc857854}
#darktober-survival-dialog.dts-has-world3d.dts-mobile .dts-touch-actions .dts-touch-ability [data-dts-ability-name]{font-size:10px!important;line-height:1.15;white-space:normal;max-width:100%;overflow-wrap:anywhere}
#darktober-survival-dialog.dts-has-world3d.dts-mobile .dts-touch-actions .dts-touch-ability .dts-ability-symbol{font-size:18px!important;line-height:1}
#darktober-survival-dialog.dts-has-world3d.dts-mobile .dts-touch-actions .dts-touch-ability>b{font-size:10px;line-height:1}
#darktober-survival-dialog.dts-has-world3d.dts-mobile .dts-touch-actions .dts-touch-dash{background:radial-gradient(ellipse at 40% 15%,#ab645af5,#78453ff0);border-color:#efa69774;box-shadow:0 5px 18px #0005,inset 0 1px #fff0e926}
#darktober-survival-dialog.dts-has-world3d.dts-mobile .dts-touch-actions .dts-touch-emp{background:linear-gradient(145deg,#373739f0,#252527ec);border-color:#bbb9b744}
#darktober-survival-dialog.dts-has-world3d.dts-mobile .dts-joystick{border-color:#d7d5d34c;background:radial-gradient(circle,#d3d1cf0b 49%,#2f2f31d9 50%,#262628b8 69%,#d7d5d32c 70%);box-shadow:0 5px 20px #0003,inset 0 0 22px #cac8c60a;color:#d3d1cf}
#darktober-survival-dialog.dts-has-world3d.dts-mobile .dts-joystick-knob{border-color:#dddbd97d;background:radial-gradient(circle at 35% 25%,#8f8d8bf0,#545456ec);box-shadow:0 4px 12px #0005,inset 0 1px #edebe92b}
#darktober-survival-dialog.dts-has-world3d.dts-mobile .dts-touch-controls[hidden],
#darktober-survival-dialog.dts-has-world3d.dts-mobile:is(.dts-paused-open,.dts-upgrade-open,.dts-spectating,.dts-help-open) .dts-touch-controls{display:none!important}
#darktober-survival-dialog.dts-has-world3d.dts-mobile .dts-phone-view{z-index:4;min-height:44px;max-width:125px;padding:8px 12px;font-size:12px;background:#222224e0;border:1px solid #dcdad830;color:#e8e6e4;box-shadow:none}
#darktober-survival-dialog.dts-has-world3d.dts-mobile .dts-overlay{padding:18px!important;background:linear-gradient(145deg,#1a1a1cef,#1b1b1dd4);backdrop-filter:blur(4px)}
#darktober-survival-dialog.dts-has-world3d.dts-mobile .dts-overlay :is(button,a){min-height:44px}

@media(orientation:portrait){
 #darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield{--dts-touch-deck-height:154px}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-header{display:flex!important;align-items:center;flex-wrap:nowrap;gap:9px;position:relative;flex:0 0 66px!important;height:66px!important;min-height:66px!important;max-height:66px;margin:0!important;padding:6px 10px!important;border-bottom:1px solid #e1dfdd23;overflow:hidden}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-title{display:none!important}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-header-actions{position:static;order:2;flex:none;gap:0;margin:0}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-header-actions>:not([data-dts-pause]){display:none!important}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-header-actions [data-dts-pause]{display:block!important;min-width:47px;min-height:44px;height:44px;padding:5px 6px;font-size:12px!important;border-radius:5px}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-hud{display:grid!important;grid-template-columns:35px 50px minmax(46px,1fr) minmax(62px,1.2fr)!important;grid-template-rows:auto;align-items:center;flex:1 1 0;gap:8px!important;width:auto;height:auto!important;min-width:0;margin:0;padding:0!important}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-hud>div{min-width:0!important;padding:0!important;border:0!important}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-hud small{font-size:10px!important;line-height:1.3;letter-spacing:.025em!important;white-space:nowrap}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-hud strong{font-size:20px!important;line-height:1.1!important;letter-spacing:-.025em;margin-top:5px!important;font-variant-numeric:tabular-nums}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-hud>.dts-combat-hud{display:contents!important}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-hud :is(.dts-dash-stat,.dts-grenade-stat,.dts-operator-stat,.dts-kill-stat,.dts-ammo-state){display:none!important}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-ammo-stat{display:block!important;min-width:0}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-ammo-stat>small{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-ammo-values{display:flex;align-items:baseline;gap:3px}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-ammo-values>span,#darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-ammo-values b{font-size:11px!important;font-weight:500;color:#b7b5b3}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-hearts{gap:3px;margin-top:5px}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-hearts svg{width:14px;height:14px}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield :is(.dts-weapon-bar,.games-field-info,.games-top5-strip,.dts-arena-label){display:none!important}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-touch-controls{position:relative;inset:auto;display:flex!important;visibility:visible;flex:0 0 var(--dts-touch-deck-height);height:var(--dts-touch-deck-height);width:100%;align-items:center;justify-content:space-between;gap:14px;box-sizing:border-box;padding:13px 16px!important;margin:0;border-top:1px solid #e1dfdd27;background:linear-gradient(115deg,#262628,#1f1f21 60%,#252527);box-shadow:inset 0 8px 24px #0002;pointer-events:none}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-joystick{position:relative;inset:auto;width:112px;height:112px;flex:0 0 112px;margin:0}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-joystick>span:not(.dts-joystick-knob){font-size:10px;bottom:12px}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-touch-actions{position:relative;inset:auto;display:grid;grid-template-columns:52px 62px 62px;grid-template-rows:54px 54px;align-items:stretch;gap:7px;width:190px;height:115px;flex:none}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-touch-actions button{position:relative;width:100%!important;height:54px!important;min-height:44px;padding:4px!important;justify-self:stretch;align-self:stretch;gap:2px;border-radius:8px}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-touch-actions .dts-touch-reload{grid-column:1;grid-row:1}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-touch-actions .dts-touch-grenade{grid-column:1;grid-row:2}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-touch-actions .dts-touch-emp{grid-column:2;grid-row:1}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-touch-actions .dts-touch-ability{grid-column:2;grid-row:2}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-touch-actions .dts-touch-dash{grid-column:3;grid-row:1/3;height:115px!important;flex-direction:column;border-radius:28px;gap:7px}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-touch-actions .dts-touch-dash svg{width:25px;height:25px}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-phone-view{top:10px;left:10px;min-height:44px;display:block}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-wave-timer{top:10px;left:auto;right:10px;transform:none;width:136px;max-width:45%;padding:9px 10px 10px}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-wave-timer>div{font-size:10px;margin-bottom:6px}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-wave-timer strong{font-size:13px!important}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-wave-break{top:68px;left:50%;right:auto;transform:translateX(-50%);max-width:75%;width:190px;padding:9px 12px 14px}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-wave-break>strong{font-size:13px}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-wave-break>small,#darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-wave-break>span{font-size:10px}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-field-radio{left:12px;right:12px;bottom:10px;max-width:none;transform:none;padding:8px 10px}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-field-radio span{font-size:11px}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-mission-toast{top:auto;bottom:67px;left:12px;right:12px;max-width:none;width:auto;padding:9px 12px;font-size:12px}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-best-notice{top:67px;right:12px;max-width:calc(100% - 24px)}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-best-notice>span{font-size:11px}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-overlay{inset:0;z-index:7;overflow:auto}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-touch-controls[hidden],
 #darktober-survival-dialog.dts-has-world3d.dts-mobile:is(.dts-paused-open,.dts-upgrade-open,.dts-spectating,.dts-help-open) .dts-touch-controls{display:none!important}
}
@media(max-width:360px) and (orientation:portrait){
 #darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-header{gap:6px;padding-inline:8px!important}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-hud{grid-template-columns:30px 45px minmax(42px,1fr) minmax(58px,1.2fr)!important;gap:6px!important}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-hud strong{font-size:18px!important}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-touch-controls{padding-inline:12px!important;gap:10px}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-joystick{width:96px;height:96px;flex-basis:96px}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-touch-actions{grid-template-columns:48px 58px 56px;width:176px}
}
@media(orientation:landscape){
 #darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-header{min-height:50px!important;height:50px!important;flex:0 0 50px!important;padding:3px 10px!important}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-touch-controls{position:absolute;inset:0;align-items:flex-end;justify-content:space-between;padding:0 14px 12px!important;pointer-events:none}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-touch-actions{grid-template-columns:50px 58px 60px;grid-template-rows:49px 57px;gap:7px}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-touch-actions button{width:100%;height:49px;padding:3px;gap:3px}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-touch-actions .dts-touch-ability{width:58px;height:57px}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-touch-actions .dts-touch-dash{width:60px;height:60px}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-joystick{width:100px;height:100px}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile .games-top5-strip{flex:0 0 44px;min-height:44px;height:44px;max-height:44px;padding-inline:12px}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile .games-top5-strip .dts-live-top5-toggle{height:44px;min-height:44px}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile .games-top5-strip ol{height:62px!important;top:100%;background:#202022f5;border-color:#dcdad82c}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile .dts-field-radio{bottom:10px;left:130px;right:207px;transform:none;max-width:none;padding:6px 9px}
 #darktober-survival-dialog.dts-has-world3d.dts-mobile .dts-field-radio span{font-size:11px}
}
@media(prefers-reduced-motion:reduce){#darktober-survival-dialog.dts-has-world3d.dts-mobile .dts-touch-actions button{transition:none;transform:none!important}}
/* Health and ammunition now follow the operator; keep the phone header light. */
#darktober-survival-dialog.dts-has-world3d.dts-mobile.dts-mobile-playfield .dts-hud{grid-template-columns:54px minmax(64px,1fr)!important;gap:14px!important}
#darktober-survival-dialog.dts-mobile.dts-mobile-playfield .dts-hud>.dts-health-stat,#darktober-survival-dialog.dts-mobile.dts-mobile-playfield .dts-hud .dts-ammo-stat{display:none!important}
#darktober-survival-dialog.dts-mobile .dts-player-vitals{width:86px}

/* The same landscape gate covers embedded 3D play, pause and talent selection. */
#darktober-survival-dialog.dts-mobile.dts-mobile-portrait .dts-rotate-overlay{z-index:100}
#darktober-survival-dialog .dts-rotate-overlay[hidden]{display:none!important}
#darktober-survival-dialog.dts-mobile.dts-mobile-portrait .dts-touch-controls{display:none!important}
@media(orientation:landscape){
 #darktober-survival-dialog.dts-mobile.dts-mobile-playfield .dts-hud{grid-template-rows:1fr!important;align-content:center}
 #darktober-survival-dialog.dts-mobile.dts-mobile-playfield .dts-operator-stat{display:none!important}
 #darktober-survival-dialog.dts-mobile.dts-mobile-playfield:not(.dts-has-world3d) .dts-arena{width:100%!important;height:100%!important;aspect-ratio:auto!important}
 #darktober-survival-dialog.dts-mobile.dts-mobile-playfield .dts-phone-view{display:block;position:absolute;top:10px;left:10px;z-index:5;min-height:44px;max-width:125px;padding:8px 12px;font-size:12px;border-radius:7px;border:1px solid #dcdad830;background:#222224e0;color:#e8e6e4;touch-action:manipulation}
 #darktober-survival-dialog.dts-mobile:is(.dts-paused-open,.dts-upgrade-open,.dts-help-open) .dts-phone-view{display:none!important}
}

/* Phone refits use the actual armory markup, not the retired upgrade cards.
   Three complete choices share the available height. The full talent history
   remains in Pause; overflow is retained only for accessibility text zoom. */
@media(orientation:landscape) and (max-height:520px){
 #darktober-survival-dialog.dts-dialog.dts-mobile.dts-upgrade-open .dts-overlay{padding:6px 12px!important;align-items:center;justify-content:center;overflow:auto;backdrop-filter:none}
 #darktober-survival-dialog.dts-mobile.dts-upgrade-open .dts-field-workbench{display:grid;grid-template-rows:auto minmax(0,1fr) 44px;gap:6px;width:100%;height:100%;max-height:340px;min-height:0;margin:0!important;animation:none}
 #darktober-survival-dialog.dts-mobile.dts-upgrade-open :is(.dts-refit-arrival,.dts-refit-wave-index,.dts-bench-status,.dts-bench-intel,.dts-run-talents),
 #darktober-survival-dialog.dts-mobile.dts-upgrade-open .dts-field-workbench:before{display:none}
 #darktober-survival-dialog.dts-mobile.dts-upgrade-open .dts-bench-heading{display:block;min-height:32px;margin:0;padding:0;border:0}
 #darktober-survival-dialog.dts-mobile.dts-upgrade-open .dts-bench-heading>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:16px;align-items:center}
 #darktober-survival-dialog.dts-mobile.dts-upgrade-open .dts-bench-eyebrow{grid-column:1;grid-row:1;font-size:10px;line-height:12px;letter-spacing:.35px}
 #darktober-survival-dialog.dts-mobile.dts-upgrade-open .dts-bench-heading h3{grid-column:1;grid-row:2;margin:0!important;font-size:18px!important;line-height:20px!important;letter-spacing:-.45px!important}
 #darktober-survival-dialog.dts-mobile.dts-upgrade-open .dts-bench-heading p:not(.dts-bench-next-entry){display:none}
 #darktober-survival-dialog.dts-mobile.dts-upgrade-open .dts-bench-next-entry{grid-column:2;grid-row:1/3;max-width:280px;margin:0;justify-self:end;font-size:11px;line-height:1.3;text-align:right}
 #darktober-survival-dialog.dts-mobile.dts-upgrade-open .dts-bench-rack{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;min-height:0;align-items:stretch}
 #darktober-survival-dialog.dts-mobile.dts-upgrade-open .dts-bench-item{display:grid;grid-template-columns:minmax(0,1fr) 48px;grid-template-rows:16px auto minmax(0,1fr) 26px;gap:4px 6px;min-height:44px;min-width:0;padding:6px 10px;border:0;border-inline-start:1px solid #d7bfb32b;background:none;animation:none}
 #darktober-survival-dialog.dts-mobile.dts-upgrade-open .dts-bench-item:first-child{border-inline-start:0}
 #darktober-survival-dialog.dts-mobile.dts-upgrade-open .dts-bench-item:before{inset:0;background:linear-gradient(180deg,#e4c9ba12,transparent 78%);opacity:0}
 #darktober-survival-dialog.dts-mobile.dts-upgrade-open .dts-bench-item:is(.is-previewed,:focus-visible):before{opacity:1}
 #darktober-survival-dialog.dts-mobile.dts-upgrade-open .dts-bench-hanger{grid-column:1;grid-row:1;min-height:0;margin:0;align-items:center;font-size:10px;line-height:12px;letter-spacing:.15px}
 #darktober-survival-dialog.dts-mobile.dts-upgrade-open .dts-bench-hanger>span:first-child{display:none}
 #darktober-survival-dialog.dts-mobile.dts-upgrade-open .dts-bench-tier{flex-direction:row;align-items:center;gap:6px;font-size:10px}
 #darktober-survival-dialog.dts-mobile.dts-upgrade-open .dts-bench-tier i{display:none}
 #darktober-survival-dialog.dts-mobile.dts-upgrade-open .dts-bench-object{grid-column:2;grid-row:1/3;align-self:center;width:48px;height:48px;margin:0;filter:drop-shadow(0 3px 5px #0006);transform:none!important}
 #darktober-survival-dialog.dts-mobile.dts-upgrade-open .dts-bench-object:after{display:none}
 #darktober-survival-dialog.dts-mobile.dts-upgrade-open .dts-bench-copy{grid-column:1;grid-row:2;min-height:0;gap:0;align-self:center}
 #darktober-survival-dialog.dts-mobile.dts-upgrade-open .dts-bench-copy strong{font-size:16px;line-height:18px;letter-spacing:-.25px}
 #darktober-survival-dialog.dts-mobile.dts-upgrade-open .dts-bench-comparison{grid-column:1/-1;grid-row:3;justify-content:center;gap:2px;min-height:0;margin:0;padding:0}
 #darktober-survival-dialog.dts-mobile.dts-upgrade-open .dts-bench-benefit{min-height:0;gap:0 5px;margin:0;font-size:11px;line-height:14px}
 #darktober-survival-dialog.dts-mobile.dts-upgrade-open .dts-bench-benefit>strong{font-size:22px;line-height:24px;letter-spacing:-.5px}
 #darktober-survival-dialog.dts-mobile.dts-upgrade-open .dts-bench-benefit small{margin:0;font-size:10px;line-height:12px}
 #darktober-survival-dialog.dts-mobile.dts-upgrade-open .dts-bench-measure{font-size:10px;line-height:12px}
 #darktober-survival-dialog.dts-mobile.dts-upgrade-open :is(.dts-bench-values,.dts-frag-damage){display:flex;flex-wrap:nowrap;align-items:baseline;gap:4px;font-size:11px;line-height:17px;white-space:nowrap}
 #darktober-survival-dialog.dts-mobile.dts-upgrade-open .dts-bench-comparison :is(s,i){font-size:11px;line-height:17px}
 #darktober-survival-dialog.dts-mobile.dts-upgrade-open .dts-bench-comparison b{font-size:14px;line-height:17px;letter-spacing:0}
 #darktober-survival-dialog.dts-mobile.dts-upgrade-open .dts-bench-comparison small{font-size:10px;line-height:12px}
 #darktober-survival-dialog.dts-mobile.dts-upgrade-open .dts-frag-damage>small{flex-basis:auto;margin:0;white-space:normal}
 #darktober-survival-dialog.dts-mobile.dts-upgrade-open .dts-bench-equip{grid-column:1/-1;grid-row:4;min-height:26px;margin:0;padding:0;font-size:11px;line-height:15px;gap:5px}
 #darktober-survival-dialog.dts-mobile.dts-upgrade-open .dts-bench-equip kbd{display:none}
 #darktober-survival-dialog.dts-mobile.dts-upgrade-open .dts-bench-equip i{font-size:16px}
 #darktober-survival-dialog.dts-mobile.dts-upgrade-open .dts-bench-footer{min-height:44px;margin:0;gap:10px;font-size:11px;line-height:15px}
 #darktober-survival-dialog.dts-mobile.dts-upgrade-open .dts-bench-footer small{display:none}
 #darktober-survival-dialog.dts-mobile.dts-upgrade-open .dts-bench-footer .dts-upgrade-finish{min-height:44px;height:44px;margin:0;padding:0 0 0 12px;gap:7px;font-size:11px!important;line-height:15px}
}
@media(orientation:landscape) and (max-height:360px){
 #darktober-survival-dialog.dts-mobile.dts-upgrade-open .dts-bench-rack{gap:8px}
 #darktober-survival-dialog.dts-mobile.dts-upgrade-open .dts-bench-item{grid-template-columns:minmax(0,1fr);grid-template-rows:14px auto minmax(0,1fr) 24px;padding:4px 8px;row-gap:3px}
 #darktober-survival-dialog.dts-mobile.dts-upgrade-open .dts-bench-object{display:none}
 #darktober-survival-dialog.dts-mobile.dts-upgrade-open .dts-bench-copy strong{font-size:15px;line-height:17px}
 #darktober-survival-dialog.dts-mobile.dts-upgrade-open .dts-bench-benefit>strong{font-size:20px;line-height:21px}
 #darktober-survival-dialog.dts-mobile.dts-upgrade-open .dts-bench-benefit small{display:none}
 #darktober-survival-dialog.dts-mobile.dts-upgrade-open .dts-bench-equip{min-height:24px}
}

/* Phone briefing: every loadout value is visible before playing. The existing
   mobile input flag deliberately keeps these rules off desktop and hybrids. */
.ct-games-embed #darktober-survival-dialog.dts-mobile.dts-intro-open .dts-header {
  flex:0 0 44px!important;min-height:44px!important;height:44px;margin:0!important;padding:0 12px!important;
}
.ct-games-embed #darktober-survival-dialog.dts-mobile.dts-intro-open .dts-header h2 {font-size:16px!important;}
.ct-games-embed #darktober-survival-dialog.dts-mobile.dts-intro-open .dts-title>.dts-eyebrow {display:none;}
.ct-games-embed #darktober-survival-dialog.dts-mobile.dts-intro-open .dts-header-actions :is(button,.dts-close) {width:44px;height:44px;min-height:44px;min-width:44px;}
.ct-games-embed #darktober-survival-dialog.dts-mobile.dts-intro-open .dts-intro-panel {
  display:flex!important;flex-direction:column;gap:6px;min-height:0;
  padding:8px max(12px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))!important;
  overflow:auto!important;
}
.ct-games-embed #darktober-survival-dialog.dts-mobile.dts-intro-open .dts-roster {
  display:grid;grid-template-columns:minmax(80px,.8fr) minmax(0,1.8fr);grid-template-rows:auto minmax(min-content,1fr) auto 44px;
  flex:1 0 auto;height:auto;min-height:0;gap:6px 12px;width:100%;margin:0;
  background:linear-gradient(90deg,transparent 15%,#0e151ac9 34%,#0e151ae6);
}
.ct-games-embed #darktober-survival-dialog.dts-mobile.dts-intro-open :is(.dts-roster-layout,.dts-roster-info) {
  display:contents!important;overflow:visible!important;
}
.ct-games-embed #darktober-survival-dialog.dts-mobile.dts-intro-open :is(.dts-roster-heading,.dts-roster-info>.dts-eyebrow,.dts-roster-tagline,.dts-roster-footer,.dts-roster-guide,.dts-roster-info:before) {display:none!important;}
.ct-games-embed #darktober-survival-dialog.dts-mobile.dts-intro-open .dts-roster-info>h3 {
  grid-column:2;grid-row:1;align-self:end;margin:0!important;padding:2px 0;font-size:25px!important;line-height:1.1;
}
.ct-games-embed #darktober-survival-dialog.dts-mobile.dts-intro-open .dts-roster-stage {
  grid-column:1;grid-row:1/3;align-self:stretch;height:auto!important;min-height:120px!important;min-width:0;overflow:hidden;
}
.ct-games-embed #darktober-survival-dialog.dts-mobile.dts-intro-open .dts-roster-figure.is-current {
  inset:0 0 42px!important;width:100%;height:auto!important;margin:0;
}
.ct-games-embed #darktober-survival-dialog.dts-mobile.dts-intro-open :is(.dts-roster-figure.is-prev,.dts-roster-figure.is-next,.dts-roster-stage-label,.dts-roster-count,.dts-roster-figure figcaption) {display:none;}
.ct-games-embed #darktober-survival-dialog.dts-mobile.dts-intro-open .dts-roster-navigation {
  inset:auto 0 0;max-width:none;gap:0;margin:0;height:44px;
}
.ct-games-embed #darktober-survival-dialog.dts-mobile.dts-intro-open .dts-roster-navigation button {
  width:44px!important;height:44px!important;min-height:44px!important;padding:0;border-radius:4px;font-size:19px;
}
.ct-games-embed #darktober-survival-dialog.dts-mobile.dts-intro-open .dts-equipped-ability {
  grid-column:2;grid-row:2;align-self:start;min-width:0;margin:0;padding:8px 0;border-top:1px solid #d6c7aa40;border-bottom:0;
}
.ct-games-embed #darktober-survival-dialog.dts-mobile.dts-intro-open .dts-equipped-ability .dts-roster-ability-heading {gap:7px;}
.ct-games-embed #darktober-survival-dialog.dts-mobile.dts-intro-open .dts-equipped-ability .dts-ability-symbol {display:grid;width:30px;height:30px;padding:5px;}
.ct-games-embed #darktober-survival-dialog.dts-mobile.dts-intro-open .dts-equipped-ability .dts-roster-ability-heading small {font-size:9px;letter-spacing:.05em;margin:0 0 3px;}
.ct-games-embed #darktober-survival-dialog.dts-mobile.dts-intro-open .dts-equipped-ability .dts-roster-ability-heading small span {display:none;}
.ct-games-embed #darktober-survival-dialog.dts-mobile.dts-intro-open .dts-equipped-ability .dts-roster-ability-heading h4 {font-size:16px!important;line-height:1.15!important;text-wrap:initial;}
.ct-games-embed #darktober-survival-dialog.dts-mobile.dts-intro-open .dts-equipped-ability>p {font-size:12px!important;line-height:1.35!important;margin:6px 0!important;max-width:none;}
.ct-games-embed #darktober-survival-dialog.dts-mobile.dts-intro-open .dts-equipped-ability .dts-roster-ability-meta {gap:3px 10px;font-size:10px;line-height:1.3;margin:0;}
.ct-games-embed #darktober-survival-dialog.dts-mobile.dts-intro-open .dts-equipped-ability .dts-roster-ability-meta strong {font-size:12px;}
.ct-games-embed #darktober-survival-dialog.dts-mobile.dts-intro-open .dts-equipped-ability .dts-ability-activation {flex-basis:100%;font-size:10px;}
.ct-games-embed #darktober-survival-dialog.dts-mobile.dts-intro-open .dts-weapon-inspection {
  grid-column:1/-1;grid-row:3;min-width:0;margin:0;padding:8px 0;border-top:1px solid #ffffff20;border-bottom:0;
}
.ct-games-embed #darktober-survival-dialog.dts-mobile.dts-intro-open .dts-weapon-inspection>header {gap:8px;}
.ct-games-embed #darktober-survival-dialog.dts-mobile.dts-intro-open .dts-weapon-inspection>header>div {display:flex;align-items:baseline;gap:8px;min-width:0;}
.ct-games-embed #darktober-survival-dialog.dts-mobile.dts-intro-open .dts-weapon-inspection>header small {font-size:9px;letter-spacing:.04em;}
.ct-games-embed #darktober-survival-dialog.dts-mobile.dts-intro-open .dts-weapon-inspection h4 {font-size:16px;line-height:1.2;margin:0;}
.ct-games-embed #darktober-survival-dialog.dts-mobile.dts-intro-open :is(.dts-weapon-issue,.dts-weapon-baseline) {display:none;}
.ct-games-embed #darktober-survival-dialog.dts-mobile.dts-intro-open .dts-weapon-model {height:64px;min-height:0;}
.ct-games-embed #darktober-survival-dialog.dts-mobile.dts-intro-open .dts-weapon-model:after {display:none;}
.ct-games-embed #darktober-survival-dialog.dts-mobile.dts-intro-open .dts-weapon-stats {grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 12px;margin:8px 0 0;}
.ct-games-embed #darktober-survival-dialog.dts-mobile.dts-intro-open .dts-weapon-stats dt {min-height:26px;font-size:11px;line-height:1.2;}
.ct-games-embed #darktober-survival-dialog.dts-mobile.dts-intro-open .dts-weapon-stats dd {display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 4px;min-height:20px;margin:2px 0 4px;font-size:18px;line-height:1.1;white-space:normal;}
.ct-games-embed #darktober-survival-dialog.dts-mobile.dts-intro-open .dts-weapon-stats dd small {font-size:10px;white-space:nowrap;}
.ct-games-embed #darktober-survival-dialog.dts-mobile.dts-intro-open .dts-stat-track {height:2px;}
.ct-games-embed #darktober-survival-dialog.dts-mobile.dts-intro-open .dts-roster-tabs {
  grid-column:1/-1;grid-row:4;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));width:100%;height:44px;
  min-height:44px;gap:2px;margin:0;padding:0;overflow:visible!important;background:#11171be6;
}
.ct-games-embed #darktober-survival-dialog.dts-mobile.dts-intro-open .dts-roster-tabs .dts-roster-pick {
  display:flex!important;align-items:center;justify-content:center;min-width:0;min-height:44px;height:44px;margin:0;padding:4px 1px;
  border-radius:3px;gap:0;transform:none;
}
.ct-games-embed #darktober-survival-dialog.dts-mobile.dts-intro-open .dts-roster-pick>strong {font-size:11px!important;letter-spacing:0;}
.ct-games-embed #darktober-survival-dialog.dts-mobile.dts-intro-open .dts-roster-pick :is(small,span) {display:none;}
.ct-games-embed #darktober-survival-dialog.dts-mobile.dts-intro-open .dts-roster-pick:after {display:none;}
.ct-games-embed #darktober-survival-dialog.dts-mobile.dts-intro-open .dts-roster-launch {
  position:static!important;inset:auto!important;z-index:auto;flex:0 0 auto;align-self:flex-end;width:min(240px,100%);
  margin:0;padding:0;background:none;
}
.ct-games-embed #darktober-survival-dialog.dts-mobile.dts-intro-open .dts-roster-launch .dts-primary {
  width:100%;height:44px;min-height:44px!important;margin:0;padding:0 14px!important;border-radius:5px;font-size:13px!important;line-height:1.2;
}
@media(orientation:portrait) and (max-height:720px) {
  .ct-games-embed #darktober-survival-dialog.dts-mobile.dts-intro-open .dts-weapon-model {display:none;}
  .ct-games-embed #darktober-survival-dialog.dts-mobile.dts-intro-open .dts-equipped-ability>p {font-size:11px!important;}
}
@media(orientation:landscape) {
  .ct-games-embed #darktober-survival-dialog.dts-mobile.dts-intro-open .dts-intro-panel {
    display:grid!important;
    grid-template-columns:minmax(88px,.65fr) minmax(150px,1fr) minmax(240px,1.5fr);grid-template-rows:auto minmax(min-content,1fr) 44px;gap:4px 14px;
    background:linear-gradient(90deg,transparent 15%,#0e151ac9 34%,#0e151ae6);
  }
  .ct-games-embed #darktober-survival-dialog.dts-mobile.dts-intro-open .dts-roster {display:contents;}
  .ct-games-embed #darktober-survival-dialog.dts-mobile.dts-intro-open .dts-roster-tabs {grid-row:3;justify-self:start;width:calc(100% - 180px);}
  .ct-games-embed #darktober-survival-dialog.dts-mobile.dts-intro-open .dts-roster-launch {grid-column:1/-1;grid-row:3;justify-self:end;align-self:end;width:170px;}
  .ct-games-embed #darktober-survival-dialog.dts-mobile.dts-intro-open .dts-weapon-inspection {grid-column:3;grid-row:1/3;align-self:start;padding:0 0 0 12px;border:0;border-left:1px solid #ffffff20;}
  .ct-games-embed #darktober-survival-dialog.dts-mobile.dts-intro-open .dts-weapon-model {display:none;}
  .ct-games-embed #darktober-survival-dialog.dts-mobile.dts-intro-open .dts-weapon-inspection>header>div {flex-wrap:wrap;gap:2px 6px;}
  .ct-games-embed #darktober-survival-dialog.dts-mobile.dts-intro-open .dts-equipped-ability {padding:5px 0 0;}
  .ct-games-embed #darktober-survival-dialog.dts-mobile.dts-intro-open .dts-equipped-ability>p {font-size:11px!important;}
  .ct-games-embed #darktober-survival-dialog.dts-mobile.dts-intro-open .dts-weapon-stats {gap:6px 10px;margin-top:6px;}
  .ct-games-embed #darktober-survival-dialog.dts-mobile.dts-intro-open .dts-roster-info>h3 {font-size:23px!important;}
}
