/* Cabinet viewport: the stage fills a screen; only a service drawer scrolls. */
html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}
body {
  min-width: 0;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
input,
textarea {
  user-select: text;
  -webkit-user-select: text;
}
button,
label,
canvas {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
#board,
.touch-controls {
  touch-action: none;
}
.brand {
  background: none;
  padding: 0;
  border: 0;
  text-align: left;
  color: var(--cream);
}
.brand:hover {
  filter: brightness(1.1);
}
#fullscreen-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#fullscreen-button[hidden] {
  display: none;
}
.app-shell {
  width: 100%;
  max-width: 1180px;
  height: 100dvh;
  padding: 0 28px;
  display: flex;
  flex-direction: column;
}
.topbar {
  height: 62px;
  min-height: 62px;
}
.app-shell > main {
  min-height: 0;
  flex: 1;
  display: grid;
  grid-template-rows: 72px minmax(0, 1fr) 114px 38px;
}
.run-heading {
  padding: 12px 0;
  margin: 0 auto;
  width: 100%;
  max-width: 1000px;
}
.game-layout {
  --board-width: min(330px, calc((100dvh - 338px) / 2));
  grid-template-columns: minmax(200px, 260px) var(--board-width) minmax(
      200px,
      260px
    );
  gap: clamp(16px, 3vw, 42px);
  justify-content: center;
  width: 100%;
  max-width: 1100px;
  min-height: 0;
  margin: 0 auto;
  align-items: start;
}
.board-area {
  min-width: 0;
}
.board-topline {
  height: 12px;
  margin: 0 0 10px;
  white-space: nowrap;
  font-size: 10px;
  letter-spacing: 0;
}
.board-bottomline {
  margin-top: 12px;
  font-size: 10px;
}
.board-signature {
  font-size: 9px;
  letter-spacing: 0;
}
.left-rail,
.right-rail {
  min-height: 0;
}
.contract-panel {
  padding: 14px 16px;
}
.contract-name {
  margin-top: 10px;
  font-size: 24px;
}
.contract-panel p {
  margin: 8px 0 10px;
  font-size: 16px;
  line-height: 1.1;
}
.target-score {
  font-size: 28px;
  margin: 6px 0 10px;
}
.score-panel {
  margin-top: 12px;
  padding: 12px 16px;
}
.current-score {
  margin: 8px 0;
  font-size: 24px;
}
.score-formula > div {
  padding: 5px;
}
.score-formula span {
  font-size: 22px;
}
.last-clear {
  margin-top: 9px;
}
.stat-row {
  margin-top: 12px;
}
.mini-stat {
  padding: 9px 12px;
}
.mini-stat strong {
  font-size: 22px;
}
.start-button {
  margin-top: 12px;
  padding: 12px;
  font-size: 15px;
}
.saved-label {
  font-size: 11px;
  margin-top: 10px;
}
.new-run-button {
  font-size: 12px;
}
.next-panel {
  height: 225px;
  padding: 12px;
}
.next-panel canvas {
  height: 29px;
  margin-top: 6px;
}
.next-panel canvas:first-child {
  height: 35px;
}
.hold-panel {
  height: 123px;
  padding: 12px;
}
.hold-panel canvas {
  height: 48px;
}
.tricks-panel {
  margin-top: 12px;
  padding: 12px;
}
.section-caption {
  margin: 6px 0 10px;
  font-size: 15px;
}
.trick {
  min-height: 43px;
  padding: 6px;
}
.broadcast {
  padding: 10px;
  margin-top: 12px;
}
.broadcast p {
  margin: 5px 0 0;
}
.almanac-button {
  margin-top: 8px;
}
.oddities-section {
  margin: 10px auto 0;
  width: 100%;
  max-width: 1000px;
}
.oddities-heading {
  height: 16px;
}
.relic-rack {
  margin-top: 8px;
  gap: 12px;
}
.relic-slot {
  height: 74px;
}
.relic-card .card-art {
  height: 44px;
}
.relic-card .card-art > span {
  font-size: 28px;
}
.relic-card .card-name {
  padding: 5px;
  font-size: 15px;
}
.relic-slot > small {
  margin-top: 4px;
}
footer {
  padding: 10px 0;
  margin: 0 auto;
  width: 100%;
  max-width: 1000px;
  align-items: center;
}
.control-legend {
  gap: 12px;
}
.board-overlay {
  justify-content: center;
  padding: 12px;
}
.jester-art {
  width: 110px;
  margin: 22px 0 16px;
}
.board-overlay p {
  margin: 15px 0;
}
.modal-backdrop {
  overscroll-behavior: contain;
}
.modal {
  overscroll-behavior: contain;
  scrollbar-color: #719888 #10282d;
  scrollbar-width: thin;
  animation: channel-in 0.14s steps(4, end);
}
.modal[data-screen="shop"] {
  animation-name: none;
}
.sound-check {
  width: 100%;
  margin-top: 6px;
  color: var(--gold);
}
.modal[data-screen="settings"] .form-row {
  padding-top: 7px;
  padding-bottom: 7px;
}
@keyframes channel-in {
  from {
    opacity: 0.2;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 761px) and (max-height: 820px) {
  .app-shell > main {
    grid-template-rows: 58px minmax(0, 1fr) 88px 32px;
  }
  .game-layout {
    --board-width: min(280px, calc((100dvh - 280px) / 2));
  }
  .topbar {
    height: 54px;
    min-height: 54px;
  }
  .brand small,
  .broadcast,
  .saved-label,
  .section-caption,
  .contract-panel p,
  .oddity-subtitle {
    display: none;
  }
  .run-heading {
    padding: 6px 0;
  }
  .contract-panel,
  .score-panel {
    padding: 10px 12px;
  }
  .contract-name {
    font-size: 20px;
    margin: 7px 0;
  }
  .target-score {
    font-size: 23px;
    margin: 5px 0 7px;
  }
  .current-score {
    font-size: 22px;
    margin: 6px 0;
  }
  .score-formula > div {
    padding: 3px;
  }
  .mini-stat {
    padding: 7px 10px;
  }
  .mini-stat strong {
    margin-top: 4px;
    font-size: 19px;
  }
  .start-button {
    padding: 9px;
    margin-top: 10px;
  }
  .next-panel {
    height: 190px;
    padding: 9px;
  }
  .next-panel canvas {
    height: 23px;
  }
  .next-panel canvas:first-child {
    height: 29px;
  }
  .hold-panel {
    height: 109px;
    padding: 9px;
  }
  .tricks-panel {
    padding: 9px;
  }
  .trick {
    min-height: 36px;
    margin-top: 7px;
  }
  .trick small {
    display: none;
  }
  .oddities-section {
    margin-top: 4px;
  }
  .relic-rack {
    margin-top: 5px;
  }
  .relic-card {
    display: flex;
    align-items: center;
    height: 51px;
  }
  .relic-card .card-art {
    width: 50px;
    height: 47px;
    flex-shrink: 0;
    border-bottom: 0;
  }
  .relic-card .card-name {
    font-size: 13px;
    white-space: normal;
    text-align: left;
  }
  .relic-card .card-number,
  .relic-slot small {
    display: none;
  }
  .relic-slot {
    height: 51px;
  }
  .jester-art {
    width: 76px;
    margin: 12px 0;
  }
  .attract-title {
    font-size: 13px;
  }
  .attract-badge {
    font-size: 9px;
  }
  .board-overlay p {
    margin: 8px 0;
    font-size: 15px;
  }
  .board-signature {
    display: none;
  }
}
@media (max-width: 760px) {
  .app-shell {
    padding: 0 12px;
    max-width: 480px;
  }
  .topbar,
  .playing .topbar {
    height: 50px;
    min-height: 50px;
    gap: 8px;
  }
  .topbar nav {
    gap: 7px;
  }
  .brand {
    font-size: 21px;
    gap: 4px;
  }
  .brand-mark {
    font-size: 25px;
  }
  .icon-button {
    width: 30px;
    height: 30px;
  }
  .app-shell > main {
    grid-template-rows: 46px minmax(0, 1fr) 48px 68px;
    padding-bottom: max(6px, env(safe-area-inset-bottom));
  }
  .run-heading,
  .playing .run-heading {
    padding: 5px 0;
  }
  h1,
  .playing h1 {
    font-size: 19px;
    margin-top: 3px;
  }
  .run-heading .eyebrow {
    font-size: 10px;
    letter-spacing: 1px;
  }
  #seed-label {
    display: none;
  }
  #pause-button {
    font-size: 12px;
  }
  .game-layout,
  .playing .game-layout {
    grid-template-columns: minmax(0, 1fr) 116px;
    grid-template-rows: 100px minmax(0, 1fr);
    gap: 10px;
    height: 100%;
    width: 100%;
  }
  .left-rail,
  .playing .left-rail {
    grid-column: 1/-1;
    gap: 6px;
    grid-template-rows: 68px 26px;
  }
  .contract-panel,
  .playing .contract-panel {
    padding: 6px 9px;
  }
  .contract-name,
  .target-label,
  .progress-caption,
  .contract-panel p,
  .start-button,
  .playing .start-button,
  .saved-label,
  .playing .saved-label,
  .last-clear {
    display: none;
  }
  .contract-panel .panel-label,
  .playing .contract-panel .panel-label {
    font-size: 11px;
    letter-spacing: 0;
  }
  .target-score,
  .playing .target-score {
    font-size: 21px;
    margin: 6px 0;
  }
  .progress-track {
    height: 3px;
  }
  .score-panel,
  .playing .score-panel {
    padding: 6px 9px;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
  }
  .score-panel > .panel-label,
  .playing .score-panel > .panel-label {
    grid-column: 1/-1;
    font-size: 11px;
  }
  .current-score,
  .playing .current-score {
    font-size: 18px;
    margin: 0;
    align-self: center;
  }
  .score-formula {
    gap: 3px;
  }
  .score-formula > div,
  .playing .score-formula > div {
    padding: 3px;
  }
  .score-formula span,
  .playing .score-formula span {
    font-size: 16px;
  }
  .score-formula small {
    font-size: 8px;
  }
  .stat-row,
  .playing .stat-row {
    margin: 0;
    gap: 6px;
  }
  .mini-stat,
  .playing .mini-stat {
    padding: 4px 9px;
  }
  .mini-stat strong,
  .playing .mini-stat strong {
    font-size: 16px;
    margin: 0;
  }
  .new-run-button {
    display: none;
  }
  .board-area {
    width: min(100%, calc((100dvh - 361px) / 2));
    justify-self: center;
  }
  .board-topline,
  .playing .board-topline {
    margin-bottom: 6px;
    font-size: 8px;
    height: 10px;
  }
  .board-topline .status-dot {
    display: none;
  }
  .board-bottomline,
  .playing .board-bottomline {
    margin-top: 7px;
    font-size: 9px;
  }
  .right-rail {
    width: 116px;
  }
  .queue-row {
    gap: 7px;
  }
  .hold-panel,
  .playing .hold-panel {
    height: 65px;
    padding: 6px 8px;
  }
  .hold-panel canvas,
  .playing .hold-panel canvas {
    height: 30px;
    margin: 1px 0;
  }
  .hold-panel > span {
    display: none;
  }
  .next-panel,
  .playing .next-panel {
    height: 155px;
    padding: 7px;
  }
  .next-panel canvas,
  .playing .next-panel canvas {
    height: 20px;
    margin-top: 3px;
  }
  .next-panel canvas:first-child,
  .playing .next-panel canvas:first-child {
    height: 25px;
  }
  .tricks-panel,
  .playing .tricks-panel {
    padding: 7px;
    margin-top: 7px;
  }
  .tricks-panel > .panel-label {
    font-size: 9px;
  }
  .trick,
  .playing .trick {
    min-height: 31px;
    padding: 4px;
    margin-top: 5px;
    gap: 4px;
  }
  .trick small {
    display: none;
  }
  .trick b,
  .playing .trick b {
    font-size: 12px;
  }
  .trick-icon {
    font-size: 18px;
    width: 18px;
  }
  .trick.empty {
    font-size: 9px;
  }
  .almanac-button,
  .playing .almanac-button {
    margin-top: 4px;
    padding: 4px 0;
    font-size: 11px;
  }
  .almanac-button span {
    display: none;
  }
  .touch-controls,
  .playing .touch-controls {
    grid-row: 3;
    display: flex;
    margin: 5px 0 0;
    gap: 5px;
    padding: 0;
  }
  .touch-controls button {
    height: 38px;
    flex: 1;
    font-size: 17px;
    padding: 0;
  }
  .touch-controls button:first-child,
  .touch-controls button:last-child {
    font-size: 13px;
  }
  body:not(.playing) .touch-controls {
    visibility: hidden;
  }
  .oddities-section,
  .playing .oddities-section {
    grid-row: 4;
    margin: 5px 0 0;
  }
  .oddities-heading {
    height: 12px;
    font-size: 10px;
  }
  .relic-rack {
    grid-template-columns: repeat(6, 1fr);
    gap: 6px;
    margin-top: 5px;
  }
  .relic-card {
    height: 39px;
  }
  .relic-card .card-art {
    height: 35px;
  }
  .relic-card .card-art > span {
    font-size: 25px;
  }
  .relic-card .card-art:before {
    inset: 4px;
  }
  .relic-card .card-name,
  .relic-card .card-number,
  .relic-slot small {
    display: none;
  }
  .relic-slot {
    height: 39px;
  }
  footer {
    display: none;
  }
  .board-overlay {
    padding: 8px;
  }
  .attract-badge {
    font-size: 9px;
    line-height: 1.2;
    letter-spacing: 0;
  }
  .jester-art {
    width: 85px;
    margin: 14px 0;
  }
  .attract-title {
    font-size: 12px;
  }
  .board-overlay p {
    font-size: 15px;
    margin: 12px 0;
  }
  .text-button {
    padding: 9px 5px;
    font-size: 12px;
  }
  .text-button span {
    padding-left: 3px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .modal {
    animation: none;
  }
}
.reduced-motion .modal {
  animation: none;
}
.modal.mixer {
  width: min(780px, 94vw);
}
.mixer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
}
.mixer-grid .settings-channel:first-child {
  grid-row: 1/3;
}
.modal.mixer .settings-channel {
  margin-top: 14px;
}
.modal.mixer .form-row {
  min-height: 44px;
  margin: 0;
  padding: 6px 0;
}
.modal.mixer .settings-channel h3 {
  margin-bottom: 9px;
}
.modal.mixer .volume-control {
  gap: 8px;
}
.modal.mixer .volume-control input {
  width: 100px;
}
.modal.mixer .signal-strip {
  margin-bottom: 10px;
}
.modal.mixer .settings-note {
  margin-top: 20px;
}
@media (max-width: 600px) {
  .mixer-grid {
    grid-template-columns: 1fr;
  }
  .mixer-grid .settings-channel:first-child {
    grid-row: auto;
  }
}
.modal.mixer {
  max-width: 780px;
}
@media (max-width: 760px) and (max-height: 740px) {
  .next-panel,
  .playing .next-panel {
    height: 105px;
    padding: 5px 7px;
  }
  .next-panel canvas,
  .playing .next-panel canvas {
    height: 13px;
    margin-top: 2px;
  }
  .next-panel canvas:first-child,
  .playing .next-panel canvas:first-child {
    height: 16px;
  }
  .hold-panel,
  .playing .hold-panel {
    height: 58px;
  }
  .trick,
  .playing .trick {
    min-height: 29px;
  }
  .jester-art {
    width: 55px;
    margin: 10px 0;
  }
  .attract-title {
    font-size: 10px;
  }
  .board-overlay p {
    font-size: 13px;
    margin: 9px 0;
  }
}
@media (min-width: 761px) and (max-height: 600px) {
  .app-shell {
    max-width: 1000px;
    padding: 0 18px;
  }
  .topbar {
    height: 40px;
    min-height: 40px;
  }
  .brand {
    font-size: 26px;
  }
  .brand-mark {
    font-size: 26px;
  }
  .edition,
  .live-lamp,
  .footer-note {
    display: none;
  }
  .app-shell > main {
    grid-template-rows: 34px minmax(0, 1fr) 53px 0;
  }
  .run-heading h1 {
    font-size: 18px;
    margin: 0;
  }
  .run-heading .eyebrow,
  #seed-label {
    display: none;
  }
  .game-layout {
    --board-width: calc((100dvh - 166px) / 2);
    grid-template-columns: minmax(180px, 250px) var(--board-width) minmax(
        190px,
        250px
      );
    gap: 22px;
  }
  .contract-name,
  .target-label,
  .progress-caption,
  .score-formula,
  .last-clear,
  .saved-label,
  .new-run-button {
    display: none;
  }
  .contract-panel,
  .score-panel {
    padding: 7px 10px;
  }
  .target-score,
  .current-score {
    font-size: 21px;
    margin: 6px 0;
  }
  .score-panel,
  .stat-row,
  .start-button {
    margin-top: 6px;
  }
  .mini-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 10px;
  }
  .mini-stat strong {
    margin: 0;
    font-size: 18px;
  }
  .mini-stat > span {
    font-size: 10px;
  }
  .start-button {
    font-size: 13px;
    padding: 7px;
  }
  .hold-panel,
  .next-panel {
    height: 104px;
    padding: 6px 8px;
  }
  .hold-panel > span {
    display: none;
  }
  .next-panel canvas {
    height: 12px;
    margin-top: 2px;
  }
  .next-panel canvas:first-child {
    height: 16px;
  }
  .tricks-panel {
    margin-top: 6px;
    padding: 6px;
  }
  .trick {
    min-height: 26px;
    margin-top: 4px;
    padding: 3px 6px;
  }
  .trick-icon {
    font-size: 19px;
  }
  .trick b {
    font-size: 14px;
  }
  .almanac-button {
    font-size: 12px;
    padding: 4px 0;
    margin: 0;
  }
  .oddities-heading,
  footer {
    display: none;
  }
  .relic-rack {
    margin-top: 2px;
  }
  .relic-card,
  .relic-slot {
    height: 43px;
  }
  .relic-card .card-art {
    height: 39px;
  }
  .board-topline > span:first-child {
    max-width: 75%;
    overflow: hidden;
  }
  .board-topline {
    font-size: 8px;
  }
  .board-overlay .attract-badge,
  .board-overlay p {
    display: none;
  }
  .jester-art {
    width: 42px;
    margin: 7px 0;
  }
  .attract-title {
    font-size: 8px;
    letter-spacing: -0.5px;
  }
  .text-button {
    font-size: 10px;
    padding: 5px;
    margin-top: 10px;
  }
  .text-button span {
    display: none;
  }
  .touch-controls {
    position: absolute;
    bottom: 60px;
    left: 18px;
    width: 29%;
    margin: 0;
    gap: 3px;
  }
  .touch-controls button {
    height: 32px;
    min-width: 0;
    padding: 2px;
    font-size: 13px;
  }
  .touch-controls button:first-child,
  .touch-controls button:last-child {
    font-size: 10px;
  }
  .playing .start-button {
    display: none;
  }
}
@media (min-width: 761px) and (min-height: 601px) {
  .game-layout {
    --board-width: min(330px, calc((100dvh - 338px) / 2), calc(100vw - 520px));
  }
}
@media (min-width: 761px) and (min-height: 601px) and (max-height: 820px) {
  .game-layout {
    --board-width: min(280px, calc((100dvh - 280px) / 2), calc(100vw - 520px));
  }
}
@media (pointer: coarse) and (min-width: 761px) and (min-height: 601px) {
  .app-shell > main {
    grid-template-rows: 58px minmax(0, 1fr) 48px 88px 0;
  }
  .game-layout {
    --board-width: min(300px, calc((100dvh - 350px) / 2), calc(100vw - 520px));
  }
  .touch-controls {
    grid-row: 3;
    margin: 4px auto;
    width: min(500px, 100%);
  }
  .touch-controls button {
    padding: 6px;
  }
  .oddities-section {
    grid-row: 4;
  }
  footer {
    display: none;
  }
}
@media (max-width: 760px) {
  #toast {
    top: 54px;
    bottom: auto;
    max-width: 310px;
    padding: 10px 16px;
  }
}

