/* game-steady-hands.css: styles for Steady Hands, moved out of the prototype for the site CSP (Oct 2026). */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url("/fonts/archivo-wdth.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: italic; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url("/fonts/archivo-wdth-italic.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Next"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("/fonts/atkinson-next.woff2") format("woff2"); unicode-range: U+0000-002F, U+003A-FFFF; }
@font-face { font-family: "Atkinson Next"; font-style: italic; font-weight: 200 800; font-display: swap; src: url("/fonts/atkinson-next-italic.woff2") format("woff2"); unicode-range: U+0000-002F, U+003A-FFFF; }
/* digits come from Archivo: Atkinson's slashed zero reads oddly in addresses and phone numbers */
@font-face { font-family: "Atkinson Next"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("/fonts/archivo-wdth.woff2") format("woff2"); unicode-range: U+0030-0039; }
@font-face { font-family: "Atkinson Next"; font-style: italic; font-weight: 200 800; font-display: swap; src: url("/fonts/archivo-wdth-italic.woff2") format("woff2"); unicode-range: U+0030-0039; }
  :root {
    --navy: #0F1E33;
    --navy-deep: #060D19;
    --paper: #FBF8F2;
    --ink: #0F1C2E;
    --steel: #5f7286;
    --teal: #2E8B3E;
    --teal-soft: #E9F6E3;
    --clay: #b3432b;
    --gold: #2E8B3E;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  body {
    font-family: "Atkinson Next", Verdana, sans-serif;
    background: var(--paper);
    color: var(--ink);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  .band {
    background: var(--navy);
    color: #fff;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .band .who { font-family: Archivo, Arial, sans-serif; font-weight: 700; font-size: 14px; }
  .band .who span { color: #9db4c9; font-weight: 500; }
  .band .tag {
    font-family: Archivo, Arial, sans-serif;
    font-size: 11px; font-weight: 700;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--gold); white-space: nowrap;
  }
  main { flex: 1; width: 100%; max-width: 520px; margin: 0 auto; padding: 24px 18px 40px; }
  .kicker {
    font-family: Archivo, Arial, sans-serif;
    font-size: 12px; font-weight: 700;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--teal); margin-bottom: 12px;
  }
  h1 {
    font-family: Archivo, Arial, sans-serif;
    font-weight: 900;
    font-size: clamp(36px, 9vw, 52px);
    line-height: 0.98;
    color: var(--navy);
    text-transform: uppercase;
  }
  .lede { font-size: 17px; line-height: 1.55; margin: 16px 0 22px; }
  .rules {
    border-left: 3px solid var(--gold);
    padding: 4px 0 4px 14px;
    color: var(--steel);
    font-size: 15px; line-height: 1.5;
    margin-bottom: 26px;
  }
  .btn {
    font-family: Archivo, Arial, sans-serif;
    font-weight: 700; font-size: 16px;
    letter-spacing: 0.04em;
    border: none; border-radius: 8px;
    padding: 16px 22px; cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .btn:active { transform: scale(0.97); }
  .btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
  .btn-primary {
    background: var(--navy); color: #fff;
    width: 100%; text-transform: uppercase;
    box-shadow: 0 3px 0 var(--navy-deep);
  }
  .hud { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
  .hud .level {
    font-family: Archivo, Arial, sans-serif;
    font-size: 12px; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--steel);
  }
  .hud .steady {
    font-family: Archivo, Arial, sans-serif;
    font-size: 12px; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase;
  }
  .hud .steady b { color: var(--teal); font-size: 15px; }
  .canvas-wrap {
    background: #fff;
    border: 1px solid #e6e2da;
    border-radius: 14px;
    padding: 8px;
    box-shadow: 0 2px 10px rgba(15, 30, 51,0.06);
  }
  canvas { display: block; width: 100%; border-radius: 8px; touch-action: none; }
  .hint {
    font-size: 13px; color: var(--steel);
    text-align: center; margin-top: 8px; font-style: italic;
    min-height: 1.3em;
  }
  .verdict { margin-top: 14px; }
  .result-line {
    text-align: center;
    font-family: Archivo, Arial, sans-serif;
    font-weight: 900; font-size: 22px;
    letter-spacing: 0.08em; text-transform: uppercase;
    margin-bottom: 10px; color: var(--teal);
  }
  .why {
    font-size: 15.5px; line-height: 1.55;
    background: #fff; border: 1px solid #e6e2da;
    border-radius: 10px; padding: 13px 15px;
  }
  .nextrow { margin-top: 16px; }
  .score-big {
    font-family: Archivo, Arial, sans-serif;
    font-weight: 900; font-size: 68px;
    color: var(--navy); text-align: center;
    line-height: 1; margin: 8px 0 4px;
  }
  .score-big small { font-size: 24px; color: var(--steel); font-weight: 700; }
  .rank {
    text-align: center;
    font-family: Archivo, Arial, sans-serif;
    font-weight: 700; font-size: 20px;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--teal); margin-bottom: 12px;
  }
  .score-note { text-align: center; font-size: 16px; line-height: 1.55; margin-bottom: 24px; }
  .hidden { display: none; }
  footer {
    text-align: center;
    padding: 14px 20px 26px;
    font-size: 12.5px; color: var(--steel); line-height: 1.5;
  }

/* Site chrome added when the game joined drcrodriguez.com (Oct 2026) */
.band a { color: inherit; text-decoration: none; }
.band a.ge-back { color: #2E8B3E; }
.band a.name, .band a.band-name { display: block; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 200; background: #0F1E33; color: #fff;
  font-family: Archivo, Arial, sans-serif; font-size: 14px; font-weight: 700; padding: 12px 20px; text-decoration: none; transition: top .15s ease; }
.skip-link:focus { top: 8px; outline: 3px solid #2E8B3E; outline-offset: 2px; }
main:focus { outline: none; }
footer a { color: var(--accent, #2E8B3E); }
.game-exits { margin-top: 14px; padding-top: 14px; border-top: 1px solid #E2DACB; display: flex; flex-wrap: wrap;
  gap: 8px 18px; justify-content: center; font-family: Archivo, Arial, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.game-exits a { color: var(--accent, #2E8B3E); text-decoration: none; display: inline-flex; align-items: center; min-height: 24px; }
.game-exits a:hover { text-decoration: underline; }
