/* Państwa-Miasta — zeszyt w kratkę (2026-11-27). Najpierw telefon (320–430 px), potem tablet i komputer. */

/* nagłówek strony przewija się razem ze stroną — przyklejony zostaje pasek gry */
body[data-page="panstwa-miasta"] .site-header { position: relative; }

.pm-shell { padding: 0 0 2rem; }
.pm-shell .container { padding: 0; }

.pm-app {
  --paper: #fdfaf1;
  --paper-2: #f6f0de;
  --grid: rgba(64, 110, 196, 0.13);
  --margin: rgba(224, 70, 60, 0.5);
  --ink: #1f3b8f;
  --ink-2: #3d58ad;
  --pencil: #26262f;
  --muted: #6a6e80;
  --red: #d8402f;
  --hl: #ffe04d;
  --ok: #2c9a58;
  --okbg: #c9f2d6;
  --hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;
  --ui: "Nunito", "Outfit", system-ui, sans-serif;
  --bar-h: 56px;
  position: relative;
  min-height: calc(100svh - 64px);
  color: var(--pencil);
  font-family: var(--ui);
  font-size: 1rem;
  line-height: 1.45;
  background-color: var(--paper);
  background-image:
    linear-gradient(90deg, transparent 17px, var(--margin) 17px, var(--margin) 19px, transparent 19px),
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 100% 100%, 24px 24px, 24px 24px;
  background-attachment: local;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  -webkit-tap-highlight-color: transparent;
}
.pm-app *, .pm-app *::before, .pm-app *::after { box-sizing: border-box; }
.pm-app :focus-visible { outline: 3px solid var(--ink-2); outline-offset: 2px; }
.pm-app button { font: inherit; color: inherit; }
.pm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pm-muted { color: var(--muted); font-size: 0.92rem; margin: 0.3rem 0; }
.pm-hand { font-family: var(--hand); font-size: 1.6em; line-height: 1; color: var(--ink); }

/* pełny ekran: prawdziwy (Fullscreen API) i zastępczy (iPhone) */
.pm-app:fullscreen,
.pm-pseudo-fs .pm-app {
  position: fixed;
  inset: 0;
  z-index: 1000;
  min-height: 0;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  margin: 0;
  border-radius: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 env(safe-area-inset-right) 0 env(safe-area-inset-left);
}
/* wcięcie (notch) w pasku: sticky przykleja się do krawędzi przewijania, więc odstęp musi być w samym pasku */
.pm-app:fullscreen .pm-top,
.pm-pseudo-fs .pm-app .pm-top { padding-top: env(safe-area-inset-top); }
.pm-app:-webkit-full-screen { position: fixed; inset: 0; width: 100%; height: 100%; overflow-y: auto; }
.pm-pseudo-fs, .pm-pseudo-fs body { overflow: hidden; }

