/* ===== Panemdle (/hunger-games-wordle/) Stylesheet =====
 * Daily Hunger Games Character Wordle Game for DistrictQuiz.com.
 *
 * Strictly uses CSS custom properties from /styles/main.css (ZERO raw hex colors).
 * Mobile responsive down to 320px with zero horizontal page overflow.
 */

.pd-main {
  padding-top: 84px;
  background: var(--bg);
  color: var(--text-body);
  max-width: 100%;
  overflow-x: clip;
}

.pd-main .breadcrumb {
  padding-top: 8px;
}

.pd-container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
  min-width: 0;
}

/* ===== HERO ===== */
.pd-hero {
  padding: 26px 0 30px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}

.pd-kicker {
  display: inline-block;
  margin-bottom: 8px;
  font-family: var(--font-ui);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.pd-hero h1 {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.45rem);
  line-height: 1.2;
  color: var(--gold-bright);
  overflow-wrap: anywhere;
}

.pd-lede {
  margin: 0 0 14px;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text-body);
  max-width: 780px;
}

.pd-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pd-trust-pills li {
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--gold-bright);
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
}

/* ===== GAME WORKBENCH ===== */
.pd-game-section {
  padding: 28px 0 36px;
}

.pd-shell {
  background: var(--bg-card);
  border: 1px solid var(--gold-dim);
  border-radius: 14px;
  padding: 22px;
  min-width: 0;
  box-sizing: border-box;
}

/* Top bar: Mode toggle + Puzzle meta + Stats button */
.pd-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.pd-mode-group {
  display: inline-flex;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  gap: 4px;
}

.pd-mode-btn {
  min-height: 38px;
  padding: 6px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.pd-mode-btn[aria-pressed="true"],
.pd-mode-btn.is-active {
  background: var(--gold);
  color: var(--bg);
}

.pd-mode-btn:hover:not(.is-active) {
  color: var(--gold-bright);
}

.pd-meta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--muted);
}

.pd-puzzle-badge {
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--gold-bright);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.pd-streak-pill {
  padding: 5px 10px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--ember) 14%, var(--bg));
  border: 1px solid color-mix(in srgb, var(--ember) 40%, var(--line));
  color: var(--text);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.pd-stats-toggle {
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid var(--gold-dim);
  border-radius: 6px;
  background: var(--bg);
  color: var(--gold-bright);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.pd-stats-toggle:hover {
  border-color: var(--gold-bright);
  background: color-mix(in srgb, var(--gold) 10%, var(--bg));
}

/* Collapsible Stats Panel */
.pd-stats-panel {
  margin-bottom: 18px;
  padding: 16px;
  border-radius: 10px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
}

.pd-stats-panel[hidden] {
  display: none;
}

.pd-stats-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.pd-kpi {
  padding: 10px 8px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  text-align: center;
}

.pd-kpi-val {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
}

.pd-kpi-label {
  display: block;
  margin-top: 2px;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.pd-dist-title {
  margin: 0 0 8px;
  font-family: var(--font-ui);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
}

.pd-dist-rows {
  display: grid;
  gap: 6px;
}

.pd-dist-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--text-body);
}

.pd-dist-track {
  height: 14px;
  border-radius: 4px;
  background: var(--bg);
  border: 1px solid var(--line);
  overflow: hidden;
}

.pd-dist-bar {
  height: 100%;
  min-width: 2px;
  background: var(--gold);
  border-radius: 3px;
}

.pd-dist-count {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

/* Search & Autocomplete */
.pd-search-wrap {
  position: relative;
  margin-bottom: 14px;
}

.pd-search-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.pd-input-box {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}

.pd-search-input {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--gold-dim);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 0.96rem;
  line-height: 1.35;
  box-sizing: border-box;
}

.pd-search-input::placeholder {
  color: var(--muted);
}

.pd-search-input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.pd-submit-btn {
  flex: 0 0 auto;
  min-height: 48px;
  padding: 10px 20px;
  border: 2px solid var(--gold);
  border-radius: 8px;
  background: var(--gold);
  color: var(--bg);
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.pd-submit-btn:hover:not(:disabled) {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
}

.pd-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pd-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 40;
  max-height: 280px;
  overflow-y: auto;
  margin: 0;
  padding: 4px;
  list-style: none;
  background: var(--bg-alt);
  border: 1px solid var(--gold-dim);
  border-radius: 10px;
  box-shadow: 0 14px 34px color-mix(in srgb, var(--bg) 82%, transparent);
}

.pd-dropdown[hidden] {
  display: none;
}

.pd-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  padding: 9px 12px;
  border-radius: 7px;
  cursor: pointer;
  font-family: var(--font-ui);
  color: var(--text);
  transition: background 0.12s ease;
}

.pd-dropdown-item:hover,
.pd-dropdown-item.is-highlighted {
  background: color-mix(in srgb, var(--gold) 18%, var(--bg-card));
}

.pd-dd-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
}

