/**
 * enhancements.css
 * Pixel Arcade — UI/UX Enhancement Layer Styles
 *
 * Features:
 * - Splash screen
 * - Theme switcher dots
 * - XP / Level progress bar
 * - Game search + filter bar
 * - Stats modal
 * - Keyboard shortcuts overlay
 * - Floating score popup
 * - Screen shake
 * - Scroll-to-top button
 * - 3D card tilt helper
 * - BGM button
 * - Improved modal close animation
 * - Level-up splash
 * - Tooltip utility
 */

/* ═══════════════════════════════════════════════════════
   SPLASH SCREEN
═══════════════════════════════════════════════════════ */
#splash-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #080810;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  cursor: pointer;
  animation: splashIn 0.5s ease;
  user-select: none;
}

@keyframes splashIn  { from { opacity: 0; }          to { opacity: 1; } }
@keyframes splashOut {
  0%   { opacity: 1; transform: scale(1) translateY(0); }
  40%  { opacity: 0.8; transform: scale(1.04) translateY(-8px); }
  100% { opacity: 0; transform: scale(1.08) translateY(-30px); }
}

.splash-logo {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.2rem, 9vw, 5.5rem);
  font-weight: 900;
  letter-spacing: 6px;
  line-height: 1.1;
  text-align: center;
  background: linear-gradient(90deg, #00d4ff, #b44fff, #ff2d78, #ffe600, #00ff9d, #00d4ff);
  background-size: 400% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: splashGrad 3s linear infinite;
}

.splash-sub {
  font-family: 'Press Start 2P', monospace;
  font-size: clamp(0.45rem, 1.5vw, 0.65rem);
  color: #00ff9d;
  letter-spacing: 4px;
  animation: blink 0.9s step-end infinite;
}

.splash-tagline {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.4rem;
  color: rgba(107,122,171,0.55);
  letter-spacing: 2px;
  margin-top: 4px;
  text-align: center;
  line-height: 1.8;
}

.splash-bar {
  width: clamp(180px, 40vw, 260px);
  height: 5px;
  background: rgba(255,255,255,0.07);
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid rgba(0,212,255,0.15);
}

.splash-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #00d4ff, #b44fff, #ff2d78);
  background-size: 200% 100%;
  border-radius: 3px;
  animation: splashLoad 2.2s cubic-bezier(0.4,0,0.2,1) forwards, splashBarBg 1s linear infinite;
  box-shadow: 0 0 10px rgba(0,212,255,0.5);
}

.splash-skip {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.38rem;
  color: rgba(107,122,171,0.4);
  letter-spacing: 2px;
  animation: blink 1.5s step-end infinite;
  margin-top: 6px;
}

@keyframes splashGrad   { to   { background-position: 400% 0; } }
@keyframes splashLoad   { from { width: 0; }   to { width: 100%; } }
@keyframes splashBarBg  { to   { background-position: 200% 0; } }


/* ═══════════════════════════════════════════════════════
   THEME SWITCHER
═══════════════════════════════════════════════════════ */
#theme-switcher {
  position: fixed;
  left: 18px;
  bottom: 90px;
  z-index: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.theme-toggle-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(8,8,16,0.92);
  cursor: pointer;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, border-color 0.3s;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.6);
  position: relative;
  z-index: 2;
}

.theme-toggle-btn:hover {
  transform: scale(1.15) rotate(20deg);
  border-color: rgba(255,255,255,0.3);
}

.theme-panel {
  display: flex;
  flex-direction: column;
  gap: 7px;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.45s cubic-bezier(0.34,1.56,0.64,1), opacity 0.3s;
  opacity: 0;
}

.theme-panel.open {
  max-height: 240px;
  opacity: 1;
}

.theme-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1), border-color 0.2s;
  position: relative;
}

.theme-dot:hover  { transform: scale(1.25); }
.theme-dot.active { border-color: #fff; transform: scale(1.1); }

.theme-dot::after {
  content: attr(title);
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Press Start 2P', monospace;
  font-size: 0.38rem;
  color: #fff;
  background: rgba(0,0,0,0.85);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 4px 8px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  letter-spacing: 1px;
}

.theme-dot:hover::after { opacity: 1; }


/* ═══════════════════════════════════════════════════════
   XP / LEVEL BAR
═══════════════════════════════════════════════════════ */
.xp-bar-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,230,0,0.18);
  border-radius: 8px;
  padding: 6px 13px;
  min-width: 130px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.xp-bar-wrap:hover {
  border-color: rgba(255,230,0,0.4);
  box-shadow: 0 0 18px rgba(255,230,0,0.1);
}

.xp-bar-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.xp-level-text {
  font-family: var(--font-pixel);
  font-size: 0.37rem;
  color: #ffe600;
  letter-spacing: 1px;
  white-space: nowrap;
}

