/* ============================================================
   POKITO — player app stylesheet
   Built from the Brand Identity Bible V1.0 (October 2026).

   Monochrome. Six constants carry everything: paper, black, ink and
   three greys. The one brand accent is reserved for errors. Colour
   that is not grey enters only through photographs.

   Type: Inter does the work (300 big numbers, 400 body, 500 headlines
   and labels, 600 subheads). JetBrains Mono is the specialist and
   appears in one place only: the system speaking in its own voice.

   Two grounds: Paper (white, ink text) is the default. Field (black,
   paper text) is used for the peaks — the final score, a level-up —
   never two Field surfaces in a row.

   Square edges, 1px rules, no shadows, no gradients, no decoration.
   ============================================================ */

:root {
  /* The six constants */
  --paper:       #FFFFFF;
  --black:       #000000;
  --ink:         #221F20;
  --muted:       #8A8788;
  --rule:        #E5E5E5;
  --rule-strong: #BFBDBE;
  --mist:        #F3F3F3;

  /* The one brand accent — errors only, never a background block */
  --accent:      #DF6638;

  /* Semantic tokens. The app sits on the Field ground over the
     Alpine photo, so surfaces are dark glass rather than solid. */
  --ground:      rgba(0,0,0,.45);
  --text:        var(--paper);
  --text-muted:  rgba(255,255,255,.7);
  --line:        rgba(255,255,255,.22);
  --line-strong: rgba(255,255,255,.4);
  --surface:     rgba(255,255,255,.08);
  color-scheme: dark;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --col: 440px;        /* the single content column */
  --gutter: 20px;
  --ease: cubic-bezier(.2,.8,.3,1);
  --dur-fast: 120ms;
  --dur: 220ms;
}

/* The Field ground: black with paper text. Same layout, inverted tokens. */
.field {
  --ground:      var(--black);
  --text:        var(--paper);
  --text-muted:  rgba(255,255,255,.62);
  --line:        rgba(255,255,255,.18);
  --line-strong: rgba(255,255,255,.36);
  --surface:     #141414;
  background: var(--ground);
  color: var(--text);
}

/* ---- Reset ------------------------------------------------- */

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

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01";
  background: var(--black);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: default; opacity: .4; }

img { display: block; max-width: 100%; }

a { color: inherit; }

/* Focus is drawn as a 2px ink line — visible on keyboard navigation only */
:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }

/* ---- Type scale -------------------------------------------- */

.t-display { font-size: 30px; font-weight: 500; line-height: 1.15; letter-spacing: -.01em; }
.t-title   { font-size: 22px; font-weight: 500; line-height: 1.2;  letter-spacing: -.01em; }
.t-stat    { font-size: 48px; font-weight: 300; line-height: 1;    letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.t-subhead { font-size: 15px; font-weight: 600; line-height: 1.3; }
.t-lead    { font-size: 17px; font-weight: 400; line-height: 1.45; }
.t-caption { font-size: 12px; font-weight: 400; color: var(--text-muted); }
.t-label   { font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }

/* ---- Screens ----------------------------------------------- */
/* Every screen is a centred single column on its ground. */

.dashboard-screen,
.chat-screen,
.adventure-screen,
.verify-screen,
.complete-screen,
.storybook-screen,
.explore-screen,
.history-screen,
.profile-screen {
  display: none;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 24px var(--gutter) 48px;
  background: transparent;
  color: var(--text);
}

.dashboard-screen { display: flex; }

/* ---- Alpine backdrop -------------------------------------- */
/* One full-screen photograph of the Alps sits behind every screen,
   darkened so paper text reads on top of it. This is where colour
   enters the app. Photo: Pascal Debrunner, Alpstein at golden hour
   (Unsplash License). The plain black stays if it fails to load. */

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.35) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.82) 100%),
    url("https://unsplash.com/photos/N551qGRgu3g/download?w=2400") center / cover no-repeat,
    var(--black);
}

/* ---- Wordmark header --------------------------------------- */
/* The wordmark is used exactly as supplied, with at least 1X (its cap
   height) of clear space on every side. Nothing crosses that zone. */

.dashboard-header {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: var(--col);
  padding: 20px 0 12px;
}

.dashboard-logo {
  width: 150px;      /* never below the 96px screen minimum */
  height: auto;
}

/* The tagline sits under the wordmark as a label, not a headline. */
.dashboard-slogan {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 36px;
}

/* ---- Buttons ----------------------------------------------- */
/* Primary: black on paper (paper on black in Field). Secondary: 1px
   outline. Tertiary: an underlined word. All square, all 48px tall. */

