:root {
  color-scheme: dark;
  --bg:#151b1d;
  --panel:#20282a;
  --panel-2:#252f30;
  --line:#354041;
  --text:#efeadd;
  --muted:#a0abaa;
  --dim:#738382;
  --amber:#efbd72;
  --amber-deep:#5c482e;
  --mint:#98cdb5;
  --coral:#e69c88;
  --radius:14px;
  --font:"Segoe UI",Tahoma,Arial,sans-serif;
  --mono:"Cascadia Code",Consolas,"Courier New",monospace;
  font-family: var(--font);
  font-synthesis: none;
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 340px;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
}
button,
a {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 4px;
}
button {
  color: inherit;
}
a {
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 600;
}
h1 {
  font-size: clamp(26px, 2.6vw, 37px);
  line-height: 1.14;
  letter-spacing: -1.2px;
}
h2 {
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: -.3px;
}
h3 {
  font-size: 16px;
  line-height: 1.35;
}
p {
  line-height: 1.55;
}
em {
  font-style: normal;
  color: var(--amber);
}
small {
  font-size: 11px;
}
.mono {
  font-family: var(--mono);
}
.subtle {
  color: var(--muted);
  font-size: 12px;
}
.small-copy {
  font-size: 12px;
}
.mint-text {
  color: var(--mint) !important;
}
.coral-text {
  color: var(--coral) !important;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1.3px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.5;
}
.ui-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  font-size: 18px;
  line-height: 1;
  vertical-align: middle;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 39px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #293333;
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  transition:
    background .16s,
    border-color .16s,
    transform .16s;
}
.button:hover:not(:disabled) {
  background: #34403f;
  border-color: #6a7770;
  transform: translateY(-1px);
}
.button:active:not(:disabled) {
  transform: translateY(0);
}
.button:disabled {
  opacity: .43;
}
.button.primary {
  background: var(--amber);
  border-color: var(--amber);
  color: #292619;
  box-shadow: 0 2px 0 #907249;
}
.button.primary:hover:not(:disabled) {
  background: #f9ce90;
  border-color: #f9ce90;
}
.button.ghost {
  background: transparent;
}
.button.small {
  padding: 8px 11px;
  min-height: 32px;
  font-size: 11px;
}
.button.tiny {
  padding: 5px 9px;
  min-height: 26px;
  font-size: 10px;
}
.button.large {
  padding: 15px 24px;
  min-height: 49px;
  font-size: 14px;
}
.button.full {
  width: 100%;
}
.button.text-button {
  border: 0;
  background: none;
  color: var(--muted);
  padding: 7px 0;
  min-height: 29px;
  font-size: 11px;
  font-weight: 400;
}
.button.text-button:hover:not(:disabled) {
  background: transparent;
  color: var(--text);
  transform: none;
}
.button.icon-button {
  height: 33px;
  min-height: 33px;
  min-width: 33px;
  padding: 5px;
  border: 0;
  background: transparent;
  font-size: 20px;
  font-weight: 400;
}
.button.selected-button {
  background: #243d33;
  color: var(--mint);
  border-color: #456453;
  opacity: 1;
}
.button.danger-button {
  background: #53372f;
  border-color: #7a4b3f;
  color: #ffd2c5;
}
.text-link {
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  color: var(--muted);
  font-size: 11px;
}
.text-link:hover {
  color: var(--amber);
}
.tag {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 4px 7px;
  border-radius: 4px;
  background: #303b3b;
  color: #bac4bd;
  font-size: 9px;
  line-height: 1.2;
}
.tag.mint {
  color: var(--mint);
  background: #293e35;
}
.tag.danger {
  color: var(--coral);
  background: #51362f;
}
.tag.amber {
  color: var(--amber);
  background: #4b3f2c;
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 17px;
}
.panel-heading .eyebrow {
  font-size: 9px;
  letter-spacing: 1.1px;
}
.meter {
  height: 5px;
  overflow: hidden;
  background: #35403d;
  border-radius: 5px;
}
.meter > span {
  display: block;
  height: 100%;
  border-radius: 5px;
  background: var(--amber);
  transition: width .25s linear;
}
.meter.mint > span {
  background: var(--mint);
}
.meter.coral > span {
  background: var(--coral);
}
.topbar {
  height: 83px;
  padding: 0 31px 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  background: #192022;
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border: 1px solid #9c8358;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--amber);
  font-family: var(--mono);
  font-size: 22px;
  background: #292a21;
  box-shadow: 3px 3px 0 #0f1618;
}
.brand strong {
  display: block;
  font-size: 16px;
  letter-spacing: 1.1px;
  font-weight: 700;
}
.brand small {
  display: block;
  font-size: 8px;
  font-family: var(--mono);
  letter-spacing: 2.4px;
  color: var(--dim);
  margin-top: 5px;
}
.time-controls {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}
.day-display {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  letter-spacing: 1.2px;
  color: var(--muted);
}
.day-display strong {
  font-family: var(--mono);
  font-size: 18px;
  color: var(--text);
  margin-left: 5px;
  letter-spacing: 0;
}
.status-dot {
  width: 6px;
  height: 6px;
  background: var(--mint);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 9px #98cdb54a;
}
.status-dot.paused {
  background: var(--amber);
  box-shadow: none;
}
.speed-controls {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 3px;
  background: #141b1c;
  gap: 1px;
}
.button.speed-button {
  min-height: 28px;
  min-width: 32px;
  padding: 5px 8px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  font: 11px var(--mono);
  color: var(--muted);
}
.button.speed-button.active {
  color: var(--amber);
  background: #393528;
}
.toolbar {
  display: flex;
  gap: 4px;
  align-items: center;
  padding-left: 14px;
  border-left: 1px solid var(--line);
  color: var(--muted);
}
.app-body {
  display: flex;
  min-height: calc(100vh - 83px);
}
.sidebar {
  width: 96px;
  flex-shrink: 0;
  background: #192022;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 29px 10px 24px;
}
.nav-items {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.nav-item {
  border: 1px solid transparent;
  position: relative;
  background: transparent;
  width: 100%;
  min-height: 66px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  color: #899795;
  font-size: 10px;
}
.nav-item:hover {
  color: var(--text);
  background: #242f30;
}
.nav-item.selected {
  background: #39362b;
  border-color: #514834;
  color: var(--amber);
}
.nav-icon {
  font-size: 23px;
  line-height: 1.15;
  font-family: var(--font);
  font-weight: 400;
}
.nav-selected-dot {
  position: absolute;
  left: -11px;
  top: 23px;
  width: 3px;
  height: 20px;
  background: var(--amber);
  border-radius: 0 3px 3px 0;
}
.sidebar-bottom {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #6d807c;
  font: 8px/1.6 var(--mono);
  letter-spacing: 1px;
}
.version-dot {
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background: #648a78;
}
.main-content {
  min-width: 0;
  flex: 1;
  padding: 25px 28px 0;
  max-width: 1900px;
  margin: 0 auto;
}
.resources {
  display: grid;
  grid-template-columns: 1.14fr 1fr 1fr 1fr;
  background: #20282a;
  border: 1px solid var(--line);
  border-radius: 11px;
  overflow: hidden;
}
.resource {
  padding: 16px 24px;
  position: relative;
  min-width: 0;
}
.resource + .resource:before {
  position: absolute;
  content: "";
  left: 0;
  top: 20px;
  bottom: 20px;
  width: 1px;
  background: var(--line);
}
.resource-label {
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  font: 9px var(--mono);
  letter-spacing: 1.15px;
  color: var(--muted);
  white-space: nowrap;
}
.resource-label .ui-symbol {
  font-size: 13px;
  min-width: 12px;
  color: var(--amber);
}
.resource-label .tag {
  font-size: 8px;
  padding: 3px 5px;
}
.resource-caption {
  margin-left: auto;
  font: 9px var(--font);
  letter-spacing: 0;
  text-transform: none;
  color: var(--dim);
}
.resource-number {
  font: 500 28px/1.5 var(--mono);
  letter-spacing: -1.6px;
  color: var(--text);
  white-space: nowrap;
}
.resource-number small {
  font: 11px var(--font);
  letter-spacing: 0;
  margin-left: 7px;
  color: var(--muted);
  vertical-align: 3px;
}
.resource-detail {
  display: block;
  font-size: 10px;
  color: var(--muted);
  line-height: 1.5;
}
.resource-detail span {
  margin-left: 4px;
  color: var(--amber);
}
.resource .meter {
  max-width: 200px;
  margin-top: 7px;
  height: 4px;
}
.resource-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.resource-inline .button {
  color: var(--amber);
  border-color: #5a5038;
  background: #373326;
}
.page-content {
  padding: 25px 0 24px;
  min-height: 650px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  min-height: 49px;
}
.section-heading .eyebrow {
  font-size: 9px;
  color: #97a59d;
  margin-bottom: 7px;
  letter-spacing: 1.4px;
}
.section-heading > .button {
  flex-shrink: 0;
  margin-top: 10px;
}
.section-subtitle {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
  max-width: 680px;
}
.tutorial-strip {
  display: flex;
  align-items: center;
  gap: 11px;
  background: #26322e;
  border: 1px solid #3d5045;
  border-radius: 8px;
  padding: 9px 12px;
  margin-top: 15px;
}
.tutorial-step {
  font: 12px var(--mono);
  color: var(--mint);
  border: 1px solid #4d6e5c;
  border-radius: 5px;
  padding: 5px;
}
.tutorial-strip p {
  font-size: 11px;
  color: #c0d0c3;
  flex: 1;
}
.tutorial-strip .button {
  color: var(--mint);
  white-space: nowrap;
}
.debt-alert {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  margin-top: 14px;
  background: #51352f;
  border: 1px solid #75483d;
  border-radius: 8px;
  color: #f4c9b6;
  font-size: 12px;
}
.debt-alert .button {
  margin-left: auto;
  white-space: nowrap;
}
.studio-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
  gap: 22px;
}
.studio-main {
  min-width: 0;
}
.room-scene {
  position: relative;
  height: 415px;
  overflow: hidden;
  border: 1px solid #485347;
  border-radius: 14px;
  background: #293731;
  isolation: isolate;
}
.room-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -3;
}
.room-vignette {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(
      180deg,
      #111d224a 0%,
      transparent 24%,
      transparent 57%,
      #152522c9 100%);
}
.room-scene:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(
      ellipse at 53% 50%,
      #ffe2a90a 0%,
      transparent 60%);
}
.room-scene-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  left: 19px;
  right: 19px;
  top: 17px;
  gap: 12px;
}
.scene-label {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #1b2929c9;
  border: 1px solid #83927f55;
  border-radius: 5px;
  backdrop-filter: blur(8px);
  padding: 7px 9px;
  font-size: 10px;
  color: #e0e4d3;
}
.room-level {
  font: 8px var(--mono);
  letter-spacing: 1.5px;
  color: #d4e0c5;
  text-shadow: 0 1px 4px #14241c;
}
.room-quote {
  position: absolute;
  top: 68px;
  right: 21px;
  width: 195px;
  padding: 12px 14px;
  background: #efe2cfee;
  border: 1px solid #fff2dc;
  border-radius: 10px 10px 2px 10px;
  box-shadow: 0 3px 12px #0b161729;
  transform: rotate(1deg);
}
.quote-kicker {
  display: block;
  font: 7px var(--mono);
  letter-spacing: 1.1px;
  color: #8a7d60;
  margin-bottom: 5px;
}
.room-quote p {
  font-size: 11px;
  font-weight: 500;
  color: #434637;
  line-height: 1.45;
}
.room-scene-bottom {
  position: absolute;
  left: 23px;
  right: 23px;
  bottom: 21px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 15px;
}
.room-scene-bottom .eyebrow {
  font-size: 8px;
  color: #bbccb4;
  letter-spacing: 1.8px;
  margin-bottom: 7px;
}
.room-scene-bottom h2 {
  font-size: 18px;
  letter-spacing: -.3px;
  color: #f6e8c9;
  max-width: 400px;
}
.room-caption {
  font: 8px/1.7 var(--mono);
  letter-spacing: .4px;
  color: #c4d0b9;
  text-align: right;
  flex-shrink: 0;
}
.scene-hotspot {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 1;
  background: none;
  border: 0;
  padding: 7px;
  color: var(--text);
}
.hotspot-computer {
  left: 65%;
  top: 52%;
}
.hotspot-rest {
  left: 27%;
  top: 50%;
}
.hotspot-hardware {
  left: 75%;
  top: 72%;
}
.hotspot-dot {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #eee2c8e3;
  box-shadow: 0 0 0 5px #fff8db22, 0 3px 10px #101c1a55;
  color: #3d4638;
  font-size: 16px;
  border: 1px solid #fff4d9;
  transition: box-shadow .2s;
}
.hotspot-label {
  font-size: 9px;
  white-space: nowrap;
  padding: 5px 7px;
  background: #1c2d28d9;
  border: 1px solid #82937c77;
  border-radius: 4px;
  backdrop-filter: blur(4px);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .2s, transform .2s;
  pointer-events: none;
}
.scene-hotspot:hover .hotspot-label,
.scene-hotspot:focus-visible .hotspot-label {
  opacity: 1;
  transform: translateX(0);
}
.scene-hotspot:hover .hotspot-dot {
  box-shadow: 0 0 0 7px #fff8db33, 0 3px 10px #101c1a55;
}
.scene-hotspot:disabled {
  opacity: .5;
}
.actions-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0 10px;
}
.actions-heading h2 {
  font-size: 12px;
  font-weight: 500;
}
.actions-heading .subtle {
  font-size: 9px;
}
.daily-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.action-tile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  background: #20292a;
  border-radius: 9px;
  text-align: left;
  transition: border-color .15s, background .15s;
  min-width: 0;
}
.action-tile:hover:not(:disabled) {
  background: #2d3834;
  border-color: #68715a;
}
.action-tile:disabled {
  opacity: .42;
}
.action-icon {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  background: #30392f;
  border-radius: 8px;
  color: #c4c6a0;
  font-size: 20px;
  flex-shrink: 0;
}
.action-tile strong {
  font-size: 11px;
  font-weight: 500;
  display: block;
  margin-bottom: 4px;
}
.action-tile small {
  font-size: 9px;
  color: var(--muted);
  display: block;
  line-height: 1.4;
}
.action-arrow {
  margin-left: auto;
  color: #829082;
  font-size: 12px;
}
.pipeline {
  margin-top: 15px;
  padding: 17px 19px;
}
.pipeline .panel-heading {
  margin-bottom: 14px;
}
.pipeline h2 {
  font-size: 12px;
  font-weight: 500;
}
.pipeline .subtle {
  font-size: 9px;
}
.pipeline-steps {
  display: flex;
  align-items: center;
}
.pipeline-step {
  display: flex;
  align-items: center;
  gap: 7px;
  position: relative;
  font-size: 10px;
  color: #7f8a84;
  flex: 1;
}
.pipeline-step:not(:last-child):after {
  content: "";
  height: 1px;
  background: #3d4841;
  flex: 1;
  margin: 0 12px;
}
.pipeline-step:last-child {
  flex: 0;
}
.step-dot {
  height: 24px;
  min-width: 24px;
  display: grid;
  place-items: center;
  background: #2c3733;
  border: 1px solid #46544a;
  border-radius: 50%;
  font: 8px var(--mono);
}
.pipeline-step.current {
  color: var(--amber);
}
.current .step-dot {
  background: #4e432d;
  border-color: #927b4e;
  color: var(--amber);
}
.pipeline-step.done {
  color: var(--mint);
}
.done .step-dot {
  color: var(--mint);
  border-color: #62856c;
  background: #2e4337;
}
.pipeline-caption {
  color: #849189;
  font-size: 9px;
  line-height: 1.5;
  margin-top: 12px;
}
.right-rail {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding-top: 2px;
}
.right-rail > .panel {
  padding: 18px;
}
.right-rail .panel-heading {
  margin-bottom: 14px;
}
.right-rail .panel-heading h2 {
  font-size: 12px;
  font-weight: 500;
}
.project-panel .panel-heading {
  align-items: flex-start;
}
.project-panel .tag {
  font-size: 8px;
}
.project-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font: 32px var(--mono);
  color: #7f9d89;
  background:
    radial-gradient(
      ellipse,
      #354939 0%,
      #23312c 65%);
  border: 1px dashed #4b6050;
  border-radius: 10px;
  height: 82px;
  margin: 6px 0 18px;
}
.typing-cursor {
  height: 25px;
  width: 12px;
  background: #718d71;
  margin-left: 8px;
  animation: blink 1.8s steps(1, end) infinite;
}
@keyframes blink {
  50% {
    opacity: .25;
  }
}
.empty-project h2 {
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -.5px;
}
.empty-project > p {
  font-size: 11px;
  color: var(--muted);
  margin: 11px 0 17px;
}
.empty-project > .button {
  width: 100%;
}
.empty-project-note {
  display: block;
  color: #7d8e80;
  font-size: 9px;
  text-align: center;
  margin-top: 11px;
}
.project-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 19px;
  min-width: 0;
}
.game-cover {
  display: block;
  flex-shrink: 0;
  width: 54px;
  height: 66px;
  border-radius: 5px;
  background-image: none;
  background-size: 300% 200%;
  background-repeat: no-repeat;
  background-color: #4b5345;
  box-shadow: 0 3px 8px #0003;
  border: 1px solid #dac79c22;
}
.project-identity h2 {
  font-size: 16px;
  line-height: 1.2;
  margin-top: 6px;
  overflow-wrap: anywhere;
}
.project-identity .subtle {
  font-size: 9px;
  line-height: 1.3;
  display: block;
}
.progress-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 8px;
}
.progress-label strong {
  font: 11px var(--mono);
  color: var(--text);
}
.project-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  margin-top: 16px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}
.project-stats > div + div {
  border-left: 1px solid var(--line);
  padding-left: 12px;
}
.project-stats span {
  font-size: 9px;
  color: var(--muted);
  display: block;
}
.project-stats strong {
  font: 20px/1.6 var(--mono);
}
.project-stats small {
  font: 9px var(--font);
  color: var(--muted);
  margin-left: 2px;
}
.model-in-use {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0;
}
.model-mini {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border: 1px solid #525d46;
  background: #3a402d;
  border-radius: 7px;
  color: var(--amber);
  flex-shrink: 0;
  font-size: 19px;
}
.model-in-use > div {
  flex: 1;
  min-width: 0;
}
.model-in-use span:not(.model-mini) {
  font-size: 8px;
  color: var(--muted);
  display: block;
}
.model-in-use strong {
  display: block;
  font-weight: 400;
  font-size: 9px;
  margin-top: 4px;
}
.model-in-use .button {
  color: var(--muted);
  min-width: 20px;
}
.project-eta {
  font-size: 9px;
  color: var(--muted);
  margin: 11px 0 15px;
}
.ready-project {
  border-color: #52705b;
  box-shadow: inset 0 3px 0 #799d77;
}
.stat-line {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  padding-top: 16px;
}
.goal-panel {
  background:
    linear-gradient(
      125deg,
      #2a3029,
      #202b29);
  border-color: #445143;
}
.goal-icon {
  font-size: 24px;
  line-height: 1;
  color: var(--amber);
}
.goal-panel h2 {
  font-size: 17px;
  line-height: 1.25;
  color: #e5dfc9;
}
.goal-panel > p {
  font-size: 10px;
  margin: 8px 0 16px;
  color: #a8b3a1;
}
.goal-panel .progress-label {
  font-size: 9px;
}
.goal-panel .progress-label strong {
  font-size: 10px;
}
.goal-panel .progress-label .subtle {
  font-size: 9px;
}
.trend-panel {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #252d29;
}
.trend-symbol {
  height: 37px;
  width: 37px;
  display: grid;
  place-items: center;
  font-size: 25px;
  color: var(--mint);
  background: #334436;
  border: 1px solid #4e654d;
  border-radius: 50%;
  flex-shrink: 0;
}
.trend-panel .eyebrow {
  font-size: 8px;
  letter-spacing: 1px;
  margin-bottom: 5px;
}
.trend-panel h2 {
  font-size: 15px;
  margin-bottom: 4px;
}
.trend-panel p:last-child {
  font-size: 9px;
  color: var(--muted);
}
.live-label {
  font: 7px var(--mono);
  letter-spacing: 1px;
  color: #7b987f;
  display: flex;
  align-items: center;
  gap: 5px;
}
.live-label:before {
  content: "";
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #85a581;
}
.activity-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.activity-list li {
  display: flex;
  gap: 9px;
  position: relative;
  padding-bottom: 12px;
}
.activity-list li:last-child {
  padding-bottom: 0;
}
.activity-dot {
  position: relative;
  width: 5px;
  height: 5px;
  background: #72917b;
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}
.activity-list li:not(:last-child):before {
  position: absolute;
  left: 2px;
  top: 14px;
  bottom: 1px;
  content: "";
  width: 1px;
  background: #3b4a40;
}
.activity-list p {
  font-size: 10px;
  color: #bac4b9;
  line-height: 1.45;
}
.activity-list small {
  display: block;
  color: #72867c;
  font: 8px var(--mono);
  margin-top: 5px;
}
.activity-list .warning .activity-dot,
.activity-list .error .activity-dot {
  background: var(--coral);
}
.app-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font: 8px/1.5 var(--mono);
  color: #72817a;
  border-top: 1px solid #2b3935;
  padding: 15px 0 18px;
}
.app-footer > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.app-footer b {
  font-weight: 400;
  color: #4e6459;
}
.footer-status-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #76a088;
  display: inline-block;
}
.projects-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
  gap: 22px;
}
.release-library,
.contracts-panel {
  padding: 23px;
}
.release-library {
  min-height: 340px;
}
.release-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}
.release-card {
  overflow: hidden;
  background: #182323;
  border: 1px solid #3c4942;
  border-radius: 10px;
}
.release-cover {
  width: 100%;
  height: auto;
  aspect-ratio: 1.42;
  border-radius: 0;
  border: 0;
  box-shadow: none;
}
.release-card-body {
  padding: 14px;
}
.release-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  font-size: 9px;
  color: var(--muted);
}
.release-card h3 {
  font-size: 17px;
  margin: 10px 0 12px;
  overflow-wrap: anywhere;
}
.release-score {
  display: flex;
  align-items: center;
  gap: 13px;
}
.score {
  font: 28px var(--mono);
  color: var(--amber);
  white-space: nowrap;
}
.score small {
  font: 10px var(--mono);
  margin-left: 2px;
  color: var(--muted);
}
.release-score-copy {
  font-size: 9px;
  color: var(--muted);
  line-height: 1.6;
}
.release-finance {
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  margin-top: 13px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  color: var(--muted);
}
.release-finance strong {
  display: block;
  font: 14px var(--mono);
  color: var(--text);
  margin-top: 5px;
}
.empty-library {
  text-align: center;
  padding: 20px 16px 35px;
}
.large-code {
  font: 64px var(--mono);
  color: #6d8871;
  display: block;
  margin: 7px 0 15px;
}
.empty-library h3 {
  font-size: 23px;
}
.empty-library p {
  font-size: 12px;
  color: var(--muted);
  margin: 13px 0 21px;
}
.contracts-panel {
  margin-top: 20px;
}
.contracts-panel > .section-subtitle {
  margin-top: -4px;
  margin-bottom: 12px;
}
.contract-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
}
.contract-row:first-child {
  border: 0;
}
.contract-row:last-child {
  padding-bottom: 0;
}
.contract-symbol {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #344039;
  border: 1px solid #4a5b4b;
  color: var(--mint);
  font: 13px var(--mono);
  flex-shrink: 0;
}
.contract-copy {
  flex: 1;
  min-width: 0;
}
.contract-copy h3 {
  font-size: 12px;
}
.contract-copy p {
  font-size: 10px;
  color: var(--muted);
  margin: 4px 0;
}
.contract-copy > .subtle {
  font: 8px var(--mono);
  color: #83a38b;
}
.contract-offer {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contract-offer strong {
  font: 16px var(--mono);
}
.stack-summary {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px;
  margin-bottom: 30px;
  background:
    linear-gradient(
      110deg,
      #303a2d,
      #202b29);
}
.summary-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  font-size: 40px;
  border: 1px solid #777345;
  border-radius: 13px;
  background: #45462e;
  color: var(--amber);
}
.stack-summary .eyebrow {
  font-size: 9px;
  color: #a9b49b;
}
.stack-summary h2 {
  font-size: 21px;
  margin-top: 5px;
}
.stack-summary p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 7px;
}
.stack-summary-stats {
  display: flex;
  margin-left: auto;
  gap: 25px;
}
.stack-summary-stats > span {
  font: 23px var(--mono);
  color: var(--amber);
  text-align: center;
}
.stack-summary-stats small {
  display: block;
  font: 9px var(--font);
  margin-top: 7px;
  color: var(--muted);
}
.store-section + .store-section {
  margin-top: 30px;
}
.store-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}
.store-section-heading h2 {
  font-size: 18px;
}
.store-section-heading p {
  font-size: 10px;
  color: var(--muted);
}
.model-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.model-card {
  padding: 21px;
  display: flex;
  flex-direction: column;
}
.is-active {
  border-color: #729270 !important;
  background:
    linear-gradient(
      125deg,
      #2b382d,
      #222c28);
}
.model-card-top,
.hardware-tier,
.research-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 10px;
}
.model-avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  font-size: 32px;
  background: #434333;
  border: 1px solid #696c4d;
  border-radius: 11px;
  color: #d2c78b;
}
.model-avatar-1 {
  background: #334b43;
  border-color: #537669;
  color: #a2d1bd;
}
.model-avatar-2 {
  background: #49413e;
  border-color: #766153;
  color: #dfb99a;
}
.model-card h3 {
  font-size: 18px;
  letter-spacing: -.3px;
}
.model-tagline {
  font-size: 11px;
  color: var(--muted);
  margin-top: 8px;
  min-height: 48px;
}
.model-attributes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  margin: 5px 0 17px;
}
.model-attributes span {
  font-size: 9px;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
}
.model-attributes strong {
  font: 22px var(--mono);
  font-weight: 400;
}
.model-attributes small {
  font-size: 9px;
  color: var(--muted);
  margin-left: 4px;
}
.model-price {
  margin-bottom: 18px;
}
.model-price > strong {
  font: 25px var(--mono);
}
.model-price small {
  font: 11px var(--font);
  color: var(--muted);
}
.model-price > span {
  display: block;
  font: 9px var(--mono);
  color: #a5b39d;
  margin-top: 7px;
}
.model-card > .button {
  margin-top: auto;
}
.availability-note {
  font-size: 10px;
  color: #aaa48e;
  line-height: 1.4;
  margin-top: 9px;
  min-height: 14px;
}
.inline-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 18px;
  border: 1px solid #405146;
  border-radius: 9px;
  background: #28332d;
  font-size: 11px;
  color: #b1c2ab;
  line-height: 1.6;
  margin: 20px 0 0;
}
.inline-notice > span {
  display: grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  border-radius: 50%;
  border: 1px solid #62765b;
  font-family: var(--mono);
  font-size: 10px;
  flex-shrink: 0;
}
.inline-notice.warning {
  border-color: #72503c;
  background: #43372c;
  color: #e4c3a6;
}
.project-panel .inline-notice {
  display: block;
  font-size: 10px;
  padding: 10px;
  margin: 10px 0 13px;
}
.project-panel .inline-notice .button {
  margin-top: 9px;
}
.hardware-hero {
  height: 250px;
  display: flex;
  overflow: hidden;
  background: #252f29;
  position: relative;
  margin-bottom: 24px;
}
.hardware-hero > img {
  width: 48%;
  height: 100%;
  object-fit: cover;
  mask-image:
    linear-gradient(
      90deg,
      #000 70%,
      transparent);
}
.hardware-hero-content {
  padding: 35px 20px 25px;
  width: 52%;
}
.hardware-hero-content h2 {
  font-size: 27px;
  line-height: 1.2;
  margin: 10px 0 11px;
}
.hardware-hero-content > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 12px;
  max-width: 410px;
}
.hardware-facts {
  display: flex;
  gap: 40px;
  margin-top: 22px;
}
.hardware-facts > span {
  font-size: 10px;
  color: var(--muted);
}
.hardware-facts strong {
  display: block;
  font: 24px var(--mono);
  color: var(--mint);
  margin-bottom: 6px;
}
.hardware-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}
.hardware-card {
  padding: 18px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.hardware-tier {
  margin-bottom: 12px;
}
.hardware-tier .eyebrow {
  font-size: 8px;
}
.hardware-tier .tag {
  font-size: 8px;
}
.hardware-glyph {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  margin-bottom: 14px;
  filter: drop-shadow(0 5px 3px #0002);
}
.hardware-glyph i {
  display: block;
  position: relative;
  width: 25px;
  height: 54px;
  background:
    linear-gradient(
      90deg,
      #5b6b57,
      #394c40);
  border: 1px solid #869177;
  border-radius: 4px;
  transform: skewY(-7deg);
}
.hardware-glyph i:before {
  content: "";
  position: absolute;
  inset: 7px 6px 24px;
  border: 1px solid #b9c2a066;
  border-radius: 2px;
  background: #24372b;
}
.hardware-glyph i:after {
  content: "";
  position: absolute;
  bottom: 7px;
  left: 8px;
  width: 4px;
  height: 4px;
  background: var(--mint);
  box-shadow: 0 0 7px #a7e19299;
  border-radius: 50%;
}
.hardware-glyph-0 i:first-child {
  width: 84px;
  height: 51px;
  transform: none;
  border-radius: 5px;
  background: #3a4c3f;
}
.hardware-glyph-0 i:first-child:before {
  inset: 5px 6px 8px;
  background: #d0c58a;
}
.hardware-glyph-0 i:first-child:after {
  width: 98px;
  height: 5px;
  left: -8px;
  bottom: -6px;
  border-radius: 0 0 4px 4px;
  box-shadow: none;
  background: #758270;
}
.hardware-glyph-0 i:nth-child(n+2) {
  display: none;
}
.hardware-glyph-1 i {
  height: 41px;
  width: 75px;
}
.hardware-glyph-1 i:nth-child(n+2) {
  display: none;
}
.hardware-glyph-1 i:before {
  inset: 8px 25px;
  border-radius: 50%;
}
.hardware-glyph-1 i:after {
  left: 9px;
  bottom: 15px;
}
.hardware-glyph-2 i {
  height: 66px;
  width: 45px;
}
.hardware-glyph-2 i:nth-child(n+2) {
  display: none;
}
.hardware-glyph-3 i {
  height: 73px;
}
.hardware-card h3 {
  font-size: 16px;
  min-height: 44px;
}
.hardware-card > p {
  font-size: 10px;
  color: var(--muted);
  min-height: 50px;
  margin-top: 8px;
}
.hardware-specs {
  margin: 14px 0 17px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hardware-specs > span {
  font-size: 9px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 7px;
}
.hardware-specs strong {
  font-size: 9px;
  color: #c2ccba;
  font-weight: 400;
  text-align: right;
  max-width: 57%;
}
.hardware-price {
  font: 25px var(--mono);
  color: var(--text);
  margin-bottom: 16px;
}
.hardware-price small {
  display: block;
  font: 9px var(--font);
  color: var(--muted);
  margin-top: 7px;
}
.hardware-card .button {
  font-size: 10px;
  margin-top: auto;
  padding-left: 8px;
  padding-right: 8px;
}
.hardware-goal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  margin-top: 22px;
  padding: 25px;
  background: #29342d;
}
.hardware-goal h2 {
  font-size: 21px;
  margin: 6px 0 8px;
}
.hardware-goal p:not(.eyebrow) {
  font-size: 11px;
  color: var(--muted);
}
.saving-progress {
  min-width: 260px;
}
.saving-progress > span {
  font: 15px var(--mono);
  display: block;
  text-align: right;
  margin-bottom: 12px;
  color: var(--mint);
}
.xp-chip {
  border: 1px solid #576345;
  background: #343c2d;
  padding: 12px 20px;
  border-radius: 9px;
  text-align: right;
}
.xp-chip > span {
  font: 8px var(--mono);
  letter-spacing: 1.5px;
  color: #a6b798;
  display: block;
}
.xp-chip strong {
  display: block;
  font: 25px var(--mono);
  color: var(--amber);
  margin-top: 4px;
}
.xp-chip small {
  font-size: 10px;
}
.research-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.research-card {
  padding: 23px;
  display: flex;
  flex-direction: column;
}
.research-number {
  font: 30px var(--mono);
  letter-spacing: -1.5px;
  color: #71937d;
}
.research-card-top {
  margin-bottom: 20px;
}
.research-card h2 {
  font-size: 21px;
  line-height: 1.2;
  min-height: 50px;
}
.research-card > p:not(.availability-note) {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  margin: 12px 0 20px;
  min-height: 60px;
}
.research-effect {
  display: flex;
  align-items: center;
  gap: 7px;
  font: 10px var(--mono);
  color: var(--mint);
  background: #2c3e32;
  padding: 10px;
  border-radius: 5px;
  margin-top: auto;
}
.research-effect .ui-symbol {
  font-size: 14px;
}
.research-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 17px;
}
.research-card-footer strong {
  font: 22px var(--mono);
}
.achievements-panel {
  padding: 24px;
  margin-top: 23px;
}
.achievements-panel .panel-heading h2 {
  font-size: 21px;
  margin-top: 5px;
}
.achievement-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px 23px;
}
.achievement {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  opacity: .5;
}
.achievement.earned {
  opacity: 1;
}
.achievement-icon {
  font-size: 24px;
  color: #839783;
  line-height: 1.2;
}
.earned .achievement-icon {
  color: var(--amber);
}
.achievement strong {
  font-size: 11px;
  line-height: 1.4;
  display: block;
  font-weight: 500;
}
.achievement p {
  font-size: 9px;
  margin-top: 5px;
  color: var(--muted);
}
.finance-totals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}
.finance-totals > div {
  padding: 22px;
}
.finance-totals strong {
  display: block;
  font: 32px var(--mono);
  letter-spacing: -1px;
  margin: 10px 0;
}
.finance-totals small {
  font-size: 10px;
  color: var(--muted);
}
.finance-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
  gap: 22px;
}
.chart-panel {
  padding: 25px;
}
.chart-panel h2 {
  font-size: 20px;
  margin-top: 5px;
}
.chart-legend {
  display: flex;
  gap: 12px;
  font-size: 9px;
  color: var(--muted);
}
.chart-legend > span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.chart-legend i {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 2px;
}
.income-dot {
  background: var(--mint);
}
.expense-dot {
  background: var(--amber);
}
.finance-chart {
  display: flex;
  height: 218px;
  gap: 15px;
  margin-top: 35px;
}
.chart-scale {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 25px;
  font: 9px var(--mono);
  color: var(--dim);
  min-width: 48px;
}
.chart-plot {
  flex: 1;
  display: flex;
  align-items: stretch;
  gap: 8px;
  position: relative;
  background:
    repeating-linear-gradient(
      to top,
      transparent 0,
      transparent calc(50% - 13px),
      #3a48412c calc(50% - 13px),
      #3a48412c calc(50% - 12px));
  border-bottom: 1px solid var(--line);
}
.chart-column {
  display: flex;
  flex: 1;
  min-width: 0;
  align-items: center;
  flex-direction: column;
  justify-content: flex-end;
}
.chart-bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  width: 100%;
  height: calc(100% - 25px);
  max-width: 42px;
}
.chart-bars i {
  display: block;
  flex: 1;
  max-width: 18px;
  border-radius: 4px 4px 0 0;
  min-height: 2px;
}
.income-bar {
  background:
    linear-gradient(
      to top,
      #547e66,
      var(--mint));
}
.expense-bar {
  background:
    linear-gradient(
      to top,
      #876c44,
      var(--amber));
}
.chart-column > span {
  font: 9px/25px var(--mono);
  height: 25px;
  color: var(--muted);
}
.chart-caption {
  font-size: 9px;
  color: var(--dim);
  text-align: center;
  margin-top: 16px;
}
.bills-panel {
  padding: 23px;
}
.bills-panel > h2 {
  font-size: 22px;
  margin-top: 9px;
}
.bill-total {
  font: 40px var(--mono);
  letter-spacing: -1px;
  color: var(--amber);
  margin: 13px 0 22px;
}
.bill-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  color: var(--muted);
}
.bill-line strong {
  font: 12px var(--mono);
  color: var(--text);
}
.bill-note {
  font-size: 10px;
  line-height: 1.5;
  margin: 17px 0;
  color: var(--mint);
}
.bill-note.warning {
  color: var(--coral);
}
.ledger-panel {
  padding: 23px;
  margin-top: 22px;
}
.table-scroll {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
}
th,
td {
  padding: 12px 16px;
  border-bottom: 1px solid #324038;
  font: 11px var(--mono);
}
thead th {
  color: var(--muted);
  font: 9px var(--font);
  text-transform: uppercase;
  letter-spacing: 1px;
  background: #1c2724;
}
tbody th {
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
}
td:not(:first-child),
thead th:not(:first-child) {
  text-align: right;
}
tr:last-child td,
tr:last-child th {
  border-bottom: 0;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #09100fd4;
  backdrop-filter: blur(7px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  overflow-y: auto;
}
.modal {
  position: relative;
  max-height: calc(100dvh - 50px);
  overflow-y: auto;
  overscroll-behavior: contain;
  width: 100%;
  max-width: 650px;
  background: #222c29;
  border: 1px solid #5d6752;
  border-radius: 17px;
  padding: 33px;
  box-shadow: 0 25px 90px #0009;
  color: var(--text);
  scrollbar-width: thin;
  scrollbar-color: #657259 #243129;
}
.modal > .button.modal-close {
  position: absolute;
  right: 16px;
  top: 14px;
  z-index: 3;
  color: #a8b6a7;
  background: #202c2566;
}
.modal > h2 {
  font-size: 29px;
  letter-spacing: -.8px;
  line-height: 1.15;
  padding-right: 25px;
}
.modal-lead {
  font-size: 12px;
  color: #b4c0af;
  margin: 13px 0 24px;
  line-height: 1.7;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 11px;
  margin-top: 23px;
}
.modal-actions .button {
  min-height: 41px;
}
.confirm-modal {
  max-width: 470px;
  padding: 32px;
}
.confirm-modal > .modal-lead {
  font-size: 13px;
}
.onboarding-modal {
  max-width: 780px;
  padding: 43px 42px;
  background:
    radial-gradient(
      ellipse at 95% 5%,
      #4a4c2d44 0%,
      transparent 48%),
    #222d28;
  border-color: #72785b;
}
.onboarding-intro .eyebrow {
  color: var(--amber);
  font-size: 9px;
  letter-spacing: 1.8px;
  margin-bottom: 20px;
}
.onboarding-intro h2 {
  font-size: 58px;
  line-height: 1.03;
  letter-spacing: -2.6px;
  font-weight: 500;
}
.onboarding-intro > p {
  font-size: 14px;
  line-height: 1.7;
  color: #b6c2ad;
  margin-top: 19px;
}
.onboarding-rules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 30px;
  margin: 30px 0;
  padding: 26px 0;
  border-top: 1px solid #4c5945;
  border-bottom: 1px solid #4c5945;
}
.onboarding-rules > div {
  position: relative;
  padding-left: 36px;
}
.onboarding-rules > div > span {
  position: absolute;
  left: 0;
  top: 0;
  font: 13px var(--mono);
  color: #a1ba86;
  border: 1px solid #4a6346;
  background: #314030;
  padding: 5px 4px;
  border-radius: 4px;
}
.onboarding-rules h3 {
  font-size: 14px;
  margin-bottom: 7px;
}
.onboarding-rules p {
  font-size: 11px;
  color: #acbba7;
  line-height: 1.65;
}
.onboarding-footer {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
}
.onboarding-footer > p {
  font-size: 9px;
  color: #9eaf98;
  line-height: 1.7;
}
.onboarding-footer > p span {
  color: #7b9275;
  font-size: 9px;
}
.onboarding-footer .button {
  white-space: nowrap;
}
.project-modal {
  max-width: 790px;
}
.field-label,
fieldset legend {
  font-size: 11px;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font-weight: 500;
  margin-bottom: 9px;
}
.field-label > span {
  font-size: 9px;
  color: var(--muted);
  font-weight: 400;
}
input[type=text],
select {
  display: block;
  width: 100%;
  border: 1px solid #556450;
  background: #19251f;
  color: var(--text);
  border-radius: 7px;
  padding: 11px 13px;
  font-size: 12px;
  min-height: 43px;
}
input::placeholder {
  color: #738971;
}
select {
  padding-right: 30px;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 20px 0;
}
.genre-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 9px;
}
.genre-choice {
  position: relative;
  min-width: 0;
  background: #26332a;
  border: 1px solid #445641;
  border-radius: 7px;
  padding: 5px;
  text-align: left;
  color: var(--text);
}
.genre-choice > .game-cover {
  width: 100%;
  height: auto;
  aspect-ratio: .87;
  border-radius: 4px;
  box-shadow: none;
}
.genre-choice > span:not(.game-cover) {
  display: block;
  font-size: 9px;
  padding: 8px 2px 4px;
  white-space: nowrap;
}
.genre-choice > small {
  position: absolute;
  left: 9px;
  top: 10px;
  background: #d2dbabc9;
  padding: 3px 4px;
  border-radius: 3px;
  color: #35452d;
  font-size: 7px;
}
.genre-choice.chosen,
.scope-choice.chosen {
  border-color: var(--amber);
  background: #45432c;
  box-shadow: 0 0 0 1px var(--amber);
}
.genre-choice:hover,
.scope-choice:hover:not(:disabled) {
  background: #3a4534;
}
.scope-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.scope-choice {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 12px;
  background: #27332b;
  border: 1px solid #495841;
  border-radius: 7px;
  gap: 8px;
}
.scope-choice strong {
  font-size: 12px;
  font-weight: 500;
}
.scope-choice > span {
  font: 18px var(--mono);
  color: var(--amber);
}
.scope-choice span small {
  font: 9px var(--font);
  color: #9fac95;
}
.scope-choice > small {
  font-size: 9px;
  color: #a3b09a;
  line-height: 1.45;
}
.scope-choice:disabled {
  opacity: .38;
  cursor: not-allowed;
}
.project-estimate {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 16px;
  padding: 17px 0;
  border-top: 1px solid #46543e;
  border-bottom: 1px solid #46543e;
}
.project-estimate > span {
  font-size: 9px;
  color: var(--muted);
}
.project-estimate strong {
  display: block;
  margin-top: 6px;
  font: 14px var(--mono);
  color: var(--text);
}
.project-estimate > span:last-child strong {
  font: 11px var(--font);
  line-height: 1.4;
}
.help-modal {
  max-width: 700px;
}
.help-sections {
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.help-sections h3 {
  font-size: 13px;
  color: #e7debc;
  margin-bottom: 7px;
}
.help-sections p {
  font-size: 11px;
  color: #b3c2aa;
  line-height: 1.75;
}
.help-sections p strong {
  font-weight: 500;
  color: #d1d9bd;
}
.keyboard-hints {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
  margin: 23px 0;
  padding: 15px 0;
  border-top: 1px solid #44563e;
  border-bottom: 1px solid #44563e;
}
.keyboard-hints > span {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
kbd {
  font: 9px var(--mono);
  border: 1px solid #66765a;
  border-bottom-width: 2px;
  padding: 4px 6px;
  border-radius: 4px;
  background: #2d3d2d;
  color: #d2dbc0;
}
.privacy-note {
  font-size: 10px;
  color: #91a58a;
  line-height: 1.7;
}
.settings-modal {
  max-width: 570px;
}
.settings-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding: 24px 0;
  border-bottom: 1px solid #46573d;
}
.settings-row h3,
.settings-section h3 {
  font-size: 14px;
}
.settings-row p,
.settings-section p:not(.eyebrow) {
  font-size: 11px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.65;
}
.settings-row .button {
  flex-shrink: 0;
}
.settings-section {
  padding-top: 23px;
}
.settings-section .eyebrow {
  margin-bottom: 10px;
}
.settings-buttons {
  display: flex;
  gap: 12px;
  margin: 19px 0 13px;
}
.settings-buttons .button {
  font-size: 11px;
  flex: 1;
}
.danger-section {
  border-top: 1px solid #48563e;
  margin-top: 23px;
}
.danger-section h3 {
  color: #d8aa89;
}
.danger-section .button {
  margin-top: 17px;
}
.event-modal {
  max-width: 650px;
}
.event-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 22px;
}
.event-kicker .subtle {
  font-size: 10px;
}
.event-body {
  display: flex;
  align-items: center;
  gap: 23px;
  margin-bottom: 28px;
}
.event-body > img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid #607153;
  background: #354231;
  flex-shrink: 0;
}
.event-body > p {
  font-size: 13px;
  line-height: 1.7;
  color: #c0cbb3;
}
.event-choices {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.event-choice {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 19px;
  background: #2e3b2e;
  border: 1px solid #5a6b4d;
  border-radius: 10px;
  text-align: left;
}
.event-choice:hover:not(:disabled) {
  background: #3c4632;
  border-color: #a8aa72;
}
.event-choice:disabled {
  opacity: .45;
}
.event-choice-index {
  font: 15px var(--mono);
  color: #93ab7c;
  align-self: flex-start;
  line-height: 1.5;
}
.event-choice-copy {
  flex: 1;
}
.event-choice-copy > strong {
  font-size: 14px;
  display: block;
  font-weight: 500;
}
.event-choice-copy > span:not(.choice-effects) {
  font-size: 11px;
  color: #a5b39a;
  line-height: 1.6;
  display: block;
  margin-top: 7px;
}
.event-choice > span:last-child {
  color: var(--amber);
}
.choice-effects {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font: 10px var(--mono);
  margin-top: 12px;
}
.ending-modal {
  max-width: 680px;
}
.ending-art {
  height: 210px;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin: 25px 0 22px;
}
.ending-art > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
}
.ending-art:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 55%, #12221b99);
}
.ending-badge {
  position: absolute;
  bottom: 16px;
  left: 17px;
  background: #e1c18d;
  color: #343a25;
  padding: 7px 10px;
  border-radius: 5px;
  font: 9px var(--mono);
  letter-spacing: 1.1px;
  z-index: 1;
}
.ending-body {
  font-size: 13px;
  color: #b3c4a8;
  line-height: 1.7;
}
.ending-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  border-top: 1px solid #4b5c3f;
  border-bottom: 1px solid #4b5c3f;
  padding: 21px 0;
  margin: 21px 0;
}
.ending-stats strong {
  display: block;
  font: 25px var(--mono);
  color: var(--amber);
}
.ending-stats span {
  display: block;
  color: #9aaa8f;
  font-size: 9px;
  margin-top: 6px;
}
.ending-quote {
  font-size: 12px;
  font-style: italic;
  color: #bdc5a5;
  line-height: 1.7;
}
.toast {
  position: fixed;
  z-index: 200;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  max-width: calc(100vw - 40px);
  background: #304837;
  border: 1px solid #739569;
  box-shadow: 0 8px 30px #0007;
  border-radius: 10px;
  padding: 13px 14px 13px 17px;
}
.toast.error {
  background: #56372d;
  border-color: #b37f65;
}
.toast p {
  font-size: 12px;
  line-height: 1.5;
  color: #e1e6cc;
  max-width: 550px;
}
.toast-symbol {
  color: #bbd19d;
  width: 20px;
  font-size: 18px;
  flex-shrink: 0;
}
.toast.error .toast-symbol {
  color: #ffcaab;
}
.toast .icon-button {
  height: 25px;
  min-height: 25px;
  min-width: 25px;
  font-size: 18px;
  color: #b6cba5;
}
@media (min-width:1560px) {
  .main-content {
    padding: 30px 36px 0;
  }
  .studio-layout,
  .projects-layout {
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 27px;
  }
  .room-scene {
    height: 510px;
  }
  .daily-actions {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .action-tile {
    padding: 14px 12px;
    gap: 8px;
  }
  .action-arrow {
    display: none;
  }
  .action-icon {
    width: 25px;
    height: 30px;
  }
  .right-rail > .panel {
    padding: 21px;
  }
  .project-placeholder {
    height: 95px;
  }
  .empty-project h2 {
    font-size: 22px;
  }
  .room-scene-bottom h2 {
    font-size: 22px;
  }
  .room-quote {
    width: 220px;
    top: 90px;
    right: 32px;
  }
  .room-quote p {
    font-size: 12px;
  }
  .pipeline {
    padding: 20px 22px;
  }
  .pipeline-steps {
    margin: 20px 0;
  }
  .pipeline-step {
    font-size: 12px;
  }
  .resource {
    padding: 19px 28px;
  }
  .resource-number {
    font-size: 31px;
  }
}
@media (max-width:1250px) {
  .main-content {
    padding: 21px 20px 0;
  }
  .sidebar {
    width: 83px;
    padding-left: 8px;
    padding-right: 8px;
  }
  .nav-selected-dot {
    left: -9px;
  }
  .topbar {
    padding-right: 24px;
  }
  .studio-layout,
  .projects-layout {
    grid-template-columns: minmax(0, 1fr) 255px;
    gap: 16px;
  }
  .right-rail > .panel {
    padding: 15px;
  }
  .resource {
    padding: 14px 17px;
  }
  .resource-label {
    font-size: 8px;
    letter-spacing: .7px;
  }
  .resource-caption {
    font-size: 8px;
  }
  .resource-number {
    font-size: 26px;
  }
  .resource-detail {
    font-size: 9px;
  }
  .room-scene {
    height: 390px;
  }
  .room-quote {
    width: 177px;
    right: 15px;
    top: 60px;
  }
  .room-quote p {
    font-size: 10px;
  }
  .room-scene-bottom {
    left: 18px;
    right: 18px;
  }
  .room-scene-bottom h2 {
    font-size: 16px;
    max-width: 280px;
  }
  .room-caption {
    font-size: 7px;
  }
  .section-heading .eyebrow {
    font-size: 8px;
  }
  .section-heading > .button {
    font-size: 11px;
    padding: 10px 11px;
  }
  .pipeline-step {
    font-size: 9px;
    gap: 5px;
  }
  .pipeline-step:not(:last-child):after {
    margin: 0 7px;
  }
  .project-panel .tag {
    font-size: 7px;
    padding: 4px;
  }
  .project-panel .eyebrow {
    font-size: 8px;
  }
  .empty-project h2 {
    font-size: 18px;
  }
  .project-identity h2 {
    font-size: 14px;
  }
  .project-identity .game-cover {
    width: 43px;
    height: 56px;
  }
  .empty-project-note {
    font-size: 8px;
  }
  .app-footer {
    font-size: 7px;
  }
  .model-grid {
    gap: 12px;
  }
  .model-card {
    padding: 17px;
  }
  .model-card h3 {
    font-size: 17px;
  }
  .hardware-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hardware-card {
    padding: 23px;
  }
  .hardware-card h3 {
    min-height: 0;
    font-size: 18px;
  }
  .hardware-card > p {
    min-height: 32px;
  }
  .hardware-specs > span,
  .hardware-specs strong {
    font-size: 10px;
  }
  .hardware-card .button {
    font-size: 12px;
  }
  .research-grid {
    gap: 12px;
  }
  .research-card {
    padding: 19px;
  }
  .research-card h2 {
    font-size: 19px;
  }
  .research-card > p:not(.availability-note) {
    font-size: 11px;
  }
  .research-effect {
    font-size: 9px;
  }
  .achievement-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stack-summary-stats {
    gap: 17px;
  }
  .stack-summary-stats > span {
    font-size: 20px;
  }
  .finance-layout {
    grid-template-columns: minmax(0, 1fr) 255px;
    gap: 16px;
  }
  .chart-panel {
    padding: 20px;
  }
  .bills-panel {
    padding: 20px;
  }
  .finance-totals strong {
    font-size: 29px;
  }
  .chart-legend {
    gap: 8px;
    font-size: 8px;
  }
  .finance-chart {
    gap: 9px;
  }
  .chart-plot {
    gap: 5px;
  }
}
@media (max-width:1050px) {
  .brand strong {
    font-size: 13px;
  }
  .brand small {
    font-size: 7px;
    letter-spacing: 1.7px;
  }
  .topbar {
    height: 74px;
    padding-left: 19px;
    gap: 15px;
  }
  .brand-mark {
    width: 37px;
    height: 37px;
    font-size: 19px;
  }
  .time-controls {
    gap: 12px;
  }
  .toolbar {
    padding-left: 7px;
  }
  .app-body {
    min-height: calc(100vh - 74px);
  }
  .main-content {
    padding: 17px 16px 0;
  }
  .sidebar {
    width: 77px;
    padding-top: 23px;
  }
  .nav-item {
    font-size: 9px;
    min-height: 61px;
  }
  .nav-icon {
    font-size: 21px;
  }
  .resources {
    grid-template-columns: 1.1fr 1fr 1fr 1fr;
  }
  .resource {
    padding: 13px 13px;
  }
  .resource-caption {
    display: none;
  }
  .resource-number {
    font-size: 24px;
  }
  .resource-inline {
    gap: 5px;
  }
  .resource-inline .button {
    padding: 4px 6px;
    min-height: 23px;
    font-size: 9px;
  }
  .studio-layout {
    grid-template-columns: minmax(0, 1fr) 237px;
    gap: 14px;
  }
  .section-heading {
    gap: 12px;
  }
  .section-heading h1 {
    font-size: 27px;
  }
  .section-heading .eyebrow {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .room-scene {
    height: 356px;
  }
  .room-quote {
    width: 156px;
  }
  .room-scene-bottom h2 {
    font-size: 14px;
  }
  .room-caption {
    display: none;
  }
  .room-level {
    font-size: 7px;
  }
  .scene-label {
    font-size: 9px;
  }
  .room-scene-top {
    left: 14px;
    right: 14px;
  }
  .action-tile {
    padding: 10px;
    gap: 8px;
  }
  .action-icon {
    width: 25px;
    height: 28px;
    font-size: 18px;
  }
  .action-tile strong {
    font-size: 10px;
  }
  .action-tile small {
    font-size: 8px;
  }
  .action-arrow {
    display: none;
  }
  .pipeline {
    padding: 14px;
  }
  .pipeline .panel-heading {
    gap: 8px;
  }
  .pipeline h2 {
    font-size: 11px;
  }
  .pipeline .subtle {
    font-size: 8px;
  }
  .step-dot {
    height: 20px;
    min-width: 20px;
    font-size: 7px;
  }
  .pipeline-step {
    font-size: 8px;
    gap: 4px;
  }
  .pipeline-step:not(:last-child):after {
    margin: 0 5px;
  }
  .right-rail > .panel {
    padding: 14px;
  }
  .right-rail .panel-heading .eyebrow {
    font-size: 7px;
  }
  .empty-project h2 {
    font-size: 17px;
  }
  .empty-project > p {
    font-size: 10px;
  }
  .goal-panel h2 {
    font-size: 16px;
  }
  .projects-layout {
    grid-template-columns: minmax(0, 1fr) 237px;
    gap: 14px;
  }
  .release-library,
  .contracts-panel {
    padding: 18px;
  }
  .contract-symbol {
    display: none;
  }
  .release-card-body {
    padding: 11px;
  }
  .release-card h3 {
    font-size: 15px;
  }
  .release-score-copy {
    font-size: 8px;
  }
  .stack-summary {
    padding: 20px;
    gap: 13px;
  }
  .summary-icon {
    width: 50px;
    height: 50px;
    font-size: 32px;
  }
  .stack-summary h2 {
    font-size: 19px;
  }
  .stack-summary p {
    font-size: 10px;
  }
  .stack-summary-stats {
    gap: 13px;
  }
  .stack-summary-stats > span {
    font-size: 17px;
  }
  .stack-summary-stats small {
    font-size: 8px;
  }
  .store-section-heading p {
    font-size: 9px;
  }
  .model-grid {
    gap: 10px;
  }
  .model-card {
    padding: 15px;
  }
  .model-card h3 {
    font-size: 16px;
  }
  .model-tagline {
    font-size: 10px;
    min-height: 59px;
  }
  .model-card .button {
    font-size: 10px;
  }
  .model-avatar {
    width: 39px;
    height: 39px;
    font-size: 27px;
  }
  .hardware-hero {
    height: 230px;
  }
  .hardware-hero-content {
    padding: 27px 14px;
  }
  .hardware-hero-content h2 {
    font-size: 23px;
  }
  .hardware-facts {
    gap: 24px;
  }
  .hardware-goal {
    gap: 25px;
    padding: 20px;
  }
  .saving-progress {
    min-width: 210px;
  }
  .hardware-goal h2 {
    font-size: 19px;
  }
  .research-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .research-card h2 {
    min-height: 0;
  }
  .research-card > p:not(.availability-note) {
    min-height: 35px;
  }
  .finance-layout {
    grid-template-columns: minmax(0, 1fr) 235px;
    gap: 14px;
  }
  .finance-totals {
    gap: 14px;
  }
  .finance-totals > div {
    padding: 18px;
  }
  .finance-totals .eyebrow {
    font-size: 8px;
  }
  .finance-totals strong {
    font-size: 26px;
  }
  .chart-panel .panel-heading {
    align-items: flex-start;
    gap: 7px;
  }
  .chart-legend {
    flex-direction: column;
    gap: 7px;
  }
  .chart-plot {
    gap: 3px;
  }
  .chart-bars {
    gap: 2px;
  }
  .chart-scale {
    min-width: 38px;
    font-size: 8px;
  }
  .chart-column > span {
    font-size: 8px;
  }
  .app-footer > span:nth-child(2) {
    display: none;
  }
}
@media (max-width:850px) {
  .topbar {
    gap: 12px;
    padding: 0 17px;
  }
  .brand {
    gap: 9px;
  }
  .brand strong {
    font-size: 12px;
  }
  .brand small {
    font-size: 6px;
    letter-spacing: 1.4px;
  }
  .brand-mark {
    width: 33px;
    height: 33px;
    font-size: 18px;
  }
  .time-controls {
    gap: 9px;
  }
  .day-display {
    font-size: 8px;
    gap: 5px;
    letter-spacing: .6px;
  }
  .day-display strong {
    font-size: 15px;
  }
  .button.speed-button {
    min-width: 27px;
    font-size: 10px;
    padding: 5px 6px;
  }
  .toolbar {
    gap: 1px;
  }
  .toolbar .button.icon-button {
    min-width: 27px;
    font-size: 18px;
  }
  .app-body {
    display: block;
  }
  .sidebar {
    width: 100%;
    padding: 8px 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    display: block;
  }
  .nav-items {
    flex-direction: row;
    gap: 7px;
  }
  .nav-item {
    flex: 1;
    min-height: 46px;
    border-radius: 7px;
    gap: 7px;
    flex-direction: row;
    font-size: 9px;
  }
  .nav-icon {
    font-size: 18px;
  }
  .nav-selected-dot {
    left: calc(50% - 10px);
    top: auto;
    bottom: -9px;
    height: 3px;
    width: 20px;
    border-radius: 3px 3px 0 0;
  }
  .sidebar-bottom {
    display: none;
  }
  .main-content {
    padding: 17px 18px 0;
  }
  .resource {
    padding: 13px 14px;
  }
  .studio-layout {
    grid-template-columns: minmax(0, 1fr) 230px;
  }
  .room-scene {
    height: 365px;
  }
  .right-rail {
    gap: 12px;
  }
  .section-heading {
    align-items: flex-end;
  }
  .section-heading h1 {
    font-size: 26px;
  }
  .section-heading > .button {
    font-size: 10px;
    padding: 9px 10px;
    min-height: 34px;
  }
  .room-scene-bottom h2 {
    max-width: 230px;
  }
  .room-quote {
    width: 150px;
    right: 13px;
    top: 61px;
  }
  .pipeline-steps {
    flex-wrap: wrap;
    gap: 11px;
  }
  .pipeline-step {
    flex: calc(50% - 6px) !important;
    font-size: 9px;
  }
  .pipeline-step:nth-child(2):after {
    display: none;
  }
  .pipeline-step:last-child:after {
    content: "";
    display: block;
    flex: 1;
  }
  .pipeline {
    padding: 15px;
  }
  .pipeline-caption {
    font-size: 8px;
  }
  .daily-actions {
    gap: 7px;
  }
  .resource-label {
    font-size: 7px;
  }
  .resource-number {
    font-size: 23px;
  }
  .resource-detail {
    font-size: 8px;
  }
  .resource-inline .button {
    font-size: 8px;
  }
  .resources .resource-label .ui-symbol {
    font-size: 11px;
  }
  .tutorial-strip {
    padding: 8px 10px;
    gap: 9px;
  }
  .tutorial-strip p {
    font-size: 10px;
  }
  .tutorial-strip .button {
    font-size: 10px;
  }
  .projects-layout {
    grid-template-columns: minmax(0, 1fr) 230px;
  }
  .release-grid {
    grid-template-columns: 1fr;
  }
  .release-cover {
    aspect-ratio: 1.8;
  }
  .model-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .model-price > strong {
    font-size: 22px;
  }
  .stack-summary-stats {
    gap: 15px;
  }
  .stack-summary > div:nth-child(2) {
    max-width: 260px;
  }
  .store-section-heading {
    display: block;
  }
  .store-section-heading p {
    margin-top: 5px;
  }
  .model-card h3 {
    font-size: 15px;
  }
  .model-tagline {
    min-height: 65px;
  }
  .hardware-hero-content h2 {
    font-size: 21px;
  }
  .hardware-hero-content > p:not(.eyebrow) {
    font-size: 11px;
  }
  .hardware-facts strong {
    font-size: 21px;
  }
  .hardware-hero {
    height: 225px;
  }
  .finance-totals .eyebrow {
    font-size: 7px;
  }
  .chart-panel {
    padding: 17px;
  }
  .chart-panel h2 {
    font-size: 17px;
  }
  .chart-panel .eyebrow {
    font-size: 8px;
  }
  .chart-caption {
    font-size: 8px;
  }
  .finance-totals strong {
    font-size: 23px;
  }
  .finance-layout {
    grid-template-columns: minmax(0, 1fr) 220px;
  }
  .bills-panel {
    padding: 18px;
  }
  .bill-total {
    font-size: 36px;
  }
  .hardware-goal {
    display: block;
  }
  .saving-progress {
    max-width: 400px;
    margin-top: 20px;
  }
  .saving-progress > span {
    text-align: left;
  }
  .page-content {
    padding-top: 22px;
  }
  .genre-grid {
    gap: 7px;
  }
  .modal {
    padding: 29px;
  }
  .onboarding-modal {
    padding: 37px;
  }
  .onboarding-intro h2 {
    font-size: 53px;
  }
}
@media (max-width:680px) {
  .topbar {
    height: auto;
    min-height: 110px;
    flex-wrap: wrap;
    padding: 16px;
    gap: 14px;
  }
  .brand {
    flex: 1;
  }
  .brand strong {
    font-size: 13px;
  }
  .brand small {
    font-size: 7px;
  }
  .toolbar {
    order: 2;
    border-left: 0;
    padding-left: 0;
  }
  .time-controls {
    order: 3;
    width: 100%;
    justify-content: space-between;
    border-top: 1px solid #303d36;
    padding-top: 10px;
    margin: 0;
  }
  .day-display {
    font-size: 9px;
  }
  .day-display strong {
    font-size: 18px;
  }
  .speed-controls {
    padding: 2px;
  }
  .button.speed-button {
    min-width: 34px;
  }
  .sidebar {
    padding: 7px 9px;
  }
  .nav-items {
    gap: 3px;
  }
  .nav-item {
    flex-direction: column;
    gap: 4px;
    min-height: 54px;
    font-size: 8px;
  }
  .nav-icon {
    font-size: 20px;
  }
  .nav-selected-dot {
    bottom: -8px;
  }
  .main-content {
    padding: 14px 13px 0;
  }
  .resources {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .resource {
    padding: 13px 16px;
  }
  .resource:nth-child(3),
  .resource:nth-child(4) {
    border-top: 1px solid var(--line);
  }
  .resource:nth-child(3):before {
    display: none;
  }
  .resource:before {
    top: 13px !important;
    bottom: 13px !important;
  }
  .resource-label {
    font-size: 8px;
    letter-spacing: .9px;
  }
  .resource-caption {
    display: inline;
    font-size: 7px;
  }
  .resource-number {
    font-size: 25px;
  }
  .resource-detail {
    font-size: 9px;
  }
  .resource .meter {
    margin-top: 8px;
    max-width: none;
  }
  .resource-inline .button {
    font-size: 9px;
    padding: 5px 8px;
  }
  .resources .resource-label .ui-symbol {
    font-size: 12px;
  }
  .studio-layout,
  .projects-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .right-rail {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
    padding-top: 0;
  }
  .right-rail > .project-panel {
    grid-column: 1/-1;
    padding: 19px;
  }
  .empty-project h2 {
    font-size: 23px;
  }
  .empty-project > .project-placeholder {
    height: 65px;
  }
  .empty-project > p br {
    display: none;
  }
  .empty-project > p {
    font-size: 12px;
  }
  .empty-project > .button {
    max-width: 290px;
  }
  .empty-project-note {
    text-align: left;
    font-size: 9px;
  }
  .project-panel .panel-heading .eyebrow {
    font-size: 9px;
  }
  .right-rail .panel-heading .eyebrow {
    font-size: 8px;
  }
  .project-panel .tag {
    font-size: 9px;
  }
  .project-identity .game-cover {
    width: 64px;
    height: 77px;
  }
  .project-identity h2 {
    font-size: 22px;
  }
  .project-identity .subtle {
    font-size: 11px;
  }
  .project-stats strong {
    font-size: 25px;
  }
  .project-stats span {
    font-size: 10px;
  }
  .project-stats small {
    font-size: 10px;
  }
  .model-in-use strong {
    font-size: 12px;
  }
  .model-in-use span:not(.model-mini) {
    font-size: 9px;
  }
  .project-eta {
    font-size: 11px;
  }
  .project-panel .progress-label {
    font-size: 12px;
  }
  .project-panel .progress-label strong {
    font-size: 13px;
  }
  .project-panel .meter {
    height: 6px;
  }
  .project-panel .inline-notice {
    font-size: 12px;
  }
  .activity-panel {
    grid-column: 1/-1;
  }
  .activity-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
  }
  .activity-list li {
    padding-bottom: 0;
  }
  .activity-list li:before {
    display: none;
  }
  .right-rail .goal-panel,
  .right-rail .trend-panel {
    padding: 15px;
  }
  .trend-panel {
    align-items: flex-start;
    gap: 9px;
  }
  .trend-panel .eyebrow {
    font-size: 7px;
  }
  .trend-panel h2 {
    font-size: 14px;
  }
  .trend-panel p:last-child {
    font-size: 9px;
  }
  .trend-symbol {
    height: 29px;
    width: 29px;
    font-size: 20px;
  }
  .goal-panel h2 {
    font-size: 15px;
  }
  .goal-panel > p {
    font-size: 9px;
  }
  .goal-icon {
    font-size: 20px;
  }
  .goal-panel .panel-heading {
    margin-bottom: 9px;
  }
  .section-heading {
    margin-bottom: 18px;
  }
  .section-heading h1 {
    font-size: 27px;
    letter-spacing: -1px;
  }
  .section-heading .eyebrow {
    font-size: 7px;
    letter-spacing: 1.05px;
  }
  .section-subtitle {
    font-size: 11px;
    line-height: 1.6;
  }
  .section-heading > .button {
    margin: 0;
    font-size: 10px;
    min-height: 36px;
  }
  .room-scene {
    height: 400px;
  }
  .room-quote {
    top: 62px;
    width: 173px;
    padding: 11px 13px;
    right: 15px;
  }
  .room-quote p {
    font-size: 10px;
  }
  .room-scene-bottom h2 {
    font-size: 18px;
    max-width: 300px;
  }
  .room-caption {
    display: block;
    font-size: 7px;
  }
  .room-level {
    font-size: 8px;
  }
  .scene-label {
    font-size: 10px;
  }
  .hotspot-label {
    display: none;
  }
  .hotspot-dot {
    width: 25px;
    height: 25px;
  }
  .actions-heading {
    margin-top: 20px;
  }
  .actions-heading h2 {
    font-size: 12px;
  }
  .actions-heading .subtle {
    font-size: 8px;
  }
  .action-tile {
    padding: 13px 10px;
  }
  .action-tile strong {
    font-size: 10px;
  }
  .action-tile small {
    font-size: 8px;
  }
  .action-icon {
    width: 29px;
    height: 31px;
  }
  .pipeline-steps {
    flex-wrap: nowrap;
    gap: 0;
  }
  .pipeline-step {
    flex: 1 !important;
    font-size: 8px;
  }
  .pipeline-step:nth-child(2):after {
    display: block;
  }
  .pipeline-step:last-child {
    flex: 0 !important;
  }
  .pipeline-step:last-child:after {
    display: none;
  }
  .pipeline h2 {
    font-size: 11px;
  }
  .pipeline-caption {
    font-size: 9px;
  }
  .tutorial-strip {
    align-items: flex-start;
  }
  .tutorial-strip p {
    font-size: 9px;
    line-height: 1.6;
  }
  .tutorial-strip .button {
    font-size: 8px;
    margin-left: 0;
  }
  .tutorial-step {
    font-size: 10px;
  }
  .app-footer {
    font-size: 7px;
    align-items: flex-start;
    gap: 8px;
  }
  .footer-shortcuts {
    display: none !important;
  }
  .app-footer > span:nth-child(2) {
    display: block;
    font-size: 6px;
    text-align: right;
    max-width: 145px;
  }
  .release-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .release-cover {
    aspect-ratio: 1.1;
  }
  .release-score {
    gap: 8px;
  }
  .release-score-copy {
    font-size: 7px;
  }
  .release-card h3 {
    font-size: 14px;
  }
  .score {
    font-size: 23px;
  }
  .score small {
    font-size: 8px;
  }
  .release-meta {
    font-size: 8px;
  }
  .contracts-panel .tag {
    font-size: 8px;
  }
  .contracts-panel .panel-heading {
    gap: 10px;
  }
  .contracts-panel h2 {
    font-size: 16px;
  }
  .contract-copy h3 {
    font-size: 12px;
  }
  .contract-copy p {
    font-size: 10px;
  }
  .contract-row {
    gap: 12px;
  }
  .contract-copy > .subtle {
    font-size: 8px;
  }
  .stack-summary {
    padding: 18px;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 24px;
  }
  .stack-summary > div:nth-child(2) {
    max-width: calc(100% - 70px);
  }
  .stack-summary h2 {
    font-size: 20px;
  }
  .stack-summary p {
    font-size: 10px;
  }
  .stack-summary-stats {
    width: 100%;
    justify-content: space-between;
    margin: 5px 0 0;
    padding-top: 16px;
    border-top: 1px solid #43553c;
  }
  .stack-summary-stats > span {
    font-size: 23px;
  }
  .stack-summary-stats small {
    font-size: 9px;
  }
  .model-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .model-card {
    padding: 21px;
  }
  .model-card-top {
    margin-bottom: 15px;
  }
  .model-card h3 {
    font-size: 22px;
  }
  .model-tagline {
    min-height: 0;
    font-size: 12px;
    margin-top: 8px;
  }
  .model-attributes {
    margin: 6px 0 17px;
    padding: 14px 0;
  }
  .model-price > strong {
    font-size: 29px;
  }
  .model-price > span {
    font-size: 10px;
  }
  .model-card .button {
    font-size: 12px;
  }
  .model-attributes strong {
    font-size: 25px;
  }
  .model-attributes span {
    font-size: 10px;
  }
  .model-avatar {
    width: 44px;
    height: 44px;
    font-size: 32px;
  }
  .store-section-heading h2 {
    font-size: 20px;
  }
  .store-section-heading p {
    font-size: 10px;
  }
  .hardware-hero {
    display: block;
    height: auto;
  }
  .hardware-hero > img {
    width: 100%;
    height: 200px;
    mask-image:
      linear-gradient(
        180deg,
        #000 70%,
        transparent);
  }
  .hardware-hero-content {
    width: 100%;
    padding: 0 22px 25px;
  }
  .hardware-hero-content h2 {
    font-size: 26px;
  }
  .hardware-facts {
    margin-top: 18px;
  }
  .hardware-facts strong {
    font-size: 25px;
  }
  .hardware-grid {
    gap: 12px;
  }
  .hardware-card {
    padding: 16px;
  }
  .hardware-tier {
    align-items: flex-start;
  }
  .hardware-tier .eyebrow {
    font-size: 7px;
  }
  .hardware-tier .tag {
    font-size: 7px;
    padding: 4px;
  }
  .hardware-card h3 {
    font-size: 15px;
    min-height: 42px;
  }
  .hardware-card > p {
    font-size: 10px;
    min-height: 59px;
  }
  .hardware-specs {
    gap: 11px;
  }
  .hardware-specs > span {
    display: block;
    font-size: 8px;
  }
  .hardware-specs strong {
    display: block;
    text-align: left;
    max-width: 100%;
    font-size: 10px;
    margin-top: 4px;
  }
  .hardware-price {
    font-size: 22px;
  }
  .hardware-price small {
    font-size: 8px;
  }
  .hardware-card .button {
    font-size: 10px;
    padding: 10px 7px;
  }
  .hardware-glyph {
    height: 73px;
  }
  .hardware-goal h2 {
    font-size: 21px;
  }
  .hardware-goal p:not(.eyebrow) {
    font-size: 11px;
  }
  .research-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .research-card {
    padding: 23px;
  }
  .research-card h2 {
    font-size: 24px;
  }
  .research-card > p:not(.availability-note) {
    font-size: 12px;
    min-height: 0;
    margin-bottom: 20px;
  }
  .research-card-top {
    margin-bottom: 12px;
  }
  .research-number {
    font-size: 33px;
  }
  .research-effect {
    font-size: 11px;
  }
  .research-card-footer strong {
    font-size: 25px;
  }
  .xp-chip {
    padding: 10px 13px;
    flex-shrink: 0;
  }
  .xp-chip > span {
    font-size: 7px;
    letter-spacing: .9px;
  }
  .xp-chip strong {
    font-size: 23px;
  }
  .research-card .availability-note {
    font-size: 11px;
  }
  .achievements-panel {
    padding: 20px;
  }
  .achievement-grid {
    gap: 20px 15px;
  }
  .achievement-icon {
    font-size: 20px;
  }
  .achievement {
    gap: 8px;
  }
  .achievement strong {
    font-size: 10px;
  }
  .achievement p {
    font-size: 8px;
  }
  .finance-totals {
    grid-template-columns: 1fr;
    gap: 11px;
  }
  .finance-totals > div {
    padding: 19px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 7px;
  }
  .finance-totals strong {
    grid-column: 2;
    grid-row: 1/3;
    margin: 0;
    font-size: 28px;
  }
  .finance-totals .eyebrow {
    font-size: 8px;
  }
  .finance-totals small {
    grid-column: 1;
    font-size: 9px;
  }
  .finance-layout {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .chart-panel {
    padding: 21px 17px;
  }
  .chart-panel h2 {
    font-size: 21px;
  }
  .chart-panel .eyebrow {
    font-size: 8px;
  }
  .chart-legend {
    flex-direction: row;
    font-size: 8px;
  }
  .finance-chart {
    height: 220px;
    margin-top: 27px;
    gap: 10px;
  }
  .chart-plot {
    gap: 4px;
  }
  .chart-scale {
    font-size: 8px;
    min-width: 41px;
  }
  .chart-column > span {
    font-size: 8px;
  }
  .bills-panel {
    padding: 22px;
  }
  .bill-total {
    font-size: 44px;
  }
  .bill-line {
    font-size: 12px;
  }
  .bill-line strong {
    font-size: 14px;
  }
  .bill-note {
    font-size: 12px;
  }
  .ledger-panel {
    padding: 18px;
  }
  .ledger-panel .panel-heading {
    align-items: flex-start;
  }
  .ledger-panel .panel-heading h2 {
    font-size: 16px;
  }
  .ledger-panel .panel-heading .subtle {
    font-size: 8px;
  }
  .ledger-panel th,
  .ledger-panel td {
    padding: 11px 8px;
    font-size: 10px;
  }
  .ledger-panel thead th {
    font-size: 8px;
  }
  .debt-alert {
    font-size: 10px;
    display: block;
  }
  .debt-alert .button {
    margin-top: 10px;
  }
  .modal-backdrop {
    padding: 12px;
    align-items: center;
  }
  .modal {
    max-height: calc(100dvh - 24px);
    padding: 25px 22px;
    border-radius: 13px;
  }
  .modal > h2 {
    font-size: 26px;
  }
  .modal-lead {
    font-size: 11px;
    line-height: 1.7;
  }
  .onboarding-modal {
    padding: 30px 25px;
  }
  .onboarding-intro h2 {
    font-size: 46px;
    letter-spacing: -1.8px;
  }
  .onboarding-intro .eyebrow {
    font-size: 7px;
    letter-spacing: 1.1px;
  }
  .onboarding-intro > p {
    font-size: 12px;
  }
  .onboarding-rules {
    gap: 19px 15px;
    padding: 23px 0;
    margin: 25px 0;
  }
  .onboarding-rules > div {
    padding-left: 0;
  }
  .onboarding-rules > div > span {
    position: static;
    display: inline-block;
    font-size: 11px;
    margin-bottom: 10px;
  }
  .onboarding-rules h3 {
    font-size: 12px;
  }
  .onboarding-rules p {
    font-size: 10px;
  }
  .onboarding-footer {
    display: block;
  }
  .onboarding-footer > .button {
    width: 100%;
    font-size: 13px;
  }
  .onboarding-footer > p {
    margin-top: 14px;
    font-size: 9px;
    text-align: center;
  }
  .genre-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
  }
  .genre-choice > .game-cover {
    aspect-ratio: 1.22;
  }
  .genre-choice > span:not(.game-cover) {
    font-size: 10px;
  }
  .genre-choice > small {
    font-size: 7px;
  }
  .scope-grid {
    gap: 7px;
  }
  .scope-choice {
    padding: 10px 8px;
    gap: 7px;
  }
  .scope-choice strong {
    font-size: 10px;
  }
  .scope-choice > span {
    font-size: 16px;
  }
  .scope-choice > small {
    font-size: 8px;
  }
  .scope-choice span small {
    font-size: 7px;
  }
  .field-label {
    font-size: 10px;
    align-items: flex-start;
  }
  .field-label > span {
    font-size: 8px;
    text-align: right;
    max-width: 57%;
    line-height: 1.5;
  }
  .project-estimate {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .project-estimate > span:last-child {
    grid-column: 1/-1;
  }
  .project-estimate > span:last-child strong {
    font-size: 12px;
  }
  .modal-actions {
    gap: 8px;
    flex-wrap: wrap;
  }
  .modal-actions > .button {
    font-size: 11px;
    flex: 1;
  }
  .project-modal .modal-actions {
    flex-direction: column-reverse;
  }
  .project-modal .modal-actions > .button {
    width: 100%;
    flex: auto;
  }
  .project-modal .modal-actions > .button.ghost {
    border: 0;
  }
  .event-body {
    gap: 15px;
    align-items: flex-start;
  }
  .event-body > img {
    width: 72px;
    height: 72px;
    border-radius: 10px;
  }
  .event-body > p {
    font-size: 11px;
    line-height: 1.7;
  }
  .event-choice {
    padding: 15px 12px;
    gap: 10px;
  }
  .event-choice-index {
    font-size: 12px;
  }
  .event-choice-copy > strong {
    font-size: 12px;
  }
  .event-choice-copy > span:not(.choice-effects) {
    font-size: 10px;
  }
  .choice-effects {
    font-size: 9px;
    gap: 9px;
  }
  .event-kicker .subtle {
    font-size: 8px;
  }
  .help-sections h3 {
    font-size: 12px;
  }
  .help-sections p {
    font-size: 10px;
  }
  .keyboard-hints {
    gap: 12px;
  }
  .keyboard-hints > span {
    font-size: 9px;
  }
  .settings-row {
    gap: 15px;
  }
  .settings-row h3 {
    font-size: 12px;
  }
  .settings-row p {
    font-size: 10px;
  }
  .settings-row .button {
    font-size: 10px;
  }
  .settings-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .settings-section h3 {
    font-size: 14px;
  }
  .ending-art {
    height: 190px;
  }
  .ending-body {
    font-size: 11px;
  }
  .ending-stats {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .ending-stats strong {
    font-size: 27px;
  }
  .ending-stats span {
    font-size: 9px;
  }
  .ending-quote {
    font-size: 11px;
  }
  .toast {
    bottom: 15px;
    max-width: calc(100vw - 24px);
    padding: 11px;
    gap: 8px;
  }
  .toast p {
    font-size: 11px;
  }
  .toast-symbol {
    font-size: 16px;
  }
  .toast .icon-button {
    min-width: 22px;
    font-size: 17px;
  }
}
@media (max-width:390px) {
  .brand strong {
    font-size: 11px;
  }
  .brand small {
    font-size: 6px;
  }
  .topbar {
    padding: 13px;
  }
  .section-heading h1 {
    font-size: 24px;
  }
  .section-heading > .button {
    font-size: 9px;
    padding: 9px;
  }
  .resource {
    padding: 12px;
  }
  .resource-number {
    font-size: 24px;
  }
  .resource-label {
    font-size: 7px;
  }
  .resource-caption {
    font-size: 7px;
  }
  .room-scene {
    height: 340px;
  }
  .room-quote {
    width: 143px;
    right: 11px;
    top: 59px;
  }
  .room-quote p {
    font-size: 9px;
  }
  .room-scene-bottom h2 {
    font-size: 16px;
  }
  .room-caption {
    display: none;
  }
  .scene-label {
    font-size: 8px;
  }
  .room-level {
    font-size: 7px;
  }
  .action-tile {
    padding: 10px 8px;
    gap: 7px;
  }
  .action-icon {
    width: 23px;
    height: 27px;
  }
  .action-tile strong {
    font-size: 9px;
  }
  .action-tile small {
    font-size: 7px;
  }
  .pipeline-steps {
    flex-wrap: wrap;
    gap: 9px;
  }
  .pipeline-step,
  .pipeline-step:last-child {
    flex: calc(50% - 8px) !important;
  }
  .pipeline-step:nth-child(2):after {
    display: none;
  }
  .pipeline-step:last-child:after {
    content: "";
    flex: 1;
    display: block;
  }
  .right-rail {
    grid-template-columns: 1fr;
  }
  .right-rail .goal-panel,
  .right-rail .trend-panel {
    padding: 17px;
  }
  .goal-panel h2 {
    font-size: 19px;
  }
  .goal-panel > p {
    font-size: 11px;
  }
  .trend-panel h2 {
    font-size: 19px;
  }
  .trend-panel {
    align-items: center;
  }
  .activity-list {
    grid-template-columns: 1fr;
  }
  .release-grid {
    gap: 10px;
  }
  .release-meta {
    display: block;
  }
  .release-meta > span {
    display: block;
    margin: 2px 0;
  }
  .release-score-copy {
    display: none;
  }
  .onboarding-intro h2 {
    font-size: 40px;
  }
  .onboarding-rules h3 {
    font-size: 11px;
  }
  .onboarding-rules p {
    font-size: 9px;
  }
  .onboarding-modal {
    padding: 27px 22px;
  }
  .hardware-grid {
    grid-template-columns: 1fr;
  }
  .hardware-card h3 {
    min-height: 0;
    font-size: 20px;
  }
  .hardware-card > p {
    min-height: 0;
    font-size: 12px;
  }
  .hardware-specs > span {
    display: flex;
    align-items: center;
    font-size: 10px;
  }
  .hardware-specs strong {
    max-width: 55%;
    text-align: right;
    margin-top: 0;
    font-size: 10px;
  }
  .hardware-glyph {
    height: 90px;
  }
  .hardware-card .button {
    font-size: 12px;
  }
  .hardware-price {
    font-size: 28px;
  }
  .hardware-tier .eyebrow,
  .hardware-tier .tag {
    font-size: 9px;
  }
  .finance-totals strong {
    font-size: 23px;
  }
  .chart-legend {
    flex-direction: column;
    gap: 6px;
  }
  .chart-plot {
    gap: 2px;
  }
  .chart-bars {
    gap: 1px;
  }
  .research-effect {
    font-size: 10px;
  }
}
@media (min-width:1100px) and (max-height:820px) {
  .topbar {
    height: 62px;
  }
  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 19px;
  }
  .brand strong {
    font-size: 14px;
  }
  .brand small {
    font-size: 7px;
    margin-top: 3px;
  }
  .app-body {
    min-height: calc(100vh - 62px);
  }
  .sidebar {
    padding-top: 18px;
  }
  .nav-items {
    gap: 7px;
  }
  .nav-item {
    min-height: 59px;
  }
  .main-content {
    padding-top: 13px;
  }
  .resource {
    padding: 10px 19px;
  }
  .resource + .resource:before {
    top: 13px;
    bottom: 13px;
  }
  .resource-number {
    font-size: 25px;
    line-height: 1.35;
  }
  .resource-label {
    font-size: 8px;
  }
  .resource-detail {
    font-size: 9px;
  }
  .resource .meter {
    margin-top: 5px;
    height: 3px;
  }
  .tutorial-strip {
    margin-top: 8px;
    padding: 5px 10px;
    gap: 9px;
  }
  .tutorial-step {
    font-size: 10px;
    padding: 3px 4px;
  }
  .tutorial-strip p {
    font-size: 10px;
    line-height: 1.4;
  }
  .tutorial-strip .button {
    min-height: 24px;
    padding: 3px 0;
    font-size: 10px;
  }
  .page-content {
    padding: 14px 0 17px;
    min-height: 0;
  }
  .section-heading {
    min-height: 40px;
    margin-bottom: 12px;
    gap: 15px;
  }
  .section-heading .eyebrow {
    margin-bottom: 4px;
    font-size: 8px;
  }
  .section-heading h1 {
    font-size: 28px;
  }
  .section-heading > .button {
    margin-top: 0;
    min-height: 35px;
    padding: 8px 12px;
  }
  .section-subtitle {
    margin-top: 6px;
    font-size: 11px;
  }
  .room-scene {
    height: 300px;
  }
  .room-image {
    object-position: center 53%;
  }
  .room-scene-top {
    top: 12px;
    left: 16px;
    right: 16px;
  }
  .scene-label {
    padding: 5px 8px;
    font-size: 9px;
  }
  .room-quote {
    top: 48px;
    right: 18px;
    width: 177px;
    padding: 9px 12px;
  }
  .room-quote p {
    font-size: 10px;
  }
  .room-scene-bottom {
    bottom: 14px;
    left: 18px;
    right: 18px;
  }
  .room-scene-bottom .eyebrow {
    font-size: 7px;
    margin-bottom: 4px;
  }
  .room-scene-bottom h2 {
    font-size: 16px;
  }
  .room-caption {
    font-size: 7px;
  }
  .hotspot-rest {
    top: 53%;
  }
  .hotspot-computer {
    top: 44%;
  }
  .hotspot-hardware {
    top: 71%;
  }
  .actions-heading {
    margin: 11px 0 7px;
  }
  .actions-heading h2 {
    font-size: 11px;
  }
  .actions-heading .subtle {
    font-size: 8px;
  }
  .daily-actions {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
  }
  .action-tile {
    padding: 10px 8px;
    gap: 7px;
    min-height: 55px;
  }
  .action-icon {
    width: 22px;
    height: 27px;
    flex-shrink: 0;
    font-size: 17px;
  }
  .action-tile strong {
    font-size: 9px;
    line-height: 1.3;
    margin-bottom: 3px;
  }
  .action-tile small {
    font-size: 8px;
    line-height: 1.35;
  }
  .action-arrow {
    display: none;
  }
  .pipeline {
    padding: 12px 16px;
    margin-top: 10px;
  }
  .pipeline .panel-heading {
    margin-bottom: 10px;
  }
  .pipeline h2 {
    font-size: 11px;
  }
  .pipeline-steps {
    margin: 0;
  }
  .pipeline-step {
    font-size: 9px;
  }
  .pipeline-caption {
    font-size: 8px;
    margin-top: 9px;
  }
  .step-dot {
    width: 21px;
    height: 21px;
    min-width: 21px;
    font-size: 7px;
  }
  .right-rail {
    gap: 11px;
  }
  .right-rail > .panel {
    padding: 14px;
  }
  .right-rail .panel-heading {
    margin-bottom: 11px;
  }
  .project-placeholder {
    height: 61px;
    margin: 5px 0 13px;
    font-size: 28px;
  }
  .empty-project h2 {
    font-size: 18px;
  }
  .empty-project > p {
    font-size: 10px;
    margin: 9px 0 13px;
  }
  .empty-project-note {
    margin-top: 8px;
    font-size: 8px;
  }
  .project-identity {
    margin-bottom: 13px;
  }
  .project-identity .game-cover {
    width: 43px;
    height: 53px;
  }
  .project-identity h2 {
    font-size: 15px;
  }
  .project-stats {
    padding-bottom: 11px;
    margin-top: 11px;
  }
  .project-stats strong {
    font-size: 20px;
  }
  .model-in-use {
    margin: 10px 0;
  }
  .project-eta {
    margin: 9px 0 11px;
    font-size: 9px;
  }
  .project-panel > .button {
    min-height: 32px;
    font-size: 11px;
  }
  .project-panel > .button.text-button {
    min-height: 24px;
    font-size: 9px;
    padding: 5px 0;
  }
  .goal-panel h2 {
    font-size: 16px;
  }
  .goal-panel > p {
    font-size: 9px;
    margin: 7px 0 11px;
  }
  .trend-panel p:last-child {
    font-size: 8px;
  }
  .trend-symbol {
    width: 31px;
    height: 31px;
    font-size: 22px;
  }
  .activity-list li {
    padding-bottom: 8px;
  }
  .activity-list p {
    font-size: 9px;
  }
  .activity-list small {
    font-size: 7px;
    margin-top: 3px;
  }
  .app-footer {
    padding: 10px 0 12px;
  }
}
.save-json {
  width: 100%;
  height: 230px;
  resize: vertical;
  padding: 14px;
  background: #131d1d;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--mint);
  font: 11px/1.5 var(--mono);
  outline-color: var(--amber);
}
@media (prefers-reduced-motion:reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.energy-flow {
  font-size: 9px;
  color: #95aa96;
  line-height: 1.6;
  margin: 0 0 9px;
}
.energy-advice {
  padding: 10px 12px;
  font-size: 11px;
  line-height: 1.5;
  background: #48382c;
  border: 1px solid #7d5940;
  color: #ebc4a4;
  border-radius: 7px;
  margin-bottom: 9px;
}
.archive-button {
  margin-top: 9px;
}
.dlc-parent {
  font-size: 10px;
  color: var(--amber);
  line-height: 1.5;
  margin: -6px 0 13px;
}
.contract-active-requirement {
  font-size: 10px;
  color: var(--amber);
  line-height: 1.6;
  margin: 11px 0 7px;
}
.contract-active-requirement + .subtle {
  margin-bottom: 17px;
}
.free-mode-card {
  padding: 23px;
  display: flex;
  align-items: flex-start;
  gap: 19px;
  margin-bottom: 20px;
  background:
    linear-gradient(
      100deg,
      #2f3b2f,
      #232e29);
  border-color: #587355;
}
.free-mode-icon {
  width: 51px;
  height: 51px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font: 20px var(--mono);
  color: var(--mint);
  background: #354a36;
  border: 1px solid #668760;
  border-radius: 10px;
}
.free-mode-copy {
  flex: 1;
  min-width: 0;
}
.free-mode-copy .eyebrow {
  color: #9db892;
  font-size: 8px;
}
.free-mode-copy h2 {
  font-size: 23px;
  margin: 7px 0 10px;
}
.free-mode-copy p:not(.eyebrow) {
  font-size: 11px;
  color: #b7c4ab;
  margin-top: 7px;
  max-width: 660px;
}
.free-mode-spec {
  display: block;
  font: 10px var(--mono);
  color: #bdcbaa;
  margin-top: 13px;
}
.free-mode-action {
  width: 227px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.free-mode-action .button {
  font-size: 11px;
}
.free-mode-action > p {
  font-size: 9px;
  line-height: 1.6;
  color: #94a78e;
}
.project-library-column {
  min-width: 0;
}
.repository-panel {
  padding: 22px;
  margin-bottom: 20px;
}
.repository-panel > .section-subtitle {
  margin-top: -5px;
  margin-bottom: 18px;
  font-size: 11px;
}
.repository-panel h2 {
  margin-top: 5px;
  font-size: 19px;
}
.repository-panel .panel-heading {
  margin-bottom: 13px;
}
.repository-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.repository-item {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 15px;
}
.repository-item:first-child {
  border-top: 0;
  padding-top: 0;
}
.repository-item > .game-cover {
  width: 43px;
  height: 54px;
}
.repository-copy {
  flex: 1;
  min-width: 0;
}
.repository-title {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 10px;
}
.repository-title h3 {
  font-size: 13px;
  overflow-wrap: anywhere;
  line-height: 1.4;
}
.repository-title .tag {
  font-size: 8px;
}
.repository-copy > .progress-label {
  font-size: 8px;
  gap: 10px;
}
.repository-copy > .progress-label strong {
  font: 8px var(--font);
  color: var(--mint);
  white-space: nowrap;
}
.repository-copy > p {
  font-size: 9px;
  color: var(--amber);
  margin: -5px 0 9px;
}
.repository-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  flex-shrink: 0;
}
.repository-actions > .button {
  font-size: 9px;
}
.repository-empty {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 14px;
  border: 1px dashed #52684b;
  background: #26382b;
  border-radius: 8px;
}
.repository-empty > span {
  font: 28px var(--mono);
  color: #8aa87c;
}
.repository-empty > p {
  font-size: 11px;
  color: #a4b89c;
  line-height: 1.6;
}
.release-grid.lifecycle-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.release-lifecycle {
  background: #1b2924;
  border-color: #465a48;
  overflow: hidden;
}
.release-overview {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 19px;
}
.release-thumb {
  width: 65px;
  height: 76px;
  aspect-ratio: auto;
  box-shadow: 0 3px 9px #0003;
}
.release-heading {
  min-width: 0;
  flex: 1;
}
.release-heading .release-meta {
  font-size: 9px;
  gap: 9px;
  flex-wrap: wrap;
}
.release-heading h3 {
  font-size: 21px;
  margin: 9px 0 7px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.release-heading > p {
  font-size: 10px;
  color: #a6baa0;
  line-height: 1.5;
}
.release-rating {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
  gap: 5px;
}
.release-rating > strong {
  font: 30px var(--mono);
  color: var(--amber);
}
.release-rating > span {
  font: 8px var(--font);
  color: var(--muted);
}
.release-lifetime {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 19px;
  padding: 14px 0;
  border-top: 1px solid #3c5140;
  border-bottom: 1px solid #3c5140;
}
.release-lifetime > div > span {
  font-size: 8px;
  color: #93a98e;
  display: block;
}
.release-lifetime strong {
  display: block;
  font: 17px var(--mono);
  margin-top: 7px;
}
.release-lifetime strong small {
  font: 8px var(--font);
  color: var(--muted);
}
.release-history {
  padding: 20px 19px 0;
}
.release-history-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
}
.release-history h4 {
  font-weight: 500;
  font-size: 12px;
  margin: 0 0 5px;
}
.release-history-heading p {
  font-size: 8px;
  color: #8ca386;
}
.history-totals {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.history-totals strong {
  font: 15px var(--mono);
  color: var(--text);
}
.history-totals strong small {
  font: 8px var(--font);
  color: var(--muted);
}
.history-totals > span {
  font-size: 8px;
  color: #9fb596;
}
.sales-legend {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: 16px;
}
.sales-legend > span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 8px;
  color: #bdcab6;
}
.sales-legend i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 2px;
}
.release-chart {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 12px;
  overflow: visible;
}
.sales-axis-label {
  fill: #b4c4aa;
  font-size: 10px;
  font-family: var(--font);
}
.sales-tick {
  fill: #9db192;
  font-size: 10px;
  font-family: var(--mono);
}
.sales-gridline {
  stroke: #3c5140;
  stroke-dasharray: 3 4;
  stroke-width: .7;
}
.sales-axis {
  stroke: #6b815f;
  stroke-width: .8;
}
.sales-value {
  fill: #e0e6cc;
  font: 10px var(--mono);
}
.sales-day:hover {
  filter: brightness(1.17);
}
.history-provenance {
  font-size: 8px;
  color: #8ca584;
  line-height: 1.7;
  margin: 7px 0 15px;
}
.history-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 125px;
  border: 1px dashed #526647;
  border-radius: 7px;
  padding: 20px;
  margin: 17px 0;
  font-size: 11px;
  text-align: center;
  line-height: 1.7;
  color: #a0b596;
  background: #203326;
}
.history-details {
  border-top: 1px solid #3d5540;
}
.history-details > summary {
  list-style-position: inside;
  cursor: pointer;
  font-size: 10px;
  padding: 13px 0;
  color: #bfcca9;
}
.history-details > summary:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}
.history-details > summary > span {
  float: right;
  font: 8px var(--mono);
  color: #8da882;
  margin-top: 2px;
}
.history-table-scroll {
  overflow: auto;
  max-height: 220px;
  padding-bottom: 10px;
  scrollbar-width: thin;
  scrollbar-color: #5c7751 #263829;
}
.history-table-scroll table {
  font-size: 9px;
  min-width: 460px;
}
.history-table-scroll caption {
  text-align: left;
  white-space: normal;
  font-size: 9px;
  color: #9db58f;
  padding: 0 0 10px;
  line-height: 1.6;
}
.history-table-scroll th,
.history-table-scroll td {
  padding: 9px 8px;
  font-size: 9px;
  border-color: #3c513b;
}
.history-table-scroll thead th {
  font-size: 8px;
  background: #293d2b;
  position: sticky;
  top: 0;
}
.release-next-step {
  padding: 15px 19px;
  background: #28372b;
  border-top: 1px solid #40553f;
}
.release-support {
  display: flex;
  align-items: center;
  gap: 15px;
}
.release-support > div:first-child {
  min-width: 0;
  flex: 1;
}
.release-support strong {
  font-size: 11px;
  font-weight: 500;
}
.release-support p {
  font-size: 9px;
  line-height: 1.6;
  color: #a3b895;
  margin-top: 5px;
}
.release-support-actions {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 155px;
}
.release-support-actions > .button {
  font-size: 9px;
  min-height: 29px;
}
.release-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 16px;
}
.lifecycle-grid + .release-pagination {
  margin: 17px 0 0;
}
.release-pagination > span {
  font: 9px var(--mono);
  color: var(--muted);
  text-align: center;
}
.release-pagination > .button {
  font-size: 9px;
}
.contract-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.contract-title .tag {
  font-size: 8px;
  flex-shrink: 0;
}
.contract-conditions {
  display: flex;
  gap: 7px 13px;
  flex-wrap: wrap;
  margin-top: 9px;
}
.contract-conditions > span {
  font-size: 8px;
  color: #aac19d;
  line-height: 1.6;
}
.contract-conditions > span:last-child {
  color: var(--amber);
}
.contract-offer > .subtle {
  font-size: 8px;
  margin-top: -3px;
}
.contract-copy .availability-note {
  font-size: 9px;
  color: #c2aa87;
  line-height: 1.6;
  margin-top: 7px;
}
.release-modal-identity {
  display: flex;
  gap: 15px;
  align-items: center;
  margin: 23px 0 0;
}
.release-modal-identity > .game-cover {
  width: 60px;
  height: 73px;
}
.release-modal-identity h3 {
  font-size: 21px;
  line-height: 1.3;
  margin: 5px 0 7px;
  overflow-wrap: anywhere;
}
.release-modal-identity .eyebrow {
  font-size: 8px;
}
.release-modal-identity p {
  font-size: 10px;
  color: #a3b599;
}
.dlc-estimate {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  padding: 18px 0;
  border-top: 1px solid #4c6444;
  border-bottom: 1px solid #4c6444;
  margin: 19px 0;
}
.dlc-estimate > div > span {
  font-size: 9px;
  color: #a2b497;
  display: block;
}
.dlc-estimate strong {
  font: 21px var(--mono);
  display: block;
  margin-top: 8px;
  color: var(--amber);
}
.purchase-risk {
  font-size: 10px;
  color: #d3b993;
  line-height: 1.7;
  margin: 16px 0;
}
.campaign-modal {
  max-width: 810px;
}
.campaign-packages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 22px 0;
}
.campaign-package {
  padding: 20px;
  background: #2c3c2d;
  border: 1px solid #536b47;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
}
.campaign-package .panel-heading {
  align-items: flex-start;
  margin-bottom: 10px;
}
.campaign-package h3 {
  font-size: 17px;
  line-height: 1.3;
}
.campaign-package .tag {
  font-size: 8px;
}
.campaign-package > p:not(.purchase-risk):not(.availability-note) {
  font-size: 10px;
  color: #a8bc9e;
  line-height: 1.7;
}
.campaign-forecast {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}
.campaign-forecast > div > span {
  font-size: 9px;
  color: #a2b696;
  display: block;
}
.campaign-forecast strong {
  font: 22px var(--mono);
  margin-top: 6px;
  display: block;
}
.campaign-forecast > div:last-child strong {
  font-size: 18px;
}
.campaign-package .purchase-risk {
  font-size: 9px;
  line-height: 1.7;
  flex: 1;
}
.campaign-package > .button {
  font-size: 11px;
}
.campaign-running {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 16px;
  background: #354a34;
  border: 1px solid #6b875d;
  border-radius: 8px;
}
.campaign-running > div > strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
}
.campaign-running > div > span {
  display: block;
  font-size: 9px;
  margin-top: 7px;
  color: #b6c8a8;
}
.campaign-running > strong {
  font: 19px var(--mono);
}
.campaign-running > .meter {
  grid-column: 1/-1;
}
.campaign-cooldown-note {
  font-size: 10px;
  color: #9eb18f;
  line-height: 1.7;
}
.modal .subtle {
  line-height: 1.6;
}
@media (max-width:1150px) {
  .free-mode-card {
    flex-wrap: wrap;
  }
  .free-mode-action {
    width: 100%;
    display: grid;
    grid-template-columns: auto 240px;
    gap: 10px 20px;
    align-items: center;
    padding-left: 70px;
  }
  .free-mode-action > p {
    grid-column: 1/-1;
  }
  .free-mode-action > .tag {
    justify-self: start;
  }
  .release-lifetime strong {
    font-size: 15px;
  }
  .release-rating > strong {
    font-size: 26px;
  }
  .release-heading h3 {
    font-size: 18px;
  }
  .release-heading .release-meta {
    font-size: 8px;
  }
  .release-thumb {
    width: 54px;
    height: 67px;
  }
  .repository-item {
    flex-wrap: wrap;
  }
  .repository-actions {
    width: 100%;
    flex-direction: row;
    justify-content: flex-end;
    gap: 13px;
    margin-top: 0;
  }
  .repository-copy .progress-label {
    font-size: 9px;
  }
  .repository-copy .progress-label strong {
    font-size: 9px;
  }
}
@media (max-width:850px) {
  .release-overview {
    padding: 15px;
    gap: 11px;
  }
  .release-heading h3 {
    font-size: 17px;
  }
  .release-heading > p {
    font-size: 9px;
  }
  .release-rating > span {
    font-size: 7px;
  }
  .release-lifetime {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 0 15px;
  }
  .release-lifetime strong {
    font-size: 17px;
  }
  .release-history {
    padding: 17px 15px 0;
  }
  .release-support {
    flex-direction: column;
    align-items: stretch;
    gap: 13px;
  }
  .release-support-actions {
    flex-direction: row;
    min-width: 0;
    gap: 8px;
  }
  .release-support-actions > .button {
    flex: 1;
    font-size: 9px;
  }
  .release-next-step {
    padding: 15px;
  }
  .repository-panel {
    padding: 18px;
  }
  .repository-title h3 {
    font-size: 12px;
  }
  .repository-title .tag {
    font-size: 7px;
  }
  .contract-title {
    flex-direction: column;
    gap: 6px;
  }
  .contract-conditions {
    gap: 5px 11px;
  }
  .free-mode-card {
    padding: 20px;
  }
  .free-mode-copy h2 {
    font-size: 21px;
  }
}
@media (max-width:680px) {
  .energy-flow {
    font-size: 8px;
    line-height: 1.8;
  }
  .energy-advice {
    font-size: 10px;
  }
  .free-mode-card {
    gap: 13px;
    padding: 20px;
  }
  .free-mode-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  .free-mode-copy {
    flex-basis: calc(100% - 56px);
  }
  .free-mode-copy .eyebrow {
    font-size: 7px;
    line-height: 1.7;
  }
  .free-mode-copy h2 {
    font-size: 22px;
  }
  .free-mode-copy p:not(.eyebrow) {
    font-size: 10px;
  }
  .free-mode-spec {
    font-size: 9px;
    line-height: 1.7;
  }
  .free-mode-action {
    padding: 0;
    display: flex;
    align-items: flex-start;
    gap: 11px;
  }
  .free-mode-action .button {
    font-size: 12px;
  }
  .free-mode-action > p {
    font-size: 9px;
  }
  .repository-panel {
    padding: 18px;
    margin-bottom: 18px;
  }
  .repository-panel h2 {
    font-size: 18px;
  }
  .repository-panel .eyebrow {
    font-size: 7px;
  }
  .repository-panel > .section-subtitle {
    font-size: 10px;
  }
  .repository-empty > p {
    font-size: 10px;
  }
  .repository-item > .game-cover {
    width: 41px;
    height: 51px;
  }
  .repository-title {
    gap: 7px;
  }
  .repository-title h3 {
    font-size: 12px;
  }
  .repository-copy > .progress-label {
    font-size: 8px;
    flex-wrap: wrap;
    gap: 5px;
  }
  .repository-copy > .progress-label strong {
    font-size: 8px;
  }
  .repository-actions > .button {
    font-size: 10px;
  }
  .release-overview {
    padding: 15px;
    gap: 11px;
    align-items: flex-start;
  }
  .release-thumb {
    width: 52px;
    height: 66px;
  }
  .release-heading h3 {
    font-size: 18px;
    line-height: 1.3;
    margin: 8px 0;
  }
  .release-heading .release-meta {
    display: flex;
    font-size: 8px;
    gap: 5px;
  }
  .release-heading > p {
    font-size: 9px;
  }
  .release-rating > strong {
    font-size: 26px;
  }
  .release-rating > span {
    font-size: 7px;
    max-width: 40px;
    text-align: right;
  }
  .release-lifetime {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 0 15px;
  }
  .release-lifetime > div > span {
    font-size: 9px;
  }
  .release-lifetime strong {
    font-size: 19px;
  }
  .release-lifetime strong small {
    font-size: 9px;
  }
  .release-history {
    padding: 18px 15px 0;
  }
  .release-history h4 {
    font-size: 13px;
  }
  .release-history-heading p {
    font-size: 8px;
  }
  .history-totals strong {
    font-size: 14px;
  }
  .history-totals > span {
    font-size: 7px;
    text-align: right;
  }
  .release-chart {
    min-height: 155px;
  }
  .sales-legend {
    gap: 13px;
  }
  .sales-legend > span {
    font-size: 8px;
  }
  .history-provenance {
    font-size: 8px;
    line-height: 1.7;
  }
  .history-details > summary {
    font-size: 10px;
    padding: 14px 0;
  }
  .history-details > summary > span {
    font-size: 8px;
  }
  .history-table-scroll {
    max-height: 210px;
  }
  .release-support {
    gap: 12px;
  }
  .release-support strong {
    font-size: 12px;
  }
  .release-support p {
    font-size: 10px;
  }
  .release-support-actions > .button {
    font-size: 10px;
    min-height: 34px;
  }
  .release-pagination {
    gap: 7px;
  }
  .release-pagination > span {
    font-size: 8px;
    max-width: 120px;
    line-height: 1.6;
  }
  .release-pagination > .button {
    font-size: 9px;
    padding: 8px;
  }
  .contract-title {
    gap: 7px;
  }
  .contract-conditions > span {
    font-size: 9px;
  }
  .contract-offer > .subtle {
    font-size: 8px;
  }
  .contract-copy .availability-note {
    font-size: 9px;
  }
  .contract-active-requirement {
    font-size: 11px;
  }
  .dlc-parent {
    font-size: 11px;
  }
  .release-modal-identity {
    gap: 12px;
    margin-top: 22px;
  }
  .release-modal-identity > .game-cover {
    width: 50px;
    height: 63px;
  }
  .release-modal-identity h3 {
    font-size: 18px;
  }
  .release-modal-identity .eyebrow {
    font-size: 7px;
  }
  .release-modal-identity p {
    font-size: 9px;
  }
  .dlc-estimate {
    gap: 11px;
  }
  .dlc-estimate > div > span {
    font-size: 8px;
    line-height: 1.6;
  }
  .dlc-estimate strong {
    font-size: 17px;
  }
  .purchase-risk {
    font-size: 10px;
  }
  .campaign-packages {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .campaign-package {
    padding: 20px;
  }
  .campaign-package h3 {
    font-size: 20px;
  }
  .campaign-package > p:not(.purchase-risk):not(.availability-note) {
    font-size: 11px;
  }
  .campaign-forecast strong {
    font-size: 25px;
  }
  .campaign-forecast > div > span {
    font-size: 10px;
  }
  .campaign-forecast > div:last-child strong {
    font-size: 21px;
  }
  .campaign-package .purchase-risk {
    font-size: 10px;
  }
  .campaign-package > .button {
    font-size: 12px;
  }
  .campaign-running > div > strong {
    font-size: 12px;
  }
  .campaign-running > div > span {
    font-size: 8px;
  }
  .campaign-running > strong {
    font-size: 16px;
  }
  .campaign-cooldown-note {
    font-size: 10px;
  }
}
@media (min-width:1100px) and (max-height:820px) {
  .energy-flow {
    font-size: 8px;
    margin-bottom: 6px;
  }
  .energy-advice {
    padding: 7px 10px;
    font-size: 10px;
    margin-bottom: 7px;
  }
  .project-panel > .archive-button {
    margin-top: 7px;
    min-height: 29px;
    font-size: 9px;
  }
  .contract-active-requirement {
    font-size: 9px;
    margin: 8px 0 5px;
  }
  .contract-active-requirement + .subtle {
    margin-bottom: 11px;
  }
  .dlc-parent {
    font-size: 9px;
    margin-bottom: 10px;
  }
}
@media (max-width:600px) {
  .sales-tick,
  .sales-axis-label,
  .sales-value {
    font-size: 24px;
  }
  .sales-tick {
    font-family: var(--font);
  }
  .sales-value {
    transform: translateY(7px);
  }
  .sales-axis-label:last-child {
    transform: translateY(10px);
  }
  .release-chart {
    margin-bottom: 20px;
  }
}
