* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #0d1117; --panel: #161b22; --accent: #3fb950; --danger: #f85149;
  --text: #e6edf3; --muted: #8b949e;
  --hand: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive;
}
html, body { height: 100%; background: var(--bg); color: var(--text);
  font-family: "Segoe UI", system-ui, sans-serif; overflow: hidden; }

.screen { display: none; height: 100vh; flex-direction: column; align-items: center; justify-content: center; }
.screen.active { display: flex; }

.btn { background: var(--accent); color: #04260f; border: 0; border-radius: 6px;
  padding: .7em 1.4em; font-weight: 700; font-size: 1rem; cursor: pointer; }
.btn:hover { filter: brightness(1.1); }
.btn.small { padding: .4em .8em; font-size: .85rem; background: #30363d; color: var(--text); }

/* Titre */
#screen-title h1 { font-family: Consolas, monospace; font-size: 5rem; letter-spacing: .2em; }
#screen-title h1 span { color: var(--accent); }
.tagline { color: var(--muted); margin: 1em 0 2em; max-width: 40ch; text-align: center; }

/* Jeu */
#screen-game { justify-content: flex-start; }
.hud { width: 100%; display: flex; gap: 1.5em; align-items: center; padding: .6em 1.2em; background: var(--panel); }
#level-name { font-weight: 700; color: var(--accent); white-space: nowrap; }
#level-brief { flex: 1; color: var(--muted); font-size: .95rem; }

#scene-wrap { flex: 1; width: 100%; display: flex; align-items: center; justify-content: center; min-height: 0; padding: .6em; }
#scene { position: relative; aspect-ratio: 16 / 9; height: 100%; max-width: 100%;
  background: linear-gradient(#6b4a2f, #4a3220); border-radius: 8px; overflow: hidden;
  box-shadow: 0 10px 40px #000a; }
#scene-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#scene-bg.missing { display: none; }

.obj { position: absolute; cursor: zoom-in; transition: transform .15s, filter .15s; }
.obj img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.obj:hover { transform: scale(1.04); filter: drop-shadow(0 0 10px #ffe9a8); }
.obj.inspected::after { content: "🔍"; position: absolute; top: -6px; right: -6px; font-size: 1rem; }

/* Placeholder quand l'image n'est pas encore fournie */
.placeholder { width: 100%; height: 100%; border: 2px dashed #fff8; border-radius: 8px;
  background: #ffffff18; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; font-size: .8rem; color: #fff; padding: 4px; }
.placeholder .emo { font-size: 2.2em; line-height: 1.1; }
.placeholder code { font-size: .7em; opacity: .7; }

/* Login */
#login { width: 100%; padding: .7em; background: var(--panel); display: flex; flex-direction: column; align-items: center; gap: .3em; }
.login-box { display: flex; gap: .5em; align-items: center; }
.login-user { color: var(--muted); margin-right: .5em; }
#pwd { background: #0d1117; border: 1px solid #30363d; color: var(--text); padding: .6em .8em;
  border-radius: 6px; font-size: 1rem; width: 16em; font-family: Consolas, monospace; }
#pwd:focus { outline: 2px solid var(--accent); }
#login-msg { min-height: 1.2em; font-size: .9rem; }
#login-msg.err { color: var(--danger); }
.shake { animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-8px);} 75% { transform: translateX(8px);} }

/* Loupe */
#loupe-overlay { position: fixed; inset: 0; background: #000c; display: flex; flex-direction: column;
  align-items: center; justify-content: center; z-index: 10; cursor: pointer; }
#loupe-overlay.hidden { display: none; }
#loupe { position: relative; animation: pop .35s cubic-bezier(.2,1.4,.4,1); }
@keyframes pop { from { transform: scale(.2) rotate(-20deg); opacity: 0; } }
#loupe-lens { width: min(60vh, 80vw); aspect-ratio: 1; border-radius: 50%; overflow: hidden; position: relative;
  border: 14px solid #2b2b2b; box-shadow: 0 0 0 4px #777, inset 0 0 40px #0008, 0 20px 50px #000;
  background: #e8e2d0; }
#loupe-lens::after { content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #fff6 0, #fff0 35%); pointer-events: none; }
#loupe-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#loupe-img.missing { display: none; }
#loupe-text { position: absolute; display: flex; align-items: center; justify-content: center;
  text-align: center; font-family: var(--hand); color: #1a2a6c; line-height: 1.3;
  white-space: pre-line; }