.pd-dd-meta {
  font-size: 0.76rem;
  color: var(--muted);
  white-space: nowrap;
}

.pd-dropdown-empty {
  padding: 12px;
  text-align: center;
  font-family: var(--font-ui);
  font-size: 0.84rem;
  color: var(--muted);
}

/* Action bar: Guesses counter + Optional Lore Hint */
.pd-controls-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.pd-attempts-text {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-body);
  font-variant-numeric: tabular-nums;
}

.pd-hint-btn {
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid var(--gold-dim);
  border-radius: 6px;
  background: var(--bg);
  color: var(--gold-bright);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.pd-hint-btn:hover:not(:disabled) {
  border-color: var(--gold-bright);
  background: color-mix(in srgb, var(--gold) 12%, var(--bg));
}

.pd-hint-btn:disabled {
  opacity: 0.55;
  color: var(--muted);
  border-color: var(--line);
  cursor: not-allowed;
}

.pd-hint-box {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--gold-dim);
  background: color-mix(in srgb, var(--gold) 10%, var(--bg));
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text);
}

.pd-hint-box[hidden] {
  display: none;
}

.pd-hint-label {
  display: inline-block;
  margin-right: 6px;
  font-family: var(--font-ui);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-bright);
}

/* Legend */
.pd-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-bottom: 14px;
  padding: 9px 12px;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-family: var(--font-ui);
  font-size: 0.76rem;
  color: var(--muted);
}

.pd-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pd-swatch {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  flex-shrink: 0;
}

.pd-swatch-exact {
  background: var(--green);
  border: 1px solid var(--forest);
}

.pd-swatch-close {
  background: var(--amber);
  border: 1px solid var(--gold-bright);
}

.pd-swatch-miss {
  background: var(--bg-alt);
  border: 1px solid var(--coal);
}

/* ===== GUESS BOARD ===== */
.pd-board-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}

.pd-board {
  min-width: 660px;
  display: grid;
  gap: 8px;
}

.pd-row {
  display: grid;
  grid-template-columns: minmax(126px, 1.35fr) repeat(6, minmax(80px, 1fr));
  gap: 6px;
  align-items: stretch;
}

.pd-row-head {
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
}

.pd-col-head {
  padding: 4px 6px;
  text-align: center;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
}

.pd-col-head:first-child {
  text-align: left;
}

.pd-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 7px 6px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  box-sizing: border-box;
}

.pd-cell-name {
  align-items: flex-start;
  text-align: left;
  padding: 7px 10px;
  background: var(--bg);
  border-color: var(--gold-dim);
  color: var(--gold-bright);
  font-family: var(--font-heading);
  font-size: 0.84rem;
}

.pd-cell-empty {
  background: color-mix(in srgb, var(--bg) 72%, var(--bg-card));
  border: 1px dashed var(--line);
  color: var(--soft);
  font-weight: 400;
}

.pd-cell-exact {
  background: color-mix(in srgb, var(--green) 78%, var(--bg));
  border-color: var(--green);
  color: var(--text);
}

.pd-cell-close {
  background: color-mix(in srgb, var(--amber) 82%, var(--bg));
  border-color: var(--gold-bright);
  color: var(--text);
}

.pd-cell-miss {
  background: var(--bg-alt);
  border-color: color-mix(in srgb, var(--coal) 60%, var(--line));
  color: var(--muted);
}

.pd-arrow {
  display: inline-block;
  margin-top: 2px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-bright);
}

.pd-cell-exact .pd-arrow {
  color: var(--text);
}

@keyframes pdTileFlip {
  0% {
    transform: rotateX(88deg);
    opacity: 0.25;
  }
  100% {
    transform: rotateX(0deg);
    opacity: 1;
  }
}

.pd-row-new .pd-cell-tile {
  animation: pdTileFlip 0.42s ease both;
}

.pd-row-new .pd-cell-tile:nth-child(2) { animation-delay: 0ms; }
.pd-row-new .pd-cell-tile:nth-child(3) { animation-delay: 90ms; }
.pd-row-new .pd-cell-tile:nth-child(4) { animation-delay: 180ms; }
.pd-row-new .pd-cell-tile:nth-child(5) { animation-delay: 270ms; }
.pd-row-new .pd-cell-tile:nth-child(6) { animation-delay: 360ms; }
.pd-row-new .pd-cell-tile:nth-child(7) { animation-delay: 450ms; }

.pd-scroll-hint {
  display: none;
  margin: 6px 0 0;
  font-family: var(--font-ui);
  font-size: 0.73rem;
  color: var(--muted);
  text-align: right;
}

/* ===== END-OF-GAME OUTCOME + SHARE + RETENTION BRIDGE ===== */
.pd-outcome {
  margin-top: 20px;
  padding: 20px;
  border-radius: 12px;
  background: var(--bg-alt);
  border: 1px solid var(--gold);
}

.pd-outcome[hidden] {
  display: none;
}

.pd-outcome-win {
  border-color: var(--green);
  background: color-mix(in srgb, var(--green) 10%, var(--bg-alt));
}

