@font-face {
  font-family: "Michroma";
  src: url("assets/fonts/michroma-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --night: #0B1626;
  --dusk: #1C2D4A;
  --amber: #F2A541;
  --ember: #D9733B;
  --onair: #E0352B;
  --ivory: #F3EDE3;
  --ivory-2: rgba(243, 237, 227, .68);
  --ivory-3: rgba(243, 237, 227, .6);
  --glass: rgba(18, 27, 44, .46);
  --hair: rgba(243, 237, 227, .14);
  --ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --mark: "Michroma", "Eurostile", "Arial Black", sans-serif;
  --ic: 62px;
  --s: 1;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.42, .64, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--night);
  color: var(--ivory);
  font-family: var(--ui);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
img { display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 8px; }
/* Sur les boutons ambre, le contour ambre serait invisible */
.btn-primary:focus-visible, .send:focus-visible, .chip[aria-pressed="true"]:focus-visible { outline-color: var(--ivory); }
[hidden] { display: none !important; }

/* ---------- Scène (ordinateur) ---------- */
.scene {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(280px, 440px) auto;
  align-items: center;
  justify-content: center;
  gap: clamp(40px, 7vw, 120px);
  padding: 32px;
}
.scene-bg { position: fixed; inset: 0; overflow: hidden; z-index: 0; }
.scene-bg img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.25);
  filter: blur(46px) saturate(1.1) brightness(.5);
  transition: opacity 1.2s var(--ease);
}
.scene-bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 70% 50%, transparent 0%, rgba(11, 22, 38, .55) 55%, var(--night) 100%);
}

