:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f7f4ea;
  color: #25312d;
  --ink: #25312d;
  --muted: #68736e;
  --paper: #fffdf6;
  --line: #ded8c8;
  --mint: #46b58a;
  --sun: #e8aa31;
  --sky: #4b9cd6;
  --coral: #df735e;
  --grape: #8071c8;
  --danger: #d65345;
  --watch: #c98b20;
  --shadow: 0 18px 50px rgba(54, 45, 31, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.65), rgba(247, 244, 234, 0)),
    #f7f4ea;
}

button,
input,
select,
.case-page-link,
.case-back-link {
  font: inherit;
}

main {
  width: min(1480px, 100%);
  margin: 0 auto;
  padding: 18px;
}

.topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.eyebrow,
.score-card span,
.role-card span,
.street-copy span,
.guidance > span,
label > span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 4vw, 4.4rem);
  line-height: 0.95;
}

.score-card,
.role-card,
.controls,
.group,
.results,
.level-objective,
.street,
.game-over,
.setup-panel,
.clock-card,
.business-strip,
.investor-strip,
.final-summary {
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.score-card {
  min-width: 82px;
  border-radius: 8px;
  padding: 9px 11px;
}

.score-card strong {
  display: block;
  font-size: 1.45rem;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 12px;
  align-items: start;
}

.setup-panel {
  display: grid;
  gap: 22px;
  width: min(980px, 100%);
  margin: 5vh auto;
  border-radius: 8px;
  padding: clamp(20px, 4vw, 36px);
}

.setup-panel h1 {
  max-width: 720px;
}

.setup-panel > p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.5;
}

.setup-section {
  display: grid;
  gap: 10px;
}

.setup-section h2 {
  font-size: 1rem;
}

.language-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 170px));
  gap: 10px;
}

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

.profile-grid,
.difficulty-grid,
.challenge-grid,
.app-mode-grid,
.game-type-grid,
.adventure-grid {
  display: grid;
  gap: 10px;
}

.profile-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.difficulty-grid,
.challenge-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.game-type-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.app-mode-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.adventure-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.profile-grid input {
  min-height: 40px;
  border: 1px solid #cfc7b6;
  border-radius: 8px;
  background: #fffdf6;
  color: var(--ink);
  padding: 0 10px;
  font-weight: 750;
}

.setup-note {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

.choice-card {
  display: grid;
  min-height: 104px;
  align-content: start;
  gap: 7px;
  padding: 12px;
  text-align: left;
}

.choice-card strong {
  font-size: 0.98rem;
}

.choice-card span {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.3;
}

.choice-card em {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: #f5ead8;
  color: #9a6a24;
  padding: 4px 8px;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
}

.case-page-link,
.case-back-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid #23785a;
  border-radius: 8px;
  background: #2f9b72;
  color: white;
  padding: 8px 12px;
  font-weight: 900;
  text-decoration: none;
}

.case-page-link:hover,
.case-back-link:hover {
  transform: translateY(-1px);
}

.locked-mode {
  opacity: 0.86;
}

.construction-panel {
  display: grid;
  gap: 8px;
  border: 1px dashed #cfc7b6;
  border-radius: 8px;
  background: #fff8e8;
  padding: 16px;
}

.construction-panel h2 {
  font-size: 1.15rem;
}

.construction-panel p {
  color: var(--muted);
  line-height: 1.45;
}

.case-page {
  width: min(1180px, 100%);
}

.case-hero {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: clamp(18px, 4vw, 34px);
}

.case-hero p {
  max-width: 860px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.5;
}

.case-grid {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.case-study {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: 16px;
}

.case-study header {
  display: grid;
  gap: 6px;
}

.case-study h2 {
  font-size: 1.25rem;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.case-tags span,
.source-list a {
  border-radius: 999px;
  background: #eef6f0;
  color: #326a50;
  padding: 4px 8px;
  font-size: 0.76rem;
  font-weight: 900;
  text-decoration: none;
}

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

.case-columns article {
  border: 1px solid #e6e1d3;
  border-radius: 8px;
  background: #fffefa;
  padding: 10px;
}

.case-columns h3 {
  margin-bottom: 6px;
  font-size: 0.84rem;
}

.case-columns p,
.case-columns li {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

.case-columns ul {
  margin: 0;
  padding-left: 18px;
}

.source-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-top: 1px solid #eee7d9;
  padding-top: 10px;
}

.level-card {
  display: grid;
  min-height: 178px;
  align-content: start;
  gap: 7px;
  padding: 12px;
  text-align: left;
}

.level-card span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
}

.level-card strong {
  font-size: 0.98rem;
}

.level-card small,
.level-card em {
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
  line-height: 1.3;
}

.level-card p {
  color: var(--ink);
  font-size: 0.82rem;
  line-height: 1.3;
}

.level-card.complete {
  border-color: #62a66b;
}

.level-card:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.adventure-brief {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fffdf6;
}

.adventure-brief p,
.adventure-brief small {
  display: block;
  color: var(--muted);
  line-height: 1.4;
}

.role-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  min-height: 126px;
  align-items: center;
  align-content: start;
  gap: 12px;
  padding: 14px;
  text-align: left;
}

.role-text {
  display: grid;
  gap: 7px;
}

.role-text strong {
  font-size: 1.05rem;
}