.start-btn,
.confirm-btn,
.op-earn-btn,
.finish-btn,
.explore-btn-primary,
.explore-starten-btn,
.profile-save-btn,
.play-action-btn--done,
.ugc-modal .primary-btn,
.profile-logout-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--text);
  background: var(--text);
  color: var(--black);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .01em;
  border-radius: 0;
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
}

.explore-btn-secondary,
.profile-edit-btn,
.profile-cancel-btn,
.play-action-btn--later,
.play-action-btn--photo,
.play-add-btn,
.confirm-btn--secondary,
.ugc-modal .secondary-btn,
.profile-reset-btn,
.profile-child-action-btn,
.explore-sort-btn,
.play-nav-btn,
.task-solution-btn,
.choice-item-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  font-size: 15px;
  font-weight: 400;
  border-radius: 0;
  transition: border-color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}

.explore-btn-secondary:hover,
.profile-edit-btn:hover,
.profile-cancel-btn:hover,
.play-action-btn--later:hover,
.play-action-btn--photo:hover,
.play-add-btn:hover,
.confirm-btn--secondary:hover,
.profile-child-action-btn:hover,
.play-nav-btn:hover { border-color: var(--text); }

/* A plain word that acts — never a chip */
.reg-skip-link,
.register-skip-link,
.profile-link-btn,
.explore-back-btn,
.reg-password-toggle {
  background: none;
  border: none;
  padding: 0;
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.reg-skip-link:hover,
.register-skip-link:hover,
.profile-link-btn:hover,
.explore-back-btn:hover { color: var(--text); }

/* Full-width calls to action */
.dashboard-start-btn,
.op-earn-btn,
.explore-starten-btn,
.profile-action-btn,
.profile-card-cta,
.ugc-modal .primary-btn,
.ugc-modal .secondary-btn {
  width: 100%;
  max-width: var(--col);
}

/* ---- Inputs ------------------------------------------------ */

.onboarding-name-input,
.reg-input,
.profile-input,
.profile-inline-input,
.explore-filter,
.ugc-modal input,
.ugc-modal textarea,
.verify-time-input,
.otp-digit {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--ground);
  color: var(--text);
  font-size: 16px;      /* 16px stops iOS from zooming the field */
  outline: none;
  transition: border-color var(--dur-fast) var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

.onboarding-name-input:focus,
.reg-input:focus,
.profile-input:focus,
.profile-inline-input:focus,
.explore-filter:focus,
.ugc-modal input:focus,
.ugc-modal textarea:focus,
.verify-time-input:focus,
.otp-digit:focus { border-color: var(--text); }

select.profile-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 40px;
}

/* ---- Labels & errors --------------------------------------- */

.onboarding-form-label,
.reg-label,
.profile-field-label,
.explore-section-label,
.points-card-label,
.stat-label,
.level-label,
.chapter-number,
.adventure-timer-label,
.mode-selection-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.reg-error,
.profile-error-msg,
.reg-strength-text {
  display: block;
  min-height: 18px;
  font-size: 12px;
  line-height: 18px;
}
.reg-error,
.profile-error-msg { color: var(--accent); }

.profile-inline-msg {
  font-size: 13px;
  padding: 8px 0;
  margin-top: 8px;
  border-top: 1px solid var(--line);
}
.profile-success-msg { color: var(--text); }

/* ============================================================
   DASHBOARD
   ============================================================ */

/* The wallet: one key number set in the stat size, light weight */
.points-card {
  width: 100%;
  max-width: var(--col);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0 24px;
  border-top: 1px solid var(--text);
  border-bottom: 1px solid var(--line);
  text-align: left;
  cursor: pointer;
}

.points-card-left {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.points-card-value {
  font-size: 56px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  margin-top: 8px;
}

/* The level number, in the corner, in the stat voice */
.points-card-badge {
  flex-shrink: 0;
  font-size: 32px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
  padding-top: 6px;
}

.level-name {
  font-size: 13px;
  font-weight: 500;
  margin-top: 14px;
}

.level-bar {
  position: relative;
  width: 100%;
  height: 2px;
  background: var(--line);
  margin-top: 10px;
  overflow: hidden;
}

.level-bar-fill {
  height: 100%;
  background: var(--text);
  transition: width .6s var(--ease);
}

.level-label { margin-top: 8px; font-variant-numeric: tabular-nums; }

/* The three supporting numbers: a ruled row, no boxes */
.stats-row {
  display: flex;
  width: 100%;
  max-width: var(--col);
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}

.stat-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px 0;
  text-align: left;
}
.stat-card + .stat-card { padding-left: 16px; border-left: 1px solid var(--line); }

