:root {
  --spectate-cyan: #8ed9ef;
  --spectate-cyan-hot: #d7f7ff;
  --spectate-violet: #a89adf;
  --spectate-amber: #f1b65e;
  --spectate-coral: #ff8f85;
  --spectate-green: #87d9bd;
  --spectate-panel: rgba(5, 14, 22, 0.94);
  --spectate-line: rgba(142, 217, 239, 0.22);
}

html {
  scroll-padding-top: 82px;
}

.spectate-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 74% 8%, rgba(121, 100, 192, 0.16), transparent 31rem),
    radial-gradient(circle at 8% 46%, rgba(49, 162, 195, 0.11), transparent 33rem),
    #03080e;
}

.spectate-page::before {
  position: fixed;
  z-index: 0;
  inset: 64px 0 0;
  background-image:
    linear-gradient(rgba(142, 217, 239, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(142, 217, 239, 0.032) 1px, transparent 1px);
  background-size: 46px 46px;
  content: "";
  mask-image: linear-gradient(180deg, #000, transparent 78%);
  pointer-events: none;
}

.spectate-topbar {
  position: fixed;
  z-index: 60;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: 64px;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 3vw, 54px);
  border-bottom: 1px solid rgba(142, 217, 239, 0.18);
  background: rgba(2, 7, 12, 0.91);
  backdrop-filter: blur(16px) saturate(0.74);
}

.spectate-topbar__brand {
  display: block;
  width: clamp(220px, 19vw, 310px);
  height: 54px;
  overflow: hidden;
}

.spectate-topbar__brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.8));
  mix-blend-mode: screen;
}

.spectate-topbar__right {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 38px);
}

.spectate-topbar__right > a {
  padding: 9px 0;
  border-bottom: 1px solid rgba(142, 217, 239, 0.3);
  color: rgba(221, 238, 242, 0.72);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-decoration: none;
}

.spectate-topbar__right p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.spectate-topbar__right p span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--spectate-amber);
  box-shadow: 0 0 12px rgba(241, 182, 94, 0.76);
}

.spectate-topbar__right p span.is-live {
  background: var(--spectate-green);
  box-shadow: 0 0 13px rgba(135, 217, 189, 0.82);
}

.spectate-topbar__right p span.is-call {
  background: var(--spectate-coral);
  box-shadow: 0 0 16px rgba(255, 143, 133, 0.92);
  animation: spectate-lamp 900ms ease-in-out infinite;
}

.spectate-page button,
.spectate-page a {
  -webkit-tap-highlight-color: transparent;
}

.spectate-page button:focus-visible,
.spectate-page a:focus-visible {
  outline: 2px solid var(--spectate-cyan-hot);
  outline-offset: 3px;
}

.spectate-shell {
  position: relative;
  z-index: 1;
  width: min(1800px, 100%);
  margin: 0 auto;
  padding: 82px clamp(14px, 2.4vw, 42px) 96px;
}

