/* Le Donjon : craie et fusain sur pierre noire, une seule couleur chaude (le feu), un rouge sombre (la mort) */
@font-face { font-family: 'Pirata One'; src: url('../fonts/Pirata-One.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'IM Fell English'; src: url('../fonts/IM-Fell-English.woff2') format('woff2'); font-display: swap; }

:root {
  --night: #060505;
  --stone: #14120f;
  --stone-2: #1d1a16;
  --bone: #d9d0bd;
  --bone-dim: #8c8476;
  --ember: #ff8a3d;
  --blood: #8e1b1b;
  --scratch: 3px 9px 2px 7px / 7px 2px 9px 3px;
  --title: 'Pirata One', 'IM Fell English', serif;
  --text: 'IM Fell English', Georgia, serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; background: var(--night); color: var(--bone); font: 19px/1.5 var(--text); }
a { color: var(--bone); text-decoration-color: var(--ember); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--ember); }
:focus-visible { outline: 2px dashed var(--ember); outline-offset: 3px; }

/* En jeu : la page ne bouge plus, tout reste dans l'écran */
html.in-game, html.in-game body { overflow: hidden; height: 100%; overscroll-behavior: none; }
html.in-game #lire { display: none; }

#game { position: relative; height: 100vh; height: 100dvh; overflow: hidden; background: var(--night); touch-action: none; user-select: none; -webkit-user-select: none; }
#game > canvas { display: block; width: 100%; height: 100%; outline: none; }
.vignette { position: absolute; inset: 0; pointer-events: none; z-index: 1; background: radial-gradient(ellipse at 50% 55%, transparent 45%, rgba(0, 0, 0, .75) 100%); }

/* Cartes : ardoise, bord gratté à la craie */
.card {
  position: relative; background: var(--stone); border: 2px solid var(--bone-dim); border-radius: var(--scratch);
  padding: 24px 28px; max-width: 480px; text-align: center; box-shadow: 0 0 0 6px rgba(0, 0, 0, .5), 0 20px 60px #000;
}
.card::after { content: ''; position: absolute; inset: 5px; border: 1px solid rgba(217, 208, 189, .18); border-radius: var(--scratch); pointer-events: none; }
h1, h2 { font-family: var(--title); font-weight: 400; letter-spacing: .02em; margin: 0 0 6px; }
h1 { font-size: clamp(58px, 11vw, 96px); line-height: 1; color: var(--bone); text-shadow: 0 0 18px rgba(255, 138, 61, .35), 0 2px 0 #000; }
h2 { font-size: 40px; }
.lead { font-size: 22px; font-style: italic; color: var(--bone); margin: 4px 0 14px; }
.small { font-size: 16px; }
.muted { color: var(--bone-dim); }
.err { color: #e06a5a; min-height: 1.4em; margin: 8px 0 0; font-size: 17px; }
.dead { font-size: 84px; color: #b3261e; text-shadow: 0 0 22px rgba(179, 38, 30, .5), 0 3px 0 #000; }
kbd { display: inline-block; font: 15px/1 var(--text); padding: 4px 7px; border: 1px solid var(--bone-dim); border-bottom-width: 3px; border-radius: 4px 6px 3px 5px; background: var(--stone-2); color: var(--bone); }
.keys { color: var(--bone-dim); font-size: 16px; margin: 10px 0 18px; }

.btn {
  position: relative; cursor: pointer; display: inline-block; font: 26px/1.1 var(--title); color: var(--bone);
  background: var(--stone-2); padding: 12px 30px 10px; border: 2px solid var(--bone); border-radius: var(--scratch);
  text-decoration: none; letter-spacing: .03em; transition: color .15s, border-color .15s, box-shadow .15s;
}
.btn:hover, .btn:focus-visible { color: var(--ember); border-color: var(--ember); box-shadow: 0 0 22px rgba(255, 138, 61, .35); }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--bone-dim); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.link:hover { color: var(--ember); }

.screen, .popup { position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; z-index: 5; overflow: auto; }
.screen { background: rgba(6, 5, 5, .72); }
.popup { background: rgba(0, 0, 0, .6); }

/* Création du personnage */
.card.creator { max-width: 920px; width: 100%; text-align: left; }
.creator h2 { text-align: center; }
.c-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; align-items: start; }
.bodies { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 8px; }
.body-pick { background: var(--stone-2); border: 2px solid #3a352e; border-radius: var(--scratch); padding: 6px 4px 4px; cursor: pointer; color: var(--bone-dim); font: 15px var(--text); display: grid; justify-items: center; gap: 2px; }
.body-pick img { width: 100%; max-width: 96px; height: auto; aspect-ratio: 3 / 4; }
.body-pick[aria-pressed='true'] { border-color: var(--ember); color: var(--bone); box-shadow: 0 0 14px rgba(255, 138, 61, .3); }
.c-row { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 10px; margin: 8px 0; }
.c-row > span { color: var(--bone-dim); font-size: 16px; }
.swatches { display: flex; flex-wrap: wrap; gap: 5px; }
.swatch { width: 21px; height: 21px; border-radius: 50%; border: 2px solid #000; box-shadow: 0 0 0 1px #3a352e; cursor: pointer; padding: 0; }
.swatch[aria-pressed='true'] { box-shadow: 0 0 0 2px var(--ember); }
select, input { font: 18px var(--text); color: var(--bone); background: #0d0c0a; border: 1px solid var(--bone-dim); border-radius: 3px 7px 2px 6px; padding: 7px 10px; width: 100%; }
input:focus, select:focus { outline: none; border-color: var(--ember); }
.c-right { display: grid; gap: 8px; justify-items: center; }
.c-right canvas { width: 200px; height: 270px; cursor: grab; touch-action: none; background: radial-gradient(circle at 50% 70%, #2a241d, #0d0c0a 70%); border: 1px solid #3a352e; border-radius: var(--scratch); }
label.f { display: grid; gap: 3px; width: 100%; color: var(--bone-dim); font-size: 16px; }
.c-right .btn { margin-top: 4px; }

/* HUD */
#quest, #me, #hint { position: absolute; z-index: 2; background: rgba(20, 18, 15, .85); border: 1px solid var(--bone-dim); border-radius: var(--scratch); }
#quest { top: 14px; left: 14px; padding: 8px 16px 6px; font-size: 16px; }
#quest b { font: 400 24px var(--title); }
#quest ul { list-style: none; margin: 2px 0 0; padding: 0; }
#quest li::before { content: '▢ '; color: var(--bone-dim); }
#quest li.done { color: var(--bone-dim); text-decoration: line-through; }
#quest li.done::before { content: '☒ '; color: var(--ember); }
#me { top: 14px; right: 14px; padding: 6px 14px; font-size: 16px; }
#who { font: 22px var(--title); color: var(--bone); margin-right: 6px; }
#hint { bottom: 150px; left: 50%; transform: translateX(-50%); margin: 0; padding: 5px 16px; font-size: 16px; color: var(--bone-dim); pointer-events: none; transition: opacity 1s 2s; }
#hint.gone { opacity: 0; }
html:not(.in-game) #quest, html:not(.in-game) #me, html:not(.in-game) #hint, html:not(.in-game) #pad, html:not(.in-game) #jump, html:not(.in-game) #act, html:not(.in-game) #drop, html:not(.in-game) #prompt, html:not(.in-game) #hotbar, html:not(.in-game) #itemname { display: none !important; }
html.watching #quest, html.watching #me, html.watching #hint, html.watching #prompt, html.watching #pad, html.watching #jump, html.watching #act, html.watching #drop, html.watching .vignette, html.watching #hotbar, html.watching #itemname { display: none !important; }

#pad { position: absolute; left: 24px; bottom: 24px; width: 124px; height: 124px; border: 2px dashed var(--bone-dim); border-radius: 50%; background: rgba(20, 18, 15, .6); z-index: 3; display: none; touch-action: none; }
#pad .knob { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px; border: 2px solid var(--bone); border-radius: 50%; background: #2a241d; }
#jump { position: absolute; right: 24px; bottom: 34px; width: 84px; height: 84px; border-radius: 50%; border: 2px solid var(--bone); background: rgba(20, 18, 15, .7); color: var(--bone); font: 22px var(--title); z-index: 3; display: none; touch-action: none; }
@media (pointer: coarse) {
  #pad, #jump, #act { display: block; }
  #hint { display: none; }
}

/* Fenêtre de la porte mystère */
.card.frame { width: min(980px, 100%); max-width: none; height: min(86vh, 760px); padding: 10px; display: flex; flex-direction: column; text-align: left; }
.frame .bar { display: flex; justify-content: space-between; align-items: center; padding: 2px 8px 8px; gap: 10px; }
.frame .bar b { font: 34px var(--title); }
.frame iframe { flex: 1; width: 100%; border: 1px solid var(--bone-dim); background: #000; }
.x { font: 20px/1 var(--text); border: 1px solid var(--bone); background: var(--stone-2); color: var(--bone); border-radius: 50%; width: 38px; height: 38px; cursor: pointer; margin-left: 10px; }

.no-webgl-msg { display: none; position: absolute; inset: 0; margin: auto; height: fit-content; z-index: 6; }
.no-webgl #intro, .no-webgl #creator { display: none !important; }
.no-webgl .no-webgl-msg { display: block; }

/* Version texte */
#lire { border-top: 1px solid #2a261f; background: var(--night); }
.sheet { max-width: 760px; margin: 0 auto; padding: 44px 20px 80px; }
.sheet h2 { font-size: 46px; }
.sheet h3 { font: 400 30px var(--title); margin: 26px 0 4px; }

@media (max-width: 760px) {
  .c-grid { grid-template-columns: 1fr; }
  .c-right { order: -1; }
  .c-right canvas { width: 120px; }
  .card { padding: 18px; }
  #quest { font-size: 14px; padding: 6px 12px 4px; }
  #me { font-size: 14px; }
}

/* Invite d'action, message passager */
#prompt { position: absolute; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 3; margin: 0; padding: 6px 16px; font: 20px var(--title); background: rgba(20, 18, 15, .9); border: 1px solid var(--ember); border-radius: var(--scratch); box-shadow: 0 0 18px rgba(255, 138, 61, .25); pointer-events: none; white-space: nowrap; }
#prompt kbd { border-color: var(--ember); color: var(--ember); margin-right: 6px; }
#toast { position: absolute; left: 50%; top: 18px; transform: translateX(-50%); z-index: 4; margin: 0; padding: 8px 18px; font-style: italic; background: rgba(20, 18, 15, .92); border: 1px solid var(--bone-dim); border-radius: var(--scratch); max-width: min(560px, 80vw); text-align: center; }
#act { position: absolute; right: 120px; bottom: 34px; width: 70px; height: 70px; border-radius: 50%; border: 2px solid var(--ember); background: rgba(20, 18, 15, .7); color: var(--ember); font: 26px var(--title); z-index: 3; display: none; touch-action: none; }

/* Dialogue en bas de l'écran */
.dialog { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: min(760px, calc(100% - 32px)); z-index: 6; background: rgba(14, 12, 10, .94); border: 2px solid var(--bone-dim); border-radius: var(--scratch); padding: 14px 20px 16px; box-shadow: 0 10px 40px #000; cursor: pointer; }
.dialog .who { font: 26px var(--title); color: var(--ember); }
.dialog .txt { font-size: 21px; margin: 4px 0 0; min-height: 2.6em; }
.dialog .choices { display: flex; gap: 12px; margin-top: 10px; }
.dialog .more { position: absolute; right: 16px; bottom: 8px; font-size: 14px; color: var(--bone-dim); animation: blink 1s infinite; }
.btn.small { font-size: 21px; padding: 7px 20px 6px; }
@keyframes blink { 50% { opacity: .3; } }

/* Le livre : une page de vieux papier */
.card.parchment { background: #cfc4a8; color: #2a1d10; border-color: #6b5233; max-width: 560px; }
.card.parchment::after { border-color: rgba(42, 29, 16, .3); }
.parchment .page { font: 40px/1.35 var(--title); margin: 10px 0 22px; }
.parchment .row { display: flex; gap: 18px; justify-content: center; align-items: center; flex-wrap: wrap; }
.parchment .btn { background: #2a1d10; }
.parchment .link { color: #5a4127; }

/* Le téléphone qui sort de la poche */
.phone { position: absolute; inset: 0; z-index: 7; display: grid; place-items: end center; padding: 12px; background: rgba(0, 0, 0, .35); }
.phone .device { width: min(340px, 92vw); height: min(620px, 86vh); background: #0e0e10; border: 3px solid #3a3a3e; border-radius: 34px; padding: 14px 12px 12px; display: flex; flex-direction: column; box-shadow: 0 30px 80px #000, inset 0 0 0 2px #1d1d21; font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; color: #ececf1; }
.phone.out .device { animation: pull .55s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes pull { from { transform: translateY(110%) rotate(8deg); } to { transform: none; } }
.phone .notch { width: 90px; height: 20px; border-radius: 0 0 12px 12px; background: #000; margin: -14px auto 8px; }
.phone .app { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; padding: 4px 6px 10px; border-bottom: 1px solid #2a2a2f; }
.phone .app .logo { width: 26px; height: 26px; border-radius: 50%; background: #ececf1; color: #0e0e10; display: grid; place-items: center; font-size: 15px; }
.phone .app .x { margin-left: auto; width: 30px; height: 30px; font-size: 15px; background: #1d1d21; border-color: #3a3a3e; }
.phone .feed { flex: 1; overflow-y: auto; padding: 12px 4px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.45; }
.phone .msg { padding: 9px 12px; border-radius: 16px; max-width: 92%; white-space: pre-wrap; }
.phone .msg.me { align-self: flex-end; background: #2f2f36; border-bottom-right-radius: 4px; }
.phone .msg.bot { align-self: flex-start; background: transparent; padding-left: 2px; }
.phone .msg.typing { color: #9a9aa3; font-style: italic; animation: blink 1s infinite; }
.phone .msg.limit { align-self: stretch; background: #3a1d1d; border: 1px solid #7a3030; color: #ffd0c8; font-size: 14px; }
.phone .input { margin-top: 8px; padding: 10px 14px; border-radius: 20px; background: #1d1d21; color: #6e6e78; font-size: 14px; }

/* La télé : la page web posée sur l'écran, en 3D */
.css3d { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.tv-screen { width: 1360px; height: 1020px; background: #000; pointer-events: auto; }
.tv-screen iframe { width: 100%; height: 100%; border: 0; display: block; }
.tv-exit { position: absolute; top: 14px; right: 14px; z-index: 8; font-size: 20px; padding: 8px 18px; }

@media (pointer: coarse) { #act { display: block; } }

/* Barre d'inventaire (9 cases, touches 1 à 9, molette) */
#hotbar { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 3; display: flex; gap: 4px; padding: 4px; background: rgba(10, 9, 8, .75); border: 1px solid #3a352e; border-radius: 6px; }
#hotbar .slot { position: relative; width: 52px; height: 52px; background: rgba(28, 25, 21, .92); border: 2px solid #4a443b; border-radius: 4px; display: grid; place-items: center; cursor: pointer; transition: transform .12s, border-color .12s; }
#hotbar .slot.sel { border-color: var(--ember); box-shadow: 0 0 12px rgba(255, 138, 61, .45), inset 0 0 8px rgba(255, 138, 61, .2); transform: translateY(-3px); }
#hotbar .num { position: absolute; top: 1px; left: 4px; font-size: 11px; color: var(--bone-dim); font-family: var(--text); }
#hotbar .ico svg { width: 36px; height: 36px; display: block; filter: drop-shadow(0 1px 0 #000); }
#hotbar .slot.pop .ico { animation: pop .5s cubic-bezier(.2, 1.6, .4, 1); }
#hotbar .slot.fusing .ico { animation: fuse .52s ease-in forwards; }
#hotbar .slot.fused { animation: flash .7s ease-out; }
@keyframes pop { 0% { transform: scale(0) rotate(-30deg); } 100% { transform: none; } }
@keyframes fuse { to { transform: scale(.2) rotate(200deg); opacity: 0; } }
@keyframes flash { 0% { box-shadow: 0 0 0 0 rgba(255, 200, 120, .95), 0 0 30px 10px rgba(255, 170, 80, .8); } 100% { box-shadow: 0 0 0 0 transparent; } }
#itemname { position: absolute; left: 50%; bottom: 80px; transform: translateX(-50%); z-index: 3; margin: 0; font: 20px var(--title); color: var(--bone); text-shadow: 0 2px 0 #000, 0 0 10px #000; opacity: 0; pointer-events: none; white-space: nowrap; }
#itemname.show { animation: name 1.6s ease forwards; }
@keyframes name { 0% { opacity: 0; transform: translate(-50%, 6px); } 12%, 75% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; } }

/* Fondu entre le donjon et le champ */
#fade { position: absolute; inset: 0; z-index: 9; opacity: 0; pointer-events: none; transition: opacity .6s ease; background: #000; }
#fade.on { opacity: 1; }
/* Au grand air : la vignette s'adoucit */
html.outdoors .vignette { background: radial-gradient(ellipse at 50% 55%, transparent 60%, rgba(0, 0, 0, .25) 100%); }

@media (pointer: coarse) {
  #hotbar { bottom: auto; top: 64px; }
  #hotbar .slot { width: 36px; height: 36px; }
  #hotbar .ico svg { width: 26px; height: 26px; }
  #itemname { bottom: auto; top: 112px; }
  #prompt { bottom: 170px; }
}
@media (max-width: 600px) {
  #hotbar .slot { width: 34px; height: 34px; }
  #hotbar .ico svg { width: 24px; height: 24px; }
}

/* Écran de chargement : fumée, modèle qui tourne, astuce, barre */
#loading { position: absolute; inset: 0; z-index: 10; background: radial-gradient(ellipse at 50% 45%, #2a2622 0%, #0b0a09 70%); display: grid; place-items: center; }
#loading::before { content: ''; position: absolute; inset: -10%; background: radial-gradient(circle at 30% 60%, rgba(217, 208, 189, .06), transparent 40%), radial-gradient(circle at 70% 40%, rgba(217, 208, 189, .05), transparent 45%); animation: smoke 9s ease-in-out infinite alternate; }
@keyframes smoke { to { transform: translate(3%, -2%) scale(1.05); } }
#loading canvas { width: min(420px, 70vw); height: min(420px, 50vh); cursor: grab; position: relative; }
#loading .tip { position: absolute; left: 6%; bottom: 9%; max-width: min(620px, 80vw); margin: 0; font: italic 21px var(--text); color: var(--bone); text-shadow: 0 2px 6px #000; }
#loading .bar { position: absolute; left: 6%; right: 6%; bottom: 5%; height: 4px; background: rgba(217, 208, 189, .15); }
#loading .bar i { display: block; height: 100%; width: 0; background: var(--bone); box-shadow: 0 0 10px rgba(217, 208, 189, .5); transition: width .3s; }

/* Inventaire complet (K) : poches en haut, en main en bas */
.card.inv { max-width: 560px; width: 100%; text-align: left; }
.inv-head { display: flex; justify-content: space-between; align-items: center; }
.inv .label { margin: 10px 0 6px; font: 20px var(--title); color: var(--bone); }
.inv .grid { display: grid; grid-template-columns: repeat(9, 1fr); gap: 4px; }
.inv .grid.hands { padding-top: 6px; border-top: 1px dashed #4a443b; }
.inv .slot { aspect-ratio: 1; background: rgba(28, 25, 21, .95); border: 2px solid #4a443b; border-radius: 4px; display: grid; place-items: center; cursor: pointer; padding: 0; color: inherit; }
.inv .slot:hover, .inv .slot:focus-visible { border-color: var(--bone-dim); background: #2a251f; }
.inv .slot.sel { border-color: var(--ember); }
.inv .slot svg { width: 78%; height: 78%; filter: drop-shadow(0 1px 0 #000); }
.inv .msg { min-height: 1.5em; margin: 12px 0 0; font-size: 17px; color: var(--bone); }
.inv .msg.bad { color: #ff8a6a; }
#invcursor { position: fixed; z-index: 20; width: 44px; height: 44px; margin: -22px 0 0 -22px; pointer-events: none; }
#invcursor svg { width: 100%; height: 100%; filter: drop-shadow(0 3px 4px #000); }
html.inv-open #hotbar, html.inv-open #prompt, html.inv-open #hint { display: none !important; }

/* Création du personnage : jauges, onglets, puces */
.c-stats { display: flex; gap: 18px; margin: 0 0 10px; font-size: 15px; color: var(--bone-dim); }
.c-stats span { display: flex; align-items: center; gap: 8px; flex: 1; }
.c-stats i { display: block; height: 6px; background: var(--ember); border-radius: 3px; box-shadow: 0 0 8px rgba(255, 138, 61, .4); transition: width .3s; }
.c-tabs { display: flex; gap: 4px; border-bottom: 1px solid #3a352e; margin-bottom: 8px; }
.c-tabs button { background: none; border: 1px solid transparent; border-bottom: 0; color: var(--bone-dim); font: 19px var(--title); padding: 5px 14px 3px; cursor: pointer; border-radius: 6px 6px 0 0; }
.c-tabs button[aria-selected='true'] { color: var(--bone); border-color: #3a352e; background: var(--stone-2); }
.c-panel { min-height: 160px; }
.c-row.top { align-items: start; }
.chips { display: flex; flex-wrap: wrap; gap: 5px; }
.chip { background: var(--stone-2); border: 1px solid #3a352e; color: var(--bone-dim); font: 15px var(--text); padding: 4px 10px; border-radius: 12px; cursor: pointer; }
.chip:hover { border-color: var(--bone-dim); color: var(--bone); }
.chip[aria-pressed='true'] { border-color: var(--ember); color: var(--bone); background: #2a1d14; box-shadow: 0 0 10px rgba(255, 138, 61, .25); }
.c-tools { font-size: 15px; color: var(--bone-dim); }
.c-right canvas { width: 230px; height: 300px; }
@media (max-width: 760px) { .bodies { grid-template-columns: repeat(5, 1fr); } .body-pick span { font-size: 12px; } .c-right canvas { width: 150px; height: 200px; } }

/* Lancer un objet (téléphone) */
#drop { position: absolute; right: 200px; bottom: 40px; width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--bone-dim); background: rgba(20, 18, 15, .7); color: var(--bone); font: 22px var(--title); z-index: 3; display: none; touch-action: none; }
@media (pointer: coarse) { #drop { display: block; } }

/* Empilo */
#empilo { position: absolute; inset: 0; z-index: 8; display: grid; place-items: center; background: rgba(0, 0, 0, .72); }
#empilo[hidden] { display: none !important; }
#empilo .box { background: #0e0c0a; border: 3px solid #3a332b; border-radius: 18px 22px 16px 24px; padding: 14px 18px; text-align: center; box-shadow: 0 0 60px rgba(127, 163, 184, .25), 0 10px 40px #000; }
#empilo b { display: block; font: 34px var(--title); color: var(--ember); }
#empilo canvas { display: block; margin: 8px auto; height: min(62vh, 480px); width: auto; image-rendering: pixelated; border: 2px solid var(--bone-dim); }
#empilo .score { margin: 4px 0; font: 18px var(--title); }

/* À suivre… */
#tbc { position: absolute; inset: 0; z-index: 9; display: grid; place-items: center; pointer-events: none; background: radial-gradient(ellipse at center, rgba(0,0,0,.55), rgba(0,0,0,.9)); animation: tbc 4.5s ease forwards; }
#tbc[hidden] { display: none !important; }
#tbc span { font: clamp(48px, 9vw, 110px) var(--title); color: var(--bone); text-shadow: 0 0 30px rgba(159, 240, 224, .35); }
@keyframes tbc { 0% { opacity: 0; } 15%, 75% { opacity: 1; } 100% { opacity: 0; } }
html.ship #quest { opacity: .5; }
