/**
 * PIGEON TIMER: design system and timer styles.
 *
 * The spec's palette differs slightly from the marketing site's existing one
 * (spec background #F5F0E8 vs the site's #FAF5EB), so these tokens are scoped
 * to .pg rather than :root. That keeps the timer faithful to the app without
 * silently restyling index/privacy/terms/support.
 */

.pg {
  --pg-bg: #f5f0e8;
  --pg-surface: #ede7dc;
  --pg-card: #e8e0d4;
  --pg-text: #211a14;
  --pg-text-2: #5c4f3c;
  /* Was #8f8275, which came out at 2.86:1 on --pg-card. Every kicker,
     label, phase marker and helper line in the timer is drawn in this
     token, so it has to clear AA on the darkest surface it lands on. */
  --pg-text-3: #6b6157;
  --pg-accent: #8b6e4e;
  --pg-separator: #d1c7b8;
  --pg-danger: #d64545;
  --pg-shadow: rgba(33, 26, 20, 0.06);

  --pg-success: #4caf50;
  --pg-break: #34c759;
  --pg-urgent: #ff9500;

  /* OrganicRect: intentionally uneven corners for a handmade feel. */
  --pg-organic: 14px 12.88px 13.3px 14.56px;
  --pg-organic-sm: 10px 9.2px 9.5px 10.4px;

  /* The timer follows the site: one family, no separate interface face.
     --pg-ui keeps its name because the rules below reference it, but it is
     the same Gloucester as --pg-serif. */
  --pg-serif: "Gloucester OS MT Std", Georgia, "Times New Roman", serif;
  --pg-ui: var(--pg-serif);

  /* Matches the site eyebrow so a label here and a label in the nest are
     the same object. Caps in a serif need more air, so this tracks wider
     than the sans version did. */
  --pg-eyebrow: 14px;
  --pg-eyebrow-tracking: 0.14em;
}

[data-theme="dark"] .pg {
  --pg-bg: #0f0e0d;
  --pg-surface: #1a1816;
  --pg-card: #242120;
  --pg-text: #ede7dc;
  --pg-text-2: #a89e90;
  --pg-text-3: #92877c;
  --pg-accent: #c4a87c;
  --pg-separator: #2e2a26;
  --pg-danger: #e05555;
  --pg-shadow: rgba(33, 26, 20, 0.3);
}

/* ============================================================
   LAYOUT
   ============================================================ */

/* Interface face by default; the serif is opted into by the few things
   that are display type: the heading, the clock, and the summary figure. */
.pg {
  font-family: var(--pg-ui);
  color: var(--pg-text);
  background: var(--pg-bg);
  min-height: 100vh;
  padding: 32px 20px 72px;
}

/* The timer panel is a solid fill. Without this it covers the wallpaper
   painted on the body, including once a session is running. */
html[data-wallpaper] body.timer-page .pg {
  background: transparent;
}

.pg-shell {
  max-width: 560px;
  margin: 0 auto;
}

.pg-head {
  text-align: center;
  margin-bottom: 28px;
}

.pg-kicker {
  font-size: var(--pg-eyebrow);
  letter-spacing: var(--pg-eyebrow-tracking);
  text-transform: uppercase;
  color: var(--pg-text-3);
  margin-bottom: 8px;
}

.pg-head h1 {
  font-family: var(--pg-serif);
  font-size: 32px;
  font-weight: 400;
  margin: 0;
}

.pg-greeting {
  font-size: 14px;
  color: var(--pg-text-2);
  margin-top: 6px;
}

/* The intro and wallpaper picker are setup only. A running session is the clock. */
body.timer-page.is-timing {
  padding-top: 0;
}

body.timer-page.is-timing .site-header {
  display: none;
}

body.timer-page.is-timing .pg {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
}

body.timer-page.is-timing .pg-shell {
  width: min(560px, 100%);
}

#pg-session {
  transition: opacity 0.55s ease, transform 0.55s ease;
}

#pg-session.is-arriving {
  opacity: 0;
  transform: translateY(12px);
}

