/* La roue des connaissances & regards croisés
   Charte Astellas (Brand Standards v3.0) : typographies digitales Noto Sans / Noto Serif uniquement,
   rouge et rouge foncé dominants, gris extra-foncé pour le texte, teintes par paliers de 10 %. */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;500;600;700;800&family=Noto+Serif:wght@600;700&display=swap');

:root {
  --red: #D91E49;
  --dark-red: #A62B4E;
  --gray: #939597;
  --light-gray: #A7A9AC;
  --ink: #4D4D4F;
  --dark-blue: #00264C;
  --blue: #004C97;
  --green: #658D1B;
  --yellow: #F0B323;
  --gray-text: #6E6F72;
  --red-10: #FBE9ED;
  --red-20: #F7D2DB;
  --gray-10: #F6F6F7;
  --gray-20: #EDEEEE;
  --gray-30: #E5E5E6;
  --green-10: #F0F4E8;
  --line: #E1E2E3;
  --white: #FFFFFF;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgb(77 77 79 / 6%), 0 8px 24px rgb(77 77 79 / 8%);
  --sans: 'Noto Sans', system-ui, sans-serif;
  --serif: 'Noto Serif', Georgia, serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: var(--white); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: not-allowed; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.01em; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--red) 40%, white); outline-offset: 2px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
kbd { display: inline-block; min-width: 1.6em; padding: .05em .45em; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; background: var(--gray-10); font: 600 .85em/1.4 var(--sans); text-align: center; color: var(--ink); }

.eyebrow { margin: 0 0 .5em; color: var(--red); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.subtle { color: var(--gray-text); }
.lead { color: var(--gray-text); font-size: clamp(17px, 1.6vw, 22px); line-height: 1.5; }
.optional, label small, .field-label small { color: var(--gray-text); font-weight: 400; }
.is-center { text-align: center; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.loader { display: grid; place-items: center; min-height: 40vh; color: var(--gray-text); font-weight: 600; }

/* ---------- Identité de l’événement ---------- */
.event-lockup { display: inline-flex; align-items: center; gap: .7em; color: var(--ink); }
.event-mark { width: 2.6em; height: 2.6em; flex: none; }
.event-name { display: grid; line-height: 1.1; }
.event-name strong { font: 700 1.05em/1.1 var(--serif); color: var(--red); letter-spacing: -.01em; }
.event-name span { font-weight: 600; color: var(--gray-text); font-size: .9em; }
.event-lockup.is-hero { font-size: clamp(22px, 3.2vw, 46px); gap: .5em; }
.event-lockup.is-hero .event-mark { width: 2.4em; height: 2.4em; }
.event-lockup.is-hero .event-name strong { font-size: 1.15em; }
.event-lockup.is-hero .event-name span { font: 600 .82em/1.2 var(--serif); color: var(--gray); }
.event-lockup.is-small { font-size: 14px; }
.event-lockup.is-tiny { font-size: 12px; }
.event-lockup.is-tiny .event-mark { width: 2.4em; height: 2.4em; }
/* Logo Astellas : jamais modifié, toujours sur fond blanc, zone de protection préservée (≥ 20 % de sa hauteur). */
.astellas-logo { display: block; height: 34px; width: auto; padding: 7px; box-sizing: content-box; }

/* ---------- Boutons ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: 11px 20px; border: 1px solid transparent; border-radius: 999px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s, transform .15s, box-shadow .15s; }
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button:active:not(:disabled) { transform: translateY(0); }
.button:disabled { opacity: .45; }
.button-primary { background: var(--red); color: var(--white); box-shadow: 0 6px 16px rgb(217 30 73 / 22%); }
.button-primary:hover:not(:disabled) { background: var(--dark-red); }
.button-light { background: var(--white); color: var(--ink); border-color: var(--line); }
.button-light:hover:not(:disabled) { border-color: var(--light-gray); background: var(--gray-10); }
.button-outline { background: var(--white); color: var(--red); border: 2px solid var(--red); }
.button-ghost { background: transparent; color: var(--gray-text); }
.button-ghost:hover:not(:disabled) { background: var(--gray-10); color: var(--ink); }
.button-ghost.is-danger, .is-danger { color: var(--dark-red); }
.button-large { min-height: 56px; padding: 14px 28px; font-size: 18px; }
.button-block { width: 100%; }
.text-button { border: 0; padding: 6px; background: none; color: var(--gray-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.icon-button { width: 36px; height: 36px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--gray-text); }
.icon-button:hover:not(:disabled) { color: var(--dark-red); border-color: var(--light-gray); }
.icon-button:disabled { opacity: .3; }

/* ---------- Formulaires ---------- */
label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
input, textarea, select { width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); padding: 10px 12px; color: var(--ink); font-weight: 400; outline: none; transition: border-color .15s, box-shadow .15s; }
textarea { resize: vertical; line-height: 1.45; }
input:focus, textarea:focus, select:focus { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-10); }
input[type="checkbox"], input[type="radio"] { width: 18px; min-height: 18px; height: 18px; accent-color: var(--red); margin: 0; }
.check-label { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.form-hint { color: var(--gray-text); font-size: 13px; text-align: center; }
.form-hint.is-left { text-align: left; }
.form-error { border-radius: 10px; padding: 10px 12px; background: var(--red-10); color: var(--dark-red); font-size: 14px; font-weight: 600; }
fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 14px; }
legend { padding: 0; margin-bottom: 4px; font-weight: 700; color: var(--red); }

.segmented { display: inline-flex; padding: 4px; gap: 4px; border-radius: 999px; background: var(--gray-20); }
.segmented button { flex: 1; min-height: 38px; padding: 6px 14px; border: 0; border-radius: 999px; background: transparent; color: var(--gray-text); font-weight: 600; font-size: 14px; }
.segmented button.is-active { background: var(--white); color: var(--red); box-shadow: var(--shadow); }
.segmented.is-wide { display: flex; flex-wrap: wrap; border-radius: 14px; }
.segmented.is-wide button { border-radius: 10px; }

.switch { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; cursor: pointer; }
.switch input { appearance: none; position: relative; width: 42px; height: 24px; min-height: 24px; border-radius: 999px; background: var(--gray-30); border: 0; transition: background .2s; cursor: pointer; }
.switch input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 3px rgb(0 0 0 / 20%); transition: transform .2s; }
.switch input:checked { background: var(--red); }
.switch input:checked::after { transform: translateX(18px); }

