@font-face {
  font-family: Label Display;
  src: url("/assets/display.otf") format("opentype");
  font-display: swap;
}
@font-face {
  font-family: Label Sans;
  src: url("/assets/body.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  font-family:
    Label Sans,
    Arial,
    sans-serif;
  color: #f6eddb;
  background: #17111c;
  font-size: calc(14px * var(--ui-scale, 1));
  font-synthesis: none;
  --ink: #17111c;
  --panel: #241d2c;
  --brass: #a98750;
  --gold: #f3ce81;
  --paper: #f6eddb;
  --muted: #c6b7b1;
  --accent: #b96cda;
  --green: #89cf9b;
  --red: #ee9390;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
::selection {
  background: #a35eb3;
  color: #fff;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  font-weight: 700;
}
h1,
h2 {
  font-family:
    Label Display,
    sans-serif;
}
p {
  line-height: 1.55;
}
small {
  font-size: 0.8rem;
}
button {
  border: 0;
}
input,
select {
  width: 100%;
  border: 1px solid #66515e;
  background: #1b1723;
  color: var(--paper);
  padding: 11px 12px;
  border-radius: 5px;
  min-width: 0;
  caret-color: var(--gold);
  color-scheme: dark;
}
input::placeholder {
  color: #b7a7b0;
}
select {
  cursor: pointer;
  padding-right: 25px;
}
label {
  display: block;
  color: #e3d4d2;
  font-size: 0.9rem;
}
label > input,
label > select {
  margin-top: 7px;
}
input[type="range"] {
  padding: 0;
  border: 0;
  accent-color: #be82d4;
  cursor: pointer;
  height: 18px;
}
input[type="checkbox"],
input[type="radio"] {
  width: 17px;
  height: 17px;
  accent-color: #bc7ad5;
  flex-shrink: 0;
}
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #1c1721;
}
::-webkit-scrollbar-thumb {
  background: #68505d;
  border-radius: 8px;
}
* {
  scrollbar-width: thin;
  scrollbar-color: #68505d #1c1721;
}
.icon {
  width: 22px;
  height: 22px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 39px;
  padding: 8px 16px;
  border: 1px solid #806371;
  border-radius: 6px;
  background: linear-gradient(#423346, #2a2232);
  font-weight: 650;
  box-shadow: 0 3px 6px #0003;
  transition:
    filter 0.18s,
    background 0.18s;
}
.btn:hover:not(:disabled) {
  filter: brightness(1.16);
}
.btn.primary {
  background: linear-gradient(#f8d58d, #d9a74d);
  border-color: #f7db9d;
  color: #2c1a11;
  text-shadow: 0 1px #fff4;
}
.btn.primary .icon {
  stroke-width: 2;
}
.btn.selected {
  background: linear-gradient(#975bb4, #653580);
  border-color: #dba0f0;
  color: #fff;
}
.btn.large {
  min-height: 54px;
  padding: 13px 25px;
  font-size: 1.08rem;
}
.btn.wide {
  width: 100%;
}
.btn.subtle,
.btn.text-button {
  background: transparent;
  box-shadow: none;
}
.btn.text-button {
  border: 0;
  color: var(--gold);
  min-height: 30px;
  padding: 5px;
}
.btn.icon-button,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #302431;
  border: 1px solid #705563;
  min-width: 36px;
  height: 36px;
  padding: 7px;
  border-radius: 5px;
}
.icon-button:hover {
  background: #51384f;
}
.icon-button.active {
  background: #9b592f;
  border-color: #f2bc76;
  color: #ffe9bc;
}
.between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.positive {
  color: var(--green) !important;
}
.gold-text {
  color: var(--gold) !important;
}
.muted {
  color: var(--muted);
}
.tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  padding: 4px 7px;
  background: #3e3245;
  color: #e4d7e6;
  border: 1px solid #716076;
  border-radius: 4px;
  white-space: nowrap;
}
.tag.gold {
  color: #f4d593;
  border-color: #816742;
  background: #463722;
}
.tag.green {
  background: #244030;
  border-color: #557d5c;
  color: #a8e6b3;
}
.tag.purple {
  background: #49304f;
  border-color: #9c6aab;
  color: #e1b3ef;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  background: none;
  padding: 0;
  flex-shrink: 0;
  text-align: left;
  color: #fff4dc;
}
.brand-disc {
  width: 52px;
  height: 52px;
  background: repeating-radial-gradient(
    circle at center,
    #302321 0 1px,
    #b8893c 2px,
    #221b1b 3px,
    #c29648 4px
  );
  border: 2px solid #efc16d;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transform: rotate(-20deg);
  box-shadow: 3px 4px 8px #0007;
}
.brand-disc i {
  width: 20px;
  height: 20px;
  border: 7px solid #eac879;
  border-radius: 50%;
  background: #1c151e;
}
.brand-words {
  font:
    700 1.7rem/0.98 Label Display,
    sans-serif;
  white-space: nowrap;
  letter-spacing: 0.005em;
}
.brand-words strong {
  display: block;
  font-size: 2.05rem;
  letter-spacing: 0.055em;
  color: var(--gold);
}
/* Front sleeve */
.title-page {
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  background: #1b1519;
}
.title-art {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      #181419 3%,
      #181419f2 21%,
      #181419a3 47%,
      #1814190a 79%
    ),
    linear-gradient(0deg, #19141a 0%, transparent 28%, #18141966 100%),
    url("/assets/production/hq-1950.webp") center right/auto 100% no-repeat;
  opacity: 0.9;
}
.title-header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 4%;
  border-bottom: 1px solid #a7834b40;
}
.title-header .brand-disc {
  width: 61px;
  height: 61px;
}
.title-header .brand-words {
  font-size: 1.95rem;
}
.title-header .brand-words strong {
  font-size: 2.4rem;
}
.title-header-right {
  display: flex;
  align-items: center;
  gap: 25px;
}
.title-header-right > span {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: #dac3a2;
}
.title-content {
  position: relative;
  padding: 7vh 7.4% 9vh;
  max-width: 900px;
}
.founding-stamp {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: #d7b67b;
  margin-bottom: 25px;
}
.founding-stamp span {
  font-size: 1.1rem;
}
h1 {
  font-size: clamp(4.5rem, 7.8vw, 8.5rem);
  line-height: 0.96;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.title-content h1 em {
  font-style: normal;
  color: var(--gold);
}
.title-content > p {
  font-size: 1.12rem;
  color: #ded0c6;
  margin: 25px 0 33px;
  line-height: 1.7;
}
.title-actions {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 530px;
}
.title-actions .text-button {
  flex-basis: 100%;
  justify-content: flex-start;
  margin-top: 3px;
}
.title-decades {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #e5c285;
  margin-top: 36px;
  font-size: 0.9rem;
}
.title-decades i {
  display: block;
  width: 120px;
  height: 1px;
  background: #ad8759;
  position: relative;
}
.title-decades i:before,
.title-decades i:after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #edc781;
  top: -2px;
}
.title-decades i:after {
  right: 0;
}
.title-decades small {
  color: #d0bca8;
  margin-left: 10px;
}
.title-note {
  position: absolute;
  right: 6%;
  bottom: 16%;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 24px;
  background: #201719e0;
  border: 1px solid #aa825c80;
  box-shadow: 0 8px 25px #0004;
  color: #edddc3;
  border-radius: 5px;
  line-height: 1.6;
  font-size: 0.9rem;
}
.title-note > .icon {
  width: 45px;
  height: 45px;
  color: #e0b66c;
}
.title-note strong {
  font-weight: 600;
  color: var(--gold);
}
.title-footer {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 22px 4%;
  font-size: 0.65rem;
  color: #bca79c;
  letter-spacing: 0.08em;
  border-top: 1px solid #a7834b40;
}
.title-footer i {
  font-style: normal;
  padding: 0 8px;
  color: #b68b55;
}
.title-footer span:last-child {
  letter-spacing: 0.01em;
}
/* The game frame */
.game-shell {
  height: 100svh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(120deg, #4a2a20, #241d25 45%, #392424);
}
.topbar {
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 78px;
  flex-shrink: 0;
  padding: 8px 15px;
  border-bottom: 2px solid #bc9254;
  background: linear-gradient(#342525, #19151d);
  box-shadow: 0 4px 16px #0007;
  z-index: 3;
}
.topbar > .brand {
  padding-right: 22px;
}
.topbar .brand-words {
  font-size: 1.4rem;
}
.topbar .brand-words strong {
  font-size: 1.7rem;
}
.topbar .brand-disc {
  width: 45px;
  height: 45px;
}
.resource-button {
  padding: 0;
  background: none;
  text-align: left;
}
.resource {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 24px;
  border-left: 1px solid #78604c;
  min-height: 42px;
  white-space: nowrap;
}
.resource > .icon {
  width: 29px;
  height: 29px;
  color: var(--gold);
}
.resource-button .icon {
  color: #94cfa0;
}
.resource > div > span {
  display: block;
  font-size: 0.7rem;
  color: #d4c5b8;
  margin-bottom: 3px;
}
.resource strong {
  font-size: 1.3rem;
  display: inline-block;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}
.resource strong em {
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 500;
  color: #c6b7ad;
}
.resource small {
  color: var(--green);
  font-size: 0.65rem;
  display: block;
  margin-top: 3px;
}
.calendar {
  border-left: 1px solid #78604c;
  margin-left: auto;
  padding: 0 20px;
}
.calendar > span {
  font-size: 0.7rem;
  display: block;
  color: var(--gold);
  white-space: nowrap;
  margin-bottom: 4px;
}
.calendar strong {
  display: block;
  font-size: 1.13rem;
  white-space: nowrap;
}
.calendar em {
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 500;
  margin-left: 10px;
  color: #d1c3b9;
}
.calendar i {
  font-style: normal;
  margin: 0 4px;
}
.time-controls {
  display: flex;
  gap: 4px;
}
.settings-button {
  margin-left: 10px;
}
.era-region {
  display: flex;
  gap: 16px;
  padding: 12px 16px 13px;
  align-items: center;
  flex-shrink: 0;
  background: linear-gradient(#3f2b26, #2b2026);
  border-bottom: 1px solid #947044;
}
.era-title {
  width: 125px;
  flex-shrink: 0;
  padding-left: 3px;
}
.era-title > span {
  font:
    1.22rem Label Display,
    sans-serif;
  color: var(--gold);
}
.era-title small {
  display: block;
  line-height: 1.35;
  margin-top: 5px;
  font-size: 0.65rem;
  color: #d7bfa6;
}
.era-strip {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 7px;
  flex: 1;
  min-width: 0;
}
.era {
  position: relative;
  min-width: 0;
  display: flex;
  align-items: center;
  padding: 0;
  background: #211c24;
  border: 1px solid #715c51;
  border-radius: 5px;
  overflow: hidden;
  height: 61px;
  text-align: left;
  transition: filter 0.2s;
}
.era:hover {
  filter: brightness(1.2);
}
.era img {
  width: 49px;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.5);
  opacity: 0.7;
}
.era > div {
  padding: 3px 9px;
}
.era strong {
  font:
    1.5rem/1 Label Display,
    sans-serif;
  color: #e1c7ab;
  display: block;
}
.era span {
  display: block;
  font-size: 0.56rem;
  color: #d2c1b5;
  margin-top: 4px;
  white-space: normal;
}
.era.future {
  opacity: 0.56;
  filter: saturate(0.45);
}
.era.current {
  border-color: #e8c27e;
  background: linear-gradient(120deg, #6d4d29, #2d2327);
  box-shadow: 0 3px 8px #0005;
}
.era.current strong {
  color: #ffe1a2;
}
.era.current img {
  opacity: 1;
  filter: sepia(0.5);
}
.era > .icon {
  position: absolute;
  right: 3px;
  top: 3px;
  width: 12px;
  height: 12px;
  color: var(--green);
}
.game-content {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 12px 15px 10px;
}
.view-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 318px;
  gap: 13px;
  min-height: 100%;
}
.main-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.command-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.command-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font:
    1.5rem/1 Label Display,
    sans-serif;
  color: #f3d291;
  border-bottom: 1px solid #97754d;
  padding: 1px 3px 9px;
}
.command-title .icon {
  width: 24px;
  height: 24px;
}
.command-title > span {
  margin-left: auto;
  font:
    0.7rem Label Sans,
    sans-serif;
  color: #c8b69d;
}
.panel {
  border: 1px solid #826448;
  border-radius: 7px;
  background: linear-gradient(115deg, #2d2431, #211d2b);
  overflow: hidden;
  box-shadow: 0 4px 10px #0003;
}
.panel-title {
  padding: 10px 13px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: linear-gradient(90deg, #453036, #2e2431);
  border-bottom: 1px solid #735440;
}
.panel-title h3 {
  font:
    1.25rem Label Display,
    sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.01em;
}
.panel-title .icon {
  width: 19px;
  height: 19px;
  color: var(--gold);
}
.command-column .panel-title h3 {
  font-size: 1.21rem;
}
.view-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 6px 2px 3px;
}
.view-heading h2 {
  font-size: 2.05rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f7ecdf;
  letter-spacing: 0.01em;
}
.view-heading h2 .icon {
  width: 29px;
  height: 29px;
  color: #dcb0db;
}
.view-heading p {
  font-size: 0.84rem;
  color: #d4c1b5;
  margin-top: 5px;
}
.bottom-bar {
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 73px;
  padding: 9px 13px;
  border-top: 2px solid #a98150;
  background: linear-gradient(#3c2729, #1b171e);
  flex-shrink: 0;
  box-shadow: 0 -3px 14px #0004;
}
.bottom-bar nav {
  display: flex;
  flex: 1;
  gap: 6px;
  min-width: 0;
}
.nav-button {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(#41303d, #29212d);
  border: 1px solid #806171;
  border-radius: 6px;
  padding: 12px 9px;
  font-weight: 650;
  font-size: 0.85rem;
  white-space: nowrap;
  min-height: 49px;
}
.nav-button:hover {
  background: #513b57;
}
.nav-button > .icon {
  color: #dfc49d;
  width: 24px;
  height: 24px;
}
.nav-button.selected {
  background: linear-gradient(#8d50a9, #5d326d);
  border-color: #d7a2e8;
  color: #fff4fd;
}
.nav-button.selected > .icon {
  color: #f1d5fc;
}
.nav-button kbd {
  font-size: 0.52rem;
  position: absolute;
  top: 3px;
  right: 5px;
  font-family: inherit;
  color: #d6bdcc;
  opacity: 0.6;
}
.advance-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}
.advance-controls > span {
  font-size: 0.58rem;
  color: #cbb8a6;
  letter-spacing: 0.05em;
  margin-left: 5px;
}
.advance-controls select {
  width: 96px;
  background: #241c24;
  padding: 10px 6px;
  font-size: 0.8rem;
}
.next-button {
  height: 49px;
  min-width: 112px;
  font-size: 1rem;
}
.next-button > .icon {
  width: 20px;
}
.low-funds strong {
  color: #f9aba3;
}
/* Headquarters */
.hq-scene {
  min-height: 370px;
  flex: 1;
  position: relative;
  overflow: hidden;
  background: #694331 url("/assets/production/hq-1950.webp") center/cover no-repeat;
  border: 1px solid #b08a54;
  border-radius: 7px;
  box-shadow: 0 6px 18px #0005;
}
.scene-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    #18121b6b,
    transparent 35%,
    transparent 70%,
    #18121be8
  );
}
.scene-label {
  display: flex;
  align-items: center;
  position: absolute;
  top: 19px;
  left: 20px;
  padding: 11px 16px 11px 11px;
  border: 1px solid #d0a86b;
  background: #231a1de8;
  border-radius: 5px;
  box-shadow: 0 4px 10px #0006;
  gap: 10px;
}
.label-crest {
  color: var(--gold);
  display: grid;
  place-items: center;
}
.label-crest > .icon {
  width: 35px;
  height: 35px;
}
.scene-label h2 {
  font-size: 1.7rem;
  font-family:
    Label Display,
    sans-serif;
  color: #ffe5b1;
}
.scene-label span {
  font-size: 0.7rem;
  color: #d3c0a6;
}
.studio-status {
  position: absolute;
  right: 16px;
  top: 21px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  background: #1b161cdd;
  border: 1px solid #aa87587a;
  border-radius: 4px;
  font-size: 0.6rem;
  letter-spacing: 0.065em;
}
.quiet-dot,
.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cca766;
}
.live-dot {
  background: #b3e7ad;
  animation: pulse 1.6s ease-in-out infinite;
}
.hotspot {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  background: linear-gradient(#281d24e8, #1e1720f5);
  border: 1px solid #d0a66b;
  border-radius: 5px;
  padding: 10px 12px;
  box-shadow: 0 5px 13px #0007;
  transition:
    transform 0.18s,
    filter 0.18s;
  text-align: left;
}
.hotspot:hover {
  transform: translateY(-3px);
  filter: brightness(1.18);
}
.hotspot > .icon:first-child {
  color: var(--gold);
  width: 22px;
  height: 22px;
}
.hotspot > .icon:last-child {
  width: 12px;
  height: 12px;
  color: #d2ac7a;
}
.hotspot > span {
  font-family:
    Label Display,
    sans-serif;
  font-size: 1.13rem;
  color: #ffe4af;
}
.hotspot small {
  display: block;
  font-family:
    Label Sans,
    sans-serif;
  font-size: 0.64rem;
  color: #d2c1b1;
  margin-top: 4px;
}
.hotspot.ar {
  left: 24%;
  top: 32%;
}
.hotspot.booth {
  left: 55%;
  top: 17%;
}
.hotspot.production {
  right: 3%;
  top: 48%;
}
.hotspot.lounge {
  left: 49%;
  bottom: 19%;
}
.hotspot:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -16px;
  width: 1px;
  height: 15px;
  background: #f4d69d;
}
.scene-footer {
  position: absolute;
  bottom: 13px;
  left: 16px;
  right: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.scene-footer > span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #ead9bb;
  font-size: 0.78rem;
  text-shadow: 0 2px 3px #000;
}
.scene-footer .icon {
  width: 19px;
  height: 19px;
  color: #e8c58c;
}
.scene-btn {
  font-size: 0.72rem;
  background: #2f2324d9;
  border-color: #a8875d;
  padding: 6px 9px;
  min-height: 32px;
}
.hq-bottom {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 12px;
}
.hq-bottom .panel-title {
  padding: 8px 12px;
}
.trend-list {
  padding: 8px 13px;
}
.trend-list > div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  padding: 4px 0;
}
.trend-list strong {
  font-weight: 600;
  flex: 1;
}
.trend-list > div > span:not(.genre-dot) {
  font-size: 0.68rem;
  width: 40px;
}
.genre-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d885b3;
}
.genre-1 {
  background: #98c2ca;
}
.genre-2 {
  background: #c8b882;
}
.genre-3 {
  background: #b096d2;
}
.spark {
  width: 61px;
  height: 18px;
  color: #d68bba;
}
.ledger-summary {
  display: flex;
  gap: 10px;
  padding: 22px 15px;
}
.ledger-summary > div {
  flex: 1;
  min-width: 0;
}
.ledger-summary small {
  display: block;
  font-size: 0.51rem;
  letter-spacing: 0.035em;
  color: #cbb5a2;
  line-height: 1.4;
  min-height: 25px;
}
.ledger-summary strong {
  font-size: 1.36rem;
  font-weight: 700;
  white-space: nowrap;
}
.news-ticker {
  display: flex;
  align-items: center;
  background: #1f1922;
  border: 1px solid #765c42;
  border-radius: 4px;
  padding: 8px 12px;
  gap: 15px;
  min-height: 36px;
}
.news-ticker > span {
  font-size: 0.65rem;
  font-weight: 700;
  color: #e6bf7d;
  display: flex;
  gap: 6px;
  align-items: center;
  white-space: nowrap;
}
.news-ticker .icon {
  width: 15px;
  height: 15px;
}
.news-ticker p {
  font-size: 0.71rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #f1d8ba;
}
.news-ticker em {
  font-style: normal;
  color: #c1b0a4;
  margin-left: 8px;
}
.chapter-caption {
  display: flex;
  justify-content: space-between;
  padding: 12px 13px 4px;
  font-size: 0.59rem;
  letter-spacing: 0.1em;
  color: #c9a97f;
}
.chapter-caption span {
  letter-spacing: 0;
}
.objectives {
  padding: 7px 13px 9px;
}
.objective {
  display: flex;
  gap: 10px;
  padding: 7px 0;
  align-items: center;
  font-size: 0.83rem;
  line-height: 1.35;
}
.checkbox {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border: 1px solid #9b8580;
  border-radius: 3px;
  flex-shrink: 0;
}
.checkbox > .icon {
  width: 14px;
  height: 14px;
  color: #b2e4af;
}
.objective.done {
  color: #b2d3ab;
}
.objective.done .checkbox {
  background: #36523b;
  border-color: #7fba84;
}
.objective small {
  display: block;
  color: #c6b09c;
  font-size: 0.66rem;
  margin-top: 3px;
}
.objectives-panel > .btn {
  width: calc(100% - 26px);
  margin: 2px 13px 13px;
  font-size: 0.8rem;
  justify-content: space-between;
}
.objectives-panel > .btn .icon {
  width: 17px;
  height: 17px;
}
.bulletin {
  padding: 13px;
}
.bulletin h4,
.event-content h4 {
  font-size: 1.05rem;
  line-height: 1.35;
  margin: 10px 0 7px;
}
.bulletin p,
.event-content p {
  font-size: 0.8rem;
  color: #d2bfb8;
  line-height: 1.6;
  margin-bottom: 11px;
}
.bulletin > small {
  display: block;
  color: #b7a39a;
  font-size: 0.65rem;
  margin-top: 7px;
}
.schedule {
  padding: 5px 9px;
}
.schedule > button {
  display: flex;
  gap: 9px;
  width: 100%;
  align-items: center;
  padding: 9px 3px;
  background: none;
  text-align: left;
  border-bottom: 1px solid #6e52613d;
}
.schedule > button:last-child {
  border-bottom: 0;
}
.schedule .portrait {
  width: 34px;
  height: 34px;
  border-radius: 4px;
  object-fit: cover;
}
.schedule strong {
  display: block;
  font-size: 0.8rem;
}
.schedule small {
  display: block;
  font-size: 0.67rem;
  color: #c8b6ac;
  margin-top: 3px;
}
.schedule .tag {
  margin-left: auto;
  font-size: 0.55rem;
}
.quiet-empty {
  padding: 17px 14px;
}
.quiet-empty p {
  font-size: 0.9rem;
  color: #e6d1bc;
}
.quiet-empty small {
  font-size: 0.73rem;
  color: #bfa99e;
  display: block;
  margin-top: 6px;
  line-height: 1.5;
}
.quiet-empty .btn {
  margin: 12px 0 0;
  font-size: 0.75rem;
  min-height: 30px;
  padding: 5px 0;
  border: 0;
  color: #e7c38c;
}
.event-content {
  padding: 13px;
}
.event-content small {
  color: #c4ac9d;
  font-size: 0.6rem;
}
.event-content > .btn {
  display: flex;
  justify-content: space-between;
  text-align: left;
  font-size: 0.73rem;
  margin-top: 7px;
  padding: 8px;
}
.event-content .btn small {
  color: #f3d397;
  white-space: nowrap;
  margin-left: 8px;
  font-size: 0.6rem;
}
/* Artists and studio */
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.tabs {
  display: flex;
  gap: 5px;
}
.tabs .btn {
  font-size: 0.81rem;
  padding: 9px 18px;
}
.search-field {
  display: flex;
  align-items: center;
  border: 1px solid #6e5862;
  background: #231a26;
  border-radius: 5px;
  padding: 0 11px;
  max-width: 290px;
  width: 45%;
}
.search-field .icon {
  width: 17px;
  height: 17px;
  color: #bea3b6;
}
.search-field input {
  border: 0;
  background: none;
  padding: 9px;
  box-shadow: none;
  margin: 0;
  font-size: 0.79rem;
}
.artist-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.artist-card {
  border: 1px solid #896b50;
  border-radius: 7px;
  overflow: hidden;
  background: linear-gradient(#352837, #231d2a);
  box-shadow: 0 5px 12px #0003;
}
.artist-photo {
  height: 165px;
  position: relative;
  overflow: hidden;
}
.artist-photo:after {
  content: "";
  position: absolute;
  inset: 60% 0 0;
  background: linear-gradient(transparent, #221a28dc);
}
.artist-photo > .portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transition: transform 0.3s;
}
.artist-card:hover .artist-photo > .portrait {
  transform: scale(1.035);
}
.genre-tag {
  position: absolute;
  left: 11px;
  bottom: 9px;
  z-index: 1;
  background: #563456e8;
  border: 1px solid #a476ad;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.69rem;
  color: #f4daf5;
}
.talent-score {
  position: absolute;
  top: 9px;
  right: 9px;
  font-size: 1.8rem;
  line-height: 1;
  font-weight: 750;
  background: #221b23ed;
  border: 1px solid #b28a56;
  border-radius: 5px;
  padding: 7px 9px;
  color: #f5d38e;
  text-align: center;
  z-index: 1;
}
.talent-score small {
  display: block;
  font-size: 0.4rem;
  letter-spacing: 0.05em;
  color: #d3b68f;
  margin-top: 3px;
}
.artist-card-body {
  padding: 13px;
}
.artist-card h3 {
  font-family:
    Label Display,
    sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.01em;
}
.artist-origin {
  font-size: 0.68rem;
  color: #c5b0a6;
  margin: 3px 0 10px;
}
.trait {
  font-size: 0.66rem;
  color: #e4cc9e;
  display: flex;
  gap: 5px;
  align-items: center;
  margin-bottom: 12px;
}
.trait .icon {
  width: 14px;
  height: 14px;
}
.artist-attributes > div {
  display: flex;
  gap: 7px;
  align-items: center;
  margin: 8px 0;
}
.artist-attributes > div > span {
  font-size: 0.66rem;
  min-width: 66px;
  color: #dac5bc;
}
.artist-attributes b {
  font-size: 0.67rem;
  font-weight: 600;
  min-width: 17px;
}
.artist-attributes .meter {
  flex: 1;
}
.meter {
  height: 7px;
  background: #4d3c51;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #79617d55;
}
.meter > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #a95cc3, #da9fda);
  border-radius: 10px;
  transition: width 0.3s;
}
.meter.gold > span {
  background: linear-gradient(90deg, #be924c, #efd28e);
}
.meter.green > span {
  background: linear-gradient(90deg, #6a9d72, #9bcc9e);
}
.artist-deal {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin: 13px 0 11px;
  font-size: 0.71rem;
  align-items: center;
  border-top: 1px solid #7959667a;
  padding-top: 11px;
}
.artist-deal > strong {
  font-size: 0.92rem;
  color: #f2d196;
}
.artist-deal > small {
  font-size: 0.57rem;
  text-align: right;
  color: #c8af9d;
}
.artist-card .btn {
  font-size: 0.73rem;
  padding: 8px 9px;
  gap: 5px;
}
.artist-card .btn > .icon {
  width: 16px;
  height: 16px;
}
.card-actions {
  display: flex;
  gap: 7px;
}
.card-actions > .btn {
  flex: 1;
}
.detail-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  font-size: 0.77rem;
  border-bottom: 1px solid #70515c4d;
}
.detail-line > span {
  color: #cdb5a7;
}
.detail-line + p {
  margin-top: 12px;
}
.alumni-list {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  padding: 14px;
}
.alumni-list > div {
  display: flex;
  gap: 8px;
  align-items: center;
}
.alumni-list .portrait {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
}
.alumni-list span {
  font-size: 0.8rem;
}
.alumni-list small {
  display: block;
  font-size: 0.65rem;
  color: #c0a79b;
  margin-top: 3px;
}
.studio-scene {
  height: 245px;
  flex-shrink: 0;
  position: relative;
  border: 1px solid #a77d51;
  border-radius: 6px;
  overflow: hidden;
}
.studio-scene > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.studio-scene:after {
  content: "";
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(transparent, #201820f5);
}
.studio-scene-caption {
  position: absolute;
  bottom: 18px;
  left: 22px;
  z-index: 1;
  max-width: 70%;
}
.studio-scene-caption h3 {
  font:
    1.8rem Label Display,
    sans-serif;
  margin-top: 8px;
  text-shadow: 0 2px 5px #000;
}
.studio-scene-caption .tag {
  font-size: 0.6rem;
}
.equalizer {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 45px;
  position: absolute;
  right: 20px;
  bottom: 23px;
  z-index: 1;
}
.equalizer i {
  display: block;
  width: 3px;
  height: var(--h);
  background: #c4dc96;
  opacity: 0.7;
}
.equalizer.playing i {
  animation: equalize 0.8s ease-in-out infinite alternate;
  animation-delay: var(--d);
}
.form-body {
  padding: 18px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px 18px;
}
.form-body > label {
  margin-bottom: 17px;
}
.creative-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-top: 23px;
  padding-top: 20px;
  border-top: 1px solid #79596966;
}
.creative-controls label > span {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
}
.creative-controls output {
  color: #d6a2e0;
  font-weight: 700;
}
.creative-controls label > small {
  font-size: 0.63rem;
  display: flex;
  justify-content: space-between;
  color: #c5adab;
}
.creative-controls input {
  margin: 12px 0;
}
.form-submit {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid #79596966;
}
.form-submit > div > small {
  display: block;
  font-size: 0.58rem;
  color: #c7a68e;
  letter-spacing: 0.06em;
}
.form-submit > div > strong {
  font-size: 1.5rem;
  color: #edca86;
  display: inline-block;
  margin-top: 4px;
}
.form-submit > div > span {
  font-size: 0.68rem;
  color: #c8b0a2;
  margin-left: 10px;
}
.form-submit > p {
  font-size: 0.8rem;
  color: #d8bdab;
}
.form-submit > p small {
  font-size: 0.66rem;
  color: #c2aba5;
}
.form-help {
  font-size: 0.71rem;
  color: #c9b1a6;
  line-height: 1.6;
  margin: 12px 0 0;
}
.form-hint {
  display: block;
  font-size: 0.7rem;
  color: #baa29e;
  margin-top: 3px;
}
.record-form-panel .form-body {
  padding: 16px 18px;
}
.session-list {
  padding: 0 14px;
}
.session-item {
  display: grid;
  grid-template-columns: 65px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid #79596966;
}
.session-item:last-child {
  border: 0;
}
.session-item .full {
  grid-column: 1/-1;
}
.session-item h4 {
  font-size: 1rem;
  margin: 7px 0 3px;
}
.session-item p {
  font-size: 0.72rem;
  color: #c6aba3;
}
.session-item .tag {
  font-size: 0.53rem;
}
.session-item .meter {
  height: 9px;
}
.session-item .between {
  margin-top: 9px;
}
.session-item .between small {
  font-size: 0.68rem;
  color: #c6aea0;
}
.session-item .between strong {
  font-size: 0.73rem;
  color: #dfb1e0;
}
.session-item .btn {
  margin-top: 12px;
  font-size: 0.76rem;
}
.waveform {
  display: flex;
  gap: 16px;
  padding: 15px;
}
.track-names {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  font-size: 0.69rem;
  color: #d8baca;
  width: 78px;
}
.tracks {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px 0;
  background: #1b1926;
  overflow: hidden;
}
.tracks > svg {
  width: 100%;
  height: 25px;
  opacity: 0.8;
}
.studio-note {
  padding: 0 15px 14px;
  color: #bda4a5;
  font-size: 0.68rem;
  line-height: 1.6;
}
.studio-note .icon {
  width: 15px;
  height: 15px;
  margin-right: 5px;
}
.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 35px 24px;
  background: #241c28;
  border: 1px solid #795f4a;
  border-radius: 6px;
  min-height: 240px;
  grid-column: 1/-1;
}
.empty > .icon {
  width: 50px;
  height: 50px;
  color: #b38a60;
  margin-bottom: 15px;
}
.empty h3 {
  font:
    1.8rem Label Display,
    sans-serif;
}
.empty p {
  color: #c7b1a5;
  font-size: 0.85rem;
  max-width: 370px;
  margin: 10px 0 20px;
}
/* Masters and market */
.record-cover {
  --cover-hue: 25;
  position: relative;
  aspect-ratio: 1;
  background: linear-gradient(
    145deg,
    hsl(var(--cover-hue) 35% 25%),
    hsl(calc(var(--cover-hue) + 60) 32% 12%)
  );
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  overflow: hidden;
  border: 1px solid #d3aa7355;
  padding: 10px;
  min-width: 0;
  box-shadow: 2px 4px 8px #0004;
}
.record-cover > span {
  font-size: 0.6rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  z-index: 1;
}
.record-cover > strong {
  font:
    1.6rem/0.95 Label Display,
    sans-serif;
  color: #fff0ce;
  z-index: 1;
  max-width: 100%;
  overflow-wrap: break-word;
}
.record-cover > small {
  font-size: 0.45rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 1;
  margin-top: 5px;
}
.cover-record {
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: repeating-radial-gradient(
    circle,
    #1b1921 0 1px,
    #383038 2px,
    #17141c 3px
  );
  display: grid;
  place-items: center;
  position: absolute;
  top: 12%;
  opacity: 0.8;
  transform: translateX(25%) rotate(-20deg);
}
.cover-record i {
  width: 30%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 14px solid hsl(calc(var(--cover-hue) + 40) 70% 68%);
  background: #211827;
}
.record-cover.small {
  width: 65px;
  height: 65px;
  padding: 5px;
}
.record-cover.small > strong {
  font-size: 0.8rem;
}
.record-cover.small > span {
  font-size: 0.32rem;
}
.record-cover.small > small {
  display: none;
}
.record-cover.small .cover-record i {
  border-width: 5px;
}
.release-identity {
  display: flex;
  gap: 25px;
  align-items: center;
}
.release-identity > .record-cover {
  width: 165px;
  flex-shrink: 0;
}
.release-identity > div:last-child {
  flex: 1;
}
.release-identity h3 {
  font:
    2.2rem Label Display,
    sans-serif;
  margin: 8px 0 3px;
}
.release-identity p {
  font-size: 0.82rem;
  color: #ccb6a8;
}
.release-identity label {
  margin-top: 16px;
  max-width: 350px;
  font-size: 0.75rem;
}
.release-form {
  padding: 20px;
}
.promo-label {
  font-size: 0.85rem;
  font-weight: 650;
  margin: 23px 0 11px;
}
.promo-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.promo-option {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border: 1px solid #75606c;
  border-radius: 5px;
  background: #2d2333;
  padding: 11px;
  cursor: pointer;
  min-width: 0;
}
.promo-option:has(input:checked) {
  border-color: #cf96db;
  background: #503055;
}
.promo-option input {
  margin: 2px 0 0;
}
.promo-option > span {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.promo-option strong {
  font-size: 0.76rem;
  font-weight: 650;
}
.promo-option small {
  font-size: 0.65rem;
  line-height: 1.45;
  color: #c7b0b6;
}
.promo-option b {
  font-size: 0.67rem;
  color: #ebd09e;
  font-weight: 600;
}
.locked {
  opacity: 0.42;
  cursor: not-allowed;
}
.catalog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 15px;
  gap: 15px;
}
.catalog-record {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 15px;
  position: relative;
  padding: 8px 0 15px;
  border-bottom: 1px solid #775d5f55;
  min-width: 0;
}
.catalog-record > div:last-of-type {
  min-width: 0;
}
.catalog-record > .record-cover {
  width: 100px;
  align-self: start;
  min-height: 100px;
}
.catalog-record h3 {
  font:
    1.45rem Label Display,
    sans-serif;
  overflow-wrap: break-word;
}
.catalog-record p {
  font-size: 0.71rem;
  color: #ccb1a9;
  margin: 3px 0 8px;
}
.catalog-record .tag {
  font-size: 0.55rem;
}
.catalog-record small {
  color: #bca09e;
  font-size: 0.57rem;
}
.catalog-record > .record-cover > strong {
  font-size: 1.1rem;
}
.catalog-record .record-cover > span {
  font-size: 0.44rem;
}
.catalog-record .record-cover > small {
  font-size: 0.35rem;
}
.record-stats {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 12px 0 8px;
}
.record-stats > span {
  font-size: 0.58rem;
  color: #c6aea1;
}
.record-stats strong {
  display: block;
  font-size: 0.84rem;
  color: #eed1a1;
  margin-top: 4px;
}
.gold-record {
  grid-column: 1/-1;
  font-size: 0.6rem;
  color: #e8c37f;
}
.gold-record > .icon {
  width: 16px;
  height: 16px;
}
.inline-empty {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px;
}
.inline-empty > .icon {
  width: 40px;
  height: 40px;
  color: #c2a575;
}
.inline-empty > div {
  flex: 1;
}
.inline-empty h4 {
  font-size: 0.95rem;
}
.inline-empty p {
  font-size: 0.75rem;
  color: #ccb3a9;
  margin-top: 4px;
}
.audience-overview {
  display: flex;
  background: linear-gradient(90deg, #3a2935, #292132);
  border: 1px solid #88684b;
  border-radius: 6px;
  padding: 20px 4px;
}
.audience-overview > div {
  padding: 0 24px;
  flex: 1;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  border-left: 1px solid #715564;
}
.audience-overview > div:first-child {
  border: 0;
}
.audience-overview .icon {
  width: 28px;
  height: 28px;
  color: #d3a6d7;
}
.audience-overview > div:nth-child(2) .icon,
.audience-overview > div:nth-child(3) .icon {
  color: #e5c383;
}
.audience-overview > div > span {
  font-size: 0.74rem;
  color: #d1b8b0;
}
.audience-overview strong {
  display: block;
  font-size: 1.8rem;
  color: #f9e5bd;
  margin-top: 5px;
}
.audience-overview strong small {
  font-size: 0.85rem;
  color: #bda399;
}
.audience-overview > div > small {
  display: block;
  flex-basis: 100%;
  color: #b9a19a;
  font-size: 0.62rem;
  margin-top: 2px;
  padding-left: 40px;
}
.chart-table-wrap {
  overflow-x: auto;
}
.chart-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
  text-align: left;
}
.chart-table th {
  padding: 12px 15px;
  font-size: 0.58rem;
  letter-spacing: 0.05em;
  font-weight: 600;
  color: #c4a993;
  background: #201b29;
}
.chart-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #6e52613d;
  color: #cdb8af;
}
.chart-table td strong {
  font-weight: 650;
  color: #eee0d7;
  font-size: 0.83rem;
}
.chart-table td small {
  display: block;
  color: #ba9fa1;
  font-size: 0.68rem;
  margin-top: 3px;
}
.chart-table td:first-child {
  width: 65px;
}
.chart-table td:last-child {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.chart-rank {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 3px;
  background: #3e3139;
  color: #e8c487;
  font-weight: 700;
}
.chart-table tr:nth-child(-n + 3) .chart-rank {
  background: #e2bb6e;
  color: #39221b;
}
.chart-table .own-record {
  background: #59315b55;
}
.chart-table .own-record .chart-rank {
  background: #a664ad;
  color: #fff;
}
.chart-table .own-record .icon {
  width: 15px;
  height: 15px;
  color: #deb579;
  margin-left: 5px;
}
.table-footnote {
  padding: 10px 15px;
  font-size: 0.61rem;
  color: #bca6a0;
  line-height: 1.5;
}
.two-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}
.reviews blockquote {
  margin: 0;
  padding: 17px 13px;
  border-bottom: 1px solid #7d5c6655;
}
.reviews blockquote > div {
  display: flex;
  gap: 12px;
  align-items: center;
}
.reviews strong {
  font-size: 1.6rem;
  color: #e8ce91;
  white-space: nowrap;
}
.reviews strong small {
  font-size: 0.6rem;
  color: #bda694;
}
.reviews blockquote span {
  font-size: 0.83rem;
  color: #eddbd0;
  line-height: 1.55;
}
.reviews cite {
  display: block;
  margin-top: 10px;
  color: #b69e99;
  font-size: 0.62rem;
  font-style: normal;
}
.audience-graph {
  padding: 16px;
}
.audience-graph strong {
  font-size: 1.2rem;
  color: #e2a6d5;
}
.audience-graph small {
  font-size: 0.61rem;
  color: #bda699;
}
.audience-graph svg {
  width: 100%;
  height: 110px;
  margin-top: 15px;
}
.audience-graph p {
  font-size: 0.64rem;
  color: #bca098;
  text-align: center;
}
/* The road and the story */
.section-tabs {
  margin-bottom: 1px;
}
.tour-map {
  padding: 15px 20px 20px;
  background: radial-gradient(ellipse at center, #334249, #20232e);
  border-bottom: 1px solid #84624c;
}
.tour-map svg {
  width: 100%;
  height: auto;
  max-height: 225px;
  overflow: visible;
}
.map-land {
  fill: #586d6a;
  stroke: #809082;
  stroke-width: 1;
  opacity: 0.65;
}
.map-route {
  stroke: #d7a0cd;
  stroke-width: 2;
  stroke-dasharray: 6 5;
  fill: none;
}
.tour-map circle {
  fill: #f3d7b0;
  stroke: #5b374e;
  stroke-width: 3;
}
.tour-map text {
  fill: #f4dfbe;
  font-size: 13px;
  font-family:
    Label Sans,
    sans-serif;
  text-shadow: 0 1px 3px #000;
}
.map-caption {
  font-family:
    Label Display,
    sans-serif;
  font-size: 1.45rem;
  color: #dcc9ab;
  text-align: center;
  margin-top: 5px;
}
.route-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  margin-top: 20px;
}
.route-option {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  background: #292232;
  border: 1px solid #77576b;
  border-radius: 5px;
  padding: 13px;
  cursor: pointer;
}
.route-option:has(input:checked) {
  border-color: #c790d4;
  background: #49314f;
}
.route-option input {
  margin: 2px 0 0;
}
.route-option > span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.route-option .icon {
  color: #d8b477;
  width: 24px;
  height: 24px;
}
.route-option strong {
  font-size: 0.85rem;
}
.route-option small {
  font-size: 0.65rem;
  line-height: 1.6;
  color: #c3a7a4;
}
.route-option b {
  font-size: 0.73rem;
  color: #ecd198;
  font-weight: 600;
}
.tour-diary {
  padding: 0 16px;
}
.tour-diary > div {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 17px 0;
  border-bottom: 1px solid #7b5c6755;
}
.tour-diary h4 {
  font-size: 1.1rem;
  margin: 8px 0 5px;
}
.tour-diary p {
  font-size: 0.71rem;
  color: #c6aca2;
}
.tour-diary > div > div:last-child {
  min-width: 130px;
  text-align: right;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
}
.tour-diary small {
  font-size: 0.68rem;
  color: #bea29b;
}
.legacy-path {
  margin-top: 17px;
  border-top: 1px solid #7c5b6755;
  padding-top: 12px;
}
.legacy-path strong {
  font-size: 0.83rem;
  color: #e9c891;
}
.legacy-path small {
  display: block;
  font-size: 0.65rem;
  line-height: 1.7;
  color: #c5aca1;
  margin: 7px 0;
}
.legacy-path .meter {
  height: 7px;
}
.legacy-path + .btn {
  margin-top: 18px;
}
.history-summary {
  display: flex;
  justify-content: space-around;
  border-bottom: 1px solid #78576966;
  padding: 25px 16px;
  text-align: center;
}
.history-summary strong {
  display: block;
  font-size: 2.3rem;
  color: #ebc884;
  font-family:
    Label Display,
    sans-serif;
}
.history-summary span {
  font-size: 0.75rem;
  color: #ccb3a2;
}
.history-timeline {
  padding: 20px;
}
.history-entry {
  display: grid;
  grid-template-columns: 60px 15px 1fr;
  gap: 12px;
  padding: 0 0 24px;
  position: relative;
}
.history-entry > div:first-child strong {
  font-size: 1rem;
  color: #d9b27b;
  display: block;
}
.history-entry > div:first-child small {
  font-size: 0.55rem;
  color: #c4a79d;
  display: block;
  margin-top: 4px;
}
.timeline-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #be8f69;
  position: relative;
  margin-top: 5px;
  justify-self: center;
}
.timeline-dot:after {
  content: "";
  height: calc(100% + 50px);
  width: 1px;
  background: #8e6b4e66;
  position: absolute;
  left: 3px;
  top: 8px;
}
.history-entry:last-child .timeline-dot:after {
  display: none;
}
.history-entry h4 {
  font-size: 0.9rem;
  color: #ead7c2;
}
.history-entry p {
  font-size: 0.75rem;
  margin-top: 5px;
  color: #bfa69e;
}
.history-entry.era h4,
.history-entry.award h4,
.history-entry.chapter h4 {
  color: #e8c27a;
}
/* Focused overlays */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 20px;
  background: #130c17cc;
  animation: appear 0.15s ease-out;
}
.modal {
  width: 100%;
  max-width: 570px;
  max-height: 92svh;
  background: linear-gradient(140deg, #342333, #201a28);
  border: 1px solid #b58a55;
  border-radius: 9px;
  box-shadow: 0 20px 60px #0009;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.modal.wide-modal {
  max-width: 820px;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 17px 20px;
  background: linear-gradient(95deg, #55362d, #332532);
  border-bottom: 1px solid #9e754d;
  flex-shrink: 0;
}
.modal-header h2 {
  font-size: 1.9rem;
  color: #f4dab2;
}
.modal-content {
  overflow-y: auto;
}
.modal-header .icon-button {
  background: #241c28;
  min-width: 31px;
  height: 31px;
}
.modal-header .icon {
  width: 18px;
  height: 18px;
}
.modal-intro {
  padding: 18px 20px 0;
  color: #d2b8a9;
  font-size: 0.86rem;
}
.new-career-art {
  background:
    linear-gradient(90deg, #231921cf, #23192166),
    url("/assets/production/hq-1950.webp") 50% 30% / cover;
  height: 145px;
  padding: 22px;
}
.new-career-art > span {
  font-size: 0.72rem;
  color: #f0c68b;
}
.new-career-art > p {
  font:
    2rem/0.98 Label Display,
    sans-serif;
  color: #ffe5bd;
  margin-top: 9px;
}
.contract-hero {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px;
  border-bottom: 1px solid #846047;
}
.contract-hero img {
  width: 120px;
  height: 130px;
  object-fit: cover;
  border: 1px solid #a57f55;
  border-radius: 5px;
}
.contract-hero h3 {
  font:
    2rem Label Display,
    sans-serif;
  margin: 9px 0 4px;
}
.contract-hero p {
  font-size: 0.75rem;
  color: #cdb3a3;
}
.contract-hero strong {
  display: block;
  margin-top: 11px;
  color: #edca89;
  font-size: 0.9rem;
}
.deal-preview {
  padding: 15px;
  background: #221a27;
  border: 1px solid #795769;
  border-radius: 5px;
  margin: 18px 0;
}
.deal-preview h4 {
  font-size: 0.82rem;
  color: #ecd2a5;
}
.deal-preview p {
  font-size: 0.78rem;
  color: #c8aea5;
  margin-top: 7px;
  line-height: 1.6;
}
.upgrade-list {
  padding: 0 20px 10px;
}
.upgrade-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 22px 0;
  border-bottom: 1px solid #7a566666;
}
.upgrade-item:last-child {
  border: 0;
}
.upgrade-icon {
  display: grid;
  place-items: center;
  color: #ddb779;
  width: 48px;
  flex-shrink: 0;
}
.upgrade-icon .icon {
  width: 34px;
  height: 34px;
}
.upgrade-item > div:nth-child(2) {
  flex: 1;
}
.upgrade-item h3 {
  font:
    1.4rem Label Display,
    sans-serif;
  display: flex;
  align-items: center;
  gap: 12px;
}
.upgrade-item h3 .tag {
  font:
    0.55rem Label Sans,
    sans-serif;
}
.upgrade-item p {
  font-size: 0.77rem;
  color: #cdb0a4;
  margin: 7px 0 8px;
  max-width: 360px;
}
.upgrade-item > .btn {
  font-size: 0.75rem;
  padding: 9px 12px;
  min-width: 150px;
}
.level-pip {
  display: inline-block;
  width: 21px;
  height: 4px;
  background: #503b4d;
  margin-right: 4px;
  border-radius: 2px;
}
.level-pip.filled {
  background: #dcba73;
}
.financial-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 25px;
}
.financial-summary small {
  display: block;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  color: #bfa08f;
  margin-bottom: 8px;
}
.financial-summary strong {
  font-size: 2rem;
  color: #f4e0bc;
}
.modal-note {
  padding: 0 24px 20px;
  font-size: 0.8rem;
  color: #c8aca3;
  line-height: 1.7;
}
.finance-actions {
  padding: 0 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.finance-actions h3 {
  font:
    1.5rem Label Display,
    sans-serif;
}
.finance-actions p {
  font-size: 0.79rem;
  color: #cbb0a1;
  margin: 7px 0 12px;
}
.finance-actions .btn {
  font-size: 0.8rem;
}
.toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0 15px;
  border-bottom: 1px solid #7b556766;
}
.toggle-row small {
  display: block;
  color: #c5a69c;
  font-size: 0.73rem;
  margin-top: 5px;
}
.toggle-row input {
  width: 19px;
  height: 19px;
}
.settings-heading {
  font:
    1.6rem Label Display,
    sans-serif;
  margin: 23px 0 15px;
}
.key-bindings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
}
.key-bindings label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  color: #cdb1a7;
}
.key-bindings input {
  width: 65px;
  margin: 0;
  text-align: center;
  padding: 8px;
  font-size: 0.78rem;
}
.help-body {
  padding: 22px;
}
.help-body ol {
  padding-left: 22px;
  margin: 0;
}
.help-body li {
  padding-left: 6px;
  margin-bottom: 20px;
  color: #dfbc8f;
}
.help-body li strong {
  color: #f0d8ba;
  font-size: 0.98rem;
}
.help-body p {
  font-size: 0.82rem;
  color: #cdb3a8;
  margin-top: 7px;
}
.help-body > p {
  margin: 18px 0;
}
.help-body > .btn {
  margin-top: 10px;
}
.menu-body {
  padding: 22px;
}
.menu-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.menu-buttons .btn {
  justify-content: flex-start;
  padding-left: 20px;
}
.save-slots {
  padding: 0 22px;
}
.save-slot {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 25px 0;
  border-bottom: 1px solid #7e5b6855;
}
.save-number {
  font:
    2rem Label Display,
    sans-serif;
  color: #d8ae79;
  min-width: 23px;
}
.save-slot > div {
  flex: 1;
  min-width: 0;
}
.save-slot h3 {
  font:
    1.4rem Label Display,
    sans-serif;
  overflow-wrap: break-word;
}
.save-slot p {
  color: #bea193;
  font-size: 0.73rem;
  margin-top: 5px;
}
.save-slot .btn {
  font-size: 0.76rem;
  padding: 8px 12px;
}
.save-import {
  display: flex;
  gap: 13px;
  padding: 22px;
}
.save-import .btn {
  font-size: 0.83rem;
}
.era-modal {
  padding: 25px;
  text-align: center;
}
.era-modal > img {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #d7af73;
  display: block;
  margin: 0 auto 18px;
}
.era-modal p {
  color: #d2b6a8;
  font-size: 0.92rem;
  margin: 18px 0;
  line-height: 1.7;
}
.era-modal h3 {
  font:
    1.6rem Label Display,
    sans-serif;
  margin-bottom: 15px;
  color: #f1d49e;
}
.era-genres {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.era-modal > .btn {
  margin-top: 10px;
}
.ending-page {
  min-height: 100svh;
  background:
    linear-gradient(#211822cc, #211822cc),
    url("/assets/production/hq-1950.webp") center/cover fixed;
}
.ending-content {
  padding: 45px 25px;
  text-align: center;
  max-width: 1050px;
  margin: auto;
}
.ending-trophy .icon {
  width: 65px;
  height: 65px;
  color: #e3bc74;
  margin-bottom: 18px;
}
.ending-content h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  margin: 25px 0;
  color: #f7d79d;
  line-height: 1.1;
}
.ending-content > p {
  max-width: 600px;
  margin: auto;
  color: #d1b4a7;
  font-size: 1.04rem;
}
.ending-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #8d6847;
  border-bottom: 1px solid #8d6847;
  padding: 28px 0;
  margin: 35px 0;
}
.ending-stats strong {
  display: block;
  font:
    2.7rem Label Display,
    sans-serif;
  color: #ead2a5;
}
.ending-stats span {
  font-size: 0.75rem;
  color: #bda295;
  display: block;
  margin-top: 7px;
}
.ending-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}
.ending-credits {
  margin-top: 38px;
}
.ending-credits p {
  font-size: 0.9rem;
  color: #c0a697;
}
.ending-credits small {
  font-size: 0.7rem;
  color: #a68e85;
  display: block;
  margin-top: 10px;
}
.ending-history {
  padding: 20px;
}
.ending-history article {
  display: flex;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid #6c4b5855;
}
.ending-history article > span {
  color: #d5af7a;
  font-size: 0.8rem;
}
.ending-history h3 {
  font:
    1.35rem Label Display,
    sans-serif;
}
.ending-history p {
  font-size: 0.78rem;
  color: #c1a89c;
  margin-top: 6px;
}
#toast {
  position: fixed;
  left: 50%;
  bottom: 88px;
  transform: translate(-50%, 15px);
  max-width: min(600px, calc(100% - 32px));
  background: #322737;
  color: #f5dec0;
  border: 1px solid #d5ad77;
  border-radius: 6px;
  box-shadow: 0 7px 25px #0008;
  padding: 14px 22px;
  font-size: 0.86rem;
  line-height: 1.5;
  z-index: 50;
  pointer-events: none;
  opacity: 0;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