@media (prefers-reduced-motion: reduce) {
  #pg-session {
    transition: none;
  }

  #pg-session.is-arriving {
    transform: none;
  }
}

.timer-page .wall-fold {
  width: 100%;
  margin: 0 0 20px;
  text-align: center;
}

.timer-page .wall-fold summary {
  display: inline-block;
}

.timer-page .wall-fold[open] {
  text-align: left;
}

.pg-card {
  background: var(--pg-card);
  border-radius: var(--pg-organic);
  padding: 16px;
  box-shadow: 0 1px 3px var(--pg-shadow);
}

.pg-card + .pg-card {
  margin-top: 16px;
}

.pg-label {
  font-size: var(--pg-eyebrow);
  letter-spacing: var(--pg-eyebrow-tracking);
  text-transform: uppercase;
  color: var(--pg-text-3);
  margin: 0 0 12px;
}

/* ============================================================
   MODE PICKER (Strava-style sliding underline)
   ============================================================ */

.pg-tabs {
  position: relative;
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--pg-separator);
  margin-bottom: 20px;
}

.pg-tab {
  flex: 1;
  appearance: none;
  background: none;
  border: 0;
  padding: 10px 4px 12px;
  font-family: var(--pg-ui);
  font-size: 13px;
  font-weight: 500;
  color: var(--pg-text-3);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  transition: color 0.2s ease;
}

.pg-tab svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pg-tab:hover {
  color: var(--pg-text-2);
}

.pg-tab[aria-selected="true"] {
  color: var(--pg-text);
}

.pg-tab-underline {
  position: absolute;
  bottom: -1px;
  height: 2px;
  background: var(--pg-accent);
  border-radius: 2px;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), width 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

/* ============================================================
   FORM CONTROLS
   ============================================================ */

.pg-field {
  margin-bottom: 16px;
}

.pg-field:last-child {
  margin-bottom: 0;
}

.pg-field > label {
  display: block;
  font-size: var(--pg-eyebrow);
  letter-spacing: var(--pg-eyebrow-tracking);
  text-transform: uppercase;
  color: var(--pg-text-3);
  margin-bottom: 6px;
}

.pg-stepper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pg-stepper button {
  width: 34px;
  height: 34px;
  flex: none;
  appearance: none;
  border: 1px solid var(--pg-separator);
  background: var(--pg-surface);
  color: var(--pg-text);
  border-radius: var(--pg-organic-sm);
  font-family: var(--pg-ui);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.12s ease, opacity 0.12s ease;
}

.pg-stepper button:active {
  transform: scale(0.97);
  opacity: 0.85;
}

.pg-stepper button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.pg-stepper output {
  flex: 1;
  text-align: center;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}

.pg-stepper-sub {
  font-size: 13px;
  color: var(--pg-text-3);
  display: block;
  margin-top: 2px;
}

.pg-subject-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pg-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--pg-accent);
  flex: none;
}

.pg select {
  flex: 1;
  appearance: none;
  font-family: var(--pg-ui);
  font-size: 15px;
  color: var(--pg-text);
  background-color: var(--pg-surface);
  border: 1px solid var(--pg-separator);
  border-radius: var(--pg-organic-sm);
  padding: 10px 34px 10px 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%236b6157' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px 8px;
  cursor: pointer;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.pg-btn {
  appearance: none;
  font-family: var(--pg-ui);
  font-size: 15px;
  font-weight: 500;
  padding: 12px 20px;
  border-radius: var(--pg-organic-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, opacity 0.12s ease;
}

.pg-btn:active {
  transform: scale(0.97);
  opacity: 0.85;
}

.pg-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.pg-btn-primary {
  background: var(--pg-accent);
  color: var(--pg-bg);
}

[data-theme="dark"] .pg .pg-btn-primary {
  color: #14110f;
}

.pg-btn-outline {
  background: transparent;
  border-color: var(--pg-accent);
  color: var(--pg-accent);
}

.pg-btn-quiet {
  background: var(--pg-surface);
  border-color: var(--pg-separator);
  color: var(--pg-text-2);
}

.pg-btn-danger {
  background: transparent;
  border-color: var(--pg-danger);
  color: var(--pg-danger);
}

.pg-btn-block {
  width: 100%;
  display: block;
}

.pg-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.pg-actions .pg-btn {
  flex: 1;
}

/* Small print: mode hints, save status, lock warning. */
.pg-note {
  font-size: 13px;
  line-height: 1.5;
  color: var(--pg-text-3);
  margin-top: 10px;
}

.pg-note-center {
  text-align: center;
}

.pg-note a {
  color: var(--pg-accent);
}

/* ============================================================
   RUNNING SESSION DISPLAY
   ============================================================ */

#pg-session:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 20;
}

.pg-session-screen {
  position: relative;
  height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--pg-text);
}