.toast { position: fixed; z-index: 100; left: 50%; bottom: 24px; transform: translate(-50%, 20px); max-width: min(92vw, 520px); padding: 12px 18px; border-radius: 12px; background: var(--ink); color: var(--white); font-weight: 600; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast[data-kind="error"] { background: var(--dark-red); }

/* ---------- Éléments partagés ---------- */
.theme-chip { --theme: var(--red); display: inline-flex; align-items: center; gap: .5em; padding: .45em .95em .45em .7em; border-radius: 999px; background: var(--theme); color: var(--white); font-weight: 700; line-height: 1.2; }
.option-letter { display: inline-grid; place-items: center; flex: none; width: 2em; height: 2em; border-radius: 50%; background: var(--red-10); color: var(--red); font-weight: 800; font-size: .9em; }
.audience-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.audience-chips li { display: inline-flex; align-items: baseline; gap: .45em; padding: .4em .85em; border-radius: 999px; background: var(--gray-10); border: 1px solid var(--line); font-weight: 600; }
.audience-chips strong { color: var(--red); }
.audience-chips.is-small { font-size: 13px; }
.bar-track { position: relative; height: 12px; border-radius: 999px; background: var(--gray-20); overflow: hidden; }
.bar-fill { height: 100%; width: var(--w); border-radius: inherit; background: var(--red); transition: width .9s cubic-bezier(.2, .8, .2, 1); }
.empty-note { color: var(--gray-text); font-size: 1.2em; text-align: center; padding: 2em 0; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kpis div { display: grid; gap: 2px; padding: 16px 18px; border-radius: var(--radius); background: var(--gray-10); }
.kpis strong { font-size: 2em; line-height: 1; color: var(--red); }
.kpis span { color: var(--gray-text); font-weight: 600; font-size: .9em; }
.kpis.is-small { grid-template-columns: repeat(3, 1fr); font-size: 14px; margin: 16px 0; }

/* =====================================================================
   GRAND ÉCRAN — conçu pour 16:9, toutes les tailles en unités viewport
   ===================================================================== */
.screen-page { height: 100vh; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; font-size: clamp(14px, 1.15vw, 22px); background: var(--white); }
.screen-header { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 1.6vh 2.6vw 0; }
.screen-header .event-lockup { font-size: 1em; }
.screen-header .astellas-logo { justify-self: end; height: 4.2vh; min-height: 26px; padding: .8vh; }
.phase-label { padding: .35em 1em; border-radius: 999px; background: var(--gray-10); color: var(--gray-text); font-weight: 700; font-size: .8em; letter-spacing: .08em; text-transform: uppercase; }
.screen-stage { position: relative; z-index: 1; min-height: 0; padding: 2vh 3.2vw; }
.screen-footer { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2vw; padding: 1.2vh 2.6vw 1.6vh; color: var(--gray-text); font-size: .68em; }
.footer-join { font-size: 1.15em; }
.footer-join strong { color: var(--ink); }
.footer-tools { justify-self: end; display: inline-flex; align-items: center; gap: .6em; }
.live-count { font-weight: 700; color: var(--ink); margin-right: .4em; }
.live-count::before { content: ''; display: inline-block; width: .6em; height: .6em; margin-right: .45em; border-radius: 50%; background: var(--red); animation: pulse 2s infinite; }
.tool-button { width: 2.4em; height: 2.4em; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--gray-text); font-size: 1em; opacity: .55; transition: opacity .2s; }
.tool-button:hover { opacity: 1; }
.tool-button.is-off { text-decoration: line-through; }

/* La vague Astellas : élément graphique officiel, non modifié, déborde toujours du cadre. */
.screen-page[data-phase="lobby"]::after, .screen-page[data-phase="recap"]::after, .entry-page::after, .login-shell::after {
  content: ''; position: fixed; left: -2vw; right: -2vw; bottom: -2vw; height: calc(104vw * 348 / 2400); background: url('/assets/astellas-wave-band.png') center / 100% 100% no-repeat; transform: scaleY(-1); pointer-events: none; z-index: 0;
}

/* --- Accueil --- */
.lobby-layout { height: 100%; display: grid; grid-template-columns: 1.25fr .75fr; gap: 4vw; align-items: center; padding-bottom: 10vh; }
.lobby-copy { display: grid; gap: 3.2vh; align-content: center; }
.lobby-copy .event-lockup.is-hero { font-size: 3.6vw; }
.lobby-tagline { max-width: 34em; font-size: 1.35em; color: var(--ink); font-weight: 500; }
.lobby-audience .audience-chips { font-size: .95em; }
.audience-empty { color: var(--gray-text); }
.lobby-actions { display: flex; align-items: center; gap: 1em; }
.lobby-actions .button { font-size: 1em; }
.hint { color: var(--gray-text); }
.join-panel { justify-self: end; width: min(100%, 26vw); display: grid; justify-items: center; gap: 1.2vh; padding: 3vh 2vw; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); text-align: center; }
.join-qr { width: 100%; max-width: 40vh; aspect-ratio: 1; }
.join-url { font-weight: 700; font-size: 1.1em; word-break: break-all; }
.join-code { display: flex; align-items: baseline; gap: .6em; }
.join-code span { color: var(--gray-text); font-weight: 600; }
.join-code strong { color: var(--red); font-size: 2.2em; letter-spacing: .06em; line-height: 1; }
.qr-mini { display: flex; align-items: center; gap: .8em; margin-top: 1vh; padding-top: 1.6vh; border-top: 1px solid var(--line); text-align: left; font-size: .8em; }
.qr-mini img { width: 9vh; height: 9vh; }
.qr-mini div { display: grid; }
.qr-mini span { color: var(--gray-text); }

/* --- Roue --- */
.wheel-layout { height: 100%; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 3vw; align-items: center; }
.wheel-stage { height: 100%; min-height: 0; display: grid; place-items: center; }
.wheel-svg { width: auto; height: 100%; max-height: 74vh; max-width: 100%; aspect-ratio: 1; overflow: visible; filter: drop-shadow(0 18px 30px rgb(77 77 79 / 14%)); }
.wheel-rim { fill: var(--white); stroke: var(--gray-20); stroke-width: 10; }
.segment-shape { stroke: var(--white); stroke-width: 5; transition: opacity .5s, filter .5s; }
.segment-icon { color: var(--white); }
.segment-icon svg { overflow: visible; }
.segment-label { fill: var(--white); font-family: var(--sans); font-weight: 700; letter-spacing: -.01em; }
.segment-played { fill: rgb(255 255 255 / 75%); letter-spacing: 4px; }
.rim-stud { fill: var(--light-gray); }
.wheel-hub-ring { fill: var(--white); stroke: var(--gray-20); stroke-width: 6; }
.wheel-hub { fill: var(--white); stroke: var(--red); stroke-width: 5; }
.hub-kicker { fill: var(--gray-text); font: 700 26px var(--sans); letter-spacing: 4px; }
.hub-number { fill: var(--red); font: 800 86px var(--serif); }
.wheel-pointer { fill: var(--ink); stroke: var(--white); stroke-width: 6; stroke-linejoin: round; filter: drop-shadow(0 4px 6px rgb(0 0 0 / 20%)); }
.wheel-layout.is-landed .segment:not(.is-target) .segment-shape { opacity: .28; filter: grayscale(1); }
.wheel-layout.is-landed .segment:not(.is-target) text, .wheel-layout.is-landed .segment:not(.is-target) .segment-icon { opacity: .6; }
.wheel-side { display: grid; gap: 3vh; align-content: center; min-width: 0; }
.wheel-status h1 { font-size: 2.3em; color: var(--ink); max-width: 15em; }
.wheel-status .lead { margin-top: .6em; font-size: 1em; }
.is-spinning .wheel-status h1 { color: var(--red); }
.winner-card { --theme: var(--red); display: none; grid-template-columns: auto 1fr; gap: 1.2em; align-items: center; padding: 2.4vh 2vw; border-radius: var(--radius-lg); background: var(--theme); color: var(--white); box-shadow: 0 18px 40px color-mix(in srgb, var(--theme) 35%, transparent); }
.winner-card.is-visible { display: grid; animation: rise .5s cubic-bezier(.2, .9, .3, 1.2) both; }
.is-landed .wheel-status { display: none; }
.winner-card .eyebrow { color: rgb(255 255 255 / 85%); }
.winner-card h2 { font: 700 2.4em/1.05 var(--serif); }
.winner-card p:last-child { margin-top: .4em; opacity: .9; }
.winner-icon { display: grid; place-items: center; width: 4.4em; height: 4.4em; border-radius: 50%; background: rgb(255 255 255 / 18%); }
.winner-icon .icon { width: 2.4em; height: 2.4em; }
.theme-progress { display: grid; grid-template-columns: 1fr 1fr; gap: .6em; margin: 0; padding: 0; list-style: none; font-size: .85em; }
.theme-progress li { --theme: var(--red); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .6em; padding: .55em .8em; border-radius: 12px; background: var(--gray-10); color: var(--gray-text); font-weight: 600; transition: background .3s, color .3s; }
.theme-progress-icon { display: grid; place-items: center; width: 2em; height: 2em; border-radius: 50%; background: var(--white); color: var(--theme); }
.theme-progress-count { font-size: .85em; font-variant-numeric: tabular-nums; }
.theme-progress li.is-played { color: var(--ink); }
.theme-progress li.is-played .theme-progress-icon { background: var(--theme); color: var(--white); }
.theme-progress li.is-current { background: var(--red-10); color: var(--dark-red); box-shadow: inset 0 0 0 2px var(--theme); }