#loupe-text.marker { font-family: "Arial Black", Impact, sans-serif; letter-spacing: .08em; }
.obj img { filter: drop-shadow(4px 6px 6px #0007); }
#loupe-handle { position: absolute; width: 36px; height: 160px; background: linear-gradient(90deg,#3a2414,#6b4423,#3a2414);
  border-radius: 12px; right: -40px; bottom: -120px; transform: rotate(-45deg); z-index: -1; }
#loupe-caption { margin-top: 2em; font-size: 1.1rem; max-width: 50ch; text-align: center; }
.loupe-close { color: var(--muted); font-size: .8rem; margin-top: .5em; }

/* Victoire */
.card { background: var(--panel); padding: 2em 2.5em; border-radius: 10px; max-width: 640px; }
.card h2 { color: var(--accent); margin-bottom: .6em; }
.card h3 { margin: 1.2em 0 .5em; }
.card ul { padding-left: 1.2em; line-height: 1.6; }
.card .btn { margin-top: 1.5em; }

/* Fouille */
.obj.searching { animation: rummage .5s; }
@keyframes rummage {
  0% { transform: rotate(0); } 20% { transform: rotate(-6deg) scale(1.05); }
  40% { transform: rotate(5deg); } 60% { transform: rotate(-4deg); } 80% { transform: rotate(2deg); } }
.obj.searched { cursor: pointer; }
.obj.searched.has-zoom { cursor: zoom-in; }

#toast { position: fixed; left: 50%; bottom: 120px; transform: translate(-50%, 20px); opacity: 0;
  background: #161b22ee; border: 1px solid #30363d; padding: .7em 1.2em; border-radius: 8px;
  max-width: 60ch; text-align: center; transition: .25s; pointer-events: none; z-index: 20; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Loupe en mode zoom sur une image de fouille */
#loupe-lens.zoom { background: #9b5a2a; }
#loupe-lens.zoom #loupe-img { inset: auto; height: auto; object-fit: fill; }

/* Écran d'ordinateur */
#desktop-overlay { position: fixed; inset: 0; background: #000d; z-index: 9; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1em; animation: fadein .25s; }
#desktop-overlay.hidden { display: none; }
@keyframes fadein { from { opacity: 0; transform: scale(.9); } }
#monitor { background: #141414; padding: 14px 14px 26px; border-radius: 14px; box-shadow: 0 0 0 2px #333, 0 20px 60px #000;
  width: min(92vw, calc((100vh - 110px) * 16 / 9)); }
