
    :root {
      color-scheme: dark;
      font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
      background: #07110f;
      color: #e8f4e9;
      font-synthesis: none;
      text-rendering: optimizeLegibility;
    }

    * { box-sizing: border-box; }

    body {
      min-width: 320px;
      min-height: 100vh;
      margin: 0;
      overflow-x: hidden;
      background:
        radial-gradient(ellipse at 50% 30%, #16312a 0, #0b1c18 42%, #050b0a 100%);
    }

    body::before {
      position: fixed;
      inset: 0;
      z-index: -1;
      background-image: radial-gradient(#a6d7a4 0.7px, transparent 0.7px);
      background-size: 37px 37px;
      opacity: .13;
      content: "";
      mask-image: linear-gradient(to bottom, #000, transparent 85%);
    }

    .page {
      width: min(100% - 32px, 1020px);
      margin: 0 auto;
      padding: 28px 0 32px;
    }

    header {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 20px;
      margin: 0 0 20px;
    }

    .eyebrow {
      margin: 0 0 6px;
      color: #9dc6a3;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: .24em;
      text-transform: uppercase;
    }

    h1 {
      margin: 0;
      color: #f3f5dd;
      font-size: clamp(25px, 5vw, 40px);
      font-weight: 800;
      letter-spacing: .07em;
      text-shadow: 0 0 22px #b3db7d55;
    }

    .subtitle {
      margin: 7px 0 0;
      color: #9db4a4;
      font-size: 13px;
      letter-spacing: .04em;
    }

    .badge {
      flex: 0 0 auto;
      padding: 8px 12px;
      border: 1px solid #68886470;
      border-radius: 999px;
      color: #b7d786;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: .12em;
      box-shadow: inset 0 0 14px #83a85d16, 0 0 18px #83a85d10;
    }

    .machine {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 248px;
      overflow: hidden;
      border: 1px solid #7fa47b55;
      border-radius: 16px;
      background: linear-gradient(145deg, #1d312a, #101c19 58%, #0b1412);
      box-shadow: 0 26px 70px #0009, inset 0 1px #e3f2d51c;
    }

    .table-wrap {
      position: relative;
      display: grid;
      place-items: center;
      min-height: 600px;
      padding: 18px;
      background:
        radial-gradient(ellipse at 50% 48%, #31412a38, transparent 65%),
        linear-gradient(135deg, #13221d, #0d1714);
    }

    .end-overlay {
      position: absolute;
      inset: 18px;
      z-index: 1;
      display: grid;
      place-content: center;
      gap: 8px;
      border: 1px solid #d5e59b99;
      border-radius: 12px;
      background: #07110fd9;
      text-align: center;
      backdrop-filter: blur(4px);
    }

    .end-overlay[hidden] { display: none; }

    .end-overlay strong {
      color: #e7edcc;
      font-size: clamp(20px, 4vw, 30px);
      letter-spacing: .12em;
      text-shadow: 0 0 20px #c5df8e88;
    }

    .end-overlay span {
      color: #b6c8a9;
      font-size: 13px;
    }

    canvas {
      display: block;
      width: min(100%, 520px);
      height: auto;
      aspect-ratio: 520 / 720;
      border: 2px solid #9bae657d;
      border-radius: 12px;
      background: #10251c;
      box-shadow: 0 0 0 5px #0a110e, 0 12px 35px #0009, 0 0 32px #9fbf4d20;
      touch-action: manipulation;
    }

    aside {
      display: flex;
      flex-direction: column;
      padding: 23px 20px;
      border-left: 1px solid #ffffff12;
      background: linear-gradient(180deg, #182720, #101a17);
    }

    .panel-label {
      margin: 0 0 7px;
      color: #91a99a;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: .2em;
    }

    .score {
      margin: 0;
      color: #d9e8a4;
      font-size: clamp(30px, 4vw, 42px);
      font-variant-numeric: tabular-nums;
      font-weight: 800;
      letter-spacing: .06em;
      text-shadow: 0 0 20px #c3e47b38;
    }

    .record {
      margin: 7px 0 0;
      color: #a7b3a5;
      font-size: 12px;
    }

    .divider {
      height: 1px;
      margin: 22px 0;
      background: linear-gradient(90deg, #a5c67b55, transparent);
    }

    .status-card {
      padding: 13px 14px;
      border: 1px solid #849d6838;
      border-radius: 10px;
      background: #0c151280;
    }

    .status {
      margin: 0;
      color: #e7edcc;
      font-size: 15px;
      font-weight: 700;
    }

    .status-hint {
      margin: 5px 0 0;
      color: #94a797;
      font-size: 11px;
      line-height: 1.6;
    }

    .lives {
      display: flex;
      gap: 8px;
      margin: 17px 0 0;
    }

    .life {
      width: 10px;
      height: 10px;
      border: 1px solid #d5e59b;
      border-radius: 50%;
      background: #d5e59b;
      box-shadow: 0 0 10px #d5e59b75;
    }

    .life.lost {
      border-color: #5d6b5b;
      background: transparent;
      box-shadow: none;
    }

    .launch {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 9px;
      min-height: 48px;
      margin-top: 20px;
      border: 1px solid #cfdf8c;
      border-radius: 9px;
      background: linear-gradient(180deg, #d6e8a2, #a7c477);
      color: #172117;
      font: inherit;
      font-size: 13px;
      font-weight: 800;
      cursor: pointer;
      box-shadow: 0 4px 18px #b8d77d24, inset 0 1px #fff9;
      transition: transform .12s, filter .12s;
    }

    .launch:hover { filter: brightness(1.08); }
    .launch:active { transform: translateY(2px); }
    .launch:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

    .launch kbd, kbd {
      padding: 2px 6px;
      border: 1px solid #44564a;
      border-radius: 4px;
      background: #17221c;
      color: #d3e2be;
      font: 10px "Segoe UI", sans-serif;
      box-shadow: 0 2px #0a100d;
    }

    .controls-title {
      margin: auto 0 10px;
      color: #d4dfca;
      font-size: 12px;
      font-weight: 700;
    }

    .control-row {
      display: grid;
      grid-template-columns: 1fr auto;
      align-items: center;
      gap: 12px;
      padding: 9px 0;
      border-bottom: 1px solid #ffffff0d;
      color: #9aab9e;
      font-size: 11px;
    }

    .control-row:last-of-type { border-bottom: 0; }

    .key-group { display: flex; gap: 5px; }

    .footer-note {
      margin: 18px 0 0;
      color: #758c7e;
      font-size: 10px;
      line-height: 1.7;
    }

    @media (max-width: 760px) {
      .page { width: min(100% - 20px, 540px); padding-top: 18px; }
      .machine { grid-template-columns: 1fr; }
      .table-wrap { min-height: auto; padding: 13px; }
      canvas { width: min(100%, 470px); }
      aside {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px 18px;
        padding: 17px;
        border-top: 1px solid #ffffff12;
        border-left: 0;
      }
      .score-block { grid-row: span 2; }
      .divider { display: none; }
      .status-card { grid-column: 2; }
      .lives { margin-top: 0; }
      .launch { grid-column: 1 / -1; margin-top: 2px; }
      .controls-title, .control-row, .footer-note { display: none; }
      .badge { display: none; }
    }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
    }

    /* ---- 博客外壳 ---- */
    .blog-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      flex-wrap: wrap;
      width: min(100% - 32px, 1020px);
      margin: 0 auto;
      padding: 22px 0 4px;
    }
    .bt-brand { display: flex; align-items: center; gap: 11px; color: #e8f4e9; text-decoration: none; }
    .bt-mark {
      display: grid;
      width: 38px;
      height: 38px;
      place-items: center;
      border: 1px solid #7fa47b4d;
      border-radius: 12px;
      color: #b7d786;
      background: #83a85d14;
    }
    .bt-name { display: block; font-size: 14px; font-weight: 750; letter-spacing: .02em; }
    .bt-cap { display: block; margin-top: 2px; color: #8ea795; font-size: 10px; letter-spacing: .16em; }
    .bt-back {
      padding: 8px 13px;
      border: 1px solid #7fa47b4d;
      border-radius: 999px;
      color: #a9c5a1;
      background: #ffffff06;
      font-size: 12px;
      font-weight: 700;
      text-decoration: none;
      white-space: nowrap;
      transition: color .15s ease, border-color .15s ease;
    }
    .bt-back:hover { color: #d9e8a4; border-color: #cfdf8c80; }
    .bt-back:focus-visible { outline: 2px solid #d9e8a4; outline-offset: 3px; }
    .blog-foot {
      width: min(100% - 32px, 1020px);
      margin: 0 auto;
      padding: 4px 0 26px;
      color: #758c7e;
      font-size: 11px;
      line-height: 2;
      text-align: center;
    }
    .blog-foot a { color: #9db4a4; text-decoration: none; margin: 0 3px; }
    .blog-foot a:hover { color: #d9e8a4; }
  