/* --- Question --- */
.question-layout, .results-layout { height: 100%; display: grid; grid-template-rows: auto auto 1fr auto; gap: 3vh; align-content: start; }
.results-layout { grid-template-rows: auto auto 1fr; }
.question-top { display: flex; align-items: center; gap: 1em; flex-wrap: wrap; }
.question-top .theme-chip { font-size: 1em; }
.question-type { color: var(--gray-text); font-weight: 600; }
.question-prompt { max-width: 34em; font: 700 2.5em/1.18 var(--serif); color: var(--ink); text-wrap: balance; }
.question-prompt.is-compact { font-size: 1.85em; }
.is-fresh .question-prompt { animation: rise .55s cubic-bezier(.2, .8, .2, 1) both; }
.option-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6vh 1.6vw; margin: 0; padding: 0; list-style: none; align-content: start; }
.option-grid li { display: flex; align-items: center; gap: .9em; min-height: 9vh; padding: 1.4vh 1.4vw; border-radius: var(--radius); border: 2px solid var(--line); background: var(--white); font-size: 1.35em; font-weight: 600; line-height: 1.25; }
.is-fresh .option-grid li { animation: rise .5s cubic-bezier(.2, .8, .2, 1) both; }
.is-fresh .option-grid li:nth-child(2) { animation-delay: .07s; } .is-fresh .option-grid li:nth-child(3) { animation-delay: .14s; } .is-fresh .option-grid li:nth-child(4) { animation-delay: .21s; } .is-fresh .option-grid li:nth-child(5) { animation-delay: .28s; } .is-fresh .option-grid li:nth-child(6) { animation-delay: .35s; }
.option-grid.is-dense li { font-size: 1.1em; min-height: 7vh; }
.option-grid .option-letter { font-size: .8em; background: var(--red); color: var(--white); }
.text-prompt { display: flex; align-items: center; gap: 1.2em; padding: 3vh 2vw; border-radius: var(--radius-lg); background: var(--gray-10); font-size: 1.3em; color: var(--gray-text); align-self: start; }
.text-prompt .icon { width: 3em; height: 3em; color: var(--red); }
.scale-prompt { display: flex; gap: 1.2vw; align-self: start; }
.scale-prompt span { display: grid; place-items: center; width: 10vh; height: 10vh; border-radius: 50%; border: 2px solid var(--line); font: 700 2em var(--serif); color: var(--red); }
.question-bottom { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 2vw; }
.participation { display: grid; gap: .6em; max-width: 40vw; }
.participation-head { display: flex; align-items: baseline; gap: .5em; }
.participation-head strong { font-size: 2.4em; line-height: 1; color: var(--red); font-variant-numeric: tabular-nums; }
.participation-head span { color: var(--gray-text); font-weight: 600; }
.participation-track { height: 10px; border-radius: 999px; background: var(--gray-20); overflow: hidden; }
.participation-track div { height: 100%; width: var(--w); background: var(--red); border-radius: inherit; transition: width .6s; }
.vote-state { display: inline-flex; align-items: center; gap: .5em; padding: .5em 1em; border-radius: 999px; font-weight: 700; }
.vote-state.is-open { background: var(--red-10); color: var(--dark-red); }
.vote-state.is-closed { background: var(--gray-20); color: var(--gray-text); }
.pulse-dot { width: .6em; height: .6em; border-radius: 50%; background: var(--red); animation: pulse 1.6s infinite; }
.qr-corner { display: flex; align-items: center; gap: .7em; color: var(--gray-text); font-size: .8em; }
.qr-corner img { width: 9vh; height: 9vh; }
.qr-corner strong { color: var(--ink); }
.timer { --progress: 1; position: relative; display: grid; place-items: center; width: 4.6em; height: 4.6em; margin-left: auto; }
.timer svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.timer circle { fill: none; stroke: var(--gray-20); stroke-width: 4; }
.timer .timer-progress { stroke: var(--red); stroke-linecap: round; stroke-dasharray: 125.7; stroke-dashoffset: calc(125.7 * (1 - var(--progress))); transition: stroke-dashoffset .25s linear; }
.timer strong { font-size: 1.5em; font-variant-numeric: tabular-nums; color: var(--ink); }
.timer.is-urgent strong { color: var(--red); animation: pulse 1s infinite; }

