/* packages/client/src/style.css */
:root {
  --bg:#0a0e16;
  --panel:#121a28;
  --line:#233149;
  --txt:#e6edf7;
  --dim:#8aa0bd;
  --cy:#37f0ff;
  --red:#ff5a5a;
  --grn:#46e08a;
  --gold:#ffd23f;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background:
    radial-gradient(
      1200px 600px at 50% -10%,
      #17233a,
      var(--bg));
  color: var(--txt);
  font:
    14px/1.4 system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
}
.app {
  max-width: 1040px;
  margin: 0 auto;
  padding: 10px 12px 40px;
}
h1 {
  margin: 0;
  font-size: 22px;
  letter-spacing: .18em;
}
h1 span {
  color: var(--cy);
  font-weight: 400;
  letter-spacing: .08em;
  font-size: 15px;
}
h2 {
  font-size: 13px;
  margin: 0 0 6px;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: .1em;
}
h2 small {
  text-transform: none;
  letter-spacing: 0;
  font-size: 12px;
}
.banner {
  margin: 4px 0 8px;
  color: var(--dim);
  font-size: 12px;
}
.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}
.controls label {
  display: flex;
  gap: 6px;
  align-items: center;
  color: var(--dim);
  font-size: 12px;
}
select,
button {
  background: var(--panel);
  color: var(--txt);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 10px;
  font: inherit;
  min-height: 36px;
}
button {
  cursor: pointer;
}
button:hover {
  border-color: var(--cy);
}
:focus-visible {
  outline: 2px solid var(--cy);
  outline-offset: 2px;
}
.stagebar {
  font-size: 12px;
  color: var(--dim);
  margin-bottom: 6px;
}
.stage {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #000;
}
.battlefield {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.bar {
  position: relative;
  height: 10px;
  background: #05080e;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.bar.big {
  height: 16px;
}
.bar i {
  display: block;
  height: 100%;
  background:
    linear-gradient(
      90deg,
      #2fbf73,
      #46e08a);
}
.boss .bar i {
  background:
    linear-gradient(
      90deg,
      #c43b3b,
      #ff6464);
}
.bar em {
  position: absolute;
  left: 0;
  top: 0;
  height: 4px;
  background: rgba(127, 227, 255, .95);
}
.bar .mark50 {
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  background: rgba(255, 255, 255, .6);
}
.boss {
  margin: 8px 0;
}
.boss .p2 {
  margin-left: 8px;
  background: #5a2a00;
  color: var(--gold);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 11px;
}
.en {
  display: grid;
  grid-template-columns: 150px 1fr 90px;
  gap: 8px;
  align-items: center;
}
.casts {
  display: grid;
  gap: 6px;
  margin: 6px 0;
}
.cast {
  border-left: 4px solid var(--red);
  padding: 4px 8px;
  background: #1a1114;
  border-radius: 4px;
}
.cast.int {
  border-color: var(--cy);
  background: #0f1c22;
}
.cast .bar i {
  background: var(--red);
}
.cast.int .bar i {
  background: var(--cy);
}
.party {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 8px 0;
}
.hero {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  min-width: 0;
}
.hero.down {
  opacity: .5;
}
.hero header {
  display: flex;
  justify-content: space-between;
  gap: 6px;
}
.hero small {
  color: var(--dim);
}
.chips {
  list-style: none;
  margin: 4px 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  min-height: 18px;
}
.chips li {
  background: #2a1d12;
  border: 1px solid #5a3a1a;
  padding: 0 5px;
  border-radius: 9px;
  font-size: 10px;
}
.chips li.good {
  background: #10281c;
  border-color: #1e6a44;
}
.chips li.bad {
  background: #2a1218;
  border-color: #6a1e2e;
}
.slots {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  font-size: 11px;
  color: var(--dim);
  display: grid;
  gap: 1px;
}
.slots li.next {
  color: var(--gold);
}
.timeline {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  margin: 8px 0;
}
.lane {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 8px;
  align-items: center;
  margin: 3px 0;
}
.who {
  font-size: 11px;
  color: var(--dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.track {
  position: relative;
  height: 22px;
  background: #070b12;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.track .win {
  position: absolute;
  top: 0;
  height: 100%;
  background: rgba(55, 240, 255, .25);
  border-left: 1px solid var(--cy);
}
.track .imp {
  position: absolute;
  top: 3px;
  transform: translateX(-50%);
  background: var(--gold);
  color: #111;
  font-size: 10px;
  padding: 0 4px;
  border-radius: 3px;
}
.track .imp.intr {
  background: var(--cy);
}
.track .now {
  position: absolute;
  top: -2px;
  bottom: -2px;
  width: 2px;
  background: #fff;
}
.logpanel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
}
.logpanel ol {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 220px;
  overflow: auto;
  font-size: 12px;
  font-family:
    ui-monospace,
    Menlo,
    Consolas,
    monospace;
}
.logpanel li {
  padding: 1px 0;
}
.logpanel time {
  color: var(--dim);
}
.logpanel .l-interrupt {
  color: var(--cy);
}
.logpanel .l-telegraph {
  color: #ffb86c;
}
.logpanel .l-phase,
.logpanel .l-death {
  color: var(--gold);
}
footer {
  margin-top: 10px;
  color: var(--dim);
  font-size: 11px;
}
.result {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(560px, 94%);
  height: fit-content;
  max-height: 94%;
  overflow: auto;
  background: rgba(8, 12, 20, .95);
  border: 2px solid var(--grn);
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 10px 60px #000;
}
.result.lose {
  border-color: var(--red);
}
.result h2 {
  font-size: 24px;
  color: var(--txt);
  letter-spacing: .2em;
}
.result table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  margin: 8px 0;
}
.result th,
.result td {
  text-align: right;
  padding: 2px 6px;
  border-bottom: 1px solid var(--line);
}
.result th:first-child,
.result td:first-child {
  text-align: left;
}
.intr-report {
  margin: 6px 0;
  padding-left: 0;
  list-style: none;
  font-size: 12px;
}
.intr-report .completed {
  color: #ff9b9b;
}
.intr-report .interrupted {
  color: var(--cy);
}
.hash {
  color: var(--dim);
  font-size: 11px;
}
.row {
  display: flex;
  gap: 8px;
}
@media (max-width: 700px) {
  .app {
    padding: 6px 8px 30px;
  }
  h1 {
    font-size: 18px;
  }
  .party {
    grid-template-columns: repeat(2, 1fr);
  }
  .lane {
    grid-template-columns: 70px 1fr;
  }
  .en {
    grid-template-columns: 100px 1fr 70px;
  }
  .controls label {
    font-size: 11px;
  }
  select {
    max-width: 46vw;
  }
  .result {
    position: static;
    width: 100%;
    margin-top: 8px;
  }
  .stage {
    overflow: visible;
    border: 0;
  }
  .battlefield {
    border: 1px solid var(--line);
    border-radius: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
.steps {
  display: flex;
  gap: 6px;
  margin: 4px 0 10px;
  flex-wrap: wrap;
}
.steps span {
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 12px;
  color: var(--dim);
}
.steps span.on {
  border-color: var(--cy);
  color: var(--txt);
  background: #0f1c22;
}
button.primary {
  background: #0f3a44;
  border-color: var(--cy);
  font-weight: 600;
}
.dim {
  color: var(--dim);
  font-size: 12px;
}
.planlabel {
  font-size: 12px;
  color: var(--gold);
}
.warnbar {
  background: #2a2110;
  border: 1px solid #6a5420;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 12px;
  margin: 6px 0;
}
.intelbox {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  margin: 8px 0;
}
.intelbox p {
  margin: 2px 0;
  font-size: 13px;
}
.intel {
  color: var(--gold);
  font-size: 12px;
  margin: 4px 0;
}
.tl {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px;
  margin: 8px 0;
  overflow-x: auto;
}
.tl svg {
  width: 100%;
  min-width: 720px;
  height: auto;
  display: block;
}
.tl .ax {
  stroke: #233149;
  stroke-width: 1;
}
.tl .ax.loop {
  stroke: #3a557a;
  stroke-dasharray: 3 3;
}
.tl .axl {
  fill: var(--dim);
  font-size: 10px;
}
.tl .evl {
  fill: var(--txt);
  font-size: 11px;
}
.tl .evl.dim {
  fill: var(--dim);
}
.tl .laneBg {
  fill: #070b12;
  stroke: var(--line);
}
.tl .mk {
  fill: #0a0e16;
  font-size: 10px;
  font-weight: 700;
  pointer-events: none;
}
.tl .now {
  stroke: #fff;
  stroke-width: 2;
}
.tl .mark {
  stroke: var(--red);
  stroke-width: 2;
  stroke-dasharray: 4 3;
}
.tl .mark.warn {
  stroke: var(--gold);
}
.tl .markx {
  fill: var(--red);
  font-size: 11px;
}
.tlkey {
  font-size: 11px;
  color: var(--dim);
  margin: 4px 2px;
}
.tlkey i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  vertical-align: -1px;
}
.coverage {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  margin: 8px 0;
}
.coverage ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 12px;
}
.coverage li.ok {
  color: var(--grn);
}
.coverage li.no {
  color: #ff9b9b;
}
.coverage li.na {
  color: var(--dim);
}
.seats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 8px 0;
}
.seat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  min-width: 0;
}
.seat header {
  display: flex;
  gap: 6px;
  align-items: baseline;
  flex-wrap: wrap;
}
.seat .own {
  margin-left: auto;
  font-size: 10px;
  color: var(--dim);
}
.seat label {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 12px;
  color: var(--dim);
  margin: 4px 0;
}
.slotsel {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: grid;
  gap: 4px;
}
.slotsel li {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 4px;
  align-items: center;
}
.slotsel select {
  width: 100%;
  min-height: 30px;
  font-size: 11px;
  padding: 3px 4px;
}
.cdot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin: 8px 0;
}
.results {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
}
.results h2.win {
  color: var(--grn);
}
.results h2.lose {
  color: var(--red);
}
.results h2 {
  font-size: 22px;
  letter-spacing: .15em;
}
.results h2 small {
  font-size: 12px;
  letter-spacing: 0;
  color: var(--dim);
}
.results h3 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--dim);
  margin: 12px 0 4px;
}
.results table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.results th,
.results td {
  text-align: right;
  padding: 3px 6px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.results th:first-child,
.results td:first-child,
.results td:nth-child(2),
.results th:nth-child(2) {
  text-align: left;
}
.results tr.cur td {
  background: #0f1c22;
}
.findings {
  margin: 0;
  padding-left: 18px;
  font-size: 12px;
}
.findings li {
  margin: 6px 0;
}
.findings li.critical {
  border-left: 3px solid var(--red);
  padding-left: 6px;
  list-style-position: inside;
}
.findings li.warn {
  border-left: 3px solid var(--gold);
  padding-left: 6px;
  list-style-position: inside;
}
.findings em {
  color: var(--cy);
  font-style: normal;
}
.badge {
  background: #2a1218;
  border: 1px solid #6a1e2e;
  border-radius: 9px;
  padding: 0 7px;
  font-size: 10px;
}
.findings time {
  color: var(--dim);
}
.infos {
  font-size: 11px;
  color: var(--dim);
}
.bview .stage {
  margin: 6px 0;
}
@media (max-width: 900px) {
  .seats {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .seats {
    grid-template-columns: 1fr;
  }
  .results table {
    display: block;
    overflow-x: auto;
  }
}
.squadbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 10px;
  margin: 6px 0;
  font-size: 12px;
}
.squadbar b {
  color: var(--cy);
}
.notice {
  color: var(--gold);
}
.seatwrap {
  min-width: 0;
}
.readyrow {
  margin: 4px 0 0 4px;
}
.proposals {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  margin: 8px 0;
}
.proposals ul {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  font-size: 12px;
}
.proposals li {
  padding: 3px 0;
  border-bottom: 1px solid var(--line);
}
.proposals li[data-status=accepted] {
  color: var(--grn);
}
.proposals li[data-status=rejected] {
  color: var(--dim);
}
.proposals input {
  flex: 1;
  min-width: 160px;
  min-height: 36px;
  background: var(--panel);
  color: var(--txt);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px 8px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0;
}
.chip {
  border: 1px solid;
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 12px;
  background: #0b1522;
}
.encbox {
  border-left: 3px solid #ffd23f;
  padding: 4px 10px;
  margin: 6px 0;
  background: #10192a;
}
.encbox ul {
  margin: 4px 0 0 18px;
  padding: 0;
}
.encbox li {
  font-size: 13px;
  margin: 2px 0;
}
.mv {
  display: inline-flex;
  flex-direction: column;
  margin-right: 4px;
}
.mv button {
  font-size: 9px;
  line-height: 9px;
  padding: 0 3px;
  min-height: 0;
  height: 11px;
}
.evl.pol {
  fill: #ff9f43;
  font-size: 10px;
}
.campnav {
  align-items: center;
}
.campnav button.on {
  border-color: var(--cy);
  color: var(--cy);
}
.campnav .res {
  margin-left: auto;
  font-size: 12px;
  color: var(--dim);
}
.campnav .res b {
  color: var(--txt);
}
.startbox {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px;
  margin: 10px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.startbox .row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chart {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 12px;
  align-items: start;
}
@media (max-width: 900px) {
  .chart {
    grid-template-columns: 1fr;
  }
}
.sector {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 10px;
  margin-bottom: 6px;
}
.sector h3 {
  margin: 0 0 4px;
  font-size: 13px;
}
.sector h3 small {
  color: var(--dim);
  font-weight: 400;
}
.tiles {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 4px;
}
.tile {
  position: relative;
  min-height: 40px;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-radius: 6px;
  font-size: 12px;
}
.tile b {
  font-weight: 600;
}
.tile i {
  color: var(--gold);
  font-style: normal;
  font-size: 11px;
}
.tile em {
  position: absolute;
  right: 1px;
  bottom: 0;
  font-size: 9px;
  font-style: normal;
}
.tile.cleared {
  border-color: #2a6a4a;
  background: #0f2a20;
}
.tile.current {
  border-color: var(--cy);
  background: #0f3a44;
  box-shadow: 0 0 0 1px var(--cy);
}
.tile.locked {
  opacity: .45;
}
.tile.boss {
  border-width: 2px;
}
.tile.sel {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}
.stagepanel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  position: sticky;
  top: 8px;
}
.stagepanel h3 {
  margin: 0 0 2px;
}
.stagepanel .row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 6px 0;
}
.kv {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.kv th {
  text-align: left;
  color: var(--dim);
  font-weight: 400;
  padding: 2px 6px 2px 0;
  width: 92px;
  vertical-align: top;
}
.kv td {
  padding: 2px 0;
}
.ok {
  color: var(--grn);
}
.warn {
  color: #ffb86c;
}
.notice {
  color: var(--gold);
  font-size: 12px;
}
.hangar {
  display: grid;
  gap: 10px;
}
.chartabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.chartabs button.on {
  border-color: var(--cy);
  color: var(--cy);
}
.chartabs small {
  color: var(--dim);
}
.hcard {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
}
.hcard h2 button {
  margin-left: 8px;
  min-height: 26px;
  padding: 2px 8px;
}
.slotgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
@media (max-width: 800px) {
  .slotgrid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.slotcell {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.slotcell b {
  text-transform: capitalize;
  font-size: 12px;
}
.slotcell select {
  max-width: 100%;
}
.slotcell button {
  min-height: 28px;
  padding: 2px 6px;
  font-size: 12px;
}
.item {
  display: inline-block;
  border: 1px solid;
  border-radius: 10px;
  padding: 1px 8px;
  font-size: 12px;
  background: #0b1522;
}
.item b {
  color: var(--txt);
}
.inv {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: grid;
  gap: 4px;
  font-size: 12px;
}
.inv li {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.inv button {
  min-height: 26px;
  padding: 1px 8px;
}
.reward {
  background: #0f2a20;
  border: 1px solid #2a6a4a;
  border-radius: 8px;
  padding: 6px 12px;
  margin: 6px 0;
}
.reward h3 {
  margin: 0 0 4px;
}
.reward p {
  margin: 0;
}
.slotsel li {
  grid-template-columns: 10px auto 1fr;
}
.hangar .slotsel li {
  display: block;
}
.hangar .slotsel select {
  width: 100%;
  max-width: 420px;
}
.devbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  background: var(--panel);
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 6px 10px;
  margin: 6px 0;
  font-size: 12px;
}
.devbar .who {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}
.devbar button.on {
  border-color: var(--cy);
  color: var(--cy);
}
.devbar button {
  min-height: 28px;
  padding: 2px 8px;
}
.homegrid {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}
@media (min-width: 980px) {
  .homegrid {
    grid-template-columns: 1.3fr 1fr;
  }
  .homegrid > section:last-child {
    grid-column: 1 / -1;
  }
}
.seats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
  margin: 8px 0;
}
.seat {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: #0d1520;
}
.seat[data-online=false] {
  opacity: .8;
  border-style: dashed;
}
.badge {
  align-self: flex-start;
  font-size: 11px;
  border-radius: 10px;
  padding: 0 8px;
  border: 1px solid var(--line);
}
.badge.online {
  color: var(--grn);
  border-color: var(--grn);
}
.badge.offline {
  color: #ffb86c;
  border-color: #ffb86c;
}
.badge.bot {
  color: var(--dim);
}
.huntbox {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}
.huntbtn {
  font-size: 16px;
  min-height: 44px;
  padding: 6px 22px;
}
.inbox {
  list-style: none;
  margin: 4px 0;
  padding: 0 0 0 8px;
  font-size: 12px;
  color: var(--gold);
}
.rot .row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.rot button.on {
  border-color: var(--cy);
  color: var(--cy);
}
.gameapp {
  max-width: 1180px;
}
.gametop {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.gametop .who {
  margin-left: auto;
  font-size: 13px;
  color: var(--dim);
}
.linkbtn {
  background: none;
  border: none;
  color: var(--cy);
  text-decoration: underline;
  cursor: pointer;
  min-height: 0;
  padding: 2px 6px;
  font-size: 12px;
}
.warnbtn {
  border-color: #ffb86c;
  color: #ffb86c;
}
.authbox {
  max-width: 420px;
  margin: 18px auto;
}
.authbox label,
.startbox label {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 13px;
}
.authbox .row button.on {
  border-color: var(--cy);
  color: var(--cy);
}
.gatecols {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.classgrid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin: 10px 0;
}
.classcard {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-align: left;
  padding: 10px 12px;
  min-height: 96px;
}
.classcard.on {
  box-shadow: 0 0 0 2px var(--cy) inset;
}
.classcard small {
  color: var(--dim);
}
.rolepill {
  font-size: 11px;
  padding: 0 8px;
  border-radius: 10px;
  color: #06101c;
  font-weight: 700;
}
.firststeps {
  border-color: var(--gold);
}
.firststeps ol {
  margin: 4px 0;
  padding-left: 20px;
}
.firststeps li {
  margin: 4px 0;
}
.firststeps h2 .linkbtn {
  float: right;
}
.scenebar {
  font-size: 13px;
  padding: 4px 2px;
}
.scenebar .sep {
  color: var(--line);
  margin: 0 6px;
}
.bfwrap {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #070b12;
}
.battlefield.live {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 960 / 540;
}
.bfbar {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  padding: 5px 10px;
  font-size: 12px;
  background: rgba(8, 12, 20, .85);
}
.bfbar button {
  min-height: 26px;
  padding: 2px 10px;
  margin-left: auto;
}
.squadstrip {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, 1fr);
  margin: 8px 0;
}
@media (max-width: 760px) {
  .squadstrip {
    grid-template-columns: repeat(2, 1fr);
  }
}
.sq {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: var(--panel);
  font-size: 13px;
}
.sq.off {
  border-style: dashed;
  opacity: .85;
}
.hpbar {
  height: 7px;
  background: #0b1220;
  border-radius: 4px;
  overflow: hidden;
}
.hpbar i {
  display: block;
  height: 100%;
  background: var(--grn);
  transition: width .3s;
}
.homecols {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 860px) {
  .homecols {
    grid-template-columns: 1fr;
  }
}
.huntcard {
  border-color: #ff7a45;
}
.huntcard .huntbtn {
  font-size: 20px;
  letter-spacing: 2px;
  min-height: 52px;
  width: 100%;
  margin: 6px 0;
}
.huntresult.win {
  border-color: var(--grn);
}
.huntresult.loss {
  border-color: #ff7676;
}
.notices {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px 10px;
  margin: 6px 0;
}
.notices p {
  margin: 3px 0;
}
.rotline {
  position: relative;
  height: 34px;
  margin: 10px 4px 18px;
  border-bottom: 2px solid var(--line);
}
.rotmark {
  position: absolute;
  bottom: -9px;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--cy);
  color: #06101c;
  font-weight: 700;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rotscale {
  position: absolute;
  top: 22px;
  left: 0;
  font-size: 10px;
  color: var(--dim);
  font-style: normal;
}
.rotscale.end {
  left: auto;
  right: 0;
}
.richslots li {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.richslots select {
  min-width: 220px;
}
.skilltext {
  font-size: 12px;
  color: var(--dim);
  flex: 1 1 260px;
}
.skilltext em {
  font-style: normal;
  color: var(--gold);
}
.routesvg {
  width: 100%;
  height: auto;
}
.planet {
  cursor: pointer;
  outline: none;
}
.planet:focus-visible circle {
  stroke-width: 5;
}
.pulse {
  animation: pulse 1.4s infinite;
}
@keyframes pulse {
  50% {
    opacity: .25;
  }
}
.starmap {
  display: grid;
  gap: 10px;
  grid-template-columns: 1.5fr 1fr;
}
@media (max-width: 900px) {
  .starmap {
    grid-template-columns: 1fr;
  }
}
.stagerow {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 6px;
  margin-top: 8px;
}
@media (max-width: 640px) {
  .stagerow {
    grid-template-columns: repeat(5, 1fr);
  }
}
.stagenode {
  position: relative;
  min-height: 54px;
  padding: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  border-radius: 10px;
}
.stagenode.cleared {
  border-color: var(--grn);
}
.stagenode.current {
  border-color: var(--cy);
  box-shadow: 0 0 10px var(--cy);
}
.stagenode.locked {
  opacity: .55;
}
.stagenode.boss {
  border-color: var(--gold);
  background: #1b1830;
}
.stagenode.sel {
  outline: 2px solid var(--cy);
}
.stagenode i {
  position: absolute;
  top: 1px;
  right: 4px;
  color: var(--gold);
  font-style: normal;
}
.stagenode em {
  font-style: normal;
  font-size: 11px;
}
.stagenode u {
  position: absolute;
  bottom: -8px;
  background: #0d2a36;
  color: var(--cy);
  font-size: 9px;
  padding: 0 4px;
  border-radius: 6px;
  text-decoration: none;
}
.code {
  font-family:
    ui-monospace,
    Menlo,
    Consolas,
    monospace;
  font-size: 20px;
  letter-spacing: 3px;
  color: var(--cy);
}
.roster td,
.roster th {
  padding: 4px 8px;
}
.homemain {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 2fr) minmax(290px, 1fr);
  align-items: start;
}
@media (max-width: 960px) {
  .homemain {
    grid-template-columns: 1fr;
  }
}
.homeleft,
.homeright {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.homeright .hcard {
  margin: 0;
}
.stagenode.boss {
  margin: 0;
}
.huntlive,
.replayview {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.huntlive-head {
  font-size: 14px;
  padding: 4px 2px;
}
.huntlive-head b {
  color: var(--gold);
}
.livehud {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.livehud .party {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
@media (max-width: 860px) {
  .livehud .party {
    grid-template-columns: repeat(2, 1fr);
  }
}
.feed {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 10px;
}
.feed ol,
.eventlog {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 12px;
  max-height: 210px;
  overflow: auto;
}
.feed li,
.eventlog li {
  padding: 1px 0;
}
.feed time,
.eventlog time {
  color: var(--dim);
  margin-right: 6px;
  font-variant-numeric: tabular-nums;
}
.feed li.good,
.eventlog li.good {
  color: var(--grn);
}
.feed li.bad,
.eventlog li.bad {
  color: #ff9a9a;
}
.feed li.gold,
.eventlog li.gold {
  color: var(--gold);
}
.lanes summary {
  cursor: pointer;
  font-size: 12px;
  color: var(--dim);
  margin: 4px 0;
}
.replay-controls {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.replay-controls input[type=range] {
  width: 220px;
}
.diagnosis h3 {
  margin: 10px 0 4px;
  font-size: 13px;
}
.diagnosis ul {
  margin: 4px 0;
  padding-left: 18px;
}
.diagnosis li {
  margin: 5px 0;
  font-size: 13px;
}
.find.critical {
  border-left: 3px solid #ff6a6a;
  padding-left: 8px;
  list-style: none;
  margin-left: -18px;
}
.find.warn {
  border-left: 3px solid #ffb86c;
  padding-left: 8px;
  list-style: none;
  margin-left: -18px;
}
.find.info {
  color: var(--dim);
}
.build {
  font-size: 12px;
  color: var(--txt);
  margin-top: 2px;
}
.slotups {
  list-style: none;
  margin: 6px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.slotups li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.slotups li span {
  flex: 1 1 220px;
}
.buildstamp {
  margin: 14px 0 6px;
  text-align: center;
  font-size: 11px;
  color: #6f7f99;
  letter-spacing: .04em;
  user-select: text;
}
.newbuild {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 10px 14px;
  text-align: center;
  background: #12354f;
  color: #e8f6ff;
  border-bottom: 1px solid #3aa6ff;
  font-size: 14px;
}
.newbuild button {
  margin-left: 10px;
  padding: 4px 12px;
  border-radius: 6px;
  border: 1px solid #3aa6ff;
  background: #1b5d8c;
  color: #fff;
  cursor: pointer;
}
.panel-error {
  margin: 12px 0;
  padding: 12px 14px;
  border: 1px solid #b5772b;
  border-radius: 8px;
  background: #2a1f10;
  color: #ffe9c7;
  font-size: 14px;
}
.panel-error.full {
  max-width: 560px;
  margin: 48px auto;
  font-size: 16px;
}
.panel-error .row {
  margin: 8px 0 4px;
}
.panel-error pre {
  margin: 6px 0 0;
  white-space: pre-wrap;
  font-size: 12px;
  color: #d9c3a0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
kbd {
  padding: 1px 6px;
  border: 1px solid #34507f;
  border-bottom-width: 2px;
  border-radius: 5px;
  background: #0f1c3d;
  font: 12px/1.4 ui-monospace, monospace;
}
.skillcard {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 112px;
  padding: 3px;
  border: 2px solid var(--rc, #6c7a94);
  border-radius: 10px;
  background: linear-gradient(#0f1c3d, #0a1230);
  color: #e8f1ff;
  text-align: left;
  cursor: grab;
  font: inherit;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  touch-action: manipulation;
  transition:
    transform .12s ease,
    box-shadow .12s ease,
    opacity .12s;
}
.skillcard:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 0 12px var(--rc);
}
.skillcard:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}
.skillcard:disabled {
  cursor: default;
}
.skillcard .art {
  display: block;
  border-radius: 7px;
  overflow: hidden;
  line-height: 0;
}
.skillcard .art svg {
  width: 100%;
  height: auto;
  display: block;
}
.skillcard .nm {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.15;
  padding: 4px 3px 1px;
  min-height: 2.3em;
}
.skillcard .meta {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  font-size: 11px;
  padding: 0 3px 3px;
  color: #9db1d6;
}
.skillcard .meta .cl {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.skillcard .meta .lv {
  white-space: nowrap;
  flex: none;
}
.skillcard .fx {
  position: absolute;
  top: 6px;
  left: 6px;
  display: block;
  padding: 3px;
  line-height: 0;
  color: #fff;
  background: rgba(6, 12, 30, .82);
  border: 1px solid var(--rc);
  border-radius: 6px;
}
.skillcard .rank {
  position: absolute;
  top: 6px;
  right: 6px;
  padding: 1px 4px;
  font-size: 10px;
  letter-spacing: -1px;
  color: var(--rc);
  background: rgba(6, 12, 30, .82);
  border-radius: 6px;
}
.skillcard .slotbadge {
  position: absolute;
  left: 7px;
  top: 80px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--rc);
  color: #07101f;
  font-weight: 800;
  font-size: 13px;
}
.skillcard .slotlv {
  position: absolute;
  right: 7px;
  top: 84px;
  padding: 1px 5px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(6, 12, 30, .85);
  border-radius: 6px;
}
.skillcard .upbadge {
  position: absolute;
  top: -9px;
  right: -9px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffd23f;
  color: #1a1205;
  font-size: 12px;
  font-weight: 800;
  animation: upbeat 1.4s ease-in-out infinite;
}
.skillcard .elsewhere-tag {
  position: absolute;
  right: 7px;
  top: 86px;
  padding: 1px 5px;
  font-size: 10px;
  background: rgba(6, 12, 30, .85);
  border-radius: 6px;
  color: #9db1d6;
}
.skillcard.equipped {
  box-shadow: 0 0 0 2px var(--rc), 0 0 14px var(--rc);
}
.skillcard.selected {
  outline: 2px solid #fff;
  transform: translateY(-3px);
  box-shadow: 0 0 0 3px var(--rc), 0 0 18px var(--rc);
}
.skillcard.locked .art {
  filter: grayscale(.9) brightness(.55);
}
.skillcard.locked .nm,
.skillcard.locked .meta {
  color: #8191b3;
}
.skillcard.other {
  opacity: .6;
}
.skillcard.dragging {
  opacity: .35;
}
.skillcard.sz-sm {
  width: 64px;
  padding: 2px;
  border-radius: 8px;
}
.skillcard.sz-sm .slotbadge,
.skillcard.sz-sm .slotlv {
  display: none;
}
.skillcard.r-epic::after,
.skillcard.r-legendary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  pointer-events: none;
  background:
    linear-gradient(
      115deg,
      transparent 40%,
      rgba(255, 255, 255, .28) 50%,
      transparent 60%);
  background-size: 260% 100%;
  animation: shine 3.4s linear infinite;
}
.skillcard.r-legendary {
  box-shadow: 0 0 10px var(--rc);
}
.skillcard.fl-snap {
  animation: snap .22s ease-out;
}
.skillcard.fl-swap {
  animation: swapin .4s ease;
}
.skillcard.fl-remote {
  animation: remotepulse 1.5s ease;
}
.skillcard.fl-shake,
.slot.fl-shake {
  animation: shake .42s ease;
  border-color: #ff5c6c;
  box-shadow: 0 0 0 2px #ff5c6c;
}
.skillcard.fl-rankup {
  animation: rankup 1.3s ease;
}
@keyframes snap {
  0% {
    transform: scale(1.16);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes swapin {
  0% {
    transform: translateX(-14px) scale(.96);
    opacity: .5;
  }
  60% {
    transform: translateX(5px);
    opacity: 1;
  }
  100% {
    transform: none;
  }
}
@keyframes remotepulse {
  0%, 100% {
    box-shadow: 0 0 0 2px var(--rc);
  }
  30% {
    box-shadow: 0 0 0 4px #5ff3ff, 0 0 22px #5ff3ff;
  }
}
@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-6px);
  }
  40% {
    transform: translateX(6px);
  }
  60% {
    transform: translateX(-4px);
  }
  80% {
    transform: translateX(4px);
  }
}
@keyframes rankup {
  0% {
    transform: scale(.9);
    box-shadow: 0 0 0 0 #ffd23f;
  }
  35% {
    transform: scale(1.14);
    box-shadow: 0 0 0 6px #ffd23f, 0 0 26px #ffd23f;
  }
  100% {
    transform: scale(1);
  }
}
@keyframes shine {
  0% {
    background-position: 160% 0;
  }
  100% {
    background-position: -60% 0;
  }
}
@keyframes upbeat {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.18);
  }
}
.deck {
  margin-top: 10px;
}
.decknote {
  margin: 6px 0;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
}
.decknote.ok {
  background: rgba(70, 224, 138, .12);
  border: 1px solid rgba(70, 224, 138, .4);
}
.decknote.bad {
  background: rgba(255, 92, 108, .14);
  border: 1px solid rgba(255, 92, 108, .5);
}
.slots ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 8px 0;
}
.slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 6px;
  border: 2px dashed #34507f;
  border-radius: 12px;
  background: rgba(15, 28, 61, .6);
  transition:
    border-color .12s,
    background .12s,
    box-shadow .12s;
}
.slot.over {
  border-style: solid;
  border-color: #5ff3ff;
  background: rgba(95, 243, 255, .12);
  box-shadow: 0 0 18px rgba(95, 243, 255, .45);
}
.slot.picked {
  border-style: solid;
  border-color: #fff;
}
.slothead {
  display: flex;
  justify-content: space-between;
  width: 112px;
  max-width: 100%;
  font-size: 13px;
}
.slotempty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 168px;
  border: 2px dashed #34507f;
  border-radius: 10px;
  background: transparent;
  color: #7f93b8;
  font: inherit;
  cursor: pointer;
}
.slotempty span {
  font-weight: 700;
  font-size: 15px;
}
.slotctl {
  display: flex;
  gap: 6px;
}
.slotctl button {
  min-width: 38px;
  height: 34px;
}
.slotlevel {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}
.timeline {
  margin: 12px 0 4px;
}
.tl-lane {
  position: relative;
}
.tl-lane.needs {
  height: 24px;
  background: rgba(15, 28, 61, .6);
  border-radius: 6px;
}
.need {
  position: absolute;
  height: 5px;
  border-radius: 3px;
}
.need.ok {
  background: #46e08a;
}
.need.miss {
  background: #ff5c6c;
}
.need.mine {
  box-shadow: 0 0 0 1px #fff;
}
.tl-lane.marks {
  height: 44px;
  border-top: 1px solid #2a3f6b;
  margin: 0 14px;
}
.mark {
  position: absolute;
  top: 4px;
  transform: translateX(-50%);
  text-align: center;
}
.mark b {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #5ff3ff;
  color: #06101f;
  font-size: 12px;
}
.mark i {
  display: block;
  font-size: 11px;
  font-style: normal;
  color: #9db1d6;
}
.tl-scale {
  display: flex;
  justify-content: space-between;
  margin: 0 14px;
  font-size: 11px;
  color: #7f93b8;
}
.needs ul {
  list-style: none;
  padding: 0;
  margin: 6px 0;
  font-size: 14px;
}
.needs li.ok b {
  color: #46e08a;
}
.needs li.miss b {
  color: #ff5c6c;
}
.keyhelp {
  font-size: 12.5px;
}
.offsets {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 6px 0;
}
.offsets button {
  min-width: 52px;
  height: 34px;
}
.offsets button.on {
  background: #1b5d8c;
  color: #fff;
}
.compare .cmprow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 6px 0;
}
.cmprow > button {
  width: 62px;
  height: 34px;
}
.cmprow > button.on {
  background: #1b5d8c;
  color: #fff;
  font-weight: 700;
}
.cmpcell {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 82px;
  padding: 3px;
  border: 1px solid #2a3f6b;
  border-radius: 8px;
  font-size: 11px;
}
.cmpcell.diff {
  border-color: #ffd23f;
  background: rgba(255, 210, 63, .08);
}
.cmpcell svg,
.emptyart {
  width: 38px;
  height: 38px;
  border-radius: 5px;
}
.emptyart {
  display: block;
  border: 1px dashed #34507f;
}
.cmpcell small {
  margin-top: 2px;
  text-align: center;
  line-height: 1.1;
}
.segmented {
  display: inline-flex;
  margin: 8px 0;
  border: 1px solid #34507f;
  border-radius: 10px;
  overflow: hidden;
}
.segmented button {
  padding: 9px 16px;
  background: #0f1c3d;
  color: #cfe0ff;
  border: 0;
  border-right: 1px solid #34507f;
  border-radius: 0;
  font: inherit;
  cursor: pointer;
}
.segmented button:last-child {
  border-right: 0;
}
.segmented button.on {
  background: #1b5d8c;
  color: #fff;
  font-weight: 700;
}
.deckgrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 14px;
  align-items: start;
  margin-top: 12px;
}
.detailcol {
  position: sticky;
  top: 8px;
}
.collection h3,
.compare h3,
.needs h3 {
  margin: 10px 0 4px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 6px 0;
}
.chips button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 34px;
  padding: 4px 11px;
  border: 1px solid #34507f;
  border-radius: 999px;
  background: #0f1c3d;
  color: #cfe0ff;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.chips button.on {
  background: var(--accent, #1b5d8c);
  color: #06101f;
  border-color: transparent;
  font-weight: 700;
}
.tog {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(116px, 1fr));
  gap: 12px;
  justify-items: center;
  margin-top: 8px;
}
.carddetail {
  padding: 12px;
  border: 1px solid #34507f;
  border-radius: 12px;
  background: rgba(15, 28, 61, .7);
}
.carddetail h3 {
  margin: 0 0 4px;
}
.carddetail .dtop {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.carddetail .dtop svg {
  flex: none;
  border-radius: 10px;
}
.dstats {
  list-style: none;
  padding: 0;
  margin: 8px 0;
  font-size: 13.5px;
  line-height: 1.4;
}
.dstats li {
  margin: 4px 0;
}
.dactions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.dactions button {
  min-height: 36px;
}
.dragghost {
  position: fixed;
  z-index: 1000;
  pointer-events: none;
  transform: translate(-50%, -60%) scale(1.15) rotate(-3deg);
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .6));
}
body.carddrag,
body.carddrag * {
  cursor: grabbing !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}
