body[data-theme="classic"] {
  --text: var(--skin-ink);
  --muted: var(--mid-muted);
  --gold: var(--skin-gold);
  --t-panel2: var(--mid-surface);
  --t-muted: var(--mid-muted);
  --t-text: var(--skin-ink);
  --t-accent: var(--skin-gold);
  --t-button-end: var(--mid-active);
  --t-button-ink: var(--skin-ink);
}
body[data-theme="classic"] :is(.game, .hud, .workshops, .workshop-header, .dock, .dock > button, .panel, .panel-header, .confirm, .machine-row, .shop-card, .reward-card, .collection-card) {
  border-color: var(--skin-edge);
}
body[data-theme="classic"] :is(.rates b, .rates .icon, .hud-tools .icon, .workshop-title h1, .panel-header h2, .panel-header #panel-extra, .machine-rate, .dock > button > .icon, .dock .shop-balance, .shop-card h3, .reward-card h3) {
  color: var(--skin-gold);
}
body[data-theme="classic"] :is(.rates small, .machine-level, .machine-rate small, .shop-card p, .panel-note, .collection-card small, .confirm p) {
  color: var(--mid-muted);
}
body[data-theme="classic"] :is(.machine-name, .dock > button, .panel, .confirm, .panel-header .icon-button) {
  color: var(--skin-ink);
}
body[data-theme="classic"] :is(.quantities button, .secondary-button, .collection-tabs button, .autoclick-toggle, .magic-button small) {
  color: var(--skin-ink);
  border-color: var(--skin-edge);
  background: var(--mid-surface);
}
body[data-theme="classic"] :is(.machine-buy, .primary-button):not(:disabled),
body[data-theme="classic"] :is(.quantities button.active, .collection-tabs button[aria-selected=true], .dock > button.claimable, .dock #rebirth-open.ready) {
  background: var(--skin-button);
  color: var(--mid-button-ink);
  border-color: var(--skin-edge);
  box-shadow: inset 0 1px #fff3, inset 0 -1px #0003;
}
body[data-theme="classic"] .machine-buy:disabled {
  background: var(--mid-surface);
  color: var(--mid-muted);
  border-color: var(--mid-metal);
}
body[data-theme="classic"] :is(.machine-row.best-choice, .shop-card.owned, .collection-card.won, .collection-card.caught) {
  background: var(--mid-active);
  box-shadow: inset 3px 0 var(--skin-gold);
}
body[data-theme="classic"] .machine-row.locked {
  background: var(--mid-surface);
  color: var(--mid-muted);
}
body[data-theme="classic"] .recommended > .icon {
  fill: var(--skin-gold);
  stroke: var(--skin-edge);
}
body[data-theme="classic"] :is(.click-upgrade-control, .location-label, .autoclick-control, .buff-stack .buff, .mvp-countdown:not(.active):not(.urgent), .confirm, .shop-card.owned .primary-button) {
  background: var(--skin-panel);
  border-color: var(--skin-edge);
  color: var(--skin-ink);
}
body[data-theme="classic"] :is(.scene-top .location-label > .icon, .magic-button:not(:disabled), .buff-stack .buff > .icon) {
  color: var(--skin-gold);
}
body[data-theme="classic"] :is(.discovery-track > div, .progress-track > div, .milestone > i) {
  background: var(--skin-strip);
}
body[data-theme="classic"] :is(.machine-buy, .primary-button, .dock > button, .shop-card, .reward-card, .machine-row) {
  border-radius: var(--skin-radius);
}
body[data-theme="classic"] .dock { box-shadow: inset 0 1px var(--mid-metal); }
body[data-theme="classic"] .panel-header { box-shadow: inset 0 -2px var(--mid-metal); }
body[data-theme="classic"] .shop-card:not(.owned) { box-shadow: var(--skin-row-shadow); }
body[data-theme="classic"] .machine-buy:not(:disabled):hover,
body[data-theme="classic"] .dock > button:not(.claimable):not(.ready):is(:hover, .active) {
  background: var(--mid-active);
  color: var(--skin-ink);
  border-color: var(--skin-gold);
}
body[data-theme="classic"] button:focus-visible { outline-color: var(--skin-gold); }

/* The ornament is painted into the unused centre of the header on wide screens. */
@media (min-width: 761px) {
  body[data-theme][data-theme="classic"] .hud {
    background: var(--mid-ornament) center / auto 94% no-repeat, var(--skin-hud);
  }
}