/* --- Résultats --- */
.view-tabs { display: inline-flex; gap: 4px; margin-left: auto; padding: 4px; border-radius: 999px; background: var(--gray-10); font-size: .85em; }
.view-tabs span { padding: .35em 1em; border-radius: 999px; color: var(--gray-text); font-weight: 600; }
.view-tabs span.is-active { background: var(--white); color: var(--red); box-shadow: var(--shadow); }
.results-body { min-height: 0; display: grid; grid-template-columns: 1fr; gap: 3vw; align-items: start; }
.has-insight .results-body { grid-template-columns: 1.5fr 1fr; }
.results-main { min-width: 0; }
.bars { display: grid; gap: 2.2vh; }
.bar-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.2em; transition: opacity .4s; }
.bar-letter { display: grid; place-items: center; width: 2.4em; height: 2.4em; border-radius: 50%; background: var(--red-10); color: var(--red); font-weight: 800; }
.bar-body { display: grid; gap: .5em; min-width: 0; }
.bar-label { font-size: 1.2em; font-weight: 600; line-height: 1.25; }
.bars .bar-track { height: 3.2vh; min-height: 18px; border-radius: 8px; }
.bars .bar-fill { background: var(--gray); border-radius: 8px; }
.bar-row.is-top .bar-fill { background: var(--red); }
.is-fresh .bars .bar-fill, .is-fresh .scale-bar div, .is-fresh .recap-meter div { animation: grow 1s cubic-bezier(.2, .8, .2, 1) both; }
.bar-value { display: grid; justify-items: end; min-width: 4.5em; }
.bar-value strong { font-size: 1.6em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.bar-value small { color: var(--gray-text); }
.bars.is-revealed .bar-row.is-wrong { opacity: .45; }
.bars.is-revealed .bar-row.is-correct .bar-fill { background: var(--green); }
.bars.is-revealed .bar-row.is-correct .bar-letter { background: var(--green); color: var(--white); }
.bars.is-revealed .bar-row.is-correct .bar-label { color: var(--green); }
.insight { display: grid; gap: 1.4vh; padding: 3vh 2vw; border-radius: var(--radius-lg); background: var(--gray-10); border-left: 6px solid var(--red); animation: rise .5s cubic-bezier(.2, .8, .2, 1) both; }
.insight-score { display: flex; align-items: baseline; gap: .5em; padding-bottom: 1.4vh; border-bottom: 1px solid var(--line); }
.insight-score strong { font: 700 2.6em/1 var(--serif); color: var(--green); }
.insight-score span { color: var(--gray-text); font-weight: 600; }
.insight-text { font-size: 1.1em; line-height: 1.5; }
.insight-source { color: var(--gray-text); font-size: .8em; font-style: italic; }
.scale-results { display: grid; grid-template-columns: auto 1fr; gap: 4vw; align-items: end; }
.scale-average { display: grid; justify-items: center; padding: 3vh 2.4vw; border-radius: var(--radius-lg); background: var(--red-10); color: var(--dark-red); }
.scale-average strong { font: 700 4.4em/1 var(--serif); color: var(--red); }
.scale-average span, .scale-average small { font-weight: 600; }
.scale-columns { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.6vw; height: 42vh; }
.scale-column { display: grid; grid-template-rows: auto 1fr auto; justify-items: center; gap: .6em; }
.scale-count { font-weight: 700; color: var(--gray-text); }
.scale-bar { position: relative; width: 100%; max-width: 7vw; border-radius: 10px; background: var(--gray-10); overflow: hidden; }
.scale-bar div { position: absolute; left: 0; right: 0; bottom: 0; height: var(--h); background: var(--red); border-radius: 10px 10px 0 0; transition: height .9s; }
.scale-column:nth-child(even) .scale-bar div { background: var(--dark-red); }
.scale-column strong { font: 700 1.6em var(--serif); }
.word-cloud { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; align-content: center; gap: 1.2vh 1.8vw; min-height: 46vh; padding: 2vh 2vw; border-radius: var(--radius-lg); background: var(--gray-10); }
.word { font-size: calc(var(--size) * .085vw + var(--size) * .35px); font-weight: 700; color: var(--color); line-height: 1.1; animation: pop .5s cubic-bezier(.2, .9, .3, 1.3) both; animation-delay: var(--delay); }
.word sup { margin-left: .15em; font-size: .4em; color: var(--gray-text); }
.profile-matrix { width: 100%; border-collapse: separate; border-spacing: .4vw .6vh; font-size: .95em; }
.profile-matrix th { text-align: left; font-weight: 600; }
.profile-matrix thead th { vertical-align: bottom; text-align: center; padding-bottom: .4em; }
.profile-matrix thead th:first-child { text-align: left; color: var(--gray-text); }
.profile-matrix thead th span { display: inline-grid; place-items: center; width: 2em; height: 2em; border-radius: 50%; background: var(--red-10); color: var(--red); font-weight: 800; }
.profile-matrix thead th small { display: block; max-width: 12em; margin: .3em auto 0; color: var(--gray-text); font-weight: 500; line-height: 1.2; font-size: .75em; }
.profile-matrix thead th.is-correct span { background: var(--green); color: var(--white); }
.profile-matrix tbody th { padding-right: 1em; white-space: nowrap; }
.profile-matrix tbody th small { display: block; color: var(--gray-text); font-weight: 400; font-size: .75em; }
.profile-matrix td { padding: 1.4vh .6vw; border-radius: 10px; background: var(--cell); color: var(--cell-text); text-align: center; font-weight: 700; font-size: 1.15em; font-variant-numeric: tabular-nums; }
.profile-scale { display: grid; gap: 2vh; }
.profile-scale-row { display: grid; grid-template-columns: 16em 1fr 3em; align-items: center; gap: 1em; }
.profile-scale-row .bar-track { height: 3vh; }
.profile-scale-row strong { font: 700 1.5em var(--serif); color: var(--red); }
.profile-name small { color: var(--gray-text); font-weight: 400; }

/* --- Synthèse --- */
.recap-layout { height: 100%; display: grid; grid-template-columns: 1.4fr .6fr; grid-template-rows: auto 1fr; gap: 3vh 3vw; align-content: start; }
.recap-head { grid-column: 1 / -1; display: grid; gap: 2vh; }
.recap-head h1 { font: 700 2.6em/1.1 var(--serif); color: var(--red); }
.recap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4vh 1.2vw; align-content: start; }
.recap-theme { --theme: var(--red); display: grid; gap: .5em; align-content: start; padding: 2vh 1.2vw; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--theme); }
.recap-theme.is-idle { opacity: .5; }
.recap-icon { color: var(--theme); }
.recap-icon .icon { width: 2em; height: 2em; }
.recap-theme h2 { font-size: 1.1em; }
.recap-theme p, .recap-theme small { color: var(--gray-text); font-weight: 600; font-size: .85em; }
.recap-meter { height: 8px; border-radius: 999px; background: var(--gray-20); overflow: hidden; }
.recap-meter div { height: 100%; width: var(--w); background: var(--green); }
.recap-audience { display: grid; gap: 1.2vh; align-content: start; padding: 2.4vh 1.6vw; border-radius: var(--radius-lg); background: var(--gray-10); font-size: .9em; }
.audience-row { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: .8em; }
.audience-row span { font-weight: 600; }
.audience-row strong { color: var(--red); }

/* --- Superpositions --- */
.overlay { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; background: rgb(255 255 255 / 88%); backdrop-filter: blur(6px); animation: fade .25s both; }
.overlay-card { display: grid; justify-items: center; gap: 2vh; padding: 4vh 3vw; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); text-align: center; }
.join-overlay-card img { width: 52vh; height: 52vh; }
.join-overlay-card .join-url { font-size: 1.6em; }
.join-overlay-card .join-code strong { font-size: 3em; }
.help-card { max-width: 46em; justify-items: stretch; text-align: left; }
.shortcut-list { display: grid; grid-template-columns: auto 1fr; gap: 1.2vh 2vw; margin: 1vh 0 2vh; align-items: center; }
.shortcut-list dt { white-space: nowrap; }
.shortcut-list dd { margin: 0; color: var(--gray-text); }

/* =====================================================================
   MOBILES — participants & télécommande
   ===================================================================== */
.mobile-page { min-height: 100svh; display: flex; flex-direction: column; background: var(--gray-10); }
.mobile-header { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: max(10px, env(safe-area-inset-top)) 16px 10px; background: rgb(255 255 255 / 94%); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.profile-button { max-width: 45vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--gray-text); font-size: 13px; font-weight: 600; }
.mobile-stage { flex: 1; width: 100%; max-width: 560px; margin: 0 auto; padding: 16px; }
.mobile-card { display: grid; gap: 18px; padding: 24px 20px; border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); animation: rise .35s cubic-bezier(.2, .8, .2, 1) both; }
.mobile-card.is-center { justify-items: center; text-align: center; }
.mobile-card h1 { font: 700 26px/1.2 var(--serif); color: var(--ink); }
.mobile-card h2 { font-size: 21px; line-height: 1.3; }
.mobile-footer { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 16px max(14px, env(safe-area-inset-bottom)); color: var(--gray-text); font-size: 11px; text-align: center; flex-wrap: wrap; }
.mobile-footer .astellas-logo { height: 22px; padding: 5px; background: var(--white); border-radius: 6px; }
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.profile-option { min-height: 54px; padding: 10px 12px; border: 2px solid var(--line); border-radius: 12px; background: var(--white); font-weight: 600; font-size: 14px; line-height: 1.25; transition: border-color .15s, background .15s; }
.profile-option.is-selected { border-color: var(--red); background: var(--red-10); color: var(--dark-red); }
.profile-option:last-child:nth-child(odd) { grid-column: 1 / -1; }
.waiting-dots { display: flex; gap: 8px; padding: 10px; }
.waiting-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--red); animation: bounce 1.2s infinite; }
.waiting-dots span:nth-child(2) { animation-delay: .15s; background: var(--dark-red); } .waiting-dots span:nth-child(3) { animation-delay: .3s; background: var(--gray); }
.score-line { padding: 10px 16px; border-radius: 999px; background: var(--gray-10); font-weight: 600; }
.score-line strong { color: var(--red); }
.spin-wait { position: relative; display: grid; place-items: center; width: 110px; height: 110px; color: var(--red); }
.spin-wait .icon { width: 44px; height: 44px; }
.spin-wait-ring { position: absolute; inset: 0; border-radius: 50%; border: 6px solid var(--red-10); border-top-color: var(--red); border-right-color: var(--dark-red); animation: spin 1s linear infinite; }
.mobile-question-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; }
.mobile-question { font: 700 21px/1.3 var(--serif) !important; }
.mobile-timer { padding: 4px 10px; border-radius: 999px; background: var(--gray-10); font-weight: 700; font-variant-numeric: tabular-nums; }
.mobile-timer.is-urgent { background: var(--red); color: var(--white); }
.answer-hint { margin-top: -8px; color: var(--gray-text); font-size: 14px; font-weight: 600; }
.answer-list { display: grid; gap: 10px; }
.answer-option { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 12px 14px; border: 2px solid var(--line); border-radius: 14px; background: var(--white); text-align: left; font-weight: 600; line-height: 1.3; transition: border-color .15s, background .15s, transform .1s; }
.answer-option:active { transform: scale(.98); }
.answer-option.is-selected { border-color: var(--red); background: var(--red-10); }
.answer-option.is-selected .option-letter { background: var(--red); color: var(--white); }
.answer-option .check { margin-left: auto; width: 22px; height: 22px; flex: none; border: 2px solid var(--line); border-radius: 6px; }
.answer-option.is-selected .check { border-color: var(--red); background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 14px no-repeat; }
.scale-answer { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.scale-option { aspect-ratio: 1; border: 2px solid var(--line); border-radius: 50%; background: var(--white); font: 700 22px var(--serif); color: var(--red); }
.scale-option.is-selected { background: var(--red); border-color: var(--red); color: var(--white); }
.scale-legend { display: flex; justify-content: space-between; margin-top: -8px; color: var(--gray-text); font-size: 12px; font-weight: 600; }
.text-answer { position: relative; }
.text-answer input { min-height: 56px; padding-right: 60px; font-size: 18px; }
.text-answer small { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--gray-text); }
.send-button { position: sticky; bottom: 12px; }
.sent-mark { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; background: var(--red); color: var(--white); font-size: 30px; font-weight: 800; animation: pop .4s cubic-bezier(.2, .9, .3, 1.4) both; }
.sent-value { padding: 10px 16px; border-radius: 12px; background: var(--gray-10); font-weight: 700; }
.closed-note { padding: 14px; border-radius: 12px; background: var(--gray-10); color: var(--gray-text); font-weight: 600; text-align: center; }
.verdict { justify-self: start; padding: 8px 14px; border-radius: 999px; font-weight: 800; }
.verdict.is-success { background: var(--green-10); color: var(--green); }
.verdict.is-miss { background: var(--red-10); color: var(--dark-red); }
.verdict.is-neutral { background: var(--gray-10); color: var(--gray-text); }
.reveal-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.reveal-list li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 2px solid var(--line); color: var(--gray-text); font-weight: 600; }
.reveal-list li small { margin-left: auto; color: var(--gray-text); font-weight: 600; }
.reveal-list li.is-mine { border-color: var(--light-gray); color: var(--ink); }
.reveal-list li.is-correct { border-color: var(--green); background: var(--green-10); color: var(--ink); }
.reveal-list li.is-correct .option-letter { background: var(--green); color: var(--white); }
.mobile-insight { display: grid; gap: 6px; padding: 14px 16px; border-radius: 12px; background: var(--gray-10); border-left: 4px solid var(--red); }
.mobile-insight small { color: var(--gray-text); font-style: italic; }