/* ───────── górny pasek ───────── */
.pm-top {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(253, 250, 241, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 2px dashed rgba(38, 38, 47, 0.25);
}
.pm-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: var(--bar-h);
  padding: 6px 10px 6px 26px;
}
.pm-bar__left, .pm-bar__right { display: flex; align-items: center; gap: 6px; min-width: 0; }
.pm-bar__title { display: flex; flex-direction: column; min-width: 0; line-height: 1.1; }
.pm-bar__game { font-family: var(--hand); font-weight: 700; font-size: 1.55rem; color: var(--ink); white-space: nowrap; }
.pm-bar__code { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.pm-net { font-size: 0.8rem; font-weight: 700; color: var(--red); padding: 2px 8px; border: 1.5px solid currentColor; border-radius: 99px; }

.pm-icon-btn {
  position: relative;
  min-width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 2px solid var(--pencil);
  border-radius: 12px;
  background: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 2px 2px 0 var(--pencil);
  touch-action: manipulation;
}
.pm-icon-btn:active { transform: translate(1px, 1px); box-shadow: 1px 1px 0 var(--pencil); }
.pm-icon-btn.is-small { min-width: 44px; height: 44px; font-size: 1rem; box-shadow: none; border-width: 1.5px; }
.pm-badge {
  position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 99px; background: var(--red); color: #fff; font-size: 0.72rem; font-weight: 800; display: grid; place-items: center;
}

.pm-main { flex: 1; display: flex; flex-direction: column; padding: 14px 12px 0 26px; }
.pm-screen { flex: 1; display: flex; flex-direction: column; gap: 14px; animation: pm-in 0.28s ease both; }
@keyframes pm-in { from { opacity: 0; transform: translateY(8px); } }

/* ───────── przyciski i pola ───────── */
.pm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;
  padding: 0 18px;
  border: 2.5px solid var(--pencil);
  border-radius: 14px;
  background: #fff;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.1;
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--pencil);
  transition: transform 0.08s, box-shadow 0.08s, background-color 0.2s;
  touch-action: manipulation;
  text-align: center;
  user-select: none;
}
.pm-btn:active:not(:disabled) { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--pencil); }
.pm-btn:disabled { opacity: 0.45; cursor: not-allowed; box-shadow: none; }
.pm-btn.is-primary { background: var(--hl); }
.pm-btn.is-ink { background: var(--ink); color: #fff; }
.pm-btn.is-ghost { background: transparent; box-shadow: none; border-style: dashed; border-width: 2px; }
.pm-btn.is-on { background: var(--okbg); }
.pm-btn.is-big { min-height: 58px; font-size: 1.15rem; width: 100%; border-radius: 16px; }
.pm-btn.is-small { min-height: 44px; padding: 0 12px; font-size: 0.9rem; box-shadow: 2px 2px 0 var(--pencil); }
.pm-link { background: none; border: 0; padding: 4px 0; color: var(--ink); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 44px; }

.pm-input {
  width: 100%;
  min-height: 50px;
  padding: 8px 14px;
  border: 2px solid var(--pencil);
  border-radius: 12px;
  background: #fff;
  font: 600 1.05rem var(--ui);
  color: var(--pencil);
}
.pm-input.is-small { min-height: 44px; font-size: 1rem; }
.pm-input.is-hand { font: 700 1.7rem/1 var(--hand); color: var(--ink); padding-top: 6px; }
.pm-input.is-code { width: 8.6ch; flex: 0 0 auto; text-transform: uppercase; letter-spacing: 0.22em; font: 700 1.35rem var(--ui); text-align: center; padding: 6px 4px; }
.pm-input::placeholder { color: #a5a8b6; letter-spacing: normal; }

.pm-label { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-weight: 800; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.pm-row { display: flex; gap: 10px; align-items: center; }
.pm-row > .pm-input { flex: 1; min-width: 0; }
.pm-row--wrap { flex-wrap: wrap; }
.pm-row--end { justify-content: flex-end; }
.pm-err { color: var(--red); font-weight: 700; min-height: 1.2em; margin: 4px 0; }

.pm-card {
  background: rgba(255, 255, 255, 0.82);
  border: 2px solid var(--pencil);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 4px 4px 0 rgba(38, 38, 47, 0.9);
}
.pm-card__title { font-family: var(--hand); font-weight: 700; font-size: 1.75rem; line-height: 1; color: var(--ink); margin: 0 0 10px; }
.pm-tag { font-size: 0.72rem; font-weight: 800; padding: 2px 8px; border-radius: 99px; background: var(--paper-2); border: 1.5px solid rgba(38, 38, 47, 0.3); white-space: nowrap; }
.pm-tag.is-host { background: #fff1b3; }
.pm-tag.is-off { color: var(--red); }

.pm-av {
  --av: #ffe04d;
  flex: 0 0 auto;
  width: 38px; height: 38px;
  display: inline-grid; place-items: center;
  border-radius: 50%;
  background: var(--av);
  border: 2px solid var(--pencil);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--pencil);
}
.pm-av.is-xs { width: 26px; height: 26px; font-size: 0.78rem; border-width: 1.5px; }
.pm-av.is-lg { width: 58px; height: 58px; font-size: 1.6rem; border-width: 3px; }
.pm-av.is-empty { background: transparent; border-style: dashed; color: var(--muted); }

/* ───────── start ───────── */
.pm-start { gap: 18px; padding-bottom: 24px; }
.pm-hero { text-align: center; padding: 10px 4px 0; }
.pm-logo { margin: 0; font-family: var(--hand); font-weight: 700; line-height: 0.9; font-size: clamp(3.1rem, 15vw, 5.4rem); color: var(--ink); display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 0 0.12em; }
.pm-logo__a { transform: rotate(-3deg); display: inline-block; }
.pm-logo__b { transform: rotate(2deg); display: inline-block; color: var(--red); background: linear-gradient(transparent 58%, rgba(255, 224, 77, 0.85) 58%, rgba(255, 224, 77, 0.85) 88%, transparent 88%); padding: 0 0.08em; }
.pm-logo__dash { color: var(--pencil); }
.pm-hero__lead { margin: 10px auto 8px; max-width: 34ch; font-size: 1.02rem; }
.pm-hero__facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.pm-hero__facts li { font-weight: 800; font-size: 0.85rem; padding: 3px 10px; border: 1.5px solid var(--pencil); border-radius: 99px; background: #fff; }
.pm-start__card { display: flex; flex-direction: column; gap: 12px; }
.pm-start__actions { display: flex; flex-direction: column; gap: 14px; }
.pm-join { display: flex; flex-direction: column; gap: 6px; }
.pm-join .pm-row { justify-content: center; }
.pm-join .pm-btn { flex: 1; }
.pm-join__or { text-align: center; color: var(--muted); font-weight: 700; font-size: 0.9rem; }
.pm-who p { margin: 0 0 8px; }
.pm-who .pm-hand { font-size: 2rem; }
.pm-invited { margin: 0; font-family: var(--hand); font-size: 1.6rem; color: var(--red); text-align: center; }
.pm-start__new { align-self: center; }
.pm-howto { padding: 4px 2px; }
.pm-steps { margin: 0; padding-left: 1.3rem; display: grid; gap: 8px; }
.pm-steps b { color: var(--ink); }

.pm-loading { flex: 1; display: grid; place-items: center; align-content: center; gap: 14px; min-height: 50vh; font-weight: 700; color: var(--muted); }
.pm-spinner { width: 44px; height: 44px; border: 4px solid rgba(31, 59, 143, 0.2); border-top-color: var(--ink); border-radius: 50%; animation: pm-spin 0.8s linear infinite; }
@keyframes pm-spin { to { transform: rotate(360deg); } }

/* zaproszenia do gry */
.pm-invites { position: sticky; top: calc(var(--bar-h) + 2px); z-index: 25; display: grid; gap: 6px; padding: 0 10px 0 26px; }
.pm-invites:empty { display: none; }
.pm-invite { margin-top: 8px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; background: #fff1b3; border: 2px solid var(--pencil); border-radius: 14px; box-shadow: 3px 3px 0 var(--pencil); animation: pm-in 0.3s ease both; }

/* ───────── poczekalnia ───────── */
.pm-lobby { padding-bottom: 0; }
.pm-lobby__head { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.pm-code { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.pm-code__label { font-weight: 800; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.pm-code__value { display: flex; gap: 4px; padding: 0; border: 0; background: none; cursor: pointer; }
.pm-code__value span {
  width: 44px; height: 54px; display: grid; place-items: center;
  font: 700 2.3rem/1 var(--hand); color: var(--ink);
  background: #fff; border: 2px solid var(--pencil); border-radius: 10px;
}
.pm-code__value span:nth-child(odd) { transform: rotate(-2deg); }
.pm-code__value span:nth-child(even) { transform: rotate(2deg); }
.pm-lobby__grid { display: grid; gap: 14px; }
.pm-invlink { width: 100%; text-align: left; display: grid; gap: 10px; }
.pm-invlink .pm-card__title { margin: 0; }
.pm-invlink .pm-muted { margin: 0; }
.pm-invlink__url { font: 700 0.95rem var(--ui); color: var(--ink); background: #fffbe6; min-width: 0; text-overflow: ellipsis; }
.pm-invlink__btns { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.pm-invlink__btns .pm-btn { text-decoration: none; color: var(--pencil); }
.pm-invlink__btns .pm-btn.is-wa { background: #b8f0c8; }
.pm-invlink__btns .pm-btn.is-primary { grid-column: 1 / -1; }
.pm-plist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pm-plist__item { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 4px 6px; border-bottom: 1.5px dashed rgba(38, 38, 47, 0.18); flex-wrap: wrap; }
.pm-plist__item:last-child { border-bottom: 0; }
.pm-plist__item.is-off { opacity: 0.55; }
.pm-plist__item.is-empty { opacity: 0.45; }
.pm-plist__name { flex: 1 1 auto; min-width: 5ch; font-weight: 800; font-size: 1.05rem; overflow-wrap: anywhere; }
.pm-plist__item .pm-icon-btn { margin-left: auto; }
.pm-field-group { margin-top: 16px; }
.pm-big { font-family: var(--hand); font-size: 1.7rem; color: var(--ink); text-transform: none; letter-spacing: 0; line-height: 1; }

.pm-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.pm-chip {
  min-height: 40px; padding: 0 13px; border-radius: 99px;
  border: 2px solid var(--pencil); background: #fff; font-weight: 700; font-size: 0.95rem; cursor: pointer; touch-action: manipulation;
}
.pm-chip.is-on { background: var(--hl); box-shadow: 2px 2px 0 var(--pencil); }
.pm-chip:disabled { cursor: default; opacity: 1; }
.pm-chip:disabled:not(.is-on) { display: none; }
.pm-addcat { margin-top: 10px; }

.pm-range { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; --p: 50%; }
.pm-range::-webkit-slider-runnable-track { height: 10px; border-radius: 99px; border: 2px solid var(--pencil); background: linear-gradient(90deg, var(--hl) var(--p), #fff var(--p)); }
.pm-range::-moz-range-track { height: 6px; border-radius: 99px; border: 2px solid var(--pencil); background: linear-gradient(90deg, var(--hl) var(--p), #fff var(--p)); }
.pm-range::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -12px; border-radius: 50%; background: var(--ink); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--pencil); }
.pm-range::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--pencil); }
.pm-range:disabled { opacity: 0.75; }
.pm-scale { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--muted); font-weight: 700; }

.pm-seg { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.pm-seg__btn { min-height: 46px; border: 2px solid var(--pencil); border-radius: 12px; background: #fff; font: 700 1.6rem/1 var(--hand); color: var(--ink); cursor: pointer; }
.pm-seg__btn.is-on { background: var(--hl); box-shadow: 2px 2px 0 var(--pencil); }
.pm-seg__btn:disabled { cursor: default; }
.pm-seg__btn:disabled:not(.is-on) { opacity: 0.4; }

.pm-modes { display: grid; gap: 8px; }
.pm-mode { display: flex; flex-direction: column; gap: 2px; text-align: left; padding: 10px 12px; border: 2px solid var(--pencil); border-radius: 14px; background: #fff; cursor: pointer; }
.pm-mode strong { font-size: 1rem; }
.pm-mode span { font-size: 0.87rem; color: var(--muted); }
.pm-mode.is-on { background: #fff6c7; box-shadow: 3px 3px 0 var(--pencil); }
.pm-mode.is-on strong::before { content: "✓ "; color: var(--ok); }
.pm-mode:disabled { cursor: default; }
.pm-mode:disabled:not(.is-on) { display: none; }

.pm-actions {
  position: sticky;
  bottom: 0;
  z-index: 10;
  margin: 4px -12px 0 -26px;
  padding: 10px 12px calc(12px + env(safe-area-inset-bottom)) 26px;
  background: linear-gradient(transparent, var(--paper) 18px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pm-actions-wrap { margin-top: auto; }
.pm-actions .pm-row > .pm-btn { flex: 1; }
.pm-actions__hint { margin: 0; text-align: center; font-weight: 700; color: var(--muted); font-size: 0.92rem; }
.pm-actions__note { margin: 0; text-align: center; font-size: 0.85rem; color: var(--muted); }
.pm-dots::after { content: "…"; display: inline-block; width: 1.2em; text-align: left; animation: pm-dots 1.2s steps(4, end) infinite; overflow: hidden; vertical-align: bottom; }
@keyframes pm-dots { from { width: 0; } to { width: 1.2em; } }

/* ───────── runda ───────── */
.pm-top.has-sub .pm-bar { min-height: 46px; padding-top: 2px; padding-bottom: 2px; }
.pm-top.has-sub .pm-bar .pm-icon-btn { height: 38px; min-width: 38px; }
.pm-sub:empty { display: none; }
.pm-playbar {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 10px;
  padding: 4px 10px 10px 26px;
}
.pm-playbar__info { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.pm-playbar__round { font-weight: 800; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.pm-timer { display: flex; align-items: center; gap: 8px; }
.pm-timer__track { flex: 1; height: 12px; border: 2px solid var(--pencil); border-radius: 99px; overflow: hidden; background: #fff; }
.pm-timer__fill { display: block; height: 100%; background: var(--ink); transform-origin: left center; transition: transform 0.25s linear; }
.pm-timer__sec { font: 800 1.05rem var(--ui); min-width: 3.4ch; text-align: right; font-variant-numeric: tabular-nums; }
.pm-timer.is-low .pm-timer__fill { background: var(--red); }
.pm-timer.is-low .pm-timer__sec { color: var(--red); animation: pm-pulse 0.9s ease-in-out infinite; }
@keyframes pm-pulse { 50% { transform: scale(1.18); } }
.pm-play__act { min-height: 50px; padding: 0 14px; font-size: 1.05rem; }
.pm-play__act.is-stop { background: var(--red); color: #fff; animation: pm-wiggle 1.6s ease-in-out infinite; }
.pm-play__act.is-dim { background: #eee; color: #777; }
@keyframes pm-wiggle { 0%, 80%, 100% { transform: rotate(0); } 85% { transform: rotate(-4deg); } 90% { transform: rotate(4deg); } 95% { transform: rotate(-2deg); } }

.pm-stamp {
  width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%;
  border: 3px dashed #b9bccb; color: #b9bccb; transform: rotate(-8deg); background: rgba(255, 255, 255, 0.6);
}
.pm-stamp__l { font: 700 2.5rem/1 var(--hand); }
.pm-stamp.is-set { border: 3px solid var(--red); color: var(--red); box-shadow: inset 0 0 0 3px rgba(216, 64, 47, 0.18); animation: pm-stamp 0.45s cubic-bezier(.2, 1.6, .4, 1) both; }
.pm-stamp.is-sm { width: 46px; height: 46px; flex: 0 0 auto; }
.pm-stamp.is-sm .pm-stamp__l { font-size: 2.1rem; }
@keyframes pm-stamp { from { transform: rotate(-30deg) scale(2.2); opacity: 0; } to { transform: rotate(-8deg) scale(1); opacity: 1; } }

.pm-stopban {
  position: absolute; inset: 0; display: none; align-items: center; justify-content: center; padding: 6px 12px;
  background: var(--red); color: #fff; font: 800 1.15rem var(--ui); text-align: center; letter-spacing: 0.02em;
}
.pm-playbar.is-stopped .pm-stopban { display: flex; animation: pm-in 0.2s ease both; }

.pm-draw { display: grid; justify-items: center; gap: 6px; padding: 24px 0 10px; transition: opacity 0.4s, transform 0.4s; }
.pm-draw__title { margin: 0; font: 700 1.9rem/1 var(--hand); color: var(--ink); }
.pm-draw__hint { margin: 0; font-weight: 800; color: var(--muted); }
.pm-reel { width: min(52vw, 220px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; border: 4px dashed var(--pencil); background: #fff; }
.pm-reel__l { font: 700 clamp(6rem, 34vw, 9.5rem)/1 var(--hand); color: var(--ink); }
.pm-draw.is-landed .pm-reel { border: 6px solid var(--red); animation: pm-stamp 0.5s cubic-bezier(.2, 1.6, .4, 1) both; }
.pm-draw.is-landed .pm-reel__l { color: var(--red); }
.pm-draw.is-landed .pm-draw__hint { color: var(--red); }
.pm-draw.is-gone { opacity: 0; transform: scale(0.85); }

.pm-sheetpaper { display: grid; gap: 4px; }
.pm-ans { position: relative; padding: 6px 0 2px; }
.pm-ans__label { display: flex; align-items: baseline; gap: 6px; font-weight: 800; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.pm-ans__no { color: var(--red); font-family: var(--hand); font-size: 1.3rem; letter-spacing: 0; text-transform: none; }
.pm-ans__input {
  width: 100%; min-height: 50px; padding: 2px 2rem 0 4px;
  border: 0; border-bottom: 2.5px solid var(--ink-2); border-radius: 0;
  background: transparent; font: 700 1.95rem/1.1 var(--hand); color: var(--ink);
}
/* pole z fokusem nie chowa się pod przyklejonym paskiem rundy (klawiatura telefonu przewija stronę) */
.pm-ans__input { scroll-margin-top: 140px; scroll-margin-bottom: 24px; }
.pm-ans__input:focus { outline: none; border-bottom-color: var(--ink); background: linear-gradient(transparent 60%, rgba(255, 224, 77, 0.45) 60%); }
.pm-ans__input:disabled { color: var(--ink); opacity: 1; -webkit-text-fill-color: var(--ink); }
.pm-ans.is-filled::after { content: "✓"; position: absolute; right: 6px; bottom: 12px; color: var(--ok); font-weight: 800; font-size: 1.1rem; }
.pm-ans.is-bad .pm-ans__input { border-bottom-color: var(--red); text-decoration: underline wavy var(--red); text-underline-offset: 6px; }
.pm-ans__hint { display: block; min-height: 0; color: var(--red); font-weight: 700; font-size: 0.82rem; }
.pm-ans__hint:empty { display: none; }
.pm-play__status { padding: 8px 0 24px; }
.pm-mini { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pm-mini__p { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px 3px 3px; border: 1.5px solid rgba(38, 38, 47, 0.35); border-radius: 99px; background: #fff; font-weight: 700; font-size: 0.85rem; }
.pm-mini__p.is-done { background: var(--okbg); border-color: var(--ok); }
.pm-mini__p.is-off { opacity: 0.5; }
.pm-closed { position: sticky; bottom: 12px; margin: 0 auto 16px; padding: 10px 18px; text-align: center; background: var(--pencil); color: #fff; border-radius: 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); animation: pm-in 0.25s ease both; }
.pm-closed__t { margin: 0; font: 700 1.8rem/1 var(--hand); color: var(--hl); }
.pm-closed .pm-dots { margin: 2px 0 0; font-weight: 700; }
.pm-play.is-closed .pm-sheetpaper { opacity: 0.6; }

/* ───────── sprawdzanie ───────── */
.pm-subhead { display: flex; align-items: center; gap: 12px; padding: 4px 12px 10px 26px; }
.pm-subhead > div { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.pm-subhead .pm-muted { margin: 0; font-size: 0.85rem; }
.pm-legend { border: 2px dashed rgba(38, 38, 47, 0.35); border-radius: 14px; padding: 8px 12px; background: rgba(255, 255, 255, 0.6); }
.pm-legend summary { font-weight: 800; cursor: pointer; min-height: 32px; display: flex; align-items: center; }
.pm-legend ul { margin: 6px 0 2px; padding-left: 1.1rem; display: grid; gap: 3px; font-size: 0.92rem; }
.pm-legend b { display: inline-block; min-width: 2ch; color: var(--ink); }
.pm-sums { display: flex; gap: 6px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: none; }
.pm-sums::-webkit-scrollbar { display: none; }
.pm-sum { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 3px; border: 2px solid var(--pencil); border-radius: 99px; background: #fff; font-weight: 700; }
.pm-sum b { font-family: var(--hand); font-size: 1.5rem; line-height: 1; color: var(--ink); }
.pm-board { display: grid; gap: 14px; }
.pm-cat { padding: 12px 12px 6px; }
.pm-cat__title { margin: 0 0 4px; font: 700 1.7rem/1 var(--hand); color: var(--red); }
.pm-rows { list-style: none; margin: 0; padding: 0; }
.pm-row-ans { padding: 8px 0; border-top: 1.5px dashed rgba(38, 38, 47, 0.18); }
.pm-row-ans__top { display: flex; align-items: center; gap: 7px; }
.pm-row-ans__name { flex: 1; min-width: 0; font-weight: 800; font-size: 0.9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pm-pts { font: 700 1.55rem/1 var(--hand); color: var(--ink); padding: 0 6px; background: linear-gradient(transparent 45%, rgba(255, 224, 77, 0.9) 45%); }
.pm-pts.is-zero { color: var(--muted); background: none; }
.pm-row-ans__text { margin: 2px 0 0 33px; font: 700 1.75rem/1.1 var(--hand); color: var(--ink); overflow-wrap: anywhere; }
.pm-row-ans.is-mine .pm-row-ans__text { color: var(--pencil); }
.pm-row-ans.is-empty .pm-row-ans__text, .pm-row-ans.is-letter .pm-row-ans__text { color: var(--muted); }
.pm-row-ans.is-letter .pm-row-ans__text, .pm-row-ans.is-rejected .pm-row-ans__text { text-decoration: line-through 2px var(--red); }
.pm-row-ans__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 4px 0 0 33px; }
.pm-row-ans__st { font-size: 0.8rem; font-weight: 800; color: var(--red); }
.pm-row-ans.is-half .pm-row-ans__st { color: #9a6a00; }
.pm-row-ans.is-empty .pm-row-ans__st { color: var(--muted); }
.pm-row-ans__votes { font-size: 0.85rem; font-weight: 700; color: var(--pencil); }
.pm-vote { margin-left: auto; min-height: 40px; padding: 0 12px; border-radius: 99px; border: 2px solid var(--pencil); background: #fff; font-weight: 800; font-size: 0.88rem; cursor: pointer; touch-action: manipulation; }
.pm-vote.is-on { background: #ffd4cc; border-color: var(--red); color: #8f1f12; }
.pm-vote:active { transform: scale(0.96); }

/* ───────── wyniki ───────── */
.pm-rank { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pm-rank__item { display: flex; align-items: center; gap: 9px; }
.pm-rank__item.is-me .pm-rank__name { text-decoration: underline 2px var(--hl); text-underline-offset: 4px; }
.pm-rank__place { width: 2.2ch; font: 700 1.6rem/1 var(--hand); color: var(--red); text-align: right; }
.pm-rank__main { flex: 1; min-width: 0; display: grid; gap: 4px; }
.pm-rank__line { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.pm-rank__name { font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pm-rank__got { font-weight: 800; color: var(--ok); font-size: 0.9rem; white-space: nowrap; }
.pm-rank__bar { height: 12px; border: 2px solid var(--pencil); border-radius: 99px; overflow: hidden; background: #fff; }
.pm-rank__fill { display: block; height: 100%; width: var(--w, 0%); background: var(--av, var(--hl)); transition: width 0.9s cubic-bezier(.2, .8, .2, 1); }
.pm-rank__total { min-width: 3ch; text-align: right; font: 700 2rem/1 var(--hand); color: var(--ink); }

/* ───────── podsumowanie ───────── */
.pm-final { position: relative; }
.pm-final__head { text-align: center; padding-top: 8px; }
.pm-final__kicker { margin: 0; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-size: 0.85rem; }
.pm-final__title { margin: 2px 0 0; font: 700 clamp(2.6rem, 12vw, 4.2rem)/1 var(--hand); color: var(--red); transform: rotate(-2deg); }
.pm-podium { display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 8px; padding: 8px 0 0; }
.pm-podium__slot { display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; min-width: 0; }
.pm-podium__name { font-weight: 800; font-size: 0.92rem; max-width: 100%; overflow-wrap: anywhere; line-height: 1.15; }
.pm-podium__pts { font-size: 0.8rem; color: var(--muted); font-weight: 700; }
.pm-podium__block { width: 100%; display: grid; place-items: center; border: 2.5px solid var(--pencil); border-bottom: 0; border-radius: 12px 12px 0 0; background: #fff; font: 700 2.2rem/1 var(--hand); color: var(--ink); }
.pm-podium__slot.is-p1 .pm-podium__block { height: 110px; background: var(--hl); }
.pm-podium__slot.is-p2 .pm-podium__block { height: 80px; background: #e6e9f3; }
.pm-podium__slot.is-p3 .pm-podium__block { height: 58px; background: #f6d9bd; }
.pm-podium__slot.is-p1 .pm-av { animation: pm-bounce 1.6s ease-in-out infinite; }
@keyframes pm-bounce { 50% { transform: translateY(-6px) rotate(-4deg); } }
.pm-table-wrap { overflow-x: auto; padding: 8px; }
.pm-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.pm-table th, .pm-table td { padding: 8px 6px; border-bottom: 1.5px dashed rgba(38, 38, 47, 0.2); text-align: center; white-space: nowrap; }
.pm-table thead th { font: 700 1.5rem/1 var(--hand); color: var(--red); }
.pm-table thead th:first-child, .pm-table tbody th { text-align: left; font: 800 0.95rem var(--ui); color: var(--pencil); }
.pm-table__place { color: var(--red); margin-right: 6px; }
.pm-table__total { font: 700 1.5rem/1 var(--hand); color: var(--ink); }
.pm-table tr.is-me th, .pm-table tr.is-me td { background: rgba(255, 224, 77, 0.35); }
.pm-confetti { position: absolute; inset: 0 -12px auto -26px; height: 70vh; pointer-events: none; overflow: hidden; z-index: 5; }
.pm-confetti i { position: absolute; top: -20px; left: var(--x); width: 9px; height: 14px; background: var(--c); border: 1.5px solid var(--pencil); border-radius: 2px; animation: pm-fall var(--t) cubic-bezier(.3, .6, .6, 1) var(--d) 2 both; transform: rotate(var(--r)); }
@keyframes pm-fall { to { transform: translateY(75vh) rotate(calc(var(--r) + 540deg)); opacity: 0.2; } }

/* ───────── arkusz, komunikaty ───────── */
.pm-sheet { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: flex-end; justify-content: center; background: rgba(20, 22, 35, 0); transition: background 0.2s; }
.pm-sheet.is-in { background: rgba(20, 22, 35, 0.45); }
.pm-sheet__panel {
  width: 100%; max-width: 520px; max-height: 88vh; max-height: 88dvh; overflow-y: auto;
  background: var(--paper); border: 2.5px solid var(--pencil); border-bottom: 0; border-radius: 22px 22px 0 0;
  padding: 12px 16px calc(18px + env(safe-area-inset-bottom));
  transform: translateY(100%); transition: transform 0.22s ease;
  font-family: var(--ui); color: var(--pencil);
}
.pm-sheet.is-in .pm-sheet__panel { transform: none; }
.pm-sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.pm-sheet__title { margin: 0; font: 700 2rem/1 var(--hand); color: var(--ink); }
.pm-sheet__text { margin: 0 0 16px; }
.pm-sheet__h { margin: 16px 0 6px; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.pm-sheet__foot { margin-top: 16px; }
.pm-form { display: grid; gap: 4px; }
.pm-form .pm-label { margin-top: 8px; }
.pm-form .pm-btn.is-big { margin-top: 8px; }
.pm-friend { display: flex; align-items: center; gap: 8px; min-height: 50px; border-bottom: 1.5px dashed rgba(38, 38, 47, 0.18); }
.pm-friend__name { flex: 1; min-width: 0; font-weight: 800; overflow-wrap: anywhere; }
.pm-dot { width: 10px; height: 10px; border-radius: 50%; background: #c3c6d1; flex: 0 0 auto; }
.pm-friend.is-on .pm-dot { background: var(--ok); box-shadow: 0 0 0 3px rgba(44, 154, 88, 0.2); }

.pm-toasts { position: fixed; z-index: 3000; left: 50%; top: calc(70px + env(safe-area-inset-top)); transform: translateX(-50%); display: grid; gap: 8px; width: min(92vw, 420px); pointer-events: none; }
.pm-toast { padding: 10px 14px; border: 2px solid var(--pencil); border-radius: 14px; background: #fff; color: var(--pencil); font: 700 0.95rem var(--ui); box-shadow: 3px 3px 0 var(--pencil); opacity: 0; transform: translateY(-8px); transition: opacity 0.2s, transform 0.2s; }
.pm-toast.is-in { opacity: 1; transform: none; }
.pm-toast.is-ok { background: var(--okbg); }
.pm-toast.is-bad { background: #ffe0da; }

/* ───────── czat i rozmowa głosowa ───────── */
.pm-app [hidden] { display: none !important; }
.pm-ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.pm-btn .pm-ico { width: 19px; height: 19px; vertical-align: -4px; }
/* w pokoju pasek mieści 🎙 i 💬 — na telefonie zamiast nazwy gry jest kod pokoju */
.pm-bar__title.is-room .pm-bar__game { display: none; }
.pm-bar__title.is-room .pm-bar__code b { display: block; font: 700 1.45rem/1 var(--hand); color: var(--ink); letter-spacing: 0.05em; }
.pm-bar__codelbl { font-size: 0.68rem; }

.pm-mic { --lvl: 0; transition: background 0.15s, color 0.15s; }
.pm-mic__ico { display: grid; place-items: center; }
.pm-mic[data-st="live"] { background: var(--okbg); color: #17663a; }
.pm-mic[data-st="live"]::after {
  content: ""; position: absolute; inset: -6px; border-radius: 16px; border: 3px solid var(--ok); pointer-events: none;
  opacity: calc(var(--lvl) * 1.8); transform: scale(calc(0.92 + var(--lvl) * 0.14)); transition: opacity 0.12s, transform 0.12s;
}
.pm-mic[data-st="muted"], .pm-mic[data-st="paused"] { background: #ffe0da; color: var(--red); }
.pm-mic[data-st="paused"] { animation: pm-pulse 1.6s ease-in-out infinite; }
.pm-mic[data-st="listen"] { background: #e3ecff; color: var(--ink); }
.pm-mic[data-st="busy"] { animation: pm-pulse 1s ease-in-out infinite; }
@keyframes pm-pulse { 50% { opacity: 0.45; } }
.pm-badge.is-ok { background: var(--ok); }

.pm-comm-float { position: absolute; top: calc(100% + 6px); right: 10px; left: 26px; z-index: 2; display: grid; justify-items: end; gap: 6px; pointer-events: none; }
.pm-talk, .pm-preview, .pm-tapaudio {
  max-width: min(100%, 340px); padding: 6px 12px; border: 2px solid var(--pencil); border-radius: 14px;
  background: #fff; color: var(--pencil); box-shadow: 2px 2px 0 var(--pencil); font: 700 0.9rem/1.3 var(--ui);
}
.pm-talk { background: var(--okbg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pm-preview, .pm-tapaudio { pointer-events: auto; cursor: pointer; min-height: 44px; touch-action: manipulation; }
.pm-preview { text-align: left; border-left: 8px solid var(--ink-me, var(--hl)); overflow-wrap: anywhere; opacity: 0; transform: translateY(-6px); transition: opacity 0.2s, transform 0.2s; }
.pm-preview.is-in { opacity: 1; transform: none; }
.pm-tapaudio { background: var(--hl); }

.pm-commrow { display: grid; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 2px dashed rgba(38, 38, 47, 0.2); }
.pm-commrow__txt { margin: 0; font-weight: 700; font-size: 0.92rem; color: var(--muted); }
.pm-commrow .pm-row { flex-wrap: wrap; }
.pm-tag.is-voice { background: var(--okbg); }
.pm-btn.is-danger { background: #ffe0da; color: #a32718; }

/* wysokość względem arkusza (ten na iPhonie kurczy się nad klawiaturą — visualViewport w comm.js) */
.pm-sheet__panel.is-chat { display: flex; flex-direction: column; height: min(92%, 760px); max-height: none; overflow: hidden; }
.pm-voice-audio { display: none; }
.pm-sheet__panel.is-chat .pm-sheet__body { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 8px; }
.pm-vpanel { flex: 0 1 auto; max-height: 42%; overflow-y: auto; padding: 2px 12px 12px; border: 2px solid var(--pencil); border-radius: 14px; background: #fff; }
.pm-vpanel .pm-sheet__h { margin-top: 8px; }
.pm-vpanel__txt { margin: 4px 0 8px; font-weight: 700; }
.pm-vpanel__note { margin: 8px 0 0; font-size: 0.8rem; color: var(--muted); }
.pm-vpanel__join { width: 100%; }
.pm-vpanel__btns { margin-top: 10px; }
.pm-vpanel__btns .pm-btn, .pm-vpanel > .pm-btn { flex: 1; }
.pm-vpanel > .pm-btn { width: 100%; margin-top: 8px; }
.pm-vpeople { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pm-vperson { display: flex; align-items: center; gap: 6px; min-height: 40px; padding: 3px 10px 3px 3px; border: 1.5px solid rgba(38, 38, 47, 0.3); border-radius: 99px; background: var(--paper); font-weight: 700; font-size: 0.9rem; transition: box-shadow 0.12s; }
.pm-vperson__av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-me); border: 2px solid var(--pencil); font: 700 1.15rem/1 var(--hand); }
.pm-vperson__st { font-size: 0.78rem; color: var(--muted); }
.pm-vperson.is-talking { box-shadow: 0 0 0 3px var(--ok); }
.pm-vperson.is-talking .pm-vperson__av { animation: pm-talkpop 0.5s ease-in-out infinite alternate; }
@keyframes pm-talkpop { to { transform: scale(1.12); } }

.pm-chat__list { flex: 1 1 auto; min-height: 110px; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 3px; padding: 4px 2px; }
.pm-chat__empty { margin: auto; padding: 18px; text-align: center; color: var(--muted); }
.pm-msg { align-self: flex-start; max-width: 84%; margin-top: 7px; padding: 4px 10px 3px; background: #fff; border: 2px solid var(--pencil); border-left: 7px solid var(--ink-me); border-radius: 4px 14px 14px 14px; }
.pm-msg.is-cont { margin-top: 0; }
.pm-msg.is-me { align-self: flex-end; background: #fffbe0; border-left-width: 2px; border-right: 7px solid var(--ink-me); border-radius: 14px 4px 14px 14px; }
.pm-msg__name { display: block; font-size: 0.78rem; font-weight: 800; color: var(--muted); }
.pm-msg__text { margin: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.pm-msg__time { display: block; text-align: right; font-size: 0.68rem; color: var(--muted); }
.pm-chat__quick { flex: 0 0 auto; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 4px; }
.pm-chat__quick::-webkit-scrollbar { display: none; }
.pm-chip.is-quick { flex: 0 0 auto; min-height: 44px; white-space: nowrap; }
.pm-chip.is-quick:disabled { display: inline-block; opacity: 0.5; }
.pm-chat__form { flex: 0 0 auto; display: flex; gap: 8px; }
.pm-chat__input { flex: 1 1 auto; min-width: 0; }
.pm-chat__send { min-width: 50px; height: 50px; background: var(--hl); }

/* ───────── poniżej gry (SEO) ───────── */
.pm-below { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; padding: 16px 12px 0; }
.pm-rules { display: grid; gap: 14px; }

/* ───────── większe ekrany ───────── */
@media (min-width: 560px) {
  .pm-main { padding: 18px 20px 0 40px; }
  .pm-bar, .pm-playbar, .pm-subhead { padding-left: 40px; }
  .pm-invites { padding-left: 40px; padding-right: 20px; }
  .pm-actions { margin: 4px -20px 0 -40px; padding-left: 40px; padding-right: 20px; }
  .pm-app { background-image:
    linear-gradient(90deg, transparent 27px, var(--margin) 27px, var(--margin) 29px, transparent 29px),
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px); }
  .pm-start { max-width: 560px; width: 100%; margin: 0 auto; }
  .pm-actions .pm-row { justify-content: center; }
  .pm-actions .pm-row > .pm-btn { flex: 0 1 260px; }
  .pm-actions .pm-btn.is-big { max-width: 420px; margin: 0 auto; }
  .pm-code__value span { width: 52px; height: 62px; font-size: 2.7rem; }
  .pm-bar__title.is-room .pm-bar__game { display: inline; }
  .pm-bar__title.is-room .pm-bar__code b { display: inline; font: inherit; color: inherit; letter-spacing: inherit; }
  .pm-bar__codelbl { font-size: inherit; }
}

@media (min-width: 760px) {
  .pm-shell { padding: 18px 16px 2.5rem; }
  .pm-app { max-width: 1100px; margin: 0 auto; border-radius: 24px; border: 3px solid #0b0f1b; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); min-height: min(860px, calc(100svh - 110px)); }
  .pm-top { border-radius: 22px 22px 0 0; }
  .pm-modes { grid-template-columns: 1fr 1fr; }
  .pm-sheet { align-items: center; }
  .pm-sheet__panel { border-radius: 22px; border-bottom: 2.5px solid var(--pencil); max-height: 80vh; }
  .pm-review .pm-board { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); align-items: start; }
  .pm-sheetpaper { grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .pm-reel { width: 240px; }
}

@media (min-width: 960px) {
  .pm-lobby__grid { grid-template-columns: minmax(300px, 0.8fr) 1.2fr; align-items: start; }
  .pm-lobby__head { flex-direction: row; justify-content: space-between; text-align: left; }
  .pm-code { align-items: flex-start; }
  .pm-lobby__head .pm-invlink { flex: 1 1 auto; max-width: 640px; }
  .pm-results .pm-card, .pm-final .pm-table-wrap, .pm-final .pm-podium { max-width: 720px; width: 100%; margin-left: auto; margin-right: auto; }
}

/* telefon poziomo: mało wysokości */
@media (max-height: 500px) and (orientation: landscape) {
  .pm-app { --bar-h: 48px; }
  .pm-bar { min-height: 48px; }
  .pm-draw { padding: 8px 0; grid-auto-flow: column; align-items: center; gap: 18px; justify-content: center; }
  .pm-reel { width: 150px; }
  .pm-reel__l { font-size: 6rem; }
  .pm-sheetpaper { grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .pm-podium__slot.is-p1 .pm-podium__block { height: 70px; }
  .pm-podium__slot.is-p2 .pm-podium__block { height: 52px; }
  .pm-podium__slot.is-p3 .pm-podium__block { height: 40px; }
  .pm-vpanel { max-height: 38%; }
  .pm-chat__list { min-height: 70px; }
}

/* najwęższe telefony (320 px) */
@media (max-width: 359px) {
  .pm-main { padding-right: 8px; padding-left: 22px; }
  .pm-bar, .pm-playbar, .pm-subhead { padding-left: 22px; }
  .pm-actions { margin-left: -22px; margin-right: -8px; padding-left: 22px; padding-right: 8px; }
  .pm-code__value span { width: 38px; height: 48px; font-size: 2rem; }
  .pm-playbar { gap: 7px; }
  .pm-play__act { padding: 0 10px; font-size: 0.95rem; }
  .pm-stamp { width: 48px; height: 48px; }
  .pm-bar__game { font-size: 1.35rem; }
  .pm-bar { gap: 4px; padding-right: 6px; }
  .pm-bar__left, .pm-bar__right { gap: 4px; }
  .pm-bar .pm-icon-btn { min-width: 40px; height: 40px; }
}

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