:root {
  color-scheme: light;
  --ink: #101317;
  --muted: #68717d;
  --line: #d7dce3;
  --panel: #ffffff;
  --soft: #f3f6f8;
  --day: #f2b84b;
  --night: #243b73;
  --danger: #c73a42;
  --good: #2f8a5f;
  --accent: #3b73d9;
  --shadow: 0 14px 40px rgba(16, 19, 23, 0.12);
  font-family: "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: #eef2f5;
}

button,
a {
  font: inherit;
}

button {
  min-height: 38px;
  border: 1px solid #c9d0d9;
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
}

button:hover {
  border-color: var(--accent);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.entry-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  background: #f4f6f8;
}

.entry-shell {
  width: min(680px, calc(100vw - 40px));
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.entry-kicker,
.eyebrow {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

.entry-shell h1 {
  margin: 0 0 28px;
  font-size: 36px;
}

.entry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.entry-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid #c9d0d9;
  border-radius: 8px;
  padding: 0 18px;
  color: var(--ink);
  text-decoration: none;
}

.entry-link.primary {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.host-page {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(59, 115, 217, 0.08), transparent 240px),
    #eef2f5;
}

.host-page.is-night {
  background:
    linear-gradient(180deg, rgba(36, 59, 115, 0.2), transparent 260px),
    #e8edf4;
}

.host-shell {
  width: min(1780px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 22px 0 32px;
}

.host-header,
.host-status-panel,
.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 26px rgba(16, 19, 23, 0.08);
}

.host-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
}

.host-header h1 {
  margin: 0;
  font-size: 28px;
}

.host-links {
  display: flex;
  gap: 10px;
}

.host-links a {
  border: 1px solid #c9d0d9;
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  text-decoration: none;
}

.host-status-panel {
  display: grid;
  grid-template-columns: 1fr 1fr 1.25fr 1.5fr;
  gap: 12px;
  margin: 16px 0;
  padding: 14px;
}

.status-tile {
  min-height: 92px;
  border: 1px solid #d8dee6;
  border-radius: 8px;
  padding: 12px;
  background: var(--soft);
}

.status-tile span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
}

.status-tile strong {
  display: block;
  font-size: 22px;
}

.host-action-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-top: 10px;
  place-items: center;
  overflow: hidden;
  border: 1px solid #c5ccd6;
  border-radius: 8px;
  background: #050505;
  color: #ffffff;
  font-weight: 800;
}

.host-action-icon img,
.audience-action-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.timer-tile strong {
  display: inline-flex;
  min-width: 104px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 6px 10px;
  background: #050505;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.timer-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.timer-actions button {
  min-height: 30px;
  padding: 0 10px;
}

.host-grid {
  display: grid;
  grid-template-columns: minmax(760px, 1.3fr) minmax(390px, 0.68fr) minmax(300px, 0.52fr);
  gap: 16px;
  align-items: start;
}

.panel {
  padding: 16px;
}

.panel-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.panel-heading h2 {
  margin: 0;
  font-size: 20px;
}

.panel-heading span {
  color: var(--muted);
  font-size: 13px;
}

.host-player-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.host-player-card {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  min-height: 116px;
  align-items: stretch;
  border: 1px solid #c9d0d9;
  border-radius: 8px;
  padding: 8px;
  background: #ffffff;
  cursor: pointer;
  text-align: left;
}

.host-player-card:hover,
.host-player-card:focus-visible {
  border-color: var(--accent);
}

.host-player-card.readonly {
  cursor: default;
}

.host-player-card.selected {
  border-color: var(--accent);
  outline: 2px solid rgba(59, 115, 217, 0.22);
}

.host-player-card.dead,
.host-player-card.exited {
  background: #eceff3;
  color: #7a828d;
}

.host-player-card.dying {
  background: #f3f5f7;
  color: #5f6975;
}

.public-note-editor {
  display: grid;
  gap: 4px;
  margin: 4px 0;
}

.public-note-editor span {
  color: var(--muted);
  font-size: 12px;
}

.public-note-input {
  width: 100%;
  min-height: 42px;
  resize: none;
  border: 1px solid #c9d0d9;
  border-radius: 8px;
  padding: 6px 8px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
}

.public-note-input:focus {
  border-color: var(--accent);
  outline: 2px solid rgba(59, 115, 217, 0.18);
}

.host-player-card.dead .player-avatar img,
.host-player-card.exited .player-avatar img {
  filter: grayscale(1) contrast(1.45) brightness(0.72);
}

.host-player-card.dying .player-avatar img,
.audience-player.dying .audience-avatar img,
.player-field-card.dying .player-field-avatar img {
  opacity: 0.48;
  filter: grayscale(0.95) contrast(0.82) brightness(1.16);
}

