:root {
  color-scheme: dark;
  --bg: #1b211a;
  --panel: #252b22;
  --line: #535c40;
  --text: #e4e7d9;
  --muted: #a0a88f;
  --accent: #d4dfa2;
  --olive: #b8c986;
  --red: #d88c79;
  --blue: #a8c4b4;
  font-family:
    -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    sans-serif;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #11160f;
}
body {
  overscroll-behavior: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  touch-action: manipulation;
  outline-offset: 5px;
}
button:focus-visible {
  outline: 2px solid var(--accent);
}
button:disabled {
  cursor: default;
}
button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
button:enabled {
  transition:
    background 0.15s,
    border-color 0.15s,
    color 0.15s,
    transform 0.15s;
}
button:active:enabled {
  transform: translateY(1px);
}
[hidden] {
  display: none !important;
}
#viewport {
  position: absolute;
  inset: env(safe-area-inset-top) env(safe-area-inset-right)
    env(safe-area-inset-bottom) env(safe-area-inset-left);
  overflow: hidden;
}
#stage {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1280px;
  height: 720px;
  transform: translate(-50%, -50%) scale(var(--scale, 1));
  transform-origin: center;
  overflow: hidden;
  background: var(--bg);
}
#phaser-root,
#phaser-root canvas {
  position: absolute;
  inset: 0;
  width: 1280px !important;
  height: 720px !important;
  touch-action: none;
}
#phaser-root {
  z-index: 0;
}
.svg-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.screen {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.screen button,
.screen nav,
.command-panel {
  pointer-events: auto;
}
.screen-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.2' filter='url(%23n)'/%3E%3C/svg%3E");
}
.masthead {
  height: 78px;
  position: absolute;
  top: 0;
  left: 36px;
  right: 36px;
  display: flex;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid #626d433b;
  font-size: 14px;
  letter-spacing: 2px;
  color: #b4bca5;
}
.brand-mark {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--accent);
  margin-right: 3px;
}
.brand-mark > span {
  font-weight: 300;
  margin: 0 3px;
  opacity: 0.5;
}
.mast-divider {
  height: 14px;
  width: 1px;
  background: #626d4370;
  margin: 0 1px;
}
.en-label {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #879174;
}
.header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  letter-spacing: 1px;
}
.status-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--olive);
  box-shadow: 0 0 8px #b8c98630;
  margin-right: 3px;
}
.menu-card {
  position: absolute;
  left: 407px;
  top: 104px;
  width: 466px;
  height: 544px;
  background: linear-gradient(125deg, #2b3128f8, #21271ffb);
  border: 1px solid #71805570;
  box-shadow:
    0 20px 100px #0005,
    0 0 0 6px #1b211a77;
  display: flex;
  align-items: center;
  flex-direction: column;
}
.menu-card:before,
.menu-card:after {
  content: "+";
  position: absolute;
  color: #87976d;
  font: 18px monospace;
  top: -11px;
}
.menu-card:before {
  left: -7px;
}
.menu-card:after {
  right: -7px;
}
.card-topline {
  width: 100%;
  padding: 13px 18px;
  border-bottom: 1px solid #5962434d;
  display: flex;
  justify-content: space-between;
  color: #8d987d;
  font-size: 10px;
  letter-spacing: 2px;
}
.serial {
  font-family: monospace;
  font-size: 10px;
  letter-spacing: 1px;
}
.title-emblem {
  position: relative;
  width: 50px;
  height: 50px;
  margin-top: 19px;
  display: grid;
  place-items: center;
  color: #d8e0b4;
}
.title-emblem svg {
  width: 37px;
  height: 37px;
  fill: currentColor;
  position: relative;
  z-index: 1;
}
.title-emblem:before,
.title-emblem:after {
  content: "";
  position: absolute;
  border: 1px solid #6c795073;
  inset: 0;
  transform: rotate(45deg);
}
.title-emblem:after {
  inset: 5px;
  border-color: #7c8c6140;
}
.title-kicker {
  font:
    10px ui-monospace,
    monospace;
  letter-spacing: 5px;
  margin: 15px 0 4px;
  color: #9eae80;
}
.menu-card h1 {
  margin: 0;
  color: #edf0df;
  font-size: 35px;
  font-weight: 800;
  letter-spacing: 2px;
}
.title-colon {
  font-weight: 400;
  letter-spacing: -9px;
  margin: 0 7px 0 -3px;
}
.prototype-title {
  font-weight: 400;
  color: #bdc5a5;
  font-size: 29px;
}
.version {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #899779;
  font:
    10px ui-monospace,
    monospace;
  letter-spacing: 1px;
  margin-top: 9px;
}
.version span {
  width: 28px;
  height: 1px;
  background: #6d794b6e;
}
.main-actions {
  display: flex;
  flex-direction: column;
  gap: 9px;
  width: 376px;
  margin-top: 24px;
}
.menu-button {
  display: flex;
  align-items: center;
  width: 100%;
  height: 50px;
  text-align: left;
  padding: 0 17px;
  position: relative;
  background: #30392c;
  border: 1px solid #69774a58;
  color: #d6ddc5;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 2px;
}
.menu-button.primary {
  height: 65px;
  margin-bottom: 1px;
}
.primary {
  border: 1px solid #d4dfa2;
  background: var(--accent);
  color: #2b3521;
  font-weight: 700;
}
.primary:hover:enabled {
  background: #e3edb7;
}
.menu-button:enabled:not(.primary):hover {
  background: #414d36;
  border-color: #9ba975;
}
.menu-button .action-number {
  font:
    11px ui-monospace,
    monospace;
  letter-spacing: 0;
  opacity: 0.5;
  margin-right: 22px;
}
.menu-button small {
  display: block;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 1px;
  margin-top: 5px;
  color: #5e6b46;
}
.menu-button > svg {
  margin-left: auto;
  width: 19px;
  height: 19px;
}
.menu-button:disabled {
  opacity: 0.4;
  background: #2a3027;
  border-color: #66704a45;
}
.menu-button:disabled small {
  color: #b2bba3;
}
.dev-tag {
  font-size: 9px;
  letter-spacing: 1px;
  font-weight: 400;
  color: #929f7a;
  border: 1px solid #68755160;
  padding: 3px 5px;
  position: absolute;
  right: 47px;
}
.menu-utilities {
  display: flex;
  justify-content: space-between;
  width: 376px;
  margin-top: 19px;
  padding-top: 13px;
  border-top: 1px solid #626d433d;
}
.menu-utilities button {
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #a5b28a;
  font-size: 10px;
  letter-spacing: 1px;
  padding: 5px 2px;
}
.menu-utilities svg {
  width: 17px;
  height: 17px;
}
.menu-utilities button:hover {
  color: #e5edc8;
}
.map-note {
  position: absolute;
  color: #8e9a7b;
}
.note-left {
  left: 72px;
  top: 235px;
}
.tiny-label {
  font-size: 10px;
  letter-spacing: 2px;
  color: #9ca888;
}
.map-note strong {
  display: block;
  font-size: 29px;
  font-weight: 400;
  letter-spacing: 9px;
  color: #b5bf9b;
  margin: 13px 0;
}
.note-left > span:last-of-type {
  font:
    10px ui-monospace,
    monospace;
  letter-spacing: 2px;
}
.note-line {
  height: 1px;
  width: 38px;
  background: #87986a;
  margin: 24px 0 17px;
}
.map-note p {
  font-size: 12px;
  line-height: 2.1;
  letter-spacing: 3px;
  color: #8e9a7b;
}
.note-right {
  right: 61px;
  top: 349px;
  width: 251px;
}
.cross-coordinate {
  display: block;
  color: #b4bd91;
  font:
    33px ui-monospace,
    monospace;
  margin-bottom: 27px;
}
.scenario-chip {
  color: #c6cfb2;
  letter-spacing: 6px;
  font-size: 23px;
  margin-top: 12px;
}
.note-right p {
  font-size: 10px;
  letter-spacing: 2px;
  margin-top: 7px;
}
.faction-key {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  letter-spacing: 1px;
  margin-top: 33px;
}
.faction-key i {
  width: 6px;
  height: 6px;
  background: var(--blue);
}
.faction-key i:last-of-type {
  background: var(--red);
}
.faction-key > span {
  font: 9px monospace;
  color: #68745a;
  margin: 0 4px;
}
.menu-footer {
  position: absolute;
  bottom: 0;
  left: 36px;
  right: 36px;
  height: 47px;
  border-top: 1px solid #626d433b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #8b9779;
  font-size: 10px;
  letter-spacing: 1px;
}
.keyboard-chip {
  font-size: 9px;
  border: 1px solid #6c79505c;
  padding: 4px 7px;
  margin-right: 11px;
  color: #a7b18f;
}
.menu-footer button {
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #b3bd9f;
  font-size: 11px;
}
.menu-footer button svg {
  height: 15px;
  width: 15px;
}
.footer-build {
  font:
    10px ui-monospace,
    "Microsoft YaHei",
    monospace;
  opacity: 0.65;
}
/* 战术界面 */
.game-header {
  height: 94px;
  background: #20271ed9;
  border-bottom: 1px solid #67734a55;
  display: flex;
  align-items: center;
  padding: 0 31px;
  gap: 21px;
}
.icon-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: #30392c;
  border: 1px solid #64704b60;
  color: #b8c49f;
}
.icon-button:hover {
  background: #424e36;
}
.game-divider {
  height: 32px;
  width: 1px;
  background: #65704755;
}
.operation-heading h2 {
  margin: 5px 0 0;
  font-size: 23px;
  letter-spacing: 4px;
  font-weight: 600;
}
.operation-heading .tiny-label {
  font-size: 9px;
  letter-spacing: 1.5px;
}
.objective {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 11px;
  color: #94a181;
  margin-left: 45px;
  letter-spacing: 1px;
}
.objective svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.objective strong {
  font-weight: 400;
  color: #c9d0b7;
  margin-left: 4px;
}
.turn-header {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 26px;
}
.phase-badge {
  border: 1px solid #7f998b66;
  color: #b1cdbc;
  background: #90af9c11;
  padding: 9px 14px;
  font-size: 12px;
  letter-spacing: 2px;
}
.phase-badge.enemy {
  border-color: #c8877766;
  background: #cd827311;
  color: #dea393;
}
.turn-label {
  font-size: 10px;
  letter-spacing: 1px;
  color: #91a080;
  display: flex;
  align-items: center;
  gap: 12px;
}
.turn-label strong {
  font:
    29px ui-monospace,
    monospace;
  color: #dee5c8;
  font-weight: 400;
}
.board-heading {
  position: absolute;
  top: 114px;
  left: 37px;
  width: 729px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 2px;
  color: #c8d0b4;
}
.board-heading > span:last-child {
  font-size: 10px;
  letter-spacing: 1px;
  color: #a6b292;
}
.board-heading small {
  font:
    9px ui-monospace,
    monospace;
  letter-spacing: 1px;
  color: #77896b;
  margin-left: 12px;
}
.board-heading .status-dot {
  margin-right: 8px;
}
.blue-dot,
.red-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--blue);
  margin-right: 7px;
}
.red-dot {
  background: var(--red);
  margin-left: 15px;
}
.map-bottom {
  position: absolute;
  top: 654px;
  left: 38px;
  width: 729px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #92a17d;
  letter-spacing: 1px;
}
.map-bottom > span {
  display: flex;
  align-items: center;
}
.legend-cell {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  border: 1px solid;
}
.move-legend {
  background: #a7c68a30;
  border-color: #adc38b88;
}
.attack-legend {
  background: #db8b7340;
  border-color: #db8b7388;
  margin-left: 16px;
}
.forest-legend {
  background: #606f43;
  border-color: #7a8858;
  margin-left: 16px;
}
#hover-cell {
  font:
    10px ui-monospace,
    "Microsoft YaHei",
    monospace;
}
.command-panel {
  position: absolute;
  top: 114px;
  left: 805px;
  right: 32px;
  bottom: 50px;
  display: flex;
  flex-direction: column;
  border: 1px solid #5d6d424d;
  background: #232b21ee;
}
.panel-section {
  padding: 18px 21px;
  border-bottom: 1px solid #68754d3d;
}
.forces > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.live-label {
  font-size: 9px;
  color: #8eaa83;
  letter-spacing: 2px;
}
.force-count {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;
}
.force-count > span {
  font-size: 11px;
  color: #b4c19f;
  display: flex;
  align-items: center;
}
.force-count strong {
  font:
    23px ui-monospace,
    monospace;
  margin-left: 19px;
  color: #dce4c8;
}
.force-count .red-dot {
  margin-left: 0;
}
.force-count > i {
  height: 22px;
  width: 1px;
  background: #5b6d3e66;
}
.unit-inspector {
  min-height: 217px;
}
.unit-empty {
  height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.unit-empty svg {
  width: 35px;
  height: 35px;
  fill: none;
  stroke: #879c6f;
  stroke-width: 1;
  margin-bottom: 12px;
}
.unit-empty h3 {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 2px;
  margin: 0;
  color: #c3d1af;
}
.unit-empty p {
  font-size: 11px;
  color: #8e9e7c;
  line-height: 1.9;
  margin: 8px 0 0;
}
.unit-heading {
  display: flex;
  align-items: center;
  gap: 13px;
}
.unit-icon {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  background: #71857433;
  border: 1px solid #8fa18e55;
  color: #bed1be;
}
.unit-icon svg {
  height: 33px;
  width: 33px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.unit-icon .tank-icon {
  fill: currentColor;
  stroke: none;
}
.enemy-unit .unit-icon {
  background: #b1796933;
  border-color: #b1796955;
  color: #dfa794;
}
.unit-title h3 {
  font-size: 17px;
  letter-spacing: 1px;
  font-weight: 600;
  margin: 0 0 5px;
}
.unit-title span {
  font-size: 10px;
  color: #98ab87;
  letter-spacing: 1px;
}
.unit-side {
  margin-left: auto;
  font-size: 10px;
  color: #a6bfae;
  border: 1px solid #7d948455;
  padding: 4px 7px;
}
.enemy-unit .unit-side {
  color: #d49c8a;
  border-color: #b1796955;
}
.health-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  color: #9dac8a;
  font-size: 10px;
}
.health-track {
  flex: 1;
  height: 4px;
  background: #131b15;
}
.health-track span {
  display: block;
  height: 100%;
  background: #adc590;
}
.health-row strong {
  font:
    11px ui-monospace,
    monospace;
  min-width: 55px;
  text-align: right;
  color: #c6d3b1;
}
.unit-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 17px;
}
.unit-stats > div {
  font-size: 10px;
  letter-spacing: 1px;
  color: #93a47e;
  border-right: 1px solid #6c7a4e40;
  padding-left: 19px;
}
.unit-stats > div:first-child {
  padding-left: 0;
}
.unit-stats > div:last-child {
  border: 0;
}
.unit-stats b {
  display: block;
  font:
    19px ui-monospace,
    monospace;
  color: #d1ddbc;
  margin-top: 5px;
}
.unit-stats small {
  font-size: 10px;
  margin-left: 3px;
  color: #8d9b78;
}
.unit-status {
  font-size: 10px;
  letter-spacing: 1px;
  color: #a1b78a;
  margin: 13px 0 0;
}
.unit-status span + span {
  margin-left: 15px;
}
.unit-status .spent {
  color: #76816d;
}
.combat-log {
  flex: 1;
  min-height: 100px;
  overflow: hidden;
  padding-top: 15px;
  padding-bottom: 10px;
}
.section-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 2px;
  color: #b2c09e;
}
.section-label .en-label {
  font-size: 9px;
  color: #7e906e;
}
#log-items {
  margin-top: 12px;
}
#log-items p {
  font-size: 10px;
  line-height: 1.65;
  letter-spacing: 0.3px;
  margin: 0 0 6px;
  color: #8f9f7e;
}
#log-items p:first-child {
  color: #c0ceac;
}
#log-items time {
  font: 9px monospace;
  color: #6e865c;
  margin-right: 9px;
}
.turn-actions {
  padding: 17px 21px 12px;
}
.end-turn {
  height: 55px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 17px;
  text-align: left;
  font-size: 17px;
  letter-spacing: 2px;
}
.end-turn small {
  display: block;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 1px;
  margin-top: 4px;
  color: #5b6a42;
}
.end-turn:disabled {
  background: #4c5940;
  border-color: #62724f;
  color: #92a080;
}
.end-turn:disabled small {
  color: #9eac8e;
}
.save-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 9px;
  letter-spacing: 0.5px;
  color: #80956e;
}
.save-row .status-dot {
  height: 4px;
  width: 4px;
}
.save-row button {
  border: 0;
  background: transparent;
  color: #a9bb91;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  padding: 3px 0;
}
.save-row svg {
  height: 12px;
  width: 12px;
}
.game-footer {
  position: absolute;
  bottom: 0;
  left: 32px;
  right: 32px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #6a77483b;
  font-size: 10px;
  color: #98ac83;
  letter-spacing: 1px;
}
.game-footer > span:last-child {
  font-size: 9px;
  color: #708560;
}
kbd {
  font:
    9px ui-monospace,
    monospace;
  border: 1px solid #657a474d;
  padding: 2px 5px;
  color: #94a87c;
}
.footer-separator {
  margin: 0 12px;
  color: #536844;
}
/* 通用弹窗和占位页 */
.modal-backdrop {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: #0c130bd4;
  display: grid;
  place-items: center;
  backdrop-filter: blur(4px);
  pointer-events: auto;
}
.modal {
  width: 470px;
  max-height: 660px;
  overflow: auto;
  background: linear-gradient(130deg, #30392a, #242c21);
  border: 1px solid #8e9e666e;
  padding: 30px;
  box-shadow: 0 20px 80px #0006;
}
.modal-eyebrow {
  font:
    9px ui-monospace,
    "Microsoft YaHei",
    monospace;
  letter-spacing: 2px;
  color: #8a9d72;
  margin-bottom: 22px;
}
.modal h2 {
  font-size: 26px;
  letter-spacing: 3px;
  font-weight: 600;
  margin: 0 0 13px;
}
.modal p {
  font-size: 13px;
  line-height: 1.9;
  color: #a9b995;
  margin: 10px 0;
}
.modal-actions {
  display: flex;
  gap: 11px;
  margin-top: 24px;
}
.modal-actions button {
  flex: 1;
  border: 1px solid #81926066;
  background: #3b4930;
  color: #c5d1b1;
  min-height: 45px;
  padding: 10px 15px;
  letter-spacing: 2px;
  font-size: 13px;
}
.modal-actions button.primary {
  background: var(--accent);
  color: #2b3521;
}
.modal-actions button:hover {
  filter: brightness(1.12);
}
.help-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  counter-reset: help;
}
.help-list li {
  font-size: 12px;
  line-height: 1.8;
  color: #b5c2a3;
  margin: 13px 0;
  padding-left: 29px;
  position: relative;
}
.help-list li:before {
  counter-increment: help;
  content: "0" counter(help);
  font: 10px monospace;
  color: #879f6c;
  position: absolute;
  left: 0;
  top: 5px;
}
.help-list strong {
  color: #d6e0c3;
  font-weight: 500;
}
.battle-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0;
  border-top: 1px solid #6d805049;
  border-bottom: 1px solid #6d805049;
  margin: 19px 0;
}
.battle-unit {
  font-size: 13px;
  line-height: 1.8;
}
.battle-unit small {
  display: block;
  color: #8fa77a;
  font-size: 10px;
}
.battle-arrow {
  color: #93a979;
  font-size: 20px;
}
.damage-label {
  text-align: center;
  font-size: 10px;
  color: #9eaf87;
  letter-spacing: 2px;
}
.damage-value {
  text-align: center;
  font:
    54px ui-monospace,
    monospace;
  color: #dfb19a;
  margin: 3px 0;
}
.battle-outcome {
  text-align: center;
  color: #c7d5ae;
  font-size: 12px;
  line-height: 1.9;
}
.battle-outcome strong {
  color: #e3c49d;
}
.setting-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #6d805044;
  font-size: 13px;
}
.setting-row span small {
  display: block;
  font-size: 10px;
  color: #93a77e;
  margin-top: 5px;
}
.setting-row button {
  background: #435334;
  border: 1px solid #7b915b;
  color: #d3dfbd;
  font-size: 11px;
  min-width: 73px;
  padding: 8px 10px;
}
.setting-row input {
  accent-color: var(--olive);
  width: 20px;
  height: 20px;
  cursor: pointer;
}
.placeholder-screen {
  background: #17201366;
  display: grid;
  place-items: center;
}
.placeholder-card {
  width: 480px;
  background: #252e22f5;
  border: 1px solid #7e915767;
  text-align: center;
  padding: 37px;
  pointer-events: auto;
}
.placeholder-icon {
  margin: 30px auto 22px;
  width: 75px;
  height: 75px;
  background: #93a97012;
  border: 1px solid #7f94534f;
  display: grid;
  place-items: center;
}
.placeholder-icon svg {
  width: 32px;
  height: 32px;
  stroke: #b6c597;
  fill: none;
  stroke-width: 1;
}
.placeholder-card h2 {
  font-size: 30px;
  letter-spacing: 6px;
  margin: 0 0 17px;
}
.development-label {
  font-size: 10px;
  letter-spacing: 3px;
  padding: 5px 10px;
  border: 1px solid #a6b77660;
  color: #b6c58e;
}
.placeholder-card p {
  font-size: 13px;
  line-height: 2;
  color: #9eb08a;
  margin: 27px 0 30px;
}
.placeholder-card button {
  padding: 14px 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  font-size: 13px;
  letter-spacing: 2px;
}
.placeholder-card button svg {
  width: 17px;
  height: 17px;
}
.placeholder-build {
  display: block;
  font: 9px monospace;
  letter-spacing: 2px;
  color: #738761;
  margin-top: 27px;
}
.toast {
  position: absolute;
  z-index: 20;
  bottom: 61px;
  left: 50%;
  transform: translateX(-50%);
  background: #dae4bb;
  color: #2e3b24;
  border: 1px solid #edf4da;
  padding: 12px 21px;
  font-size: 12px;
  letter-spacing: 1px;
  box-shadow: 0 5px 30px #0004;
  max-width: 660px;
  text-align: center;
  pointer-events: none;
}
.boot-error {
  position: absolute;
  inset: 0;
  z-index: 30;
  background: #1c2418;
  color: #e8edda;
  padding: 100px;
  font-size: 20px;
}
#rotate-tip {
  display: none;
}
noscript {
  position: fixed;
  inset: 0;
  background: #1c2418;
  color: #fff;
  padding: 40px;
  z-index: 100;
}
@media (orientation: portrait) and (max-width: 700px) {
  #rotate-tip {
    position: fixed;
    inset: 0;
    background: #1d2619;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #cad6b3;
    padding: 30px;
    text-align: center;
  }
  #rotate-tip svg {
    width: 65px;
    height: 65px;
    color: #a6bb88;
    margin-bottom: 20px;
  }
  #rotate-tip h2 {
    font-size: 19px;
    letter-spacing: 3px;
    font-weight: 500;
  }
  #rotate-tip p {
    font-size: 12px;
    letter-spacing: 1px;
    color: #8da477;
  }
}
@media (prefers-reduced-motion: reduce) {
  button:enabled {
    transition: none;
  }
}
