:root {
  --bg: #0b0a10;
  --text: #f4f1fa;
  --muted: #a39cb5;
  --glass: rgba(22, 19, 32, 0.72);
  --glass-border: rgba(255, 255, 255, 0.09);
  --pink: #ff5c8a;
  --violet: #9b5cff;
  --gradient: linear-gradient(135deg, var(--pink), var(--violet));
  --glow: 0 0 0 6px color-mix(in srgb, var(--pink) 22%, transparent), 0 8px 24px rgba(255, 92, 138, 0.35);
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  --radius: 22px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }

/* The page itself must never move: iOS Safari scrolls (and rubber-bands) a body even with
   overflow: hidden, which drags the fixed top bar away from where taps land. touch-action: none
   stops that; only the map and the scrollable panels take gestures. Don't pin html/body with
   position: fixed / 100dvh instead: Safari 26 then lays the page out under its floating bottom
   toolbar, and everything anchored to the bottom ends up hidden behind it. */
html, body {
  margin: 0;
  width: 100%;
  max-width: 100vw;
  height: 100%;
  overscroll-behavior: none;
  touch-action: none;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.45 Inter, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

button { font: inherit; color: inherit; cursor: pointer; }

#map { position: fixed; inset: 0; }

/* The layer every floating control lives in. app.js (fitUi) keeps it exactly over the visible
   part of the screen (window.visualViewport), unscaled, so the top bar and bottom controls stay
   reachable even if mobile Safari zooms the page or lays it out under its toolbars. Its transform
   makes it the containing block of the position: fixed children, so they need no changes. */
#ui {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transform: scale(1);
  transform-origin: 0 0;
  /* nothing inside may ever make the page wider or taller than the screen */
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
#ui > :not(.topbar) { pointer-events: auto; }

/* scrollable panels pan vertically; everything else is a tap target, not a scroll handle */
.sheet, .panel, .gate { touch-action: pan-y; }
button, input, textarea, label { touch-action: manipulation; }

.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: var(--shadow);
}

/* --- brand ------------------------------------------------------------------------------- */

.brand-mark, .gate-mark {
  display: inline-block;
  background: var(--gradient);
  -webkit-mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill-rule='evenodd' d='M12 1.5c-4.4 0-8 3.4-8 7.8 0 5.9 8 13.2 8 13.2s8-7.3 8-13.2c0-4.4-3.6-7.8-8-7.8zm0 4.8a3 3 0 1 0 0 6 3 3 0 0 0 0-6z'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill-rule='evenodd' d='M12 1.5c-4.4 0-8 3.4-8 7.8 0 5.9 8 13.2 8 13.2s8-7.3 8-13.2c0-4.4-3.6-7.8-8-7.8zm0 4.8a3 3 0 1 0 0 6 3 3 0 0 0 0-6z'/></svg>") center / contain no-repeat;
}

.topbar {
  position: fixed;
  top: calc(14px + var(--safe-top));
  left: 14px;
  right: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  z-index: 10;
}
.topbar > * { pointer-events: auto; }
/* only the pills themselves take taps: the gaps between them belong to the map */
.topbar > .topbar-row { display: flex; gap: 8px; align-items: center; pointer-events: none; }
.topbar-row > * { pointer-events: auto; flex: none; }

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px 0 14px;
  border-radius: 999px;
}
.brand-mark { width: 20px; height: 20px; }
.brand-word { font-weight: 800; letter-spacing: -0.02em; font-size: 18px; }
.topbar-row .avatar { margin-left: auto; }

/* --- search -------------------------------------------------------------------------------- */