.player-avatar,
.audience-avatar {
  position: relative;
  display: grid;
  isolation: isolate;
  overflow: hidden;
  place-items: center;
  border-radius: 8px;
  background: #101010;
  color: white;
  font-weight: 800;
}

.player-avatar {
  width: 86px;
  height: 100%;
  min-height: 100px;
  align-self: stretch;
  font-size: 28px;
}

.player-avatar img,
.audience-avatar img,
.class-icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.host-player-card.dead .player-avatar,
.host-player-card.exited .player-avatar,
.audience-player.dead .audience-avatar,
.audience-player.exited .audience-avatar {
  background: #d80000;
  box-shadow:
    inset 0 0 0 3px #050505,
    0 0 0 2px rgba(255, 0, 0, 0.88);
}

.host-player-card.dead .player-avatar::after,
.host-player-card.exited .player-avatar::after,
.audience-player.dead .audience-avatar::after,
.audience-player.exited .audience-avatar::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: rgba(255, 0, 0, 0.82);
  mix-blend-mode: color;
  pointer-events: none;
}

.class-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.player-card-body {
  display: grid;
  grid-template-rows: minmax(42px, auto) 1fr;
  gap: 8px;
  min-width: 0;
}

.player-summary-row,
.player-vote-slot {
  min-width: 0;
  border-radius: 8px;
  background: #a6a6a6;
}

.player-summary-row {
  display: flex;
  min-height: 42px;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  overflow: hidden;
  padding: 6px 10px;
}

.player-summary-row strong {
  flex: 0 0 auto;
  font-size: 18px;
  white-space: nowrap;
}

.status-badge,
.identity-badge,
.chariot-badge {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 24px;
  align-items: center;
  gap: 5px;
  border-radius: 8px;
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.52);
  color: var(--ink);
  font-size: 13px;
}

.status-badge {
  margin-left: auto;
}

.deck-name {
  flex: 1 1 72px;
  min-width: 58px;
  overflow: hidden;
  color: var(--ink);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.identity-badge img {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  object-fit: cover;
}

.chariot-badge {
  background: #fff2c2;
  color: #7a4d00;
  font-weight: 800;
}

.player-vote-slot {
  min-height: 50px;
  padding: 10px;
  color: transparent;
  line-height: 1.35;
}

.player-vote-slot.filled {
  color: var(--ink);
  font-weight: 700;
}

.vote-draft-panel {
  display: grid;
  gap: 10px;
  min-height: 120px;
  border: 1px dashed #c8d0da;
  border-radius: 8px;
  padding: 10px;
  background: #f7f9fb;
  color: var(--muted);
}

.vote-avatar-pool,
.vote-target-lane {
  border: 1px solid #d5dbe3;
  border-radius: 8px;
  background: #ffffff;
}

.vote-avatar-pool {
  padding: 10px;
}

.vote-avatar-pool strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 14px;
}

.vote-token-grid,
.vote-drop-slot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 52px;
  align-items: center;
}

.vote-target-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.vote-target-lane {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 116px;
  padding: 8px;
}