.pitch { position: relative; z-index: 1; max-width: 440px; }
.pitch-mark {
  font-family: var(--mark); font-size: 15px; letter-spacing: .06em;
  color: var(--amber); margin: 0 0 28px;
}
.pitch-title {
  font-family: var(--mark); font-weight: 400;
  font-size: clamp(26px, 2.6vw, 38px); line-height: 1.32; letter-spacing: -.01em;
  margin: 0 0 22px; text-wrap: balance;
}
.pitch-text { font-size: 17px; line-height: 1.55; color: var(--ivory-2); margin: 0 0 34px; max-width: 34em; }
.pitch-actions { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.btn-primary {
  background: var(--amber); color: #1A1206;
  font-weight: 650; font-size: 16px;
  padding: 15px 26px; border-radius: 999px;
  box-shadow: 0 10px 34px -10px rgba(242, 165, 65, .7);
  transition: transform .25s var(--spring), box-shadow .25s;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 40px -10px rgba(242, 165, 65, .85); }
.btn-primary:active { transform: scale(.97); }
.btn-quiet { color: var(--ivory-2); font-size: 15px; border-bottom: 1px solid var(--hair); padding: 4px 0; }
.btn-quiet:hover { color: var(--ivory); border-color: var(--ivory-3); }
.pitch-more { margin: 18px 0 0; font-size: 14px; }
.pitch-more a { color: #F2A541; text-decoration: none; }
.pitch-more a:hover { text-decoration: underline; }
.pitch-qr { display: flex; align-items: center; gap: 16px; margin: 46px 0 0; }
.pitch-qr img { width: 92px; height: 92px; border-radius: 12px; flex: none; }
.pitch-qr figcaption { font-size: 13px; line-height: 1.5; color: var(--ivory-3); max-width: 230px; }

/* ---------- Téléphone ---------- */
.phone {
  position: relative; z-index: 1;
  width: 393px; height: 852px;
  transform: scale(var(--s));
  transform-origin: center;
  margin: calc((852px * var(--s) - 852px) / 2) calc((393px * var(--s) - 393px) / 2);
  border-radius: 58px;
  padding: 11px;
  background: linear-gradient(145deg, #4a4a50, #1d1d21 30%, #2a2a2f 70%, #55555c);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, .14),
    0 50px 120px -30px rgba(0, 0, 0, .8),
    0 30px 90px -40px rgba(242, 165, 65, .35);
}
.screen {
  position: relative; width: 100%; height: 100%;
  border-radius: 47px; overflow: hidden;
  background: var(--night);
  isolation: isolate;
  container-type: inline-size;
}

.wall, .wall-shade { position: absolute; inset: 0; }
.wall img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0; transition: opacity .9s var(--ease), transform 1.6s var(--ease);
  transform: scale(1.04);
}
.wall img.on { opacity: 1; transform: scale(1); }
.wall-shade {
  background:
    linear-gradient(180deg, rgba(8, 14, 26, .55) 0%, rgba(8, 14, 26, .12) 26%, rgba(8, 14, 26, .12) 55%, rgba(8, 14, 26, .7) 100%);
  pointer-events: none;
  transition: background-color .9s var(--ease);
}
/* Fonds chargés au centre (config busyWalls) */
.busy .wall-shade { background-color: rgba(8, 14, 26, .38); }

.statusbar {
  position: absolute; top: 0; left: 0; right: 0; height: 54px; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 30px 0 46px;
  font-weight: 600; font-size: 16px; letter-spacing: -.01em;
  pointer-events: none;
}
.sb-right { display: flex; gap: 6px; align-items: center; }
.sb-right svg { fill: var(--ivory); }
.sb-batt { width: 25px; height: 12px; border-radius: 4px; border: 1.2px solid rgba(243, 237, 227, .5); padding: 1.5px; position: relative; }
.sb-batt::after { content: ""; position: absolute; right: -3.5px; top: 3.5px; width: 1.5px; height: 4px; border-radius: 0 2px 2px 0; background: rgba(243, 237, 227, .5); }
.sb-batt i { display: block; height: 100%; width: 78%; background: var(--ivory); border-radius: 2px; }

/* Dynamic Island */
.island {
  position: absolute; top: 11px; left: 50%; z-index: 40;
  width: 124px; height: 36px; margin-left: -62px;
  background: #000; border-radius: 22px;
  display: flex; align-items: center; gap: 8px; padding: 0 8px;
  overflow: hidden;
  transition: width .5s var(--spring), margin-left .5s var(--spring), height .5s var(--spring), border-radius .5s var(--spring);
  cursor: default;
}
.island > * { opacity: 0; transition: opacity .2s; }
.island.live { width: 200px; margin-left: -100px; cursor: pointer; }
.island.live > * { opacity: 1; transition-delay: .2s; }
.isl-cover { width: 22px; height: 22px; border-radius: 6px; object-fit: cover; flex: none; }
.isl-text { display: none; }
.isl-eq { margin-left: auto; display: flex; gap: 2px; align-items: center; height: 16px; }
.isl-eq i { width: 3px; height: 4px; background: var(--amber); border-radius: 2px; }
.playing .isl-eq i { animation: eq .9s ease-in-out infinite; }
.playing .isl-eq i:nth-child(2) { animation-delay: -.3s; }
.playing .isl-eq i:nth-child(3) { animation-delay: -.6s; }
.playing .isl-eq i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 15px; } }
.island.expanded { width: 352px; margin-left: -176px; height: 76px; border-radius: 38px; padding: 0 16px; gap: 12px; }
.island.expanded .isl-cover { width: 48px; height: 48px; border-radius: 12px; }
.island.expanded .isl-text { display: flex; flex-direction: column; text-align: left; min-width: 0; }
.isl-text b { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.isl-text small { font-size: 13px; color: var(--ivory-3); font-family: var(--mark); letter-spacing: .03em; }

/* ---------- Écran d'accueil ---------- */
.home {
  position: absolute; inset: 0; z-index: 10;
  display: flex; flex-direction: column;
  padding: 66px 22px 0;
  transition: transform .45s var(--ease), filter .45s var(--ease), opacity .45s var(--ease);
}
.home.behind { transform: scale(.92); filter: blur(10px) brightness(.7); }

.badge {
  position: absolute; top: -6px; right: 2px; z-index: 2;
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px;
  background: #FF3B30; color: #fff; font-size: 13px; font-weight: 600; line-height: 22px; text-align: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .35);
}

.widget {
  border-radius: 26px;
  padding: 14px 14px 10px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(28px) saturate(1.6);
  backdrop-filter: blur(28px) saturate(1.6);
  box-shadow: inset 0 0 0 .5px rgba(243, 237, 227, .16);
  margin-bottom: 22px;
}
.w-top { display: flex; gap: 13px; align-items: center; }
.w-cover {
  width: 88px; height: 88px; border-radius: 14px; object-fit: cover; flex: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .45);
  transition: opacity .4s;
}
.w-info { flex: 1; min-width: 0; }
.w-info p { margin: 0; }
.w-open {
  flex: 1; min-width: 0; display: flex; gap: inherit; align-items: center; text-align: left;
  border-radius: 16px; margin: -4px; padding: 4px; transition: transform .25s var(--spring);
}
.w-open:active { transform: scale(.97); }
.w-hour, .w-show, .w-track { display: block; }
.w-station { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; font-size: 12px; color: var(--ivory-2); margin-bottom: 6px !important; }
.onair {
  flex: none; white-space: nowrap;
  font-family: var(--mark); font-size: 8.5px; letter-spacing: .08em;
  padding: 3px 5px 2px; border-radius: 3px;
  color: rgba(243, 237, 227, .62); border: 1px solid rgba(243, 237, 227, .35);
  transition: all .4s;
}
.onair.lit { color: #fff; background: #D42F25; border-color: #D42F25; box-shadow: 0 0 14px rgba(224, 53, 43, .8); }
.w-hour { font-family: var(--mark); font-size: 22px; line-height: 1.15; letter-spacing: .01em; white-space: nowrap; }
.w-hour.long { font-size: 17px; line-height: 1.5; }
.w-hour sup { font-size: .42em; vertical-align: top; position: relative; top: .15em; margin-left: .2em; color: var(--ivory-2); }
.w-show { font-size: 13px; line-height: 1.25; color: var(--ivory-2); margin-top: 2px !important; }
.w-track { font-size: 13px; font-weight: 600; margin-top: 4px !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-play {
  width: 46px; height: 46px; border-radius: 50%; flex: none; align-self: center;
  background: var(--ivory); color: var(--night);
  display: grid; place-items: center;
  transition: transform .3s var(--spring);
}
.w-play:active { transform: scale(.9); }
.w-play svg { width: 20px; height: 20px; fill: currentColor; grid-area: 1 / 1; }
.w-play .i-pause, .playing .w-play .i-play { display: none; }
.playing .w-play .i-pause { display: block; }

.dial { position: relative; height: 34px; margin-top: 10px; }
.dial-scale { position: absolute; inset: 0 20px; }
.dial-scale .t { position: absolute; bottom: 15px; width: 1px; height: 6px; background: rgba(243, 237, 227, .35); transform: translateX(-.5px); }
.dial-scale .t.major { height: 10px; background: rgba(243, 237, 227, .7); }
.dial-scale .l {
  position: absolute; bottom: 0; transform: translateX(-50%);
  font-family: var(--mark); font-size: 9px; letter-spacing: .02em; color: var(--ivory-2); white-space: nowrap;
}
.dial-scale::before { content: ""; position: absolute; left: 0; right: 0; bottom: 14px; height: 1px; background: rgba(243, 237, 227, .2); }
.dial-needle {
  position: absolute; top: 0; bottom: 10px; width: 2px; margin-left: 19px;
  left: 0; background: var(--onair); border-radius: 2px;
  box-shadow: 0 0 10px rgba(224, 53, 43, .9);
  transition: left .5s var(--spring);
  pointer-events: none;
}
.dial-input {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; touch-action: none;
}
.dial:has(.dial-input:focus-visible) { outline: 2px solid var(--amber); outline-offset: 2px; border-radius: 8px; }

.grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  row-gap: 22px; column-gap: 0;
  justify-items: center;
}
.app {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  text-decoration: none; width: calc(var(--ic) + 20px);
  position: relative;
}
.app-label {
  font-size: 12px; line-height: 1.1; letter-spacing: -.01em; color: var(--ivory);
  text-shadow: 0 1px 2px rgba(0, 0, 0, .85), 0 0 10px rgba(0, 0, 0, .55);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}
.icon {
  width: var(--ic); height: var(--ic); border-radius: 23%;
  display: grid; place-items: center; position: relative; overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .28), inset 0 0 0 .5px rgba(255, 255, 255, .12);
  transition: transform .35s var(--spring), filter .2s;
}
.icon svg.glyph { width: 56%; height: 56%; }
.icon svg.glyph.full { width: 100%; height: 100%; }
.icon > img { width: 100%; height: 100%; object-fit: cover; }
.icon img.mini { width: 100%; height: auto; aspect-ratio: 1; border-radius: 22%; display: block; }
.app:active .icon, .app.pressed .icon { transform: scale(.88); filter: brightness(.82); }
@media (hover: hover) { .app:hover .icon { transform: translateY(-2px) scale(1.04); } }