.stat-value {
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.stat-label { margin-top: 8px; }

.stat-card-link { cursor: pointer; }

/* History (the dashboard-history block lives on the history screen) */
.dashboard-history {
  width: 100%;
  max-width: var(--col);
  text-align: left;
}

.adventure-card {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 0 14px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  cursor: pointer;
}
.adventure-card:last-child { border-bottom: 1px solid var(--line); }

.adventure-card-thumb {
  width: 56px;
  height: 56px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.adventure-card-thumb img { width: 24px; height: 24px; }
.adventure-card-thumb img[alt="adventure photo"] { width: 100%; height: 100%; object-fit: cover; }

.adventure-card-info { min-width: 0; }

.adventure-card-path {
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.adventure-card-date { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

.adventure-card-meta { display: flex; align-items: center; }

.adventure-card-points {
  font-size: 20px;
  font-weight: 300;
  font-variant-numeric: tabular-nums;
}
.adventure-card-points::after {
  content: " OP";
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--text-muted);
}

.adventure-card-empty {
  padding: 32px 0;
  color: var(--text-muted);
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ============================================================
   CHAT / ONBOARDING
   The "chat" is a form that unfolds step by step. The app speaks in
   plain ink; what the parent chose is echoed as a muted line.
   ============================================================ */

.chat-messages {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: var(--col);
  gap: 12px;
}

.pokito-message {
  font-size: 17px;
  line-height: 1.45;
  padding: 8px 0 12px;
  white-space: pre-wrap;
  border-bottom: 1px solid var(--line);
}

.parent-message {
  align-self: flex-start;
  font-size: 14px;
  color: var(--text-muted);
  padding: 4px 0 8px;
}
.parent-message::before { content: "— "; }

.chat-input { display: none; }

.onboarding-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  padding: 8px 0 16px;
}

.onboarding-form .confirm-btn { margin-top: 12px; }

/* Choice groups: square outlined chips, selected = filled ink */
.pokito-choice-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin: 4px 0 8px;
}

.choice-item-btn {
  min-height: 44px;
  padding: 0 16px;
  text-align: left;
  justify-content: flex-start;
}

.pokito-choice-container[style*="row"] .choice-item-btn { flex: 0 1 auto; }

.choice-item-btn.selected {
  background: var(--text);
  border-color: var(--text);
  color: var(--black);
}

.confirm-btn { align-self: stretch; }
.confirm-btn--secondary { background: transparent; color: var(--text); border-color: var(--line-strong); }

/* ============================================================
   ADVENTURE (single-card player)
   ============================================================ */

.adventure-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--col);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--text);
  margin-bottom: 20px;
}

.adventure-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: -10px;
  border: none;
  background: none;
  color: var(--text);
}

