/* Onglet « RoamCab » : une capture d'écran et « Lancer le jeu » ; le jeu s'ouvre en plein écran, en paysage */
#view-taxi[hidden] { display: none; }
.taxi-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; max-width: 860px; margin: 0 auto; }
.taxi-shot { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: radial-gradient(120% 90% at 30% 20%, #2a4a3a 0%, #14303a 55%, #0d1316 100%); }
.taxi-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.taxi-shot-ph { position: absolute; inset: 0; display: grid; place-items: center; font: 800 clamp(28px, 6vw, 54px)/1 var(--f-display); color: #ffc919; letter-spacing: .02em; }
.taxi-shot img:not([hidden]) + .taxi-shot-ph { display: none; }
.taxi-note { margin: 0; color: var(--muted); font-size: 15px; max-width: 60ch; }
.taxi-go { font-size: 17px; padding: 13px 28px; }

.taxi-stage { position: fixed; inset: 0; z-index: 1000; background: #0d1316; }
.taxi-stage[hidden] { display: none; }
.taxi-frame { width: 100%; height: 100%; border: 0; display: block; background: #0d1316; }
body.taxi-playing { overflow: hidden; }
.taxi-close { position: absolute; left: 50%; transform: translateX(-50%); bottom: calc(env(safe-area-inset-bottom, 0px) + 6px); z-index: 2; width: 34px; height: 34px; margin-left: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(12,18,21,.85); color: #f2efe6; font: 700 16px/1 var(--f-body); cursor: pointer; }
/* phone held upright: ask to turn it (the game is made for landscape) */
.taxi-rotate { position: absolute; inset: 0; z-index: 3; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 16px; background: rgba(13,19,22,.96); color: #f2efe6; text-align: center; padding: 24px; }
.taxi-rotate p { margin: 0; font-size: 18px; font-weight: 600; }
.taxi-rot-ico { font-size: 56px; color: #ffc919; animation: taxi-rot 1.6s ease-in-out infinite; }
@keyframes taxi-rot { 0%, 30% { transform: rotate(0); } 60%, 100% { transform: rotate(-90deg); } }
@media (orientation: portrait) and (pointer: coarse) { .taxi-stage:not(.rot-skip) .taxi-rotate { display: flex; } }
@media (prefers-reduced-motion: reduce) { .taxi-rot-ico { animation: none; } }
.taxi-pc { margin: -6px 0 0; font-size: 13.5px; font-weight: 600; color: var(--ink); background: var(--accent-soft); border-radius: 99px; padding: 5px 12px; }
.taxi-url { margin: 0; font-size: 13px; color: var(--muted); }
a.taxi-go { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
/* RoamCab logo: shown on its dark background while there is no screenshot (roamcab.jpg) */
.taxi-shot { background: #24272a; }
img.taxi-shot-ph { position: absolute; inset: 0; margin: auto; width: min(78%, 560px); height: auto; object-fit: contain; }