.role-text span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.start-button {
  width: min(280px, 100%);
}

.dashboard {
  display: grid;
  gap: 10px;
}

.mood-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.82fr);
  gap: 10px;
}

.mood-stage .street {
  grid-row: span 2;
}

.city-view {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fffdf6, #f3ead9);
  box-shadow: var(--shadow);
  padding: 12px;
}

.level-objective {
  display: grid;
  gap: 12px;
  border-radius: 8px;
  padding: 14px;
  background: linear-gradient(135deg, #fffdf6, #effaf3);
}

.objective-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
}

.objective-heading h2 {
  margin-top: 4px;
  font-size: 1.25rem;
}

.objective-heading p {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.4;
}

.objective-score {
  min-width: 116px;
  border: 1px solid #d8eadb;
  border-radius: 8px;
  background: #ffffff;
  padding: 10px;
  text-align: right;
}

.objective-score span,
.objective-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
}

.objective-score strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.objective-score small {
  color: var(--muted);
  font-weight: 800;
}

.objective-meter {
  overflow: hidden;
  height: 9px;
  border-radius: 999px;
  background: #eadfcd;
}

.objective-meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--coral), var(--sun), var(--mint));
}

.objective-start {
  display: flex;
  justify-content: flex-start;
}

.objective-start button {
  min-width: 160px;
  min-height: 42px;
  padding: 9px 18px;
}

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

.objective-grid article {
  border: 1px solid #e6e1d3;
  border-radius: 8px;
  background: #fffefa;
  padding: 10px;
}

.objective-grid strong {
  display: block;
  margin-top: 5px;
  font-size: 0.95rem;
  line-height: 1.35;
}

.objective-grid p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.35;
}

.city-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.city-heading strong {
  font-size: 1.25rem;
}

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

.city-tile {
  position: relative;
  min-height: 150px;
  overflow: hidden;
  border: 1px solid #e3ddce;
  border-radius: 8px;
  background: #fffefa;
  padding: 9px;
}