/* --- Télécommande --- */
.presenter-page { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
.remote-status { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--gray-text); }
.live-dot { padding: 3px 9px; border-radius: 999px; background: var(--red); color: var(--white); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.remote-stage { flex: 1; width: 100%; max-width: 560px; margin: 0 auto; padding: 14px 14px 20px; display: grid; gap: 14px; align-content: start; transition: opacity .2s; }
.remote-stage.is-busy { opacity: .6; pointer-events: none; }
.remote-card { display: grid; gap: 16px; padding: 20px 18px; border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); }
.remote-card h1 { font: 700 24px/1.2 var(--serif); }
.remote-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: 13px; }
.remote-head .eyebrow { margin: 0; }
.remote-question { font: 700 19px/1.35 var(--serif); }
.remote-preview { padding: 14px; border-radius: 12px; background: var(--gray-10); }
.remote-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 8px; }
.remote-stat { display: grid; padding: 10px 12px; border-radius: 12px; background: var(--gray-10); }
.remote-stat strong { font-size: 26px; line-height: 1.1; color: var(--red); font-variant-numeric: tabular-nums; }
.remote-stat strong small { font-size: 15px; color: var(--gray-text); font-weight: 600; }
.remote-stat span { color: var(--gray-text); font-size: 12px; font-weight: 600; }
.remote-live { display: grid; gap: 10px; }
.remote-meter { height: 8px; border-radius: 999px; background: var(--gray-20); overflow: hidden; }
.remote-meter div { height: 100%; width: var(--w); background: var(--red); transition: width .5s; }
.remote-secondary { display: flex; flex-wrap: wrap; gap: 8px; }
.remote-secondary:empty { display: none; }
.remote-secondary .button { flex: 1 1 auto; min-height: 42px; padding: 8px 14px; font-size: 14px; }
.remote-panel { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.remote-panel summary { padding: 12px 14px; cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; }
.remote-panel summary::after { content: '+'; color: var(--gray-text); }
.remote-panel[open] summary::after { content: '–'; }
.remote-panel-body { display: grid; gap: 8px; padding: 0 14px 14px; font-size: 15px; }
.remote-panel.is-notes { border-color: var(--yellow); background: color-mix(in srgb, var(--yellow) 10%, white); }
.remote-options { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.remote-options li { position: relative; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--gray-10); overflow: hidden; font-weight: 600; font-size: 14px; }
.remote-options li i { position: absolute; inset: 0 auto 0 0; width: var(--w); background: rgb(147 149 151 / 18%); z-index: 0; }
.remote-options li > * { position: relative; z-index: 1; }
.remote-option-count { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--gray-text); }
.remote-options li.is-correct { background: var(--green-10); }
.remote-options li.is-correct .option-letter { background: var(--green); color: var(--white); }
.remote-options li.is-correct i { background: rgb(101 141 27 / 20%); }
.remote-average { font-weight: 600; }
.remote-words { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.remote-words li { padding: 4px 10px; border-radius: 999px; background: var(--gray-10); font-weight: 600; font-size: 14px; }
.remote-words small { margin-left: 4px; color: var(--red); }
.remote-footer { position: sticky; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 3; }
.remote-primary { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 14px 22px; border: 0; border-radius: 18px; background: var(--red); color: var(--white); font-size: 18px; font-weight: 800; text-align: left; box-shadow: 0 10px 24px rgb(217 30 73 / 30%); transition: background .15s, transform .1s; }
.remote-primary:active { transform: scale(.98); }
.remote-primary:disabled { background: var(--gray); box-shadow: none; }
.remote-primary span { font-size: 24px; }
.spin-disc { position: relative; display: grid; place-items: center; width: min(68vw, 280px); aspect-ratio: 1; margin: 6px auto; padding: 0; border: 0; border-radius: 50%; background: transparent; transition: transform .15s; }
.spin-disc:active { transform: scale(.96) rotate(-8deg); }
.spin-disc-mark { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 40s linear infinite; filter: drop-shadow(0 12px 22px rgb(217 30 73 / 25%)); }
.spin-disc > span { position: relative; display: grid; place-items: center; width: 52%; aspect-ratio: 1; border-radius: 50%; background: var(--white); color: var(--red); font-size: 18px; font-weight: 800; line-height: 1.15; text-transform: uppercase; letter-spacing: .03em; box-shadow: 0 2px 10px rgb(0 0 0 / 10%); }
.remote-progress { display: grid; grid-template-columns: repeat(auto-fit, minmax(38px, 1fr)); gap: 5px; margin: 0; padding: 0; list-style: none; }
.remote-progress li { --theme: var(--red); display: grid; justify-items: center; gap: 2px; padding: 8px 4px; border-radius: 10px; background: var(--white); color: var(--light-gray); font-size: 11px; font-weight: 700; }
.remote-progress li .icon { width: 20px; height: 20px; }
.remote-progress li.is-played { color: var(--theme); }
.remote-progress li.is-current { box-shadow: inset 0 0 0 2px var(--theme); color: var(--theme); }
.remote-recap { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.remote-recap li { --theme: var(--red); display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--gray-10); font-weight: 600; font-size: 14px; }
.remote-recap li .icon { color: var(--theme); }
.remote-recap small { margin-left: auto; color: var(--gray-text); }
.remote-dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px 8px max(8px, env(safe-area-inset-bottom)); background: rgb(255 255 255 / 96%); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
.remote-dock button { display: grid; justify-items: center; gap: 2px; padding: 6px 2px; border: 0; border-radius: 10px; background: transparent; color: var(--gray-text); font-size: 11px; font-weight: 600; }
.remote-dock button span { font-size: 19px; line-height: 1; }
.remote-dock button.is-active { background: var(--red-10); color: var(--red); }
.sheet { width: 100%; max-width: 560px; max-height: 85vh; margin: auto auto 0; padding: 0; border: 0; border-radius: 22px 22px 0 0; background: var(--white); color: var(--ink); box-shadow: var(--shadow); }
.sheet::backdrop { background: rgb(77 77 79 / 40%); }
.sheet[open] { animation: sheet-up .25s cubic-bezier(.2, .8, .2, 1) both; }
.sheet > div { position: relative; display: grid; gap: 12px; padding: 22px 18px max(22px, env(safe-area-inset-bottom)); }
.sheet h2 { font: 700 20px var(--serif); padding-right: 40px; }
.sheet-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--gray-10); font-size: 22px; line-height: 1; }
.sheet-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.sheet-list button { --theme: var(--red); width: 100%; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); text-align: left; font-weight: 600; }
.sheet-list button .icon { color: var(--theme); }
.sheet-list button small { margin-left: auto; flex: none; color: var(--gray-text); font-weight: 600; }
.sheet-list button.is-current { border-color: var(--red); background: var(--red-10); }
.sheet-list.is-questions button { align-items: flex-start; flex-direction: column; gap: 2px; }
.sheet-list.is-questions button small { margin-left: 0; }
.sheet-groups { display: grid; gap: 10px; }
.sheet-groups .eyebrow { margin: 8px 0 0; }