.vote-target-head {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.vote-target-head strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vote-target-head span {
  margin-left: auto;
  border-radius: 8px;
  padding: 2px 7px;
  background: #101317;
  color: white;
  font-size: 12px;
}

.vote-target-avatar,
.vote-token {
  display: grid;
  overflow: hidden;
  place-items: center;
  background: #050505;
  color: white;
  font-weight: 800;
}

.vote-target-avatar {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.vote-target-avatar img,
.vote-token img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vote-drop-slot {
  align-content: flex-start;
  border-radius: 8px;
  padding: 8px;
  background: #eef2f5;
}

.vote-token {
  grid-template-columns: 34px minmax(0, auto);
  gap: 6px;
  min-height: 38px;
  border-radius: 8px;
  padding: 2px 8px 2px 2px;
  cursor: grab;
}

.vote-token:active {
  cursor: grabbing;
}

.vote-token img {
  width: 34px;
  height: 34px;
  border-radius: 7px;
}

.vote-token span {
  max-width: 58px;
  overflow: hidden;
  color: white;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vote-empty-text {
  color: #8d96a3;
  font-size: 13px;
}

@media (max-width: 1500px) {
  .host-grid {
    grid-template-columns: 1fr;
  }
}

.control-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 16px;
}

.control-row button {
  padding: 0 12px;
}

.danger-row button:first-child {
  border-color: var(--good);
}

.danger-row button:nth-child(2) {
  border-color: var(--danger);
}

.controls-panel h3 {
  margin: 18px 0 8px;
  font-size: 15px;
}

.selected-box,
.battle-resolve-box {
  min-height: 42px;
  border: 1px dashed #c8d0da;
  border-radius: 8px;
  padding: 10px;
  background: #f7f9fb;
  color: var(--muted);
}

.battle-resolve-box strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.skill-button {
  height: auto;
  min-height: 72px;
  padding: 10px;
  text-align: left;
}

.skill-button strong,
.skill-button span,
.skill-button small {
  display: block;
}

.skill-button span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.skill-button small {
  margin-top: 6px;
  color: #8a6470;
}

.event-log,
.audience-events {
  margin: 0;
  padding: 0;
  list-style: none;
}

.event-log li {
  border-bottom: 1px solid #edf0f3;
  padding: 10px 0;
  line-height: 1.45;
}

.event-log li span {
  display: inline-flex;
  margin-right: 8px;
  border-radius: 8px;
  padding: 2px 6px;
  background: #e9f0ff;
  color: #24539e;
  font-size: 12px;
}

.event-log li.private-event span {
  background: #fff0e7;
  color: #a35421;
}

.timer-tone-warning {
  color: #f0c84b !important;
}

.timer-tone-danger {
  color: var(--danger) !important;
  animation: pulse 1s steps(2, jump-none) infinite;
}

.audience-page {
  overflow: hidden;
  background: #ffffff;
}

.audience-stage {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  padding: 18px 10px 12px;
  background: #f8f8f6;
}

.audience-stage.night {
  background:
    linear-gradient(180deg, rgba(36, 59, 115, 0.1), rgba(36, 59, 115, 0) 28%),
    #f7f8fa;
}

.audience-topbar {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(220px, 0.72fr) minmax(210px, 0.62fr) 104px 104px;
  gap: 10px;
  align-items: center;
  height: 82px;
}

.show-logo,
.phase-banner,
.clock-banner,
.mode-pill {
  display: flex;
  min-height: 80px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #050505;
  color: white;
  font-family: SimSun, "Microsoft YaHei", serif;
  font-weight: 900;
}

.show-logo {
  justify-content: flex-start;
  padding-left: 32px;
  font-size: 28px;
}

.phase-banner {
  font-size: 46px;
}

.clock-banner {
  gap: 10px;
  font-size: 38px;
  font-variant-numeric: tabular-nums;
}

.mode-pill {
  background: #a5a5a5;
  font-size: 34px;
}

.mode-pill.active {
  background: #050505;
}

.audience-board {
  display: grid;
  grid-template-columns: minmax(300px, 0.74fr) minmax(520px, 1.52fr) minmax(300px, 0.74fr);
  gap: 16px;
  height: calc(100vh - 112px);
  padding-top: 12px;
}

.audience-side {
  display: grid;
  grid-template-rows: repeat(7, minmax(78px, 1fr));
  gap: 8px;
}

.audience-player {
  display: grid;
  min-height: 78px;
  align-items: center;
  overflow: hidden;
  gap: 8px;
  padding: 4px;
  background: #ffffff;
}

.audience-player.left {
  grid-template-columns: 82px minmax(0, 1fr);
}

.audience-player.right {
  grid-template-columns: minmax(0, 1fr) 82px;
}

.audience-avatar {
  width: 82px;
  height: 68px;
  font-size: 24px;
  border: 4px solid #050505;
}

.audience-player-body {
  display: grid;
  grid-template-rows: 28px 1fr;
  min-width: 0;
  overflow: hidden;
  gap: 5px;
}

.audience-player-line {
  display: flex;
  min-height: 28px;
  align-items: center;
  overflow: hidden;
  gap: 4px;
}

.audience-player-line strong {
  display: inline-flex;
  flex: 0 1 58px;
  min-width: 50px;
  min-height: 26px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 999px;
  padding: 0 8px;
  background: #a6a6a6;
  color: #ffffff;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
}

.audience-player-line img {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 7px;
}

.audience-player-line span,
.audience-player-line b {
  display: inline-flex;
  flex: 0 1 58px;
  min-width: 46px;
  min-height: 26px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 999px;
  padding: 0 8px;
  background: #a6a6a6;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.audience-player-line b {
  margin-left: auto;
  background: #a6a6a6;
}

.audience-player.right .audience-player-line b {
  margin-right: auto;
  margin-left: 0;
}

.audience-player.dead .audience-player-line b,
.audience-player.exited .audience-player-line b {
  background: #050505;
}

.audience-player-vote-area {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  padding: 6px 8px;
  background: #a6a6a6;
}

.audience-player-vote-area.filled {
  align-content: flex-start;
  flex-wrap: wrap;
}

.audience-player-vote-area.note {
  align-items: center;
}

.audience-public-note {
  overflow: hidden;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
}

.audience-vote-token {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  gap: 5px;
  border-radius: 7px;
  padding: 2px 7px 2px 2px;
  background: #050505;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

.audience-vote-token img {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  object-fit: cover;
}

.audience-player.dead,
.audience-player.exited {
  opacity: 1;
}

.audience-player.dead .audience-avatar,
.audience-player.exited .audience-avatar {
  background: #d80000;
}

.audience-player.dead .audience-avatar img,
.audience-player.exited .audience-avatar img {
  filter: grayscale(1) contrast(1.45) brightness(0.72);
}

.audience-center {
  display: grid;
  grid-template-rows: auto auto auto auto 1fr;
  gap: 14px;
  min-width: 0;
  padding: 12px 0;
}

.cue-card,
.actor-card,
.battle-card {
  border: 3px solid #050505;
  border-radius: 8px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.9);
  text-align: center;
}

.cue-card span,
.actor-card span,
.battle-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 18px;
}

.cue-card strong {
  display: block;
  font-size: 48px;
}

.cue-card p,
.battle-card p {
  margin: 10px 0 0;
  font-size: 24px;
}

.actor-card strong,
.battle-card strong {
  display: block;
  font-size: 34px;
}

.battle-matchup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
}

