/* game-day-of-surgery-in-order.css: styles for Day of Surgery: In Order, 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;
    --clay-soft: #f7e6e1;
    --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: 540px; 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(34px, 8.5vw, 50px);
    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);
  }
  .deck-tabs { display: flex; gap: 10px; margin-bottom: 22px; }
  .deck-tabs .btn { flex: 1; padding: 14px 8px; font-size: 14px; }
  .btn-alt { background: #fff; color: var(--navy); border: 1.5px solid #d8d3c8; }
  .hud { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
  .hud .deckname {
    font-family: Archivo, Arial, sans-serif;
    font-size: 12px; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel);
  }
  .hud .placed {
    font-family: Archivo, Arial, sans-serif;
    font-size: 12px; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase;
  }
  .hud .placed b { color: var(--teal); font-size: 15px; }
  .instruction { font-size: 15px; color: var(--steel); margin-bottom: 12px; font-style: italic; }
  .slots { margin-bottom: 18px; }
  .slot {
    display: flex; align-items: center; gap: 12px;
    background: #fff; border: 1px dashed #cfc9bd;
    border-radius: 10px; padding: 12px 14px; margin-bottom: 8px;
    min-height: 56px;
  }
  .slot.filled { border-style: solid; border-color: #e6e2da; }
  .slot.correct { border-color: var(--teal); background: var(--teal-soft); }
  .slot .num {
    font-family: Archivo, Arial, sans-serif;
    font-weight: 900; font-size: 15px;
    color: var(--gold); width: 22px; flex-shrink: 0;
  }
  .slot .body { flex: 1; }
  .slot .label, .slot .detail { display: block; }
  .slot .label { font-weight: 600; font-size: 16px; color: var(--navy); }
  .slot .detail { font-size: 13.5px; color: var(--steel); line-height: 1.4; margin-top: 2px; }
  .slot .empty { color: #b7b1a4; font-style: italic; font-size: 15px; }
  .pool { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
  .card {
    background: var(--navy); color: #fff;
    border-radius: 10px; padding: 14px 16px;
    font-weight: 600; font-size: 16px;
    cursor: pointer; text-align: left;
    border: none; width: 100%;
    box-shadow: 0 2px 0 var(--navy-deep);
    -webkit-tap-highlight-color: transparent;
  }
  .card:active { transform: scale(0.98); }
  .card:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
  .pool-title {
    font-family: Archivo, Arial, sans-serif;
    font-size: 11px; font-weight: 700;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--steel); margin-bottom: 10px;
  }
  .shake { animation: shake 0.3s; }
  @keyframes shake {
    0%,100% { transform: translateX(0); }
    25% { transform: translateX(-6px); }
    75% { transform: translateX(6px); }
  }
  .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;
  }
  @media (prefers-reduced-motion: reduce) { .shake { animation: none; } }

/* 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; }