/* =====================================================================
   PAGE D’ENTRÉE & CONNEXION
   ===================================================================== */
.entry-page { min-height: 100svh; }
.entry-shell { position: relative; z-index: 1; min-height: 100svh; display: grid; grid-template-columns: 1.1fr .9fr; grid-template-rows: 1fr auto; gap: 24px 48px; align-items: center; max-width: 1180px; margin: 0 auto; padding: 48px 24px 24px; }
.entry-brand { display: grid; gap: 22px; }
.entry-brand .lead { max-width: 28em; }
.entry-card { display: grid; gap: 16px; padding: 32px 28px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.entry-card h2 { font: 700 26px var(--serif); color: var(--ink); }
.code-input { min-height: 72px; text-align: center; font-size: 34px; font-weight: 700; letter-spacing: .16em; font-variant-numeric: tabular-nums; }
.entry-footer { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--gray-text); font-size: 13px; }
.entry-footer .astellas-logo { height: 30px; }
.login-shell { position: relative; min-height: 100vh; display: grid; place-items: center; padding: 24px; background: var(--white); }
.login-card { position: relative; z-index: 1; width: min(440px, 100%); display: grid; gap: 18px; padding: 36px 32px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.login-card h1 { font: 700 26px var(--serif); color: var(--ink); }
.login-card .astellas-logo { justify-self: center; height: 28px; margin-top: 6px; }

/* =====================================================================
   BACK-OFFICE
   ===================================================================== */
.dashboard { min-height: 100vh; background: var(--gray-10); }
.topbar { position: sticky; top: 0; z-index: 10; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; height: 68px; padding: 0 clamp(16px, 3vw, 40px); background: var(--white); border-bottom: 1px solid var(--line); }
.topbar .text-button { justify-self: end; }
.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--gray-20); }
.tab { min-height: 38px; padding: 6px 16px; border: 0; border-radius: 999px; background: transparent; color: var(--gray-text); font-weight: 600; font-size: 14px; }
.tab.is-active { background: var(--white); color: var(--red); box-shadow: var(--shadow); }
.admin-main { max-width: 1280px; margin: 0 auto; padding: 32px clamp(16px, 3vw, 40px) 64px; }
.admin-view { display: grid; gap: 20px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.section-head h1 { font: 700 30px var(--serif); color: var(--ink); }
.head-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.new-session { display: grid; grid-template-columns: 2fr 1.4fr auto; gap: 12px; align-items: end; padding: 18px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.new-session + .form-hint { text-align: left; margin-top: -8px; }
.session-list { display: grid; gap: 12px; }
.session-card { display: grid; grid-template-columns: 1fr auto auto; grid-template-areas: 'main code stats' 'actions actions actions'; gap: 14px 24px; align-items: center; padding: 18px 20px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.session-card.live { border-left: 5px solid var(--red); }
.session-main { grid-area: main; display: grid; gap: 4px; }
.session-main h2 { font-size: 19px; }
.status-pill { justify-self: start; padding: 2px 10px; border-radius: 999px; background: var(--gray-20); color: var(--gray-text); font-size: 12px; font-weight: 700; }
.status-pill.live { background: var(--red-10); color: var(--red); }
.session-code { grid-area: code; display: grid; justify-items: center; }
.session-code span { color: var(--gray-text); font-size: 12px; font-weight: 600; }
.session-code strong { font-size: 24px; letter-spacing: .08em; color: var(--ink); }
.session-stats { grid-area: stats; display: flex; gap: 16px; color: var(--gray-text); font-size: 13px; }
.session-stats strong { display: block; color: var(--ink); font-size: 20px; }
.session-actions { grid-area: actions; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-top: 12px; border-top: 1px solid var(--line); }
.session-actions .button { min-height: 38px; padding: 6px 14px; font-size: 14px; }
.session-actions .icon-button { margin-left: auto; }
.empty-card { padding: 28px; border-radius: var(--radius); background: var(--white); border: 1px dashed var(--light-gray); text-align: center; color: var(--gray-text); list-style: none; }
.empty-card h2 { color: var(--ink); margin-bottom: 6px; }
.content-layout { display: grid; grid-template-columns: 300px 1fr; gap: 20px; align-items: start; }
.theme-column { position: sticky; top: 88px; display: grid; gap: 10px; }
.theme-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.theme-list li { display: flex; align-items: center; gap: 4px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); }
.theme-list li.is-selected { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-10); }
.theme-list li.is-hidden { opacity: .55; }
.theme-item { --theme: var(--red); flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 0; background: none; text-align: left; }
.theme-item .icon { color: var(--theme); width: 22px; height: 22px; }
.theme-item span { display: grid; min-width: 0; }
.theme-item strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.theme-item small { color: var(--gray-text); font-size: 12px; }
.reorder { display: grid; padding-right: 6px; }
.reorder button { width: 26px; height: 20px; border: 0; background: none; color: var(--gray-text); font-size: 12px; }
.reorder button:disabled { opacity: .2; }
.theme-detail { display: grid; gap: 16px; }
.theme-editor { --theme: var(--red); display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: start; padding: 20px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--theme); }
.theme-editor-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--theme); color: var(--white); }
.theme-editor-icon .icon { width: 32px; height: 32px; }
.theme-editor-fields { display: grid; gap: 12px; min-width: 0; }
.theme-name-input { min-height: 46px; font: 700 22px var(--serif); border-color: transparent; padding-left: 6px; }
.theme-name-input:hover { border-color: var(--line); }
.swatches { display: flex; gap: 6px; flex-wrap: wrap; }
.swatch { width: 28px; height: 28px; border: 2px solid var(--white); border-radius: 50%; background: var(--swatch); box-shadow: 0 0 0 1px var(--line); }
.swatch.is-selected { box-shadow: 0 0 0 2px var(--ink); }
.icon-picker { display: flex; gap: 4px; flex-wrap: wrap; }
.icon-picker button { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: var(--gray-text); }
.icon-picker button.is-selected { border-color: var(--theme); color: var(--theme); background: var(--red-10); }
.theme-editor-actions { display: grid; gap: 8px; justify-items: end; }
.questions-head { display: flex; align-items: center; justify-content: space-between; }
.questions-head h2 { font-size: 18px; }
.question-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.question-card { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: start; padding: 14px 16px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.question-card.is-hidden { opacity: .55; }
.question-index { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gray-10); color: var(--gray-text); font-weight: 700; font-size: 13px; }
.question-content { display: grid; gap: 8px; min-width: 0; }
.question-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { padding: 2px 8px; border-radius: 6px; background: var(--gray-10); color: var(--gray-text); font-size: 12px; font-weight: 600; }
.badge.is-quiz { background: var(--green-10); color: var(--green); }
.badge.is-opinion { background: var(--red-10); color: var(--dark-red); }
.badge.is-muted { background: var(--gray-20); }
.question-prompt-text { font-weight: 600; }
.question-options { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; padding: 0; list-style: none; color: var(--gray-text); font-size: 13px; }
.question-options li.is-correct { color: var(--green); font-weight: 700; }
.question-options b { color: var(--ink); }
.question-tools { display: flex; gap: 2px; }
.question-tools button { width: 32px; height: 32px; border: 0; border-radius: 8px; background: none; color: var(--gray-text); }
.question-tools button:hover:not(:disabled) { background: var(--gray-10); color: var(--ink); }
.question-tools button:disabled { opacity: .2; }
.settings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; align-items: start; }
.settings-grid fieldset { padding: 20px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.settings-actions { grid-column: 1 / -1; }

.dialog { width: min(560px, calc(100% - 24px)); max-height: calc(100vh - 40px); padding: 0; border: 0; border-radius: var(--radius-lg); color: var(--ink); box-shadow: 0 30px 60px rgb(0 0 0 / 20%); }
.dialog.is-wide { width: min(860px, calc(100% - 24px)); }
.dialog::backdrop { background: rgb(77 77 79 / 45%); }
.dialog > div { position: relative; display: grid; gap: 16px; padding: 28px; }
.dialog h2 { font: 700 24px var(--serif); padding-right: 40px; }
.dialog h3 { font-size: 15px; margin-top: 8px; color: var(--red); }
.dialog-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--gray-10); font-size: 22px; line-height: 1; }
.dialog-grid { display: grid; gap: 14px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; padding-top: 6px; }
.copy-field { display: flex; gap: 6px; }
.copy-field input { font-size: 13px; }
.qr-pair { display: flex; gap: 20px; justify-content: center; }
.qr-pair figure { margin: 0; display: grid; justify-items: center; gap: 6px; font-weight: 600; color: var(--gray-text); }
.qr-pair img { width: 170px; height: 170px; }
.report-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.report-table th, .report-table td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.report-table th { color: var(--gray-text); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.report-table td small { color: var(--gray-text); }
.editor { display: grid; gap: 16px; }
.editor-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: end; }
.field { display: grid; gap: 8px; }
.field-label { font-size: 14px; font-weight: 600; }
.option-editor { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.option-editor li { display: flex; align-items: center; gap: 8px; }
.correct-toggle { display: flex; align-items: center; gap: 6px; flex: none; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); font-size: 12px; font-weight: 600; color: var(--gray-text); cursor: pointer; }
.correct-toggle:has(input:checked) { border-color: var(--green); background: var(--green-10); color: var(--green); }
.correct-toggle input { accent-color: var(--green); }
.option-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.radio-group { display: grid; gap: 8px; }
.help-details summary { cursor: pointer; font-weight: 600; color: var(--gray-text); }
.help-details p { margin-top: 8px; font-size: 13px; color: var(--gray-text); }
.help-details code { padding: 1px 5px; border-radius: 4px; background: var(--gray-10); color: var(--ink); }