.topbar-row .search {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 460px;
  height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 6px 0 14px;
  border-radius: 999px;
  color: var(--muted);
}
.search:focus-within { outline: 2px solid color-mix(in srgb, var(--pink) 60%, transparent); outline-offset: 1px; }
.search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: none;
  color: var(--text);
  font: inherit;
  /* below 16px iOS zooms the whole page into the field */
  font-size: 16px;
  -webkit-appearance: none;
  appearance: none;
}
.search input::-webkit-search-cancel-button { display: none; }
.search-clear {
  flex: none;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  font-size: 18px;
  line-height: 1;
}
.search-results {
  width: 100%;
  max-width: 520px;
  /* --ui-height: the visible part of the screen, keyboard excluded (app.js: fitUi) */
  max-height: calc(var(--ui-height, 100vh) - 90px - var(--safe-top));
  padding: 8px 18px;
  border-radius: var(--radius);
  overflow-y: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
  animation: rise 0.18s ease;
}
.search-results .place-list { margin: 0; }
.search-section { margin: 12px 0 2px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.search-more {
  width: calc(100% + 24px);
  margin: 4px -12px;
  padding: 12px;
  border: 0;
  border-radius: 14px;
  background: none;
  color: var(--pink);
  font-weight: 600;
  text-align: left;
}
.search-more:hover { background: rgba(255, 255, 255, 0.06); }
.search-more:disabled { color: var(--muted); }

/* --- venue chips --------------------------------------------------------------------------- */

/* a horizontal scroller, only as wide as its chips: the rest of the row stays the map's */
.chips {
  display: flex;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior: contain;
  touch-action: pan-x;
  scrollbar-width: none;
  padding: 2px;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none;
  height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.chip[aria-pressed="true"] {
  color: var(--text);
  border-color: var(--chip, var(--pink));
  background: color-mix(in srgb, var(--chip, var(--pink)) 26%, rgba(22, 19, 32, 0.85));
}

@media (max-width: 560px) {
  .brand { padding: 0 13px; }
  .brand-word { display: none; }
}

.avatar {
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar img:not([src]) { display: none; }
.avatar span { font-weight: 600; }

.menu {
  position: absolute;
  top: 52px;
  right: 0;
  min-width: 220px;
  padding: 14px;
  border-radius: 18px;
}
.menu-name { font-weight: 600; }
.menu-email { color: var(--muted); font-size: 13px; margin-bottom: 12px; overflow-wrap: anywhere; }
.menu button {
  width: 100%;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.04);
}
.menu button:hover { background: rgba(255, 255, 255, 0.09); }
.menu button + button { margin-top: 6px; }
.menu .menu-quiet { color: var(--muted); }

/* --- floating controls --------------------------------------------------------------------- */

.fab {
  position: fixed;
  right: 14px;
  bottom: calc(24px + var(--safe-bottom));
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  z-index: 5;
}

.fab-top { bottom: calc(86px + var(--safe-bottom)); }
.fab-pick { bottom: calc(148px + var(--safe-bottom)); }

/* the free-point crosshair (app.js: startPick), fixed over the map's centre; taps go through */
#ui > .crosshair {
  position: fixed;
  inset: 0;
  margin: auto;
  width: 2px;
  height: 2px;
  pointer-events: none;
  z-index: 3;
}
.crosshair-pin {
  position: absolute;
  left: -17px;
  bottom: 0;
  width: 36px;
  height: 46px;
  background: var(--gradient);
  -webkit-mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 30'><path fill-rule='evenodd' d='M12 0C5.4 0 0 5.1 0 11.6 0 20.4 12 30 12 30s12-9.6 12-18.4C24 5.1 18.6 0 12 0zm0 7a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9z'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 30'><path fill-rule='evenodd' d='M12 0C5.4 0 0 5.1 0 11.6 0 20.4 12 30 12 30s12-9.6 12-18.4C24 5.1 18.6 0 12 0zm0 7a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9z'/></svg>") center / contain no-repeat;
  filter: drop-shadow(0 6px 14px rgba(255, 92, 138, 0.55));
}
.crosshair-dot {
  position: absolute;
  left: -4px;
  top: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--pink);
}
.point-name { margin-top: 14px; }

/* Centered with left/right: 0 + auto margins, never left: 50% + translateX(-50%): iOS Safari sizes
   the page by the untransformed box, which then sticks out past the right edge and makes the
   whole page wider than the screen (everything shifts sideways, the avatar goes off screen). */
.hint {
  position: fixed;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: max-content;
  bottom: calc(30px + var(--safe-bottom));
  max-width: calc(100% - 150px);
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  z-index: 4;
}

/* --- map attribution (OpenStreetMap / OpenFreeMap credit is required, keep it visible) ------- */

.maplibregl-ctrl-attrib.maplibregl-compact {
  background: var(--glass);
  color: var(--muted);
}
.maplibregl-ctrl-attrib a { color: var(--muted); }
.maplibregl-ctrl-attrib-button { filter: invert(1); }
.maplibregl-ctrl-bottom-right { bottom: calc(210px + var(--safe-bottom) + var(--ui-bottom-gap, 0px)); }

/* --- place sheet --------------------------------------------------------------------------- */