#toast.error {
  border-color: #db8d8e;
  background: #492a36;
  color: #ffded6;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@keyframes pulse {
  50% {
    opacity: 0.4;
  }
}
@keyframes equalize {
  to {
    height: calc(var(--h) * 0.25);
  }
}
@keyframes appear {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.reduced-motion *,
.reduced-motion *:before,
.reduced-motion *:after {
  animation: none !important;
  transition: none !important;
}
@media (min-width: 1900px) {
  :root {
    font-size: calc(16px * var(--ui-scale, 1));
  }
  .view-layout {
    grid-template-columns: minmax(0, 1fr) 365px;
  }
  .topbar {
    min-height: 88px;
  }
  .era {
    height: 76px;
  }
  .era img {
    width: 64px;
  }
  .era-region {
    padding: 14px 20px;
  }
  .era-title {
    width: 170px;
  }
  .era-title > span {
    font-size: 1.5rem;
  }
  .game-content {
    padding: 16px 20px;
  }
  .hq-scene {
    min-height: 550px;
  }
  .artist-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .artist-photo {
    height: 200px;
  }
  .studio-scene {
    height: 330px;
  }
  .bottom-bar {
    min-height: 82px;
  }
  .hotspot {
    padding: 13px 15px;
  }
  .topbar .brand-words {
    font-size: 1.6rem;
  }
  .topbar .brand-words strong {
    font-size: 1.95rem;
  }
  .resource {
    padding: 0 35px;
  }
  .resource strong {
    font-size: 1.5rem;
  }
  .ledger-summary {
    padding: 28px 18px;
  }
  .ledger-summary strong {
    font-size: 1.7rem;
  }
  .objective {
    padding: 11px 0;
  }
  .command-column {
    gap: 15px;
  }
  .title-content {
    max-width: 1150px;
  }
  .title-content h1 {
    font-size: 8.5rem;
  }
}
@media (max-width: 1250px) {
  .resource {
    padding: 0 15px;
    gap: 8px;
  }
  .resource strong {
    font-size: 1.1rem;
  }
  .topbar > .brand {
    padding-right: 15px;
  }
  .topbar .brand-words {
    font-size: 1.1rem;
  }
  .topbar .brand-words strong {
    font-size: 1.35rem;
  }
  .topbar .brand-disc {
    width: 36px;
    height: 36px;
  }
  .calendar {
    padding: 0 12px;
  }
  .calendar > span {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .calendar em {
    display: block;
    margin: 4px 0 0;
    font-size: 0.65rem;
  }
  .view-layout {
    grid-template-columns: minmax(0, 1fr) 285px;
  }
  .era-title {
    display: none;
  }
  .era img {
    width: 38px;
  }
  .era > div {
    padding: 3px 7px;
  }
  .era strong {
    font-size: 1.3rem;
  }
  .era span {
    font-size: 0.51rem;
  }
  .nav-button {
    font-size: 0.71rem;
    padding: 10px 6px;
    gap: 5px;
  }
  .nav-button > .icon {
    width: 20px;
    height: 20px;
  }
  .advance-controls > span {
    display: none;
  }
  .bottom-bar {
    gap: 9px;
  }
  .next-button {
    min-width: 85px;
  }
  .advance-controls select {
    width: 80px;
  }
  .artist-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hotspot.ar {
    left: 10%;
    top: 33%;
  }
  .hotspot.booth {
    left: 48%;
    top: 23%;
  }
  .hotspot.production {
    right: 2%;
    top: 53%;
  }
  .hotspot.lounge {
    left: 34%;
    bottom: 15%;
  }
  .studio-status {
    top: 89px;
    font-size: 0.52rem;
  }
  .scene-label {
    top: 14px;
    left: 14px;
  }
  .scene-label h2 {
    font-size: 1.5rem;
  }
  .hq-bottom {
    grid-template-columns: 1fr 1fr;
  }
  .ledger-summary {
    padding: 17px 10px;
    gap: 7px;
  }
  .ledger-summary strong {
    font-size: 1.04rem;
  }
  .ledger-summary small {
    font-size: 0.45rem;
    min-height: 26px;
  }
  .hq-bottom .panel-title h3 {
    font-size: 1.05rem;
  }
  .hq-bottom .panel-title .text-button {
    font-size: 0.65rem;
  }
  .scene-footer > span {
    font-size: 0.61rem;
    max-width: 50%;
  }
  .scene-footer .scene-btn {
    font-size: 0.62rem;
  }
  .promo-options {
    grid-template-columns: repeat(2, 1fr);
  }
  .catalog-grid {
    grid-template-columns: 1fr;
  }
  .form-submit .btn {
    font-size: 0.78rem;
    padding: 10px;
  }
  .audience-overview > div {
    padding: 0 13px;
  }
  .audience-overview > div > small {
    padding: 0;
    font-size: 0.58rem;
  }
  .audience-overview strong {
    font-size: 1.5rem;
  }
  .audience-overview .icon {
    width: 20px;
    height: 20px;
  }
  .title-note {
    right: 4%;
    max-width: 300px;
    bottom: 15%;
  }
  .title-content {
    padding-left: 6%;
  }
}
@media (max-width: 900px) {
  .game-shell {
    height: auto;
    min-height: 100svh;
  }
  .topbar {
    flex-wrap: wrap;
    padding: 10px;
    gap: 8px 0;
    min-height: 105px;
  }
  .topbar > .brand {
    width: 40%;
    padding: 0;
  }
  .resource {
    padding: 0 11px;
    min-height: 34px;
  }
  .resource strong {
    font-size: 1.04rem;
  }
  .resource > .icon {
    width: 21px;
    height: 21px;
  }
  .topbar > .resource + .resource {
    display: none;
  }
  .topbar > .resource {
    margin-left: auto;
  }
  .resource-button {
    margin-left: auto;
  }
  .resource small {
    font-size: 0.5rem;
  }
  .resource > div > span {
    font-size: 0.59rem;
  }
  .topbar .calendar {
    order: 5;
    flex: 1;
    margin-left: 0;
    padding: 0;
    border: 0;
    display: flex;
    align-items: center;
    gap: 15px;
  }
  .calendar > span {
    max-width: none;
    margin: 0;
    font-size: 0.66rem;
  }
  .calendar strong {
    font-size: 0.8rem;
  }
  .calendar em {
    display: inline;
    margin: 0 0 0 5px;
    font-size: 0.64rem;
  }
  .time-controls {
    order: 6;
  }
  .time-controls .icon-button {
    min-width: 29px;
    width: 29px;
    height: 28px;
    padding: 5px;
    font-size: 0.7rem;
  }
  .time-controls .icon {
    width: 17px;
    height: 17px;
  }
  .settings-button {
    order: 7;
    min-width: 29px;
    height: 28px;
    padding: 5px;
    margin-left: 8px;
  }
  .settings-button .icon {
    width: 17px;
    height: 17px;
  }
  .era-region {
    padding: 9px 10px;
  }
  .era-strip {
    display: flex;
    overflow-x: auto;
    gap: 7px;
    padding-bottom: 3px;
  }
  .era {
    flex: 0 0 115px;
    height: 51px;
  }
  .era img {
    width: 36px;
  }
  .era.current {
    order: 0;
  }
  .game-content {
    flex: 1;
    overflow: visible;
    padding: 10px;
    padding-bottom: 145px;
  }
  .view-layout {
    grid-template-columns: 1fr;
  }
  .main-column {
    gap: 12px;
  }
  .command-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .command-title {
    grid-column: 1/-1;
    margin-top: 4px;
  }
  .command-column .panel {
    align-self: start;
  }
  .hq-scene {
    min-height: 450px;
  }
  .studio-status {
    top: 20px;
  }
  .scene-label {
    max-width: 60%;
  }
  .scene-label h2 {
    font-size: 1.5rem;
  }
  .scene-label span {
    font-size: 0.61rem;
  }
  .scene-label .label-crest > .icon {
    width: 28px;
  }
  .hq-bottom {
    grid-template-columns: 1fr 1fr;
  }
  .bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: 1fr;
    padding: 7px 9px;
    gap: 7px;
    min-height: 0;
  }
  .bottom-bar nav {
    overflow-x: auto;
    padding: 1px 0 3px;
    gap: 5px;
  }
  .nav-button {
    flex: 1 0 auto;
    min-height: 39px;
    font-size: 0.7rem;
    padding: 7px 12px;
  }
  .nav-button .icon {
    width: 18px;
    height: 18px;
  }
  .nav-button kbd {
    display: none;
  }
  .advance-controls {
    justify-content: flex-end;
    gap: 10px;
  }
  .advance-controls > span {
    display: block;
    font-size: 0.57rem;
    margin-right: auto;
  }
  .advance-controls select {
    width: 110px;
    padding: 7px;
    height: 34px;
  }
  .next-button {
    min-width: 130px;
    height: 34px;
    min-height: 34px;
    font-size: 0.85rem;
  }
  .view-heading h2 {
    font-size: 1.85rem;
  }
  .view-heading p {
    font-size: 0.76rem;
  }
  .view-heading .tag {
    font-size: 0.55rem;
  }
  .view-heading > .btn {
    font-size: 0.65rem;
    padding: 8px;
  }
  .view-heading > .btn .icon {
    width: 16px;
    height: 16px;
  }
  .artist-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  .artist-photo {
    height: 150px;
  }
  .artist-card-body {
    padding: 10px;
  }
  .artist-card h3 {
    font-size: 1.45rem;
  }
  .artist-card .btn {
    font-size: 0.65rem;
  }
  .artist-attributes > div > span {
    min-width: 58px;
    font-size: 0.6rem;
  }
  .artist-card .trait {
    font-size: 0.58rem;
  }
  .card-actions {
    flex-direction: column;
  }
  .artist-origin {
    font-size: 0.58rem;
  }
  .toolbar {
    gap: 8px;
  }
  .search-field {
    width: 45%;
  }
  .toolbar .btn {
    padding: 9px 12px;
    font-size: 0.75rem;
  }
  .catalog-grid {
    grid-template-columns: 1fr 1fr;
  }
  .record-stats {
    gap: 4px;
  }
  .catalog-record {
    grid-template-columns: 80px 1fr;
    gap: 10px;
  }
  .catalog-record > .record-cover {
    width: 80px;
    min-height: 80px;
  }
  .studio-scene {
    height: 240px;
  }
  .title-note {
    display: none;
  }
  .title-content {
    padding-top: 9vh;
    padding-bottom: 13vh;
  }
  .title-art {
    background-position: center right -250px;
  }
  .title-footer {
    font-size: 0.55rem;
  }
  .title-header-right > span {
    display: none;
  }
  .title-content h1 {
    font-size: 6.8rem;
  }
  .title-content > p {
    font-size: 1.04rem;
  }
  .title-header .brand-words {
    font-size: 1.55rem;
  }
  .title-header .brand-words strong {
    font-size: 1.9rem;
  }
  .title-header .brand-disc {
    width: 52px;
    height: 52px;
  }
  .title-header {
    padding: 23px 5%;
  }
  .ending-content {
    padding-top: 30px;
  }
  .ending-content h1 {
    font-size: 4rem;
  }
}
@media (max-width: 600px) {
  .topbar > .brand {
    width: 41%;
    gap: 7px;
  }
  .topbar .brand-words {
    font-size: 0.95rem;
  }
  .topbar .brand-words strong {
    font-size: 1.16rem;
  }
  .topbar .brand-disc {
    width: 32px;
    height: 32px;
    border-width: 1px;
  }
  .topbar .brand-disc i {
    width: 14px;
    height: 14px;
    border-width: 5px;
  }
  .topbar > .resource {
    padding: 0 0 0 11px;
    margin-left: auto;
  }
  .resource-button .resource {
    padding: 0 11px;
  }
  .resource-button .resource > .icon {
    display: none;
  }
  .resource > div > span {
    font-size: 0.52rem;
  }
  .resource strong {
    font-size: 0.94rem;
  }
  .resource > .icon {
    width: 19px;
    height: 19px;
  }
  .topbar > .resource + .resource {
    display: none;
  }
  .calendar > span {
    font-size: 0.57rem;
    max-width: 135px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .topbar .calendar {
    gap: 8px;
  }
  .calendar strong {
    font-size: 0.75rem;
  }
  .calendar em {
    font-size: 0.56rem;
    display: block;
    margin: 3px 0 0;
  }
  .calendar {
    max-width: calc(100% - 155px);
  }
  .time-controls {
    gap: 3px;
    margin-left: auto;
  }
  .time-controls .icon-button {
    width: 27px;
    min-width: 27px;
    height: 28px;
  }
  .settings-button {
    margin-left: 6px;
  }
  .era-region {
    padding: 7px 9px;
  }
  .era {
    flex-basis: 105px;
    height: 47px;
  }
  .era strong {
    font-size: 1.22rem;
  }
  .era span {
    font-size: 0.48rem;
  }
  .era > div {
    padding-left: 6px;
  }
  .era img {
    width: 31px;
  }
  .game-content {
    padding: 9px 9px 135px;
  }
  .view-layout {
    gap: 12px;
  }
  .hq-scene {
    min-height: 400px;
    background-position: 45% center;
  }
  .scene-label {
    left: 12px;
    top: 13px;
    max-width: 90%;
    padding: 9px 11px;
  }
  .scene-label h2 {
    font-size: 1.6rem;
  }
  .scene-label span {
    font-size: 0.57rem;
  }
  .studio-status {
    top: auto;
    bottom: 57px;
    left: 12px;
    right: auto;
    font-size: 0.46rem;
    padding: 5px 7px;
  }
  .hotspot {
    padding: 8px;
    gap: 6px;
  }
  .hotspot > span {
    font-size: 0.97rem;
  }
  .hotspot small {
    font-size: 0.5rem;
  }
  .hotspot > .icon:first-child {
    width: 18px;
    height: 18px;
  }
  .hotspot.ar {
    left: 6%;
    top: 36%;
  }
  .hotspot.booth {
    left: 40%;
    top: 22%;
  }
  .hotspot.production {
    right: 4%;
    top: 52%;
  }
  .hotspot.lounge {
    left: 26%;
    bottom: 23%;
  }
  .scene-footer {
    left: 10px;
    right: 10px;
    bottom: 11px;
  }
  .scene-footer > span {
    font-size: 0.55rem;
    max-width: 45%;
    line-height: 1.5;
    gap: 5px;
  }
  .scene-footer .scene-btn {
    font-size: 0.57rem;
    min-height: 30px;
    padding: 5px 7px;
    gap: 3px;
  }
  .scene-btn .icon {
    width: 14px;
    height: 14px;
  }
  .hq-bottom {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .ledger-summary {
    padding: 18px 12px;
    gap: 10px;
  }
  .ledger-summary small {
    font-size: 0.52rem;
    min-height: 25px;
  }
  .ledger-summary strong {
    font-size: 1.35rem;
  }
  .hq-bottom .panel-title h3 {
    font-size: 1.25rem;
  }
  .hq-bottom .panel-title .text-button {
    font-size: 0.72rem;
  }
  .trend-list > div {
    font-size: 0.8rem;
    padding: 6px 0;
  }
  .news-ticker {
    gap: 8px;
    padding: 9px;
  }
  .news-ticker > span {
    font-size: 0.52rem;
  }
  .news-ticker p {
    font-size: 0.65rem;
  }
  .command-column {
    grid-template-columns: 1fr;
  }
  .command-title {
    font-size: 1.45rem;
    margin-top: 4px;
  }
  .objective {
    font-size: 0.9rem;
    padding: 9px 0;
  }
  .bulletin p,
  .event-content p {
    font-size: 0.86rem;
  }
  .panel-title h3,
  .command-column .panel-title h3 {
    font-size: 1.35rem;
  }
  .objectives-panel > .btn {
    font-size: 0.86rem;
    min-height: 41px;
  }
  .view-heading {
    align-items: flex-start;
    gap: 9px;
    flex-wrap: wrap;
  }
  .view-heading h2 {
    font-size: 1.9rem;
    gap: 7px;
  }
  .view-heading h2 .icon {
    width: 25px;
    height: 25px;
  }
  .view-heading p {
    font-size: 0.75rem;
    max-width: 340px;
    line-height: 1.6;
    margin-top: 6px;
  }
  .view-heading > .btn {
    font-size: 0.72rem;
    min-height: 33px;
  }
  .view-heading > .tag {
    margin-top: 1px;
    font-size: 0.53rem;
  }
  .toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .toolbar .tabs {
    width: 100%;
  }
  .toolbar .tabs .btn {
    flex: 1;
  }
  .search-field {
    width: 100%;
    max-width: none;
  }
  .search-field input {
    font-size: 0.81rem;
  }
  .artist-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .artist-photo {
    height: 145px;
  }
  .artist-card-body {
    padding: 10px 8px;
  }
  .artist-card h3 {
    font-size: 1.45rem;
    line-height: 1.05;
    min-height: 22px;
  }
  .talent-score {
    font-size: 1.45rem;
    padding: 6px;
    top: 7px;
    right: 7px;
  }
  .talent-score small {
    font-size: 0.34rem;
  }
  .genre-tag {
    font-size: 0.57rem;
    left: 7px;
    bottom: 7px;
    padding: 3px 5px;
  }
  .artist-origin {
    font-size: 0.53rem;
    line-height: 1.6;
    min-height: 17px;
  }
  .artist-attributes > div > span {
    font-size: 0.53rem;
    min-width: 52px;
  }
  .artist-attributes > div {
    gap: 4px;
  }
  .artist-attributes b {
    font-size: 0.57rem;
    min-width: 14px;
  }
  .artist-attributes .meter {
    height: 6px;
  }
  .artist-card .trait {
    font-size: 0.53rem;
    min-height: 18px;
    margin-bottom: 9px;
    gap: 4px;
  }
  .trait .icon {
    width: 11px;
    height: 11px;
  }
  .artist-card .btn {
    font-size: 0.62rem;
    padding: 7px 5px;
    gap: 3px;
    min-height: 35px;
  }
  .artist-card .btn > .icon {
    width: 12px;
    height: 12px;
  }
  .artist-deal {
    font-size: 0.59rem;
    gap: 4px;
    flex-wrap: wrap;
    padding-top: 9px;
    margin-top: 10px;
  }
  .artist-deal > strong {
    font-size: 0.76rem;
  }
  .artist-deal > small {
    font-size: 0.52rem;
  }
  .studio-scene {
    height: 200px;
  }
  .studio-scene > img {
    object-position: 48% center;
  }
  .studio-scene-caption {
    bottom: 14px;
    left: 14px;
    max-width: 80%;
  }
  .studio-scene-caption h3 {
    font-size: 1.5rem;
  }
  .equalizer {
    right: 12px;
    bottom: 15px;
    gap: 2px;
    opacity: 0.6;
  }
  .equalizer i {
    width: 2px;
  }
  .form-body {
    padding: 15px;
  }
  .form-grid {
    gap: 15px 12px;
  }
  .form-grid label {
    font-size: 0.78rem;
  }
  label {
    font-size: 0.83rem;
  }
  input,
  select {
    padding: 11px 9px;
    font-size: 0.83rem;
  }
  .creative-controls {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
  }
  .creative-controls label > span {
    font-size: 0.84rem;
  }
  .creative-controls label > small {
    font-size: 0.65rem;
  }
  .form-submit {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }
  .form-submit > .btn {
    width: 100%;
    font-size: 0.85rem;
    min-height: 42px;
  }
  .form-submit > div {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
  }
  .form-submit > div > small {
    flex-basis: 100%;
    font-size: 0.59rem;
  }
  .form-submit > div > span {
    margin-left: auto;
    font-size: 0.71rem;
  }
  .form-submit > div > strong {
    font-size: 1.7rem;
  }
  .form-help {
    font-size: 0.73rem;
  }
  .inline-empty {
    flex-wrap: wrap;
    gap: 12px;
    padding: 17px;
  }
  .inline-empty > div {
    min-width: 220px;
  }
  .inline-empty .btn {
    margin-left: 0;
    font-size: 0.78rem;
  }
  .inline-empty h4 {
    font-size: 0.85rem;
  }
  .catalog-grid {
    grid-template-columns: 1fr;
    padding: 13px;
  }
  .catalog-record {
    grid-template-columns: 100px 1fr;
    gap: 14px;
  }
  .catalog-record > .record-cover {
    width: 100px;
    min-height: 100px;
  }
  .catalog-record h3 {
    font-size: 1.6rem;
  }
  .record-stats strong {
    font-size: 0.91rem;
  }
  .record-stats > span {
    font-size: 0.61rem;
  }
  .catalog-record p {
    font-size: 0.78rem;
  }
  .release-form {
    padding: 15px;
  }
  .release-identity {
    gap: 15px;
    align-items: flex-start;
  }
  .release-identity > .record-cover {
    width: 105px;
  }
  .release-identity > .record-cover > strong {
    font-size: 1.1rem;
  }
  .release-identity > .record-cover > span {
    font-size: 0.44rem;
  }
  .release-identity > .record-cover > small {
    font-size: 0.36rem;
  }
  .release-identity h3 {
    font-size: 1.8rem;
  }
  .release-identity p {
    font-size: 0.7rem;
  }
  .release-identity .tag {
    font-size: 0.49rem;
    padding: 3px 4px;
  }
  .release-identity label {
    font-size: 0.68rem;
    margin-top: 12px;
  }
  .release-identity select {
    font-size: 0.68rem;
    padding: 8px 4px;
  }
  .promo-options {
    gap: 8px;
  }
  .promo-option {
    padding: 9px 7px;
    gap: 6px;
  }
  .promo-option input {
    width: 14px;
    height: 14px;
  }
  .promo-option strong {
    font-size: 0.73rem;
  }
  .promo-option small {
    font-size: 0.6rem;
  }
  .promo-option b {
    font-size: 0.61rem;
  }
  .audience-overview {
    gap: 0;
    padding: 17px 0;
  }
  .audience-overview > div {
    padding: 0 11px;
    gap: 7px;
    align-content: flex-start;
  }
  .audience-overview > div > span {
    font-size: 0.61rem;
  }
  .audience-overview .icon {
    width: 18px;
    height: 18px;
  }
  .audience-overview strong {
    font-size: 1.5rem;
  }
  .audience-overview > div > small {
    font-size: 0.5rem;
    line-height: 1.6;
  }
  .chart-table {
    font-size: 0.64rem;
  }
  .chart-table th {
    font-size: 0.48rem;
    padding: 11px 8px;
  }
  .chart-table td {
    padding: 11px 8px;
  }
  .chart-table td strong {
    font-size: 0.75rem;
  }
  .chart-table td small {
    font-size: 0.61rem;
  }
  .chart-table td:nth-child(3) {
    display: none;
  }
  .chart-table th:nth-child(3) {
    display: none;
  }
  .chart-table td:first-child {
    width: 37px;
  }
  .chart-rank {
    width: 22px;
    height: 22px;
    font-size: 0.7rem;
  }
  .chart-table td:last-child {
    font-size: 0.68rem;
  }
  .two-panels {
    grid-template-columns: 1fr;
  }
  .route-options {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .route-option > span {
    display: grid;
    grid-template-columns: 25px 1fr;
    gap: 7px 10px;
  }
  .route-option > span > .icon {
    grid-row: 1/4;
  }
  .route-option > span > strong {
    font-size: 0.88rem;
  }
  .route-option > span > small,
  .route-option > span > b {
    grid-column: 2;
  }
  .route-option input {
    margin-top: 3px;
  }
  .map-caption {
    font-size: 1.2rem;
  }
  .tour-map {
    padding: 17px 10px;
  }
  .tour-diary > div {
    gap: 10px;
  }
  .tour-diary > div > div:last-child {
    min-width: 95px;
  }
  .tour-diary h4 {
    font-size: 1rem;
  }
  .tour-diary p {
    font-size: 0.65rem;
  }
  .modal-backdrop {
    padding: 15px 10px;
  }
  .modal {
    max-height: 95svh;
  }
  .modal-header {
    padding: 14px;
  }
  .modal-header h2 {
    font-size: 1.7rem;
  }
  .modal-header .icon-button {
    min-width: 29px;
    height: 29px;
  }
  .modal .form-grid {
    grid-template-columns: 1fr;
  }
  .modal .form-body {
    padding: 17px;
  }
  .modal .form-body > label {
    margin-bottom: 15px;
  }
  .new-career-art {
    height: 125px;
    padding: 18px;
  }
  .new-career-art > p {
    font-size: 1.9rem;
  }
  .contract-hero {
    padding: 16px;
    gap: 15px;
  }
  .contract-hero img {
    width: 95px;
    height: 110px;
  }
  .contract-hero h3 {
    font-size: 1.9rem;
  }
  .contract-hero p {
    font-size: 0.65rem;
  }
  .contract-hero strong {
    font-size: 0.8rem;
  }
  .contract-hero .tag {
    font-size: 0.6rem;
  }
  .upgrade-list {
    padding: 0 15px;
  }
  .upgrade-item {
    gap: 10px;
    flex-wrap: wrap;
    padding: 20px 0;
  }
  .upgrade-icon {
    width: 30px;
  }
  .upgrade-icon .icon {
    width: 27px;
    height: 27px;
  }
  .upgrade-item > div:nth-child(2) {
    width: calc(100% - 45px);
  }
  .upgrade-item > .btn {
    margin-left: 40px;
    min-width: 170px;
  }
  .upgrade-item h3 {
    font-size: 1.4rem;
    gap: 8px;
  }
  .upgrade-item p {
    font-size: 0.76rem;
  }
  .financial-summary {
    padding: 20px 17px;
    gap: 22px 12px;
  }
  .financial-summary strong {
    font-size: 1.6rem;
  }
  .financial-summary small {
    font-size: 0.55rem;
  }
  .modal-note {
    padding-left: 17px;
    padding-right: 17px;
    font-size: 0.76rem;
  }
  .finance-actions {
    padding: 0 17px 22px;
  }
  .save-slots {
    padding: 0 15px;
  }
  .save-slot {
    gap: 10px;
    flex-wrap: wrap;
    padding: 20px 0;
  }
  .save-slot > div {
    flex-basis: 70%;
  }
  .save-slot > .btn {
    flex: 1;
  }
  .save-slot h3 {
    font-size: 1.5rem;
  }
  .save-import {
    padding: 20px 15px;
    gap: 10px;
  }
  .save-import .btn {
    font-size: 0.73rem;
  }
  .key-bindings {
    gap: 10px 15px;
  }
  .key-bindings label {
    font-size: 0.65rem;
  }
  .key-bindings input {
    width: 44px;
  }
  .toggle-row small {
    font-size: 0.67rem;
  }
  .title-header {
    padding: 23px 6%;
  }
  .title-header .brand-disc {
    width: 46px;
    height: 46px;
  }
  .title-header .brand-words {
    font-size: 1.4rem;
  }
  .title-header .brand-words strong {
    font-size: 1.7rem;
  }
  .title-header-right {
    gap: 0;
  }
  .title-art {
    background:
      linear-gradient(90deg, #181419e3, #181419b0),
      linear-gradient(0deg, #181419, transparent 70%),
      url("/assets/production/hq-1950.webp") 55% center/auto 100%;
    opacity: 1;
  }
  .title-content {
    padding: 9vh 7% 8vh;
  }
  .founding-stamp {
    font-size: 0.58rem;
    gap: 10px;
    margin-bottom: 23px;
    letter-spacing: 0.12em;
  }
  .title-content h1 {
    font-size: clamp(4.6rem, 16vw, 6.4rem);
    line-height: 0.98;
  }
  .title-content > p {
    font-size: 0.97rem;
    line-height: 1.8;
    margin: 24px 0 29px;
  }
  .desktop-only {
    display: none;
  }
  .title-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .title-actions > .btn {
    width: 100%;
    min-height: 49px;
    font-size: 0.96rem;
  }
  .title-actions > .text-button {
    justify-content: center;
    margin: 0;
    min-height: 35px;
  }
  .title-decades {
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 32px;
    font-size: 0.8rem;
  }
  .title-decades i {
    width: 85px;
  }
  .title-decades small {
    font-size: 0.64rem;
    margin-left: 0;
  }
  .title-footer {
    padding: 20px 7%;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.51rem;
    line-height: 1.6;
  }
  .title-footer span:last-child {
    font-size: 0.58rem;
  }
  .title-page {
    display: flex;
    flex-direction: column;
  }
  .title-content {
    flex: 1;
  }
  .title-header {
    flex-shrink: 0;
  }
  .ending-page .title-header {
    gap: 15px;
    align-items: flex-start;
  }
  .ending-page .title-header > span {
    font-size: 0.65rem;
    max-width: 120px;
    line-height: 1.5;
    text-align: right;
  }
  .ending-content {
    padding: 30px 19px;
  }
  .ending-content h1 {
    font-size: 3.4rem;
  }
  .ending-content > p {
    font-size: 0.9rem;
  }
  .ending-stats {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin: 25px 0;
  }
  .ending-stats strong {
    font-size: 2.3rem;
  }
  .ending-stats span {
    font-size: 0.65rem;
  }
  .ending-actions {
    flex-direction: column;
    gap: 12px;
  }
  .ending-credits p {
    font-size: 0.8rem;
  }
  .ending-credits small {
    font-size: 0.62rem;
    line-height: 1.7;
  }
  .ending-trophy .icon {
    width: 52px;
    height: 52px;
  }
  #toast {
    bottom: 130px;
    padding: 12px 17px;
    font-size: 0.78rem;
  }
  .history-summary {
    padding: 20px 10px;
  }
  .history-summary strong {
    font-size: 2rem;
  }
  .history-summary span {
    font-size: 0.63rem;
  }
  .history-timeline {
    padding: 17px 12px;
  }
  .history-entry {
    grid-template-columns: 44px 10px 1fr;
    gap: 8px;
  }
  .history-entry h4 {
    font-size: 0.84rem;
  }
  .history-entry p {
    font-size: 0.7rem;
  }
  .section-tabs .btn {
    flex: 1;
  }
  .section-tabs {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
.distress-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background: #4a2b32;
  border-bottom: 1px solid #c38174;
  color: #f2c8b7;
  flex-shrink: 0;
}
.distress-banner > .icon {
  color: #f5c888;
}
.distress-banner > p {
  font-size: 0.77rem;
  flex: 1;
}
.distress-banner strong {
  color: #ffe0ca;
  margin-right: 6px;
}
.distress-banner .btn {
  font-size: 0.72rem;
  padding: 6px 12px;
  min-height: 32px;
  background: #342431;
  border-color: #c28a7c;
}
.hq-scene:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-position: inherit;
  background-size: inherit;
  background-repeat: no-repeat;
  pointer-events: none;
}
.scene-vignette {
  z-index: 0;
}
[data-era="1950"] .hq-scene:before {
  filter: sepia(0.32) saturate(0.75);
}
[data-era="1950"] .studio-scene > img {
  filter: sepia(0.26) saturate(0.7);
}
[data-era="1960"] .hq-scene:before {
  filter: sepia(0.14) saturate(0.9);
}
[data-era="1980"] .hq-scene:before {
  filter: saturate(1.2);
}
[data-era="1990"] .hq-scene:before {
  filter: saturate(0.9) hue-rotate(-8deg);
}
[data-era="2020"] .hq-scene:before {
  filter: saturate(0.85) brightness(1.07);
}
@media (max-width: 600px) {
  .distress-banner {
    gap: 8px;
    padding: 11px 10px;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .distress-banner > p {
    font-size: 0.73rem;
    line-height: 1.6;
    flex-basis: calc(100% - 34px);
  }
  .distress-banner > .icon {
    width: 18px;
    height: 18px;
    margin-top: 3px;
  }
  .distress-banner .btn {
    margin-left: 26px;
    font-size: 0.71rem;
  }
  .distress-banner strong {
    display: block;
  }
}