.pd-outcome-loss {
  border-color: var(--ember);
  background: color-mix(in srgb, var(--ember) 10%, var(--bg-alt));
}

.pd-outcome-kicker {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-ui);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.pd-outcome-title {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: 1.38rem;
  color: var(--gold-bright);
}

.pd-outcome-copy {
  margin: 0 0 12px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-body);
}

.pd-emoji-preview {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-family: var(--font-ui);
  font-size: 0.92rem;
  line-height: 1.55;
  white-space: pre-wrap;
  color: var(--text);
}

.pd-outcome-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.pd-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 20px;
  border: 2px solid var(--gold);
  border-radius: 8px;
  background: var(--gold);
  color: var(--bg);
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.pd-btn-primary:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  color: var(--bg);
}

.pd-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid var(--gold-dim);
  border-radius: 8px;
  background: var(--bg);
  color: var(--gold-bright);
  font-family: var(--font-ui);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.pd-btn-secondary:hover {
  border-color: var(--gold-bright);
  color: var(--text);
}

.pd-countdown-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: var(--muted);
}

.pd-countdown-clock {
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
}

/* Post-Game Retention Bridge */
.pd-bridge {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.pd-bridge-kicker {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.pd-bridge-heading {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: 1.12rem;
  color: var(--gold-bright);
}

.pd-bridge-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.pd-bridge-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 9px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.pd-bridge-card:hover {
  border-color: var(--gold);
  transform: translateY(-1px);
}

.pd-bridge-card strong {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  color: var(--gold-bright);
}

.pd-bridge-card span {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--muted);
}

/* ===== EDITORIAL GUIDE & FAQ SECTIONS ===== */
.pd-section {
  padding: 36px 0;
  border-top: 1px solid var(--line);
}

.pd-section-alt {
  background: var(--bg-alt);
}

.pd-section h2 {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: clamp(1.32rem, 2.8vw, 1.75rem);
  color: var(--gold-bright);
}

.pd-section p {
  margin: 0 0 12px;
  font-size: 0.98rem;
  line-height: 1.68;
  color: var(--text-body);
}

.pd-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.pd-guide-card {
  padding: 18px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  min-width: 0;
}

.pd-guide-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: 1.02rem;
  color: var(--gold);
}

.pd-guide-card p {
  margin: 0;
  font-size: 0.91rem;
  line-height: 1.6;
  color: var(--text-body);
}

.pd-tips-list {
  margin: 14px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  color: var(--text-body);
  font-size: 0.96rem;
  line-height: 1.62;
}

.pd-tips-list strong {
  color: var(--gold-bright);
}

.pd-faq-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.pd-faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.pd-faq-item summary {
  padding: 15px 18px;
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--gold-bright);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pd-faq-item summary::-webkit-details-marker {
  display: none;
}

.pd-faq-item summary::after {
  content: '+';
  font-family: var(--font-ui);
  font-size: 1.15rem;
  color: var(--gold);
  flex-shrink: 0;
}

.pd-faq-item[open] summary::after {
  content: '\2212';
}

.pd-faq-body {
  padding: 0 18px 15px;
  font-size: 0.94rem;
  line-height: 1.66;
  color: var(--text-body);
}

.pd-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.pd-related-card {
  display: block;
  padding: 16px 18px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
  min-width: 0;
  transition: border-color 0.2s ease;
}

.pd-related-card:hover {
  border-color: var(--gold);
}

.pd-related-card h3 {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  color: var(--gold-bright);
}

.pd-related-card p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--muted);
}

.pd-disclaimer {
  margin-top: 18px;
  padding: 13px 16px;
  border-left: 3px solid var(--gold);
  border-radius: 6px;
  background: var(--bg-card);
  font-size: 0.85rem;
  line-height: 1.58;
  color: var(--muted);
}

/* Toast notification */
.pd-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  z-index: 2000;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  font-family: var(--font-ui);
  font-size: 0.84rem;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.pd-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===== MOBILE <= 760px (0px page overflow down to 320px) ===== */
@media (max-width: 760px) {
  .pd-container {
    padding: 0 14px;
  }
  .pd-shell {
    padding: 15px 12px;
  }
  .pd-search-row {
    flex-direction: column;
  }
  .pd-submit-btn {
    width: 100%;
  }
  .pd-stats-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pd-bridge-grid,
  .pd-guide-grid,
  .pd-related-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .pd-outcome-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .pd-btn-primary,
  .pd-btn-secondary {
    width: 100%;
  }
  .pd-scroll-hint {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pd-row-new .pd-cell-tile {
    animation: none;
  }
  .pd-mode-btn,
  .pd-stats-toggle,
  .pd-submit-btn,
  .pd-dropdown-item,
  .pd-hint-btn,
  .pd-btn-primary,
  .pd-btn-secondary,
  .pd-bridge-card,
  .pd-related-card,
  .pd-toast {
    transition: none;
  }
  .pd-bridge-card:hover {
    transform: none;
  }
}
