/* CODEX / gpt-6-astra — opt-in entry, pencil-mark focus, earned clue handoff. */
.candidate-tools{display:flex;align-items:center;gap:12px;margin-top:12px}
.candidate-tools button{flex:none;min-height:44px;border:1px solid #81ecff60;border-radius:7px;padding:8px;background:#111c31;color:#d9f6ff;font:700 11px 'Space Grotesk'}
.candidate-tools button[aria-pressed=true]{background:var(--lime);color:#14220a}
.candidate-tools span{font-size:10px;line-height:1.45;color:#b9c9dc}
.entry-pad button.armed{background:var(--lime)!important;color:#14220a!important;border-color:#efffbe;box-shadow:inset 0 0 0 2px #14220a,0 0 12px #cbff4e66;opacity:1;filter:none;text-decoration:none}
#entry-pad,#entry-pad *{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}
@media(max-width:720px){
  body.number-first{padding-bottom:180px}
  .number-first .controls{position:fixed;z-index:30;left:8px;right:8px;bottom:0;margin:0;padding-bottom:env(safe-area-inset-bottom,0px)}
  .number-first .panel-entry{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:9px;border-radius:13px;background:#131d30;box-shadow:0 -7px 25px #050911bb}
  .number-first .panel-entry>.panel-kicker,.number-first .panel-entry>h2,.number-first .panel-entry>#entry-cell,.number-first .panel-entry>#coach{display:none}
  .number-first .entry-modes{grid-column:1/3;grid-row:1;margin:0}
  .number-first .entry-modes button{height:44px}
  .number-first .candidate-tools{grid-column:3/5;grid-row:1;margin:0}
  .number-first .candidate-tools button{width:100%}
  .number-first .entry-pad{grid-column:1/-1;grid-row:2;margin:0}
  .number-first .play-tools{grid-column:1/4;grid-row:3;margin:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
  .number-first .play-tools button{padding-inline:2px;font-size:10px}
  .number-first .entry-foot{display:contents}
  .number-first .entry-foot button{grid-column:4;grid-row:3;width:100%;min-height:44px}
  .number-first #entry-status{grid-column:1/-1;grid-row:4;min-height:28px;font-size:10px;line-height:1.4;color:#deebf7}
  body.number-first #save-banner{bottom:calc(var(--entry-dock-height,180px) + 12px)}
  .number-first .candidate-tools span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
}
body[data-candidate-focus] .note-grid i{visibility:hidden}
body[data-candidate-focus="1"] .note-grid i[data-note="1"],
body[data-candidate-focus="2"] .note-grid i[data-note="2"],
body[data-candidate-focus="3"] .note-grid i[data-note="3"],
body[data-candidate-focus="4"] .note-grid i[data-note="4"],
body[data-candidate-focus="5"] .note-grid i[data-note="5"],
body[data-candidate-focus="6"] .note-grid i[data-note="6"],
body[data-candidate-focus="7"] .note-grid i[data-note="7"],
body[data-candidate-focus="8"] .note-grid i[data-note="8"],
body[data-candidate-focus="9"] .note-grid i[data-note="9"]{visibility:visible}
#spark-handoff[hidden]{display:none}
#spark-handoff{position:fixed;z-index:1190;bottom:calc(12px + env(safe-area-inset-bottom,0px));left:50%;transform:translateX(-50%);width:min(440px,calc(100% - 24px));padding:16px;border:1px solid #ffd24a;border-radius:14px;background:linear-gradient(135deg,#27233d,#0c1224);box-shadow:0 8px 38px #000b}
#spark-handoff strong{font:800 12px 'Space Grotesk';letter-spacing:2px;color:#ffe794}
#spark-handoff p{margin:9px 0 14px;font:500 13px/1.4 'Space Grotesk';color:#f7f3ff;min-height:36px}
#spark-handoff>div{display:flex;gap:8px}
#spark-handoff button{min-height:44px;border:1px solid #bfc1d46b;border-radius:8px;padding:9px 12px;background:#151c32;color:#f4f1ff;font:700 12px 'Space Grotesk'}
#spark-handoff button:first-child{flex:1;background:#ffdc6a;border-color:#ffedb0;color:#29200c}
.face .voxel.clue-arrived{outline:2px solid #ffdc6a;outline-offset:-2px;box-shadow:inset 0 0 10px #ffd24a66,0 0 15px #ffd24a88!important}
/* A still ring, not another flashing pulse outside the shared flash limiter. */
.face .voxel.clue-arrived:not(.selected)>span:not(.note-grid){color:#fff1bd;text-shadow:0 0 7px #ffd24a80}
/* The older earned material reset --key after the selected fill. Keep the
   same dark-on-lime selection James approved, including an earned clue. */
.face .voxel.earned.selected{background:var(--lime)!important;color:#1b2a0d!important}
.face .voxel.earned.selected>span{color:#1b2a0d!important;text-shadow:none}

.entry-pad button.focusing{background:#152b40!important;color:#e4f9ff!important;border-color:#f6fcff;box-shadow:inset 0 0 0 2px #81ecff,0 0 8px #81ecff55;opacity:1;filter:none;text-decoration:underline;text-underline-offset:4px}