/* ---------- Animations ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes grow { from { width: 0; height: 0; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes bounce { 0%, 80%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-8px); opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .entry-shell { grid-template-columns: 1fr; padding-top: 32px; align-content: start; }
  .content-layout { grid-template-columns: 1fr; }
  .theme-column { position: static; }
  .new-session { grid-template-columns: 1fr; }
  .session-card { grid-template-columns: 1fr auto; grid-template-areas: 'main code' 'stats stats' 'actions actions'; }
  .topbar { grid-template-columns: 1fr auto; height: auto; padding-block: 10px; }
  .topbar .tabs { grid-column: 1 / -1; grid-row: 2; overflow-x: auto; }
  .topbar .text-button { grid-row: 1; grid-column: 2; }
  .theme-editor { grid-template-columns: 1fr; }
  .theme-editor-actions { justify-items: start; grid-auto-flow: column; }
  .editor-columns { grid-template-columns: 1fr; }
  .option-editor li { flex-wrap: wrap; }
  .correct-toggle span { display: none; }
  .kpis { grid-template-columns: 1fr 1fr; }
}
/* Grand écran ouvert sur un écran étroit (aperçu, tablette verticale) */
@media (max-aspect-ratio: 4/3) {
  .screen-page { height: auto; min-height: 100vh; overflow: auto; font-size: clamp(13px, 2vw, 20px); }
  .lobby-layout, .wheel-layout, .recap-layout { grid-template-columns: 1fr; }
  .join-panel { justify-self: stretch; width: auto; }
  .wheel-svg { max-height: 60vh; }
  .has-insight .results-body { grid-template-columns: 1fr; }
  .recap-grid { grid-template-columns: repeat(2, 1fr); }
  .option-grid { grid-template-columns: 1fr; }
  .question-bottom { grid-template-columns: 1fr; }
}
.screen-page[data-phase="lobby"] #screen-brand { visibility: hidden; }
/* Ajustements projection */
.results-body { align-self: center; }
.bars { gap: 3.4vh; }
.bar-label { font-size: 1.45em; }
.bars .bar-track { height: 4.2vh; }
.bar-value strong { font-size: 1.9em; }
.option-grid li { min-height: 12vh; font-size: 1.55em; }
.option-grid { align-self: center; }
.profile-matrix { table-layout: fixed; font-size: 1.05em; }
.profile-matrix thead th:first-child, .profile-matrix tbody th { width: 14em; }
.profile-matrix td.is-score { background: var(--green-10); color: var(--green); font-size: 1.25em; }
.profile-matrix th.is-score span { background: var(--green); color: var(--white); }
label:has(> .optional) { display: flex; flex-wrap: wrap; column-gap: .35em; row-gap: 6px; }
label:has(> .optional) > input, label:has(> .optional) > textarea, label:has(> .optional) > select { flex-basis: 100%; }
.scale-prompt-wrap { display: grid; gap: 1.2vh; align-self: center; justify-self: start; }
.scale-prompt-wrap .scale-legend { display: flex; justify-content: space-between; color: var(--gray-text); font-weight: 600; }
.scale-average em { margin-top: .6em; font-style: normal; font-size: .75em; color: var(--gray-text); text-align: center; }

/* =====================================================================
   v2.1 — barre de contrôle (lab-perso) et mise en page épurée
   ===================================================================== */