/* Interruptions from the other side of the glass. */
.modal.boss-dialogue {
  max-width: 780px;
  width: min(780px, 94vw);
}
.boss-channel {
  display: flex;
  gap: 28px;
  align-items: center;
  margin: 22px 0;
}
.boss-portrait {
  position: relative;
  flex: 0 0 132px;
  width: 132px;
  height: 150px;
  padding: 10px;
  background:
    repeating-linear-gradient(0deg, #071c2255 0 2px, transparent 2px 5px),
    #1b3437;
  border: 2px solid var(--accent);
  box-shadow: 4px 4px 0 #05191e;
}
.boss-portrait svg {
  width: 108px;
  height: 108px;
  display: block;
  filter: drop-shadow(3px 3px 0 #07191c);
}
.boss-portrait.speaking svg {
  animation: boss-speak 0.16s steps(2, end) infinite;
}
.boss-on-air {
  display: block;
  text-align: center;
  margin-top: 7px;
  font: 12px var(--mono);
  letter-spacing: 3px;
  color: var(--accent);
}
.boss-identity {
  min-width: 0;
}
.boss-identity .eyebrow {
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--accent);
}
.modal .boss-identity h2 {
  font-size: 24px;
  margin: 14px 0;
  line-height: 1.5;
}
.boss-round {
  font: 14px var(--mono);
  color: var(--muted);
  letter-spacing: 2px;
}
.boss-transmission {
  position: relative;
  min-height: 156px;
  padding: 22px 22px 22px 40px;
  border: 2px solid #607f72;
  background: #081f26;
  box-shadow: inset 3px 3px 0 #031319;
}
.boss-quote {
  position: absolute;
  left: 12px;
  top: 12px;
  font: 42px var(--mono);
  color: var(--pink);
}
.modal #boss-text {
  display: inline;
  font: 26px/1.35 var(--mono);
  color: var(--cream);
  margin: 0;
  white-space: pre-wrap;
}
.boss-cursor {
  color: var(--gold);
  font: 26px var(--mono);
}
.finished .boss-cursor {
  animation: boss-cursor 0.85s steps(1, end) infinite;
}
.boss-rule {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px dashed #64867b77;
}
.boss-rule > span {
  font: 11px var(--display);
  line-height: 1.5;
  color: var(--pink);
  white-space: nowrap;
}
.modal .boss-rule p {
  font: 17px/1.2 var(--mono);
  color: var(--muted);
  margin: 0;
}
.boss-dialogue-footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 15px;
  color: var(--muted);
  font: 13px var(--mono);
  letter-spacing: 1px;
}
.boss-dialogue .modal-actions {
  margin-top: 20px;
}
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip-path: inset(50%);
  white-space: nowrap !important;
  border: 0 !important;
}
@keyframes boss-speak {
  50% {
    transform: translateY(-2px);
  }
}
@keyframes boss-cursor {
  50% {
    opacity: 0;
  }
}
@media (max-width: 600px) {
  .boss-channel {
    gap: 16px;
    margin: 18px 0;
  }
  .boss-portrait {
    flex-basis: 92px;
    width: 92px;
    height: 111px;
    padding: 8px;
  }
  .boss-portrait svg {
    width: 72px;
    height: 72px;
  }
  .boss-on-air {
    font-size: 10px;
    letter-spacing: 2px;
  }
  .modal .boss-identity h2 {
    font-size: 16px;
    line-height: 1.6;
    margin: 8px 0;
  }
  .boss-identity .eyebrow {
    font-size: 11px;
    letter-spacing: 0.4px;
  }
  .boss-round {
    font-size: 11px;
    letter-spacing: 0.5px;
  }
  .boss-transmission {
    min-height: 190px;
    padding: 16px 16px 16px 29px;
  }
  .modal #boss-text,
  .boss-cursor {
    font-size: 22px;
  }
  .boss-quote {
    left: 7px;
    top: 8px;
  }
  .boss-rule {
    gap: 12px;
  }
  .boss-rule > span {
    font-size: 9px;
    white-space: normal;
    max-width: 75px;
  }
  .modal .boss-rule p {
    font-size: 16px;
  }
  .boss-dialogue-footer {
    font-size: 11px;
    letter-spacing: 0;
  }
  .boss-dialogue .modal-actions {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
  .boss-dialogue .quiet-button {
    font-size: 12px;
  }
  .boss-dialogue .quiet-button span {
    display: none;
  }
  .boss-dialogue .primary-button {
    font-size: 13px;
    padding: 12px;
  }
}
@media (max-height: 600px) and (min-width: 601px) {
  .boss-channel {
    margin: 10px 0;
    gap: 16px;
  }
  .boss-portrait {
    flex-basis: 74px;
    width: 74px;
    height: 80px;
    padding: 5px;
  }
  .boss-portrait svg {
    width: 60px;
    height: 60px;
  }
  .boss-on-air {
    display: none;
  }
  .modal .boss-identity h2 {
    font-size: 20px;
    margin: 4px 0;
  }
  .boss-transmission {
    min-height: 100px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .modal #boss-text {
    font-size: 22px;
  }
}
.reduced-motion .boss-portrait svg,
.reduced-motion .boss-cursor {
  animation: none;
}
@media (prefers-reduced-motion: reduce) {
  .boss-portrait svg,
  .boss-cursor {
    animation: none !important;
  }
}
