/* The two-door start screen and the student PIN login (unit L2). Scoped under .start. */
/* v0.6: the start screen is laid out for the fixed 640x360 logical screen (css/console.css scales it), never the window. */
.start__brand { font-size: 34px; margin: 0 0 14px; letter-spacing: 0.02em; }
.start__title { font-size: 21px; margin: 0 0 8px; }
.start__msg { color: #555; min-height: 1.3em; margin: 0 0 8px; line-height: 1.3; font-size: 15px; }
.start__doors { display: flex; flex-direction: row; justify-content: center; gap: 18px; margin: 0 auto 10px; }
.start__door { display: block; min-width: 200px; padding: 16px 14px; font-size: 20px; font-weight: 600; border: 3px solid #2d2d2d; border-radius: 14px; background: #fff; color: #2d2d2d; text-decoration: none; cursor: pointer; }
.start__door--move { min-width: 140px; padding: 14px 10px; }
.start__door:hover, .start__door:focus-visible { background: #eef6ee; outline: 3px solid #5a9a5a; outline-offset: 2px; }
.start__btn { padding: 6px 14px; font-size: 15px; border: 2px solid #2d2d2d; border-radius: 10px; background: #fff; color: #2d2d2d; cursor: pointer; margin: 4px; }
.start__btn--quiet { border-color: #aaa; color: #555; }
.start__cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0 0 8px; max-height: 184px; overflow-y: auto; padding: 4px; scrollbar-width: thin; }
.start__card { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 4px; border: 3px solid #2d2d2d; border-radius: 12px; background: #fff; cursor: pointer; font-size: 15px; min-width: 0; }
.start__card:hover, .start__card:focus-visible { outline: 3px solid #5a9a5a; outline-offset: 2px; }
.start__card:disabled { opacity: 0.6; cursor: wait; }
.start__face { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid #2d2d2d; font-size: 22px; font-weight: 700; color: #2d2d2d; }
.start__name { font-weight: 600; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.start__pincols { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 28px; }
.start__pinside { width: 260px; text-align: center; }
.start__pin { display: flex; justify-content: center; }
.start__pin .arcade-numpad { transform-origin: center; }
.start__pin .arcade-display { min-height: 34px; font-size: 22px; padding: 2px 8px; }
.start__pin .arcade-numpad-grid .arcade-key { min-height: 42px; min-width: 56px; font-size: 20px; }
.start__screen { background: #f7f7ef; color: #2d2d2d; box-sizing: border-box; padding: 12px 20px; overflow: hidden; text-align: center; display: flex; flex-direction: column; justify-content: center; }
.start__screen #start-body { display: block; }
/* only the doors show the big brand; the other steps need the height */
#start:not([data-step="doors"]) .start__brand { display: none; }
#game-notice:not([hidden]) { position: fixed; top: 0; left: 0; right: 0; z-index: 5; margin: 0; padding: 4px 8px; background: #fff3cd; color: #3b2f00; font-size: 12px; text-align: center; }
/* .game-shell sets display:flex, which beats the hidden attribute: keep the game out of sight on the first screen. */
#game-shell[hidden], #game-links[hidden], #game-notice[hidden] { display: none !important; }

/* Six-button focus (round 2): a thick, high-contrast highlight on the button the arrows have reached. */
.start .is-focus { outline: 5px solid #ffb300; outline-offset: 3px; background: #fff6d6; box-shadow: 0 0 0 3px #2d2d2d; }
.start__hint { margin: 6px 0 0; font-size: 13px; color: #444; }

.start__doors--move { margin-top: 16px; }