.xp-points-text {
  font-family: var(--font-pixel);
  font-size: 0.32rem;
  color: rgba(107,122,171,0.7);
  white-space: nowrap;
}

.xp-bar {
  height: 4px;
  background: rgba(255,255,255,0.07);
  border-radius: 2px;
  overflow: hidden;
}

.xp-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #ffe600, #ff6b00);
  border-radius: 2px;
  transition: width 0.9s cubic-bezier(0.34,1.56,0.64,1);
  box-shadow: 0 0 8px rgba(255,230,0,0.5);
}


/* ═══════════════════════════════════════════════════════
   LEVEL-UP SPLASH
═══════════════════════════════════════════════════════ */
.level-up-splash {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9990;
  text-align: center;
  pointer-events: none;
  animation: lvlUpAnim 2.2s ease forwards;
}

.level-up-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 8vw, 3.5rem);
  color: #ffe600;
  text-shadow: 0 0 40px rgba(255,230,0,0.9), 0 0 80px rgba(255,230,0,0.4);
  letter-spacing: 6px;
}

.level-up-sub {
  font-family: var(--font-pixel);
  font-size: 0.55rem;
  color: rgba(232,238,255,0.7);
  letter-spacing: 3px;
  margin-top: 10px;
}

@keyframes lvlUpAnim {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.4); }
  18%  { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
  40%  { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  75%  { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -55%) scale(0.95); }
}


/* ═══════════════════════════════════════════════════════
   GAME SEARCH + FILTER BAR
═══════════════════════════════════════════════════════ */
.game-filter-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
  align-items: center;
}

.game-search-wrap {
  flex: 1;
  min-width: 180px;
  position: relative;
}

.game-search-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(107,122,171,0.5);
  font-size: 0.95rem;
  pointer-events: none;
}

.game-search-input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(100,120,255,0.15);
  border-radius: 10px;
  padding: 10px 14px 10px 40px;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  letter-spacing: 1px;
}

.game-search-input:focus {
  border-color: rgba(0,212,255,0.45);
  box-shadow: 0 0 20px rgba(0,212,255,0.1);
  background: rgba(0,212,255,0.03);
}

.game-search-input::placeholder { color: rgba(107,122,171,0.45); font-weight: 400; }

.filter-tags { display: flex; gap: 6px; flex-wrap: wrap; }

.filter-tag {
  font-family: var(--font-pixel);
  font-size: 0.37rem;
  letter-spacing: 1px;
  padding: 7px 13px;
  border-radius: 20px;
  border: 1px solid rgba(100,120,255,0.15);
  background: rgba(255,255,255,0.03);
  color: rgba(107,122,171,0.7);
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
  white-space: nowrap;
}

.filter-tag:hover { transform: scale(1.06); color: var(--text-primary); }

.filter-tag.active {
  background: rgba(0,212,255,0.1);
  border-color: rgba(0,212,255,0.4);
  color: #00d4ff;
  box-shadow: 0 0 12px rgba(0,212,255,0.12);
}

.game-card.hidden { display: none !important; }

/* Empty state when no results */
.no-results-msg {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 0;
  font-family: var(--font-pixel);
  font-size: 0.5rem;
  color: rgba(107,122,171,0.4);
  letter-spacing: 2px;
  display: none;
}

.no-results-msg.visible { display: block; }


/* ═══════════════════════════════════════════════════════
   SCROLL TO TOP
═══════════════════════════════════════════════════════ */
#scroll-to-top {
  position: fixed;
  right: 18px;
  bottom: 26px;
  z-index: 500;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.25);
  color: #00d4ff;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.8);
}

#scroll-to-top.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0) scale(1);
}

#scroll-to-top:hover {
  background: rgba(0,212,255,0.18);
  box-shadow: 0 0 28px rgba(0,212,255,0.35);
  transform: translateY(-4px) scale(1.08);
}


/* ═══════════════════════════════════════════════════════
   STATS MODAL
═══════════════════════════════════════════════════════ */
#stats-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#stats-modal.active { display: flex; }

.stats-box {
  position: relative;
  z-index: 1;
  background: #0a0a18;
  border: 1px solid rgba(180,79,255,0.28);
  border-radius: 20px;
  padding: 36px 32px;
  width: 100%;
  max-width: 620px;
  max-height: 88vh;
  overflow-y: auto;
  animation: modalIn 0.35s cubic-bezier(0.34,1.56,0.64,1);
  box-shadow: 0 0 60px rgba(180,79,255,0.1), 0 24px 80px rgba(0,0,0,0.7);
}

.stats-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.4rem;
  color: #b44fff;
  letter-spacing: 3px;
  text-align: center;
  margin-bottom: 24px;
}