.pg-glass {
  background: color-mix(in srgb, var(--pg-text) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--pg-text) 14%, transparent);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
}

.pg-pause {
  position: absolute;
  top: 16px;
  left: 20px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  color: inherit;
  cursor: pointer;
}

.pg-pause svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.pg-pause .icon-play {
  display: none;
}

.pg-pause[data-state="paused"] .icon-pause {
  display: none;
}

.pg-pause[data-state="paused"] .icon-play {
  display: block;
}

.pg-stage {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 72px 20px 96px;
  pointer-events: none;
}

.pg-stage > * {
  pointer-events: auto;
}

.pg-clock {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pg-ring-wrap {
  position: relative;
  width: min(260px, 72vw);
  height: min(260px, 72vw);
}

.pg-breath,
.pg-progress {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.pg-breath .track,
.pg-progress .track,
.pg-breath .arc,
.pg-progress .arc {
  fill: none;
  stroke-linecap: round;
}

.pg-breath .track,
.pg-progress .track {
  stroke: color-mix(in srgb, var(--pg-text) 12%, transparent);
  stroke-width: 8;
}

.pg-breath .arc-a {
  stroke: color-mix(in srgb, var(--pg-text) 30%, transparent);
  stroke-width: 8;
  stroke-dasharray: 191.6 575;
}

.pg-breath .arc-b {
  stroke: color-mix(in srgb, var(--pg-text) 15%, transparent);
  stroke-width: 6;
  stroke-dasharray: 117 650;
}

.pg-breath .spin {
  transform-origin: 130px 130px;
  animation: pg-spin 4s linear infinite;
}

.pg-breath .spin-b {
  animation-name: pg-spin-back;
}

.pg-progress .arc {
  stroke: color-mix(in srgb, var(--pg-text) 50%, transparent);
  stroke-width: 8;
  stroke-dasharray: 766.55 766.55;
  stroke-dashoffset: 766.55;
  transform-box: fill-box;
  transform-origin: center;
  transform: rotate(-90deg);
  transition: stroke-dashoffset 1s linear, stroke 0.3s ease;
}

.pg-progress .arc[data-phase="break"] {
  stroke: var(--pg-break);
}

.pg-progress .arc[data-urgent="true"] {
  stroke: var(--pg-urgent);
}

.pg-session-screen[data-mode="continuous"] .pg-progress,
.pg-session-screen:not([data-mode="continuous"]) .pg-breath {
  display: none;
}

.pg-readout {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.pg-phase {
  order: 2;
  margin: 14px 0 0;
  font-family: var(--pg-serif);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--pg-text-3);
}

.pg-session-screen[data-mode="pomodoro"] .pg-phase,
.pg-session-screen[data-mode="set"] .pg-phase {
  order: 0;
  margin: 0 0 14px;
}

.pg-session-screen[data-mode="set"] .pg-phase {
  display: none;
}

.pg-session-screen[data-phase="break"] .pg-phase {
  color: var(--pg-break);
}

.pg-time {
  margin: 0;
  font-family: var(--pg-serif);
  font-size: 44px;
  font-weight: 200;
  letter-spacing: 2px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--pg-text);
}

.pg-session-screen[data-mode="continuous"] .pg-time {
  font-size: 52px;
}

.pg-time[data-urgent="true"] {
  color: var(--pg-urgent);
}

.pg-session-screen[data-phase="break"] .pg-time {
  color: var(--pg-break);
}

.pg-cycle,
.pg-inside,
.pg-sub {
  margin: 0;
  font-family: var(--pg-serif);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pg-text-3);
}