.sheet {
  position: fixed;
  left: 0;
  right: 0;
  margin: 0 auto;
  bottom: calc(16px + var(--safe-bottom));
  width: min(440px, calc(100% - 24px));
  padding: 20px 20px 18px;
  border-radius: var(--radius);
  z-index: 20;
  max-height: calc(100% - 100px - var(--safe-top) - var(--safe-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  animation: rise 0.22s ease;
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

.sheet-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  font-size: 20px;
  line-height: 1;
}
.sheet-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sheet-title { margin: 4px 40px 2px 0; font-size: 21px; font-weight: 800; letter-spacing: -0.02em; }
.sheet-address { color: var(--muted); font-size: 13px; min-height: 1em; }

.cta {
  margin-top: 16px;
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 999px;
  background: var(--gradient);
  font-weight: 600;
  font-size: 16px;
  box-shadow: 0 10px 30px rgba(255, 92, 138, 0.3);
  transition: transform 0.12s ease, opacity 0.12s ease;
}
.cta:active { transform: scale(0.98); }
.cta:disabled { opacity: 0.5; cursor: default; }

/* --- reviews ------------------------------------------------------------------------------- */

.reviews { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--glass-border); }
.reviews-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.reviews-title { font-weight: 800; font-size: 16px; }
.reviews-empty, .panel-empty { color: var(--muted); font-size: 14px; padding: 10px 0; }

.link {
  border: 0;
  padding: 0;
  background: none;
  color: var(--pink);
  font-weight: 600;
  font-size: 14px;
}
.link.danger { color: var(--muted); margin-top: 22px; }
.link.danger:hover { color: #ff6b6b; }

.review-list, .place-list { list-style: none; margin: 10px 0 0; padding: 0; }
.review { display: flex; gap: 12px; padding: 12px 0; }
.review + .review { border-top: 1px solid var(--glass-border); }
.review-avatar {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  display: grid;
  place-items: center;
  font-weight: 600;
  background: var(--gradient);
}
.review-avatar.anon { background: rgba(255, 255, 255, 0.08); color: var(--muted); }
.review-main { min-width: 0; flex: 1; }
.review-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.review-author { font-weight: 600; }
.review.mine .review-author { color: var(--pink); }
.review-stars { color: var(--pink); letter-spacing: 1px; font-size: 13px; }
.review-date { color: var(--muted); font-size: 12px; }
.review-text { margin: 4px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }

.review-form { margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.stars-input { display: flex; gap: 4px; }
.star {
  border: 0;
  background: none;
  padding: 0 2px;
  font-size: 30px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.18);
  transition: transform 0.1s ease, color 0.1s ease;
}
.star.on { color: var(--pink); }
.star:active { transform: scale(0.9); }

textarea, .field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font: inherit;
  /* below 16px iOS zooms the whole page into the field and leaves it zoomed */
  font-size: 16px;
  resize: vertical;
}
textarea:focus, .field input:focus { outline: 2px solid color-mix(in srgb, var(--pink) 60%, transparent); outline-offset: 1px; }
.field input:disabled { opacity: 0.45; }
.review-note { color: var(--muted); font-size: 12px; }
.review-actions { display: flex; gap: 8px; justify-content: flex-end; }
.btn {
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.05);
  font-weight: 600;
}
.btn:hover { background: rgba(255, 255, 255, 0.1); }
.btn-primary { border: 0; background: var(--gradient); }
.btn:disabled { opacity: 0.5; }
#review-delete { margin-right: auto; color: var(--muted); }

/* --- side panel: profile, my places, top ---------------------------------------------------- */

.panel {
  position: fixed;
  top: calc(116px + var(--safe-top));
  right: 14px;
  bottom: calc(16px + var(--safe-bottom));
  width: min(400px, calc(100% - 28px));
  padding: 20px;
  border-radius: var(--radius);
  z-index: 25;
  overflow-y: auto;
  overscroll-behavior: contain;
  animation: slide 0.22s ease;
}
@keyframes slide { from { opacity: 0; transform: translateX(16px); } }
.panel-title { margin: 0 40px 14px 0; font-size: 21px; font-weight: 800; letter-spacing: -0.02em; }
.panel-lead { color: var(--muted); font-size: 13px; margin: 0 0 6px; }

.place-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 10px 12px;
  margin: 0 -12px;
  width: calc(100% + 24px);
  border: 0;
  border-radius: 14px;
  background: none;
  text-align: left;
}
.place-row:hover { background: rgba(255, 255, 255, 0.06); }
.place-row-name { font-weight: 600; }
.place-row-detail { color: var(--muted); font-size: 13px; }

.tabs { display: flex; gap: 6px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); }
.tabs button {
  flex: 1;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--muted);
  font-weight: 600;
}
.tabs button[aria-selected="true"] { background: var(--gradient); color: var(--text); }