.adventure-timer-bar {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.story-box {
  width: 100%;
  max-width: var(--col);
  font-size: 17px;
  line-height: 1.5;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.tasks-container {
  width: 100%;
  max-width: var(--col);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.play-progress {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.task-card {
  position: relative;
  width: 100%;
  padding: 20px;
  border: 1px solid var(--text);
  background: var(--ground);
  text-align: left;
}

.task-text { font-size: 17px; line-height: 1.5; }

.task-row + .task-row {
  margin-top: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.task-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 2px;
}
.task-row + .task-row .task-label { display: inline; margin-right: 6px; }

.task-solution-btn { margin-top: 12px; font-size: 14px; }
.task-card > .task-row { margin-top: 12px; font-size: 15px; }
.task-card > .task-row .task-label { display: inline; margin-right: 6px; }

.task-thumbnail {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  margin-top: 16px;
}

.play-actions {
  display: flex;
  gap: 8px;
  width: 100%;
  margin-top: 12px;
}
.play-action-btn { flex: 1; min-height: 48px; padding: 0 8px; font-size: 14px; }
.play-action-btn svg { width: 18px; height: 18px; }
.play-action-btn--done { font-weight: 500; }

.play-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.play-nav-btn { width: 44px; min-height: 44px; padding: 0; }
.play-nav-label { font-size: 12px; color: var(--text-muted); }

.play-add-btn { width: 100%; margin-top: 12px; }
.play-add-btn--big { min-height: 48px; }

.play-reserve { text-align: center; padding: 32px 0 8px; }
.play-reserve-title { font-size: 22px; font-weight: 500; letter-spacing: -.01em; margin-bottom: 8px; }
.play-reserve-sub { font-size: 15px; color: var(--text-muted); }

.finish-btn {
  width: 100%;
  max-width: var(--col);
  margin-top: 12px;
  background: transparent;
  color: var(--text);
}

/* The brief "all done" beat: a Field card before the verify screen */
.play-alldone {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 40px 24px;
  margin-top: 8px;
  background: var(--black);
  color: var(--paper);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -.01em;
  text-align: center;
  animation: rise-in var(--dur) var(--ease) both;
}
.play-alldone-sub { font-size: 14px; font-weight: 400; color: rgba(255,255,255,.62); }

.points-box { display: none; }

/* ============================================================
   VERIFY
   ============================================================ */

.verify-screen { justify-content: center; gap: 20px; text-align: center; }

.verify-title {
  max-width: var(--col);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -.01em;
}

.verify-time-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.verify-time-input {
  width: 120px;
  min-height: 72px;
  font-size: 48px;
  font-weight: 300;
  letter-spacing: -.02em;
  text-align: center;
  padding: 0 8px;
  font-variant-numeric: tabular-nums;
}
.verify-time-input::-webkit-outer-spin-button,
.verify-time-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.verify-time-input { -moz-appearance: textfield; }

.verify-time-unit { font-size: 15px; color: var(--text-muted); }

.verify-task-count { font-size: 14px; color: var(--text-muted); }

/* ============================================================
   COMPLETE — Field. The one place the number is allowed to be loud.
   ============================================================ */

.complete-screen {
  justify-content: center;
  text-align: center;
  background: rgba(0,0,0,.55);
  color: var(--paper);
  --ground: var(--black);
  --text: var(--paper);
  --text-muted: rgba(255,255,255,.62);
  --line: rgba(255,255,255,.18);
  --line-strong: rgba(255,255,255,.36);
}

.complete-screen h1 {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -.01em;
  margin-bottom: 40px;
}

.final-points {
  width: 100%;
  max-width: var(--col);
  padding: 28px 0;
  margin-bottom: 40px;
  border-top: 1px solid var(--paper);
  border-bottom: 1px solid var(--line);
}

.final-points p {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.final-points h2 {
  font-size: 96px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.03em;
  margin-top: 10px;
  font-variant-numeric: tabular-nums;
  animation: rise-in .4s var(--ease) both;
}

.complete-screen .start-btn { width: 100%; max-width: var(--col); }

/* Register prompt shares the complete screen class (same moment) */
.register-prompt-text { font-size: 17px; margin-bottom: 20px; max-width: var(--col); }
.register-prompt-login { font-size: 14px; margin-top: 16px; color: var(--text-muted); }
.register-prompt-login a { color: var(--paper); text-underline-offset: 3px; }
.register-skip-link { display: block; margin-top: 12px; }

/* ============================================================
   STORYBOOK
   ============================================================ */

.storybook-cover {
  width: 100%;
  max-width: var(--col);
  text-align: left;
  padding: 20px 0 24px;
  border-bottom: 1px solid var(--text);
  margin-bottom: 24px;
}

.storybook-cover .pokito-logo { width: 150px; margin-bottom: 36px; cursor: pointer; }

.storybook-title { font-size: 30px; font-weight: 500; letter-spacing: -.01em; line-height: 1.15; margin-bottom: 8px; }
.storybook-hero { font-size: 14px; color: var(--text-muted); }

.storybook-footer { margin-top: 24px; }
.storybook-footer p {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.storybook-footer h2 {
  font-size: 48px;
  font-weight: 300;
  letter-spacing: -.02em;
  line-height: 1;
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
}

.storybook-intro {
  width: 100%;
  max-width: var(--col);
  font-size: 17px;
  line-height: 1.5;
  text-align: left;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}

.storybook-chapters { width: 100%; max-width: var(--col); text-align: left; }

.storybook-chapter {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.chapter-number { margin-bottom: 8px; }
.chapter-text { font-size: 16px; line-height: 1.5; margin-bottom: 10px; }

.chapter-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
}
.chapter-badge.completed { background: var(--text); border-color: var(--text); color: var(--black); }
.chapter-badge.skipped { color: var(--text-muted); }

.chapter-photo { width: 100%; max-height: 320px; object-fit: cover; margin-top: 14px; }

.storybook-screen .start-btn { width: 100%; max-width: var(--col); margin-top: 24px; }

/* ============================================================
   EXPLORE
   ============================================================ */

.explore-browse-view {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: var(--col);
}

.explore-header { width: 100%; padding-bottom: 12px; }

.explore-sort-toggle { display: flex; margin-top: 8px; }
.explore-sort-btn {
  flex: 1;
  min-height: 40px;
  font-size: 13px;
  color: var(--text-muted);
}
.explore-sort-btn + .explore-sort-btn { border-left: none; }
.explore-sort-btn.active { color: var(--text); border-color: var(--text); background: transparent; }
.explore-sort-btn.active + .explore-sort-btn { border-left: none; }

.explore-list { width: 100%; display: flex; flex-direction: column; }

.explore-location-card {
  border-top: 1px solid var(--line);
  cursor: pointer;
}
.explore-location-card:last-child { border-bottom: 1px solid var(--line); }

.explore-card-main {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
}

.explore-card-text { flex: 1; min-width: 0; text-align: left; }
.explore-location-name { font-size: 17px; font-weight: 500; }
.explore-location-region { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

.explore-card-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  flex-shrink: 0;
  font-size: 12px;
  color: var(--text-muted);
}

.explore-type-badge { font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.explore-path-badge, .explore-dist-text { font-size: 12px; }
.explore-browse-chevron { display: none; }

.explore-empty { padding: 40px 0; color: var(--text-muted); text-align: center; }

.explore-detail-view {
  width: 100%;
  max-width: var(--col);
  text-align: left;
}

.explore-detail-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 12px 0;
  background: var(--ground);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--text);
}

.explore-back-btn { flex-shrink: 0; font-size: 14px; }

.explore-detail-title {
  flex: 1;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.explore-location-info-block {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 14px 0 6px;
  font-size: 13px;
  color: var(--text-muted);
}
.explore-info-stat { display: flex; gap: 6px; align-items: baseline; }
.explore-info-icon { display: none; }

.explore-location-description {
  padding: 8px 0 20px;
  font-size: 15px;
  line-height: 1.5;
  border-bottom: 1px solid var(--line);
}

.explore-section-label { display: block; padding: 20px 0 10px; }

.explore-path-card {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.explore-path-card:last-child { border-bottom: 1px solid var(--line); }

.explore-path-card-name { font-size: 17px; font-weight: 500; line-height: 1.3; margin-bottom: 8px; }

.explore-path-stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  align-items: baseline;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.explore-diff-badge { font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--text); }
.explore-stat-chip { font-size: 13px; }

.explore-path-card-desc { font-size: 14px; line-height: 1.5; color: var(--text-muted); margin-bottom: 14px; }

.explore-path-card-actions { display: flex; gap: 8px; }
.explore-path-card-actions > * { flex: 1; min-height: 44px; }

.explore-path-stats-top { padding: 12px 0; border-bottom: 1px solid var(--line); }
.explore-path-stats-top:empty { display: none; }

.explore-timeline { padding: 20px 0 0; }

.explore-timeline-entry { display: flex; gap: 14px; align-items: flex-start; }

.explore-timeline-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 28px;
}

.explore-timeline-number {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid var(--text);
  font-variant-numeric: tabular-nums;
}

.explore-timeline-line { width: 1px; flex: 1; min-height: 28px; background: var(--line); margin-top: 4px; }

.explore-timeline-content { display: flex; gap: 10px; flex: 1; padding-bottom: 22px; }
.explore-timeline-last .explore-timeline-content { padding-bottom: 4px; }

.explore-timeline-icon { display: none; }
.explore-timeline-text { flex: 1; min-width: 0; padding-top: 4px; }
.explore-timeline-name { font-size: 15px; font-weight: 500; margin-bottom: 2px; }
.explore-timeline-desc { font-size: 13px; line-height: 1.5; color: var(--text-muted); }

.explore-starten-btn { margin-top: 24px; }

/* ============================================================
   PROFILE
   ============================================================ */

#profile-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-manage-wrapper {
  width: 100%;
  max-width: var(--col);
  display: flex;
  flex-direction: column;
  gap: 32px;
  text-align: left;
}

.profile-section-card { width: 100%; }

.profile-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--text);
  margin-bottom: 12px;
}
.profile-section-icon { display: none; }

.profile-card-body { display: flex; flex-direction: column; gap: 10px; }

.profile-field-group { display: flex; flex-direction: column; padding: 6px 0; border-bottom: 1px solid var(--line); }
.profile-field-value { font-size: 15px; margin-top: 2px; }
.profile-field-readonly { color: var(--text-muted); }

.profile-edit-btn { align-self: flex-start; margin-top: 8px; }

.profile-edit-field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }
.profile-edit-btns { display: flex; gap: 8px; margin-top: 8px; }
.profile-edit-btns > * { flex: 1; }

.profile-account-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--text);
}

