@font-face {
  font-family: "Avant Pioneering CN";
  src: url("./assets/fonts/avant-garde-pioneering-cn.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Avant Pioneering Latin";
  src: url("./assets/fonts/avant-garde-pioneering-latin.ttf") format("truetype");
  font-display: swap;
}

:root {
  --bg: #fcf8f5;
  --ink: #0b070c;
  --ink-soft: rgba(11, 7, 12, 0.72);
  --ink-faint: rgba(11, 7, 12, 0.52);
  --rose-card: #edc7c6;
  --cream-card: #f6e1c4;
  --lavender-card: #d7d3f8;
  --mint-card: #c8efdc;
  --predecessor-card: #c5cbc1;
  --visitor-card: #f5e9dd;
  --blogger-card: #b5c0d1;
  --table-top: #f6d1a6;
  --table-side: #d79b68;
  --blue-core: #6eb6d8;
  --blue-core-deep: #2f7fa9;
  --gold: var(--cream-card);
  --gold-deep: var(--ink);
  --blue: var(--ink);
  --line: rgba(11, 7, 12, 0.16);
  --shadow: 0 26px 70px rgba(11, 7, 12, 0.12);
  --stage-pad: clamp(16px, 1.35vw, 30px);
  --font-cn: "Avant Pioneering CN", "Microsoft YaHei", "PingFang SC", sans-serif;
  --font-latin: "Avant Pioneering Latin", "Avant Pioneering CN", sans-serif;
  --cn-tracking: 0.045em;
  --cn-heading-tracking: 0.07em;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
}

body {
  display: grid;
  place-items: center;
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-cn);
  letter-spacing: var(--cn-tracking);
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

h1,
h2,
p {
  margin: 0;
}

.kiosk-screen {
  position: relative;
  display: grid;
  grid-template-rows: 150px minmax(0, 1fr) 62px;
  width: min(100vw, calc(100vh * 16 / 9));
  height: min(100vh, calc(100vw * 9 / 16));
  aspect-ratio: 16 / 9;
  padding: var(--stage-pad);
  overflow: hidden;
  isolation: isolate;
}

.kiosk-screen::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: -2;
  border-radius: 28px;
  background:
    radial-gradient(circle at 22% 72%, rgba(200, 239, 220, 0.28), transparent 18%),
    radial-gradient(circle at 66% 58%, rgba(246, 225, 196, 0.38), transparent 32%),
    linear-gradient(120deg, rgba(252, 248, 245, 0.96), rgba(252, 248, 245, 0.9));
  box-shadow: inset 0 0 0 1px rgba(11, 7, 12, 0.06), 0 20px 80px rgba(11, 7, 12, 0.08);
}

.kiosk-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.28;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(11, 7, 12, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(11, 7, 12, 0.03) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at 62% 50%, transparent 0 20%, black 68%);
}

.topbar {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr) 230px;
  gap: 22px;
  align-items: start;
  min-height: 0;
}