.reveal-back {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(3, 7, 18, .84);
}
.reveal {
  max-width: 440px;
  padding: 18px;
  text-align: center;
  border: 2px solid var(--rc);
  border-radius: 16px;
  background: #0d1936;
  box-shadow: 0 0 40px var(--rc);
}
.reveal .flip {
  perspective: 800px;
  display: inline-block;
  margin: 10px 0 18px;
}
.reveal .flipin {
  animation: flipin .8s ease-out both;
  transform-style: preserve-3d;
}
.reveal .skillcard {
  width: 150px;
}
.reveal.r-epic,
.reveal.r-legendary {
  animation: revealglow 1.6s ease-in-out infinite;
}
@keyframes flipin {
  0% {
    transform: rotateY(180deg) scale(.7);
    opacity: 0;
  }
  100% {
    transform: rotateY(0) scale(1.1);
    opacity: 1;
  }
}
@keyframes revealglow {
  0%, 100% {
    box-shadow: 0 0 30px var(--rc);
  }
  50% {
    box-shadow: 0 0 60px var(--rc);
  }
}
@media (max-width: 860px) {
  .deckgrid {
    grid-template-columns: 1fr;
  }
  .detailcol {
    position: static;
    order: -1;
  }
}
@media (max-width: 640px) {
  .slots ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .skillcard {
    width: 108px;
  }
  .cards {
    grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
  }
  .segmented button {
    padding: 9px 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .skillcard,
  .skillcard::after,
  .skillcard .upbadge,
  .reveal,
  .reveal .flipin,
  .slot {
    animation: none !important;
    transition: none !important;
  }
}
.bf3d {
  position: relative;
  width: 100%;
  aspect-ratio: 960 / 540;
  background: #070b12;
  overflow: hidden;
}
.bf3d canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.bf3d .bf3d-hud {
  pointer-events: none;
}
.gfxpick {
  position: absolute;
  right: 8px;
  top: 8px;
  font-size: 11px;
  color: #cfe6ff;
  background: rgba(5, 10, 20, .65);
  padding: 3px 8px;
  border-radius: 6px;
  display: flex;
  gap: 6px;
  align-items: center;
  z-index: 3;
}
.gfxpick select {
  font-size: 11px;
  background: #0d1626;
  color: #cfe6ff;
  border: 1px solid #2b3e5c;
  border-radius: 4px;
}
.gfxnote {
  color: #ffd27a;
}
.perfov,
.perfov-chip {
  position: fixed;
  left: 6px;
  bottom: 6px;
  z-index: 99999;
  font:
    11px/1.35 ui-monospace,
    SFMono-Regular,
    Menlo,
    Consolas,
    monospace;
  color: #d8f6ff;
}
.perfov {
  max-width: min(94vw, 520px);
  max-height: 78vh;
  overflow-y: auto;
  background: rgba(4, 9, 18, .95);
  border: 1px solid #2b3e5c;
  border-radius: 8px;
  padding: 5px 8px;
  -webkit-overflow-scrolling: touch;
}
@media (max-width: 520px) {
  .perfov-report textarea {
    height: 30vh;
  }
}
.perfov-chip {
  background: rgba(4, 9, 18, .7);
  border: 1px solid #2b3e5c;
  border-radius: 6px;
  padding: 3px 9px;
  opacity: .75;
  cursor: pointer;
}
.perfov-chip:hover {
  opacity: 1;
}
.perfov-line {
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.perfov-line.good {
  color: #7dffa6;
}
.perfov-line.warn {
  color: #ffd27a;
}
.perfov-line.bad {
  color: #ff8a8a;
}
.perfov-more {
  margin-top: 3px;
  color: #a9c3d6;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.perfov-btns {
  margin-top: 4px;
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.perfov button {
  font: inherit;
  color: #d8f6ff;
  background: #12203a;
  border: 1px solid #2b3e5c;
  border-radius: 5px;
  padding: 3px 9px;
  min-height: 28px;
  cursor: pointer;
}
.perfov-report {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.perfov-report label {
  display: flex;
  gap: 6px;
  align-items: center;
}
.perfov-report input {
  flex: 1;
  min-width: 0;
  font: inherit;
  background: #0d1626;
  color: #d8f6ff;
  border: 1px solid #2b3e5c;
  border-radius: 4px;
  padding: 3px 5px;
}
.perfov-report textarea {
  width: 100%;
  box-sizing: border-box;
  font:
    10px/1.35 ui-monospace,
    Menlo,
    Consolas,
    monospace;
  background: #060d18;
  color: #cfe6ff;
  border: 1px solid #2b3e5c;
  border-radius: 4px;
  resize: vertical;
}
.perfov-copied {
  color: #ffd27a;
}
.bulk {
  margin: 6px 0 10px;
  border: 1px solid var(--line, #2a3550);
  border-radius: 8px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, .02);
}
.bulk > summary {
  cursor: pointer;
  min-height: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.bulkbody {
  display: grid;
  gap: 8px;
  padding: 6px 0 4px;
}
.bulkbody .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.bulkbody .chips .tog {
  border: 1px solid #3a4560;
  border-radius: 14px;
  padding: 4px 10px;
  min-height: 32px;
}
.bulkbody .chips button.on {
  border-color: var(--cy, #5ad);
}
.bulkpreview {
  margin: 0;
  font-size: 14px;
}
.bulklist {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
  font-size: 12px;
}
.bulklist li {
  border: 1px solid #3a4560;
  border-radius: 10px;
  padding: 1px 8px;
}
@media (max-width: 640px) {
  .bulkbody button,
  .bulkbody select,
  .bulkbody .chips .tog {
    min-height: 44px;
  }
  .inv button {
    min-height: 40px;
    padding: 4px 12px;
  }
  .inv li {
    gap: 6px;
  }
}
.upgradepanel {
  margin: 8px 0;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0e1522;
  font-size: 13px;
}
.upgradepanel h3 {
  margin: 0 0 4px;
  font-size: 14px;
}
.upgradepanel h3 small {
  color: var(--dim);
  font-weight: 400;
  font-size: 12px;
}
.upgradepanel .balance {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin: 2px 0 6px;
}
.upgradepanel .balance b {
  font-size: 20px;
  color: var(--gold);
}
.upgradepanel .uphow {
  margin: 0 0 6px;
  padding-left: 18px;
  color: var(--dim);
  font-size: 12px;
}
.upgradepanel .uphow li {
  margin: 3px 0;
}
.upgradepanel .uphow b {
  color: var(--txt);
}
.upgradepanel .upnext {
  list-style: none;
  margin: 4px 0;
  padding: 0;
  display: grid;
  gap: 4px;
}
.upgradepanel .upnext li {
  min-width: 0;
  overflow-wrap: anywhere;
}
.upgradepanel .upnext li {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  padding: 4px 6px;
  border-radius: 6px;
  background: #121a28;
  font-size: 13px;
}
.upgradepanel .upnext li[data-afford="1"] {
  border-left: 3px solid var(--grn);
}
.upgradepanel .upnext li[data-afford="0"] {
  border-left: 3px solid #4a5a75;
}
.upgradepanel .upnext .who {
  font-weight: 600;
  flex: 0 0 auto;
  font-size: 13px;
  color: var(--txt);
  overflow: visible;
}
.upgradepanel .upnext .what {
  flex: 1 1 240px;
}
.upgradepanel .upl {
  margin: 6px 0 0;
  font-size: 13px;
}
.slotlevel .why {
  flex-basis: 100%;
  text-align: center;
  color: #ffb86c;
  font-size: 12px;
}
.capguar {
  margin: 6px 0;
  padding-left: 18px;
  display: grid;
  gap: 4px;
  font-size: 13px;
  line-height: 1.4;
}
.reveal.batch {
  width: min(560px, 94vw);
  max-height: 88vh;
  overflow: auto;
  text-align: left;
}
.batchlist {
  margin: 6px 0 10px;
  padding-left: 24px;
  display: grid;
  gap: 3px;
  font-size: 13px;
  line-height: 1.35;
}
.batchlist .dim {
  font-size: 12px;
}
.starwake-auth {
  --sw-gold: #f4d08a;
  --sw-gold-deep: #d6a859;
  --sw-ink: #0a1822;
  --sw-teal: #13313b;
  --sw-text: #f7eedc;
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  color: var(--sw-text);
  background: #081720;
  padding: 0;
  font-family:
    "Trebuchet MS",
    "Segoe UI",
    system-ui,
    sans-serif;
}
.starwake-auth .auth-atmosphere {
  position: absolute;
  inset: -18px;
  z-index: -4;
  background:
    linear-gradient(
      90deg,
      rgba(6, 26, 32, .30),
      rgba(8, 24, 34, .50) 52%,
      rgba(8, 23, 31, .92)),
    linear-gradient(
      0deg,
      #061821 1%,
      transparent 36%),
    url(/auth-art/starwake-eclipse-v4-6a78.png) center 48%/cover no-repeat;
  filter: saturate(.97);
  transform: scale(1.035);
}
.starwake-auth::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 720px 540px at 21% 38%,
      rgba(218, 136, 77, .18),
      transparent 78%),
    radial-gradient(
      ellipse 850px 630px at 93% 90%,
      rgba(18, 89, 103, .32),
      transparent 82%),
    linear-gradient(
      90deg,
      rgba(7, 20, 27, .29),
      rgba(4, 17, 23, .25) 55%,
      rgba(4, 17, 23, .53));
}
.starwake-auth .auth-stars {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .55;
  pointer-events: none;
  background-image:
    radial-gradient(
      circle,
      #fff7d9 1px,
      transparent 1.5px),
    radial-gradient(
      circle,
      #b4e5e6 .7px,
      transparent 1.2px);
  background-size: 139px 113px, 197px 187px;
  background-position: 17px 39px, 87px 88px;
}
.starwake-auth .auth-planet {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}
.starwake-auth .auth-planet-one {
  width: 300px;
  height: 300px;
  top: 13%;
  left: 21%;
  opacity: .5;
  border: 1px solid rgba(250, 205, 143, .39);
  box-shadow:
    -40px 0 60px rgba(250, 195, 131, .06),
    inset -35px -27px 65px rgba(7, 24, 35, .97),
    0 0 70px rgba(250, 195, 131, .09);
  background:
    radial-gradient(
      circle at 32% 27%,
      rgba(244, 178, 114, .35),
      rgba(76, 88, 95, .18) 40%,
      #102b37 73%);
}
.starwake-auth .auth-planet-two {
  width: 84px;
  height: 84px;
  top: 14%;
  left: 57%;
  background:
    radial-gradient(
      circle at 31% 27%,
      #e4a585,
      #684859 40%,
      #1a2c3e 75%);
  box-shadow: 0 0 32px rgba(255, 191, 144, .23);
  opacity: .6;
}
.starwake-auth .auth-shell {
  max-width: 1350px;
  min-height: 100svh;
  margin: 0 auto;
  padding: 28px clamp(20px, 4vw, 62px) 15px;
  display: flex;
  flex-direction: column;
}
.starwake-auth .auth-masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: relative;
  z-index: 2;
}
.starwake-auth .auth-brand {
  color: #f4e3bc;
  text-decoration: none;
  display: inline-flex;
  gap: 12px;
  align-items: center;
}
.starwake-auth .auth-brand-mark {
  color: #f4cb80;
  display: grid;
  place-items: center;
  height: 54px;
  width: 54px;
  border: 1px solid rgba(236, 198, 129, .57);
  border-radius: 50%;
  background: rgba(6, 27, 34, .69);
  box-shadow: 0 0 25px #0a222e, inset 0 0 24px rgba(235, 169, 93, .08);
}
.starwake-auth .auth-brand-mark svg {
  display: block;
  width: 37px;
  height: 37px;
}
.starwake-auth .auth-brand-name {
  font:
    700 clamp(23px, 2.25vw, 31px)/.95 Georgia,
    "Times New Roman",
    serif;
  letter-spacing: .15em;
}
.starwake-auth .auth-brand-name span {
  display: block;
  margin-top: 7px;
  font: 700 9px/1 "Segoe UI", sans-serif;
  letter-spacing: .33em;
  color: #e8bf7d;
}
.starwake-auth .auth-mast-status {
  font: 700 10px/1.3 "Segoe UI", sans-serif;
  letter-spacing: .2em;
  color: #d2dfd9;
  padding: 11px 15px;
  border: 1px solid rgba(194, 209, 197, .17);
  border-radius: 999px;
  background: rgba(9, 38, 45, .79);
  white-space: nowrap;
}
.starwake-auth .auth-status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a5e8c2;
  box-shadow: 0 0 10px #9ceabc;
  vertical-align: 1px;
  margin-right: 6px;
}
.starwake-auth .auth-status-divider {
  color: #d6aa66;
  margin: 0 8px;
}
.starwake-auth .auth-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(370px, 464px);
  align-items: center;
  gap: clamp(34px, 6vw, 110px);
  flex: 1;
  padding: 34px 0 25px;
  min-height: 640px;
}
.starwake-auth .auth-story {
  position: relative;
  min-width: 0;
}
.starwake-auth .auth-story-content {
  position: relative;
  padding: 10px 0 0 max(4px, 1vw);
}
.starwake-auth .auth-overline,
.starwake-auth .auth-card-eyebrow {
  font: 800 10px/1.5 "Segoe UI", sans-serif;
  color: #f2c988;
  letter-spacing: .24em;
}
.starwake-auth .auth-mini-star {
  font-size: 17px;
  vertical-align: -1px;
  margin-right: 8px;
}
.starwake-auth .auth-story h1 {
  margin: 14px 0 16px;
  font:
    500 clamp(42px, 4.7vw, 76px)/1.07 Georgia,
    "Times New Roman",
    serif;
  letter-spacing: -.045em;
  text-shadow: 0 4px 35px #081923;
}
.starwake-auth .auth-story h1 em {
  color: #f5c77b;
  font-style: normal;
}
.starwake-auth .auth-lead {
  max-width: 490px;
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.72;
  color: #e2ded0;
  text-shadow: 0 2px 9px #091d26;
}
.starwake-auth .auth-story-rule {
  display: flex;
  gap: 9px;
  align-items: center;
  max-width: 390px;
  color: #f1d298;
  margin: 25px 0 9px;
  font: 700 10px/1.4 "Segoe UI", sans-serif;
  letter-spacing: .21em;
}
.starwake-auth .auth-story-rule i {
  width: 27px;
  height: 1px;
  background: #d6b47c;
  opacity: .7;
}
.starwake-auth .auth-hero-showcase {
  position: relative;
  margin: 12px 0 10px;
  min-height: 0;
  max-width: 540px;
  pointer-events: none;
  display: block;
}
.starwake-auth .auth-hero-aura {
  display: none;
}
.starwake-auth .auth-hero-art {
  display: none;
}
.starwake-auth .auth-hero-caption {
  position: relative;
  left: auto;
  bottom: auto;
  display: inline-block;
  padding: 13px 18px;
  border: 1px solid rgba(226, 192, 129, .42);
  border-radius: 12px;
  background:
    linear-gradient(
      110deg,
      rgba(8, 39, 45, .93),
      rgba(12, 46, 53, .74));
  box-shadow: 0 14px 20px #0a1a2288;
}
.starwake-auth .auth-hero-caption span {
  display: block;
  font: 800 9px/1.2 "Segoe UI", sans-serif;
  letter-spacing: .21em;
  color: #f3c682;
}
.starwake-auth .auth-hero-caption strong {
  display: block;
  margin-top: 5px;
  font: 500 20px/1.2 Georgia, serif;
  color: #fff4df;
}
.starwake-auth .auth-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
  max-width: 550px;
}
.starwake-auth .auth-feature-grid > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 15px 3px 13px;
  border: 1px solid rgba(226, 204, 152, .23);
  border-radius: 10px;
  background: rgba(9, 35, 42, .68);
  box-shadow: 0 6px 22px #07182055;
}
.starwake-auth .auth-feature-icon {
  color: #f4cc86;
  font-size: 22px;
  margin-bottom: 5px;
}
.starwake-auth .auth-feature-grid strong {
  font: 700 10px/1.35 "Segoe UI", sans-serif;
  letter-spacing: .16em;
  color: #fff1d3;
}
.starwake-auth .auth-feature-grid small {
  font-size: 11px;
  color: #c6d8d6;
  margin-top: 5px;
}
.starwake-auth .auth-panel {
  position: relative;
  width: 100%;
  border: 1px solid rgba(227, 190, 122, .5);
  border-radius: 20px;
  overflow: hidden;
  background:
    linear-gradient(
      145deg,
      rgba(19, 59, 65, .97),
      rgba(11, 38, 46, .985) 65%,
      rgba(6, 27, 34, .99));
  box-shadow:
    0 30px 95px rgba(0, 0, 0, .55),
    inset 0 1px 0 rgba(255, 249, 216, .13),
    0 0 0 6px rgba(10, 33, 40, .3);
}
.starwake-auth .auth-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 210px;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse at top,
      rgba(239, 183, 115, .12),
      transparent 70%);
}
.starwake-auth .auth-panel-topline {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 27px;
  border-bottom: 1px solid rgba(248, 207, 141, .19);
  background: rgba(2, 16, 22, .21);
  color: #efdfc1;
  font: 700 10px/1.1 "Segoe UI", sans-serif;
  letter-spacing: .23em;
}
.starwake-auth .auth-panel-topline > span:first-child {
  color: #ffd78b;
  font-size: 16px;
}
.starwake-auth .auth-panel-top-number {
  margin-left: auto;
  font-size: 9px;
  color: #b1c8c9;
  letter-spacing: .12em;
}
.starwake-auth .auth-panel-content {
  position: relative;
  padding: clamp(24px, 3vw, 39px) clamp(23px, 3vw, 42px) 26px;
}
.starwake-auth .auth-card-eyebrow {
  text-align: center;
}
.starwake-auth .auth-card-title {
  margin: 11px 0 10px;
  white-space: pre-line;
  color: #fff3d7;
  text-align: center;
  font:
    500 clamp(31px, 2.8vw, 43px)/1.08 Georgia,
    "Times New Roman",
    serif;
  text-transform: none;
  letter-spacing: -.035em;
}
.starwake-auth .auth-card-subtitle {
  margin: 0 auto 26px;
  text-align: center;
  max-width: 330px;
  color: #bfced0;
  line-height: 1.5;
  font-size: 13px;
}
.starwake-auth .auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  padding: 4px;
  margin: 0 0 23px;
  border: 1px solid rgba(199, 221, 214, .17);
  background: #0d2a34;
  border-radius: 12px;
}
.starwake-auth .auth-tabs button {
  min-height: 43px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: #bfcaca;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 5px;
  transition:
    background .2s,
    color .2s,
    box-shadow .2s;
}
.starwake-auth .auth-tabs button.on {
  color: #263336;
  background: linear-gradient(#ffe2a5, #f0c780);
  box-shadow: 0 2px 13px rgba(223, 180, 111, .26);
}
.starwake-auth .auth-tabs button:hover:not(.on) {
  border-color: rgba(219, 191, 137, .45);
  color: #fff0dc;
}
.starwake-auth .auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.starwake-auth .auth-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #f3dfbc;
  font: 700 10px/1.4 "Segoe UI", sans-serif;
  letter-spacing: .17em;
}
.starwake-auth .auth-input-wrap {
  display: flex;
  align-items: center;
  min-height: 52px;
  gap: 10px;
  padding: 0 13px;
  border: 1px solid rgba(145, 183, 190, .4);
  border-radius: 10px;
  background: rgba(4, 25, 34, .72);
  transition: border-color .15s, box-shadow .15s;
}
.starwake-auth .auth-input-wrap:focus-within {
  border-color: #efc985;
  box-shadow: 0 0 0 3px rgba(245, 204, 137, .13);
}
.starwake-auth .auth-field-symbol {
  font-size: 20px;
  color: #d5be90;
  line-height: 1;
}
.starwake-auth .auth-input-wrap input {
  flex: 1;
  min-width: 0;
  height: 49px;
  padding: 0;
  border: 0;
  outline: none;
  box-shadow: none;
  background: transparent;
  color: #fff5e8;
  font: 500 14px/1.3 "Segoe UI", sans-serif;
  letter-spacing: 0;
}
.starwake-auth .auth-input-wrap input::placeholder {
  color: #8da7ad;
  opacity: 1;
}
.starwake-auth .auth-reveal {
  min-height: 29px;
  flex: none;
  padding: 3px 5px;
  border: 0;
  color: #f5cc88;
  background: transparent;
  font: 700 10px/1.2 "Segoe UI", sans-serif;
  letter-spacing: .12em;
}
.starwake-auth .auth-reveal:hover {
  color: #fff0c7;
  text-decoration: underline;
}
.starwake-auth .auth-field-note {
  margin: -4px 0 0;
  font: 400 12px/1.55 "Segoe UI", sans-serif;
  color: #b7cacc;
}
.starwake-auth .auth-error {
  padding: 11px 13px;
  border: 1px solid #ef9b72;
  border-radius: 8px;
  background: #4a2427;
  color: #ffe7d3;
  font-size: 13px;
}
.starwake-auth .auth-submit {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-height: 55px;
  margin-top: 7px;
  padding: 11px 20px;
  border: 1px solid #ffe6ac;
  border-radius: 11px;
  color: #273039;
  background:
    linear-gradient(
      125deg,
      #ffe4a8,
      #e6af5e);
  box-shadow: 0 6px 20px rgba(237, 164, 73, .18), inset 0 2px 0 rgba(255, 250, 219, .42);
  font: 800 12px/1.3 "Segoe UI", sans-serif;
  letter-spacing: .12em;
  transition: transform .18s, filter .18s;
}
.starwake-auth .auth-submit span:last-child {
  font-size: 22px;
}
.starwake-auth .auth-submit:hover:enabled {
  border-color: #ffedae;
  filter: brightness(1.08);
  transform: translateY(-2px);
}
.starwake-auth .auth-submit:disabled {
  cursor: wait;
  opacity: .74;
}
.starwake-auth .auth-switch-prompt {
  margin: 23px auto 0;
  text-align: center;
  color: #b9cccb;
  font-size: 12px;
}
.starwake-auth .auth-switch-prompt button {
  padding: 2px 0;
  min-height: 0;
  margin-left: 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #f4cf8f;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
}
.starwake-auth .auth-card-footer {
  text-align: center;
  border-top: 1px solid rgba(248, 207, 141, .2);
  background: rgba(4, 18, 25, .37);
  padding: 16px 9px;
  color: #afc4c2;
  font: 700 9px/1.5 "Segoe UI", sans-serif;
  letter-spacing: .17em;
}
.starwake-auth .auth-gold-star {
  color: #f9d28d;
  font-size: 12px;
  padding-right: 4px;
}
.starwake-auth .auth-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(214, 204, 163, .18);
  color: #a2bfbd;
  font: 700 10px/1.4 "Segoe UI", sans-serif;
  letter-spacing: .15em;
}
.starwake-auth :focus-visible {
  outline: 2px solid #ffdda0;
  outline-offset: 3px;
}
@media (min-width: 1350px) and (min-height: 950px) {
  .starwake-auth .auth-layout {
    padding-top: 50px;
    padding-bottom: 52px;
  }
}
@media (max-width: 900px) {
  .starwake-auth .auth-shell {
    padding: 19px 22px 15px;
  }
  .starwake-auth .auth-layout {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 440px);
    gap: 25px;
  }
  .starwake-auth .auth-story h1 {
    font-size: clamp(37px, 5vw, 52px);
  }
  .starwake-auth .auth-feature-grid small {
    font-size: 10px;
  }
  .starwake-auth .auth-panel-content {
    padding: 25px 22px 25px;
  }
}
@media (max-width: 720px) {
  .starwake-auth .auth-shell {
    padding: 18px 17px 18px;
  }
  .starwake-auth .auth-mast-status {
    display: none;
  }
  .starwake-auth .auth-brand-mark {
    width: 43px;
    height: 43px;
  }
  .starwake-auth .auth-brand-mark svg {
    width: 30px;
    height: 30px;
  }
  .starwake-auth .auth-brand-name {
    font-size: 24px;
  }
  .starwake-auth .auth-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 0 22px;
    min-height: 0;
  }
  .starwake-auth .auth-story-content {
    padding: 0;
  }
  .starwake-auth .auth-overline {
    font-size: 9px;
  }
  .starwake-auth .auth-story h1 {
    margin: 11px 0 10px;
    font-size: clamp(38px, 9.5vw, 58px);
  }
  .starwake-auth .auth-lead {
    font-size: 14px;
    line-height: 1.6;
    max-width: 500px;
  }
  .starwake-auth .auth-story-rule,
  .starwake-auth .auth-hero-showcase,
  .starwake-auth .auth-feature-grid {
    display: none;
  }
  .starwake-auth .auth-panel {
    max-width: 520px;
    margin: 0 auto;
  }
  .starwake-auth .auth-card-title {
    font-size: 36px;
  }
  .starwake-auth .auth-footer {
    font-size: 9px;
  }
}
@media (max-width: 380px) {
  .starwake-auth .auth-shell {
    padding: 13px 11px 13px;
  }
  .starwake-auth .auth-brand-name {
    font-size: 21px;
  }
  .starwake-auth .auth-panel-content {
    padding: 23px 17px 22px;
  }
  .starwake-auth .auth-card-title {
    font-size: 32px;
  }
  .starwake-auth .auth-tabs button {
    font-size: 12px;
  }
  .starwake-auth .auth-footer {
    gap: 6px;
    font-size: 8px;
    letter-spacing: .07em;
  }
}
@media (prefers-reduced-motion: reduce) {
  .starwake-auth * {
    transition: none !important;
    animation: none !important;
  }
}