.screen-footer { grid-template-columns: 1fr; text-align: center; }
.screen-bar { position: fixed; z-index: 30; left: 50%; bottom: 3.2vh; display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 999px; background: rgb(255 255 255 / 96%); border: 1px solid var(--line); box-shadow: 0 10px 30px rgb(77 77 79 / 18%); font-size: 15px; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.show-bar .screen-bar { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.screen-bar button { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border: 0; border-radius: 999px; background: transparent; color: var(--gray-text); }
.screen-bar button:hover { background: var(--gray-10); color: var(--ink); }
.screen-bar button svg { width: 20px; height: 20px; }
.screen-bar button.is-active { background: var(--red-10); color: var(--red); }
.screen-bar .bar-next { display: inline-flex; gap: .5em; padding: 0 18px; background: var(--red); color: var(--white); font-weight: 700; }
.screen-bar .bar-next:hover { background: var(--dark-red); color: var(--white); }
.bar-sep { width: 1px; height: 24px; margin: 0 6px; background: var(--line); }
.screen-bar .live-count { margin: 0 8px 0 4px; font-size: 14px; }
#tool-sound .sound-off { display: none; }
#tool-sound.is-off .sound-off { display: inline; }
#tool-sound.is-off .sound-wave { display: none; }
#tool-sound.is-off { text-decoration: none; }
.join-hint { color: var(--gray-text); font-weight: 600; font-size: .95em; max-width: 18em; }
.join-overlay-card { cursor: pointer; }
.join-overlay-card img { width: 58vh; height: 58vh; }
.join-overlay-card .join-hint { font-size: 1.3em; max-width: none; }

/* Question & résultats : un bloc centré, largeur maîtrisée, sans vide parasite */
.question-layout, .results-layout { display: flex; flex-direction: column; justify-content: center; gap: 3.6vh; max-width: 1500px; height: 100%; margin: 0 auto; padding-bottom: 4vh; }
.question-prompt, .question-prompt.is-compact { max-width: none; font-size: 2.3em; }
.results-layout .question-prompt { font-size: 2em; }
.results-body { align-self: stretch; }
.option-grid { align-self: stretch; }
.option-grid li { min-height: 10vh; }
.question-bottom { grid-template-columns: 1fr auto; margin-top: 1vh; }
.participation { max-width: none; }
.view-tabs button { padding: .35em 1em; border: 0; border-radius: 999px; background: transparent; color: var(--gray-text); font-weight: 600; }
.view-tabs button.is-active { background: var(--white); color: var(--red); box-shadow: var(--shadow); }
.view-tabs button:not(:disabled):hover { color: var(--ink); }
.view-tabs button:disabled { cursor: default; }

/* Barres : lettre | libellé | jauge | valeur, colonnes alignées */
.bars { gap: 2.2vh; }
.bar-row { grid-template-columns: 2.4em minmax(8em, 30%) 1fr 6.5em; gap: 1.4vw; padding: 1.2vh 1.2vw; border-radius: var(--radius); background: var(--gray-10); }
.bar-body { display: contents; }
.bar-label { font-size: 1.3em; line-height: 1.25; }
.bars .bar-track { height: 2.8vh; min-height: 14px; background: var(--white); }
.bar-value { display: flex; align-items: baseline; justify-content: flex-end; gap: .5em; min-width: 0; }
.bar-value strong { font-size: 1.7em; }
.bar-value small { font-size: .85em; }
.bar-row.is-top { background: var(--red-10); }
.bars.is-revealed .bar-row.is-correct { background: var(--green-10); }
.bars.is-revealed .bar-row.is-top:not(.is-correct) { background: var(--gray-10); }
.screen-bar, .screen-bar * { white-space: nowrap; }
.bar-row .bar-letter { background: var(--white); }
/* Pendant la présentation, le curseur disparaît avec la barre */
.screen-page:not(.show-bar) { cursor: none; }

/* ---------- Boutons supprimer : croix dans un cercle ---------- */
.delete-button, .question-tools .delete-button { display: inline-grid; place-items: center; flex: none; width: 34px; height: 34px; padding: 0; border: 1.5px solid var(--line); border-radius: 50%; background: var(--white); color: var(--gray-text); transition: color .15s, border-color .15s, background .15s; }
.delete-button svg { width: 17px; height: 17px; }
.delete-button:hover:not(:disabled), .question-tools .delete-button:hover:not(:disabled) { color: var(--white); border-color: var(--red); background: var(--red); }
.delete-button:disabled { opacity: .3; cursor: not-allowed; }
.delete-labeled { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; color: var(--gray-text); font-weight: 600; font-size: 14px; }
.delete-labeled .delete-button { width: 30px; height: 30px; }
.delete-labeled:hover { color: var(--dark-red); }
.delete-labeled:hover .delete-button { color: var(--white); border-color: var(--red); background: var(--red); }
.session-actions .delete-button { margin-left: auto; }
.dialog-close, .sheet-close { border-radius: 50%; }

/* ---------- Éditeur d’éclairage ---------- */
.insight-editor { gap: 12px; padding: 16px; border-radius: var(--radius); background: var(--gray-10); }
.insight-editor legend { float: left; width: 100%; margin-bottom: 4px; }
.insight-editor legend small { color: var(--gray-text); font-weight: 400; }
.insight-editor .segmented { justify-self: start; }
.insight-editor textarea, .insight-editor input { background: var(--white); }
.video-editor { display: grid; gap: 12px; }
.video-drop { display: grid; justify-items: start; gap: 8px; padding: 14px; border: 1.5px dashed var(--light-gray); border-radius: 12px; background: var(--white); }
.video-drop .copy-field { width: 100%; }
.video-file { cursor: pointer; }
.upload-progress { width: 100%; height: 6px; border-radius: 999px; background: var(--gray-20); overflow: hidden; }
.upload-progress div { width: 0; height: 100%; background: var(--red); transition: width .2s; }
.video-preview { position: relative; border-radius: 12px; overflow: hidden; background: #000; }
.video-preview-player { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.video-preview .delete-button { position: absolute; top: 10px; right: 10px; }
.editor-stack { display: grid; gap: 14px; }
.badge.is-video { background: var(--red-10); color: var(--red); }
.remote-video { display: grid; gap: 8px; padding: 12px; border-radius: 12px; background: var(--gray-10); }
.remote-video .eyebrow { margin: 0; }

/* ---------- Vidéo d’expert sur le grand écran ---------- */
.has-media .results-body { grid-template-columns: 1fr 1.05fr; }
.insight.has-video { padding: 2.4vh 1.6vw; }
.video-frame { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; }
.expert-video { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: #000; }
.video-title { font-weight: 700; color: var(--ink); }
.video-start { position: absolute; inset: auto 50% 50% auto; transform: translate(50%, 50%); padding: .8em 1.6em; border: 0; border-radius: 999px; background: var(--red); color: var(--white); font-size: 1.1em; font-weight: 700; box-shadow: 0 10px 24px rgb(0 0 0 / 30%); }
/* Plein cadre : la vidéo occupe toute la scène, les résultats passent en retrait */
.is-media-full .results-main, .is-media-full .question-prompt, .is-media-full .insight-score { display: none; }
.is-media-full .results-body { grid-template-columns: 1fr; }
.is-media-full .insight { border-left: 0; background: transparent; padding: 0; justify-items: center; }
.is-media-full .video-frame { width: min(100%, calc(66vh * 16 / 9)); }
.is-media-full .insight-text, .is-media-full .insight-source, .is-media-full .video-title { text-align: center; }
.segmented button { white-space: nowrap; }
#screen-brand.is-link { cursor: pointer; } #screen-brand.is-link:hover .event-name strong { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Vidéo YouTube en mode projection (sans liens YouTube) ---------- */
.video-shield { position: absolute; inset: 0; z-index: 1; }
.video-cover { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; width: 100%; padding: 0; border: 0; background: #000 center / cover no-repeat; cursor: pointer; transition: opacity .35s; }
.video-cover::before { content: ''; position: absolute; inset: 0; background: rgb(0 0 0 / 25%); }
.video-cover-play { position: relative; display: grid; place-items: center; width: 4.2em; height: 4.2em; padding-left: .2em; border-radius: 50%; background: var(--red); color: var(--white); font-size: 1.2em; box-shadow: 0 10px 30px rgb(0 0 0 / 35%); }
.video-frame.is-playing .video-cover { opacity: 0; pointer-events: none; }
.video-start { z-index: 3; }
/* Le lecteur est plus haut que son cadre : la barre de titre (en haut) et le logo YouTube (en bas)
   sortent de la zone visible. L'image 16:9, centrée dans le lecteur, occupe exactement le cadre. */
.video-frame:has(.is-clean) { aspect-ratio: 16 / 9; }
.expert-video.is-clean { position: absolute; left: 0; top: -80px; width: 100%; height: calc(100% + 160px); aspect-ratio: auto; }

/* ---------- Logotype Meridien (vectorisé) ---------- */
.event-wordmark { display: block; height: 2.3em; width: auto; flex: none; overflow: visible; }
.wordmark-title { fill: var(--red); }
.wordmark-subtitle { fill: var(--gray-text); }
.event-lockup.is-hero .event-wordmark { height: 2.25em; }
.event-lockup.is-tiny .event-wordmark { height: 2.7em; }
