.world-layout .hall-board {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  padding: 7px;
  background: #ebeae1;
  isolation: isolate;
}
.hall-board::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 0 auto;
  width: 27%;
  background: linear-gradient(90deg, #ebeae1, #ebeae100 70%), var(--ink-hall) right center/auto 100% no-repeat;
}
.world-layout .stage--hall .section-heading h1 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
.stage--hall .section-heading .overline { display: none; }
.hall-board .subnav { flex-wrap: wrap; }
.hall-board .subnav [data-act="rules"] { margin-inline-start: 6px; }
.hall-board .hall-content, .hall-wait { max-width: 80%; }
.hall-wait, .board-toolbar, .board-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
}
.hall-wait { background: #dee8db; color: #2e4c37; padding: 3px 5px; border: 1px solid #a6b5a4; }
.hall-wait > span { min-width: 0; }
.hall-wait time { font-variant-numeric: tabular-nums; }
.hall-wait .button { white-space: nowrap; }
.board-toolbar > div { display: flex; align-items: center; gap: 4px; }
.world-layout .board-note { margin: 3px 0; color: #405050; font-size: .78rem; }
.board-list { list-style: none; padding: 0; margin: 3px 0; border: 1px solid #969e98; }
.board-row, .board-empty { padding: 3px 5px; background: #f1efe6; }
.board-empty:has(.button) { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.board-row + .board-row { border-top: 1px solid #b1b7ae; }
.board-row:nth-child(even) { background: #e5e8df; }
.board-row > div:first-child { display: flex; gap: 2px 15px; align-items: baseline; flex-wrap: wrap; overflow-wrap: anywhere; min-width: 0; }
.board-row strong { color: #274960; }
.board-row span, .board-joined { color: #4b5b56; font-size: .77rem; }
.board-row .actions { flex-wrap: nowrap; }
.board-row .button { white-space: nowrap; }
.world-layout .board-pager { justify-content: flex-end; margin: 3px 0; }
.world-layout .hall-bots .bot-card { grid-template-columns: minmax(48px,.38fr) minmax(0,1fr); }
.world-layout .hall-bots .bot-card img { height: clamp(85px, 20dvh, 185px); }
.team-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 9px; color: #334c55; font-size: .76rem; }
.team-controls select { max-width: min(240px, 48vw); font: inherit; color: #243e56; background: #f3f2e8; border: 1px solid #929e90; }

@media (max-width: 760px) {
  .hall-board::after { display: none; }
  .hall-board .hall-content, .hall-wait { max-width: 100%; }
  .hall-board .subnav .button { min-height: 26px; padding-inline: .34rem; font-size: .72rem; }
  .world-layout .hall-board { padding: 4px; }
  .world-layout .hall-bots .bot-card img { height: clamp(55px, 13dvh, 95px); }
  .board-row span { flex-basis: 100%; }
  .world-layout .board-row .button, .world-layout .hall-wait .button { padding-inline: .32rem; }
  .world-layout .battle-head:has(.team-controls) h1 { font-size: 1rem; }
  .world-layout .battle-head:has(.team-controls) .battle-damage { display: none; }
  .world-layout .battle-head:has(.team-controls) { flex-wrap: nowrap; }
  .world-layout .battle-head:has(.team-controls) .actions .button { padding-inline: .32rem; }
  .stage--battle:has(.team-controls) .battle-grid { grid-template-rows: clamp(99px, 20dvh, 143px) minmax(0,1fr); }
}
