@font-face {
  font-family: Barlow;
  src: url('./assets/fonts/Barlow-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Barlow;
  src: url('./assets/fonts/Barlow-SemiBold.ttf') format('truetype');
  font-weight: 600 800;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('./assets/fonts/BarlowCondensed-Bold.ttf') format('truetype');
  font-weight: 700 900;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('./assets/fonts/BarlowCondensed-SemiBold.ttf') format('truetype');
  font-weight: 400 600;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('./assets/fonts/IBMPlexMono-Medium.ttf') format('truetype');
  font-weight: 400 700;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #101315;
  --panel: #191c1e;
  --line: #363633;
  --muted: #b2b0a8;
  --cream: #f5eddb;
  --gold: #e7b874;
  --copper: #c68a4a;
  --accent: #ffbf6d;
  --head: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: Barlow, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', monospace;
  --gutter: clamp(24px, 4.6vw, 94px);
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--body);
  font-size: 16px;
}
body {
  overflow-x: hidden;
}
button,
select,
input {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.5;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 2px solid #ffe1a6;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.ui-icon {
  flex: none;
  display: inline-block;
  vertical-align: middle;
}
#client {
  min-height: 100vh;
  background: #101315;
}
#battle {
  height: 100dvh;
  width: 100%;
  overflow: hidden;
}
.shell {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
.shell button,
.modal button {
  transition:
    background 0.18s,
    color 0.18s,
    border-color 0.18s,
    filter 0.18s,
    transform 0.18s;
}
.mast {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: stretch;
  gap: clamp(24px, 4vw, 76px);
  height: clamp(62px, 8.2vh, 83px);
  padding: 0 var(--gutter);
  background: linear-gradient(180deg, #1c1f20, #151819);
  border-bottom: 1px solid #8a6f454f;
  flex: none;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 0;
  padding: 0;
  color: #efdbb4;
}
.brand img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}
.brand span {
  font: 800 24px/0.79 var(--head);
  letter-spacing: 0.035em;
  text-align: left;
}
.brand span i {
  display: block;
  font-style: normal;
}
.nav {
  display: flex;
  gap: clamp(14px, 2.3vw, 44px);
  align-items: stretch;
}
.nav button {
  font: 700 14px var(--head);
  letter-spacing: 0.11em;
  text-transform: uppercase;
  display: flex;
  gap: 9px;
  align-items: center;
  border: 0;
  position: relative;
  padding: 0 4px;
  color: #c1c3bc;
  background: none;
  white-space: nowrap;
}
.nav button:hover,
.nav .active {
  color: #f0c789;
}
.nav .active:after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: #edb671;
  box-shadow: 0 -4px 17px #e0aa6328;
}
.nav .ui-icon {
  width: 16px;
}
.mast-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}
.icon-btn {
  border: 1px solid #54534b;
  background: #252728;
  color: #d2ccbf;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 3px;
}
.icon-btn:hover {
  background: #35342e;
  color: var(--gold);
  border-color: #95815d;
}
.mast-tools .icon-btn {
  background: transparent;
  border: 0;
}
.profile-btn {
  display: flex;
  gap: 10px;
  align-items: center;
  background: none;
  color: #e7e2d6;
  border: 0;
  border-left: 1px solid #454440;
  padding: 0 0 0 17px;
  font: 600 14px var(--body);
  max-width: 165px;
}
.profile-btn > span {
  overflow: hidden;
  text-overflow: ellipsis;
}
.profile-icon {
  display: grid;
  place-items: center;
  border: 1px solid #8e7551;
  background: linear-gradient(145deg, #473c2d, #202526);
  width: 32px;
  height: 32px;
  color: var(--gold);
  transform: rotate(45deg);
  border-radius: 3px;
}
.profile-icon .ui-icon {
  transform: rotate(-45deg);
}
.play-main {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.hero {
  position: relative;
  isolation: isolate;
  flex: 1;
  min-height: clamp(365px, 53vh, 800px);
  display: flex;
  align-items: center;
  border-bottom: 1px solid #a588586b;
  overflow: hidden;
}
.hero-art {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: url('./assets/rook-keyart.webp') 50% 18% / cover no-repeat;
}
.hero:before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, #0a100fbd 0%, #0d151166 28%, transparent 61%),
    linear-gradient(0deg, #101315db 0%, #10131523 21%, transparent 51%);
}
.hero:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: var(--gutter);
  width: 54px;
  height: 3px;
  background: #c99655;
}
.hero-text {
  margin: clamp(25px, 4.4vh, 68px) var(--gutter);
  position: relative;
}
.eyebrow,
.meta,
.overline {
  font: 500 10px/1.45 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #f3c98d;
}
.eyebrow .rule,
.intro-rule {
  display: inline-block;
  width: 30px;
  height: 1px;
  background: #dca968;
}
.hero h1 {
  font: 800 clamp(73px, min(7.55vw, 11.75vh), 154px) / 0.83 var(--head);
  letter-spacing: -0.027em;
  margin: 16px 0 15px;
  text-transform: uppercase;
  text-shadow: 0 3px 24px #11141150;
}
.hero h1 span {
  display: block;
  color: #f2eddf;
}
.hero h1 span + span {
  color: #ead2a9;
}
.hero-copy {
  max-width: 355px;
  font: 400 clamp(15px, 1.08vw, 21px) / 1.43 var(--body);
  margin: 0 0 22px;
  color: #e0e0d3;
  text-shadow: 0 1px 8px #000;
}
.actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.primary,
.secondary,
.quiet-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 11px;
  padding: 0 22px;
  min-height: 43px;
  letter-spacing: 0.095em;
  text-transform: uppercase;
  font: 700 15px var(--head);
  letter-spacing: 0.1em;
  border-radius: 2px;
}
.primary {
  border: 1px solid #ffe1a0;
  background: linear-gradient(110deg, #f7cb89, #d49b54);
  color: #251c11;
  box-shadow: inset 0 0 0 2px #ca955c65;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}
.primary:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}
.primary .ui-icon {
  width: 15px;
}
.secondary {
  border: 1px solid #b2a183;
  background: #171b1bd1;
  color: #ece3d2;
}
.secondary:hover,
.quiet-button:hover {
  border-color: #e9bd7a;
  background: #34312a;
}
.hero .primary,
.hero .secondary {
  min-height: 47px;
  min-width: 158px;
}
.quiet-button {
  border: 1px solid #555049;
  background: #222525;
  min-height: 35px;
  font-size: 13px;
  padding: 0 13px;
  color: #e1d8c6;
}
.difficulty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  width: max-content;
}
.difficulty label {
  font: 500 9px var(--mono);
  color: #c4c4b8;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.difficulty select {
  background: #151a19d9;
  color: #f0d8ae;
  border: 1px solid #73674f;
  border-radius: 2px;
  padding: 3px 20px 3px 7px;
  font: 600 11px var(--body);
}
.feature-credit {
  display: flex;
  align-items: center;
  gap: 13px;
  position: absolute;
  right: var(--gutter);
  bottom: 27px;
  padding: 0 0 0 14px;
  background: transparent;
  border: 0;
  border-left: 2px solid #d6ae72;
  text-shadow: 0 1px 8px #000;
  text-align: left;
}
.feature-credit small {
  display: block;
  color: #edc991;
  font: 500 9px var(--mono);
  letter-spacing: 0.17em;
}
.feature-credit strong {
  display: block;
  color: #f8ecd6;
  font: 600 22px var(--head);
  letter-spacing: 0.015em;
}
.feature-credit .ui-icon {
  opacity: 0.8;
}
.lineup {
  padding: clamp(17px, 2.6vh, 34px) var(--gutter) clamp(18px, 2.8vh, 42px);
  position: relative;
  background: radial-gradient(ellipse at 65% 5%, #24252366, transparent 68%), #141718;
}
.section-bar {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 14px;
}
.section-bar h2,
.page-title {
  font: 600 30px/1 var(--head);
  text-transform: uppercase;
  letter-spacing: 0.025em;
  margin: 0;
  color: #f0e9d9;
}
.section-bar .line {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, #65563f70, #5148393d);
}
.text-button {
  border: 0;
  background: none;
  color: #d7bc91;
  font: 700 12px var(--head);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 0;
}
.text-button:hover {
  color: #ffdfa7;
}
.champ-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(9px, 1vw, 22px);
}
.champ-card {
  position: relative;
  isolation: isolate;
  display: block;
  overflow: hidden;
  width: 100%;
  height: clamp(106px, 15.6vh, 198px);
  border: 1px solid #4b4940;
  background: #262829;
  padding: 0;
  color: #f1ecdf;
  text-align: left;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%);
}
.champ-card:before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #0b0c0ded 0%, #0b0d0e88 26%, transparent 70%);
  z-index: -1;
}
.champ-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 33%;
  transition: transform 0.25s ease;
}
.champ-card:hover img {
  transform: scale(1.035);
}
.champ-card:hover,
.champ-card.selected {
  border-color: #e4b878;
}
.champ-card.selected {
  box-shadow: inset 0 -2px #e4b878;
}
.card-name {
  position: absolute;
  bottom: 11px;
  left: 13px;
  right: 9px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 4px;
}
.card-name strong {
  font: 600 clamp(21px, 1.55vw, 29px) / 1 var(--head);
  text-transform: uppercase;
  letter-spacing: 0.015em;
}
.card-name small {
  display: block;
  font: 500 10px/1.3 var(--mono);
  letter-spacing: 0.03em;
  color: #e4d9c8;
  margin-top: 4px;
}
.card-name > .ui-icon {
  color: #e3ceb1;
  opacity: 0.95;
}
.selected-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  display: inline-flex;
  gap: 4px;
  align-items: center;
  font: 600 8px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 6px;
  background: #dcb777;
  color: #26231d;
  border: 1px solid #f5d89d;
}
.strip-controls {
  display: flex;
  gap: 4px;
}
.strip-controls .icon-btn {
  width: 27px;
  height: 27px;
}
.strip-controls .prev svg {
  transform: rotate(180deg);
}
.foot {
  padding: 0 var(--gutter);
  border-top: 1px solid #373a35;
  background: #111415;
  display: flex;
  align-items: center;
  min-height: 29px;
  gap: 9px;
  flex: none;
  font: 500 9px var(--mono);
  letter-spacing: 0.075em;
  color: #9b9f98;
  text-transform: uppercase;
}
.foot .spacer {
  flex: 1;
}
.foot .online-dot,
.online-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8ec59b;
  box-shadow: 0 0 7px #70b98e55;
}
.foot .offline {
  background: #cb7962;
}
.foot .foot-btn {
  padding: 4px 0;
  background: transparent;
  border: 0;
  color: #a8aba1;
  font: inherit;
  letter-spacing: inherit;
  display: flex;
  align-items: center;
  gap: 6px;
}
.slash {
  opacity: 0.45;
  margin: 0 4px;
}
.page {
  flex: 1;
  padding: clamp(25px, 4vh, 70px) var(--gutter);
  background: radial-gradient(ellipse at 75% 0, #342b224f, transparent 58%), #141718;
}
.page-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.page-head h1,
.modal h1 {
  font: 700 clamp(40px, 4.4vw, 70px) / 0.93 var(--head);
  text-transform: uppercase;
  letter-spacing: -0.018em;
  margin: 8px 0;
}
.page-intro {
  margin: 0;
  color: #bfc3b9;
  line-height: 1.5;
}
.filters,
.guide-tabs,
.dialog-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 19px;
}
.filter {
  padding: 7px 13px;
  border: 1px solid #4a4941;
  background: #1d2020;
  color: #c4c6b9;
  border-radius: 2px;
  font: 600 13px var(--body);
}
.filter:hover,
.filter.on {
  background: #41392c;
  color: #f3d29a;
  border-color: #9b8058;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 15px;
}
.gallery .champ-card {
  height: clamp(138px, 23vh, 265px);
}
.gallery .champ-card img {
  object-position: center 34%;
}
.guide-body {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 0.95fr);
  gap: clamp(20px, 4vw, 75px);
  align-items: start;
  max-width: 1560px;
}
.map-art {
  display: block;
  width: 100%;
  aspect-ratio: 1.8;
  object-fit: cover;
  border: 1px solid #67573e;
}
.guide-body h2,
.modal h2 {
  font: 600 29px/1 var(--head);
  letter-spacing: 0.02em;
  margin: 0 0 10px;
  text-transform: uppercase;
}
.guide-body p,
.modal p {
  line-height: 1.5;
  color: #c3c5b9;
  margin: 0 0 13px;
}
.guide-row {
  padding: 12px 0;
  border-bottom: 1px solid #3b3d36;
  display: grid;
  grid-template-columns: 135px 1fr;
  gap: 15px;
  color: #c4c5ba;
  line-height: 1.45;
  font-size: 14px;
}
.guide-row b {
  color: #e6d1af;
}
.guide-key {
  color: #e0bc88;
  font: 500 11px/1.6 var(--mono);
}
#overlay:empty {
  display: none;
}
#overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 25px;
  background: #070b0cbd;
  backdrop-filter: blur(7px);
}
.modal {
  position: relative;
  width: min(650px, 100%);
  max-height: 90dvh;
  overflow: auto;
  padding: 30px;
  border: 1px solid #8b71514f;
  border-top: 2px solid #d7ad72;
  background: radial-gradient(ellipse at top right, #38302655, transparent 60%), #181c1c;
  box-shadow: 0 20px 90px #000a;
  color: var(--cream);
}
.modal .close-modal {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 2;
}
.modal h1 {
  font-size: 44px;
  margin: 8px 45px 18px 0;
}
.modal h2 {
  font-size: 23px;
}
.modal-header {
  margin-bottom: 16px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.settings-section {
  min-width: 0;
  margin: 0 0 16px;
  padding: 12px 0 0;
  border: 0;
  border-top: 1px solid #494b42;
}
.settings-section legend {
  padding: 0 12px 0 0;
  color: var(--cream);
  font-size: 16px;
  font-weight: 600;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 13px;
  color: #d2c8b5;
  font-size: 13px;
  font-weight: 600;
}
.field input,
.field select,
.room-select {
  width: 100%;
  border: 1px solid #57584e;
  background: #101515;
  color: #eae7dc;
  padding: 10px 11px;
  border-radius: 2px;
  font: 400 15px var(--body);
}
.field small,
.muted {
  color: #a9aea3;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
}
.field input::placeholder {
  color: #7d857d;
}
.checkline {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  color: #d4d6c9;
}
.checkline input,
.modal input[type='range'] {
  accent-color: #ddb474;
}
.modal-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.modal .feedback {
  color: #ffd395;
  font-size: 14px;
  margin: 11px 0 0;
  min-height: 0;
}
.settings-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.settings-row input {
  width: 56%;
}
.dossier {
  width: min(900px, 100%);
  padding: 0;
  display: grid;
  grid-template-columns: 36% 1fr;
}
.dossier-art {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: 50% 38%;
}
.dossier-content {
  padding: 29px;
}
.dossier .titleline {
  color: var(--gold);
  text-transform: uppercase;
  font: 600 20px var(--head);
  letter-spacing: 0.045em;
  margin: -10px 0 10px;
}
.dossier .lore {
  font-size: 14px;
}
.ability-list {
  margin: 11px 0 16px;
}
.ability-line {
  display: grid;
  grid-template-columns: 25px 1fr;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid #383d38;
  font-size: 13px;
  line-height: 1.36;
  color: #bfc5b9;
}
.ability-line strong {
  color: #e9e3d2;
}
.keycap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: start;
  min-width: 20px;
  min-height: 20px;
  padding: 2px 4px;
  border: 1px solid #6a624f;
  border-radius: 2px;
  color: #e3cba4;
  background: #2a2b26;
  font: 500 10px var(--mono);
}
.team-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 16px 0;
}
.team {
  border: 1px solid #4e4940;
  background: #171b1a;
}
.team h3 {
  padding: 9px 11px;
  margin: 0;
  font: 600 18px var(--head);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #5c3e294d;
  color: #e2ae75;
}
.team.tide h3 {
  color: #8dd1cc;
  background: #2c49474d;
}
.seat-row {
  min-height: 33px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 9px;
  border-top: 1px solid #333832;
  font-size: 13px;
}
.seat-row img {
  width: 25px;
  height: 25px;
  border: 1px solid #5d574c;
}
.seat-row small {
  color: #b6b8ab;
  margin-left: auto;
}
.seat-row.bot {
  color: #929b92;
  font-size: 12px;
}
.room-code {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.room-code strong {
  font: 600 25px var(--mono);
  letter-spacing: 0.14em;
  color: #f2cf97;
}
.room-meta {
  color: #a6b0a5;
  font: 500 10px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.loading-line {
  height: 2px;
  width: 100%;
  margin-top: 20px;
  background: linear-gradient(90deg, transparent, #edc58a, transparent);
  animation: load 1.3s ease infinite;
}
@keyframes load {
  50% {
    transform: scaleX(0.25);
    opacity: 0.5;
  }
}
#status-toast {
  position: fixed;
  bottom: 38px;
  left: 50%;
  transform: translate(-50%, 12px);
  opacity: 0;
  pointer-events: none;
  z-index: 70;
  border: 1px solid #907b57;
  background: #20251ff0;
  color: #f7e6c8;
  font: 600 14px var(--body);
  padding: 10px 17px;
  transition:
    opacity 0.18s,
    transform 0.18s;
  text-align: center;
  max-width: min(560px, 90vw);
}
#status-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (min-width: 1900px) {
  .hero-copy {
    max-width: 450px;
  }
  .hero .primary,
  .hero .secondary {
    min-width: 195px;
    min-height: 55px;
  }
  .section-bar {
    margin-bottom: 18px;
  }
}
@media (max-width: 1050px) {
  .mast {
    gap: 28px;
  }
  .mast-tools {
    gap: 5px;
  }
  .nav {
    gap: 15px;
  }
  .gallery {
    gap: 10px;
  }
  .card-name {
    left: 9px;
  }
  .hero {
    min-height: 354px;
  }
  .card-name > .ui-icon {
    width: 15px;
  }
}
@media (max-width: 790px) {
  :root {
    --gutter: 18px;
  }
  .mast {
    gap: 15px;
    padding: 0 14px;
  }
  .brand span,
  .profile-btn span,
  .nav .ui-icon {
    display: none;
  }
  .brand img {
    width: 36px;
  }
  .nav {
    gap: 10px;
  }
  .mast-tools {
    gap: 0;
  }
  .profile-btn {
    padding-left: 7px;
  }
  .hero {
    min-height: 377px;
  }
  .hero-art {
    background-position: 62% 15%;
  }
  .hero:before {
    background:
      linear-gradient(90deg, #0a100fe3, transparent 84%),
      linear-gradient(0deg, #111315a8, transparent 45%);
  }
  .hero h1 {
    font-size: 75px;
  }
  .hero-copy {
    max-width: 290px;
  }
  .feature-credit {
    display: none;
  }
  .champ-strip,
  .gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .champ-strip .champ-card {
    height: 116px;
  }
  .guide-body {
    grid-template-columns: 1fr;
  }
  .map-art {
    max-height: 200px;
  }
  .dossier {
    grid-template-columns: 30% 1fr;
  }
  .page-head {
    align-items: start;
  }
  .section-bar {
    gap: 7px;
  }
  .section-bar h2 {
    font-size: 25px;
  }
}
@media (max-width: 520px) {
  .mast {
    height: 58px;
  }
  .nav button {
    font-size: 12px;
  }
  .mast-tools .sound-button,
  .profile-btn {
    display: none;
  }
  .hero .primary,
  .hero .secondary {
    min-width: 130px;
    padding: 0 13px;
  }
  .hero h1 {
    font-size: 70px;
  }
  .text-button {
    font-size: 11px;
  }
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .modal {
    padding: 22px;
  }
  .dossier {
    display: block;
  }
  .dossier-art {
    height: 155px;
    min-height: 0;
  }
  .dossier-content {
    padding: 18px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .foot .foot-btn,
  .foot .slash {
    display: none;
  }
  .guide-row {
    grid-template-columns: 96px 1fr;
  }
  .team-board {
    gap: 5px;
  }
  .seat-row {
    font-size: 11px;
  }
  .page-head {
    display: block;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