#screen-area { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 3px;
  background: linear-gradient(135deg, #0b3d91, #1e88e5 55%, #90caf9); font-size: clamp(10px, 1.1vw, 15px);
  color: #111; user-select: none; }
#wallpaper { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#wallpaper.missing { display: none; }
#desk-icons { position: absolute; top: 2%; left: 1%; display: grid; grid-auto-flow: column; grid-template-rows: repeat(5, auto); gap: .6em; }
.dicon { width: 6.5em; background: none; border: 1px solid transparent; border-radius: 4px; color: #fff; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; padding: .3em; font: inherit; text-shadow: 0 1px 3px #000; }
.dicon:hover { background: #ffffff30; border-color: #ffffff50; }
.dicon .ico { font-size: 2.6em; line-height: 1.1; }
#taskbar { position: absolute; left: 0; right: 0; bottom: 0; height: 7%; background: #1d1d1de6; display: flex;
  align-items: center; gap: .4em; padding: 0 .6em; color: #fff; }
#start { font-size: 1.6em; padding: 0 .4em; }
#task-apps { display: flex; gap: .3em; flex: 1; }
.tapp { background: none; border: 0; border-radius: 4px; font-size: 1.5em; padding: .1em .35em; cursor: pointer; }
.tapp:hover { background: #ffffff25; }
#clock { font-size: .9em; }
#windows { position: absolute; inset: 0 0 7% 0; pointer-events: none; }
.win { position: absolute; background: #fff; border: 1px solid #888; border-radius: 8px; box-shadow: 0 10px 30px #0007;
  display: flex; flex-direction: column; overflow: hidden; pointer-events: auto; animation: fadein .15s; }
.win-bar { background: #f0f0f0; padding: .35em .6em; display: flex; justify-content: space-between; align-items: center;
  cursor: move; font-size: .9em; }
.win-x { border: 0; background: none; cursor: pointer; font-size: 1em; padding: 0 .4em; }
.win-x:hover { background: #e81123; color: #fff; }
.win-body { flex: 1; overflow: auto; padding: .8em 1em; }
.win.notepad .win-body { font-family: Consolas, monospace; white-space: pre-wrap; }
.win.sticky { background: #fff7a8; border-color: #e0cf55; }
.win.sticky .win-bar { background: #f7e463; }
.win.sticky .win-body { font-family: var(--hand); white-space: pre-wrap; font-size: 1.15em; color: #333; }
.win .grid { display: flex; flex-wrap: wrap; gap: 1em; }
.win .grid div { width: 7em; text-align: center; font-size: .85em; }
.win .grid b { display: block; font-size: 3em; font-weight: normal; }

/* Tiroir */
#drawer-overlay { position: fixed; inset: 0; background: #000d; z-index: 9; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .6em; animation: fadein .25s; }
#drawer-overlay.hidden { display: none; }
#drawer { position: relative; aspect-ratio: 16 / 9; width: min(92vw, calc((100vh - 120px) * 16 / 9));
  background: radial-gradient(ellipse at center, #8a6a4a, #4a3424); border: 18px solid #3a2a1c; border-radius: 6px;
  box-shadow: inset 0 0 60px #000a, 0 20px 60px #000; overflow: hidden; }
#drawer-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#drawer-bg.missing { display: none; }
.ditem { position: absolute; cursor: grab; touch-action: none; filter: drop-shadow(3px 5px 5px #0008);
  transition: filter .15s; }
.ditem img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.ditem:hover { filter: drop-shadow(0 0 8px #ffe9a8) drop-shadow(3px 5px 5px #0008); }
.ditem.dragging { cursor: grabbing; filter: drop-shadow(10px 16px 12px #000a); }
.drawer-tip { color: var(--muted); font-size: .9rem; }

/* Sélection des niveaux */
.levels-title { margin: 2.2em 0 .8em; font-size: 1rem; color: var(--muted); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
#level-select { display: grid; grid-template-columns: repeat(auto-fill, 190px); gap: .8em; justify-content: center; max-width: 1000px; padding: 0 1em; }
.lvl-btn { background: var(--panel); border: 1px solid #30363d; border-radius: 8px; color: var(--text); cursor: pointer;
  padding: .8em 1em; text-align: left; font: inherit; transition: border-color .15s, transform .15s; }
.lvl-btn:hover { border-color: var(--accent); transform: translateY(-2px); }
.lvl-btn .num { font-family: Consolas, monospace; color: var(--accent); font-size: .8rem; }
.lvl-btn .title { display: block; margin-top: .2em; font-weight: 600; }
.lvl-btn.done .num::after { content: "  ✔ réussi"; color: var(--muted); }
#drawer.has-bg { border: 0; background: none; box-shadow: 0 20px 60px #000; }

/* Écran de verrouillage */
#lockscreen { position: absolute; inset: 0; color: #fff; display: flex; flex-direction: column; align-items: center;
  padding-top: 7%; background: #0006; backdrop-filter: blur(3px); text-shadow: 0 2px 6px #000a; }
#lockscreen.hidden, .hidden-ui { display: none !important; }
#lock-clock { font-size: 5em; font-weight: 300; line-height: 1; }
#lock-date { font-size: 1.3em; margin-bottom: 2.5em; text-transform: capitalize; }
.lock-user { display: flex; flex-direction: column; align-items: center; gap: .6em; }
.lock-avatar { width: 4.5em; height: 4.5em; border-radius: 50%; background: #ffffff30; display: flex; align-items: center;
  justify-content: center; font-size: 2em; }
#lock-name { font-size: 1.4em; font-weight: 600; }
.lock-field { background: #ffffffdd; color: #666; padding: .5em .8em; width: 16em; border-radius: 3px; display: flex;
  justify-content: space-between; text-shadow: none; }
#lock-hint-btn { background: none; border: 0; color: #fff; text-decoration: underline; cursor: pointer; font: inherit; font-size: .9em; }
#lock-hint { background: #000a; padding: .5em 1em; border-radius: 4px; font-size: 1.1em; }
#lock-hint.hidden { display: none; }

/* Calendrier */
#calendar-overlay { position: fixed; inset: 0; background: #000d; z-index: 9; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1em; animation: fadein .25s; }
#calendar-overlay.hidden { display: none; }
#calendar { position: relative; background: #fdfbf5; color: #222; width: min(90vw, 760px); border-radius: 6px;
  padding: 2.2em 1.4em 1.4em; box-shadow: 0 20px 60px #000; }
.cal-rings { position: absolute; top: -12px; left: 8%; right: 8%; display: flex; justify-content: space-between; }
.cal-rings span { width: 12px; height: 28px; border-radius: 6px; background: linear-gradient(90deg,#777,#ddd,#777); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .8em; }
#cal-title { font-size: 1.6rem; font-weight: 700; text-transform: capitalize; color: #b3261e; }
.cal-nav { background: #eee; border: 0; border-radius: 50%; width: 2.2em; height: 2.2em; cursor: pointer; font-size: 1rem; }
.cal-nav:hover { background: #ddd; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); border-top: 1px solid #ccc; border-left: 1px solid #ccc; }
.cal-grid div { border-right: 1px solid #ccc; border-bottom: 1px solid #ccc; min-height: 4.2em; padding: .25em .35em; font-size: .8rem; }
.cal-grid .dow { min-height: 0; font-weight: 700; text-align: center; background: #f1ece0; font-size: .75rem; }
.cal-grid .empty { background: #f6f3ec; }
.cal-grid .n { font-weight: 700; color: #555; }
.cal-grid .ev { display: block; margin-top: .2em; font-family: var(--hand); color: #1a2a6c; font-size: .85rem; line-height: 1.15; }

/* Blocage après trop d'essais */
#login.locked input, #login.locked button[type=submit] { opacity: .4; pointer-events: none; }
.obj.flat img { filter: none; }
.obj.flat:hover { filter: brightness(1.08); }
#toast.top { top: 18px; bottom: auto; transform: translate(-50%, -20px); }
#toast.top.show { transform: translate(-50%, 0); }

/* Téléphone */
#phone-overlay { position: fixed; inset: 0; background: #000d; z-index: 9; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1em; animation: fadein .25s; }
#phone-overlay.hidden { display: none; }
#phone { height: min(82vh, 760px); aspect-ratio: 9 / 19.5; background: #111; border-radius: 46px; padding: 12px;
  box-shadow: 0 0 0 3px #3a3a3a, 0 25px 70px #000; }
#phone-screen { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; color: #fff;
  background: linear-gradient(160deg, #3b2a6b, #c0587e 60%, #f2a65a); font-size: clamp(10px, 1.7vh, 15px);
  text-shadow: 0 1px 3px #0008; }
#phone-wall { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.8); }
#phone-wall.missing { display: none; }
.phone-notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 30%; height: 24px;
  background: #000; border-radius: 14px; }
.phone-status { position: absolute; top: 12px; left: 8%; right: 8%; display: flex; justify-content: space-between; font-size: .85em; }
.phone-lock { position: absolute; top: 9%; width: 100%; text-align: center; font-size: 1.1em; }
#phone-clock { position: absolute; top: 13%; width: 100%; text-align: center; font-size: 5.4em; font-weight: 600; letter-spacing: -.02em; }
#phone-date { position: absolute; top: 27%; width: 100%; text-align: center; font-size: 1.1em; text-transform: capitalize; }
#phone-notifs { position: absolute; top: 35%; left: 4%; right: 4%; bottom: 3%; display: flex; flex-direction: column;
  gap: .5em; overflow-y: auto; scrollbar-width: none; }
.notif { background: #ffffffd9; color: #111; text-shadow: none; border-radius: 16px; padding: .6em .8em; backdrop-filter: blur(6px);
  display: grid; grid-template-columns: 2em 1fr auto; gap: .1em .6em; align-items: start; }
.notif .ico { grid-row: span 2; font-size: 1.5em; line-height: 1.2; }
.notif .app { font-size: .75em; color: #666; text-transform: uppercase; letter-spacing: .03em; }
.notif .time { font-size: .75em; color: #666; }
.notif .body { grid-column: 2 / 4; font-size: .92em; line-height: 1.3; }
.notif .body b { display: block; }
.notif.new { animation: notifin .5s cubic-bezier(.2,1.4,.4,1); box-shadow: 0 0 0 3px #3fb95099; }
@keyframes notifin { from { transform: translateY(-40px) scale(.9); opacity: 0; } }

/* Le téléphone vibre sur le bureau */
.obj.buzz { animation: buzz .12s linear 8; }
@keyframes buzz { 0% { transform: translate(0,0) rotate(0); } 25% { transform: translate(-2px,1px) rotate(-2deg); }
  50% { transform: translate(2px,-1px) rotate(2deg); } 75% { transform: translate(-1px,-1px) rotate(-1deg); } }

/* Connexion en deux étapes */
.login-2fa { color: var(--accent); font-size: .9rem; margin-right: .5em; }
.login-2fa.hidden { display: none; }
.login-user.hidden { display: none; }

/* Inventaire */
#inventory { display: flex; gap: .4em; }
.inv-item { background: #21262d; border: 1px solid #30363d; border-radius: 6px; padding: .2em .55em; font-size: .85rem; white-space: nowrap; }

/* Tableau blanc */
#board-overlay, #rub-overlay { position: fixed; inset: 0; background: #000e; z-index: 9; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .8em; animation: fadein .25s; }
#board-overlay.hidden, #rub-overlay.hidden { display: none; }
#board { position: relative; aspect-ratio: 16 / 9; width: min(92vw, calc((100vh - 120px) * 16 / 9)); overflow: hidden;
  background: linear-gradient(135deg, #f4f6f7, #e4e8ea 60%, #f1f3f4); border: 14px solid #b9bfc4; border-radius: 6px;
  box-shadow: 0 20px 60px #000; --mx: -500px; --my: -500px; }
#board.has-bg { border: 0; background: none; }
#board-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#board-bg.missing { display: none; }
#board-base, #board-lamp { position: absolute; inset: 0; pointer-events: none; }
#board-lamp { -webkit-mask-image: radial-gradient(circle 13vmin at var(--mx) var(--my), #000 0%, #000 45%, transparent 100%);
          mask-image: radial-gradient(circle 13vmin at var(--mx) var(--my), #000 0%, #000 45%, transparent 100%); }
#board.lamp-on { cursor: none; }
#board.lamp-on::after { content: ""; position: absolute; left: var(--mx); top: var(--my); width: 26vmin; height: 26vmin;
  transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, #fff8d633 0%, #fff8d61a 45%, transparent 70%); }
.bw { position: absolute; font-family: "Segoe Print", "Comic Sans MS", cursive; white-space: pre; line-height: 1.2; transform-origin: left top; }
#board-base .bw.faint { opacity: .025; filter: blur(1.6px); }
#board-lamp .bw { opacity: .9; text-shadow: 1px 1px 0 #0002; }
#board-lamp .bw.plain { display: none; }
.bw.strike { text-decoration: line-through; }

/* Bloc-notes */
#pad { position: relative; height: min(80vh, 720px); aspect-ratio: 0.78; background:
  repeating-linear-gradient(#fdfdf8 0 27px, #cfe0ef 27px 28px); box-shadow: 0 20px 60px #000; border-radius: 4px;
  border-top: 26px solid #2c3e50; }
#pad.has-bg { background: none; border: 0; }
#pad-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#pad-bg.missing { display: none; }
#pad-canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; }
#pad.pencil #pad-canvas { cursor: crosshair; }

/* Premier plan : meubles devant certains objets */
.obj { z-index: 2; }
.obj.behind { z-index: 0; }
.scene-front { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; pointer-events: none; }

/* Puzzles */
#puzzle-overlay { position: fixed; inset: 0; background: #000e; z-index: 9; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .8em; animation: fadein .25s; }
#puzzle-overlay.hidden { display: none; }
#puzzle-title { color: var(--text); font-weight: 700; }
#puzzle-area { position: relative; width: min(92vw, calc((100vh - 170px) * 16 / 9)); aspect-ratio: 16 / 9;
  background: radial-gradient(ellipse, #5a6470, #2f363d); border-radius: 8px; overflow: hidden; box-shadow: inset 0 0 50px #0008; }
.pz-board { position: absolute; border: 2px dashed #ffffff40; border-radius: 3px; }
.pz-piece { position: absolute; cursor: grab; touch-action: none; filter: drop-shadow(2px 4px 4px #0009); transition: filter .15s; }
.pz-piece.dragging { cursor: grabbing; filter: drop-shadow(8px 14px 10px #000a); z-index: 50; }
.pz-piece.locked { cursor: default; filter: none; transition: left .15s, top .15s, transform .15s; }
.pz-strip { position: absolute; top: 8%; height: 84%; cursor: pointer; transition: left .25s, outline .1s; box-shadow: 1px 0 3px #0006; }
.pz-strip.sel { outline: 3px solid var(--accent); z-index: 5; }
#puzzle-area.solved .pz-strip { cursor: default; box-shadow: none; }
.pz-piece { z-index: 2; } .pz-piece.locked { z-index: 1; }
.obj.hotspot { border-radius: 8px; }
.obj.hotspot:hover { transform: none; filter: none; box-shadow: 0 0 0 3px #ffe9a8aa, inset 0 0 30px #ffe9a840; }

/* Panneau générique */
#panel-overlay { position: fixed; inset: 0; background: #000e; z-index: 9; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .7em; animation: fadein .25s; }
#panel-overlay.hidden { display: none; }
#panel-title { color: var(--text); font-weight: 700; }
#panel-body { position: relative; width: min(92vw, calc((100vh - 140px) * 16 / 9)); aspect-ratio: 16 / 9;
  border-radius: 8px; overflow: hidden; background: #1c2128; box-shadow: 0 20px 60px #000; font-size: clamp(10px, 1.15vw, 16px); }

/* Accueil : défilement quand il y a beaucoup de niveaux */
#screen-title { overflow-y: auto; justify-content: safe center; padding: 4vh 0; }
#screen-title h1 { flex-shrink: 0; }
#level-select { flex-shrink: 0; padding-bottom: 3vh; }