.stats-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.stat-summary-box {
  background: rgba(180,79,255,0.06);
  border: 1px solid rgba(180,79,255,0.14);
  border-radius: 12px;
  padding: 16px 10px;
  text-align: center;
  transition: border-color 0.2s;
}

.stat-summary-box:hover { border-color: rgba(180,79,255,0.3); }

.stat-summary-val {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.9rem;
  color: #b44fff;
  text-shadow: 0 0 20px rgba(180,79,255,0.5);
  line-height: 1;
}

.stat-summary-lbl {
  font-family: var(--font-pixel);
  font-size: 0.36rem;
  color: rgba(107,122,171,0.6);
  letter-spacing: 1px;
  margin-top: 6px;
}

.stats-level-bar-wrap {
  background: rgba(180,79,255,0.06);
  border: 1px solid rgba(180,79,255,0.14);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 20px;
}

.stats-level-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.stats-level-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  color: #ffe600;
  letter-spacing: 2px;
}

.stats-level-next {
  font-family: var(--font-pixel);
  font-size: 0.36rem;
  color: rgba(107,122,171,0.6);
}

.stats-level-bar {
  height: 6px;
  background: rgba(255,255,255,0.07);
  border-radius: 3px;
  overflow: hidden;
}

.stats-level-fill {
  height: 100%;
  background: linear-gradient(90deg, #ffe600, #ff6b00);
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(255,230,0,0.5);
  transition: width 1s cubic-bezier(0.34,1.56,0.64,1);
}

.stats-section-label {
  font-family: var(--font-pixel);
  font-size: 0.4rem;
  color: rgba(107,122,171,0.5);
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.stats-games-list { display: flex; flex-direction: column; gap: 8px; }

.stat-game-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(100,120,255,0.08);
  border-radius: 10px;
  padding: 10px 14px;
  transition: all 0.2s;
  cursor: default;
}

.stat-game-row:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(100,120,255,0.18);
  transform: translateX(4px);
}

.stat-game-icon { font-size: 1.4rem; width: 32px; text-align: center; flex-shrink: 0; }

.stat-game-info { flex: 1; min-width: 0; }

.stat-game-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--text-primary);
  letter-spacing: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stat-game-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 5px;
}

.stat-game-bar-wrap {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.05);
  border-radius: 2px;
  overflow: hidden;
}

.stat-game-bar {
  height: 100%;
  border-radius: 2px;
  transition: width 1.1s cubic-bezier(0.34,1.56,0.64,1);
}

.stat-game-plays {
  font-family: var(--font-pixel);
  font-size: 0.32rem;
  color: rgba(107,122,171,0.5);
  letter-spacing: 1px;
  white-space: nowrap;
}

.stat-game-score {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  min-width: 80px;
  text-align: right;
  flex-shrink: 0;
}

#stats-close-btn {
  width: 100%;
  margin-top: 20px;
  padding: 12px;
  background: rgba(180,79,255,0.1);
  border: 1px solid rgba(180,79,255,0.25);
  border-radius: 10px;
  color: #b44fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.2s;
}

#stats-close-btn:hover {
  background: rgba(180,79,255,0.2);
  box-shadow: 0 0 20px rgba(180,79,255,0.25);
}


/* ═══════════════════════════════════════════════════════
   KEYBOARD SHORTCUTS OVERLAY
═══════════════════════════════════════════════════════ */
#shortcuts-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#shortcuts-overlay.active { display: flex; }

.shortcuts-box {
  position: relative;
  z-index: 1;
  background: #0a0a18;
  border: 1px solid rgba(0,255,157,0.3);
  border-radius: 20px;
  padding: 32px 28px;
  width: 100%;
  max-width: 480px;
  animation: modalIn 0.3s ease;
  box-shadow: 0 0 60px rgba(0,255,157,0.08), 0 20px 60px rgba(0,0,0,0.7);
}

.shortcuts-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.2rem;
  color: #00ff9d;
  letter-spacing: 3px;
  text-align: center;
  margin-bottom: 20px;
}

.shortcuts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.shortcut-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: rgba(0,255,157,0.03);
  border: 1px solid rgba(0,255,157,0.1);
  border-radius: 8px;
  transition: background 0.15s;
}

.shortcut-item:hover { background: rgba(0,255,157,0.07); }

.kbd {
  font-family: var(--font-pixel);
  font-size: 0.38rem;
  color: #00ff9d;
  background: rgba(0,255,157,0.1);
  border: 1px solid rgba(0,255,157,0.3);
  border-radius: 4px;
  padding: 3px 7px;
  min-width: 38px;
  text-align: center;
  letter-spacing: 1px;
  flex-shrink: 0;
}

.shortcut-desc {
  font-size: 0.78rem;
  color: rgba(232,238,255,0.6);
  font-family: var(--font-display);
  font-weight: 600;
}