.match-console {
  overflow: hidden;
  border: 1px solid var(--spectate-line);
  background: rgba(3, 10, 16, 0.84);
  box-shadow: 0 28px 74px rgba(0, 0, 0, 0.32);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.match-head {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 15px clamp(18px, 2.2vw, 34px);
  border-bottom: 1px solid var(--spectate-line);
  background:
    linear-gradient(100deg, rgba(168, 154, 223, 0.08), transparent 36%),
    rgba(5, 15, 23, 0.94);
}

.match-head p {
  margin: 0;
  color: var(--spectate-violet);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.17em;
}

.match-head h1 {
  margin: 7px 0 0;
  font-family: "Astral Serif", "Yu Mincho", serif;
  font-size: clamp(1.75rem, 2.5vw, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.match-head dl {
  display: grid;
  min-width: min(620px, 48vw);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border: 1px solid rgba(142, 217, 239, 0.14);
}

.match-head dl div {
  min-width: 0;
  padding: 10px 13px;
  background: rgba(142, 217, 239, 0.025);
}

.match-head dl div + div {
  border-left: 1px solid rgba(142, 217, 239, 0.12);
}

.match-head dt {
  color: var(--muted);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
}

.match-head dd {
  overflow: hidden;
  margin: 5px 0 0;
  font-size: 0.875rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.archive-notice {
  display: grid;
  grid-template-columns: minmax(220px, 0.28fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 2.4vw, 38px);
  padding: 10px clamp(18px, 2.2vw, 34px);
  border-bottom: 1px solid rgba(142, 217, 239, 0.18);
  background:
    linear-gradient(90deg, rgba(241, 182, 94, 0.07), transparent 32%),
    rgba(3, 10, 16, 0.96);
}

.archive-notice > span {
  color: var(--spectate-amber);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.archive-notice p {
  margin: 0;
  color: rgba(222, 237, 241, 0.68);
  font-size: 0.82rem;
  line-height: 1.65;
}

.archive-notice p b {
  margin-right: 0.45em;
  color: var(--spectate-cyan-hot);
}

.luco-trace-guide {
  display: grid;
  min-height: 164px;
  grid-template-columns: 142px minmax(0, 1fr);
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid rgba(142, 217, 239, 0.2);
  background:
    linear-gradient(104deg, rgba(255, 143, 133, 0.12), rgba(168, 154, 223, 0.08) 42%, transparent 74%),
    rgba(4, 12, 19, 0.96);
  scroll-margin-top: 74px;
}

.luco-trace-guide > img {
  position: relative;
  z-index: 2;
  width: 190px;
  max-width: none;
  height: 166px;
  margin-left: -24px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 15px 22px rgba(0, 0, 0, 0.55));
}

.luco-trace-guide__body {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(210px, 0.78fr) minmax(440px, 1.5fr) minmax(180px, 0.66fr);
  align-items: center;
  gap: clamp(16px, 2.2vw, 34px);
  padding: 18px clamp(18px, 2.2vw, 34px) 18px 4px;
}

.luco-trace-guide__intro p,
.luco-trace-guide__intro h2,
.luco-trace-guide__action p {
  margin: 0;
}

.luco-trace-guide__intro > p:first-child {
  color: var(--spectate-coral);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.luco-trace-guide__intro h2 {
  margin-top: 5px;
  color: #fff;
  font-family: "Astral Serif", "Yu Mincho", serif;
  font-size: clamp(1.3rem, 1.7vw, 1.85rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.luco-trace-guide__intro > p:last-child {
  margin-top: 7px;
  color: rgba(222, 237, 241, 0.68);
  font-size: 0.78rem;
  line-height: 1.55;
}

.luco-trace-guide__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.luco-trace-guide__steps li {
  min-width: 0;
  min-height: 92px;
  padding: 10px 11px;
  border: 1px solid rgba(142, 217, 239, 0.18);
  background: rgba(142, 217, 239, 0.035);
}

.luco-trace-guide__steps span,
.luco-trace-guide__steps b,
.luco-trace-guide__steps small {
  display: block;
}

.luco-trace-guide__steps span {
  color: var(--spectate-coral);
  font-family: "Astral Serif", serif;
  font-size: 0.72rem;
}

.luco-trace-guide__steps b {
  margin-top: 7px;
  color: var(--spectate-cyan-hot);
  font-size: 0.82rem;
}

.luco-trace-guide__steps small {
  margin-top: 4px;
  color: rgba(181, 207, 214, 0.62);
  font-size: 0.67rem;
  line-height: 1.45;
}

.luco-trace-guide__action {
  min-width: 0;
}

.luco-trace-guide__action p {
  padding-left: 9px;
  border-left: 2px solid rgba(255, 143, 133, 0.68);
  color: rgba(255, 203, 198, 0.78);
  font-size: 0.72rem;
  line-height: 1.55;
}

.luco-trace-guide__action a {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 11px;
  padding: 0 11px;
  border: 1px solid rgba(241, 182, 94, 0.45);
  background: rgba(241, 182, 94, 0.07);
  color: var(--paper);
  font-size: 0.75rem;
  font-weight: 900;
  text-decoration: none;
}

.luco-trace-guide__action a span {
  color: var(--spectate-amber);
}

.luco-trace-guide__action a:hover,
.luco-trace-guide__action a:focus-visible {
  border-color: var(--spectate-amber);
  background: rgba(241, 182, 94, 0.12);
}

#replay-controls,
#voice-trace {
  scroll-margin-top: 74px;
}

.match-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.34fr);
  min-height: calc(100svh - 168px);
}

.arena-feed {
  min-width: 0;
  border-right: 1px solid var(--spectate-line);
}

.battle-view {
  position: relative;
  min-height: 310px;
  aspect-ratio: 2.28 / 1;
  margin: 0;
  overflow: hidden;
  background: #02070c;
}

.battle-view > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.78) contrast(1.13) brightness(0.76);
  transform: scale(1.01);
  transition: opacity 220ms ease, transform 900ms ease;
}

.battle-view.is-map > img {
  opacity: 0;
}

.tactical-map {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: none;
  overflow: hidden;
  background:
    radial-gradient(circle at 52% 48%, rgba(142, 217, 239, 0.08), transparent 32%),
    linear-gradient(rgba(142, 217, 239, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(142, 217, 239, 0.045) 1px, transparent 1px),
    #030b12;
  background-size: auto, 4% 4%, 4% 4%, auto;
}

.battle-view.is-map .tactical-map {
  display: block;
}

.tactical-map::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 49.9%, rgba(142, 217, 239, 0.09) 50%, transparent 50.1%),
    linear-gradient(transparent 49.9%, rgba(142, 217, 239, 0.09) 50%, transparent 50.1%);
  content: "";
  pointer-events: none;
}

.tactical-map > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.tactical-map__boundary {
  fill: none;
  stroke: rgba(142, 217, 239, 0.36);
  stroke-dasharray: 1.8 1.4;
  stroke-width: 0.35;
  vector-effect: non-scaling-stroke;
}

.tactical-map__ditch {
  fill: none;
  stroke: rgba(241, 182, 94, 0.32);
  stroke-dasharray: 1.1 0.8;
  stroke-width: 1.6;
  vector-effect: non-scaling-stroke;
}

.tactical-map__features {
  fill: rgba(142, 217, 239, 0.09);
  stroke: rgba(142, 217, 239, 0.27);
  stroke-width: 0.35;
  vector-effect: non-scaling-stroke;
}

.tactical-map__trail {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 0.72;
  vector-effect: non-scaling-stroke;
}

.tactical-map__trail--player {
  stroke: rgba(142, 217, 239, 0.75);
}

.tactical-map__trail--opponent {
  stroke: rgba(255, 143, 133, 0.7);
}

.tactical-map__separation {
  stroke: rgba(230, 242, 245, 0.42);
  stroke-dasharray: 1.1 1.1;
  stroke-width: 0.32;
  vector-effect: non-scaling-stroke;
}

.tactical-map__field,
.tactical-map__boundary-note,
.tactical-map__zone,
.unit-marker,
.tactical-map__legend {
  position: absolute;
  z-index: 2;
}

.tactical-map__field {
  top: 58px;
  left: 18px;
  margin: 0;
  padding-left: 9px;
  border-left: 1px solid rgba(142, 217, 239, 0.55);
}

.tactical-map__field span,
.tactical-map__field b {
  display: block;
}

.tactical-map__field span {
  color: var(--spectate-cyan);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.tactical-map__field b {
  margin-top: 3px;
  color: rgba(230, 242, 245, 0.6);
  font-size: 0.57rem;
  letter-spacing: 0.1em;
}

.tactical-map__boundary-note {
  top: 58px;
  right: 18px;
  margin: 0;
  padding: 5px 7px;
  border: 1px solid rgba(241, 182, 94, 0.22);
  background: rgba(3, 10, 16, 0.78);
  color: rgba(241, 182, 94, 0.75);
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.tactical-map__zone {
  color: rgba(222, 237, 241, 0.72);
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  transform: translate(-50%, -50%);
}

.tactical-map__zone--scrap { top: 29%; left: 23%; }
.tactical-map__zone--relay { top: 29%; left: 77%; }
.tactical-map__zone--cover { top: 43%; left: 49%; }
.tactical-map__zone--ditch { top: 69%; left: 72%; color: var(--spectate-amber); }

.unit-marker {
  display: grid;
  grid-template-columns: 29px auto;
  align-items: center;
  gap: 7px;
  transform: translate(-14px, -14px);
  transition: top 420ms ease, left 420ms ease;
}

.unit-marker i {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: rgba(3, 10, 16, 0.9);
  box-shadow: 0 0 18px currentColor;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 900;
}

.unit-marker b {
  padding: 3px 6px;
  background: rgba(3, 10, 16, 0.78);
  font-size: 0.66rem;
  white-space: nowrap;
}

.unit-marker--player { color: var(--spectate-cyan); }
.unit-marker--opponent { color: var(--spectate-coral); }

.tactical-map__legend {
  right: 18px;
  bottom: 78px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 7px 9px;
  border: 1px solid rgba(142, 217, 239, 0.2);
  background: rgba(2, 8, 13, 0.86);
  color: rgba(222, 237, 241, 0.62);
  font-size: 0.61rem;
}

.tactical-map__legend span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.tactical-map__legend i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.tactical-map__legend .legend-player { background: var(--spectate-cyan); }
.tactical-map__legend .legend-opponent { background: var(--spectate-coral); }

.tactical-map__legend b {
  padding-left: 11px;
  border-left: 1px solid rgba(142, 217, 239, 0.18);
  color: var(--spectate-cyan-hot);
}

.battle-view.is-switching > img {
  opacity: 0.28;
  transform: scale(1.035);
}

.battle-view__shade,
.battle-view__scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.battle-view__shade {
  background:
    linear-gradient(180deg, rgba(1, 4, 7, 0.12), transparent 45%, rgba(1, 4, 7, 0.88)),
    linear-gradient(90deg, rgba(2, 7, 12, 0.55), transparent 22%, transparent 72%, rgba(2, 7, 12, 0.3));
}

.battle-view__scan {
  opacity: 0.19;
  background-image: repeating-linear-gradient(180deg, transparent 0, transparent 3px, rgba(194, 239, 250, 0.12) 4px);
  mix-blend-mode: screen;
}

.battle-view::after {
  position: absolute;
  top: 50%;
  left: 5%;
  width: 90%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(142, 217, 239, 0.58), #fff, rgba(168, 154, 223, 0.55), transparent);
  content: "";
  opacity: 0.4;
  box-shadow: 0 0 8px rgba(142, 217, 239, 0.38);
}

.battle-view figcaption {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  min-height: 72px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px 15px;
}

.battle-view figcaption p {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 4px;
  margin: 0;
}

.battle-view figcaption p span {
  color: var(--spectate-cyan);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.battle-view figcaption p b {
  color: rgba(230, 242, 245, 0.72);
  font-size: 0.72rem;
}

.battle-view figcaption > div {
  min-width: 0;
  text-align: right;
}

.battle-view figcaption > div span,
.battle-view figcaption > div b {
  display: block;
}

.battle-view figcaption > div span {
  color: var(--muted);
  font-size: 0.65rem;
  letter-spacing: 0.13em;
}

.battle-view figcaption > div b {
  overflow: hidden;
  margin-top: 5px;
  font-size: 0.875rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-clock {
  position: absolute;
  z-index: 4;
  top: 15px;
  left: 17px;
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 8px 10px;
  border-left: 2px solid var(--spectate-amber);
  background: rgba(2, 7, 12, 0.76);
}

.match-clock span {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.match-clock time {
  font-family: "Astral Serif", monospace;
  font-size: 1.12rem;
  letter-spacing: 0.08em;
}

.battle-view__provisional {
  position: absolute;
  z-index: 4;
  top: 18px;
  right: 18px;
  margin: 0;
  color: rgba(230, 242, 245, 0.48);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.combatants {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  border-top: 1px solid rgba(142, 217, 239, 0.16);
  border-bottom: 1px solid rgba(142, 217, 239, 0.16);
  background: rgba(4, 13, 20, 0.98);
}

.combatant {
  min-width: 0;
  padding: 15px clamp(14px, 2vw, 28px) 17px;
}

.combatant--opponent {
  text-align: right;
}

.combatant header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.combatant--opponent header {
  flex-direction: row-reverse;
}

.combatant header span {
  color: var(--spectate-violet);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.combatant header h2 {
  margin: 3px 0 0;
  font-family: "Astral Serif", "Yu Mincho", serif;
  font-size: clamp(1.45rem, 2.2vw, 2.25rem);
  line-height: 1;
}

.combatant header > p {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.combatant header > p i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--spectate-green);
}

.combatant--opponent header > p {
  flex-direction: row-reverse;
}

.combatant__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(8px, 1.4vw, 18px);
  margin-top: 13px;
}

.combatant__metrics > div {
  min-width: 0;
}

.combatant__metrics p {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 6px;
}

.combatant--opponent .combatant__metrics p {
  flex-direction: row-reverse;
}

.combatant__metrics p span {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.combatant__metrics p b {
  font-size: 0.82rem;
}

.combatant__metrics p i {
  font-style: normal;
}

.metric-bar {
  display: block;
  height: 4px;
  overflow: hidden;
  background: rgba(142, 217, 239, 0.09);
}

.metric-bar i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--spectate-cyan);
  box-shadow: 0 0 9px rgba(142, 217, 239, 0.45);
  transform-origin: left center;
  transition: width 420ms ease, background-color 220ms ease;
}

.combatant--opponent .metric-bar i {
  margin-left: auto;
  background: var(--spectate-violet);
  box-shadow: 0 0 9px rgba(168, 154, 223, 0.45);
  transform-origin: right center;
}

[data-metric-row].is-low .metric-bar i {
  background: var(--spectate-coral);
  box-shadow: 0 0 10px rgba(255, 143, 133, 0.52);
}

.versus {
  display: grid;
  width: 58px;
  place-content: center;
  border-right: 1px solid rgba(142, 217, 239, 0.13);
  border-left: 1px solid rgba(142, 217, 239, 0.13);
  text-align: center;
}

.versus span,
.versus b {
  display: block;
}

.versus span {
  color: var(--muted);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
}

.versus b {
  margin-top: 4px;
  color: var(--spectate-amber);
  font-family: "Astral Serif", serif;
  font-size: 1.2rem;
}

.viewer-controls {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px clamp(12px, 2vw, 24px);
  background: rgba(2, 8, 13, 0.98);
}

.viewer-controls button {
  min-height: 44px;
  border: 1px solid rgba(142, 217, 239, 0.2);
  background: rgba(142, 217, 239, 0.035);
  color: var(--paper);
  font-size: 0.875rem;
  font-weight: 800;
  cursor: pointer;
}

.viewer-controls button:hover:not(:disabled) {
  border-color: rgba(142, 217, 239, 0.52);
  background: rgba(142, 217, 239, 0.08);
}

.viewer-controls button:disabled {
  border-color: rgba(222, 237, 241, 0.42);
  background: rgba(222, 237, 241, 0.06);
  color: rgba(222, 237, 241, 0.72);
  cursor: not-allowed;
  opacity: 1;
}

.viewer-controls__play {
  display: flex;
  gap: 7px;
}

.viewer-controls__play button {
  padding: 0 15px;
}

.viewer-controls__play button:first-child {
  display: flex;
  min-width: 154px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-color: rgba(241, 182, 94, 0.48);
  background: rgba(241, 182, 94, 0.075);
}

.viewer-controls__play button:first-child span {
  color: var(--spectate-amber);
}

.viewer-controls__speed,
.viewer-controls__camera {
  display: flex;
  align-items: center;
  gap: 5px;
}

.viewer-controls__speed > span,
.viewer-controls__camera > span {
  margin-right: 4px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.viewer-controls__speed button,
.viewer-controls__camera button {
  min-width: 44px;
  padding: 0 9px;
}

.viewer-controls button[aria-pressed="true"] {
  border-color: var(--spectate-violet);
  background: rgba(168, 154, 223, 0.13);
  color: var(--spectate-cyan-hot);
}

.partner-console {
  display: grid;
  min-width: 0;
  grid-template-rows: auto minmax(250px, 1fr);
  background: rgba(3, 10, 16, 0.94);
}

.voice-console,
.combat-log {
  min-width: 0;
}

.voice-console {
  border-bottom: 1px solid var(--spectate-line);
}

.voice-console > header,
.combat-log > header {
  display: flex;
  min-height: 55px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 15px;
  border-bottom: 1px solid rgba(142, 217, 239, 0.14);
  background: rgba(142, 217, 239, 0.025);
}

.voice-console > header span,
.combat-log > header span {
  color: var(--spectate-violet);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.voice-console > header h2,
.combat-log > header h2 {
  margin: 3px 0 0;
  font-family: "Astral Serif", "Yu Mincho", serif;
  font-size: 1.28rem;
  line-height: 1;
}

.voice-console > header > b,
.combat-log > header > b {
  color: var(--spectate-cyan);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.voice-console__message {
  min-height: 58px;
  margin: 0;
  padding: 12px 15px;
  color: rgba(222, 237, 241, 0.67);
  font-size: 0.875rem;
  line-height: 1.65;
}

.voice-console__action {
  display: grid;
  width: calc(100% - 30px);
  min-height: 83px;
  align-content: center;
  margin: 0 15px 13px;
  padding: 10px 14px;
  border: 1px solid rgba(142, 217, 239, 0.19);
  background: rgba(142, 217, 239, 0.025);
  color: rgba(222, 237, 241, 0.72);
  cursor: not-allowed;
}

.voice-console__action span,
.voice-console__action b,
.voice-console__action small {
  display: block;
}

.voice-console__action span {
  font-size: 0.61rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.voice-console__action b {
  margin-top: 4px;
  font-size: 1rem;
}

.voice-console__action small {
  margin-top: 5px;
  font-size: 0.66rem;
  font-weight: 500;
}

.voice-console.is-open .voice-console__action {
  border-color: var(--spectate-coral);
  background:
    linear-gradient(100deg, rgba(255, 143, 133, 0.16), rgba(168, 154, 223, 0.1)),
    #07131c;
  color: var(--paper);
  cursor: pointer;
  box-shadow: inset 0 0 28px rgba(255, 143, 133, 0.06), 0 0 18px rgba(255, 143, 133, 0.08);
  animation: voice-window 1.35s ease-in-out infinite;
}

.voice-console.is-open .voice-console__action span {
  color: var(--spectate-coral);
}

.call-stack {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  background: rgba(142, 217, 239, 0.1);
  list-style: none;
}

.call-stack li {
  position: relative;
  display: grid;
  min-height: 58px;
  grid-template-columns: 47px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  background: #061019;
}

.call-stack li::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: transparent;
  content: "";
}

.call-stack li.is-open::before {
  background: var(--spectate-coral);
  box-shadow: 0 0 10px rgba(255, 143, 133, 0.55);
}

.call-stack li.is-used::before {
  background: var(--spectate-cyan);
}

.call-stack__number {
  color: var(--spectate-violet);
  font-family: "Astral Serif", serif;
  font-size: 1rem;
  text-align: center;
}

.call-stack__copy {
  min-width: 0;
}

.call-stack__copy span,
.call-stack__copy b {
  display: block;
}

.call-stack__copy span {
  color: var(--muted);
  font-size: 0.61rem;
  letter-spacing: 0.08em;
}

.call-stack__copy b {
  overflow: hidden;
  margin-top: 4px;
  font-size: 0.875rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.call-stack__state {
  color: rgba(222, 237, 241, 0.7);
  font-size: 0.61rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.call-stack li.is-open .call-stack__state {
  color: var(--spectate-coral);
}

.call-stack li.is-used .call-stack__state {
  color: var(--spectate-cyan);
}

.combat-log {
  display: grid;
  min-height: 0;
  grid-template-rows: auto 1fr;
}

.combat-log > ol {
  display: flex;
  min-height: 230px;
  max-height: 100%;
  flex-direction: column;
  gap: 1px;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: rgba(142, 217, 239, 0.08);
  list-style: none;
  scrollbar-color: rgba(142, 217, 239, 0.3) transparent;
}

.combat-log li {
  display: grid;
  grid-template-columns: 43px 55px minmax(0, 1fr);
  gap: 9px;
  padding: 10px 12px;
  background: #050e16;
}

.combat-log li time {
  color: var(--muted);
  font-family: monospace;
  font-size: 0.68rem;
}

.combat-log li span {
  color: var(--spectate-violet);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.combat-log li p {
  margin: 0;
  color: rgba(226, 239, 242, 0.74);
  font-size: 0.875rem;
  line-height: 1.55;
}

.combat-log li[data-kind="damage"] span,
.combat-log li[data-kind="call"] span {
  color: var(--spectate-coral);
}

.combat-log li[data-kind="effect"] span {
  color: var(--spectate-green);
}

.combat-log li[data-kind="final"] {
  background: rgba(241, 182, 94, 0.08);
}

.combat-log li[data-kind="final"] span {
  color: var(--spectate-amber);
}

.response-ledger {
  margin-top: clamp(70px, 9vw, 128px);
  border: 1px solid var(--spectate-line);
  background:
    linear-gradient(130deg, rgba(168, 154, 223, 0.08), transparent 42%),
    rgba(4, 12, 19, 0.9);
}

.response-ledger > header {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(360px, 1.2fr);
  gap: clamp(30px, 6vw, 100px);
  align-items: end;
  padding: clamp(30px, 5vw, 70px);
  border-bottom: 1px solid var(--spectate-line);
}

.response-ledger > header p:first-child {
  margin: 0;
  color: var(--spectate-violet);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.response-ledger > header h2 {
  margin: 11px 0 0;
  font-family: "Astral Serif", "Yu Mincho", serif;
  font-size: clamp(2.5rem, 5.4vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: -0.07em;
}

.response-ledger > header > p {
  margin: 0;
  color: rgba(222, 237, 241, 0.7);
  font-size: 1rem;
  line-height: 1.9;
}

.response-ledger__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  background: rgba(142, 217, 239, 0.14);
  list-style: none;
}

.response-ledger__list li {
  min-height: 190px;
  padding: clamp(22px, 3vw, 38px);
  background: #061019;
}

.response-ledger__list li > span {
  color: var(--spectate-violet);
  font-family: "Astral Serif", serif;
  font-size: 1.15rem;
}

.response-ledger__list h3 {
  margin: 22px 0 8px;
  font-size: 1.08rem;
}

.response-ledger__list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.75;
}

.response-ledger__list li.is-recorded h3 {
  color: var(--spectate-green);
}

.response-ledger__list li.is-open h3 {
  color: var(--spectate-coral);
}

.response-ledger__policy {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--spectate-line);
}

.response-ledger__policy article {
  min-height: 230px;
  padding: clamp(24px, 3.2vw, 46px);
}

.response-ledger__policy article + article {
  border-left: 1px solid rgba(142, 217, 239, 0.13);
}

.response-ledger__policy span {
  color: var(--spectate-violet);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.response-ledger__policy h3 {
  margin: 19px 0 11px;
  font-size: 1.1rem;
}

.response-ledger__policy p {
  margin: 0;
  color: rgba(222, 237, 241, 0.66);
  font-size: 0.9rem;
  line-height: 1.8;
}

.spectate-luco {
  display: grid;
  width: min(780px, 100%);
  min-height: 290px;
  grid-template-columns: minmax(150px, 0.64fr) minmax(300px, 1.36fr);
  align-items: end;
  margin: clamp(70px, 9vw, 128px) auto 0;
}

.spectate-luco img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-height: 330px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.52));
}

.spectate-luco p {
  position: relative;
  align-self: center;
  margin: 0 0 20px -24px;
  padding: 22px 22px 22px 36px;
  border: 1px solid rgba(168, 154, 223, 0.3);
  background: rgba(3, 10, 16, 0.94);
}

.spectate-luco p::before {
  position: absolute;
  top: 32px;
  left: -10px;
  width: 18px;
  height: 18px;
  border-bottom: 1px solid rgba(168, 154, 223, 0.3);
  border-left: 1px solid rgba(168, 154, 223, 0.3);
  background: #061019;
  content: "";
  transform: rotate(45deg);
}

.spectate-luco span,
.spectate-luco b {
  display: block;
}

.spectate-luco span {
  color: var(--spectate-violet);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.spectate-luco b {
  margin-top: 8px;
  font-size: 0.88rem;
  line-height: 1.8;
}

.spectate-mobile-action {
  display: none;
}

@keyframes spectate-lamp {
  0%, 100% { opacity: 0.56; transform: scale(0.86); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes voice-window {
  0%, 100% { box-shadow: inset 0 0 28px rgba(255, 143, 133, 0.06), 0 0 10px rgba(255, 143, 133, 0.05); }
  50% { box-shadow: inset 0 0 34px rgba(255, 143, 133, 0.11), 0 0 24px rgba(255, 143, 133, 0.16); }
}

@media (max-width: 1280px) {
  .luco-trace-guide__body {
    grid-template-columns: minmax(210px, 0.75fr) minmax(0, 1.45fr);
  }

  .luco-trace-guide__action {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 18px;
  }

  .luco-trace-guide__action a {
    min-width: 190px;
    margin-top: 0;
  }

  .match-workspace {
    grid-template-columns: minmax(0, 1fr) 330px;
  }

  .viewer-controls {
    flex-wrap: wrap;
  }

  .viewer-controls__play {
    flex: 1 1 auto;
  }

  .combatant__metrics {
    grid-template-columns: 1fr;
    gap: 7px;
  }
}

@media (max-width: 980px) {
  .luco-trace-guide {
    grid-template-columns: 118px minmax(0, 1fr);
  }

  .luco-trace-guide > img {
    width: 160px;
    height: 188px;
    margin-left: -30px;
  }

  .luco-trace-guide__body {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .luco-trace-guide__steps {
    grid-row: 2;
  }

  .luco-trace-guide__action {
    grid-column: auto;
    grid-template-columns: 1fr auto;
  }

  .match-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

  .match-head dl {
    width: 100%;
    min-width: 0;
  }

  .match-workspace {
    grid-template-columns: 1fr;
  }

  .arena-feed {
    border-right: 0;
  }

  .partner-console {
    grid-template-columns: minmax(320px, 0.85fr) minmax(360px, 1.15fr);
    grid-template-rows: 1fr;
    border-top: 1px solid var(--spectate-line);
  }

  .voice-console {
    border-right: 1px solid var(--spectate-line);
    border-bottom: 0;
  }

  .combat-log > ol {
    max-height: 390px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 66px;
  }

  .spectate-topbar {
    height: 58px;
    padding: 0 14px;
  }

  .spectate-topbar__brand {
    width: 190px;
    height: 50px;
  }

  .spectate-topbar__right > a {
    font-size: 0.6rem;
    letter-spacing: 0.07em;
  }

  .spectate-topbar__right p {
    display: none;
  }

  .spectate-shell {
    padding: 69px 10px 164px;
  }

  .spectate-page.has-mobile-site-nav > .spectate-shell {
    padding-bottom: calc(164px + env(safe-area-inset-bottom));
  }

  .match-console {
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  }

  .match-head {
    min-height: 0;
    gap: 13px;
    padding: 15px 14px 13px;
  }

  .match-head p {
    font-size: 0.59rem;
    line-height: 1.55;
  }

  .match-head h1 {
    font-size: 1.5rem;
  }

  .match-head dl div {
    padding: 8px 7px;
  }

  .match-head dt {
    font-size: 0.58rem;
  }

  .match-head dd {
    font-size: 0.66rem;
  }

  .archive-notice {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 10px 14px 12px;
  }

  .archive-notice > span {
    font-size: 0.59rem;
  }

  .archive-notice p {
    font-size: 0.76rem;
    line-height: 1.58;
  }

  .luco-trace-guide {
    position: relative;
    display: block;
    min-height: 0;
    padding: 15px 13px 14px;
  }

  .luco-trace-guide > img {
    position: absolute;
    top: 4px;
    right: -20px;
    width: 118px;
    height: 126px;
    margin: 0;
    opacity: 0.82;
  }

  .luco-trace-guide__body {
    position: relative;
    z-index: 3;
    display: block;
    padding: 0;
  }

  .luco-trace-guide__intro {
    min-height: 90px;
    padding-right: 86px;
  }

  .luco-trace-guide__intro h2 {
    font-size: 1.27rem;
  }

  .luco-trace-guide__intro > p:last-child {
    font-size: 0.74rem;
  }

  .luco-trace-guide__steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .luco-trace-guide__steps li {
    display: grid;
    min-height: 0;
    grid-template-columns: 30px 0.75fr 1.25fr;
    align-items: center;
    gap: 7px;
    padding: 8px 10px;
  }

  .luco-trace-guide__steps b,
  .luco-trace-guide__steps small {
    margin-top: 0;
  }

  .luco-trace-guide__steps small {
    font-size: 0.64rem;
  }

  .luco-trace-guide__action {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 10px;
  }

  .luco-trace-guide__action a {
    min-width: 0;
  }

  .battle-view {
    min-height: 230px;
    aspect-ratio: 1.56 / 1;
  }

  .battle-view.is-map {
    min-height: 330px;
    aspect-ratio: 1.15 / 1;
  }

  .tactical-map__field {
    top: 56px;
    left: 11px;
  }

  .tactical-map__boundary-note {
    top: 91px;
    right: 10px;
    font-size: 0.52rem;
  }

  .tactical-map__zone {
    font-size: 0.51rem;
  }

  .unit-marker {
    grid-template-columns: 26px auto;
    gap: 4px;
    transform: translate(-13px, -13px);
  }

  .unit-marker i {
    width: 26px;
    height: 26px;
    font-size: 0.62rem;
  }

  .unit-marker b {
    padding: 2px 4px;
    font-size: 0.57rem;
  }

  .tactical-map__legend {
    right: 10px;
    bottom: 80px;
    left: 10px;
    justify-content: space-between;
    gap: 7px;
    font-size: 0.55rem;
  }

  .tactical-map__legend b {
    padding-left: 7px;
  }

  .battle-view > img {
    object-position: center;
  }

  .battle-view figcaption {
    min-height: 73px;
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    padding: 10px 12px 13px;
  }

  .battle-view figcaption > div {
    width: 100%;
    text-align: left;
  }

  .battle-view figcaption > div b {
    font-size: 0.82rem;
  }

  .match-clock {
    top: 10px;
    left: 10px;
  }

  .battle-view__provisional {
    top: 12px;
    right: 10px;
    max-width: 130px;
    font-size: 0.53rem;
    line-height: 1.5;
    text-align: right;
  }

  .combatant {
    padding: 12px 10px 14px;
  }

  .combatant header {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .combatant--opponent header {
    align-items: flex-end;
  }

  .combatant header h2 {
    font-size: 1.35rem;
  }

  .combatant header > p,
  .combatant--opponent header > p {
    flex-direction: row;
  }

  .combatant__metrics {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .combatant__metrics p span {
    font-size: 0.7rem;
  }

  .versus {
    width: 38px;
  }

  .viewer-controls {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 10px;
  }

  .viewer-controls__play {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .viewer-controls__play button,
  .viewer-controls__play button:first-child {
    min-width: 0;
    padding: 0 8px;
    font-size: 0.82rem;
  }

  .viewer-controls__speed {
    display: grid;
    grid-template-columns: 56px repeat(2, minmax(0, 1fr));
  }

  .viewer-controls__camera {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .viewer-controls__camera > span {
    grid-column: 1 / -1;
  }

  .viewer-controls__speed button:last-child {
    grid-column: auto;
  }

  .viewer-controls__speed::after {
    display: none;
  }

  .partner-console {
    grid-template-columns: 1fr;
  }

  .voice-console {
    border-right: 0;
    border-bottom: 1px solid var(--spectate-line);
  }

  .voice-console__message {
    font-size: 0.875rem;
  }

  .combat-log > ol {
    max-height: 330px;
  }

  .response-ledger {
    margin-top: 72px;
  }

  .response-ledger > header {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 29px 19px;
  }

  .response-ledger > header h2 {
    font-size: clamp(2.5rem, 13vw, 3.8rem);
  }

  .response-ledger > header > p {
    font-size: 0.9rem;
  }

  .response-ledger__list,
  .response-ledger__policy {
    grid-template-columns: 1fr;
  }

  .response-ledger__list li {
    min-height: 0;
    padding: 25px 19px;
  }

  .response-ledger__policy article {
    min-height: 0;
    padding: 26px 19px;
  }

  .response-ledger__policy article + article {
    border-top: 1px solid rgba(142, 217, 239, 0.13);
    border-left: 0;
  }

  .spectate-luco {
    min-height: 255px;
    grid-template-columns: minmax(112px, 0.64fr) minmax(185px, 1.36fr);
    margin-top: 72px;
  }

  .spectate-luco p {
    margin-left: -16px;
    padding: 16px 14px 16px 25px;
  }

  .spectate-luco b {
    font-size: 0.76rem;
  }

  .spectate-mobile-action {
    position: fixed;
    z-index: 79;
    right: max(8px, env(safe-area-inset-right));
    bottom: calc(70px + env(safe-area-inset-bottom));
    left: max(8px, env(safe-area-inset-left));
    display: grid;
    min-height: 52px;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    padding: 6px 7px 6px 13px;
    border: 1px solid rgba(142, 217, 239, 0.28);
    background: rgba(3, 10, 16, 0.95);
    box-shadow: 0 9px 28px rgba(0, 0, 0, 0.46);
    backdrop-filter: blur(12px);
  }

  .spectate-mobile-action p {
    min-width: 0;
    margin: 0;
  }

  .spectate-mobile-action span,
  .spectate-mobile-action b {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .spectate-mobile-action span {
    color: var(--muted);
    font-size: 0.59rem;
    letter-spacing: 0.08em;
  }

  .spectate-mobile-action b {
    margin-top: 3px;
    font-size: 0.72rem;
  }

  .spectate-mobile-action button {
    min-width: 100px;
    min-height: 42px;
    border: 1px solid rgba(142, 217, 239, 0.4);
    background: rgba(142, 217, 239, 0.08);
    color: var(--paper);
    font-size: 0.82rem;
    font-weight: 900;
    cursor: pointer;
  }

  .spectate-mobile-action.is-open {
    border-color: rgba(255, 143, 133, 0.68);
    background: rgba(20, 11, 17, 0.97);
  }

  .spectate-mobile-action.is-open button {
    border-color: var(--spectate-coral);
    background: rgba(255, 143, 133, 0.14);
    color: var(--paper);
  }
}

@media (max-width: 390px) {
  .spectate-topbar__brand {
    width: 164px;
  }

  .spectate-topbar__right > a {
    max-width: 94px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .match-head dl {
    grid-template-columns: 1fr 1fr;
  }

  .match-head dl div:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(142, 217, 239, 0.12);
    border-left: 0;
  }

  .viewer-controls__play button {
    font-size: 0.76rem;
  }

  .call-stack li {
    grid-template-columns: 37px minmax(0, 1fr) auto;
    padding-right: 10px;
    padding-left: 8px;
  }

  .spectate-luco b {
    font-size: 0.71rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .spectate-topbar__right p span,
  .voice-console.is-open .voice-console__action {
    animation: none;
  }

  .battle-view > img,
  .unit-marker,
  .metric-bar i {
    transition: none;
  }
}

/* TOURO TRACE LAB identity. The simulation UI remains a read-only newsroom instrument. */
.spectate-page {
  --spectate-accent: #ffd727;
  background: #0b0b0b;
  font-family: Inter, "Helvetica Neue", Arial, "Yu Gothic", sans-serif;
}

.spectate-topbar {
  border-bottom: 6px solid #ffd727;
  background: rgba(10, 10, 10, 0.97);
}

.spectate-topbar__brand {
  display: block;
  width: 188px;
  max-width: 100%;
  height: 58px;
  overflow: hidden;
  text-decoration: none;
}

.spectate-topbar__brand picture,
.spectate-topbar__brand img,
.spectate-footer__logo picture,
.spectate-footer__logo img { display: block; width: 100%; height: auto; }

.spectate-topbar__brand img { object-fit: contain; filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.8)); mix-blend-mode: normal; }
.spectate-footer__logo { display: block; width: 402px; max-width: 100%; }
.match-head h1,
.luco-trace-guide h2 { font-family: Arial Black, Impact, "Yu Gothic", sans-serif; letter-spacing: -0.045em; }

.archive-entry-guide {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 1.1fr);
  gap: 1px;
  border-bottom: 1px solid var(--spectate-line);
  background: rgba(142, 217, 239, 0.13);
}

.archive-entry-guide > div {
  display: grid;
  align-content: center;
  min-width: 0;
  padding: clamp(20px, 3vw, 38px);
  background: #07121b;
}

.archive-entry-guide p,
.archive-entry-guide h2 {
  margin: 0;
}

.archive-entry-guide > div:first-child > p:first-child {
  color: var(--spectate-cyan);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.archive-entry-guide h2 {
  margin-top: 8px;
  color: var(--paper);
  font-size: clamp(1.25rem, 2.3vw, 2rem);
}

.archive-entry-guide p {
  margin-top: 10px;
  color: rgba(222, 237, 241, 0.72);
  font-size: 0.82rem;
  line-height: 1.75;
}

.archive-entry-guide a {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 16px;
  padding: 10px 14px;
  border: 1px solid var(--spectate-cyan);
  color: var(--spectate-cyan-hot);
  font-size: 0.8rem;
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 760px) {
  .archive-entry-guide {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .spectate-topbar__brand,
  .spectate-footer__logo { width: 196px; }
  .spectate-topbar__brand picture,
  .spectate-footer__logo picture {
    padding: 5px 8px;
    border-radius: 2px;
    background: #f6f4eb;
  }
}

@media (max-width: 760px) {
  .spectate-topbar__right { display: none; }
  .spectate-topbar { min-height: 68px; padding-inline: 12px; }
}