.battle-player-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 8px;
  min-width: 0;
  align-items: stretch;
  border-radius: 8px;
  background: #a6a6a6;
  padding: 7px;
  text-align: left;
}

.battle-player-avatar {
  display: grid;
  width: 64px;
  min-height: 64px;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: #050505;
  color: #ffffff;
  font-size: 28px;
  font-weight: 900;
}

.battle-player-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.battle-player-body {
  display: grid;
  min-width: 0;
  align-content: center;
  gap: 4px;
}

.battle-player-body strong {
  overflow: hidden;
  font-size: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.battle-player-meta {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
  font-size: 15px;
}

.battle-player-meta img {
  width: 22px;
  height: 22px;
  border-radius: 8px;
}

.battle-player-meta span,
.battle-player-body small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.battle-player-body small {
  color: #222831;
  font-size: 14px;
}

.battle-versus {
  align-self: center;
  font-size: 34px;
  line-height: 1;
}

.audience-battle-room {
  display: grid;
  width: fit-content;
  margin: 12px auto 0;
  border: 3px solid #050505;
  border-radius: 8px;
  padding: 10px 22px;
  background: #050505;
  color: #ffffff;
}

.audience-battle-room span {
  margin: 0 0 4px;
  color: #cfd6df;
  font-size: 16px;
}

.audience-battle-room-code {
  font-size: 48px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: 0;
}

.battle-card .audience-battle-room-code {
  font-size: 48px;
}

.audience-action-icon {
  display: grid;
  width: 118px;
  height: 118px;
  margin: 4px auto 12px;
  place-items: center;
  overflow: hidden;
  border: 3px solid #050505;
  border-radius: 8px;
  background: #050505;
  color: #ffffff;
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
}

.flow-track {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.flow-step {
  border: 1px solid #b8c0cb;
  border-radius: 8px;
  padding: 8px 12px;
  background: #ffffff;
  color: #4f5965;
  font-size: 16px;
}

.flow-step.active {
  border-color: #050505;
  background: #050505;
  color: #ffffff;
}

.audience-events {
  align-self: end;
  border-radius: 8px;
  padding: 12px 16px;
  background: rgba(5, 5, 5, 0.85);
  color: white;
  font-size: 20px;
}

.audience-events li {
  padding: 5px 0;
}

.victory-overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(5, 5, 5, 0.84);
  color: white;
  font-size: 96px;
  font-weight: 900;
}

.victory-overlay[hidden] {
  display: none;
}

.login-page,
.player-page {
  min-height: 100vh;
  background: #f3f6f8;
}

.login-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 28px;
}

.login-panel {
  width: min(460px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.login-panel h1 {
  margin: 0 0 22px;
  font-size: 30px;
}

.login-form {
  display: grid;
  gap: 14px;
}

.login-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
}

.login-form input {
  width: 100%;
  height: 42px;
  border: 1px solid #c9d0d9;
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  font: inherit;
}

.login-form button {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
}

.form-message {
  min-height: 20px;
  margin: 0;
  color: var(--danger);
}

.demo-account-grid {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  border-top: 1px solid #edf0f3;
  padding-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

.host-page.is-readonly .host-header::after {
  content: "副主持只读";
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  padding: 6px 10px;
  background: #111827;
  color: white;
  font-size: 14px;
}

.skill-submission-panel {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  border: 1px solid #dde5ef;
  border-radius: 8px;
  padding: 10px;
  background: #f8fafc;
}

.skill-submission-panel strong {
  font-size: 14px;
}

.skill-submission-panel span,
.skill-submission-panel li {
  color: #3d4652;
  font-size: 13px;
}

.skill-submission-panel ol {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
}

.player-shell {
  width: min(1440px, calc(100vw - 28px));
  margin: 0 auto;
  padding: 22px 0 34px;
}

.player-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.player-header h1 {
  margin: 0;
  font-size: 30px;
}

.player-status-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.player-main-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.8fr) minmax(520px, 1.2fr);
  gap: 14px;
  margin-bottom: 14px;
}

