.breaker-page { background: #141416; color: #e0ded8; }
.breaker-page .arcade-main { max-width: 1280px; }
.breaker-page .eyebrow { color: #b3afa9; font: .68rem "Courier New", monospace; letter-spacing: .16em; text-transform: uppercase; }
.breaker-page h1 { font-size: clamp(2.3rem, 6vw, 4rem); font-weight: 900; line-height: .85; letter-spacing: -.06em; color: #eeeae2; }
.breaker-page h1 span { color: #ed654b; margin-left: .15em; }
.breaker-page .game-message { max-width: 350px; font-size: .82rem; color: #bdbab4; line-height: 1.6; }
.breaker-page .arcade-stage { border: 1px solid #606063; border-radius: 3px; box-shadow: 0 30px 90px #0008; scroll-margin-top: 90px; }
.breaker-page .canvas-wrap { aspect-ratio: 16 / 9; max-height: none; }
.breaker-page canvas { image-rendering: auto; cursor: crosshair; }
.breaker-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, #151518e8, #15151899 60%, #15151822); display: flex; justify-content: center; align-items: flex-start; padding: 5%; flex-direction: column; gap: .8rem; }
.breaker-overlay[hidden] { display: none; }
.breaker-overlay > p { margin: 0; max-width: 460px; color: #c1bdb7; font: .85rem "Courier New", monospace; line-height: 1.7; }
.breaker-overlay #overlay-eyebrow { color: #f2876c; letter-spacing: .22em; font-size: .7rem; }
.breaker-overlay h2 { margin: 0; max-width: 600px; color: #f0ece5; font-size: clamp(1.3rem, 5.5vw, 4.5rem); line-height: .96; font-weight: 900; letter-spacing: -.05em; }
.breaker-overlay .button { background: #e16b51; color: #191819; border: 1px solid #ff9b7e; border-radius: 2px; min-height: 44px; margin-top: .5rem; }
.breaker-overlay .overlay-hint { font-size: .65rem; margin-top: .6rem; }
.breaker-page .arcade-toolbar { background: #1e1e21; border-top: 3px solid #d46b53; flex-wrap: wrap; }
.breaker-hud { display: flex; gap: 1.8rem; flex-wrap: wrap; color: #a5a19c; font: .62rem "Courier New", monospace; letter-spacing: .12em; }
.breaker-hud strong { display: block; font-size: 1.1rem; letter-spacing: 0; margin-top: .3rem; color: #f1e7dc; }
.breaker-page .game-actions { flex-wrap: wrap; }
.breaker-page .button-secondary { border-color: #656267; background: #29282d; color: #e2ded7; border-radius: 2px; min-height: 44px; }
.breaker-touch { justify-content: space-between; flex-wrap: wrap; gap: .6rem; background: #202024; touch-action: none; }
.breaker-touch > div { display: flex; gap: .4rem; flex-wrap: wrap; }
.breaker-touch button { min-width: 50px; min-height: 50px; border-radius: 3px; border-color: #777178; font-size: .72rem; font-weight: 700; background: #323136; }
.breaker-touch button[data-input="fire"] { background: #ba543f; color: #fff4ed; border-color: #f99d80; min-width: 70px; }
.breaker-touch button.is-held { background: #62544d; border-color: #ffc29d; color: #fff2e1; }
.breaker-record { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem 1.5rem; padding: .6rem 0; color: #aaa5a1; font-size: .78rem; }
.breaker-record button { border: 0; background: none; font: inherit; cursor: pointer; color: #efa48e; }
.breaker-record button[hidden] { display: none; }
.breaker-page .detail-panel { background: #1c1c20; border-color: #524f54; border-radius: 3px; }
.breaker-page .detail-panel h2 { font: 700 .95rem "Courier New", monospace; letter-spacing: .08em; color: #e8dfd4; }
.breaker-page .detail-panel p { color: #bab4b0; line-height: 1.75; font-size: .9rem; }
.breaker-mastery { margin: .5rem 0 1.5rem; padding: 1rem; }
.breaker-mastery label { display: block; margin-bottom: .5rem; font-size: .85rem; }
.breaker-mastery select { width: 100%; max-width: 460px; min-height: 44px; padding: .6rem; background: #29282d; color: #e2ded7; border: 1px solid #777178; }
.breaker-mastery select:focus-visible { outline: 3px solid #ffae85; outline-offset: 3px; }
.breaker-credit { margin-top: 2rem; font-size: .78rem; color: #a69f9b; line-height: 1.8; }
.breaker-page button:focus-visible, .breaker-page canvas:focus-visible { outline: 3px solid #ffae85; outline-offset: 3px; }
#breaker-stage:fullscreen { overflow: auto; display: flex; flex-direction: column; justify-content: center; background: #141416; padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
#breaker-stage:fullscreen .canvas-wrap { flex: 0 1 auto; width: min(100%, calc((100dvh - 200px) * 16 / 9)); align-self: center; }
@media (max-width: 620px) {
  .breaker-page .arcade-heading { gap: .5rem; }
  .breaker-page .arcade-heading h1 { font-size: 2.5rem; }
  .breaker-page .arcade-main { padding-top: 1rem; }
  .breaker-overlay { padding: 5%; gap: .4rem; }
  .breaker-overlay #overlay-eyebrow { font-size: .5rem; }
  .breaker-overlay h2 { font-size: 1.6rem; }
  .breaker-overlay > p { font-size: .63rem; line-height: 1.4; }
  .breaker-overlay .overlay-hint { display: none; }
  .breaker-overlay .button { min-height: 44px; padding: .5rem 1rem; font-size: .8rem; margin-top: .2rem; }
  .breaker-page .arcade-toolbar { padding: .7rem; gap: .7rem; }
  .breaker-hud { width: 100%; justify-content: space-between; gap: .5rem; font-size: .55rem; }
  .breaker-hud strong { font-size: .9rem; }
  .breaker-page .game-actions { display: grid; width: 100%; grid-template-columns: repeat(3, 1fr); gap: .35rem; }
  .breaker-page .game-actions .button { padding-inline: .35rem; font-size: .7rem; }
  .breaker-touch { padding: .6rem; }
  .breaker-touch > div:last-child { display: grid; grid-template-columns: repeat(3, 1fr); }
}