.profile-avatar-circle {
  width: 56px;
  height: 56px;
  min-width: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--text);
  color: var(--black);
  font-size: 18px;
  font-weight: 500;
}

.profile-overview-info { flex: 1; min-width: 0; }
.profile-account-name { font-size: 22px; font-weight: 500; letter-spacing: -.01em; }
.profile-account-email { font-size: 13px; color: var(--text-muted); word-break: break-all; margin-top: 2px; }
.profile-member-since { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

.verification-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-left: 8px;
  color: var(--text);
}

.profile-child-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  cursor: pointer;
}
.profile-child-card.active { border-color: var(--text); }

.profile-child-info { display: flex; align-items: baseline; gap: 8px; }
.profile-child-name { font-size: 16px; font-weight: 500; }
.profile-child-age { font-size: 13px; color: var(--text-muted); }

.profile-active-badge {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.profile-child-actions { display: flex; gap: 8px; }
.profile-child-action-btn { min-height: 36px; padding: 0 12px; font-size: 13px; }
.profile-child-delete-btn { color: var(--text-muted); }

.profile-toggle-row { display: flex; align-items: center; justify-content: space-between; padding: 6px 0; }
.profile-toggle-label { font-size: 15px; }

.profile-toggle-switch { position: relative; display: inline-block; width: 44px; height: 24px; }
.profile-toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  inset: 0;
  border: 1px solid var(--line-strong);
  background: var(--ground);
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease);
}
.toggle-slider::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  left: 3px;
  top: 3px;
  background: var(--text);
  transition: transform var(--dur-fast) var(--ease);
}
.profile-toggle-switch input:checked + .toggle-slider { border-color: var(--text); }
.profile-toggle-switch input:checked + .toggle-slider::before { transform: translateX(20px); }