/* packages/client/src/frontier.css */
:root {
  --gold:#f6cf80;
  --cy:#73d8e4;
  --line:#39555f;
  --txt:#f2efe5;
  --dim:#b5c6ce;
}
body {
  margin: 0;
  background: #0c2029;
}
button,
summary {
  touch-action: manipulation;
}
button {
  min-height: 40px;
  border-radius: 10px;
}
button.primary {
  background:
    linear-gradient(
      135deg,
      #f9dd9b,
      #d79b40);
  color: #192e36;
  border-color: #ffe4aa;
  font-weight: 750;
}
.gameapp[data-testid=game] {
  position: relative;
  height: 100dvh;
  min-height: 560px;
  width: 100%;
  max-width: none;
  padding: 0;
  overflow: hidden;
}
.frontier-world,
.frontier-world .homegame,
.frontier-world .homemain,
.frontier-world .homeleft {
  position: absolute;
  inset: 0;
  display: block;
  margin: 0;
  padding: 0;
}
.frontier-world .bfwrap,
.frontier-world .battlefield.live,
.frontier-world .bf3d {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
}
.frontier-world .bfbar {
  position: absolute;
  bottom: 92px;
  left: 16px;
  max-width: 310px;
  font-size: 11px;
  opacity: .7;
  background: transparent;
}
.gameapp[data-testid=game] .gametop {
  position: absolute;
  z-index: 12;
  top: 12px;
  left: 18px;
  right: 18px;
  display: flex;
  gap: 14px;
  border: 0;
  padding: 0;
  background: none;
  text-shadow: 0 2px 5px #00121d;
}
.gametop h1 {
  font-family: Georgia, serif;
  letter-spacing: 3px;
  font-size: 26px;
  margin: 0;
}
.gametop h1 span {
  display: block;
  font-family: system-ui;
  font-size: 11px;
  letter-spacing: 4px;
}
.gametop .who {
  background: #102c36d9;
  padding: 9px 14px;
  border-radius: 30px;
}
.gametop .linkbtn {
  margin-left: auto;
}
.gameapp[data-testid=game] .campnav {
  position: absolute;
  bottom: max(12px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  padding: 7px;
  border: 1px solid #799194;
  border-radius: 18px;
  background: #102b34ef;
  box-shadow: 0 8px 30px #0008;
  width: min(600px, calc(100% - 24px));
}
.campnav button {
  flex: 1;
  padding: 10px 8px;
  min-height: 48px;
  border: 0;
  background: transparent;
  color: #d3e0e3;
  white-space: nowrap;
}
.campnav button.on {
  color: #ffdf91;
  background: #355057;
  box-shadow: inset 0 -2px #f6cf80;
}
.campnav .res {
  position: fixed;
  bottom: calc(100dvh - 100px);
  right: 0;
  width: max-content;
  max-width: 90vw;
  padding: 8px 14px;
  background: #102b34db;
  border-radius: 14px;
  font-size: 12px;
}
.frontier-world .scenebar {
  position: absolute;
  z-index: 4;
  top: 108px;
  left: 20px;
  max-width: 330px;
  padding: 12px 16px;
  background: #17333bd9;
  border: 1px solid #779395;
  border-radius: 14px;
  color: #f9e8b7;
}
.scenebar .dim,
.scenebar .sep {
  display: none;
}
.frontier-world .squadstrip {
  position: absolute;
  z-index: 4;
  left: 18px;
  top: 190px;
  display: grid;
  width: 160px;
  gap: 6px;
  background: none;
  border: 0;
}
.squadstrip .sq {
  background: #102b34cf;
  padding: 7px 10px;
  border: 1px solid #5b7d84;
  border-radius: 12px;
}
.squadstrip .sq .badge {
  display: none;
}
.squadstrip .sq .dim {
  font-size: 11px;
}
.frontier-actions {
  position: absolute;
  z-index: 5;
  right: 20px;
  bottom: 115px;
  width: 285px;
  display: grid;
  gap: 8px;
}
.frontier-actions button {
  min-height: 48px;
  box-shadow: 0 4px 14px #0019;
}
.frontier-help,
.frontier-journal,
.frontier-history,
.frontier-combat {
  position: absolute;
  z-index: 7;
  border: 1px solid #5b7984;
  background: #102732ed;
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 13px;
  max-width: calc(100vw - 32px);
}
.frontier-help {
  top: 64px;
  left: 18px;
}
.frontier-journal {
  right: 20px;
  bottom: 78px;
}
.frontier-history {
  left: 18px;
  bottom: 120px;
}
.frontier-combat {
  left: 18px;
  top: 132px;
}
.frontier-help[open],
.frontier-journal[open],
.frontier-history[open],
.frontier-combat[open] {
  width: min(520px, calc(100vw - 32px));
  max-height: 65dvh;
  overflow: auto;
  z-index: 20;
  box-shadow: 0 12px 40px #0009;
}
.frontier-journal .homeright {
  display: block;
}
.frontier-world .gfxpick {
  position: absolute;
  z-index: 5;
  left: 18px;
  bottom: 78px;
  padding: 4px 8px;
  background: #102732dd;
  border-radius: 10px;
  font-size: 11px;
}
.frontier-panel {
  position: absolute;
  z-index: 22;
  inset: 100px 24px 90px;
  padding: 18px;
  overflow: auto;
  border: 1px solid #76959c;
  border-radius: 22px;
  background:
    linear-gradient(
      135deg,
      #122c37f5,
      #101e30f5);
  box-shadow: 0 20px 70px #0008;
  backdrop-filter: blur(10px);
}
.frontier-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 16px;
}
.frontier-panel-head h2 {
  color: #f7daa0;
  font: 28px Georgia, serif;
  margin: 0;
}
.frontier-panel .hcard {
  background: #18313bdd;
  border-color: #3c5965;
  border-radius: 14px;
}
.frontier-panel .hangartab {
  grid-template-columns: minmax(280px, 1fr) minmax(340px, 1.25fr);
}
.frontier-world .huntlive,
.frontier-world .replayview {
  position: absolute;
  inset: 0;
  margin: 0;
  border: 0;
  background: transparent;
}
.frontier-world .huntlive-head {
  position: absolute;
  z-index: 4;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: 75%;
  padding: 10px;
  border-radius: 12px;
  background: #102732e8;
}
.frontier-world [data-testid=hunt-seats] {
  display: none;
}
.frontier-world .huntresult {
  position: absolute;
  z-index: 8;
  top: 150px;
  right: 18px;
  width: min(390px, calc(100% - 36px));
  max-height: 55dvh;
  overflow: auto;
  background: #142e38f5;
}
.frontier-world .replay-controls {
  position: absolute;
  z-index: 9;
  top: 145px;
  right: 18px;
  max-width: 80%;
  background: #102732e8;
  padding: 8px;
}
.frontier-world .replayview > .bfbar {
  top: 100px;
  bottom: auto;
  max-width: 70%;
  background: #102732e8;
}
.frontier-world .replayview > .livehud {
  display: none;
}
.gameapp[data-testid=game] > .notices,
.gameapp[data-testid=game] > [role=alert] {
  position: absolute;
  z-index: 40;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  max-width: min(600px, 90vw);
  max-height: 180px;
  overflow: auto;
  background: #16343bed;
  border-radius: 12px;
  padding: 8px 14px;
}
.gameapp[data-testid=game] > footer {
  display: none;
}
.skill-illustration {
  object-fit: cover;
  border-radius: 8px;
}
.hero-showroom {
  position: relative;
  height: 360px;
  width: 100%;
  background:
    radial-gradient(
      ellipse at 50% 70%,
      #44616b,
      #102431 70%);
  border-radius: 16px;
  overflow: hidden;
  touch-action: pan-y;
}
.hero-showroom canvas {
  width: 100%;
  height: 100%;
}
.hero-showroom span {
  position: absolute;
  bottom: 8px;
  left: 12px;
  font-size: 12px;
  color: #c4d8e0;
  pointer-events: none;
}
@media (max-width: 700px) {
  .gameapp[data-testid=game] .gametop {
    left: 12px;
    right: 12px;
    top: 10px;
  }
  .gametop h1 {
    font-size: 19px;
  }
  .gametop h1 span {
    font-size: 9px;
    letter-spacing: 2px;
  }
  .gametop .who {
    font-size: 11px;
    max-width: 160px;
    padding: 6px 9px;
  }
  .gametop .linkbtn {
    font-size: 11px;
    padding: 4px;
  }
  .campnav .res {
    bottom: calc(100dvh - 78px);
    max-width: calc(100vw - 24px);
    font-size: 10px;
    white-space: normal;
    padding: 6px;
  }
  .campnav button {
    padding: 8px 3px;
    font-size: 12px;
    min-height: 44px;
  }
  .frontier-world .scenebar {
    top: 115px;
    left: 12px;
    max-width: 235px;
    font-size: 12px;
    padding: 8px 10px;
  }
  .frontier-help {
    top: 82px;
    left: 12px;
    font-size: 12px;
    padding: 5px 9px;
  }
  .frontier-world .squadstrip {
    top: 183px;
    left: 10px;
    width: 112px;
  }
  .squadstrip .sq {
    padding: 5px 7px;
  }
  .squadstrip .sq b {
    font-size: 11px;
  }
  .squadstrip .sq .dim {
    display: none;
  }
  .frontier-actions {
    right: 12px;
    bottom: 112px;
    width: 205px;
  }
  .frontier-actions button {
    min-height: 42px;
    font-size: 12px;
  }
  .frontier-journal {
    right: 12px;
    bottom: 77px;
    font-size: 11px;
  }
  .frontier-history {
    left: 12px;
    bottom: 160px;
    font-size: 11px;
  }
  .frontier-world .gfxpick {
    left: 12px;
    bottom: 78px;
    max-width: 125px;
  }
  .frontier-world .bfbar {
    display: none;
  }
  .frontier-panel {
    inset: 85px 8px 80px;
    padding: 12px;
    border-radius: 16px;
  }
  .frontier-panel-head h2 {
    font-size: 24px;
  }
  .frontier-panel-head button {
    font-size: 11px;
  }
  .frontier-panel .hangartab {
    display: block;
  }
  .hero-showroom {
    height: 320px;
  }
  .frontier-world .huntlive-head {
    top: 90px;
    max-width: calc(100% - 24px);
    width: calc(100% - 24px);
    font-size: 12px;
  }
  .frontier-combat {
    top: 150px;
    left: 12px;
  }
  .frontier-world .huntresult {
    top: 185px;
    max-height: 45dvh;
  }
}
@media (max-height: 550px) and (min-width: 700px) {
  .gameapp[data-testid=game] {
    min-height: 360px;
  }
  .frontier-world .squadstrip {
    top: 140px;
    width: 120px;
  }
  .squadstrip .sq .dim {
    display: none;
  }
  .frontier-panel {
    top: 80px;
  }
  .frontier-actions {
    bottom: 105px;
  }
}
.frontier-world .gfxpick {
  top: auto;
  right: auto;
  width: auto;
  height: auto;
}
.frontier-world .squadstrip {
  grid-template-columns: 1fr;
}
body:has(.gameapp[data-testid=game]) {
  overflow: hidden;
}
.frontier-panel .hangartab {
  display: grid;
  gap: 14px;
  align-items: start;
}
.frontier-panel .hangartab > [aria-label=Character] {
  grid-row: span 2;
}
.sector-panorama {
  height: 200px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  position: relative;
  margin-bottom: 16px;
  grid-column: 1/-1;
}
.sector-panorama span {
  position: absolute;
  bottom: 12px;
  left: 14px;
  background: #102732dd;
  padding: 10px 16px;
  border-radius: 12px;
  color: #ffe2a5;
  font-size: 20px;
}
@media (max-width: 700px) {
  .frontier-panel .hangartab {
    display: block;
  }
  .sector-panorama {
    height: 145px;
  }
  .sector-panorama span {
    font-size: 15px;
  }
}
.frontier-result {
  position: absolute;
  right: 20px;
  bottom: 227px;
  z-index: 9;
  background: #15323aeF;
  border: 1px solid #b7c99b;
  border-radius: 12px;
  padding: 10px 14px;
  max-width: calc(100vw - 24px);
  font-size: 13px;
}
.frontier-result[open] {
  width: 420px;
  max-height: 65dvh;
  overflow: auto;
}
.frontier-world .frontier-result .huntresult {
  position: static;
  max-height: none;
  width: auto;
  margin-top: 10px;
}
@media (max-width: 700px) {
  .frontier-result {
    right: 12px;
    bottom: 213px;
    font-size: 12px;
  }
  .frontier-result[open] {
    max-height: 55dvh;
  }
}
/*# sourceMappingURL=main.css.map */
