/*
 * Let's Play — habillage commun des écrans de jeu (écran principal et téléphone).
 * Sur l'écran principal, tout est dimensionné en rem et le rem suit la taille de l'écran :
 * la même mise en page tient sur un portable comme sur une télé 4K.
 */

@font-face {
  font-family: 'LP Nunito';
  src: url('../fonts/nunito-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --lp-bg: #fcfaf5;
  --lp-bg-2: #ffffff;
  --lp-panel: #ffffff;
  --lp-panel-2: #ede5fa;
  --lp-line: #ddd5e5;
  --lp-text: #302740;
  --lp-mute: #766b81;
  --lp-amber: #f3ce70;
  --lp-amber-deep: #b18b32;
  --lp-coral: #c74657;
  --lp-coral-deep: #983344;
  --lp-mint: #b4d58d;
  --lp-purple: #7046da;
  --lp-ink: #302740;
  --lp-radius: 1.25rem;
  --lp-font: 'LP Nunito', 'Trebuchet MS', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

.lp-html {
  height: 100%;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

.lp-html--host {
  font-size: clamp(13px, 0.6vw + 0.9vh, 44px);
}

.lp-body {
  margin: 0;
  min-height: 100%;
  color: var(--lp-text);
  font-family: var(--lp-font);
  line-height: 1.35;
  background: var(--lp-bg);
  background-attachment: fixed;
  -webkit-tap-highlight-color: transparent;
}

/* :where() garde ces remises à zéro faibles : une classe suffit à les surcharger. */
:where(.lp-body) :where(button, input) {
  font: inherit;
  color: inherit;
}

:where(.lp-body) button {
  cursor: pointer;
  touch-action: manipulation;
}

.lp-noscript {
  padding: 2rem;
  text-align: center;
}

/* ---------- briques ---------- */

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.75em 1.5em;
  border: 0;
  border-radius: 999px;
  background: var(--lp-panel-2);
  color: var(--lp-text);
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 0.25em 0 rgba(0, 0, 0, 0.35);
  transition: transform 0.08s ease, box-shadow 0.08s ease, filter 0.15s ease;
}

.lp-btn:hover {
  filter: brightness(1.08);
}

.lp-btn:active {
  transform: translateY(0.2em);
  box-shadow: 0 0.05em 0 rgba(0, 0, 0, 0.35);
}

.lp-btn:focus-visible,
.lp-iconbtn:focus-visible,
.lp-seg__btn:focus-visible,
.lp-top__join:focus-visible {
  outline: 0.2em solid var(--lp-purple);
  outline-offset: 0.15em;
}

.lp-btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.lp-btn--go {
  background: var(--lp-amber);
  color: var(--lp-ink);
  box-shadow: 0 0.25em 0 var(--lp-amber-deep);
}

.lp-btn--go:active {
  box-shadow: 0 0.05em 0 var(--lp-amber-deep);
}

.lp-btn--danger {
  background: var(--lp-coral);
  color: #fff;
  box-shadow: 0 0.25em 0 var(--lp-coral-deep);
}

.lp-btn--ghost {
  background: transparent;
  box-shadow: inset 0 0 0 0.12em var(--lp-line);
}

.lp-btn--ghost:active {
  box-shadow: inset 0 0 0 0.12em var(--lp-line);
}

.lp-btn--xl {
  font-size: 1.3rem;
  padding: 0.8em 1.9em;
}

.lp-btn--small {
  font-size: 0.8rem;
  padding: 0.5em 1em;
}

.lp-iconbtn {
  display: inline-grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  font-size: 1.15rem;
  font-weight: 800;
}

.lp-iconbtn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lp-icon {
  display: inline-grid;
}

.lp-icon svg {
  width: 1.25em;
  height: 1.25em;
}

.lp-avatar {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 2.4em;
  height: 2.4em;
  border-radius: 50%;
  background: var(--c, #666);
  box-shadow: inset 0 -0.18em 0 rgba(0, 0, 0, 0.22);
  font-size: 1em;
  line-height: 1;
}

.lp-avatar--xl {
  font-size: 2.6rem;
}

.lp-qr {
  padding: 0.9rem;
  border-radius: var(--lp-radius);
  background: #fff;
  line-height: 0;
}

.lp-qr svg {
  display: block;
  width: 100%;
  height: auto;
}

.lp-code {
  display: flex;
  justify-content: center;
  gap: 0.35em;
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: 0;
}

.lp-code span {
  display: grid;
  place-items: center;
  width: 1.35em;
  height: 1.55em;
  border-radius: 0.28em;
  background: var(--lp-panel);
  box-shadow: inset 0 0 0 0.06em var(--lp-line), 0 0.1em 0 rgba(0, 0, 0, 0.35);
  color: var(--lp-purple);
}

.lp-toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  z-index: 50;
  max-width: calc(100vw - 2rem);
  padding: 0.8em 1.3em;
  border-radius: 999px;
  background: #fff;
  color: var(--lp-ink);
  font-weight: 700;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 1rem);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.lp-toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

.lp-offline::before {
  content: "Connexion perdue, nouvelle tentative…";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  padding: 0.5em;
  background: var(--lp-coral);
  font-weight: 800;
  text-align: center;
}

.lp-splash {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1.2rem;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 2rem;
  text-align: center;
}

.lp-splash__logo,
.lp-form__logo {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--lp-purple);
}

.lp-splash__msg {
  margin: 0;
  font-size: 1.2rem;
  color: var(--lp-mute);
}

.lp-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(8, 6, 20, 0.82);
  backdrop-filter: blur(6px);
}