.brand-lockup {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: var(--bg);
  background:
    radial-gradient(circle, var(--bg) 0 3px, transparent 4px),
    radial-gradient(circle at 40% 34%, #2f7fa9, var(--ink) 74%);
  box-shadow: 0 14px 32px rgba(11, 7, 12, 0.22);
}

.eyebrow {
  color: var(--ink);
  font-family: var(--font-cn);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: var(--cn-heading-tracking);
}

.brand-lockup h1 {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 18px;
  font-weight: 650;
  line-height: 1.34;
  letter-spacing: var(--cn-tracking);
}

.barrage-layer {
  display: grid;
  align-content: start;
  gap: 12px;
  height: 88px;
  padding: 2px 4px 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.barrage-lane {
  display: flex;
  width: max-content;
  gap: 22px;
  animation: laneDrift var(--duration, 52s) linear infinite;
  animation-delay: var(--delay, 0s);
}

.barrage-chip {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  max-width: 360px;
  border-radius: 999px;
  padding: 7px 16px;
  color: var(--ink);
  background: rgba(252, 248, 245, 0.68);
  box-shadow: 0 10px 24px rgba(11, 7, 12, 0.08);
  font-size: 16px;
  letter-spacing: var(--cn-tracking);
  white-space: nowrap;
}

.barrage-chip::before {
  content: "";
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  margin-right: 10px;
  border-radius: 50%;
  background-color: var(--cream-card);
  background-image: var(--barrage-avatar, linear-gradient(135deg, var(--blue), var(--gold)));
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0 0 0 2px rgba(252, 248, 245, 0.82), 0 4px 10px rgba(11, 7, 12, 0.12);
}

@keyframes laneDrift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.participant-card {
  display: grid;
  justify-items: end;
  gap: 1px;
  padding-top: 1px;
  color: var(--ink-soft);
  text-align: right;
}

.participant-icon {
  display: none;
}

.kiosk-brand-title {
  display: block;
  color: var(--ink);
  font-family: var(--font-cn);
  font-size: 46px;
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: 0.08em;
}

.participant-label {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: var(--cn-tracking);
}

.participant-card strong {
  color: var(--ink);
  font-family: var(--font-latin);
  font-size: 32px;
  line-height: 1;
  letter-spacing: 0;
}

.board-grid {
  display: grid;
  grid-template-columns: 300px 335px minmax(0, 1fr);
  gap: 18px;
  min-height: 0;
}

.artwork-panel,
.heat-panel,
.roundtable-panel,
.participation-bar {
  min-width: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.artwork-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-height: 0;
  padding: 4px 4px 0 0;
}

.panel-heading {
  margin-bottom: 12px;
}

.panel-heading h2,
.roundtable-heading h2,
.participation-bar h2 {
  margin-top: 4px;
  color: var(--ink-faint);
  font-size: 15px;
  font-weight: 620;
  line-height: 1.42;
  letter-spacing: var(--cn-tracking);
}

.panel-heading--inline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.info-dot {
  display: grid;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  color: rgba(11, 7, 12, 0.48);
  background: rgba(11, 7, 12, 0.08);
  font-size: 11px;
  font-weight: 800;
}

.artwork-list {
  display: grid;
  align-content: start;
  gap: 6px;
  min-height: 0;
  overflow: auto;
  padding-right: 6px;
}

.artwork-card {
  display: grid;
  grid-template-columns: 27px 104px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-height: 74px;
  border: 0;
  border-radius: 16px;
  padding: 6px 7px;
  background: transparent;
  text-align: left;
  transition: background 180ms ease, transform 180ms ease;
}

.artwork-card:hover,
.artwork-card:focus-visible,
.artwork-card.is-active {
  outline: 0;
  background: rgba(246, 225, 196, 0.52);
}

.artwork-card:active {
  transform: scale(0.99);
}

.rank-badge {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(237, 199, 198, 0.58);
  font-family: var(--font-latin);
  font-size: 15px;
  font-weight: 800;
}

.artwork-card.is-active .rank-badge {
  color: var(--ink);
  background: var(--cream-card);
}

.artwork-thumb {
  position: relative;
  height: 58px;
  overflow: hidden;
  border: 2px solid rgba(11, 7, 12, 0.22);
  border-radius: 9px;
  background:
    linear-gradient(0deg, rgba(11, 7, 12, 0.05), rgba(11, 7, 12, 0.05)),
    var(--thumb-image, none),
    radial-gradient(circle at 70% 35%, var(--thumb-a), transparent 15%),
    linear-gradient(135deg, var(--thumb-b), var(--thumb-c));
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 0 0 1px rgba(252, 248, 245, 0.52);
}

.artwork-thumb-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.artwork-thumb-missing {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  color: rgba(11, 7, 12, 0.68);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  opacity: 0;
  text-transform: uppercase;
}

.artwork-thumb.is-missing .artwork-thumb-missing {
  opacity: 1;
}

.artwork-card.is-active .artwork-thumb {
  border-color: var(--ink);
  box-shadow: 0 0 0 2px rgba(246, 225, 196, 0.9), inset 0 0 0 1px rgba(252, 248, 245, 0.62);
}

.artwork-thumb::before,
.artwork-thumb::after {
  content: "";
  position: absolute;
  display: none;
  inset: 12% auto auto 18%;
  width: 78%;
  height: 5px;
  border-radius: 99px;
  background: rgba(11, 7, 12, 0.42);
  transform: rotate(-18deg);
}

.artwork-thumb::after {
  inset: auto 12% 18% auto;
  width: 58%;
  transform: rotate(24deg);
}

.artwork-meta {
  min-width: 0;
}

.artwork-title {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.artwork-subtitle {
  display: block;
  margin-top: 5px;
  color: var(--ink-faint);
  font-size: 11px;
  line-height: 1.25;
}

.vote-count {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-family: var(--font-latin);
  font-size: 21px;
  font-weight: 800;
  line-height: 1;
}

.vote-count span {
  margin-left: 4px;
  font-family: inherit;
  font-size: 11px;
}

.status-rack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin-top: 10px;
}

.status-pill {
  border: 1px solid rgba(11, 7, 12, 0.12);
  border-radius: 999px;
  padding: 6px 8px;
  color: var(--ink-soft);
  background: rgba(252, 248, 245, 0.42);
  font-family: var(--font-latin);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.status-pill--muted {
  color: rgba(11, 7, 12, 0.42);
}

.status-pill--bad {
  border-color: rgba(120, 28, 20, 0.34);
  color: #781c14;
  background: rgba(237, 199, 198, 0.34);
}

.heat-panel {
  position: relative;
  min-height: 0;
  padding: 4px 2px;
  overflow: visible;
}

.heat-panel::before {
  content: "";
  position: absolute;
  inset: 58px 0 6px;
  z-index: -1;
  border-radius: 42% 50% 46% 54%;
  background:
    radial-gradient(circle at 47% 44%, rgba(246, 225, 196, 0.34), transparent 24%),
    radial-gradient(circle at 72% 24%, rgba(215, 211, 248, 0.2), transparent 20%);
}

.bubble-field {
  position: relative;
  height: 100%;
  min-height: 0;
}

.heat-bubble {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: grid;
  width: var(--size);
  height: var(--size);
  place-items: center;
  border: 1px solid rgba(252, 248, 245, 0.68);
  border-radius: 50%;
  padding: 12px;
  color: var(--ink);
  background:
    radial-gradient(circle at 30% 24%, rgba(252, 248, 245, 0.84), transparent 34%),
    linear-gradient(145deg, var(--bubble-a), var(--bubble-b));
  box-shadow: inset 0 8px 22px rgba(252, 248, 245, 0.56), 0 18px 42px rgba(11, 7, 12, 0.1);
  text-align: center;
  transform: translate(-50%, -50%);
  animation: floatBubble 7s ease-in-out infinite alternate;
  animation-delay: var(--delay);
}

.heat-bubble::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1px solid transparent;
  transition: border-color 160ms ease, transform 160ms ease;
}

.heat-bubble:hover,
.heat-bubble:focus-visible,
.heat-bubble.is-active {
  outline: 0;
  z-index: 4;
}

.heat-bubble:hover::after,
.heat-bubble:focus-visible::after,
.heat-bubble.is-active::after {
  border-color: rgba(11, 7, 12, 0.32);
  transform: scale(1.04);
}

.heat-bubble strong {
  display: block;
  font-size: 16px;
  line-height: 1.18;
  letter-spacing: var(--cn-tracking);
}

.heat-bubble b {
  display: block;
  margin-top: 6px;
  font-family: var(--font-latin);
  font-size: 26px;
  line-height: 1;
}

.heat-bubble span {
  display: block;
  margin-top: 3px;
  color: rgba(11, 7, 12, 0.52);
  font-size: 12px;
}

.particle {
  position: absolute;
  width: var(--dot);
  height: var(--dot);
  left: var(--x);
  top: var(--y);
  border-radius: 50%;
  background: var(--color);
  opacity: 0.5;
  animation: floatBubble 5s ease-in-out infinite alternate;
  animation-delay: var(--delay);
}

@keyframes floatBubble {
  from {
    translate: 0 -7px;
  }
  to {
    translate: 0 9px;
  }
}

.roundtable-panel {
  position: relative;
  min-height: 0;
  overflow: visible;
}

.roundtable-heading {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 5;
  text-align: center;
}

.roundtable-heading .eyebrow {
  font-size: 48px;
  line-height: 0.98;
  letter-spacing: var(--cn-heading-tracking);
}

.roundtable-heading h2 {
  color: var(--ink);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: var(--cn-tracking);
}

.roundtable-heading h2 span {
  display: inline-block;
  min-width: 120px;
  margin-left: 7px;
  border-radius: 999px;
  padding: 6px 22px;
  color: var(--ink);
  background: var(--cream-card);
}

.roundtable-note {
  margin-top: 5px;
  color: var(--ink-faint);
  font-size: 11px;
}

.table-stage {
  position: absolute;
  inset: 82px -22px -54px -28px;
  z-index: 1;
  perspective: 1100px;
}

.table-wood {
  position: absolute;
  left: 50%;
  bottom: -70px;
  width: 108%;
  height: 410px;
  border-radius: 50%;
  background:
    linear-gradient(180deg, transparent 0 46%, rgba(215, 155, 104, 0.92) 47%, rgba(177, 111, 69, 0.94) 100%);
  box-shadow: 0 48px 96px rgba(11, 7, 12, 0.16);
  transform: translateX(-50%);
}

.table-wood::before,
.table-wood::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  border-radius: 50%;
}

.table-wood::before {
  top: 0;
  height: 335px;
  background:
    repeating-linear-gradient(7deg, rgba(11, 7, 12, 0.025) 0 6px, transparent 6px 19px),
    radial-gradient(ellipse at 50% 18%, #ffe7c7, var(--table-top) 76%);
  box-shadow:
    inset 0 7px 20px rgba(252, 248, 245, 0.38),
    inset 0 -20px 36px rgba(11, 7, 12, 0.08);
}

.table-wood::after {
  left: 4%;
  right: 4%;
  bottom: 18px;
  height: 88px;
  border-radius: 0 0 50% 50% / 0 0 85% 85%;
  background:
    linear-gradient(180deg, rgba(177, 111, 69, 0.18), rgba(120, 70, 42, 0.16)),
    repeating-linear-gradient(7deg, rgba(11, 7, 12, 0.03) 0 7px, transparent 7px 22px);
}

.ai-core {
  position: absolute;
  left: 50%;
  top: 288px;
  z-index: 2;
  display: grid;
  align-content: center;
  width: 338px;
  height: 180px;
  border: 1px solid rgba(246, 225, 196, 0.72);
  border-radius: 36px 36px 72px 72px / 34px 34px 58px 58px;
  color: rgba(11, 7, 12, 0.62);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(252, 248, 245, 0.96));
  box-shadow:
    0 0 0 10px rgba(246, 225, 196, 0.18),
    0 16px 42px rgba(11, 7, 12, 0.08),
    inset 0 0 28px rgba(246, 225, 196, 0.12);
  text-align: center;
  transform: translate(-50%, -50%);
}

.ai-core::before,
.ai-core::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.ai-core::before {
  inset: -10px 28px auto;
  height: 20px;
  border-radius: 50%;
  border-top: 1px solid rgba(246, 225, 196, 0.5);
  background:
    radial-gradient(ellipse at 50% 100%, rgba(246, 225, 196, 0.24), transparent 68%);
}

.ai-core::after {
  left: 50%;
  bottom: 26px;
  width: 84px;
  height: 24px;
  background:
    linear-gradient(#8fc4e4, #8fc4e4) 0 1px / 8px 22px no-repeat,
    linear-gradient(#9dcced, #9dcced) 19px 7px / 8px 16px no-repeat,
    linear-gradient(#afd9f0, #afd9f0) 38px 9px / 8px 14px no-repeat,
    linear-gradient(#9dcced, #9dcced) 57px 7px / 8px 16px no-repeat,
    linear-gradient(#80bce0, #80bce0) 76px 1px / 8px 22px no-repeat;
  border-radius: 999px;
  filter: drop-shadow(0 0 8px rgba(110, 182, 216, 0.38));
  transform: translateX(-50%);
}

.ai-core span,
.ai-core strong {
  position: relative;
  z-index: 1;
  display: block;
  padding: 0 18px;
  font-size: 26px;
  font-weight: 650;
  line-height: 1.26;
  letter-spacing: var(--cn-tracking);
}

.ai-core strong {
  margin-top: 11px;
  color: rgba(11, 7, 12, 0.58);
  font-size: 23px;
  font-weight: 650;
}

.role-orbit {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: block;
  pointer-events: none;
}

.role-card {
  position: absolute;
  width: 26%;
  min-height: 116px;
  border: 0;
  border-radius: 14px;
  padding: 50px 14px 14px;
  background: var(--cream-card);
  box-shadow: 0 12px 26px rgba(11, 7, 12, 0.08);
  pointer-events: auto;
  text-align: center;
  transition: transform 180ms ease, background 180ms ease;
}

.role-card--predecessor_artist {
  left: 7%;
  bottom: 150px;
  background: var(--predecessor-card);
}

.role-card--curator {
  right: 6%;
  bottom: 150px;
  background: var(--blogger-card);
}

.role-card--visitor {
  left: 39%;
  bottom: 48px;
  width: 24%;
  background: var(--visitor-card);
}

.role-card.is-active,
.role-card:hover,
.role-card:focus-visible {
  outline: 0;
  transform: translateY(-2px);
}

.role-avatar {
  position: absolute;
  left: 50%;
  top: -34px;
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background:
    radial-gradient(circle at 42% 34%, var(--bg) 0 7px, transparent 8px),
    linear-gradient(145deg, var(--avatar-a), var(--avatar-b));
  box-shadow: 0 0 0 4px rgba(252, 248, 245, 0.88), 0 8px 20px rgba(11, 7, 12, 0.12);
  font-family: var(--font-cn);
  font-size: 22px;
  font-weight: 800;
  transform: translateX(-50%);
}

.role-avatar--image {
  background-color: var(--cream-card);
  background-image: var(--avatar-image);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.role-card strong,
.role-card span {
  display: block;
  text-align: center;
}

.role-card strong {
  color: var(--ink);
  font-size: 16px;
  letter-spacing: var(--cn-tracking);
}

.role-card span {
  margin-top: 4px;
  color: var(--ink-faint);
  font-size: 13px;
  line-height: 1.42;
  letter-spacing: var(--cn-tracking);
}

.dialogue-bubbles {
  position: absolute;
  inset: 112px 0 118px;
  z-index: 5;
  pointer-events: none;
}

.dialogue-bubble {
  position: absolute;
  max-width: none;
  border-radius: 18px;
  padding: 15px 18px;
  color: var(--ink);
  background: var(--cream-card);
  box-shadow: 0 12px 28px rgba(11, 7, 12, 0.08);
}

.dialogue-bubble::after {
  content: "";
  position: absolute;
  left: 28px;
  bottom: -7px;
  width: 14px;
  height: 14px;
  background: inherit;
  transform: rotate(45deg);
}

.dialogue-bubble--main {
  left: 12%;
  right: 5%;
  top: 0;
  padding: 18px 28px;
  background: var(--cream-card);
  text-align: center;
}

.dialogue-bubble--main::after {
  left: 8%;
}

.dialogue-bubble--expert {
  left: 3%;
  top: 104px;
  width: 29%;
  background: var(--predecessor-card);
}

.dialogue-bubble--expert::after {
  left: 56%;
}

.dialogue-bubble--curator {
  right: 3%;
  top: 104px;
  width: 29%;
  background: var(--blogger-card);
}

.dialogue-bubble--curator::after {
  left: auto;
  right: 28%;
}

.dialogue-bubble--visitor {
  left: 57%;
  bottom: -70px;
  width: 23%;
  background: var(--visitor-card);
}

.dialogue-speaker {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: var(--cn-heading-tracking);
}

.dialogue-text {
  font-size: 16px;
  line-height: 1.56;
  letter-spacing: var(--cn-tracking);
}

.dialogue-bubble--main .dialogue-text {
  font-size: 28px;
  line-height: 1.42;
}

.participation-bar {
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
  padding-top: 10px;
}

.participation-bar .eyebrow {
  font-size: 14px;
  letter-spacing: 0;
}

.action-stack {
  display: flex;
  gap: 10px;
}

.primary-action,
.secondary-action {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.primary-action {
  color: var(--bg);
  background: var(--ink);
  box-shadow: 0 14px 30px rgba(11, 7, 12, 0.18);
}

.secondary-action {
  color: var(--ink);
  background: rgba(252, 248, 245, 0.74);
  box-shadow: inset 0 0 0 1px rgba(11, 7, 12, 0.08);
}

.primary-action:hover,
.secondary-action:hover,
.primary-action:focus-visible,
.secondary-action:focus-visible {
  outline: 0;
  transform: translateY(-1px);
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  max-width: min(430px, calc(100vw - 48px));
  border-radius: 18px;
  padding: 14px 16px;
  color: var(--bg);
  background: rgba(11, 7, 12, 0.92);
  box-shadow: 0 18px 44px rgba(11, 7, 12, 0.24);
  transform: translateY(140%);
  transition: transform 180ms ease;
}

.toast.is-visible {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (max-aspect-ratio: 15 / 10) {
  body {
    align-items: start;
    overflow: auto;
  }

  .kiosk-screen {
    width: 100vw;
    height: auto;
    min-height: 100vh;
    aspect-ratio: auto;
    overflow: visible;
  }

  .topbar,
  .board-grid,
  .participation-bar {
    grid-template-columns: 1fr;
  }

  .board-grid {
    gap: 22px;
  }

  .heat-panel {
    min-height: 520px;
  }

  .roundtable-panel {
    min-height: 700px;
  }
}

@media (max-width: 760px) {
  .brand-lockup,
  .artwork-card,
  .role-orbit,
  .action-stack {
    grid-template-columns: 1fr;
  }

  .action-stack {
    display: grid;
  }

  .artwork-thumb {
    height: 128px;
  }

  .dialogue-bubbles {
    inset: 84px 0 110px;
  }

  .dialogue-bubble,
  .dialogue-bubble--main,
  .dialogue-bubble--expert,
  .dialogue-bubble--curator,
  .dialogue-bubble--visitor {
    position: relative;
    inset: auto;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: auto;
    max-width: none;
    margin-bottom: 8px;
  }

  .table-stage {
    opacity: 0.7;
  }
}