.ring { position: absolute; right: 7%; bottom: 7%; width: 30%; height: 30%; display: grid; place-items: center; background: rgba(0, 0, 0, .55); border-radius: 50%; }
.ring svg { width: 82%; height: 82%; }
.ring circle { fill: none; stroke-width: 3; }
.ring .bg { stroke: rgba(255, 255, 255, .28); }
.ring .fg { stroke: #fff; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 72; transform: rotate(-90deg); transform-origin: center; }

/* Langue et partage, à la place des points de page iOS */
.home-foot { display: flex; align-items: center; justify-content: center; gap: 10px; margin: auto 0 12px; padding-top: 14px; }
.lang {
  display: flex; gap: 2px; padding: 3px;
  border-radius: 999px; background: rgba(8, 14, 26, .42);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: inset 0 0 0 .5px rgba(243, 237, 227, .14);
}
.lang button {
  min-width: 44px; min-height: 28px; padding: 0 12px; border-radius: 999px;
  font-size: 12px; font-weight: 650; letter-spacing: .06em; color: var(--ivory-2);
  transition: background .25s, color .25s;
}
.lang button[aria-pressed="true"] { background: rgba(243, 237, 227, .9); color: var(--night); }

/* Icône Agenda façon Calendrier iOS */
.icon.cal { background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: 9%; }
.icon.cal b { font-size: calc(var(--ic) * .17); font-weight: 600; color: #D70015; text-transform: capitalize; line-height: 1; }
.icon.cal i { font-style: normal; font-size: calc(var(--ic) * .5); font-weight: 300; color: #111; line-height: 1.05; letter-spacing: -.03em; }

.dock {
  display: grid; grid-template-columns: repeat(4, 1fr); justify-items: center;
  padding: 14px 8px 10px; margin: 0 -10px 26px;
  border-radius: 34px;
  background: rgba(30, 40, 60, .38);
  -webkit-backdrop-filter: blur(30px) saturate(1.7);
  backdrop-filter: blur(30px) saturate(1.7);
  box-shadow: inset 0 0 0 .5px rgba(243, 237, 227, .14);
}
.dock .app-label { font-size: 11px; color: var(--ivory-2); }

/* Entrée d'écran : un seul moment, le déverrouillage */
.boot .widget, .boot .app { opacity: 0; transform: scale(.82); }
.booted .widget, .booted .app {
  transition: opacity .6s var(--ease), transform .8s var(--spring);
  transition-delay: calc(var(--d, 0) * 22ms);
}

/* ---------- Dossier ---------- */
.folder {
  position: absolute; inset: 0; z-index: 50;
  display: grid; place-items: center;
  background: rgba(6, 10, 20, .35);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  animation: fade .3s var(--ease);
}
.folder-inner { text-align: center; animation: pop .45s var(--spring); }
.folder-title { font-size: 30px; font-weight: 700; margin: 0 0 18px; letter-spacing: -.02em; }
.folder-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 6px;
  padding: 22px 12px; width: 300px; border-radius: 38px;
  background: rgba(60, 70, 90, .38);
  box-shadow: inset 0 0 0 .5px rgba(243, 237, 227, .16);
  justify-items: center;
}
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.6); } }