/* ---------- écran principal ---------- */

.lp-host {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: 100vh;
  height: 100dvh;
}

.lp-top {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0.9rem 1.6rem;
}

.lp-top__title {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.lp-top__join {
  margin-left: auto;
  padding: 0.45em 1.1em;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 1rem;
  color: var(--lp-mute);
}

.lp-top__join b {
  color: var(--lp-amber);
  font-weight: 900;
  letter-spacing: 0.12em;
}

.lp-top__tools {
  display: flex;
  gap: 0.5rem;
}

.lp-top__join[hidden] + .lp-top__tools {
  margin-left: auto;
}

.lp-host .lp-stage {
  position: relative;
  min-height: 0;
  padding: 0 1.6rem 1.2rem;
}

.lp-endbar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0 1.6rem 1.6rem;
}

/* salon d'attente */

.lp-lobby {
  display: grid;
  grid-template-columns: minmax(15rem, 22rem) minmax(0, 1fr);
  align-items: center;
  gap: 3.5rem;
  height: 100%;
  max-width: 78rem;
  margin: 0 auto;
}

.lp-lobby__join {
  display: grid;
  gap: 0.7rem;
  text-align: center;
}

.lp-lobby__scan {
  margin: 0.4rem 0 0;
  font-size: 1.5rem;
  font-weight: 900;
}

.lp-lobby__url {
  margin: 0 0 0.4rem;
  color: var(--lp-mute);
  overflow-wrap: anywhere;
}

.lp-lobby__url b {
  color: var(--lp-text);
}

.lp-lobby__main {
  min-width: 0;
}

.lp-lobby__title {
  display: flex;
  align-items: center;
  gap: 0.35em;
  margin: 0;
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.lp-lobby__emoji {
  font-size: 0.85em;
}

.lp-lobby__tagline {
  margin: 0.5rem 0 1.6rem;
  font-size: 1.3rem;
  color: var(--lp-mute);
}

.lp-lobby__count {
  margin-bottom: 0.7rem;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lp-mute);
}

.lp-lobby__count b {
  color: var(--lp-text);
}

.lp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 0 0 1.6rem;
  padding: 0;
  list-style: none;
}

.lp-chip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.5rem 0.4rem 0.4rem;
  border-radius: 999px;
  background: var(--lp-panel);
  box-shadow: inset 0 0 0 0.14rem var(--c, var(--lp-line));
  font-size: 1.2rem;
  font-weight: 800;
}