.pg-sub {
  order: 3;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 1px;
  text-transform: none;
  color: var(--pg-text-2);
}

.pg-session-screen[data-mode="continuous"] .pg-sub {
  display: none;
}

.pg-break {
  order: 4;
  margin: 10px 0 0;
  padding: 4px 12px;
  border-radius: 999px;
  font-family: var(--pg-serif);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--pg-break) 80%, transparent);
  background: color-mix(in srgb, var(--pg-break) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--pg-break) 30%, transparent);
}

.pg-pill,
.pg-lock,
.pg-leaves {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  color: inherit;
  font-family: var(--pg-serif);
  cursor: pointer;
}

.pg-pill {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
}

.pg-pill .pg-dot {
  width: 8px;
  height: 8px;
}

.pg-pill[disabled] {
  opacity: 0.6;
  cursor: default;
}

.pg-session.is-locked .pg-chevron {
  display: none;
}

.pg-chevron {
  width: 10px;
  height: 10px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pg-lock {
  gap: 6px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--pg-text-2);
}

.pg-lock svg,
.pg-hold-icon {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pg-hold {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: min(100%, 280px);
  padding: 20px 0;
  border: 0;
  background: transparent;
  color: var(--pg-text-2);
  font: inherit;
  cursor: pointer;
  touch-action: none;
}

.pg-hold-lock {
  position: relative;
  width: 72px;
  height: 72px;
}

.pg-hold-ring {
  width: 72px;
  height: 72px;
}

.pg-hold-ring circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 207.35 207.35;
  stroke-dashoffset: 207.35;
  transform-box: fill-box;
  transform-origin: center;
  transform: rotate(-90deg);
}

.pg-hold-icon {
  position: absolute;
  inset: 0;
  width: 28px;
  height: 28px;
  margin: auto;
  stroke-width: 1.4;
}

.pg-hold-kicker,
.pg-hold-label {
  font-family: var(--pg-serif);
  text-transform: uppercase;
}

.pg-hold-kicker {
  font-size: 11px;
  letter-spacing: 0.36em;
}

.pg-hold-label {
  height: 14px;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: none;
}

.pg-hold-track {
  display: block;
  width: 120px;
  height: 3px;
  margin-top: -8px;
  border-radius: 2px;
  background: color-mix(in srgb, currentColor 25%, transparent);
  overflow: hidden;
}

.pg-hold-bar {
  display: block;
  width: 100%;
  height: 100%;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
}

.pg-leaves {
  gap: 6px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 500;
  color: var(--pg-text-3);
  cursor: default;
}