/* ---------- Apps internes ---------- */
.appview {
  position: absolute; inset: 0; z-index: 60;
  background: #0D1828;
  display: flex; flex-direction: column;
  animation: appin .5s var(--ease);
}
@keyframes appin { from { opacity: 0; transform: scale(.94); border-radius: 40px; } }
.appview.out { animation: appout .35s var(--ease) forwards; }
@keyframes appout { to { opacity: 0; transform: scale(.9); } }
.app-head {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 58px 14px 10px; border-bottom: .5px solid var(--hair);
  background: rgba(13, 24, 40, .86);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  position: relative; z-index: 2;
}
.app-back { display: flex; align-items: center; gap: 6px; color: var(--amber); font-size: 17px; justify-self: start; padding: 6px 4px; }
.app-title { font-size: 17px; font-weight: 600; margin: 0; }
.app-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 22px 20px 70px; -webkit-overflow-scrolling: touch; }
.app-body h3 { font-size: 28px; font-weight: 700; letter-spacing: -.02em; margin: 0 0 8px; line-height: 1.15; }
.app-body .lead { color: var(--ivory-2); font-size: 15px; line-height: 1.5; margin: 0 0 22px; }
.app-body .section { font-size: 13px; color: var(--ivory-3); margin: 26px 0 10px; }

