:root {
  color-scheme:dark;
  --bg:#070a12;
  --panel:#111827;
  --border:#2b354b;
  --muted:#9da9c0;
  --text:#eff3ff;
  --neon:#a8f2db;
  --pink:#ff738a;
  --orange:#ffad76;
  --violet:#a59cff;
  font-family:Consolas,'Segoe UI',Tahoma,sans-serif
}
* {
  box-sizing:border-box
}
html {
  min-height:100%;
  background:var(--bg)
}
body {
  margin:0;
  color:var(--text);
  min-height:100vh;
  background:radial-gradient(ellipse at 12% 0,#1a2440 0,transparent 41%),radial-gradient(ellipse at 90% 80%,#18152e 0,transparent 41%),#070b14;
  overflow-x:hidden
}
button {
  font:inherit;
  cursor:pointer
}
button:focus-visible {
  outline:2px solid #c9f9e7;
  outline-offset:3px
}
button:disabled {
  opacity:.42;
  cursor:default
}
.site-noise {
  position:fixed;
  inset:0;
  opacity:.035;
  pointer-events:none;
  background-image:url('data:image/svg+xml,%3Csvg viewBox=%220 0 200 200%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cfilter id=%22n%22%3E%3CfeTurbulence type=%22fractalNoise%22 baseFrequency=%22.8%22 numOctaves=%223%22 stitchTiles=%22stitch%22/%3E%3C/filter%3E%3Crect width=%22100%25%22 height=%22100%25%22 filter=%22url(%23n)%22 opacity=%22.8%22/%3E%3C/svg%3E');
  z-index:20
}
.app {
  max-width:1288px;
  margin:0 auto;
  padding:19px 28px 20px
}
.header {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  margin-bottom:15px
}
.identity {
  display:flex;
  align-items:center;
  gap:12px
}
.logo-mark {
  display:grid;
  grid-template-columns:repeat(2,11px);
  grid-template-rows:repeat(2,11px);
  gap:3px;
  transform:rotate(-8deg)
}
.logo-mark i {
  background:#a8f2db;
  display:block
}
.logo-mark i:nth-child(2) {
  opacity:.45
}
.logo-mark i:nth-child(3) {
  opacity:.75
}
.logo-mark i:nth-child(4) {
  background:#ff738a
}
.identity-copy {
  display:flex;
  flex-direction:column;
  gap:3px
}
.identity strong {
  font-size:18px;
  letter-spacing:.1em;
  font-weight:900
}
.identity strong span {
  color:#ff7a97
}
.identity small {
  font-size:9px;
  letter-spacing:.16em;
  color:var(--muted);
  font-weight:750
}
.header-right {
  display:flex;
  align-items:center;
  gap:10px
}
.offline {
  display:flex;
  align-items:center;
  gap:8px;
  color:#b4c4d7;
  border:1px solid #253548;
  padding:10px 13px;
  font-size:10px;
  letter-spacing:.07em;
  font-weight:800;
  background:#131c2b99
}
.signal {
  width:7px;
  height:7px;
  display:inline-block;
  border-radius:50%;
  background:#a2f4c9;
  box-shadow:0 0 10px #78ffd3
}
.header-btn {
  background:#131c2b99;
  color:#cdd7e5;
  border:1px solid #253548;
  font-size:10px;
  font-weight:800;
  letter-spacing:.055em;
  padding:10px 13px;
  min-height:36px;
  transition:background .2s,border .2s
}
.header-btn:hover:not(:disabled) {
  background:#20324a;
  border-color:#5a7990
}
.game-shell {
  border:1px solid #33415c;
  box-shadow:0 25px 100px #0009,0 0 0 4px #10182888;
  overflow:hidden;
  background:#0a111e
}
.stage {
  width:100%;
  aspect-ratio:1200 / 675;
  position:relative;
  overflow:hidden;
  background:#0b1225;
  isolation:isolate
}
canvas {
  display:block;
  width:100%;
  height:100%;
  cursor:crosshair;
  touch-action:manipulation
}
.vignette {
  pointer-events:none;
  position:absolute;
  inset:0;
  box-shadow:inset 0 0 110px 26px #060a1f8e,inset 0 0 12px #02040b9e
}
.scanlines {
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.17;
  background:repeating-linear-gradient(0deg,transparent 0px,transparent 3px,#03070c 4px,#03070c 5px);
  mix-blend-mode:multiply
}
.damage-flash {
  pointer-events:none;
  position:absolute;
  inset:0;
  opacity:0;
  background:radial-gradient(ellipse,#ff375332, #ff37531c 50%,#da2d57aa);
  transition:opacity .15s
}
.damage-flash.active {
  opacity:1
}
.hud {
  position:absolute;
  inset:20px 24px auto;
  z-index:3;
  pointer-events:none
}
.hud-top {
  display:flex;
  gap:8px;
  align-items:stretch
}
.hud-chip {
  min-width:105px;
  display:flex;
  flex-direction:column;
  gap:5px;
  background:#081120c9;
  border:1px solid #3e526a;
  backdrop-filter:blur(7px);
  padding:8px 11px 9px
}
.hud-kicker {
  color:#9babc0;
  font-size:9px;
  font-weight:800;
  letter-spacing:.15em
}
.hud-chip strong {
  font-size:21px;
  font-family:Consolas,monospace;
  line-height:1;
  font-weight:900;
  letter-spacing:.04em
}
.hud-chip strong em {
  font-size:13px;
  letter-spacing:0;
  font-style:normal;
  color:#a3b1cb
}
.hud-score strong {
  color:#a9ffe1
}
.hud-combo strong {
  color:#ffd097
}
.hud-lives strong {
  color:#ff849a;
  letter-spacing:.05em;
  font-size:17px
}
.time-wrap {
  width:min(390px,48%);
  margin-top:11px;
  background:#0a1020b8;
  padding:9px 11px 11px;
  border:1px solid #394960
}
.time-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:9px;
  letter-spacing:.07em;
  color:#aebed1;
  font-weight:800;
  margin-bottom:7px
}
.time-head span:last-child {
  color:#e1f2fd
}
.time-track {
  height:5px;
  background:#28334a;
  overflow:hidden
}
.time-fill {
  width:100%;
  height:100%;
  transform-origin:left;
  background:linear-gradient(90deg,#73d9bf,#c4fff1);
  box-shadow:0 0 14px #83efc0
}
.time-fill.urgent {
  background:linear-gradient(90deg,#fe7182,#ffb785);
  box-shadow:0 0 14px #fe7182
}
.overlay {
  position:absolute;
  inset:0;
  z-index:5
}
.intro {
  display:flex;
  background:linear-gradient(90deg,#080d1af2 0,#101326ed 41%,#0c1029a8 64%,transparent 100%)
}
.intro:after {
  content:"";
  pointer-events:none;
  position:absolute;
  top:0;
  bottom:0;
  left:54%;
  width:1px;
  background:linear-gradient(transparent,#a8f2db6b,transparent);
  opacity:.75
}
.intro-content {
  width:57%;
  padding:clamp(25px,3.8vw,53px) clamp(28px,4vw,55px);
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  position:relative;
  z-index:2
}
.eyebrow {
  font-size:11px;
  color:#a5f2d7;
  font-weight:900;
  letter-spacing:.13em;
  display:flex;
  align-items:center;
  gap:12px
}
.eyebrow-line {
  display:block;
  width:22px;
  height:2px;
  background:#96f1d2
}
.intro h1 {
  font-size:clamp(45px,6.6vw,92px);
  letter-spacing:-.057em;
  line-height:1.02;
  white-space:nowrap;
  margin:12px 0 4px;
  font-family:'Arial Black','Segoe UI',sans-serif;
  font-weight:1000;
  text-shadow:0 8px 30px #000b
}
.intro h1 span {
  color:#ff8298
}
.title-dot {
  color:#b4fae8
}
.hero-tagline {
  font-size:clamp(16px,1.8vw,24px);
  line-height:1.3;
  font-weight:750;
  letter-spacing:.018em;
  margin:4px 0 17px
}
.hero-tagline em {
  color:#e6c6ee;
  font-style:normal
}
.briefing {
  max-width:520px;
  display:flex;
  align-items:flex-start;
  gap:12px;
  border-left:2px solid #8ff1c7;
  background:#1a243aa8;
  padding:12px 14px 11px;
  margin-bottom:18px
}
.brief-icon {
  flex:none;
  background:#9bebd0;
  color:#102735;
  border-radius:50%;
  font-size:13px;
  font-weight:900;
  height:21px;
  width:21px;
  display:grid;
  place-items:center
}
.briefing p {
  margin:0;
  font-size:12px;
  line-height:1.6;
  color:#d7dfed
}
.briefing b {
  color:#f8fff9
}
.howto {
  display:flex;
  flex-wrap:wrap;
  gap:10px 20px;
  margin-bottom:20px
}
.howto-item {
  display:flex;
  align-items:center;
  gap:8px;
  font-size:11px;
  color:#ccd6e6
}
.howto-item b {
  color:#fff
}
.keycap {
  display:inline-grid;
  place-items:center;
  font-family:Consolas,monospace;
  font-size:10px;
  font-weight:900;
  border:1px solid #8490a2;
  background:#253148;
  color:#fff;
  min-height:24px;
  min-width:40px;
  padding:2px 6px;
  box-shadow:0 3px 0 #0c111c;
  letter-spacing:.025em
}
.keycap.mouse {
  min-width:24px
}
.heart-mini {
  color:#ff7b97;
  font-size:12px;
  letter-spacing:.08em
}
.primary-btn {
  border:0;
  background:#a5f5d8;
  color:#092333;
  font-size:13px;
  letter-spacing:.055em;
  font-weight:1000;
  padding:17px 19px;
  box-shadow:5px 5px 0 #385767;
  transition:transform .12s,box-shadow .12s,background .12s
}
.primary-btn:hover {
  transform:translate(2px,2px);
  box-shadow:3px 3px 0 #385767;
  background:#c0ffeb
}
.primary-btn:active {
  transform:translate(5px,5px);
  box-shadow:none
}
.primary-btn span {
  margin-left:22px;
  font-size:16px
}
.intro-footnote {
  font-family:Consolas,monospace;
  font-size:10px;
  color:#a8b4c9;
  letter-spacing:.05em;
  margin-top:18px
}
.intro-side-label {
  position:absolute;
  z-index:1;
  bottom:27px;
  right:29px;
  font-family:Consolas,monospace;
  font-size:11px;
  font-weight:900;
  letter-spacing:.09em;
  color:#c3d1eb;
  background:#0b1329ad;
  padding:10px;
  border:1px solid #4d617e
}
.rec-dot {
  display:inline-block;
  margin-left:6px;
  width:7px;
  height:7px;
  border-radius:50%;
  background:#ff7894;
  box-shadow:0 0 12px #e45175
}
.bottom-panel {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  min-height:78px;
  background:linear-gradient(90deg,#101927,#131d2e);
  padding:12px 20px;
  border-top:1px solid #34435c
}
.objective {
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0
}
.objective-icon {
  font-size:30px;
  font-weight:600;
  color:#a6f4d5
}
.objective>div {
  display:flex;
  flex-direction:column;
  gap:5px
}
.objective b {
  font-size:12px;
  letter-spacing:.075em
}
.objective span {
  font-size:11px;
  color:#aebbd0
}
.bottom-actions {
  display:flex;
  align-items:center;
  gap:18px;
  flex:none
}
.hotkey-note {
  font-size:10px;
  font-family:Consolas,monospace;
  color:#7e91ab;
  letter-spacing:.05em
}
.normal-btn {
  padding:11px 15px;
  min-width:226px;
  border:1px solid #758a9c;
  color:#eaf2fc;
  background:#2b364b;
  font-size:11px;
  font-weight:900;
  letter-spacing:.045em;
  transition:background .16s,transform .16s
}
.normal-btn:not(:disabled):hover {
  background:#46617b;
  transform:translateY(-1px)
}
.key-in-button {
  margin-right:7px;
  min-height:22px;
  min-width:43px;
  background:#192233;
  box-shadow:none;
  border-color:#7789a0
}
.site-footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:12px;
  padding:19px 1px 0;
  color:#8c9cb4;
  font-family:Consolas,monospace;
  font-size:10px;
  letter-spacing:.045em
}
.site-footer strong {
  color:#d0deec
}
.footer-dash {
  color:#a8f2db
}
.footer-sep {
  margin:0 10px;
  color:#50637d
}
.feedback {
  position:absolute;
  z-index:4;
  left:50%;
  top:24%;
  transform:translateX(-50%);
  display:flex;
  align-items:center;
  gap:13px;
  min-width:300px;
  padding:14px 20px;
  border:1px solid #9cead2;
  background:#0e2530ed;
  box-shadow:0 0 60px #000b,0 0 25px #7deac22b
}
.feedback.wrong {
  background:#3a1b32ed;
  border-color:#fc8c99
}
.feedback-symbol {
  width:39px;
  height:39px;
  background:#b6f5dc;
  color:#062332;
  display:grid;
  place-items:center;
  font-size:26px;
  font-weight:900
}
.feedback.wrong .feedback-symbol {
  color:#351023;
  background:#ff94a8
}
.feedback-title {
  font-size:15px;
  letter-spacing:.08em;
  font-weight:900
}
.feedback-detail {
  font-family:Consolas,monospace;
  font-size:11px;
  color:#b8d8df;
  margin-top:4px
}
.chapter-banner {
  position:absolute;
  z-index:4;
  left:50%;
  top:48%;
  transform:translate(-50%,-50%);
  pointer-events:none;
  white-space:nowrap;
  border-top:1px solid #ef88a1;
  border-bottom:1px solid #ef88a1;
  background:#150f25d9;
  color:#ffd6df;
  letter-spacing:.15em;
  font:900 clamp(13px,2.6vw,25px) Consolas,monospace;
  padding:14px 20px;
  text-shadow:0 0 20px #f36c9c
}
.pause-overlay {
  display:grid;
  place-items:center;
  background:#070c1dd4;
  backdrop-filter:blur(6px)
}
.modal-box {
  text-align:center;
  padding:38px 49px;
  background:#11192a;
  border:1px solid #617b91;
  box-shadow:0 20px 70px #0008
}
.modal-eyebrow {
  font-size:11px;
  letter-spacing:.16em;
  color:#a7f4d8;
  font-weight:900
}
.modal-box h2 {
  font-size:30px;
  letter-spacing:-.02em
}
.modal-box p {
  color:#b8c7d7;
  font-size:13px;
  margin-bottom:25px
}
.outro {
  display:grid;
  place-items:center;
  background:#070e1ddf;
  backdrop-filter:blur(5px);
  padding:24px
}
.result-card {
  width:min(610px,94%);
  max-height:96%;
  overflow-y:auto;
  padding:22px 30px 24px;
  border:1px solid #6a8ba0;
  background:linear-gradient(140deg,#172638,#111527 70%);
  box-shadow:0 18px 75px #000c,0 0 40px #90ffd011;
  position:relative;
  text-align:center
}
.result-card:before {
  content:"";
  pointer-events:none;
  position:absolute;
  inset:7px;
  border:1px solid #ffffff0e
}
.result-topline {
  display:flex;
  justify-content:space-between;
  font:800 10px Consolas,monospace;
  letter-spacing:.07em;
  color:#8ba4b8
}
.live-mark {
  color:#a2eac7
}
.result-symbol {
  font-size:44px;
  color:#b6f7dd;
  margin:4px auto 0
}
.result-card h2 {
  font-size:29px;
  letter-spacing:-.02em;
  margin:2px 0 6px
}
.result-card p {
  font-size:12px;
  color:#b9c8dd;
  line-height:1.5;
  margin:0 0 12px
}
.result-score {
  display:flex;
  flex-direction:column;
  gap:0;
  border-top:1px solid #384961;
  border-bottom:1px solid #384961;
  padding:12px 0 13px;
  margin:9px 0 16px
}
.result-score span {
  font-size:10px;
  color:#a7b6ca;
  letter-spacing:.15em;
  font-weight:900
}
.result-score strong {
  font:900 60px/1.1 Consolas,monospace;
  color:#a6f3d5;
  text-shadow:0 0 27px #80f8c23b
}
.result-score small {
  font:800 10px Consolas,monospace;
  letter-spacing:.08em;
  color:#ffba85
}
.result-stats {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:11px;
  margin-bottom:21px
}
.result-stats>div {
  background:#0c1728;
  border:1px solid #2c435c;
  display:flex;
  flex-direction:column;
  gap:7px;
  padding:10px 6px
}
.result-stats small {
  color:#98afc7;
  font-size:9px;
  letter-spacing:.055em;
  font-weight:800
}
.result-stats strong {
  font:900 21px Consolas,monospace
}
.result-buttons {
  display:flex;
  gap:13px;
  justify-content:center;
  align-items:stretch
}
.result-buttons .primary-btn {
  font-size:12px
}
.result-buttons .primary-btn span {
  margin-left:8px
}
.secondary-btn {
  font:900 11px Consolas,monospace;
  letter-spacing:.02em;
  color:#d4e0f1;
  border:1px solid #6a899a;
  background:transparent;
  padding:13px
}
.secondary-btn:hover {
  background:#293e55
}
.result-card .result-hint {
  margin:15px 0 0;
  font:11px Consolas,monospace;
  color:#9baec2
}
.hidden {
  display:none!important
}
.noscript {
  position:fixed;
  inset:auto 0 0;
  background:#d62c59;
  padding:15px;
  text-align:center;
  color:#fff;
  z-index:50
}
@media (max-width:880px) {
  .app {
    padding:12px 12px 20px
  }
  .header-right .offline {
    display:none
  }
  .intro-content {
    padding:20px 30px;
    width:68%
  }
  .intro h1 {
    font-size:clamp(38px,6vw,70px)
  }
  .hero-tagline {
    font-size:17px
  }
  .briefing {
    margin-bottom:12px;
    padding:9px
  }
  .briefing p {
    font-size:11px
  }
  .howto {
    margin-bottom:14px;
    gap:8px
  }
  .hud {
    inset:12px 14px auto
  }
  .hud-chip {
    min-width:86px;
    padding:7px
  }
  .hud-chip strong {
    font-size:16px
  }
  .time-wrap {
    margin-top:7px
  }
}
@media (max-width:620px) {
  .identity small {
    font-size:8px
  }
  .identity strong {
    font-size:14px
  }
  .header-btn {
    padding:8px;
    font-size:9px
  }
  .header-btn span {
    display:none
  }
  .intro:after {
    display:none
  }
  .intro {
    background:linear-gradient(90deg,#0a1020f9,#10142cd8)
  }
  .intro-content {
    width:100%;
    padding:14px 18px
  }
  .eyebrow {
    font-size:8px
  }
  .intro h1 {
    margin-top:6px;
    font-size:clamp(31px,8vw,50px)
  }
  .hero-tagline {
    font-size:12px;
    margin-bottom:8px
  }
  .briefing {
    padding:7px 9px;
    margin-bottom:8px
  }
  .briefing p {
    font-size:9px;
    line-height:1.3
  }
  .brief-icon {
    height:16px;
    width:16px;
    font-size:10px
  }
  .howto {
    margin-bottom:8px
  }
  .howto-item {
    font-size:8px
  }
  .howto-item .keycap {
    min-height:18px;
    font-size:8px
  }
  .intro-footnote,.intro-side-label {
    display:none
  }
  .intro .primary-btn {
    font-size:10px;
    padding:8px 12px
  }
  .intro .primary-btn span {
    margin-left:8px
  }
  .bottom-panel {
    padding:10px;
    gap:7px;
    min-height:65px
  }
  .objective-icon,.hotkey-note {
    display:none
  }
  .objective b {
    font-size:9px
  }
  .objective span {
    font-size:9px
  }
  .normal-btn {
    min-width:130px;
    padding:9px 7px;
    font-size:9px
  }
  .key-in-button {
    font-size:8px;
    min-width:30px;
    padding:2px
  }
  .hud-chip {
    min-width:65px;
    padding:5px
  }
  .hud-kicker {
    font-size:7px
  }
  .hud-chip strong {
    font-size:13px
  }
  .hud-lives strong {
    font-size:11px
  }
  .time-wrap {
    width:62%;
    padding:5px
  }
  .time-head {
    font-size:7px
  }
  .result-card {
    padding:14px
  }
  .result-card h2 {
    font-size:19px
  }
  .result-score strong {
    font-size:40px
  }
  .result-buttons {
    flex-direction:column
  }
  .result-stats strong {
    font-size:15px
  }
  .site-footer {
    font-size:9px
  }
  .feedback {
    min-width:230px;
    top:35%;
    padding:8px
  }
  .feedback-title {
    font-size:12px
  }
  .feedback-detail {
    font-size:9px
  }
}
@media (prefers-reduced-motion:reduce) {
  * {
    transition:none!important;
    animation:none!important
  }
}
.memory-banner {
  position:absolute;
  z-index:4;
  top:13%;
  left:50%;
  transform:translateX(-50%);
  min-width:min(485px,80%);
  background:#092333ef;
  border:1px solid #a3ead4;
  box-shadow:0 6px 30px #0008;
  display:flex;
  align-items:center;
  gap:14px;
  padding:13px 17px;
  color:#e6fff2
}
.memory-asterisk {
  font-size:28px;
  color:#bdf4df
}
.memory-banner span:nth-child(2) {
  display:flex;
  flex-direction:column;
  gap:5px;
  flex:1
}
.memory-banner b {
  font-size:13px;
  letter-spacing:.075em
}
.memory-banner small {
  font-size:10px;
  color:#b4d6cf
}
.memory-banner strong {
  font:900 29px Consolas,monospace;
  color:#baf9df
}
@media(max-width:620px) {
  .memory-banner {
    top:9%;
    min-width:80%;
    padding:7px
  }
  .memory-banner b {
    font-size:9px
  }
  .memory-banner small {
    font-size:8px
  }
  .memory-banner strong {
    font-size:19px
  }
}