.lp-chip.is-new {
  animation: lp-pop 0.35s cubic-bezier(0.2, 1.4, 0.4, 1) both;
}

.lp-chip.is-away {
  opacity: 0.5;
}

.lp-chip__wins {
  font-size: 0.85em;
  color: var(--lp-amber);
}

.lp-chip__kick {
  display: grid;
  place-items: center;
  width: 1.7em;
  height: 1.7em;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--lp-mute);
  font-size: 1em;
  line-height: 1;
}

.lp-chip__kick:hover {
  background: var(--lp-coral);
  color: #fff;
}

.lp-chip--empty {
  padding: 0.95rem 1.4rem;
  background: transparent;
  box-shadow: inset 0 0 0 0.12rem var(--lp-line);
  color: var(--lp-mute);
  font-weight: 600;
}

.lp-option {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.6rem;
}

.lp-option__label {
  font-weight: 700;
  color: var(--lp-mute);
}

.lp-seg {
  display: inline-flex;
  padding: 0.25rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.3);
}

.lp-seg__btn {
  padding: 0.45em 1.1em;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--lp-mute);
  font-weight: 800;
}

.lp-seg__btn[aria-pressed="true"] {
  background: #fff;
  color: var(--lp-ink);
}

.lp-lobby__go {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.lp-lobby__hint {
  color: var(--lp-mute);
  font-weight: 700;
}

.lp-rules {
  margin-top: 1.6rem;
  color: var(--lp-mute);
}

.lp-rules summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--lp-text);
}

.lp-rules ol,
.lp-sheet ol {
  margin: 0.8rem 0 0;
  padding-left: 1.3em;
}

.lp-rules li,
.lp-sheet li {
  margin-bottom: 0.4em;
}

/* panneau « salle » */

.lp-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(12rem, 18rem) minmax(16rem, 26rem);
  gap: 2.5rem;
  max-height: 100%;
  padding: 2.2rem;
  overflow: auto;
  border-radius: calc(var(--lp-radius) * 1.3);
  background: var(--lp-bg-2);
  box-shadow: 0 0 0 0.08rem var(--lp-line), 0 2rem 4rem rgba(0, 0, 0, 0.5);
}

.lp-panel__close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  font-size: 1.3rem;
  line-height: 1;
}