.player-preparation-panel {
  margin-bottom: 14px;
}

.player-preparation-form {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
  gap: 10px;
  align-items: end;
}

.player-preparation-form label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
}

.player-preparation-form input,
.player-preparation-form select {
  min-width: 0;
  min-height: 42px;
  border: 1px solid #c9d0d9;
  border-radius: 8px;
  padding: 0 10px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
}

.player-preparation-form input:focus,
.player-preparation-form select:focus {
  border-color: var(--accent);
  outline: 2px solid rgba(59, 115, 217, 0.18);
}

.player-self-card {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.player-vote-panel {
  grid-column: 1 / -1;
}

.player-flower-panel {
  grid-column: 1 / -1;
}

.player-battle-room-panel {
  grid-column: 1 / -1;
}

.player-self-avatar,
.player-target-avatar,
.player-vote-avatar,
.player-field-avatar {
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 3px solid #050505;
  border-radius: 8px;
  background: #050505;
  color: white;
  font-weight: 900;
}

.player-self-avatar {
  width: 136px;
  height: 136px;
  min-height: 136px;
  align-self: start;
  aspect-ratio: 1 / 1;
  font-size: 40px;
}

.player-self-avatar img,
.player-target-avatar img,
.player-vote-avatar img,
.player-field-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-self-info {
  display: grid;
  gap: 10px;
  min-width: 0;
  align-content: start;
}

.player-self-name,
.player-self-meta {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.player-self-name strong {
  min-width: 0;
  overflow: hidden;
  font-size: 24px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-self-name span,
.player-role-title span {
  border-radius: 8px;
  padding: 4px 10px;
  background: #e8edf4;
  color: #28313d;
  font-size: 14px;
}

.player-self-meta img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.player-self-meta span,
.player-role-title strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-role-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin: 0;
  border-radius: 8px;
  padding: 12px;
  background: #f2f5f8;
}

.player-role-icon {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  overflow: hidden;
  border: 2px solid #050505;
  border-radius: 8px;
  background: #050505;
  color: #ffffff;
  font-weight: 900;
}

.player-role-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-role-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.player-role-kicker {
  color: var(--muted);
  font-size: 12px;
}

.player-role-title {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.player-role-title strong {
  font-size: 18px;
}

.player-role-description {
  margin: 0;
  color: #3d4652;
  line-height: 1.5;
}

.player-skill-application {
  display: grid;
  min-height: 190px;
  border-radius: 8px;
  padding: 14px;
  background: #f2f5f8;
}

.player-skill-application.empty {
  align-content: center;
  justify-items: center;
  gap: 8px;
  border: 1px dashed #c8d0da;
  color: var(--muted);
}

.player-skill-application.has-result {
  grid-template-columns: 118px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  border: 2px solid #050505;
  background: #ffffff;
}

.player-skill-application.has-versus-result {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 10px;
  border: 2px solid #050505;
  background: #ffffff;
}

.player-skill-application-title {
  color: var(--muted);
  font-size: 13px;
}

.player-skill-application.empty strong {
  color: #263140;
  font-size: 20px;
}

.player-skill-result-avatar {
  display: grid;
  width: 118px;
  height: 118px;
  place-items: center;
  overflow: hidden;
  border: 4px solid #050505;
  border-radius: 10px;
  background: #050505;
  color: #ffffff;
  font-size: 34px;
  font-weight: 900;
}

.player-skill-result-avatar-group {
  display: grid;
  grid-template-columns: repeat(2, 82px);
  gap: 8px;
  align-items: center;
}

.player-skill-result-avatar.small {
  width: 82px;
  height: 82px;
  border-width: 3px;
  font-size: 24px;
}

.player-skill-result-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-skill-result-body {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.player-skill-result-body strong {
  overflow: hidden;
  color: #050505;
  font-size: 28px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-skill-result-body b {
  width: fit-content;
  min-width: 96px;
  border-radius: 999px;
  padding: 8px 18px;
  background: #050505;
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
  text-align: center;
}

.player-battle-room-body {
  display: grid;
  gap: 12px;
}

.player-battle-room-participants,
.player-battle-room-hint {
  margin: 0;
  color: #4b5563;
  font-size: 15px;
}

.player-battle-room-form {
  display: grid;
  grid-template-columns: minmax(180px, 260px) auto;
  gap: 10px;
  align-items: center;
}

.player-battle-room-form input {
  min-height: 44px;
  border: 2px solid #050505;
  border-radius: 8px;
  padding: 0 14px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
}

.player-battle-room-code-wrap {
  display: grid;
  width: fit-content;
  gap: 4px;
  border: 2px solid #050505;
  border-radius: 8px;
  padding: 12px 18px;
  background: #ffffff;
}

.player-battle-room-code-wrap span {
  color: var(--muted);
  font-size: 13px;
}

.player-battle-room-code {
  font-size: 42px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: 0;
}

.player-battle-room-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(5, 5, 5, 0.68);
}

.player-battle-room-modal[hidden] {
  display: none;
}

.player-battle-room-dialog {
  display: grid;
  width: min(520px, calc(100vw - 32px));
  gap: 14px;
  border: 3px solid #050505;
  border-radius: 8px;
  padding: 24px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(5, 5, 5, 0.28);
}

.player-battle-room-dialog span {
  color: var(--muted);
  font-size: 14px;
}

.player-battle-room-dialog h2,
.player-battle-room-dialog p {
  margin: 0;
}

.player-battle-room-dialog input {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 64px;
  border: 3px solid #050505;
  border-radius: 8px;
  padding: 0 16px;
  font-size: 36px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  text-align: center;
}

.player-battle-room-dialog.guest,
.player-battle-room-dialog.reveal {
  width: min(620px, calc(100vw - 32px));
  text-align: center;
}

.player-battle-room-dialog.guest .player-battle-room-code-wrap,
.player-battle-room-dialog.reveal .player-battle-room-code-wrap {
  justify-self: center;
  min-width: 260px;
  padding: 18px 28px;
  background: #050505;
  color: #ffffff;
}

.player-battle-room-dialog.guest .player-battle-room-code-wrap span,
.player-battle-room-dialog.reveal .player-battle-room-code-wrap span {
  color: #d7dce3;
}

.player-battle-room-dialog.guest .player-battle-room-code,
.player-battle-room-dialog.reveal .player-battle-room-code {
  font-size: 64px;
}

.player-justice-modal,
.player-choice-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(5, 5, 5, 0.68);
}

.player-justice-modal {
  position: fixed;
  z-index: 1000;
}

.player-choice-modal {
  position: fixed;
  z-index: 1000;
}

.player-justice-modal[hidden],
.player-choice-modal[hidden] {
  display: none;
}

.player-justice-dialog,
.player-choice-dialog {
  display: grid;
  width: min(900px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  gap: 14px;
  overflow: hidden;
  border: 3px solid #050505;
  border-radius: 8px;
  padding: 24px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(5, 5, 5, 0.28);
}

.player-role-confirm-dialog {
  width: min(760px, calc(100vw - 32px));
}

.player-role-confirm-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  border: 2px solid #050505;
  border-radius: 8px;
  padding: 18px;
  background: #ffffff;
}

.player-role-confirm-icon {
  display: grid;
  width: 180px;
  height: 180px;
  place-items: center;
  overflow: hidden;
  border: 4px solid #050505;
  border-radius: 10px;
  background: #050505;
  color: #ffffff;
  font-size: 56px;
  font-weight: 900;
}

.player-role-confirm-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-role-confirm-copy {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.player-role-confirm-copy strong {
  font-size: 36px;
  line-height: 1.1;
}

.player-role-confirm-copy span {
  width: fit-content;
  border-radius: 999px;
  padding: 6px 14px;
  background: #050505;
  color: #ffffff;
  font-weight: 800;
}

.player-role-confirm-copy p {
  margin: 0;
  color: #2f3844;
  font-size: 16px;
  line-height: 1.6;
}

.player-imp-reveal-card {
  grid-column: 1 / -1;
}

.player-justice-dialog > span,
.player-choice-dialog > span,
.player-justice-dialog p,
.player-choice-dialog p {
  margin: 0;
  color: var(--muted);
}

.player-justice-dialog h2,
.player-choice-dialog h2 {
  margin: 0;
  font-size: 28px;
}

.player-justice-body,
.player-choice-grid {
  overflow-y: auto;
}

.player-justice-target-card {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.player-justice-target-avatar {
  display: grid;
  width: 148px;
  height: 148px;
  place-items: center;
  overflow: hidden;
  border: 4px solid #050505;
  border-radius: 8px;
  background: #050505;
  color: #ffffff;
  font-size: 42px;
  font-weight: 900;
}

.player-justice-target-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-justice-target-card strong {
  font-size: 26px;
}

.player-justice-target-card small {
  color: var(--muted);
  font-size: 15px;
}

.player-justice-candidate-grid,
.player-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
  max-height: min(58vh, 560px);
}

.player-choice-empty {
  grid-column: 1 / -1;
  border: 1px dashed #c9d0d9;
  border-radius: 8px;
  padding: 28px;
  color: var(--muted);
  text-align: center;
  font-weight: 800;
}

.player-justice-candidate,
.player-choice-card {
  height: auto;
  min-height: 92px;
  padding: 10px;
  text-align: left;
}

.player-justice-candidate.selected,
.player-choice-card.selected {
  border-color: #050505;
  background: #f0f3f7;
}

.player-justice-candidate .player-justice-target-card {
  grid-template-columns: 58px minmax(0, 1fr);
  justify-items: start;
  align-items: center;
  text-align: left;
}

.player-justice-candidate .player-justice-target-avatar {
  grid-row: 1 / 5;
  width: 58px;
  height: 58px;
  border-width: 3px;
  font-size: 20px;
}

.player-justice-candidate .player-justice-target-card strong,
.player-justice-candidate .player-justice-target-card small {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-justice-candidate .player-justice-target-card strong {
  font-size: 15px;
}

.player-justice-candidate .player-justice-target-card small {
  font-size: 13px;
}

.player-justice-actions,
.player-choice-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.player-justice-actions button,
.player-choice-actions button {
  min-width: 124px;
  padding: 0 18px;
}

.player-justice-confirm-danger,
.player-choice-primary {
  border-color: #050505;
  background: #050505;
  color: #ffffff;
}

.player-justice-confirm-danger {
  background: #050505;
}

.player-choice-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.player-choice-avatar {
  grid-row: 1 / 5;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  overflow: hidden;
  border: 3px solid #050505;
  border-radius: 8px;
  background: #050505;
  color: #ffffff;
  font-weight: 900;
}

.player-choice-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-choice-card strong,
.player-choice-card span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-choice-card b {
  width: fit-content;
  border-radius: 8px;
  padding: 2px 7px;
  background: #e8edf4;
  color: #28313d;
  font-size: 12px;
}

.player-skill-versus-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.player-skill-versus-marker {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  justify-self: center;
  border-radius: 999px;
  background: #050505;
  color: #ffffff;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
}

.player-skill-versus-player {
  display: grid;
  justify-items: center;
  gap: 6px;
  min-width: 0;
  text-align: center;
}

.player-skill-versus-avatar {
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  overflow: hidden;
  border: 4px solid #050505;
  border-radius: 10px;
  background: #050505;
  color: #ffffff;
  font-size: 28px;
  font-weight: 900;
}

.player-skill-versus-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-skill-versus-player strong,
.player-skill-versus-player span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-skill-versus-player strong {
  font-size: 16px;
}

.player-skill-versus-player span {
  color: var(--muted);
  font-size: 12px;
}

.player-skill-versus-result {
  justify-self: center;
  width: fit-content;
  min-width: 96px;
  border-radius: 999px;
  padding: 7px 16px;
  background: #050505;
  color: #ffffff;
  font-size: 20px;
  line-height: 1;
  text-align: center;
}

.player-action-list {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
}

.player-action-button {
  height: auto;
  padding: 10px;
  text-align: left;
}

.player-action-button.active {
  border-color: #050505;
  background: #050505;
  color: white;
}

.player-action-button strong,
.player-action-button span {
  display: block;
}

.player-action-button span {
  margin-top: 4px;
  font-size: 13px;
}

.player-target-grid,
.player-vote-grid,
.player-field-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
}

.player-target-card,
.player-vote-card,
.player-field-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-width: 0;
  border: 1px solid #d9e0e8;
  border-radius: 8px;
  padding: 8px;
  background: white;
  text-align: left;
}

.player-target-card {
  min-height: 76px;
}

.player-vote-card {
  min-height: 76px;
}

.player-target-card:hover,
.player-vote-card:hover {
  border-color: var(--accent);
}

.player-target-card.selected {
  border-color: #050505;
  background: #f0f3f7;
}

.player-target-card:disabled {
  cursor: default;
}

.player-vote-card.selected {
  border-color: #050505;
  background: #f0f3f7;
}

.player-vote-card:disabled {
  cursor: default;
}

.player-target-avatar,
.player-vote-avatar,
.player-field-avatar {
  width: 58px;
  height: 58px;
  font-size: 20px;
}

.player-vote-avatar,
.player-field-avatar {
  width: 58px;
  height: 58px;
}

.player-target-body,
.player-vote-body,
.player-field-body {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.player-target-body strong,
.player-target-body span,
.player-vote-body strong,
.player-vote-body span,
.player-field-body strong,
.player-field-body span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-target-body span,
.player-vote-body span,
.player-field-body span {
  color: var(--muted);
  font-size: 13px;
}

.player-target-body b,
.player-vote-body b,
.player-field-body b {
  width: fit-content;
  border-radius: 8px;
  padding: 2px 7px;
  background: #e8edf4;
  color: #28313d;
  font-size: 12px;
}

.player-target-card.dead,
.player-target-card.exited,
.player-vote-card.dead,
.player-vote-card.exited,
.player-field-card.dead,
.player-field-card.exited {
  background: #fff5f5;
}

.player-target-card.dead .player-target-avatar,
.player-target-card.exited .player-target-avatar,
.player-vote-card.dead .player-vote-avatar,
.player-vote-card.exited .player-vote-avatar,
.player-field-card.dead .player-field-avatar,
.player-field-card.exited .player-field-avatar {
  background: #b40716;
}

.player-target-card.dead img,
.player-target-card.exited img,
.player-vote-card.dead img,
.player-vote-card.exited img,
.player-field-card.dead img,
.player-field-card.exited img {
  filter: grayscale(1) contrast(1.15) brightness(0.55) sepia(1) saturate(9) hue-rotate(320deg);
}

.player-submission-list {
  display: grid;
  gap: 6px;
  margin: 12px 0 0;
  padding-left: 18px;
  color: #3d4652;
}

.player-action-confirm-bar {
  display: flex;
  min-height: 42px;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  border: 1px dashed #c8d0da;
  border-radius: 8px;
  padding: 8px 10px;
  background: #f7f9fb;
}

.player-action-confirm-bar span {
  flex: 1 1 180px;
  color: var(--muted);
  font-size: 14px;
}

.player-action-confirm-bar button {
  min-height: 34px;
  padding: 0 12px;
}

.player-flower-leader-grid,
.player-flower-target-grid,
.player-flower-target-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
}

.player-flower-target-area,
.player-flower-chat {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.player-flower-leader-card,
.player-flower-target-card,
.player-flower-target-summary-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-width: 0;
  border: 1px solid #d9e0e8;
  border-radius: 8px;
  padding: 8px;
  background: #ffffff;
  text-align: left;
}

.player-flower-leader-card.selected,
.player-flower-target-card.selected {
  border-color: #050505;
  background: #f0f3f7;
}

.player-flower-target-card {
  display: block;
}

.player-flower-target-card .player-flower-target-summary-card {
  border: 0;
  padding: 0;
  background: transparent;
}

.player-flower-avatar {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  overflow: hidden;
  border: 3px solid #050505;
  border-radius: 8px;
  background: #050505;
  color: #ffffff;
  font-weight: 900;
}

.player-flower-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-flower-card-body {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.player-flower-card-body strong,
.player-flower-card-body span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-flower-card-body span {
  color: var(--muted);
  font-size: 13px;
}

.player-flower-card-body b {
  width: fit-content;
  border-radius: 8px;
  padding: 2px 7px;
  background: #e8edf4;
  color: #28313d;
  font-size: 12px;
}

.player-flower-subheading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.player-flower-subheading span {
  color: var(--muted);
  font-size: 13px;
}

.player-flower-chat-list {
  display: grid;
  gap: 8px;
  min-height: 72px;
  max-height: 220px;
  overflow-y: auto;
  border: 1px dashed #c8d0da;
  border-radius: 8px;
  padding: 10px;
  background: #f7f9fb;
}

.player-flower-chat-message {
  display: flex;
  gap: 8px;
  align-items: baseline;
  border-radius: 8px;
  padding: 6px 8px;
  background: #ffffff;
}

.player-flower-chat-message strong {
  flex: 0 0 auto;
}

.player-flower-chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.player-flower-chat-form input {
  min-width: 0;
}

.empty-state {
  grid-column: 1 / -1;
  margin: 0;
  border: 1px dashed #c8d0da;
  border-radius: 8px;
  padding: 14px;
  color: var(--muted);
  text-align: center;
}

@keyframes pulse {
  50% {
    opacity: 0.35;
  }
}

@media (max-width: 1180px) {
  .host-status-panel,
  .host-grid,
  .player-status-row,
  .player-main-grid {
    grid-template-columns: 1fr;
  }

  .host-player-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1500px) {
  .audience-topbar {
    grid-template-columns: 1.6fr 1.3fr 1fr 0.45fr 0.45fr;
  }

  .show-logo,
  .phase-banner,
  .clock-banner,
  .mode-pill {
    font-size: clamp(24px, 2.7vw, 46px);
  }

  .audience-board {
    grid-template-columns: minmax(300px, 0.74fr) minmax(500px, 1.52fr) minmax(300px, 0.74fr);
    gap: 14px;
  }
}