.profile-actions-section { display: flex; flex-direction: column; gap: 8px; }
.profile-action-btn { min-height: 48px; }
.profile-reset-btn { color: var(--text-muted); }

.profile-card-hint { font-size: 14px; color: var(--text-muted); }
.profile-login-row { font-size: 14px; color: var(--text-muted); margin-top: 4px; }
.profile-link-btn { color: var(--text); }

.profile-password-form { display: flex; flex-direction: column; gap: 4px; }

/* Profile picture: a square frame, ink corner for the camera */
.profile-pic-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  margin: 0 auto 20px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  overflow: hidden;
  cursor: pointer;
}
.profile-pic-placeholder { display: flex; color: var(--text-muted); }
.profile-pic-img { width: 100%; height: 100%; object-fit: cover; }
.profile-pic-edit {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--text);
  color: var(--black);
}

.profile-screen h2 { font-size: 22px; font-weight: 500; }

/* ============================================================
   REGISTRATION / LOGIN
   ============================================================ */

.parent-reg-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  max-width: var(--col);
  padding: 20px 0;
  text-align: left;
}

.parent-reg-container h3 { font-size: 22px; font-weight: 500; letter-spacing: -.01em; }

.reg-label { display: block; margin: 10px 0 6px; }

.reg-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  margin: 12px 0;
  cursor: pointer;
}
.reg-checkbox-label input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--ink); }

/* Step indicator: a ruled strip, done steps filled */
.reg-step-indicator { display: flex; gap: 4px; margin-bottom: 20px; }
.reg-dot { flex: 1; height: 2px; background: var(--line); }
.reg-dot.active, .reg-dot.done { background: var(--text); }

.reg-password-wrap { position: relative; width: 100%; }
.reg-password-wrap .reg-input { padding-right: 90px; }
.reg-password-toggle { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 13px; }

.reg-strength-text { color: var(--text-muted); }

.reg-btn-row { display: flex; gap: 8px; margin-top: 16px; }
.reg-btn-row .confirm-btn { flex: 1; }

.reg-skip-link { display: block; text-align: center; margin-top: 16px; }

.otp-input-group { display: flex; justify-content: center; gap: 8px; margin: 20px 0 8px; }
.otp-digit {
  width: 56px;
  min-height: 64px;
  padding: 0;
  text-align: center;
  font-size: 28px;
  font-weight: 300;
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   OVERLAYS (review prompt, adventure menu, equipment prompt)
   A Field card on a dimmed ground.
   ============================================================ */

.ugc-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  background: rgba(0,0,0,.5);
  animation: fade-in var(--dur) var(--ease) both;
}
@media (min-width: 560px) {
  .ugc-overlay { align-items: center; padding: 20px; }
}

.ugc-modal {
  width: 100%;
  max-width: var(--col);
  max-height: 92vh;
  overflow-y: auto;
  padding: 24px 20px 28px;
  background: var(--black);
  color: var(--paper);
  text-align: left;
  --ground: var(--black);
  --text: var(--paper);
  --text-muted: rgba(255,255,255,.62);
  --line: rgba(255,255,255,.18);
  --line-strong: rgba(255,255,255,.36);
  animation: rise-in var(--dur) var(--ease) both;
}

.ugc-modal h3 { font-size: 22px; font-weight: 500; letter-spacing: -.01em; margin-bottom: 12px; }
.ugc-modal p { font-size: 15px; color: var(--text-muted); margin-bottom: 16px; }
.ugc-modal textarea { min-height: 72px; margin-bottom: 12px; resize: vertical; }
.ugc-modal .primary-btn { margin-top: 8px; margin-bottom: 8px; }
.ugc-modal .confirm-btn { width: 100%; margin-top: 16px; }
.ugc-modal .pokito-choice-container { max-width: none; }

