/* the web teaser's pages (/play): same colours and type as the landing page */
:root { --bg: #140c06; --surface: #23180f; --ink: #f6e9d2; --muted: #cdbb9d; --gold: #e6a21c; --teal: #53d8d1; --teal-hover: #83ebe5; --border: #806d55; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--ink); font: 400 17px/1.5 Inter, -apple-system, "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2 { font-family: "Bree Serif", Georgia, serif; font-weight: 400; line-height: 1.15; margin: 0 0 10px; }
h1 { font-size: 34px; color: var(--gold); }
h2 { font-size: 24px; color: var(--ink); }
p { margin: 0 0 14px; max-width: 60ch; }
a { color: var(--teal); }
.muted { color: var(--muted); } .small { font-size: 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: 12px; background: var(--teal); color: var(--bg); font-weight: 600; font-size: 17px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; }
.btn:hover { background: var(--teal-hover); color: var(--bg); }
.btn.ghost { background: transparent; color: var(--teal); border: 1.5px solid var(--border); }
.btn.ghost:hover { border-color: var(--teal); }
.row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.badge { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--bg); background: var(--gold); border-radius: 6px; padding: 3px 8px; }

/* the chooser */
.choose { max-width: 1040px; margin: 0 auto; padding: 28px 16px 48px; }
.choose header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.choose header img { height: 54px; width: auto; }
.cards { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 760px) { .cards { grid-template-columns: 1fr 1fr; } }
.card { background: var(--surface); border: 1px solid #3a2a1b; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.card .in { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.card .in .row { margin-top: auto; padding-top: 6px; }

/* the player */
body.player { overflow: hidden; touch-action: none; }
#stage { position: fixed; inset: 0; background: #000; }
#unity-canvas { width: 100vw; height: 100vh; height: 100dvh; display: block; background: #000; outline: none; }
.layer { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(20, 12, 6, .94); z-index: 5; overflow-y: auto; }
.layer.hide { display: none; }
.panel { max-width: 620px; width: 100%; background: var(--surface); border: 1px solid #3a2a1b; border-radius: 16px; padding: 22px 20px; }
.cover { background: rgba(20, 12, 6, .82) center / cover no-repeat; }
.bar { height: 10px; border-radius: 6px; background: #3a2a1b; overflow: hidden; margin: 14px 0 6px; }
.bar i { display: block; height: 100%; width: 0; background: var(--teal); transition: width .2s; }
#demo-tag { position: fixed; left: 50%; top: 6px; transform: translateX(-50%); z-index: 3; pointer-events: none; opacity: .85; }
#turn { display: none; z-index: 9; text-align: center; }
#turn svg { width: 72px; height: 72px; margin-bottom: 12px; }
@media (orientation: portrait) and (pointer: coarse) { #turn { display: flex; } }