.shortcuts-hint {
  font-family: var(--font-pixel);
  font-size: 0.36rem;
  color: rgba(107,122,171,0.4);
  text-align: center;
  margin-top: 16px;
  letter-spacing: 1px;
}


/* ═══════════════════════════════════════════════════════
   FLOATING SCORE POPUP
═══════════════════════════════════════════════════════ */
.float-popup {
  position: fixed;
  z-index: 5000;
  pointer-events: none;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.3rem;
  color: #ffe600;
  text-shadow: 0 0 20px rgba(255,230,0,0.8), 0 2px 8px rgba(0,0,0,0.8);
  animation: floatUp 1.3s ease forwards;
  letter-spacing: 2px;
  white-space: nowrap;
}

@keyframes floatUp {
  0%   { opacity: 0; transform: translateY(10px) scale(0.7); }
  25%  { opacity: 1; transform: translateY(-15px) scale(1.15); }
  60%  { opacity: 1; transform: translateY(-45px) scale(1); }
  100% { opacity: 0; transform: translateY(-90px) scale(0.85); }
}


/* ═══════════════════════════════════════════════════════
   SCREEN SHAKE
═══════════════════════════════════════════════════════ */
.screen-shake {
  animation: screenShake 0.45s ease !important;
}

@keyframes screenShake {
  0%,100% { transform: translate(0,0) rotate(0deg); }
  10%      { transform: translate(-7px, 2px) rotate(-0.4deg); }
  20%      { transform: translate(7px, -2px) rotate(0.4deg); }
  30%      { transform: translate(-5px, 1px) rotate(-0.3deg); }
  40%      { transform: translate(5px, -1px) rotate(0.3deg); }
  50%      { transform: translate(-3px, 0) rotate(0); }
  60%      { transform: translate(3px, 0) rotate(0); }
  70%      { transform: translate(-2px, 0) rotate(0); }
  80%      { transform: translate(2px, 0) rotate(0); }
  90%      { transform: translate(-1px, 0) rotate(0); }
}


/* ═══════════════════════════════════════════════════════
   CURSOR TRAIL
═══════════════════════════════════════════════════════ */
#cursor-trail-canvas {
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
}


/* ═══════════════════════════════════════════════════════
   BGM BUTTON
═══════════════════════════════════════════════════════ */
#bgm-btn {
  background: rgba(180,79,255,0.08);
  border: 1px solid rgba(180,79,255,0.2);
  color: #b44fff;
  font-family: var(--font-pixel);
  font-size: 0.4rem;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 1px;
  white-space: nowrap;
}

#bgm-btn:hover { background: rgba(180,79,255,0.18); }

#bgm-btn.playing {
  border-color: rgba(180,79,255,0.5);
  box-shadow: 0 0 14px rgba(180,79,255,0.25);
  color: #cf7fff;
}

/* STATS toggle button */
#stats-btn {
  background: rgba(180,79,255,0.08);
  border: 1px solid rgba(180,79,255,0.2);
  color: #b44fff;
  font-family: var(--font-pixel);
  font-size: 0.4rem;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 1px;
}

#stats-btn:hover {
  background: rgba(180,79,255,0.18);
  box-shadow: 0 0 14px rgba(180,79,255,0.2);
}


/* ═══════════════════════════════════════════════════════
   IMPROVED MODAL CLOSE ANIMATION
═══════════════════════════════════════════════════════ */
.modal-close {
  transition: all 0.25s cubic-bezier(0.34,1.56,0.64,1) !important;
}
.modal-close:hover {
  transform: rotate(90deg) scale(1.2) !important;
}


/* ═══════════════════════════════════════════════════════
   FOOTER HINT
═══════════════════════════════════════════════════════ */
.footer-shortcuts-hint {
  font-family: var(--font-pixel);
  font-size: 0.38rem;
  color: rgba(107,122,171,0.3);
  margin-top: 14px;
  letter-spacing: 2px;
  cursor: pointer;
  transition: color 0.2s;
}

.footer-shortcuts-hint:hover { color: rgba(0,255,157,0.5); }


/* ═══════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  #theme-switcher    { left: 10px; bottom: 80px; }
  #scroll-to-top     { right: 12px; bottom: 20px; }
  .shortcuts-grid    { grid-template-columns: 1fr; }
  .stats-summary     { grid-template-columns: repeat(3,1fr); gap: 8px; }
  .stat-summary-val  { font-size: 1.4rem; }
  .stats-box         { padding: 24px 18px; }
  .xp-bar-wrap       { display: none; }   /* hide XP on small screens */
  #bgm-btn           { display: none; }   /* hide BGM on mobile */
}

@media (max-width: 480px) {
  .game-filter-bar   { flex-direction: column; align-items: stretch; }
  .filter-tags       { justify-content: flex-start; }
}