.star-rating { display: flex; gap: 6px; margin: 4px 0 16px; }
.star-rating .star {
  font-size: 30px;
  line-height: 1;
  color: rgba(255,255,255,.28);
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease);
}
.star-rating .star.active { color: var(--paper); }

/* Level-up: full Field screen, the level number set as a stat */
.levelup-overlay {
  position: fixed;
  inset: 0;
  z-index: 11000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 32px;
  text-align: center;
  background: var(--black);
  color: var(--paper);
  cursor: pointer;
  animation: fade-in var(--dur) var(--ease) both;
}

.levelup-kicker {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);
  animation: rise-in .4s var(--ease) .15s both;
}

.levelup-medallion {
  font-size: 96px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  margin-bottom: 12px;
  animation: rise-in .4s var(--ease) both;
}

.levelup-title {
  font-size: 30px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.01em;
  animation: rise-in .4s var(--ease) .25s both;
}

.levelup-sub {
  font-size: 13px;
  color: rgba(255,255,255,.62);
  margin-top: 16px;
  animation: rise-in .4s var(--ease) .4s both;
}

/* ============================================================
   MOTION — quiet. Things arrive; they do not bounce.
   ============================================================ */

@keyframes rise-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.dashboard-screen .points-card,
.dashboard-screen .stats-row,
.dashboard-screen .dashboard-start-btn,
.tasks-container > * {
  animation: rise-in var(--dur) var(--ease) backwards;
}
.dashboard-screen .stats-row { animation-delay: 40ms; }
.dashboard-screen .dashboard-start-btn { animation-delay: 80ms; }

/* Task done: the card is struck through and leaves */
.task-card--stamped {
  animation: card-depart 360ms var(--ease) 180ms both;
  pointer-events: none;
}
.task-card--stamped::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  top: 50%;
  height: 1px;
  background: var(--text);
  transform-origin: left;
  animation: strike 180ms var(--ease) both;
}
@keyframes strike { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes card-depart {
  from { opacity: 1; transform: none; }
  to   { opacity: 0; transform: translateY(-16px); }
}

/* "+10 OP" rises from the card and fades — a number, not a chip */
.op-chip {
  position: fixed;
  z-index: 900;
  padding: 0;
  font-size: 22px;
  font-weight: 300;
  letter-spacing: -.01em;
  color: var(--paper);
  pointer-events: none;
  font-variant-numeric: tabular-nums;
  animation: op-fly 800ms var(--ease) both;
}
@keyframes op-fly {
  from { opacity: 0; transform: translate(-50%, 0); }
  20%  { opacity: 1; }
  to   { opacity: 0; transform: translate(-50%, -96px); }
}

/* Collectible: pops out of the done card and flies into the header counter */
.play-progress-collect { letter-spacing: 0; font-variant-numeric: tabular-nums; }
.collect-fly {
  position: fixed;
  z-index: 901;
  font-size: 40px;
  line-height: 1;
  pointer-events: none;
  animation: collect-fly 1000ms var(--ease) both;
}
@keyframes collect-fly {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(.4); }
  25%  { opacity: 1; transform: translate(-50%, -50%) scale(1.5); }
  45%  { transform: translate(-50%, -50%) scale(1.2); }
  100% { opacity: .2; transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(.4); }
}

.final-collect {
  font-size: 17px;
  margin: -16px 0 32px;
  max-width: var(--col);
  animation: rise-in .4s var(--ease) .3s both;
}

/* Schatzkammer on the dashboard */
.treasure {
  width: 100%;
  max-width: var(--col);
  margin-bottom: 32px;
  text-align: left;
}
.treasure-label { display: block; margin: 0 0 12px; }
.treasure-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 12px 8px;
}
.treasure-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
}
.treasure-icon { font-size: 30px; line-height: 1.1; }
.treasure-count { font-size: 17px; font-weight: 500; font-variant-numeric: tabular-nums; margin-top: 2px; }
.treasure-name {
  font-size: 12px;
  color: var(--text-muted);
  max-width: 100%;
  line-height: 1.3;
  hyphens: auto;
  overflow-wrap: anywhere;
}
.treasure-item--new { animation: treasure-pop 700ms var(--ease) both; }
@keyframes treasure-pop {
  0%   { opacity: 0; transform: scale(.3); }
  60%  { opacity: 1; transform: scale(1.25); }
  100% { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .treasure-item--new, .final-collect { animation: none; }
}

/* Abenteuer-Set from the shop */
.shop-set-link { font-size: 14px; color: var(--text-muted); margin-top: 4px; text-decoration: underline; text-underline-offset: 3px; }
.play-set-note { font-size: 13px; line-height: 1.45; color: var(--text-muted); margin: -6px 0 12px; text-align: left; }
.set-toast {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 32px;
  z-index: 950;
  width: fit-content;
  margin: 0 auto;
  padding: 14px 20px;
  background: var(--paper);
  color: var(--black);
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  animation: rise-in .3s var(--ease) both;
  pointer-events: none;
}
.final-set-teaser { font-size: 14px; margin: -20px 0 28px; max-width: var(--col); }
.final-set-teaser a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 3px; }