.lp-panel__qr {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.lp-panel__qr .lp-code {
  font-size: 2rem;
}

.lp-panel h2 {
  margin: 0 0 1rem;
  font-size: 1.6rem;
}

.lp-panel__players {
  display: grid;
  gap: 0.6rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.lp-panel__players li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.lp-panel__players .is-away .lp-avatar,
.lp-panel__players .is-away .lp-panel__name {
  opacity: 0.5;
}

.lp-panel__name {
  font-weight: 800;
}

.lp-panel__state {
  margin-right: auto;
  font-size: 0.85rem;
  color: var(--lp-mute);
}

.lp-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* ---------- téléphone ---------- */

.lp-phone {
  display: flex;
  flex-direction: column;
  max-width: 30rem;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: env(safe-area-inset-top) 1rem calc(1rem + env(safe-area-inset-bottom));
}

.lp-phone .lp-stage {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
}

.lp-me {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 0;
}

.lp-me__id {
  display: grid;
  margin-right: auto;
  min-width: 0;
  line-height: 1.2;
}

.lp-me__id b {
  overflow: hidden;
  font-size: 1.1rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lp-me__id span {
  font-size: 0.8rem;
  color: var(--lp-mute);
}

.lp-form {
  display: grid;
  flex: 1;
  align-content: center;
  gap: 1rem;
  padding: 2rem 0;
  text-align: center;
}

.lp-form__room {
  margin: 0;
  font-weight: 700;
  color: var(--lp-mute);
}

.lp-form__notice {
  margin: 0;
  padding: 0.7em 1em;
  border-radius: 0.8rem;
  background: rgba(255, 93, 115, 0.18);
  font-weight: 700;
}

.lp-form__label {
  margin-top: 0.6rem;
  font-size: 1.15rem;
  font-weight: 800;
}

.lp-input {
  width: 100%;
  padding: 0.75em 1em;
  border: 0;
  border-radius: 1rem;
  background: #fff;
  color: var(--lp-ink);
  font-size: 1.3rem;
  font-weight: 800;
  text-align: center;
}

.lp-input:focus {
  outline: 0.2rem solid var(--lp-amber);
  outline-offset: 0.15rem;
}

.lp-input--code {
  font-size: 2.2rem;
  letter-spacing: 0.35em;
  text-indent: 0.35em;
  text-transform: uppercase;
}

.lp-wait {
  display: grid;
  flex: 1;
  align-content: center;
  justify-items: center;
  gap: 0.8rem;
  text-align: center;
}

.lp-wait h1 {
  margin: 0.4rem 0 0;
  font-size: 1.9rem;
  font-weight: 900;
}

.lp-wait p {
  margin: 0;
  max-width: 22rem;
  color: var(--lp-mute);
  font-size: 1.05rem;
}

.lp-wait__count {
  font-weight: 800;
}

.lp-sheet {
  width: min(28rem, 100%);
  max-height: 100%;
  padding: 1.5rem;
  overflow: auto;
  border-radius: var(--lp-radius);
  background: var(--lp-bg-2);
  box-shadow: 0 0 0 1px var(--lp-line);
}

.lp-sheet h2 {
  margin: 0;
}

.lp-sheet .lp-btn {
  width: 100%;
  margin-top: 1.2rem;
}

.lp-confetti {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.lp-confetti i {
  position: absolute;
  top: -5%;
  width: 0.7rem;
  height: 1.1rem;
  border-radius: 0.15rem;
  animation: lp-fall linear infinite both;
}

@keyframes lp-fall {
  to {
    transform: translateY(120vh) rotate(720deg);
  }
}

@keyframes lp-pop {
  from {
    opacity: 0;
    transform: scale(0.6);
  }
}

@media (max-width: 860px), (orientation: portrait) {
  .lp-html--host {
    font-size: 15px;
  }

  .lp-host {
    height: auto;
    min-height: 100dvh;
  }

  .lp-lobby {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    padding-bottom: 2rem;
  }

  .lp-lobby__join {
    max-width: 16rem;
    margin: 0 auto;
  }

  .lp-lobby__title {
    font-size: 2.4rem;
  }

  .lp-panel {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* The same playful paper-and-pieces language follows players into the room. */
.lp-body :is(button, a, summary, input):focus-visible {
  outline: 3px solid var(--lp-purple);
  outline-offset: 4px;
}
.lp-btn { min-height: 44px; border: 1.5px solid var(--lp-ink); border-radius: .85rem; box-shadow: 2px 3px 0 var(--lp-ink); }
.lp-btn:hover { filter: brightness(.98); transform: translateY(-1px); }
.lp-btn--go { background: var(--lp-purple); color: #fff; box-shadow: 2px 3px 0 var(--lp-ink); }
.lp-btn--go:active { box-shadow: 0 1px 0 var(--lp-ink); }
.lp-btn--ghost { border-color: var(--lp-line); background: var(--lp-bg-2); box-shadow: none; }
.lp-btn--ghost:active { box-shadow: none; }
.lp-btn:disabled { opacity: .5; transform: none; }
.lp-iconbtn { min-width: 44px; min-height: 44px; border: 1px solid var(--lp-line); background: #fff; border-radius: .85rem; }
.lp-iconbtn:hover { background: var(--lp-panel-2); }
.lp-host { min-height: 100dvh; height: auto; grid-template-rows: auto 1fr auto; }
.lp-top { gap: 1rem; margin-bottom: 1rem; border-bottom: 1px solid var(--lp-line); background: #fffdf9; }
.lp-top__brand { flex: none; color: var(--lp-purple); font-size: 1.5rem; font-weight: 900; letter-spacing: -.07em; text-decoration: none; }
.lp-top__title { padding-left: 1rem; border-left: 1px solid var(--lp-line); font-size: 1rem; }
.lp-top__join { min-height: 44px; background: #ede5fa; }
.lp-top__join b { color: #6540b6; }
.lp-host .lp-stage { min-height: calc(100dvh - 7rem); }
.lp-lobby { max-width: 74rem; grid-template-columns: minmax(15rem, 23rem) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); padding: 2rem 0; }
.lp-lobby__join { padding: 1.5rem; background: #ede5fa; border: 1.5px solid var(--lp-ink); border-radius: 1.5rem; box-shadow: 5px 6px 0 #d8cce7; }
.lp-qr { border: 1px solid var(--lp-line); border-radius: 1rem; }
.lp-lobby__scan { font-size: 1.3rem; }
.lp-lobby__url { font-size: .82rem; }
.lp-code { font-size: 2.3rem; gap: .3em; }
.lp-code span { border: 1px solid var(--lp-ink); background: #fffdf9; box-shadow: 1px 3px 0 var(--lp-ink); }
.lp-lobby__eyebrow { margin: 0 0 1rem; color: var(--lp-purple); font-weight: 900; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; }
.lp-lobby__title { font-size: 3.2rem; }
.lp-lobby__emoji { display: grid; place-items: center; width: 1.5em; height: 1.5em; flex: none; border-radius: .3em; background: #f8ddc5; transform: rotate(-8deg); font-size: .8em; }
.lp-lobby__tagline { font-size: 1.1rem; line-height: 1.6; margin-bottom: 2rem; }
.lp-lobby__count { font-size: .85rem; }
.lp-lobby__age { display: inline-block; padding: .35rem .75rem; margin: -.7rem 0 .8rem; border-radius: 2rem; background: #f4d4e1; color: #783954; font-size: .85rem; font-weight: 900; }
.lp-lobby__info { margin: 0 0 1.2rem; max-width: 42rem; color: var(--lp-mute); font-size: .9rem; line-height: 1.6; }
.lp-lobby__count b { display: inline-block; margin-left: .3rem; padding: .15em .6em; border-radius: .4rem; background: #e4ecc9; }
.lp-chip { max-width: 100%; font-size: 1rem; }
.lp-chip__name { overflow-wrap: anywhere; min-width: 0; }
.lp-chip__wins { color: #785425; }
.lp-chip__kick { flex: none; min-width: 44px; min-height: 44px; }
.lp-chip--empty { border: 1.5px dashed #c8bdcf; box-shadow: none; background: #f4f0f6; }
.lp-seg { flex-wrap: wrap; gap: .2rem; border-radius: .85rem; background: #eee8f2; }
.lp-seg__btn { min-height: 44px; border-radius: .65rem; font-size: .9rem; }
.lp-seg__btn[aria-pressed="true"] { background: var(--lp-purple); color: white; }
.lp-rules { border-top: 1px solid var(--lp-line); padding-top: 1.2rem; font-size: .95rem; line-height: 1.6; }
.lp-rules summary { min-height: 44px; padding-block: .35rem; }
.lp-panel { max-width: 100%; border: 1.5px solid var(--lp-ink); box-shadow: 6px 6px 0 #30274040; }
.lp-panel__close { min-width: 44px; min-height: 44px; background: #eee5f7; }
.lp-panel__side { min-width: 0; }
.lp-panel__name { min-width: 0; overflow-wrap: anywhere; }
.lp-panel__players li { flex-wrap: wrap; }
.lp-overlay { padding: 1rem; background: #3027409c; }
.lp-sheet { border: 1.5px solid var(--lp-ink); line-height: 1.6; }
.lp-toast { border: 1px solid var(--lp-ink); box-shadow: 3px 4px 0 #30274026; }
.lp-offline::before { color: #fff; }
.lp-phone { max-width: 32rem; padding-inline: 1.25rem; }
.lp-me { border-bottom: 1px solid var(--lp-line); margin-bottom: 1rem; }
.lp-form { flex: none; margin: auto 0; padding: 2rem 1.5rem; border: 1.5px solid var(--lp-ink); border-radius: 1.5rem; background: #fff; box-shadow: 5px 6px 0 #e3d9ee; }
.lp-phone:has(> .lp-form) { justify-content: center; padding-top: max(1.5rem, env(safe-area-inset-top)); padding-bottom: max(1.5rem, env(safe-area-inset-bottom)); }
.lp-form__logo { font-size: 2.4rem; letter-spacing: -.06em; }
.lp-form__logo::before { content: '⚄'; display: block; margin: 0 auto .6rem; width: 3.5rem; height: 3.5rem; line-height: 3.15rem; border: 2px solid var(--lp-ink); border-radius: 1rem; background: #e5d9f6; color: var(--lp-ink); box-shadow: 3px 3px 0 var(--lp-ink); transform: rotate(-9deg); font-family: sans-serif; }
.lp-form__label { margin-top: .3rem; font-size: 1.35rem; }
.lp-form__room { font-size: .9rem; line-height: 1.6; }
.lp-form__notice { background: #fff0dc; color: #79521d; }
.lp-form .lp-btn--xl { font-size: 1.05rem; padding-inline: .8rem; }
.lp-form .lp-btn--ghost { border: 0; background: transparent; color: var(--lp-mute); font-size: .9rem; }
.lp-input { min-width: 0; border: 1.5px solid #c9bbd8; background: #fcf9ff; border-radius: .85rem; font-size: 1.1rem; min-height: 54px; }
.lp-input--code { font-size: 1.9rem; }
.lp-input::placeholder { color: #94869f; }
.lp-wait { padding-block: 2rem; }
.lp-wait .lp-avatar--xl { border: 2px solid var(--lp-ink); border-radius: 1.5rem; box-shadow: 4px 5px 0 var(--lp-ink); transform: rotate(-5deg); margin-bottom: 1rem; }
.lp-wait__count { padding: .5rem 1rem; background: #e9efda; border-radius: 2rem; }
@media (min-width: 1800px) {
  .lp-lobby { min-height: calc(100dvh - 10rem); }
}
@media (max-width: 860px), (orientation: portrait) {
  .lp-html--host { font-size: 16px; }
  .lp-lobby { grid-template-columns: 1fr; gap: 2.5rem; padding-top: 1rem; }
  .lp-lobby__join { width: 100%; max-width: 19rem; }
  .lp-lobby__main { max-width: 40rem; width: 100%; margin: auto; }
  .lp-lobby__title { font-size: 2.3rem; }
  .lp-top { flex-wrap: wrap; gap: .65rem; padding: .9rem 1rem; }
  .lp-top__title { font-size: .95rem; }
  .lp-top__tools { margin-left: auto; }
  .lp-host .lp-stage { padding-inline: 1.1rem; }
  .lp-top__join { margin-left: 0; }
  .lp-endbar { padding-inline: 1rem; }
}
@media (max-width: 480px) {
  .lp-top__brand { font-size: 1.4rem; }
  .lp-top__title { flex: 1; }
  .lp-top__tools { gap: .4rem; }
  .lp-lobby__title { font-size: 2rem; }
  .lp-lobby__go { align-items: stretch; flex-direction: column; gap: 1rem; text-align: center; }
  .lp-lobby__go .lp-btn { width: 100%; font-size: 1.15rem; }
  .lp-panel { padding: 3.8rem 1rem 1.3rem; gap: 1.5rem; }
  .lp-panel__qr { max-width: 15rem; margin: auto; }
  .lp-panel__actions > * { flex: 1; }
  .lp-phone { padding-inline: 1rem; }
  .lp-form { padding-inline: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .lp-body *,
  .lp-body *::before,
  .lp-body *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