.pg-leaves svg {
  width: 10px;
  height: 10px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.pg-end {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 50px;
  padding: 18px;
  border-radius: 14px;
  color: inherit;
  font-family: var(--pg-serif);
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.pg-end:active {
  transform: scale(0.97);
}

.pg-session.is-locked .pg-pause,
.pg-session.is-locked .pg-end,
.pg-session.is-locked .pg-lock {
  visibility: hidden;
  pointer-events: none;
}

html[data-wallpaper] body.timer-page.is-timing .pg-session-screen {
  color: #fff;
}

html[data-wallpaper] body.timer-page.is-timing .pg-glass {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

html[data-wallpaper] body.timer-page.is-timing .pg-phase,
html[data-wallpaper] body.timer-page.is-timing .pg-cycle,
html[data-wallpaper] body.timer-page.is-timing .pg-inside,
html[data-wallpaper] body.timer-page.is-timing .pg-leaves {
  color: rgba(255, 255, 255, 0.5);
}

html[data-wallpaper] body.timer-page.is-timing .pg-sub,
html[data-wallpaper] body.timer-page.is-timing .pg-lock,
html[data-wallpaper] body.timer-page.is-timing .pg-hold {
  color: rgba(255, 255, 255, 0.6);
}

html[data-wallpaper] body.timer-page.is-timing .pg-time {
  color: #fff;
}

html[data-wallpaper] body.timer-page.is-timing .pg-breath .track,
html[data-wallpaper] body.timer-page.is-timing .pg-progress .track {
  stroke: rgba(255, 255, 255, 0.08);
}

html[data-wallpaper] body.timer-page.is-timing .pg-breath .arc-a {
  stroke: rgba(255, 255, 255, 0.3);
}

html[data-wallpaper] body.timer-page.is-timing .pg-breath .arc-b {
  stroke: rgba(255, 255, 255, 0.15);
}

html[data-wallpaper] body.timer-page.is-timing .pg-progress .arc {
  stroke: rgba(255, 255, 255, 0.5);
}

html[data-wallpaper] body.timer-page.is-timing .pg-session-screen[data-phase="break"] .pg-time,
html[data-wallpaper] body.timer-page.is-timing .pg-session-screen[data-phase="break"] .pg-phase,
html[data-wallpaper] body.timer-page.is-timing .pg-progress .arc[data-phase="break"] {
  color: #34c759;
  stroke: #34c759;
}

html[data-wallpaper] body.timer-page.is-timing .pg-time[data-urgent="true"],
html[data-wallpaper] body.timer-page.is-timing .pg-progress .arc[data-urgent="true"] {
  color: #ff9500;
  stroke: #ff9500;
}

@keyframes pg-spin {
  to { transform: rotate(360deg); }
}

@keyframes pg-spin-back {
  from { transform: rotate(180deg); }
  to { transform: rotate(-180deg); }
}

@media (prefers-reduced-motion: reduce) {
  .pg-breath .spin,
  .pg-progress .arc,
  .pg-hold-ring circle {
    animation: none;
    transition: none;
  }
}

/* ============================================================
   SUMMARY
   ============================================================ */

.pg-summary-time {
  font-family: var(--pg-serif);
  font-size: 44px;
  font-weight: 400;
  letter-spacing: 2px;
  font-variant-numeric: tabular-nums;
  text-align: center;
  margin: 0 0 4px;
}

.pg-stat-row {
  display: flex;
  margin-top: 18px;
  border-top: 1px solid var(--pg-separator);
  padding-top: 14px;
}

.pg-stat {
  flex: 1;
  text-align: center;
  border-left: 1px solid var(--pg-separator);
}

.pg-stat:first-child {
  border-left: 0;
}

.pg-stat-value {
  font-family: var(--pg-serif);
  font-size: 22px;
  font-variant-numeric: tabular-nums;
}

.pg-stat-label {
  font-size: var(--pg-eyebrow);
  letter-spacing: var(--pg-eyebrow-tracking);
  text-transform: uppercase;
  color: var(--pg-text-3);
  margin-top: 4px;
}

.pg-seg-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

.pg-seg {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 0;
  border-bottom: 1px solid var(--pg-separator);
  font-size: 13px;
}

.pg-seg:last-child {
  border-bottom: 0;
}

.pg-seg-name {
  flex: 1;
}

.pg-seg-time {
  color: var(--pg-text-2);
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   RECOVERY BANNER
   ============================================================ */

.pg-recover {
  background: var(--pg-surface);
  border: 1px solid var(--pg-accent);
  border-radius: var(--pg-organic);
  padding: 14px 16px;
  margin-bottom: 16px;
}

.pg-recover p {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--pg-text-2);
}

.pg-recover-actions {
  display: flex;
  gap: 8px;
}

/* ============================================================
   DIM OVERLAY
   ============================================================ */

.pg-dim {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 50;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.pg-dim[data-on="true"] {
  opacity: 1;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 480px) {
  .pg {
    padding: 20px 14px 56px;
  }

  .pg-time {
    font-size: 46px;
    letter-spacing: 2px;
  }

  .pg-tab {
    font-size: 13px;
  }

  .pg-actions {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pg-tab-underline,
  .pg-bar-fill,
  .pg-btn,
  .pg-dim {
    transition: none;
  }
}