.profile-form { display: flex; flex-direction: column; gap: 16px; }
.switch-row { display: flex; gap: 16px; align-items: flex-start; cursor: pointer; }
.switch-title { display: block; font-weight: 600; }
.switch-hint { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.switch-row input {
  flex: none;
  appearance: none;
  width: 46px;
  height: 28px;
  margin: 2px 0 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  position: relative;
  cursor: pointer;
  transition: background 0.15s ease;
}
.switch-row input::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--text);
  transition: transform 0.15s ease;
}
.switch-row input:checked { background: var(--gradient); }
.switch-row input:checked::after { transform: translateX(18px); }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.profile-preview {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed var(--glass-border);
}
.profile-form .cta { margin-top: 0; }

/* --- follows ------------------------------------------------------------------------------- */

.follow-form { display: flex; flex-direction: column; gap: 8px; }
.follow-input { display: flex; gap: 8px; }
.follow-input .username-field { flex: 1; min-width: 0; }
.follow-input .btn { height: auto; flex: none; }
.panel-section { margin: 22px 0 6px; font-size: 15px; font-weight: 800; }
.person-list { list-style: none; margin: 0; padding: 0; }
.person-row { display: flex; gap: 12px; align-items: center; padding: 8px 0; }
.person-row-actions { display: flex; gap: 6px; flex: none; }
.btn-small { height: 32px; padding: 0 12px; font-size: 13px; }
.author-link { padding: 0; border: 0; background: none; color: inherit; font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline dotted; text-underline-offset: 3px; }
.profile-head { display: flex; gap: 14px; align-items: center; }
.avatar-big { width: 64px; height: 64px; font-size: 26px; }
.avatar-edit { display: flex; gap: 16px; align-items: center; }
.avatar-edit-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.avatar-edit-actions .review-note { flex-basis: 100%; }
.person-row-main { display: flex; gap: 12px; align-items: center; flex: 1; min-width: 0; padding: 0; border: 0; background: none; color: inherit; text-align: left; overflow-wrap: anywhere; cursor: pointer; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.place-row-text { color: var(--text); font-size: 14px; margin-top: 2px; }
.profile-form + .link { display: block; margin-top: 18px; }

@media (max-width: 560px) {
  .panel { top: auto; left: 12px; right: 12px; width: auto; max-height: 75%; animation: rise-plain 0.22s ease; }
}
@keyframes rise-plain { from { opacity: 0; transform: translateY(16px); } }

/* --- toast --------------------------------------------------------------------------------- */

.toast {
  position: fixed;
  top: calc(112px + var(--safe-top));
  left: 0;
  right: 0;
  margin: 0 auto;
  width: max-content;
  max-width: calc(100% - 28px);
  text-align: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  font-size: 14px;
  z-index: 40;
  box-shadow: var(--shadow);
  animation: rise 0.2s ease;
}

/* --- sign-in gate -------------------------------------------------------------------------- */

.gate {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(60% 50% at 20% 15%, color-mix(in srgb, var(--pink) 28%, transparent), transparent 70%),
    radial-gradient(55% 45% at 85% 90%, color-mix(in srgb, var(--violet) 30%, transparent), transparent 70%),
    rgba(11, 10, 16, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.gate-card {
  width: min(380px, 100%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.gate-mark { width: 56px; height: 56px; filter: drop-shadow(0 10px 30px rgba(255, 92, 138, 0.5)); }
.gate h1 {
  margin: 14px 0 6px;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.gate-lead { margin: 0 0 28px; color: var(--muted); font-size: 17px; }
#signin { min-height: 44px; }
.gate-fine { margin: 22px 0 0; color: var(--muted); font-size: 12px; opacity: 0.8; }

/* the username screen right after the first sign-in, and the same "@" field in panels */
#username-gate { z-index: 31; }
.username-card { gap: 0; }
.username-title { margin: 14px 0 8px; font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.username-lead { font-size: 15px; margin-bottom: 20px; }
.username-field {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 16px;
}
.username-field:focus-within { outline: 2px solid color-mix(in srgb, var(--pink) 60%, transparent); outline-offset: 1px; }
.username-field input,
.field .username-field input {
  flex: 1;
  min-width: 0;
  padding: 12px 0;
  border: 0;
  outline: 0;
  background: none;
  color: var(--text);
  font: inherit;
  /* below 16px iOS zooms the whole page into the field */
  font-size: 16px;
}
.username-error { min-height: 20px; margin: 8px 0 4px; color: #ff6b6b; font-size: 13px; }
.username-card .cta { width: 100%; margin-top: 4px; }

/* ?debug=1 (app.js: renderDebug) */
.debug {
  position: fixed;
  left: 0;
  right: 0;
  top: 50%;
  margin: 0;
  padding: 8px 10px;
  background: rgba(0, 0, 0, 0.85);
  color: #7dffa8;
  font: 11px/1.4 ui-monospace, monospace;
  white-space: pre-wrap;
  z-index: 100;
  pointer-events: none;
}

[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