/* Booking */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 9px 14px; border-radius: 999px; font-size: 14px;
  background: rgba(243, 237, 227, .07); box-shadow: inset 0 0 0 1px var(--hair);
  transition: background .2s, color .2s, box-shadow .2s;
}
.chip[aria-pressed="true"] { background: var(--amber); color: #1A1206; box-shadow: none; font-weight: 600; }
.fields { border-radius: 14px; background: rgba(243, 237, 227, .06); overflow: hidden; }
.field { display: flex; align-items: center; gap: 12px; padding: 0 14px; min-height: 48px; border-bottom: .5px solid var(--hair); }
.field:last-child { border-bottom: 0; }
.field label { width: 92px; flex: none; font-size: 15px; color: var(--ivory-2); }
.field input, .field select, .field textarea {
  flex: 1; min-width: 0; background: none; border: 0; outline: 0; font-size: 16px; padding: 13px 0; color: var(--ivory);
  color-scheme: dark;
}
.field textarea { resize: none; min-height: 96px; line-height: 1.4; }
.field.area { align-items: flex-start; }
.field.area label { padding-top: 13px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ivory-3); }
.field.err label { color: #FF8A80; }
.send {
  width: 100%; margin-top: 22px; padding: 16px; border-radius: 14px;
  background: var(--amber); color: #1A1206; font-weight: 650; font-size: 17px;
}
.send:active { transform: scale(.98); }
.mailline { margin: 16px 0 0; text-align: center; font-size: 14px; color: var(--ivory-3); }
.mailline button { color: var(--ivory); text-decoration: underline; text-underline-offset: 3px; }
.formerr { color: #FF8A80; font-size: 14px; margin: 12px 0 0; min-height: 1em; }
.req { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); vertical-align: middle; margin-left: 4px; }
.field.err label::after, .chips.err::after { content: "manquant"; display: block; font-size: 12px; color: #FF8A80; }
.chips.err::after { flex-basis: 100%; }
.field.err { box-shadow: inset 3px 0 0 #FF8A80; }
.send:disabled { opacity: .6; }
.send.as-link { display: block; text-align: center; text-decoration: none; }
.send.quiet { background: rgba(243, 237, 227, .1); color: var(--ivory); margin-top: 12px; }
.linkish { display: block; margin: 22px auto 0; color: var(--amber); font-size: 16px; padding: 10px; }
.done { padding-top: 24px; }
.done h3:focus { outline: none; }
.done-mark { width: 64px; height: 64px; border-radius: 50%; margin-bottom: 18px; background: var(--amber) center/30px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' fill='none' stroke='%231A1206' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

.nojs { position: fixed; inset: 0; z-index: 200; overflow: auto; padding: 48px 28px; background: var(--night); }
.nojs h1 { font-family: var(--mark); font-weight: 400; font-size: 28px; margin: 0 0 6px; }
.nojs h2 { font-family: var(--mark); font-weight: 400; font-size: 18px; margin: 26px 0 8px; color: #F2A541; }
.nojs h3 { font-size: 15px; font-weight: 600; margin: 16px 0 4px; }
.nojs p { color: var(--ivory-2); line-height: 1.55; max-width: 34em; }
.nojs ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.nojs a { display: inline-block; padding: 10px 14px; border-radius: 999px; background: rgba(243, 237, 227, .1); text-decoration: none; }

/* Sorties */
.ep-hero { display: flex; gap: 16px; align-items: flex-end; margin-bottom: 20px; }
.ep-hero img { width: 132px; height: 132px; border-radius: 12px; object-fit: cover; box-shadow: 0 12px 30px rgba(0, 0, 0, .5); }
.ep-hero h3 { font-size: 22px; }
.ep-hero p { margin: 0; color: var(--ivory-2); font-size: 14px; line-height: 1.4; }
.tracks { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.tracks li { border-bottom: .5px solid var(--hair); }
.tracks button { width: 100%; display: flex; align-items: center; gap: 14px; padding: 13px 2px; text-align: left; font-size: 16px; }
.tracks .n { width: 18px; color: var(--ivory-3); font-size: 15px; text-align: center; flex: none; }
.tracks .cur { color: var(--amber); }
.eps { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px; }
.ep { text-align: left; }
.ep img { width: 100%; aspect-ratio: 1; border-radius: 10px; object-fit: cover; margin-bottom: 8px; }
.ep b { display: block; font-family: var(--mark); font-size: 12px; font-weight: 400; letter-spacing: .02em; }
.ep span { font-size: 13px; color: var(--ivory-3); }
.ep.cur img { box-shadow: 0 0 0 2px var(--amber); }

/* Bio */
.profile { display: flex; flex-direction: column; align-items: center; text-align: center; margin: 4px 0 22px; }
.profile img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; margin-bottom: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.profile h3 { margin-bottom: 2px; }
.profile p { margin: 0; font-family: var(--mark); font-size: 12px; color: var(--amber); letter-spacing: .04em; }
.prose p { font-size: 16px; line-height: 1.6; color: var(--ivory-2); margin: 0 0 14px; }
.list { list-style: none; margin: 0; padding: 0; border-radius: 14px; background: rgba(243, 237, 227, .06); }
.list li { padding: 14px; border-bottom: .5px solid var(--hair); font-size: 15px; }
.list li:last-child { border-bottom: 0; }

/* Radio plein écran */
.np { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 8px; }
.np img { width: 100%; max-width: 300px; aspect-ratio: 1; border-radius: 14px; object-fit: cover; box-shadow: 0 24px 60px rgba(0, 0, 0, .6); transition: transform .5s var(--spring); }
.np:not(.on) img { transform: scale(.86); }
.np h3 { margin: 24px 0 2px; font-size: 22px; }
.np p { margin: 0; color: var(--ivory-2); }
.np-ctrl { display: flex; align-items: center; gap: 40px; margin: 26px 0; }
.np-ctrl button svg { width: 34px; height: 34px; fill: var(--ivory); }
.np-ctrl .big svg { width: 54px; height: 54px; }
.np-bar { width: 100%; max-width: 300px; height: 4px; border-radius: 2px; background: rgba(243, 237, 227, .2); overflow: hidden; }
.np-bar i { display: block; height: 100%; width: 0; background: var(--ivory); }
.np-note { font-size: 13px; color: var(--ivory-3); margin-top: 26px !important; max-width: 300px; }

/* Clips */
.empty { text-align: center; padding: 40px 10px; }
.empty p { color: var(--ivory-2); line-height: 1.5; }
.clip { display: block; width: 100%; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; margin-bottom: 14px; position: relative; background: #000; }
.clip img { width: 100%; height: 100%; object-fit: cover; }
.clip iframe { width: 100%; height: 100%; border: 0; }

.ghost {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 10px;
  padding: 12px 18px; border-radius: 999px; background: rgba(243, 237, 227, .1); font-weight: 600; text-decoration: none;
}
.ghost .icon { --ic: 26px; border-radius: 7px; }

/* Alerte */
.alert {
  position: absolute; inset: 0; z-index: 80; display: grid; place-items: center;
  background: rgba(0, 0, 0, .38); animation: fade .2s;
}
.alert-box {
  width: 272px; border-radius: 16px; text-align: center; overflow: hidden;
  background: rgba(40, 46, 60, .82);
  -webkit-backdrop-filter: blur(30px) saturate(1.6); backdrop-filter: blur(30px) saturate(1.6);
  animation: pop .35s var(--spring);
}
.alert-icon { display: flex; justify-content: center; padding-top: 20px; }
.alert-icon .icon { --ic: 52px; }
.alert-box h2 { font-size: 17px; font-weight: 600; margin: 12px 16px 4px; }
.alert-box p { font-size: 13px; line-height: 1.4; margin: 0 16px 18px; color: var(--ivory-2); }
.alert-btns { display: flex; flex-direction: column; }
.alert-btns > * {
  display: block; padding: 12px; border-top: .5px solid rgba(243, 237, 227, .2);
  color: var(--amber); font-size: 17px; text-decoration: none;
}
.alert-btns > .strong { font-weight: 600; }

.toast {
  position: absolute; top: 58px; left: 50%; z-index: 90;
  transform: translate(-50%, -30px); opacity: 0;
  padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: rgba(30, 38, 54, .92); box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
  transition: all .4s var(--spring); pointer-events: none; white-space: nowrap;
}
.toast.on { transform: translate(-50%, 0); opacity: 1; }

.launch {
  position: absolute; z-index: 70; pointer-events: none; opacity: 0;
  border-radius: 14px;
}
.launch.go { opacity: 1; transition: left .45s var(--ease), top .45s var(--ease), width .45s var(--ease), height .45s var(--ease), border-radius .45s var(--ease); }

.homebar {
  position: absolute; z-index: 95; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 180px; height: 28px; display: grid; place-items: center;
}
.homebar i { width: 134px; height: 5px; border-radius: 3px; background: var(--ivory); opacity: .9; }

/* ---------- Téléphone réel : le site devient l'écran ---------- */
@container (max-width: 360px) {
  .w-cover { width: 66px; height: 66px; border-radius: 12px; }
  .w-top { gap: 10px; }
  .w-hour { font-size: 18px; }
  .w-hour.long { font-size: 14px; }
  .w-play { width: 42px; height: 42px; }
  .w-show { font-size: 12px; }
}

/* ---------- Écran plein : téléphone, paysage, zoom fort ou petite fenêtre ---------- */
@media (max-width: 620px), (max-height: 660px) {
  body { overflow: auto; }
  .scene { display: block; padding: 0; min-height: 100dvh; }
  .pitch, .statusbar, .island, .scene-bg { display: none; }
  .phone {
    width: 100%; height: 100vh; height: 100dvh; margin: 0; padding: 0;
    transform: none; border-radius: 0; background: none; box-shadow: none;
  }
  .screen { border-radius: 0; }
  :root { --ic: min(64px, 15.2vw); }
  .home {
    padding: calc(env(safe-area-inset-top, 20px) + 14px) max(18px, 4.5vw) 0;
    max-width: 560px; margin: 0 auto;
    overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none;
  }
  .home::-webkit-scrollbar { display: none; }
  .app-body { padding-inline: max(20px, calc((100% - 560px) / 2)); }
  .app-head { padding-inline: max(14px, calc((100% - 580px) / 2)); }
  .home > * { flex-shrink: 0; }
  /* Comme sur iPhone : le dock reste en bas quand l'écran défile */
  .dock { position: sticky; bottom: calc(env(safe-area-inset-bottom, 0px) + 22px); z-index: 3; margin-bottom: calc(env(safe-area-inset-bottom, 0px) + 22px); }
  .app-head { padding-top: calc(env(safe-area-inset-top, 20px) + 6px); }
  .toast { top: calc(env(safe-area-inset-top, 20px) + 8px); }
  .homebar { display: none; }
  .appview.has-bar .homebar { display: grid; }
}
/* Paysage : le dock défile avec le reste, sinon il cache la moitié de l'écran */
@media (max-height: 520px) { .dock { position: static; } }

@media (max-width: 620px) and (max-height: 780px), (max-height: 520px) {
  .grid { row-gap: 12px; }
  .widget { margin-bottom: 12px; padding: 12px 12px 8px; }
  .w-cover { width: 68px; height: 68px; }
  .home { padding-top: calc(env(safe-area-inset-top, 20px) + 8px); }
  .home-foot { margin-bottom: 8px; padding-top: 8px; }
  .dock { padding: 10px 8px 8px; bottom: calc(env(safe-area-inset-bottom, 0px) + 10px); margin-bottom: calc(env(safe-area-inset-bottom, 0px) + 10px); }
}

/* Ordinateur étroit : on garde le téléphone seul */
@media (min-width: 621px) and (max-width: 900px) {
  .scene { grid-template-columns: auto; }
  .pitch { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}

/* ---------- Presse ---------- */
.app-body .lead.center { text-align: center; margin-top: -8px; }
.dl { display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; background: rgba(243, 237, 227, .06); }
.dl-row { display: flex; align-items: center; gap: 14px; padding: 13px 14px; text-decoration: none; border-bottom: .5px solid var(--hair); min-height: 56px; }
.dl-row:last-child { border-bottom: 0; }
.dl-row b { display: block; font-size: 15px; font-weight: 600; }
.dl-row small { display: block; font-size: 13px; color: var(--ivory-3); margin-top: 2px; }
.dl-ico { width: 30px; height: 30px; flex: none; padding: 6px; border-radius: 50%; background: var(--amber); color: #1A1206; }
.copyblock { margin-top: 6px; }
.copyblock p:not(.section) { font-size: 15px; line-height: 1.6; color: var(--ivory-2); margin: 0 0 10px; }
.cb-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cb-head .section { margin-bottom: 6px !important; }
.cb-btn { min-height: 32px; padding: 0 14px; margin-top: 16px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--amber); background: rgba(242, 165, 65, .12); }
.facts { margin: 0; border-radius: 14px; background: rgba(243, 237, 227, .06); }
.facts div { display: grid; grid-template-columns: 7.5em 1fr; gap: 10px; padding: 12px 14px; border-bottom: .5px solid var(--hair); }
.facts div:last-child { border-bottom: 0; }
.facts dt { font-size: 13px; color: var(--ivory-3); padding-top: 1px; }
.facts dd { margin: 0; font-size: 15px; line-height: 1.45; }
.muted { color: var(--ivory-2); font-size: 15px; line-height: 1.5; margin: 0 0 18px; }
.app-body .send + .section, .muted + .send { margin-top: 22px; }
.linklist { list-style: none; margin: 0; padding: 0; border-radius: 14px; overflow: hidden; background: rgba(243, 237, 227, .06); }
.linklist a { display: flex; align-items: center; gap: 12px; padding: 10px 14px; text-decoration: none; border-bottom: .5px solid var(--hair); min-height: 52px; }
.linklist li:last-child a { border-bottom: 0; }
.linklist .icon { --ic: 32px; border-radius: 8px; flex: none; }
.linklist b { display: block; font-size: 15px; font-weight: 600; }
.linklist small { display: block; font-size: 12px; color: var(--ivory-3); }

/* ---------- Agenda ---------- */
.dates { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.date { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 14px; background: rgba(243, 237, 227, .06); }
.d-cal { width: 50px; flex: none; border-radius: 10px; overflow: hidden; text-align: center; background: #fff; color: #111; }
.d-cal b { display: block; font-size: 11px; font-weight: 600; line-height: 18px; text-transform: uppercase; color: #fff; background: #D70015; }
.d-cal i { display: block; font-style: normal; font-size: 22px; font-weight: 400; line-height: 30px; }
.dates.past .d-cal b { background: #6B7280; }
.d-info { flex: 1; min-width: 0; }
.d-info b { display: block; font-size: 16px; font-weight: 600; }
.d-info small { display: block; font-size: 13px; color: var(--ivory-2); margin-top: 2px; }
.d-tix { flex: none; min-height: 36px; display: grid; place-items: center; padding: 0 14px; border-radius: 999px; background: var(--amber); color: #1A1206; font-weight: 650; font-size: 14px; text-decoration: none; }
.cta-box { margin-top: 28px; padding: 22px 18px; border-radius: 18px; text-align: center; background: rgba(242, 165, 65, .1); box-shadow: inset 0 0 0 .5px rgba(242, 165, 65, .35); }
.cta-box h3 { font-size: 20px !important; margin-bottom: 14px !important; }

/* ---------- Mixes ---------- */
.mixlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.mix-btn { width: 100%; display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 14px; background: rgba(243, 237, 227, .06); text-align: left; }
.mix-disc { width: 52px; height: 52px; flex: none; border-radius: 50%; background: radial-gradient(circle, #E0352B 0 18%, #05080F 19% 22%, #1a2233 23% 40%, #05080F 41% 44%, #1a2233 45% 100%); box-shadow: inset 0 0 0 1px rgba(242, 165, 65, .5); }
.mix-btn[aria-expanded="true"] .mix-disc { animation: spin 4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.mix-txt { flex: 1; min-width: 0; }
.mix-txt b { display: block; font-size: 16px; font-weight: 600; }
.mix-txt small { display: block; font-size: 13px; color: var(--ivory-3); margin-top: 2px; }
.mix-play { width: 34px; height: 34px; padding: 8px; flex: none; border-radius: 50%; background: var(--amber); fill: #1A1206; }
.mix-slot iframe { width: 100%; height: 120px; border: 0; border-radius: 12px; margin-top: 8px; }
.mix-slot audio { width: 100%; margin-top: 8px; }

/* ---------- Fans ---------- */
.fans { margin-top: 8px; }
.fans-row { display: flex; gap: 8px; }
.fans-row input { flex: 1; min-width: 0; min-height: 46px; padding: 0 14px; border-radius: 12px; border: 0; background: rgba(243, 237, 227, .08); color: var(--ivory); font: inherit; font-size: 16px; }
.fans-row input[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px #FF8A80; }
.fans-row .send { width: auto; margin: 0; padding: 0 18px; white-space: nowrap; }
.fans-msg { font-size: 14px; margin: 8px 0 0; min-height: 1em; color: var(--ivory); }
.fine { font-size: 12px; line-height: 1.45; color: var(--ivory-3); margin: 6px 0 0; }

/* ---------- Invitation à installer ---------- */
.hintbar {
  position: absolute; left: 12px; right: 12px; bottom: calc(env(safe-area-inset-bottom, 0px) + 128px); z-index: 60;
  display: flex; align-items: center; gap: 12px; padding: 12px 10px 12px 12px; border-radius: 20px;
  background: rgba(30, 40, 60, .82); -webkit-backdrop-filter: blur(30px) saturate(1.6); backdrop-filter: blur(30px) saturate(1.6);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .45), inset 0 0 0 .5px rgba(243, 237, 227, .16);
  animation: pop .45s var(--spring);
}
.hintbar[hidden] { display: none; }
.hintbar img { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.hintbar div { flex: 1; min-width: 0; }
.hintbar b { display: block; font-size: 14px; }
.hintbar p { margin: 2px 0 0; font-size: 13px; line-height: 1.35; color: var(--ivory-2); }
.hintbar button { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; color: var(--ivory-2); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.muted.small { font-size: 14px; margin: -6px 0 6px; }
.np + .send, .np + .section { margin-top: 26px; }

/* Frise du widget : labels plus serrés sur les écrans étroits, sans toucher les coins arrondis */
@container (max-width: 400px) {
  .dial-scale { inset: 0 17px; }
  .dial-needle { margin-left: 16px; }
  .dial-scale .l { font-size: 8px; letter-spacing: 0; }
}

/* Quatre lignes d'apps : tout tient au-dessus du dock sur les téléphones courants */
@media (max-width: 620px) and (max-height: 780px) {
  :root { --ic: min(58px, 14.4vw); }
  .home-foot { padding-top: 4px; margin-bottom: 6px; }
}
/* Très petits écrans (iPhone SE dans Safari) : plus compact, le reste défile sous le dock */
@media (max-width: 620px) and (max-height: 600px) {
  :root { --ic: min(52px, 13.6vw); }
  .grid { row-gap: 8px; }
  .app { gap: 4px; }
  .app-label { font-size: 11px; }
  .w-show, .w-track { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .w-cover { width: 58px; height: 58px; }
  .w-station { gap: 3px 6px; font-size: 11px; }
  .w-hour { font-size: 17px; }
}
