/* Monde sur TV (i157) — la page du téléviseur (/tv) et celle du téléphone (/tv?c=). */
html, body { margin: 0; background: #0a0806; color: #F5EBDD; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: #F2C94C; }
main { max-width: 1100px; margin: 0 auto; padding: 28px 20px 40px; }

/* TV : lisible à 3 mètres */
.tv-screen main { min-height: 100vh; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; padding: 4vh 5vw; max-width: none; }
.tv-brand { margin: 0 0 1vh; color: #D4AF37; letter-spacing: .25em; text-transform: uppercase; font-size: 2.2vh; }
.tv-screen h1 { margin: 0 0 5vh; font-weight: 600; font-size: 5vh; line-height: 1.15; }
.tv-pair { display: flex; align-items: center; gap: 5vw; }
.tv-qr { flex: 0 0 auto; background: #fff; border-radius: 16px; min-width: 20vh; min-height: 20vh; }
.tv-qr img { display: block; width: 36vh; height: 36vh; image-rendering: pixelated; }
.tv-how { flex: 1 1 auto; }
.tv-step { font-size: 3.2vh; line-height: 1.35; margin: 0 0 2.4vh; }
.tv-code-l { font-size: 2.4vh; color: #BFB19C; margin: 4vh 0 1vh; }
.tv-code { font-size: 11vh; font-weight: 700; letter-spacing: .12em; color: #F2C94C; margin: 0; font-variant-numeric: tabular-nums; }
.tv-screen .tv-status { font-size: 2.6vh; }

/* Téléphone */
.tv-phone main { max-width: 640px; }
.tv-phone h1 { font-size: 24px; font-weight: 600; margin: 0 0 18px; }
.tv-l { display: block; font-size: 14px; color: #BFB19C; margin: 0 0 6px; }
.tv-code-in { width: 100%; box-sizing: border-box; font-size: 30px; letter-spacing: .15em; text-transform: uppercase; text-align: center;
  padding: 12px; border-radius: 14px; border: 1px solid rgba(212,175,55,.55); background: #17120d; color: #F2C94C; margin-bottom: 18px; }
.tv-find { width: 100%; box-sizing: border-box; font-size: 16px; padding: 10px 14px; border-radius: 12px; border: 1px solid rgba(212,175,55,.35);
  background: #17120d; color: #F5EBDD; margin-bottom: 12px; }
.tv-owner { font-size: 15px; color: #D4AF37; margin: 18px 0 6px; font-weight: 600; }
.tv-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; margin-bottom: 8px;
  border-radius: 14px; background: #17120d; border: 1px solid rgba(212,175,55,.22); }
.tv-item b { display: block; font-weight: 600; }
.tv-item small { display: block; color: #BFB19C; font-size: 13px; margin-top: 2px; }
.tv-item .tv-tag { display: inline-block; color: #E6B8B8; }
.tv-btn { display: inline-block; flex: 0 0 auto; border: 0; border-radius: 999px; padding: 10px 16px; font-size: 15px; font-weight: 600; cursor: pointer;
  background: linear-gradient(135deg, #ecd6a3, #D9B877 55%, #c9a35c); color: #17110a; text-decoration: none; }
.tv-btn:disabled { opacity: .6; }
.tv-m { color: #BFB19C; }
.tv-status { min-height: 1.4em; margin-top: 16px; }
.tv-status.ok { color: #9fd3a0; }
.tv-status.err, .tv-err { color: #E6B8B8; }
@media (max-width: 480px) { .tv-item { flex-direction: column; align-items: stretch; } .tv-btn { text-align: center; } }