.collect-medallion { font-size: 120px; animation: treasure-pop 700ms var(--ease) both; }
.collect-count { color: var(--paper); font-size: 15px; margin-top: 8px; }

/* ============================================================
   PRINT — a take-along sheet on paper
   ============================================================ */

#print-area { display: none; }

@media print {
  body * { display: none !important; visibility: hidden !important; }
  body { background: #fff !important; }
  body::before { display: none !important; }

  #print-area {
    display: block !important;
    visibility: visible !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 32px 40px;
    font-family: var(--font);
    color: var(--ink);
    background: #fff;
  }
  #print-area * { display: block !important; visibility: visible !important; }

  .print-header { border-bottom: 1px solid var(--ink); padding-bottom: 16px; margin-bottom: 24px; }
  .print-logo { width: 140px; margin: 0 0 14px; }
  .print-slogan { font-size: 8pt; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
  .print-header p { font-size: 10pt; color: var(--muted); }

  .print-story { font-size: 11.5pt; line-height: 1.6; padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid var(--rule); }

  /* The treasure map was decoration; the sheet is text and tickboxes.
     Rules that override "#print-area * { display: block }" need the id too. */
  #print-area .print-map { display: none !important; }

  .print-tasks h2 { font-size: 8pt; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-bottom: 8px; margin-bottom: 14px; border-bottom: 1px solid var(--rule); }
  #print-area .print-task { display: flex !important; align-items: flex-start; gap: 14px; margin-bottom: 14px; page-break-inside: avoid; }
  #print-area .print-checkbox { display: inline-block !important; width: 16px; min-width: 16px; height: 16px; border: 1px solid var(--ink); margin-top: 3px; }
  .print-task p { font-size: 11.5pt; line-height: 1.5; }
  #print-area .print-task p { flex: 1; }
  #print-area .print-qr { display: block !important; width: 22mm; min-width: 22mm; height: 22mm; }
  #print-area .print-qr svg { display: block !important; width: 100%; height: 100%; }
  #print-area .print-collect-hint { display: block !important; font-size: 10.5pt; margin: -4px 0 14px; }
  #print-area .print-task strong { display: inline !important; font-weight: 500; }

  /* Compass trail: own page, safety box can't be missed */
  .print-compass { page-break-before: always; break-before: page; }
  .print-compass h2 { font-size: 14pt; font-weight: 600; margin-bottom: 14px; }
  .print-safety { border: 3px solid var(--ink); border-radius: 6px; padding: 12px 16px; margin-bottom: 16px; page-break-inside: avoid; }
  .print-safety-title { font-size: 15pt; font-weight: 700; margin-bottom: 6px; }
  .print-safety-rule { font-size: 11.5pt; font-weight: 600; line-height: 1.5; padding-left: 14px; text-indent: -14px; }
  .print-safety-rule::before { content: "\2022  "; }
  .print-compass-howto { font-size: 10.5pt; line-height: 1.5; color: var(--muted); margin-bottom: 18px; }
  .print-leg { border-top: 1px solid var(--rule); padding-top: 12px; margin-bottom: 14px; page-break-inside: avoid; }
  .print-leg p { font-size: 11.5pt; line-height: 1.5; margin-bottom: 4px; }
  .print-leg-title { font-size: 8pt !important; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
  .print-leg-task { font-weight: 600; }
  .print-leg-circles { font-size: 16pt !important; letter-spacing: .2em; line-height: 1.3 !important; }
  .print-leg .print-task { margin: 6px 0 0; }
  .print-compass-solution { margin-top: 24px; padding-top: 10px; border-top: 1px dashed var(--muted); page-break-inside: avoid; }
  .print-compass-solution p { font-size: 9pt; line-height: 1.5; color: var(--muted); }
  .print-solution-title { font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: 8pt !important; margin-bottom: 4px; }
  .print-parent-note { margin-top: 6px; font-style: italic; }

  .print-footer { margin-top: 32px; padding-top: 12px; border-top: 1px solid var(--rule); font-size: 8pt; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
}

/* ---- Accessibility ----------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
