/* Pyramide Maison 102 — plateau télé
   Polices : Big Shoulders Display (affichage, style panneau de score) + Atkinson Hyperlegible (texte). OFL. */

@font-face { font-family: "PyrDisplay"; src: url("fonts/big-shoulders-display-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "PyrDisplay"; src: url("fonts/big-shoulders-display-latin-900-normal.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "PyrText"; src: url("fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "PyrText"; src: url("fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

#pyr-root {
	/* Plateau */
	--studio: #13205c;      /* bleu plateau */
	--nuit: #090f33;        /* fond de scène */
	--ecran: #0f1a4d;       /* écran éteint */
	--bezel: #26346f;       /* cadre des écrans */
	--lampe: #ffcb3d;       /* or des écrans allumés */
	--ambre: #f2891f;
	--glace: #7fe3ff;       /* lueur cyan des écrans d'annonce */
	--txt: #f4f6ff;
	--muted: #9aa6d6;
	--ok: #45e39a;
	--ko: #ff6177;
	--line: rgba(160, 180, 255, .18);
	--display: "PyrDisplay", "Arial Narrow", Impact, sans-serif;
	color: var(--txt);
	font: 17px/1.45 "PyrText", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	position: relative;
	-webkit-font-smoothing: antialiased;
}
#pyr-root *, #pyr-root *::before, #pyr-root *::after { box-sizing: border-box; }

/* Décor : projecteurs sur le plateau */
body.pyr-standalone { margin: 0; min-height: 100vh; background: #090f33; }
body.pyr-standalone #pyr-root, #pyr-root.pyr-embedded {
	min-height: 100vh;
	background:
		radial-gradient(60% 40% at 50% -6%, rgba(127, 227, 255, .22), transparent 70%),
		conic-gradient(from 180deg at 50% -10%, transparent 0deg 160deg, rgba(255, 203, 61, .07) 168deg, transparent 176deg 184deg, rgba(255, 203, 61, .07) 192deg, transparent 200deg 360deg),
		linear-gradient(180deg, var(--studio) 0%, var(--nuit) 62%);
	background-attachment: fixed;
}
#pyr-root.pyr-embedded { min-height: 640px; border-radius: 18px; overflow: hidden; background-attachment: scroll; }

.pyr-app { max-width: 480px; margin: 0 auto; padding: 18px 16px calc(96px + env(safe-area-inset-bottom)); }
#pyr-root h1, #pyr-root h2, #pyr-root h3 { margin: 0; color: inherit; font-family: var(--display); font-weight: 800; letter-spacing: .01em; line-height: 1.05; }
#pyr-root h2 { font-size: 24px; }
#pyr-root a { color: var(--lampe); text-underline-offset: 3px; }
#pyr-root p { margin: 10px 0; }
#pyr-root :focus-visible { outline: 3px solid var(--glace); outline-offset: 2px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.small-note { font-size: 14px; }

/* Logo : une pyramide d'écrans */
.pyr-logo { text-align: center; margin: 14px 0 22px; }
.pyr-logo svg { width: 132px; height: 99px; overflow: visible; }
.pyr-logo rect { stroke: #fff6cf; stroke-width: 1.5; }
.pyr-logo .b1 { fill: var(--lampe); filter: drop-shadow(0 0 10px rgba(255, 203, 61, .8)); }
.pyr-logo .b2 { fill: #ffb43a; }
.pyr-logo .b3 { fill: var(--ambre); }
.pyr-logo h1 { font-size: 64px; font-weight: 900; margin-top: 8px; color: var(--lampe) !important;
	text-shadow: 0 2px 0 #b35d0c, 0 0 28px rgba(255, 203, 61, .45); letter-spacing: .02em; }
.pyr-logo.small { margin: 0 0 14px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.pyr-logo.small svg { width: 44px; height: 33px; }
.pyr-logo.small h1 { font-size: 34px; margin: 0; }

/* Panneaux */
.pyr-card { background: linear-gradient(180deg, rgba(38, 52, 111, .55), rgba(15, 26, 77, .55)); border: 1px solid var(--line);
	border-radius: 18px; padding: 18px; margin: 14px 0; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.pyr-card h2 { margin-bottom: 10px; }
.pyr-card h2 small { font-family: "PyrText", sans-serif; font-size: 15px; font-weight: 400; }
#pyr-root label { display: block; font-size: 15px; color: var(--muted); margin: 0 0 6px; }
#pyr-root input, #pyr-root select {
	width: 100%; font: inherit; font-size: 18px; color: var(--txt); background: var(--nuit);
	border: 2px solid var(--bezel); border-radius: 12px; padding: 12px 14px; outline: none; margin: 0 0 12px; min-height: 52px;
	transition: border-color .15s, box-shadow .15s;
}
#pyr-root input::placeholder { color: #5f6da3; }
#pyr-root input:focus, #pyr-root select:focus { border-color: var(--glace); box-shadow: 0 0 0 4px rgba(127, 227, 255, .15); }
#pyr-root select option { color: #000; }
.code-input { text-transform: uppercase; letter-spacing: .4em; text-align: center; font-family: var(--display) !important; font-weight: 900; font-size: 26px !important; }
.pyr-row { display: flex; gap: 8px; align-items: stretch; }
.pyr-row input { flex: 1; margin: 0 !important; min-width: 0; }
.pyr-row .pyr-btn { width: auto; margin: 0; white-space: nowrap; }
form.pyr-row { margin: 14px 0; }

/* Boutons */
.pyr-btn {
	display: block; width: 100%; font: inherit; font-weight: 700; font-size: 17px; color: var(--txt); cursor: pointer;
	background: var(--bezel); border: 0; border-radius: 12px; padding: 12px 18px; min-height: 52px; margin: 8px 0;
	box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .3); -webkit-tap-highlight-color: transparent; transition: transform .08s, filter .15s;
}
.pyr-btn:hover { filter: brightness(1.1); }
.pyr-btn:active { transform: translateY(2px); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .3); }
.pyr-btn:disabled { opacity: .45; cursor: default; }
.pyr-btn.gold { background: linear-gradient(180deg, #ffe07a, var(--lampe) 45%, var(--ambre)); color: #2b1600;
	box-shadow: inset 0 -4px 0 #b35d0c, 0 6px 20px rgba(242, 137, 31, .35); font-family: var(--display); font-weight: 900; font-size: 24px; letter-spacing: .02em; }
.pyr-btn.ghost { background: transparent; box-shadow: inset 0 0 0 2px var(--bezel); }
.pyr-btn.small { font-size: 15px; padding: 8px 14px; min-height: 42px; }
.pyr-btn.big { font-size: 40px; padding: 16px; }
.pyr-or { text-align: center; color: var(--muted); font-size: 14px; margin: 16px 0 10px; }
.pyr-foot { text-align: center; color: var(--muted); font-size: 14px; }

/* Salle d'attente */
.pyr-code { font-family: var(--display); font-size: 76px; font-weight: 900; letter-spacing: .14em; color: var(--lampe); line-height: 1;
	margin: 6px 0 10px; padding-left: .14em; text-shadow: 0 0 24px rgba(255, 203, 61, .4); }
.pyr-setting { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pyr-setting label { margin: 0 0 12px !important; }
.pyr-setting select { width: auto; min-width: 110px; }
.pyr-solo-list { list-style: none; padding: 0; margin: 4px 0 6px; }
.pyr-solo-list li { display: flex; align-items: center; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 19px; }
.pyr-solo-list li:last-child { border-bottom: 0; }
.pyr-solo-list li span { flex: 1; }
.pyr-x { font: inherit; font-size: 20px; line-height: 1; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--bezel);
	color: var(--muted); cursor: pointer; padding: 0; flex: none; }

/* Score : panneau lumineux */
.pyr-score { margin-bottom: 14px; }
.pyr-score .team { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-radius: 14px; padding: 8px 16px;
	background: var(--nuit); border: 2px solid var(--bezel); box-shadow: inset 0 0 18px rgba(0, 0, 0, .5); }
.pyr-score .team span { font-weight: 700; font-size: 16px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pyr-score .team b { font-family: var(--display); font-weight: 900; font-size: 36px; line-height: 1; color: var(--lampe);
	text-shadow: 0 0 14px rgba(255, 203, 61, .5); white-space: nowrap; }

.pyr-turninfo { text-align: center; color: var(--muted); font-size: 15px; margin: 4px 0 2px; }
.pyr-turninfo b { color: var(--txt); }
.pyr-title { text-align: center; font-size: 40px !important; font-weight: 900 !important; color: var(--lampe) !important; margin: 2px 0 6px !important;
	text-shadow: 0 0 22px rgba(255, 203, 61, .35); }

/* Mot secret : l'écran de l'annonceur */
.pyr-word { text-align: center; margin: 14px 0; padding: 14px 16px 16px; border-radius: 16px; background: radial-gradient(120% 140% at 50% 0%, #1d3a8f, var(--ecran));
	border: 3px solid var(--lampe); box-shadow: 0 0 0 5px var(--nuit), 0 0 30px rgba(255, 203, 61, .3), inset 0 0 30px rgba(127, 227, 255, .15); }
.pyr-word small { color: var(--glace); font-size: 14px; }
.pyr-word div { font-family: var(--display); font-size: 52px; font-weight: 900; color: #fff; word-break: break-word; line-height: 1;
	margin-top: 4px; text-shadow: 0 0 16px rgba(127, 227, 255, .6); }
.pyr-word.reveal.failed { border-color: var(--bezel); box-shadow: 0 0 0 5px var(--nuit); }
.pyr-word.reveal.found div, .pyr-word.reveal.stolen div { color: var(--lampe); text-shadow: 0 0 18px rgba(255, 203, 61, .7); }

/* Échelle des annonces : une pyramide (5 pts en haut, 1 pt en bas) */
.pyr-ladder { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 14px 0; }
.pyr-ladder .rung { display: flex; align-items: center; gap: 10px; border-radius: 10px; padding: 6px 10px; min-height: 46px;
	background: var(--ecran); border: 2px solid var(--bezel); box-shadow: inset 0 0 14px rgba(0, 0, 0, .45); }
.pyr-ladder .rung:nth-child(1) { width: 64%; }
.pyr-ladder .rung:nth-child(2) { width: 73%; }
.pyr-ladder .rung:nth-child(3) { width: 82%; }
.pyr-ladder .rung:nth-child(4) { width: 91%; }
.pyr-ladder .rung:nth-child(5) { width: 100%; }
.pyr-ladder .pts { width: 32px; height: 32px; flex: none; border-radius: 8px; display: grid; place-items: center;
	font-family: var(--display); font-weight: 900; font-size: 20px; background: var(--bezel); color: var(--muted); }
.pyr-ladder .txt { font-family: var(--display); font-size: 26px; font-weight: 800; line-height: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.pyr-ladder .rung.filled { border-color: var(--glace); background: radial-gradient(120% 160% at 50% 0%, #1f4aa8, var(--ecran));
	box-shadow: 0 0 14px rgba(127, 227, 255, .25), inset 0 0 14px rgba(127, 227, 255, .12); }
.pyr-ladder .rung.filled .pts { background: var(--lampe); color: #2b1600; }
.pyr-ladder .rung.current { border-color: var(--lampe); }
.pyr-ladder .rung.current .txt { color: var(--lampe); }

.pyr-guesses, .pyr-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; justify-content: center; }
.pyr-guesses span, .pyr-chips span { padding: 6px 12px; border-radius: 99px; font-weight: 700; font-size: 16px; }
.pyr-guesses .ko { background: rgba(255, 97, 119, .14); color: var(--ko); text-decoration: line-through; }
.pyr-guesses .ok { background: rgba(69, 227, 154, .16); color: var(--ok); }
.pyr-guesses small { color: var(--muted); font-weight: 400; display: inline-block; text-decoration: none; }
.pyr-chips span { background: rgba(127, 227, 255, .12); color: var(--glace); font-family: var(--display); font-size: 24px; font-weight: 800;
	border: 1px solid rgba(127, 227, 255, .35); }

.pyr-wait { text-align: center; color: var(--muted); font-size: 18px; margin: 20px 0 !important; }
.pyr-result { text-align: center; font-family: var(--display); font-weight: 900; font-size: 34px; margin: 8px 0; line-height: 1.1; }
.pyr-result.found, .pyr-result.stolen { color: var(--ok); text-shadow: 0 0 18px rgba(69, 227, 154, .4); }
.pyr-result.failed { color: var(--muted); }
.pulse { animation: pyrpulse 1.6s ease-in-out infinite; }
@keyframes pyrpulse { 50% { opacity: .45; } }

/* La Pyramide finale : six écrans */
.pyr-pyramid { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 16px 0; }
.pyr-pyramid .prow { display: flex; gap: 8px; justify-content: center; width: 100%; }
.pyr-pyramid .blk { width: 31%; min-height: 62px; border-radius: 10px; display: grid; place-items: center; text-align: center; padding: 6px;
	font-family: var(--display); font-weight: 800; font-size: 20px; line-height: 1; word-break: break-word;
	background: var(--ecran); color: #3f4d8a; border: 3px solid var(--bezel); box-shadow: inset 0 0 18px rgba(0, 0, 0, .55); }
.pyr-pyramid .blk.found { background: linear-gradient(180deg, #ffe07a, var(--lampe) 50%, var(--ambre)); color: #2b1600; border-color: #fff1b8;
	box-shadow: 0 0 18px rgba(255, 203, 61, .55); }
.pyr-pyramid .blk.passed { background: #1a1a3d; color: var(--ko); text-decoration: line-through; border-color: #3a2445; }
.pyr-pyramid .blk.current { border-color: var(--glace); color: var(--glace); font-size: 32px;
	box-shadow: 0 0 16px rgba(127, 227, 255, .5), inset 0 0 18px rgba(127, 227, 255, .2); animation: pyrpulse 1.2s infinite; }
.pyr-pyramid .blk.lit { animation: pyrlit .7s ease-out; }
@keyframes pyrlit { 0% { transform: scale(.85); filter: brightness(2.2); } 60% { transform: scale(1.08); } 100% { transform: none; filter: none; } }
.pyr-pyramid.complete .blk { animation: pyrwin 1.4s ease-in-out 2; }
.pyr-pyramid.complete .prow:nth-child(2) .blk { animation-delay: .15s; }
.pyr-pyramid.complete .prow:nth-child(1) .blk { animation-delay: .3s; }
@keyframes pyrwin { 50% { box-shadow: 0 0 40px rgba(255, 203, 61, 1); filter: brightness(1.35); } }

/* Chrono : anneau qui se vide */
.pyr-timer { --p: 1; width: 104px; height: 104px; margin: 6px auto; border-radius: 50%; display: grid; place-items: center;
	font-family: var(--display); font-size: 48px; font-weight: 900; color: var(--lampe); font-variant-numeric: tabular-nums;
	background: radial-gradient(closest-side, var(--nuit) 80%, transparent 81% 100%),
		conic-gradient(var(--lampe) calc(var(--p) * 360deg), rgba(160, 180, 255, .15) 0); }
.pyr-timer.hurry { color: var(--ko);
	background: radial-gradient(closest-side, var(--nuit) 80%, transparent 81% 100%),
		conic-gradient(var(--ko) calc(var(--p) * 360deg), rgba(160, 180, 255, .15) 0); animation: pyrpulse .5s infinite; }

/* Fin de partie */
.pyr-winner { text-align: center; font-family: var(--display); font-size: 84px; font-weight: 900; line-height: 1; margin: 10px 0 6px;
	color: var(--lampe); text-shadow: 0 3px 0 #b35d0c, 0 0 34px rgba(255, 203, 61, .5); }
.pyr-rules { margin: 16px 0; background: rgba(9, 15, 51, .6); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; font-size: 16px; }
.pyr-rules summary { cursor: pointer; font-weight: 700; color: var(--lampe); }
.pyr-rules p { max-width: 65ch; }
.pyr-hist { padding-left: 18px; margin: 8px 0; }
.pyr-hist li { margin: 3px 0; }
.pyr-hist .failed { color: var(--muted); }

/* Parties à proximité / en ligne */
.pyr-game { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 10px; font: inherit; color: var(--txt); cursor: pointer;
	background: var(--ecran); border: 2px solid var(--lampe); border-radius: 12px; padding: 12px 14px; margin: 8px 0; text-align: left; }
.pyr-game span:first-child { display: flex; flex-direction: column; }
.pyr-game small { color: var(--muted); }
.pyr-game .go { color: var(--lampe); font-weight: 700; white-space: nowrap; }
.pyr-manual { margin-top: 10px; }
.pyr-manual summary { cursor: pointer; color: var(--lampe); font-size: 15px; margin-bottom: 10px; }
.pyr-error { background: rgba(255, 97, 119, .14); color: var(--ko); border-radius: 10px; padding: 10px 12px; font-weight: 700; font-size: 16px; }
.pyr-row2 { display: flex; gap: 10px; }
.pyr-row2 .pyr-btn { flex: 1; min-height: 72px; }

/* Passage du téléphone */
.pyr-gate { text-align: center; margin: 22px 0; padding: 30px 18px; border-radius: 22px; background: radial-gradient(120% 100% at 50% 0%, #1d3a8f, var(--ecran));
	border: 3px solid var(--lampe); box-shadow: 0 0 0 6px var(--nuit), 0 0 40px rgba(255, 203, 61, .25); }
.pyr-gate-icon { font-size: 52px; line-height: 1; margin-bottom: 10px; }
.pyr-gate small { color: var(--glace); font-size: 16px; }
.pyr-gate-name { font-family: var(--display); font-size: 64px; font-weight: 900; line-height: 1; margin: 6px 0 8px; color: var(--lampe); word-break: break-word;
	text-shadow: 0 0 24px rgba(255, 203, 61, .45); }
.pyr-gate .pyr-btn { margin-top: 20px; }
.pyr-gate .pyr-btn.big { font-size: 30px; }

/* Messages */
.pyr-toast { position: fixed; left: 50%; top: calc(12px + env(safe-area-inset-top)); transform: translate(-50%, -30px); opacity: 0; pointer-events: none;
	background: #24346f; color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 700; max-width: 90vw; width: max-content; text-align: center;
	transition: .25s; z-index: 99; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); font-family: "PyrText", system-ui, sans-serif; }
.pyr-toast.show { opacity: 1; transform: translate(-50%, 0); }
.pyr-toast.err { background: #9a2238; }
.pyr-net { position: fixed; top: 0; left: 0; right: 0; background: #9a2238; color: #fff; text-align: center; font-size: 14px; padding: 6px; transform: translateY(-100%); transition: .25s; z-index: 98; }
.pyr-net.show { transform: none; }
#pyr-root.pyr-busy::before { content: ""; position: fixed; top: 0; left: 0; height: 3px; width: 40%; background: var(--lampe); z-index: 97; animation: pyrbusy 1s linear infinite; }
@keyframes pyrbusy { from { transform: translateX(-100%); } to { transform: translateX(250%); } }

/* Clavier ouvert : mot, annonces, pyramide compacte et champ de saisie restent visibles */
#pyr-root.pyr-kb .pyr-logo, #pyr-root.pyr-kb .pyr-score, #pyr-root.pyr-kb .pyr-turninfo, #pyr-root.pyr-kb .pyr-title,
#pyr-root.pyr-kb .pyr-skip, #pyr-root.pyr-kb .pyr-rules, #pyr-root.pyr-kb .pyr-foot { display: none; }
#pyr-root.pyr-kb .pyr-app { padding-top: 6px; padding-bottom: 6px; }
#pyr-root.pyr-kb .pyr-ladder { gap: 4px; margin: 6px 0; }
#pyr-root.pyr-kb .pyr-ladder .rung:not(.filled):not(.current) { display: none; }
#pyr-root.pyr-kb .pyr-ladder .rung { min-height: 38px; padding: 3px 8px; }
#pyr-root.pyr-kb .pyr-ladder .txt { font-size: 22px; }
#pyr-root.pyr-kb .pyr-word { margin: 4px 0 8px; padding: 8px; }
#pyr-root.pyr-kb .pyr-word div { font-size: 36px; }
#pyr-root.pyr-kb .pyr-timer { width: 64px; height: 64px; font-size: 30px; margin: 2px auto; }
#pyr-root.pyr-kb .pyr-pyramid { gap: 4px; margin: 4px 0 6px; }
#pyr-root.pyr-kb .pyr-pyramid .prow { gap: 4px; }
#pyr-root.pyr-kb .pyr-pyramid .blk { min-height: 36px; font-size: 15px; padding: 2px 4px; border-width: 2px; }
#pyr-root.pyr-kb .pyr-pyramid .blk.current { font-size: 20px; }
#pyr-root.pyr-kb .pyr-chips { margin: 4px 0; }
#pyr-root.pyr-kb form.pyr-row { margin: 8px 0 0; }

/* Chat */
.pyr-chat-fab { position: fixed; right: 16px; bottom: calc(18px + env(safe-area-inset-bottom)); width: 58px; height: 58px; border-radius: 50%;
	border: 2px solid var(--bezel); background: var(--ecran); color: #fff; font-size: 25px; cursor: pointer; z-index: 90; box-shadow: 0 8px 22px rgba(0, 0, 0, .5); }
.pyr-chat-fab .n { position: absolute; top: -4px; right: -4px; min-width: 24px; height: 24px; border-radius: 12px; background: var(--ko); color: #fff;
	font-size: 14px; font-weight: 700; display: grid; place-items: center; padding: 0 6px; }
#pyr-root.pyr-kb .pyr-chat-fab { display: none; }
.pyr-chat { position: fixed; inset: 0; z-index: 95; background: var(--nuit); display: flex; flex-direction: column;
	padding: 12px 12px calc(12px + env(safe-area-inset-bottom)); max-width: 480px; margin: 0 auto; }
.pyr-chat .head { display: flex; justify-content: space-between; align-items: center; padding: 4px 4px 10px; border-bottom: 1px solid var(--line); font-size: 19px; }
.pyr-chat .msgs { flex: 1; overflow-y: auto; padding: 10px 2px; display: flex; flex-direction: column; gap: 6px; }
.pyr-chat .msg { align-self: flex-start; max-width: 80%; background: var(--ecran); border: 1px solid var(--bezel); border-radius: 16px 16px 16px 4px; padding: 8px 12px; word-break: break-word; }
.pyr-chat .msg small { display: block; color: var(--glace); font-weight: 700; font-size: 13px; }
.pyr-chat .msg.mine { align-self: flex-end; background: rgba(255, 203, 61, .16); border-color: transparent; border-radius: 16px 16px 4px 16px; }
.pyr-chat form.pyr-row { margin: 8px 0 0; }

@media (prefers-reduced-motion: reduce) {
	#pyr-root *, #pyr-root *::before { animation: none !important; transition: none !important; }
}

/* Bulle du chat : clignote tant qu'un message n'est pas lu */
.pyr-chat-fab.blink { animation: pyrblink 1s ease-in-out infinite; border-color: var(--lampe); }
@keyframes pyrblink { 50% { background: var(--lampe); box-shadow: 0 0 26px rgba(255, 203, 61, .9); transform: scale(1.08); } }

/* Audio en direct */
.pyr-audio-fab { position: fixed; left: 16px; bottom: calc(18px + env(safe-area-inset-bottom)); width: 58px; height: 58px; border-radius: 50%;
	border: 2px solid var(--bezel); background: var(--ecran); color: #fff; font-size: 24px; cursor: pointer; z-index: 90; box-shadow: 0 8px 22px rgba(0, 0, 0, .5); }
.pyr-audio-bar { position: fixed; left: 16px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 90; display: flex; align-items: center; gap: 8px;
	padding: 6px 6px 6px 16px; border-radius: 99px; background: var(--ecran); border: 2px solid var(--lampe); box-shadow: 0 8px 22px rgba(0, 0, 0, .5);
	max-width: calc(100vw - 100px); font-weight: 700; font-size: 15px; }
.pyr-audio-bar span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pyr-audio-bar.live { border-color: var(--ok); }
.pyr-audio-btn { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 0; background: var(--bezel); color: #fff; font-size: 20px; cursor: pointer; }
.pyr-audio-btn.off { background: #5a2a3a; }
.pyr-audio-btn.end { background: var(--ko); font-weight: 700; }
.pyr-call { position: fixed; left: 12px; right: 12px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 96; display: flex; flex-wrap: wrap; align-items: center;
	gap: 8px; padding: 14px; border-radius: 18px; background: var(--ecran); border: 3px solid var(--lampe); box-shadow: 0 10px 34px rgba(0, 0, 0, .6);
	max-width: 456px; margin: 0 auto; animation: pyrring 1.2s ease-in-out infinite; }
.pyr-call .who { flex: 1 1 100%; font-size: 18px; text-align: center; margin-bottom: 4px; }
.pyr-call .pyr-btn { flex: 1; margin: 0; }
@keyframes pyrring { 50% { box-shadow: 0 0 34px rgba(255, 203, 61, .8); } }
#pyr-root.pyr-kb .pyr-audio-fab { display: none; }