.city-tile.good {
  background: linear-gradient(180deg, #fffefa 0 58%, #dff8ea 58%);
}

.city-tile.stress {
  background: linear-gradient(180deg, #fff7ef 0 58%, #ffd9c9 58%);
}

.city-tile > div:first-child {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.city-tile span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.city-tile strong {
  font-size: 0.92rem;
}

.city-tile p {
  position: absolute;
  right: 8px;
  bottom: 8px;
  left: 8px;
  z-index: 3;
  color: #34443d;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
}

.city-icon {
  position: absolute;
  inset: 34px 8px 34px;
}

.ci-base,
.ci-person,
.ci-object,
.ci-extra {
  position: absolute;
  display: block;
}

.ci-base {
  right: 3px;
  bottom: 0;
  left: 3px;
  height: 34px;
  border: 3px solid rgba(37, 49, 45, 0.28);
  border-bottom: 0;
  border-radius: 3px 3px 0 0;
  background: #d9ba68;
}

.ci-person {
  bottom: 2px;
  left: 18px;
  width: 18px;
  height: 36px;
  background:
    linear-gradient(#f1bd83 0 15px, transparent 15px),
    linear-gradient(90deg, #394554 0 40%, transparent 40% 60%, #394554 60%) 0 28px / 18px 8px no-repeat,
    linear-gradient(#4b9cd6 0 100%) 1px 16px / 16px 16px no-repeat;
  animation: miniWalk 1.4s ease-in-out infinite alternate;
}

.ci-object {
  right: 18px;
  bottom: 8px;
  width: 34px;
  height: 26px;
  border: 3px solid #3c3029;
  border-radius: 3px;
  background: #fff6d7;
}

.ci-extra {
  right: 6px;
  bottom: 42px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #46b58a;
  animation: cityBob 1.8s ease-in-out infinite alternate;
}

.grocery .ci-object {
  width: 42px;
  height: 24px;
  border-top: 0;
  transform: skewX(-8deg);
  animation: cartRoll 2.6s linear infinite;
}

.factory .ci-base {
  height: 46px;
  background: repeating-linear-gradient(90deg, #d9ba68 0 18px, #caa957 18px 25px);
}

.factory .ci-extra {
  width: 14px;
  height: 42px;
  border-radius: 0;
  background: #8f6a4f;
  animation: smokeRise 1.8s ease-in-out infinite;
}

.gas .ci-object {
  width: 26px;
  height: 44px;
  background: #df735e;
}

.gas .ci-extra {
  width: 48px;
  height: 18px;
  border-radius: 4px;
  background: #4b9cd6;
  animation: carSlide 3.4s linear infinite;
}

.cafe .ci-object {
  width: 34px;
  height: 30px;
  border-radius: 0 0 12px 12px;
  background: #f7d28c;
}

.cafe .ci-extra {
  width: 5px;
  height: 28px;
  border-radius: 999px;
  background: rgba(80, 70, 60, 0.35);
  animation: steam 1.2s ease-in-out infinite;
}

.farm .ci-base {
  background: repeating-linear-gradient(90deg, #b8dcc3 0 9px, #8ec7ba 9px 18px);
}

.farm .ci-object {
  width: 12px;
  height: 38px;
  border: 0;
  background: #46b58a;
  box-shadow: 18px 4px #46b58a, 36px -2px #46b58a;
  animation: cropsSway 1.4s ease-in-out infinite alternate;
}

.port .ci-object {
  width: 72px;
  height: 20px;
  border-radius: 0 0 18px 18px;
  background: #4b9cd6;
  animation: shipMove 4s ease-in-out infinite alternate;
}

.port .ci-extra {
  width: 48px;
  height: 26px;
  border-radius: 2px;
  background: repeating-linear-gradient(90deg, #df735e 0 14px, #e8aa31 14px 28px);
}

.bank .ci-base {
  background: repeating-linear-gradient(90deg, #f7f4ea 0 10px, #d8e7ef 10px 16px);
}

.bank .ci-object {
  width: 44px;
  height: 16px;
  background: #46b58a;
  animation: queuePulse 1.2s ease-in-out infinite alternate;
}

.housing .ci-base {
  height: 42px;
  background: #eaa17c;
  clip-path: polygon(0 38%, 50% 0, 100% 38%, 100% 100%, 0 100%);
}

.housing .ci-object {
  width: 22px;
  height: 30px;
  background: #fffdf6;
}

.market .ci-object {
  right: 8px;
  bottom: 2px;
  width: 76px;
  height: 48px;
  border-color: #342d27;
  background:
    linear-gradient(135deg, transparent 42%, #46b58a 43% 49%, transparent 50%),
    repeating-linear-gradient(90deg, #26332f 0 7px, #31493f 7px 14px);
  box-shadow: inset 0 0 0 4px #17221e;
  animation: chartWiggle 0.75s ease-in-out infinite alternate;
}

.market .ci-extra {
  right: 88px;
  bottom: 32px;
  background: #ffd166;
  box-shadow: 22px 10px #8071c8, 42px -4px #ffd166;
  animation: coinSpin 0.85s linear infinite;
}

.market .ci-base {
  background: linear-gradient(180deg, #d8e7ef 0 38%, #8f6a4f 38%);
}

.market .ci-person {
  animation: traderJump 0.52s ease-in-out infinite alternate;
}

.policy .ci-base {
  height: 50px;
  background: #d8e7ef;
}

.policy .ci-object {
  width: 46px;
  height: 28px;
  background: #8071c8;
}

.policy .ci-extra {
  width: 30px;
  height: 4px;
  border-radius: 0;
  background: #342d27;
  animation: podiumTalk 0.8s ease-in-out infinite alternate;
}

.politics .ci-base {
  height: 28px;
  background: #c8c3bc;
}

.politics .ci-person {
  left: 12px;
  animation: protestMarch 0.55s ease-in-out infinite alternate;
  box-shadow: 24px 0 0 -1px rgba(75, 156, 214, 0.95), 48px 0 0 -1px rgba(223, 115, 94, 0.95);
}

.politics .ci-object {
  right: 14px;
  bottom: 36px;
  width: 26px;
  height: 20px;
  background: #fff6d7;
  animation: signWave 0.6s ease-in-out infinite alternate;
}

.politics .ci-extra {
  right: 62px;
  bottom: 40px;
  width: 26px;
  height: 20px;
  border-radius: 2px;
  background: #ffd2c6;
  animation: signWave 0.7s ease-in-out infinite alternate-reverse;
}

.city-tile.stress .ci-person {
  animation: shake 0.5s linear infinite;
}

.city-tile.stress .ci-extra {
  background: #d65345;
}

.group {
  border-radius: 8px;
  padding: 9px;
}

.group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 7px;
}

.group-title::before {
  width: 8px;
  height: 22px;
  border-radius: 3px;
  content: "";
}

.mint .group-title::before { background: var(--mint); }
.sun .group-title::before { background: var(--sun); }
.sky .group-title::before { background: var(--sky); }
.coral .group-title::before { background: var(--coral); }
.grape .group-title::before { background: var(--grape); }

.group h2,
.results h2,
.game-over h2 {
  font-size: 0.98rem;
}

.indicator-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.indicator {
  position: relative;
  min-height: 86px;
  overflow: hidden;
  border: 1px solid #e6e1d3;
  border-radius: 8px;
  background: #fffefa;
  padding: 9px;
}

.indicator p {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 750;
}

.indicator strong {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 2px;
  font-size: 1.12rem;
}

.indicator strong span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
}

.indicator .change {
  position: absolute;
  top: 8px;
  right: 8px;
  border-radius: 999px;
  padding: 3px 6px;
  background: #eef4ef;
  color: #307b58;
  font-size: 0.68rem;
  font-weight: 900;
}

.indicator .change.down {
  background: #fff0e7;
  color: #b55c36;
}

.indicator .change.flat {
  background: #efede7;
  color: #7a756a;
}

.indicator.watch {
  border-color: rgba(201, 139, 32, 0.45);
}

.indicator.danger {
  border-color: rgba(214, 83, 69, 0.55);
}

.indicator svg {
  position: absolute;
  inset: auto 7px 4px 7px;
  width: calc(100% - 14px);
  height: 28px;
}

.indicator polyline {
  fill: none;
  stroke: #438d71;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.controls {
  position: sticky;
  top: 16px;
  display: grid;
  gap: 10px;
  border-radius: 8px;
  padding: 10px;
}

.role-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border-radius: 8px;
  padding: 14px;
  box-shadow: none;
  background: linear-gradient(135deg, #ecfff4, #fffdf6);
}

.role-card.switchable {
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 8px;
}

.role-nav {
  width: 30px;
  height: 36px;
  min-height: 36px;
  border-radius: 8px;
  padding: 0;
  font-size: 1rem;
  font-weight: 900;
}

.role-card h2 {
  margin-top: 3px;
  font-size: 1.55rem;
}

.role-card p {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.35;
}

.role-card small {
  display: block;
  margin-top: 8px;
  color: #5d6f62;
  font-weight: 800;
  line-height: 1.35;
}

.control-subtitle {
  margin-top: 4px;
  border-top: 1px solid #e8e1d3;
  padding-top: 9px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.role-figure {
  position: relative;
  width: 58px;
  height: 74px;
  flex: 0 0 auto;
  image-rendering: pixelated;
}

.role-figure.compact {
  width: 50px;
  height: 64px;
}

.role-figure span {
  position: absolute;
  display: block;
}

.rf-head {
  top: 3px;
  left: 18px;
  width: 22px;
  height: 22px;
  border: 3px solid #342d27;
  border-radius: 3px;
  background: #f2bf85;
}

.rf-body {
  top: 27px;
  left: 14px;
  width: 30px;
  height: 30px;
  border: 3px solid #342d27;
  border-radius: 3px;
  background: #4b9cd6;
}

.rf-legs {
  top: 58px;
  left: 17px;
  width: 24px;
  height: 12px;
  background: linear-gradient(90deg, #3b4655 0 42%, transparent 42% 58%, #3b4655 58%);
}

.compact .rf-head {
  left: 15px;
  width: 20px;
  height: 20px;
}

.compact .rf-body {
  top: 25px;
  left: 11px;
  width: 28px;
  height: 27px;
}

.compact .rf-legs {
  top: 53px;
  left: 14px;
}

.government .rf-body { background: #df735e; }
.economic_cabinet .rf-body { background: linear-gradient(135deg, #df735e 0 50%, #4b9cd6 50%); }
.investor .rf-body { background: #46b58a; }
.corporation .rf-body { background: #8071c8; }
.foreign_power .rf-body { background: #e8aa31; }
.consumer .rf-body { background: #ef8fb1; }

.rf-rate {
  top: 13px;
  right: 0;
  width: 18px;
  height: 18px;
  border: 3px solid #342d27;
  border-radius: 50%;
  background: #f7f4ea;
}

.rf-rate::after {
  position: absolute;
  top: 4px;
  left: 6px;
  width: 3px;
  height: 7px;
  background: #342d27;
  content: "";
}

.rf-flag {
  top: 8px;
  right: 1px;
  width: 18px;
  height: 13px;
  border-left: 4px solid #342d27;
  background: linear-gradient(#d65345 0 50%, #fff 50%);
}

.rf-chart {
  top: 12px;
  right: 0;
  width: 22px;
  height: 17px;
  border-left: 3px solid #342d27;
  border-bottom: 3px solid #342d27;
}

.rf-chart::after {
  position: absolute;
  right: 1px;
  bottom: 3px;
  width: 15px;
  height: 12px;
  border-top: 4px solid #2f9b72;
  transform: skewY(-28deg);
  content: "";
}

.rf-tie {
  top: 31px;
  left: 27px;
  width: 6px;
  height: 19px;
  background: #f7f4ea;
}

.rf-globe {
  top: 9px;
  right: 0;
  width: 20px;
  height: 20px;
  border: 3px solid #342d27;
  border-radius: 50%;
  background: #9cc8eb;
}

.rf-bag {
  right: 0;
  bottom: 16px;
  width: 19px;
  height: 19px;
  border: 3px solid #342d27;
  background: #f7d28c;
}

.clock-card {
  display: grid;
  gap: 10px;
  border-radius: 8px;
  padding: 12px;
  box-shadow: none;
  background: #f7fbff;
}

.clock-card span {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 850;
}

.clock-card strong {
  color: var(--ink);
}

.timer-dots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.timer-dots i {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: #9cc8eb;
  animation: pulse 3s linear infinite;
}

.timer-dots i:nth-child(2) {
  animation-delay: 1s;
}

.timer-dots i:nth-child(3) {
  animation-delay: 2s;
}

label {
  display: grid;
  gap: 8px;
}

label > span {
  display: flex;
  justify-content: space-between;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--mint);
}

.guidance {
  display: grid;
  gap: 8px;
}

.guidance div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.event-planner {
  display: grid;
  gap: 10px;
  border: 1px solid #e6e1d3;
  border-radius: 8px;
  background: #fffefa;
  padding: 12px;
}

.event-planner > div:first-child span,
.scheduled-list strong {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.event-planner > div:first-child p,
.scheduled-list p,
.scheduled-list small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.35;
}

select {
  width: 100%;
  min-height: 40px;
  border: 1px solid #cfc7b6;
  border-radius: 8px;
  background: #fffdf6;
  color: var(--ink);
  padding: 0 10px;
  font: inherit;
  font-weight: 750;
}

.event-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

button.danger-button {
  border-color: rgba(214, 83, 69, 0.55);
  background: #fff0e7;
  color: #9f453b;
}

.scheduled-list {
  border-top: 1px solid #eee7d9;
  padding-top: 9px;
}

button {
  min-height: 42px;
  border: 1px solid #cfc7b6;
  border-radius: 8px;
  background: #fffaf0;
  color: var(--ink);
  cursor: pointer;
  font-weight: 850;
}

button:hover {
  transform: translateY(-1px);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
}

button.active {
  border-color: #2b8b67;
  background: #dff8ea;
}

button.primary {
  border-color: #23785a;
  background: #2f9b72;
  color: white;
}

button.secondary {
  background: #fffdf6;
}

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

button.tiny {
  min-height: 32px;
  padding: 4px 6px;
  font-size: 0.76rem;
}

.street {
  position: relative;
  min-height: 276px;
  overflow: hidden;
  border-radius: 8px;
  padding: 14px;
  background: linear-gradient(#dff2ff 0 55%, #b8dcc3 55% 72%, #8e8a7e 72%);
}

.street-copy {
  position: relative;
  z-index: 3;
  width: min(360px, 54%);
}

.street-copy strong {
  display: block;
  font-size: 2rem;
}

.tension-readout {
  display: inline-block;
  margin-top: 2px;
  color: #7c554e;
  font-size: 0.78rem;
  font-weight: 850;
}

.street-copy p {
  margin-top: 4px;
  color: #30423b;
  font-weight: 750;
}

.street-copy em {
  display: block;
  margin-top: 6px;
  color: #4f5d55;
  font-size: 0.86rem;
  font-style: normal;
  font-weight: 750;
}

.street-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.street-actions small {
  flex: 0 0 100%;
  color: #5c675f;
  font-size: 0.72rem;
  line-height: 1.28;
}

.street-actions button {
  min-height: 32px;
  padding: 4px 8px;
  font-size: 0.78rem;
}

.mood-props {
  position: absolute;
  right: 210px;
  bottom: 74px;
  z-index: 1;
  display: flex;
  gap: 10px;
  align-items: end;
}

.prop {
  display: block;
  border: 3px solid rgba(37, 49, 45, 0.34);
  border-radius: 2px;
}

.prop.shop {
  width: 42px;
  height: 34px;
  background: #fff6d7;
}

.prop.job {
  width: 36px;
  height: 46px;
  background: #dff8ea;
}

.prop.alert {
  width: 28px;
  height: 52px;
  background: #ffd2c6;
  animation: blink 1s ease-in-out infinite;
}

.prop.bus {
  position: absolute;
  right: -190px;
  bottom: -44px;
  width: 78px;
  height: 34px;
  border-color: rgba(37, 49, 45, 0.45);
  background: #f7d28c;
  animation: busLoop 7s linear infinite;
}

.prop.bus::before,
.prop.bus::after {
  position: absolute;
  bottom: -8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #342d27;
  content: "";
}

.prop.bus::before { left: 10px; }
.prop.bus::after { right: 10px; }

.prop.balloon {
  position: absolute;
  right: 54px;
  bottom: 92px;
  width: 20px;
  height: 28px;
  border: 0;
  border-radius: 50% 50% 45% 45%;
  background: #ef8fb1;
  animation: balloonFloat 3.4s ease-in-out infinite alternate;
}

.prop.balloon::after {
  position: absolute;
  left: 9px;
  top: 26px;
  width: 2px;
  height: 40px;
  background: rgba(37, 49, 45, 0.35);
  content: "";
}

.prop.fire {
  position: relative;
  width: 28px;
  height: 36px;
  border: 0;
  background: #d65345;
  clip-path: polygon(50% 0, 70% 24%, 62% 45%, 92% 78%, 62% 100%, 38% 100%, 8% 78%, 38% 45%, 30% 24%);
  animation: flame 0.42s ease-in-out infinite alternate;
}

.prop.fire::after {
  position: absolute;
  inset: 11px 8px 4px;
  background: #ffd166;
  clip-path: inherit;
  content: "";
}

.prop.fire.second {
  height: 28px;
  animation-delay: 0.18s;
}

.crisis-beacon {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(214, 83, 69, 0.22), transparent 32%, transparent 68%, rgba(214, 83, 69, 0.2));
  animation: crisisPulse 0.8s ease-in-out infinite alternate;
}

.crisis-beacon i {
  position: absolute;
  top: 10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #d65345;
  box-shadow: 0 0 18px rgba(214, 83, 69, 0.75);
}

.crisis-beacon i:nth-child(1) { right: 18px; }
.crisis-beacon i:nth-child(2) { right: 48px; animation-delay: 0.15s; }
.crisis-beacon i:nth-child(3) { right: 78px; animation-delay: 0.3s; }

.demonstration {
  position: absolute;
  right: 38px;
  bottom: 28px;
  z-index: 4;
  width: 220px;
  height: 88px;
  pointer-events: none;
}

.demonstration .sign {
  position: absolute;
  bottom: 20px;
  width: 30px;
  height: 42px;
  background:
    linear-gradient(#342d27 0 100%) 13px 22px / 4px 26px no-repeat,
    linear-gradient(#fff6d7 0 100%) 0 0 / 30px 22px no-repeat;
  border-radius: 2px;
  animation: signWave 0.58s ease-in-out infinite alternate;
}

.demonstration .s1 { left: 28px; }
.demonstration .s2 { left: 84px; animation-delay: 0.16s; }
.demonstration .s3 { left: 144px; animation-delay: 0.32s; }

.demonstration .sign::after {
  position: absolute;
  bottom: -12px;
  left: 5px;
  width: 20px;
  height: 22px;
  background:
    linear-gradient(#f1bd83 0 10px, transparent 10px),
    linear-gradient(#df735e 0 100%) 2px 11px / 16px 11px no-repeat;
  content: "";
}

.demonstration .chant {
  position: absolute;
  right: 6px;
  top: 4px;
  width: 46px;
  height: 22px;
  border-radius: 999px;
  background: #d65345;
  animation: chantPulse 0.8s ease-in-out infinite alternate;
}

.demonstration.crisis .chant {
  box-shadow: 0 0 24px rgba(214, 83, 69, 0.85);
}

.buildings {
  position: absolute;
  right: 8px;
  bottom: 74px;
  display: flex;
  align-items: end;
  gap: 6px;
}

.buildings span {
  width: 34px;
  border: 2px solid rgba(37, 49, 45, 0.25);
  border-bottom: 0;
  background: #f7d28c;
}

.buildings span:nth-child(1) { height: 58px; }
.buildings span:nth-child(2) { height: 82px; background: #eaa17c; }
.buildings span:nth-child(3) { height: 66px; background: #8ec7ba; }
.buildings span:nth-child(4) { height: 92px; background: #d9ba68; }

.citizens {
  position: absolute;
  right: 10px;
  bottom: 24px;
  left: 34%;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: space-around;
}

.citizen {
  position: relative;
  width: 24px;
  height: 52px;
  image-rendering: pixelated;
}

.citizen span {
  position: absolute;
  display: block;
  left: 50%;
  transform: translateX(-50%);
}

.head {
  top: 0;
  width: 18px;
  height: 18px;
  border: 3px solid #3c3029;
  border-radius: 2px;
  background: #f1bd83;
}

.face {
  top: 9px;
  width: 10px;
  height: 4px;
  background: #3c3029;
  z-index: 2;
}

.body {
  top: 19px;
  width: 20px;
  height: 22px;
  border-radius: 2px;
  background: #4b9cd6;
}

.arms {
  top: 24px;
  width: 30px;
  height: 6px;
  background: linear-gradient(90deg, #3c3029 0 28%, transparent 28% 72%, #3c3029 72%);
}

.legs {
  bottom: 0;
  width: 18px;
  height: 12px;
  background: linear-gradient(90deg, #394554 0 40%, transparent 40% 60%, #394554 60%);
}

.c1 .body { background: #df735e; }
.c2 .body { background: #46b58a; }
.c3 .body { background: #8071c8; }

.street.thriving .citizen,
.street.steady .citizen {
  animation: bounce 1.2s ease-in-out infinite alternate;
}

.street.thriving .arms,
.street.steady .arms {
  animation: wave 0.8s ease-in-out infinite alternate;
}

.street.worried .citizen {
  animation: shuffle 1.6s ease-in-out infinite alternate;
}

.street.strained .citizen,
.street.panic .citizen {
  animation: shake 0.32s linear infinite;
}

.street.panic .prop.alert {
  background: #d65345;
}

.street.worried,
.street.strained {
  background: linear-gradient(#d9e4e8 0 55%, #bdc8b2 55% 72%, #8b8178 72%);
}

.street.panic {
  background: linear-gradient(#bec7cc 0 55%, #b7a9a1 55% 72%, #736a64 72%);
}

.business-strip {
  position: relative;
  min-height: 133px;
  overflow: hidden;
  border-radius: 8px;
  padding: 14px;
  background: linear-gradient(180deg, #f7fbff 0 60%, #d8e7ef 60%);
}

.business-copy {
  position: relative;
  z-index: 2;
  width: min(320px, 58%);
}

.business-copy span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.business-copy strong {
  display: block;
  font-size: 1.85rem;
}

.business-copy p {
  color: #30423b;
  font-weight: 750;
}

.business-scene {
  position: absolute;
  right: 18px;
  bottom: 12px;
  left: 42%;
  height: 102px;
}

.business-scene .office,
.business-scene .factory,
.business-scene .briefcase {
  position: absolute;
  bottom: 0;
  display: block;
  border: 3px solid rgba(37, 49, 45, 0.32);
  border-bottom: 0;
  border-radius: 2px 2px 0 0;
}

.business-scene .office {
  width: 44px;
  background: repeating-linear-gradient(#ffffff 0 8px, #9cc8eb 8px 14px);
}

.tower-a {
  right: 132px;
  height: 72px;
}

.tower-b {
  right: 82px;
  height: 88px;
  background: repeating-linear-gradient(#ffffff 0 8px, #f7d28c 8px 14px);
}

.tower-c {
  right: 32px;
  height: 62px;
  background: repeating-linear-gradient(#ffffff 0 8px, #8ec7ba 8px 14px);
}

.business-scene .factory {
  right: 202px;
  width: 72px;
  height: 38px;
  background: #d9ba68;
}

.business-scene .briefcase {
  width: 22px;
  height: 17px;
  border: 3px solid #342d27;
  background: #8f6a4f;
  animation: commute 2.4s linear infinite;
}

.business-scene .briefcase.second {
  animation-delay: 1.2s;
}

.business-strip.boom .office {
  animation: lights 0.9s ease-in-out infinite alternate;
}

.business-strip.worried .briefcase,
.business-strip.crisis .briefcase {
  animation-duration: 4s;
}

.business-strip.crisis {
  background: linear-gradient(180deg, #e2e8ea 0 60%, #c8c3bc 60%);
}

.investor-strip {
  position: relative;
  min-height: 133px;
  overflow: hidden;
  border-radius: 8px;
  padding: 14px;
  background: linear-gradient(180deg, #fffaf0 0 58%, #ece3cf 58%);
}

.investor-copy {
  position: relative;
  z-index: 2;
  width: min(320px, 58%);
}

.investor-copy span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.investor-copy strong {
  display: block;
  font-size: 1.85rem;
}

.investor-copy p {
  color: #30423b;
  font-weight: 750;
}

.market-scene {
  position: absolute;
  right: 16px;
  bottom: 12px;
  left: 42%;
  height: 98px;
}

.ticker {
  position: absolute;
  bottom: 10px;
  width: 58px;
  height: 8px;
  border-radius: 999px;
  background: #46b58a;
  animation: tickerMove 2.2s linear infinite;
}

.ticker.down {
  bottom: 28px;
  background: #df735e;
  animation-delay: 0.75s;
}

.ticker.mid {
  bottom: 46px;
  background: #4b9cd6;
  animation-delay: 1.35s;
}

.coin {
  position: absolute;
  right: 120px;
  bottom: 8px;
  width: 28px;
  height: 28px;
  border: 4px solid #b88623;
  border-radius: 50%;
  background: #ffd166;
  animation: coinSpin 1.1s linear infinite;
}

.coin-b {
  right: 84px;
  bottom: 22px;
  animation-delay: 0.35s;
}

.crypto {
  position: absolute;
  right: 28px;
  bottom: 28px;
  width: 34px;
  height: 34px;
  background: #8071c8;
  clip-path: polygon(50% 0, 92% 50%, 50% 100%, 8% 50%);
  animation: cryptoFloat 1.6s ease-in-out infinite alternate;
}

.candles {
  position: absolute;
  right: 174px;
  bottom: 8px;
  display: flex;
  align-items: end;
  gap: 7px;
  height: 58px;
}

.candles i {
  display: block;
  width: 8px;
  border-radius: 2px;
  background: #46b58a;
  animation: candlePulse 1s ease-in-out infinite alternate;
}

.candles i:nth-child(1) { height: 22px; }
.candles i:nth-child(2) { height: 38px; background: #df735e; animation-delay: 0.2s; }
.candles i:nth-child(3) { height: 48px; animation-delay: 0.4s; }
.candles i:nth-child(4) { height: 30px; background: #df735e; animation-delay: 0.6s; }
.candles i:nth-child(5) { height: 52px; animation-delay: 0.8s; }

.investor-strip.crisis {
  background: linear-gradient(180deg, #f1dedb 0 58%, #d4c6c0 58%);
}

.investor-strip.crisis .ticker,
.investor-strip.worried .ticker {
  animation-duration: 1.1s;
}

.results {
  border-radius: 8px;
  padding: 14px;
}

.results.empty p,
.headlines p {
  color: var(--muted);
  line-height: 1.45;
}

.quarter-narration {
  margin-top: 10px;
  border: 1px solid #e4ddcd;
  border-radius: 8px;
  background: #fffefa;
  padding: 10px;
  color: #3d4b45;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
}

.headlines {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.headlines p {
  border-left: 4px solid var(--sky);
  padding: 8px 10px;
  background: #f6fbff;
}

.results h3,
.causal-bottom h3 {
  margin-top: 14px;
  font-size: 0.95rem;
}

.causal-bottom {
  opacity: 0.86;
}

.causal-bottom h3 {
  margin-top: 0;
}

.causal-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  margin-top: 8px;
}

.causal-list span,
.causal-list b {
  border-bottom: 1px solid #eee7d9;
  padding-bottom: 7px;
}

.causal-list span {
  color: var(--muted);
}

.game-over {
  margin-bottom: 16px;
  border-radius: 8px;
  padding: 16px;
  background: #edf9ef;
}

.final-summary {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
  border-radius: 8px;
  padding: 16px;
}

.final-summary h2 {
  margin-top: 4px;
  font-size: 1.2rem;
}

.final-summary > div:first-child p {
  margin-top: 6px;
  color: var(--muted);
}

.final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.final-actions button {
  min-height: 38px;
  padding: 8px 14px;
}

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

.summary-grid article {
  border: 1px solid #e6e1d3;
  border-radius: 8px;
  background: #fffefa;
  padding: 12px;
}

.summary-grid span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 850;
}

.summary-grid strong {
  display: block;
  margin-top: 4px;
  font-size: 1.05rem;
}

.summary-grid p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.35;
}

@keyframes bounce {
  from { transform: translateY(0); }
  to { transform: translateY(-5px); }
}

@keyframes wave {
  from { transform: translateX(-50%) rotate(-8deg); }
  to { transform: translateX(-50%) rotate(8deg); }
}

@keyframes shuffle {
  from { transform: translateX(-2px); }
  to { transform: translateX(2px); }
}

@keyframes shake {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(2px, -1px); }
  50% { transform: translate(-2px, 1px); }
  75% { transform: translate(1px, 1px); }
}

@keyframes blink {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

@keyframes busLoop {
  from { transform: translateX(0); }
  to { transform: translateX(-680px); }
}

@keyframes balloonFloat {
  from { transform: translateY(0) rotate(-3deg); }
  to { transform: translateY(-28px) rotate(4deg); }
}

@keyframes flame {
  from { transform: scaleY(0.92) skewX(-4deg); filter: brightness(0.95); }
  to { transform: scaleY(1.12) skewX(5deg); filter: brightness(1.2); }
}

@keyframes crisisPulse {
  from { opacity: 0.35; }
  to { opacity: 0.9; }
}

@keyframes commute {
  from { transform: translateX(0); }
  to { transform: translateX(-150px); }
}

@keyframes lights {
  from { filter: brightness(0.95); }
  to { filter: brightness(1.18); }
}

@keyframes tickerMove {
  from { transform: translateX(120px); opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  to { transform: translateX(-170px); opacity: 0; }
}

@keyframes coinSpin {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

@keyframes cryptoFloat {
  from { transform: translateY(0) rotate(0deg); }
  to { transform: translateY(-9px) rotate(8deg); }
}

@keyframes candlePulse {
  from { transform: scaleY(0.82); filter: brightness(0.9); }
  to { transform: scaleY(1.08); filter: brightness(1.1); }
}

@keyframes miniWalk {
  from { transform: translateX(-3px); }
  to { transform: translateX(4px); }
}

@keyframes cityBob {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}

@keyframes cartRoll {
  from { transform: translateX(22px) skewX(-8deg); }
  to { transform: translateX(-78px) skewX(-8deg); }
}

@keyframes smokeRise {
  from { transform: translateY(14px); opacity: 0.25; }
  50% { opacity: 0.65; }
  to { transform: translateY(-22px); opacity: 0; }
}

@keyframes carSlide {
  from { transform: translateX(46px); }
  to { transform: translateX(-78px); }
}

@keyframes steam {
  from { transform: translateY(6px); opacity: 0.2; }
  to { transform: translateY(-18px); opacity: 0.8; }
}

@keyframes cropsSway {
  from { transform: rotate(-3deg); }
  to { transform: rotate(4deg); }
}

@keyframes shipMove {
  from { transform: translateX(18px) translateY(0); }
  to { transform: translateX(-20px) translateY(4px); }
}

@keyframes queuePulse {
  from { box-shadow: -18px 0 #46b58a, -36px 0 #46b58a; }
  to { box-shadow: -24px 0 #46b58a, -48px 0 #46b58a; }
}

@keyframes chartWiggle {
  from { transform: rotate(-2deg); }
  to { transform: rotate(3deg); }
}

@keyframes podiumTalk {
  from { transform: translateY(0); }
  to { transform: translateY(-7px); }
}

@keyframes traderJump {
  from { transform: translateY(0); }
  to { transform: translateY(-7px); }
}

@keyframes protestMarch {
  from { transform: translateX(-4px); }
  to { transform: translateX(5px); }
}

@keyframes signWave {
  from { transform: rotate(-6deg) translateY(0); }
  to { transform: rotate(7deg) translateY(-5px); }
}

@keyframes chantPulse {
  from { transform: scale(0.85); opacity: 0.65; }
  to { transform: scale(1.08); opacity: 1; }
}

@keyframes pulse {
  0%, 100% { opacity: 0.35; }
  15%, 30% { opacity: 1; }
}

@media (max-width: 980px) {
  main {
    padding: 12px;
  }

  .layout {
    grid-template-columns: 1fr;
  }

  .mood-stage {
    grid-template-columns: 1fr;
  }

  .city-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mood-stage .street {
    grid-row: auto;
  }

  .controls {
    position: static;
    order: -1;
  }

  .indicator-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .role-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-grid,
  .difficulty-grid,
  .challenge-grid,
  .app-mode-grid,
  .adventure-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .objective-grid {
    grid-template-columns: 1fr;
  }
}

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

  .topbar > div:first-child {
    grid-column: 1 / -1;
  }

  .score-card {
    min-width: 0;
  }

  .objective-heading {
    grid-template-columns: 1fr;
  }

  .objective-score {
    width: 100%;
    text-align: left;
  }

  .indicator-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-columns {
    grid-template-columns: 1fr;
  }

  .language-grid,
  .role-grid,
  .profile-grid,
  .difficulty-grid,
  .challenge-grid,
  .app-mode-grid,
  .game-type-grid,
  .adventure-grid {
    grid-template-columns: 1fr;
  }

  .role-option {
    min-height: 110px;
  }

  .role-card {
    grid-template-columns: 1fr;
  }

  .role-card.switchable {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .role-card .role-figure {
    display: none;
  }

  .indicator {
    min-height: 84px;
  }

  .street {
    min-height: 260px;
  }

  .street-copy {
    width: min(100%, 380px);
  }

  .citizens {
    left: 8px;
  }

  .mood-props,
  .business-scene {
    opacity: 0.55;
  }

  .business-copy,
  .investor-copy {
    width: 100%;
  }

  .market-scene {
    opacity: 0.55;
  }

  .summary-grid {
    grid-template-columns: 1fr;
  }

  .city-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .city-tile {
    min-height: 136px;
  }

  .buildings {
    opacity: 0.7;
  }
}
