/* ============================================================
   Cutie Q — Cartoon Q-Version Soft Game Portal
   Prefix: cq-  (formerly gp-)
   Style: soft pastel, rounded, playful, bouncy
   ============================================================ */

/* ===== Design Tokens ===== */
:root {
  /* Soft pastel palette */
  --cq-pink: #ff9ec4;
  --cq-pink-soft: #ffd9ec;
  --cq-lav: #b79cff;
  --cq-lav-soft: #ece3ff;
  --cq-blue: #8ec5ff;
  --cq-blue-soft: #def0ff;
  --cq-mint: #7fe0c0;
  --cq-mint-soft: #d8f7ee;
  --cq-yellow: #ffd56b;
  --cq-peach: #ffb38a;

  /* Surfaces */
  --cq-bg: #fdf3fb;
  --cq-bg2: #eef3ff;
  --cq-bg3: #fff7ec;
  --cq-surface: #ffffff;
  --cq-surface-2: #fff7fc;

  /* Text */
  --cq-text: #5b5269;
  --cq-text-strong: #463f55;
  --cq-text-2: #918aa1;
  --cq-muted: #b9b1c7;

  /* Lines */
  --cq-border: rgba(183, 156, 255, .26);
  --cq-border-soft: rgba(183, 156, 255, .15);

  /* Accents */
  --cq-acc: var(--cq-pink);
  --cq-acc-2: var(--cq-lav);
  --cq-grad: linear-gradient(135deg, #ff9ec4 0%, #b79cff 100%);
  --cq-grad-2: linear-gradient(135deg, #8ec5ff 0%, #b79cff 50%, #ff9ec4 100%);
  --cq-grad-soft: linear-gradient(135deg, #ffe6f3 0%, #ece3ff 100%);

  /* Radii */
  --cq-r-xs: 10px;
  --cq-r-sm: 14px;
  --cq-r: 18px;
  --cq-r-lg: 26px;
  --cq-r-xl: 34px;
  --cq-r-pill: 999px;

  /* Soft shadows (no harsh neon) */
  --cq-shadow-sm: 0 4px 14px rgba(183, 140, 210, .12);
  --cq-shadow: 0 14px 34px rgba(255, 150, 190, .18), 0 6px 16px rgba(150, 120, 210, .10);
  --cq-shadow-lg: 0 24px 60px rgba(255, 150, 190, .22), 0 10px 24px rgba(150, 120, 210, .12);
  --cq-shadow-inset: inset 0 0 0 2px rgba(255, 255, 255, .65);

  /* Type */
  --cq-font: 'Quicksand', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --cq-font-d: 'Fredoka', 'Quicksand', -apple-system, sans-serif;

  --cq-topbar-h: 76px;
  --cq-maxw: none;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--cq-font);
  font-weight: 500;
  color: var(--cq-text);
  background: var(--cq-bg);
  background-image:
    radial-gradient(circle at 10% 14%, rgba(255, 158, 196, .20), transparent 36%),
    radial-gradient(circle at 90% 10%, rgba(142, 197, 255, .22), transparent 38%),
    radial-gradient(circle at 80% 86%, rgba(183, 156, 255, .20), transparent 40%),
    radial-gradient(circle at 14% 90%, rgba(127, 224, 192, .18), transparent 38%);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}
body::before {
  /* floating dotted confetti */
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(183, 156, 255, .14) 1.5px, transparent 1.6px);
  background-size: 26px 26px;
  opacity: .5;
  z-index: 0;
}
a { color: inherit; text-decoration: none; transition: color .2s ease; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }
h1, h2, h3, h4 { font-family: var(--cq-font-d); color: var(--cq-text-strong); font-weight: 600; line-height: 1.2; margin: 0; }

/* ===== Layout Helpers ===== */
.cq-container, .cq-wrap {
  width: 100%;
  max-width: var(--cq-maxw);
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}
.cq-stage { position: relative; z-index: 1; padding-bottom: 60px; }

/* ===== Topbar ===== */
.cq-topbar {
  position: sticky;
  top: 0;
  z-index: 120;
  height: var(--cq-topbar-h);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 2px solid var(--cq-border-soft);
  transition: height .25s ease, box-shadow .25s ease;
}
.cq-topbar--compact { height: 62px; box-shadow: var(--cq-shadow-sm); }
.cq-topbar-inner {
  height: 100%;
  max-width: var(--cq-maxw);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.cq-topbar-browse {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--cq-r-pill);
  background: var(--cq-grad-soft);
  color: var(--cq-acc-2);
  font-weight: 700;
  font-size: .92rem;
  box-shadow: var(--cq-shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cq-topbar-browse:hover { transform: translateY(-2px) scale(1.03); box-shadow: var(--cq-shadow); }
.cq-topbar-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--cq-font-d);
  font-weight: 700;
  font-size: 1.32rem;
  color: var(--cq-text-strong);
}
.cq-topbar-logo-icon {
  font-size: 1.5rem;
  filter: drop-shadow(0 3px 4px rgba(255, 150, 190, .4));
  animation: cq-bob 3s ease-in-out infinite;
}
.cq-topbar-spacer { flex: 1 1 auto; }
.cq-topbar-search {
  position: relative;
  display: flex;
  align-items: center;
  width: min(440px, 42vw);
  padding: 0 14px;
  height: 46px;
  border-radius: var(--cq-r-pill);
  background: var(--cq-surface);
  border: 2px solid var(--cq-border-soft);
  box-shadow: var(--cq-shadow-sm);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.cq-topbar-search:focus-within { border-color: var(--cq-pink); box-shadow: var(--cq-shadow); transform: translateY(-1px); }
.cq-topbar-search-icon { width: 18px; height: 18px; color: var(--cq-lav); flex: none; }
.cq-topbar-search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: .95rem;
  color: var(--cq-text-strong);
  padding: 0 10px;
}
.cq-topbar-search-input::placeholder { color: var(--cq-muted); }
.cq-topbar-search-kbd {
  font-size: .7rem;
  font-weight: 700;
  color: var(--cq-text-2);
  background: var(--cq-grad-soft);
  padding: 3px 8px;
  border-radius: var(--cq-r-pill);
  border: 1px solid var(--cq-border-soft);
}
.cq-topbar-end { display: flex; align-items: center; }
.cq-topbar-auth { display: flex; align-items: center; gap: 10px; }
.cq-topbar-signin {
  padding: 10px 22px;
  border-radius: var(--cq-r-pill);
  background: var(--cq-grad);
  color: #fff;
  font-weight: 700;
  font-size: .92rem;
  box-shadow: 0 8px 18px rgba(255, 150, 190, .35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cq-topbar-signin:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 12px 26px rgba(255, 150, 190, .45); }
.cq-userchip { position: relative; }
.cq-userchip-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 5px;
  border-radius: var(--cq-r-pill);
  background: var(--cq-surface);
  border: 2px solid var(--cq-border-soft);
  box-shadow: var(--cq-shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cq-userchip-btn:hover { transform: translateY(-2px); box-shadow: var(--cq-shadow); }
.cq-userchip-avatar {
  width: 36px; height: 36px;
  border-radius: var(--cq-r-pill);
  background: var(--cq-grad);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--cq-font-d);
  font-weight: 700;
  box-shadow: var(--cq-shadow-inset);
}
.cq-userchip-name { font-weight: 700; color: var(--cq-text-strong); font-size: .92rem; }
.cq-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 180px;
  background: var(--cq-surface);
  border: 2px solid var(--cq-border-soft);
  border-radius: var(--cq-r);
  box-shadow: var(--cq-shadow);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(.96);
  transform-origin: top right;
  transition: all .2s ease;
}
.cq-menu.cq-on { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.cq-menu-item {
  display: flex; align-items: center; gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--cq-r-sm);
  color: var(--cq-text);
  font-weight: 600;
  font-size: .9rem;
  transition: background .18s ease, color .18s ease;
}
.cq-menu-item:hover { background: var(--cq-grad-soft); color: var(--cq-acc-2); }
.cq-menu-item svg { width: 16px; height: 16px; }
.cq-menu-divider { height: 1px; background: var(--cq-border-soft); margin: 6px 4px; }

/* ===== Mega Panel (slide from left) ===== */
.cq-megapanel-bg {
  position: fixed; inset: 0;
  background: rgba(91, 82, 105, .35);
  backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
  z-index: 200;
}
.cq-megapanel-bg.cq-on { opacity: 1; visibility: visible; }
.cq-megapanel {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: min(380px, 86vw);
  background: var(--cq-surface);
  border-right: 2px solid var(--cq-border-soft);
  box-shadow: var(--cq-shadow-lg);
  z-index: 210;
  transform: translateX(-105%);
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
  display: flex;
  flex-direction: column;
  padding: 22px;
  overflow-y: auto;
}
.cq-megapanel.cq-on { transform: translateX(0); }
.cq-megapanel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.cq-megapanel-title { font-size: 1.3rem; }
.cq-megapanel-close {
  width: 38px; height: 38px;
  border-radius: var(--cq-r-pill);
  background: var(--cq-grad-soft);
  color: var(--cq-acc-2);
  font-size: 1.3rem;
  display: grid; place-items: center;
  transition: transform .2s ease, background .2s ease;
}
.cq-megapanel-close:hover { transform: rotate(90deg) scale(1.05); background: var(--cq-pink-soft); }
.cq-megapanel-grid { display: flex; flex-direction: column; gap: 10px; }
.cq-megapanel-card {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  border-radius: var(--cq-r);
  background: var(--cq-surface-2);
  border: 2px solid var(--cq-border-soft);
  text-decoration: none; color: inherit;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.cq-megapanel-card:hover, .cq-megapanel-card.cq-on {
  transform: translateX(6px);
  border-color: var(--cq-pink);
  box-shadow: var(--cq-shadow);
}
.cq-megapanel-card-emoji {
  width: 46px; height: 46px;
  border-radius: var(--cq-r-sm);
  background: var(--cq-grad-soft);
  display: grid; place-items: center;
  font-size: 1.5rem;
  flex: none;
}
.cq-megapanel-card-info { display: flex; flex-direction: column; flex: 1; }
.cq-megapanel-card-name { font-weight: 700; color: var(--cq-text-strong); font-size: 1rem; }
.cq-megapanel-card-count { font-size: .8rem; color: var(--cq-text-2); }
.cq-megapanel-card-arrow { width: 18px; height: 18px; color: var(--cq-lav); }
.cq-megapanel-footer {
  margin-top: auto;
  padding-top: 18px;
  display: flex; flex-wrap: wrap; gap: 8px;
  border-top: 2px solid var(--cq-border-soft);
}
.cq-megapanel-link {
  padding: 8px 16px;
  border-radius: var(--cq-r-pill);
  background: var(--cq-grad-soft);
  color: var(--cq-acc-2);
  font-weight: 700; font-size: .85rem;
  transition: transform .2s ease;
}
.cq-megapanel-link:hover { transform: translateY(-2px); }

/* ===== Mobile Bottom Tab Bar ===== */
.cq-bottombar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 130;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-top: 2px solid var(--cq-border-soft);
  box-shadow: 0 -8px 24px rgba(183, 140, 210, .14);
}
.cq-bottombar-tab {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 6px 0;
  border-radius: var(--cq-r-sm);
  color: var(--cq-text-2);
  font-size: .72rem; font-weight: 700;
  transition: color .2s ease, transform .2s ease;
}
.cq-bottombar-tab svg { width: 22px; height: 22px; }
.cq-bottombar-tab:hover { transform: translateY(-2px); }
.cq-bottombar-tab.cq-on { color: var(--cq-pink); }

/* ===== Hero ===== */
.cq-hero { position: relative; padding: 54px 20px 30px; z-index: 1; background: var(--cq-grad-soft); }
.cq-hero-inner {
  position: relative;
  max-width: var(--cq-maxw);
  margin: 0 auto;
  padding: 10px 20px;
  display: block;
}
.cq-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px;
  border-radius: var(--cq-r-pill);
  background: rgba(255, 255, 255, .8);
  color: var(--cq-acc-2);
  font-weight: 700; font-size: .82rem;
  box-shadow: var(--cq-shadow-sm);
  margin-bottom: 18px;
}
.cq-hero-title {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 700;
  color: var(--cq-text-strong);
  letter-spacing: -.5px;
}
.cq-hero-title-accent {
  background: var(--cq-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cq-hero-sub { margin: 16px 0 26px; font-size: 1.05rem; color: var(--cq-text); max-width: 46ch; }
.cq-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.cq-hero-cta--primary, .cq-hero-cta--ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px;
  border-radius: var(--cq-r-pill);
  font-weight: 700; font-size: 1rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.cq-hero-cta--primary {
  background: var(--cq-grad);
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 150, 190, .4);
}
.cq-hero-cta--primary:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 16px 32px rgba(255, 150, 190, .5); }
.cq-hero-cta--ghost {
  background: var(--cq-surface);
  color: var(--cq-acc-2);
  border: 2px solid var(--cq-border);
  box-shadow: var(--cq-shadow-sm);
}
.cq-hero-cta--ghost:hover { transform: translateY(-3px); box-shadow: var(--cq-shadow); }
.cq-hero-stats { display: flex; gap: 26px; margin: 30px auto 0; max-width: var(--cq-maxw); padding: 0 20px; }
.cq-hero-stat { display: flex; flex-direction: column; }
.cq-hero-stat-strong { font-family: var(--cq-font-d); font-size: 1.7rem; font-weight: 700; color: var(--cq-text-strong); }
.cq-hero-stat-label { font-size: .82rem; color: var(--cq-text-2); font-weight: 600; }
.cq-hero-art { position: relative; height: 240px; }
.cq-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(.5px);
  box-shadow: var(--cq-shadow);
  animation: cq-float 6s ease-in-out infinite;
}
.cq-orb--1 { width: 120px; height: 120px; background: var(--cq-grad); top: 10px; right: 40px; }
.cq-orb--2 { width: 80px; height: 80px; background: linear-gradient(135deg, #8ec5ff, #b79cff); bottom: 30px; right: 120px; animation-delay: 1.2s; }
.cq-orb--3 { width: 56px; height: 56px; background: linear-gradient(135deg, #7fe0c0, #8ec5ff); top: 80px; right: 10px; animation-delay: 2s; }
.cq-orb--4 { width: 40px; height: 40px; background: linear-gradient(135deg, #ffd56b, #ff9ec4); bottom: 0; right: 60px; animation-delay: 2.8s; }
.cq-hero-blob {
  position: absolute;
  border-radius: 45% 55% 60% 40% / 50% 45% 55% 50%;
  background: rgba(255, 255, 255, .5);
  z-index: -1;
}
.cq-hero-blob--1 { width: 200px; height: 200px; top: -30px; left: -40px; }
.cq-hero-blob--2 { width: 150px; height: 150px; bottom: -40px; right: -20px; }

/* ===== Game Tags Hero ===== */
.hero-section { position: relative; z-index: 1; padding: 0 20px 36px; background: var(--cq-grad-soft); }
.hero-container { max-width: var(--cq-maxw); margin: 0 auto; }
.hero-content { text-align: center; }
.hero-tagline { font-size: .82rem; font-weight: 700; color: var(--cq-acc-2); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 12px; }
.hero-title { font-family: var(--cq-font-d); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; color: var(--cq-text-strong); margin: 0 0 16px; }
.hero-description { font-size: 1.05rem; color: var(--cq-text); max-width: 56ch; margin: 0 auto 10px; font-weight: 600; }
.hero-subdescription { font-size: .92rem; color: var(--cq-text-2); max-width: 60ch; margin: 0 auto 24px; font-weight: 600; }
.hero-stats { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; }
.stat-item { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.stat-number { font-family: var(--cq-font-d); font-size: 1.7rem; font-weight: 700; color: var(--cq-text-strong); }
.stat-label { font-size: .82rem; color: var(--cq-text-2); font-weight: 600; }

/* ===== Section Heads ===== */
.cq-section { position: relative; z-index: 1; padding: 26px 20px; }
.cq-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; flex-wrap: wrap; }
.cq-sec-head-l { display: flex; flex-direction: column; gap: 6px; }
.cq-sec-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; color: var(--cq-acc-2);
  text-transform: uppercase; letter-spacing: 1px;
}
.cq-sec-kicker::before { content: "🌸"; }
.cq-sec-title { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; }
.cq-sec-title-accent { background: var(--cq-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cq-sec-sub { color: var(--cq-text-2); font-size: .95rem; margin-top: 2px; }
.cq-sec-line { width: 100%; height: 2px; background: var(--cq-border-soft); border-radius: 2px; margin-top: 6px; }
.cq-sec-head-r { display: flex; align-items: center; gap: 12px; }
.cq-sec-more {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 18px;
  border-radius: var(--cq-r-pill);
  background: var(--cq-surface);
  border: 2px solid var(--cq-border);
  color: var(--cq-acc-2);
  font-weight: 700; font-size: .88rem;
  box-shadow: var(--cq-shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cq-sec-more:hover { transform: translateY(-2px); box-shadow: var(--cq-shadow); }
.cq-sec-more-arrow { width: 16px; height: 16px; transition: transform .2s ease; }
.cq-sec-more:hover .cq-sec-more-arrow { transform: translateX(4px); }
.cq-sec-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cq-chip {
  padding: 7px 16px;
  border-radius: var(--cq-r-pill);
  background: var(--cq-surface-2);
  border: 2px solid var(--cq-border-soft);
  color: var(--cq-text-2);
  font-weight: 700; font-size: .82rem;
  transition: all .2s ease;
}
.cq-chip:hover, .cq-chip.cq-on { background: var(--cq-grad); color: #fff; border-color: transparent; }

/* ===== Section Tabs & Grid ===== */
.cq-section-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.cq-section-tab {
  padding: 9px 20px;
  border-radius: var(--cq-r-pill);
  background: var(--cq-surface-2);
  border: 2px solid var(--cq-border-soft);
  color: var(--cq-text-2);
  font-weight: 700; font-size: .88rem;
  transition: all .2s ease;
}
.cq-section-tab:hover { transform: translateY(-2px); }
.cq-section-tab.cq-on { background: var(--cq-grad); color: #fff; border-color: transparent; box-shadow: 0 8px 18px rgba(255, 150, 190, .35); }

.cq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 22px;
}
.cq-section-foot { display: flex; justify-content: center; margin-top: 30px; }
.cq-section-foot-btn {
  padding: 13px 34px;
  border-radius: var(--cq-r-pill);
  background: var(--cq-surface);
  border: 2px solid var(--cq-border);
  color: var(--cq-acc-2);
  font-weight: 700; font-size: .95rem;
  box-shadow: var(--cq-shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cq-section-foot-btn:hover { transform: translateY(-2px) scale(1.02); box-shadow: var(--cq-shadow); }

/* ===== Game Card ===== */
.cq-gcard {
  position: relative;
  display: block;
  background: var(--cq-surface);
  border: 2px solid var(--cq-border-soft);
  border-radius: var(--cq-r-lg);
  overflow: hidden;
  box-shadow: var(--cq-shadow-sm);
  color: inherit;
  text-decoration: none;
  animation: cq-fadeUp .5s ease both;
  transition: transform .25s cubic-bezier(.22, 1, .36, 1), box-shadow .25s ease, border-color .25s ease;
}
.cq-gcard:hover {
  transform: translateY(-8px) rotate(-.6deg);
  box-shadow: var(--cq-shadow-lg);
  border-color: rgba(255, 158, 196, .5);
}
.cq-gcard-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--cq-grad-soft);
}
.cq-gcard-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.cq-gcard:hover .cq-gcard-thumb img { transform: scale(1.07); }
.cq-gcard-thumb::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(91, 82, 105, .12));
}
.cq-gcard-badge {
  position: absolute; top: 12px; left: 12px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: var(--cq-r-pill);
  background: rgba(255, 255, 255, .9);
  color: var(--cq-acc-2);
  font-size: .72rem; font-weight: 700;
  box-shadow: var(--cq-shadow-sm);
}
.cq-gcard-rank {
  position: absolute; top: 10px; right: 10px;
  z-index: 2;
  width: 38px; height: 38px;
  border-radius: var(--cq-r-pill);
  background: var(--cq-grad);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 6px 14px rgba(255, 150, 190, .4);
}
.cq-gcard-rank-digit { font-family: var(--cq-font-d); font-weight: 700; font-size: 1rem; }
.cq-gcard-fav {
  position: absolute; bottom: 12px; right: 12px;
  z-index: 2;
  width: 38px; height: 38px;
  border-radius: var(--cq-r-pill);
  background: rgba(255, 255, 255, .9);
  color: var(--cq-lav);
  display: grid; place-items: center;
  box-shadow: var(--cq-shadow-sm);
  transition: transform .2s ease;
}
.cq-gcard-fav:hover { transform: scale(1.12); }
.cq-gcard-fav-icon { width: 18px; height: 18px; }
.cq-gcard-body { padding: 16px 16px 18px; }
.cq-gcard-cat {
  display: inline-block;
  font-size: .72rem; font-weight: 700;
  color: var(--cq-acc-2);
  background: var(--cq-grad-soft);
  padding: 3px 12px;
  border-radius: var(--cq-r-pill);
  margin-bottom: 8px;
}
.cq-gcard-title {
  font-size: 1.05rem; font-weight: 700; color: var(--cq-text-strong);
  margin: 0 0 10px;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.cq-gcard-meta { display: flex; flex-wrap: wrap; gap: 12px; color: var(--cq-text-2); font-size: .82rem; font-weight: 600; }
.cq-gcard-meta-item { display: inline-flex; align-items: center; gap: 5px; }
.cq-gcard-meta-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--cq-pink); }
.cq-gcard-foot { display: flex; gap: 10px; padding: 0 16px 18px; }
.cq-gcard-play-btn, .cq-gcard-info-btn {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 14px;
  border-radius: var(--cq-r-pill);
  font-weight: 700; font-size: .85rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.cq-gcard-play-btn { background: var(--cq-grad); color: #fff; box-shadow: 0 8px 18px rgba(255, 150, 190, .32); }
.cq-gcard-play-btn:hover { transform: translateY(-2px) scale(1.03); }
.cq-gcard-play-icon { width: 15px; height: 15px; }
.cq-gcard-info-btn { background: var(--cq-surface-2); color: var(--cq-acc-2); border: 2px solid var(--cq-border-soft); }
.cq-gcard-info-btn:hover { transform: translateY(-2px); border-color: var(--cq-lav); }
.cq-gcard-info-icon { width: 15px; height: 15px; }
.cq-gcard-detail { padding: 0 16px 18px; display: none; flex-direction: column; gap: 8px; }
.cq-gcard-detail.cq-on { display: flex; }
.cq-gcard-detail-row { display: flex; justify-content: space-between; gap: 10px; font-size: .82rem; }
.cq-gcard-detail-label { color: var(--cq-text-2); font-weight: 600; }
.cq-gcard-detail-val { color: var(--cq-text-strong); font-weight: 700; }
.cq-gcard-wish {
  width: 100%;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px;
  border-radius: var(--cq-r-pill);
  background: var(--cq-grad-soft);
  color: var(--cq-acc-2);
  font-weight: 700; font-size: .82rem;
  transition: transform .2s ease;
}
.cq-gcard-wish:hover { transform: translateY(-2px); }
.cq-gcard-wish-icon { width: 15px; height: 15px; }

/* ===== Sidebar ===== */
.cq-side { display: flex; flex-direction: column; gap: 18px; }
.cq-side-sec {
  background: var(--cq-surface);
  border: 2px solid var(--cq-border-soft);
  border-radius: var(--cq-r-lg);
  padding: 18px;
  box-shadow: var(--cq-shadow-sm);
}
.cq-side-sec-head {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--cq-font-d);
  font-size: 1.05rem; font-weight: 700; color: var(--cq-text-strong);
  margin: 0 0 14px;
}
.cq-side-sec-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--cq-grad); box-shadow: 0 3px 8px rgba(255, 150, 190, .4); }
.cq-side-sec-body { display: block; }
.cq-side-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.cq-side-tag {
  padding: 7px 14px;
  border-radius: var(--cq-r-pill);
  background: var(--cq-grad-soft);
  color: var(--cq-acc-2);
  font-weight: 700; font-size: .82rem;
  transition: transform .2s ease;
}
.cq-side-tag:hover { transform: translateY(-2px) scale(1.04); }
.cq-side-nav { display: flex; flex-direction: column; gap: 4px; }
.cq-side-link {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px;
  border-radius: var(--cq-r-sm);
  color: var(--cq-text);
  font-weight: 600; font-size: .92rem;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.cq-side-link:hover { background: var(--cq-grad-soft); color: var(--cq-acc-2); transform: translateX(4px); }
.cq-side-link-icon { color: var(--cq-lav); width: 14px; }

/* ===== Breadcrumb ===== */
.cq-crumb { padding: 18px 0 4px; }
.cq-crumb-list,
.cq-crumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.cq-crumb-item,
.cq-crumb li { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; color: var(--cq-text-2); }
.cq-crumb-sep,
.cq-crumb .cq-sep { color: var(--cq-muted); height: auto; background: none; border-radius: 0; margin: 0; }
.cq-crumb-link,
.cq-crumb a { color: var(--cq-acc-2); text-decoration: none; transition: color .18s ease; }
.cq-crumb-link:hover,
.cq-crumb a:hover { color: var(--cq-pink); }
.cq-crumb-cur,
.cq-cur { color: var(--cq-text-strong); font-weight: 700; }

/* ===== Toolbar / Filter / Sort / View ===== */
.cq-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
  background: var(--cq-surface);
  border: 2px solid var(--cq-border-soft);
  border-radius: var(--cq-r-lg);
  padding: 16px 20px;
  box-shadow: var(--cq-shadow-sm);
  margin-bottom: 22px;
}
.cq-toolbar-l { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cq-toolbar-result { font-weight: 700; color: var(--cq-text-strong); }
.cq-toolbar-count { color: var(--cq-pink); font-weight: 700; }
.cq-toolbar-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.cq-filter {
  padding: 8px 16px;
  border-radius: var(--cq-r-pill);
  background: var(--cq-surface-2);
  border: 2px solid var(--cq-border-soft);
  color: var(--cq-text-2);
  font-weight: 700; font-size: .82rem;
  transition: all .2s ease;
}
.cq-filter:hover { transform: translateY(-2px); }
.cq-filter--active { background: var(--cq-grad); color: #fff; border-color: transparent; }
.cq-toolbar-r { display: flex; align-items: center; gap: 12px; }
.cq-sort { position: relative; }
.cq-sort-select {
  appearance: none;
  padding: 10px 38px 10px 16px;
  border-radius: var(--cq-r-pill);
  background: var(--cq-surface-2);
  border: 2px solid var(--cq-border-soft);
  color: var(--cq-text-strong);
  font-weight: 700; font-size: .85rem;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23b79cff' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.cq-view-toggle { display: inline-flex; background: var(--cq-surface-2); border: 2px solid var(--cq-border-soft); border-radius: var(--cq-r-pill); padding: 4px; }
.cq-view-btn {
  width: 36px; height: 32px;
  border-radius: var(--cq-r-pill);
  display: grid; place-items: center;
  color: var(--cq-text-2);
  transition: all .2s ease;
}
.cq-view-btn svg { width: 18px; height: 18px; }
.cq-view-btn--active { background: var(--cq-grad); color: #fff; }

/* ===== Pager ===== */
.cq-pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 30px; flex-wrap: wrap; }
.cq-pager-btn {
  min-width: 42px; height: 42px;
  padding: 0 14px;
  border-radius: var(--cq-r-pill);
  background: var(--cq-surface);
  border: 2px solid var(--cq-border-soft);
  color: var(--cq-text);
  font-weight: 700; font-size: .9rem;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--cq-shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, color .2s ease;
}
.cq-pager-btn:hover { transform: translateY(-2px); color: var(--cq-acc-2); }
.cq-pager-btn--active { background: var(--cq-grad); color: #fff; border-color: transparent; box-shadow: 0 8px 18px rgba(255, 150, 190, .35); }
.cq-pager-ellipsis { color: var(--cq-muted); font-weight: 700; padding: 0 4px; }
.cq-pager-next { gap: 6px; }

/* ===== Pagination (server-rendered pager) ===== */
.pagination-container { display: flex; justify-content: center; }
.pagination { display: block; }
.pagination-list { display: flex; justify-content: center; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.pagination-item { list-style: none; }
.pagination-link {
  min-width: 42px; height: 42px;
  padding: 0 14px;
  border-radius: var(--cq-r-pill);
  background: var(--cq-surface);
  border: 2px solid var(--cq-border-soft);
  color: var(--cq-text);
  font-weight: 700; font-size: .9rem;
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none;
  box-shadow: var(--cq-shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, color .2s ease;
}
.pagination-link:hover { transform: translateY(-2px); color: var(--cq-acc-2); }
.pagination-link.current { background: var(--cq-grad); color: #fff; border-color: transparent; box-shadow: 0 8px 18px rgba(255, 150, 190, .35); cursor: default; }
.pagination-link.disabled { opacity: .45; cursor: default; pointer-events: none; }

/* ===== Footer ===== */
.cq-footer,
.cq-foot {
  position: relative;
  z-index: 1;
  margin-top: 40px;
  background: linear-gradient(135deg, #fff0f8 0%, #ece3ff 100%);
  border-top: 2px solid var(--cq-border-soft);
  padding: 48px 0 24px;
}
.cq-foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 30px; }
.cq-foot-brand { display: inline-block; max-width: 320px; font-family: var(--cq-font-d); font-weight: 700; font-size: 1.4rem; color: var(--cq-text-strong); text-decoration: none; margin-bottom: 10px; transition: color .18s ease; }
.cq-foot-brand:hover { color: var(--cq-pink); }
.cq-foot-logo { display: inline-flex; align-items: center; gap: 8px; font-family: var(--cq-font-d); font-weight: 700; font-size: 1.4rem; color: var(--cq-text-strong); }
.cq-foot-logo-icon { font-size: 1.6rem; animation: cq-bob 3s ease-in-out infinite; }
.cq-foot-tag,
.cq-foot-about { margin: 4px 0 16px; max-width: 320px; color: var(--cq-text-2); font-size: .92rem; line-height: 1.6; }
.cq-foot-social { display: flex; gap: 10px; }
.cq-foot-social a {
  width: 42px; height: 42px;
  border-radius: var(--cq-r-pill);
  background: var(--cq-surface);
  border: 2px solid var(--cq-border-soft);
  color: var(--cq-acc-2);
  display: grid; place-items: center;
  box-shadow: var(--cq-shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cq-foot-social a:hover { transform: translateY(-3px) scale(1.05); box-shadow: var(--cq-shadow); }
.cq-foot-col-head { font-family: var(--cq-font-d); font-size: 1.05rem; font-weight: 700; color: var(--cq-text-strong); margin: 0 0 14px; }
.cq-foot-col ul { list-style: none; padding: 0; margin: 0; }
.cq-foot-col ul li { margin: 0; }
.cq-foot-col ul li a,
.cq-foot-col-link { display: block; padding: 7px 0; color: var(--cq-text-2); font-weight: 600; font-size: .9rem; text-decoration: none; transition: color .18s ease, padding-left .18s ease; }
.cq-foot-col ul li a:hover,
.cq-foot-col-link:hover { color: var(--cq-pink); padding-left: 5px; }
.cq-foot-bottom,
.cq-foot-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
  margin-top: 36px; padding-top: 22px;
  border-top: 2px solid var(--cq-border-soft);
}
.cq-foot-bar p { color: var(--cq-text-2); font-size: .85rem; font-weight: 600; margin: 0; }
.cq-foot-copy { color: var(--cq-text-2); font-size: .85rem; font-weight: 600; }
.cq-foot-legal { display: flex; flex-wrap: wrap; gap: 18px; }
.cq-foot-legal-link { color: var(--cq-text-2); font-size: .85rem; font-weight: 600; transition: color .18s ease; }
.cq-foot-legal-link:hover { color: var(--cq-pink); }
.cq-foot-flag { font-size: 1.2rem; }

/* ===== Auth Modal (injected by JS) ===== */
.cq-auth-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(91, 82, 105, .4);
  backdrop-filter: blur(4px);
  display: grid; place-items: center;
  padding: 20px;
  animation: cq-fadeIn .25s ease;
}
.cq-auth-card {
  position: relative;
  width: min(440px, 100%);
  background: var(--cq-surface);
  border: 2px solid var(--cq-border-soft);
  border-radius: var(--cq-r-xl);
  box-shadow: var(--cq-shadow-lg);
  padding: 34px 30px;
  animation: cq-pop .3s cubic-bezier(.22, 1, .36, 1);
}
.cq-auth-x {
  position: absolute; top: 16px; right: 16px;
  width: 38px; height: 38px;
  border-radius: var(--cq-r-pill);
  background: var(--cq-grad-soft);
  color: var(--cq-acc-2);
  font-size: 1.3rem;
  display: grid; place-items: center;
  transition: transform .2s ease;
}
.cq-auth-x:hover { transform: rotate(90deg) scale(1.05); }
.cq-auth-head { text-align: center; margin-bottom: 20px; }
.cq-auth-head h1 { font-size: 1.7rem; }
.cq-auth-head p { color: var(--cq-text-2); font-size: .9rem; margin: 8px 0 0; }
.cq-auth-tabs { display: flex; background: var(--cq-surface-2); border: 2px solid var(--cq-border-soft); border-radius: var(--cq-r-pill); padding: 5px; margin-bottom: 20px; }
.cq-auth-tab {
  flex: 1;
  padding: 11px;
  border-radius: var(--cq-r-pill);
  font-weight: 700; font-size: .92rem;
  color: var(--cq-text-2);
  transition: all .2s ease;
}
.cq-auth-tab.cq-on { background: var(--cq-grad); color: #fff; box-shadow: 0 8px 18px rgba(255, 150, 190, .35); }
.cq-auth-form { display: none; flex-direction: column; gap: 14px; }
.cq-auth-form.cq-on { display: flex; animation: cq-fadeUp .3s ease; }
.cq-field { display: flex; flex-direction: column; gap: 7px; }
.cq-field label { font-weight: 700; font-size: .85rem; color: var(--cq-text-strong); }
.cq-field input {
  padding: 13px 16px;
  border-radius: var(--cq-r);
  border: 2px solid var(--cq-border-soft);
  background: var(--cq-surface-2);
  color: var(--cq-text-strong);
  font-size: .95rem;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.cq-field input:focus { border-color: var(--cq-pink); box-shadow: 0 0 0 4px rgba(255, 158, 196, .18); }
.cq-field.cq-has-error input { border-color: var(--cq-peach); box-shadow: 0 0 0 4px rgba(255, 179, 138, .2); }
.cq-field-error { color: var(--cq-peach); font-size: .8rem; font-weight: 700; }
.cq-pass { position: relative; }
.cq-pass input { width: 100%; padding-right: 46px; }
.cq-pass-icon { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--cq-lav); cursor: pointer; }
.cq-auth-submit {
  margin-top: 6px;
  padding: 14px;
  border-radius: var(--cq-r-pill);
  background: var(--cq-grad);
  color: #fff;
  font-weight: 700; font-size: 1rem;
  box-shadow: 0 10px 24px rgba(255, 150, 190, .4);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cq-auth-submit:hover { transform: translateY(-2px) scale(1.02); }
.cq-auth-submit.cq-busy { opacity: .7; cursor: progress; }
.cq-auth-foot { text-align: center; font-size: .88rem; color: var(--cq-text-2); font-weight: 600; }
.cq-auth-foot a { color: var(--cq-pink); font-weight: 700; }
.cq-alert {
  display: none;
  padding: 12px 16px;
  border-radius: var(--cq-r);
  font-weight: 700; font-size: .88rem;
  margin-bottom: 16px;
}
.cq-alert.cq-show { display: block; animation: cq-fadeUp .25s ease; }
.cq-alert.success { background: var(--cq-mint-soft); color: #1f9e7e; }
.cq-alert.error { background: #ffe6dd; color: #d9622e; }

/* ===== Detail Page ===== */
.cq-detail-hero { position: relative; z-index: 1; padding: 30px 20px 10px; }
.cq-detail-hero-bg { position: absolute; inset: 0; border-radius: var(--cq-r-xl); overflow: hidden; z-index: 0; }
.cq-detail-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .45; filter: saturate(.85); }
.cq-detail-hero-overlay { position: absolute; inset: 0; border-radius: var(--cq-r-xl); background: linear-gradient(135deg, rgba(255, 214, 236, .9), rgba(236, 227, 255, .9)); z-index: 1; }
.cq-detail-hero-body { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 380px; gap: 30px; align-items: center; padding: 10px 0; max-width: 1400px; margin: 0 auto; }
.cq-detail-cover { border-radius: var(--cq-r-xl); overflow: hidden; box-shadow: var(--cq-shadow-lg); border: 2px solid var(--cq-border-soft); background: var(--cq-grad-soft); aspect-ratio: 16 / 9; }
.cq-detail-cover img { width: 100%; height: 100%; object-fit: cover; }
.cq-detail-game { display: flex; flex-direction: column; gap: 20px; }
.cq-detail-game-media {
  position: relative;
  border-radius: var(--cq-r-xl);
  overflow: hidden;
  border: 2px solid var(--cq-border-soft);
  box-shadow: var(--cq-shadow-lg);
  background: var(--cq-grad-soft);
  aspect-ratio: 16 / 9;
}
.cq-detail-frame { width: 100%; height: 100%; border: none; }
.cq-detail-thumb { width: 100%; height: 100%; object-fit: cover; }
.cq-detail-badge {
  position: absolute; top: 16px; left: 16px;
  padding: 7px 16px;
  border-radius: var(--cq-r-pill);
  background: rgba(255, 255, 255, .92);
  color: var(--cq-acc-2);
  font-weight: 700; font-size: .82rem;
  box-shadow: var(--cq-shadow-sm);
}
.cq-detail-body { padding: 4px 4px 0; }
.cq-detail-title { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 700; }
.cq-detail-meta { display: flex; flex-wrap: wrap; gap: 16px; margin: 14px 0 18px; color: var(--cq-text-2); font-weight: 600; font-size: .9rem; }
.cq-detail-meta-item { display: inline-flex; align-items: center; gap: 6px; }
.cq-detail-play, .cq-detail-info-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px;
  border-radius: var(--cq-r-pill);
  font-weight: 700; font-size: 1rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.cq-detail-play { background: var(--cq-grad); color: #fff; box-shadow: 0 10px 24px rgba(255, 150, 190, .4); margin-right: 12px; }
.cq-detail-play:hover { transform: translateY(-3px) scale(1.03); }
.cq-detail-play-icon { width: 18px; height: 18px; }
.cq-detail-info-btn { background: var(--cq-surface); color: var(--cq-acc-2); border: 2px solid var(--cq-border); box-shadow: var(--cq-shadow-sm); }
.cq-detail-info-btn:hover { transform: translateY(-3px); }
.cq-detail-info-icon { width: 18px; height: 18px; }
.cq-detail-side { display: flex; flex-direction: column; gap: 18px; }
.cq-detail-panel {
  background: var(--cq-surface);
  border: 2px solid var(--cq-border-soft);
  border-radius: var(--cq-r-lg);
  padding: 22px;
  box-shadow: var(--cq-shadow-sm);
}
.cq-detail-panel-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.cq-detail-panel-title { font-family: var(--cq-font-d); font-size: 1.15rem; font-weight: 700; }
.cq-detail-panel-body { display: flex; flex-direction: column; gap: 12px; }
.cq-detail-desc { color: var(--cq-text); font-size: .95rem; line-height: 1.7; }
.cq-detail-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.cq-detail-stat { background: var(--cq-grad-soft); border-radius: var(--cq-r); padding: 14px; text-align: center; }
.cq-detail-stat-strong { font-family: var(--cq-font-d); font-size: 1.5rem; font-weight: 700; color: var(--cq-text-strong); display: block; }
.cq-detail-stat-label { font-size: .78rem; color: var(--cq-text-2); font-weight: 700; }
.cq-detail-tagcloud { display: flex; flex-wrap: wrap; gap: 8px; }
.cq-detail-tag { padding: 7px 14px; border-radius: var(--cq-r-pill); background: var(--cq-surface-2); border: 2px solid var(--cq-border-soft); color: var(--cq-acc-2); font-weight: 700; font-size: .82rem; transition: transform .2s ease; }
.cq-detail-tag:hover { transform: translateY(-2px) scale(1.04); }
.cq-detail-comments { background: var(--cq-surface); border: 2px solid var(--cq-border-soft); border-radius: var(--cq-r-lg); padding: 22px; box-shadow: var(--cq-shadow-sm); margin-top: 22px; }
.cq-comments-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.cq-comments-title { font-family: var(--cq-font-d); font-size: 1.3rem; font-weight: 700; }
.cq-comments-count { background: var(--cq-grad-soft); color: var(--cq-acc-2); font-weight: 700; font-size: .82rem; padding: 4px 12px; border-radius: var(--cq-r-pill); }
.cq-comment-form { display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; }
.cq-comment-rating { display: flex; align-items: center; gap: 8px; }
.cq-star { width: 26px; height: 26px; color: var(--cq-muted); cursor: pointer; transition: transform .15s ease, color .15s ease; }
.cq-star:hover { transform: scale(1.15); }
.cq-star--on { color: var(--cq-yellow); }
.cq-comment-textarea,
.cq-comment-form-text {
  min-height: 96px; resize: vertical;
  padding: 14px 16px;
  border-radius: var(--cq-r);
  border: 2px solid var(--cq-border-soft);
  background: var(--cq-surface-2);
  color: var(--cq-text-strong);
  font-size: .95rem; outline: none;
  transition: border-color .2s ease;
}
.cq-comment-textarea:focus { border-color: var(--cq-pink); }
.cq-comment-submit { align-self: flex-start; padding: 12px 30px; border-radius: var(--cq-r-pill); background: var(--cq-grad); color: #fff; font-weight: 700; box-shadow: 0 8px 18px rgba(255, 150, 190, .35); transition: transform .2s ease; }
.cq-comment-submit:hover { transform: translateY(-2px) scale(1.03); }
.cq-comment-list { display: flex; flex-direction: column; gap: 16px; }
.cq-comment-card, .cq-comment { display: flex; gap: 14px; }
.cq-comment-avatar { width: 46px; height: 46px; border-radius: var(--cq-r-pill); background: var(--cq-grad); color: #fff; display: grid; place-items: center; font-family: var(--cq-font-d); font-weight: 700; flex: none; box-shadow: var(--cq-shadow-inset); }
.cq-comment-avatar-letter { font-size: 1.1rem; }
.cq-comment-main { flex: 1; background: var(--cq-surface-2); border: 2px solid var(--cq-border-soft); border-radius: var(--cq-r); padding: 14px 16px; }
.cq-comment-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.cq-comment-name { font-weight: 700; color: var(--cq-text-strong); }
.cq-comment-time { font-size: .78rem; color: var(--cq-muted); font-weight: 600; }
.cq-comment-text { font-size: .92rem; color: var(--cq-text); }
.cq-comment-more { color: var(--cq-acc-2); font-weight: 700; font-size: .85rem; background: none; margin-top: 10px; }
.cq-related-head { display: flex; align-items: center; gap: 10px; margin: 30px 0 18px; }
.cq-related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.cq-detail-extra-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }

/* ===== Profile ===== */
.cq-profile-hero { position: relative; z-index: 1; padding: 30px 0 10px; }
.cq-profile-cover { height: 160px; border-radius: var(--cq-r-xl); background: var(--cq-grad-2); position: relative; overflow: hidden; box-shadow: var(--cq-shadow); }
.cq-profile-cover::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .4) 2px, transparent 2.2px); background-size: 30px 30px; opacity: .5; }
.cq-profile-card {
  position: relative;
  margin: -56px auto 0;
  max-width: 720px;
  background: var(--cq-surface);
  border: 2px solid var(--cq-border-soft);
  border-radius: var(--cq-r-xl);
  box-shadow: var(--cq-shadow-lg);
  padding: 24px 28px 28px;
  text-align: center;
  z-index: 2;
}
.cq-profile-avatar {
  width: 110px; height: 110px;
  border-radius: var(--cq-r-pill);
  background: var(--cq-grad);
  color: #fff;
  margin: -68px auto 14px;
  display: grid; place-items: center;
  font-family: var(--cq-font-d); font-weight: 700; font-size: 2.4rem;
  border: 5px solid var(--cq-surface);
  box-shadow: var(--cq-shadow);
}
.cq-profile-avatar-edit { position: absolute; bottom: 6px; right: calc(50% - 60px); width: 34px; height: 34px; border-radius: 50%; background: var(--cq-surface); border: 2px solid var(--cq-border); color: var(--cq-acc-2); display: grid; place-items: center; box-shadow: var(--cq-shadow-sm); }
.cq-profile-name { font-size: 1.6rem; font-weight: 700; }
.cq-profile-handle { color: var(--cq-text-2); font-weight: 600; margin-top: 2px; }
.cq-profile-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin: 14px 0; color: var(--cq-text-2); font-size: .88rem; font-weight: 600; }
.cq-profile-meta-item { display: inline-flex; align-items: center; gap: 6px; }
.cq-profile-stats { display: flex; justify-content: center; gap: 30px; margin: 16px 0 6px; }
.cq-profile-stat { display: flex; flex-direction: column; }
.cq-profile-stat-strong { font-family: var(--cq-font-d); font-size: 1.5rem; font-weight: 700; color: var(--cq-text-strong); }
.cq-profile-stat-label { font-size: .78rem; color: var(--cq-text-2); font-weight: 700; }
.cq-profile-tabs { display: flex; justify-content: center; gap: 10px; margin: 22px 0; flex-wrap: wrap; }
.cq-profile-tab { padding: 10px 22px; border-radius: var(--cq-r-pill); background: var(--cq-surface-2); border: 2px solid var(--cq-border-soft); color: var(--cq-text-2); font-weight: 700; font-size: .9rem; transition: all .2s ease; }
.cq-profile-tab:hover { transform: translateY(-2px); }
.cq-profile-tab.cq-on { background: var(--cq-grad); color: #fff; border-color: transparent; }
.cq-profile-panel { max-width: 820px; margin: 0 auto; }
.cq-profile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.cq-profile-empty { text-align: center; padding: 50px 20px; color: var(--cq-text-2); }
.cq-profile-empty-icon { font-size: 3rem; margin-bottom: 12px; }
.cq-profile-empty-text { font-weight: 600; }
.cq-profile-form { max-width: 620px; margin: 0 auto; background: var(--cq-surface); border: 2px solid var(--cq-border-soft); border-radius: var(--cq-r-lg); padding: 28px; box-shadow: var(--cq-shadow-sm); }
.cq-form-row { margin-bottom: 18px; }
.cq-form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cq-form-label { display: block; font-weight: 700; font-size: .85rem; color: var(--cq-text-strong); margin-bottom: 7px; }
.cq-form-input, .cq-form-textarea, .cq-form-select {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--cq-r);
  border: 2px solid var(--cq-border-soft);
  background: var(--cq-surface-2);
  color: var(--cq-text-strong);
  font-size: .95rem; outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.cq-form-input:focus, .cq-form-textarea:focus, .cq-form-select:focus { border-color: var(--cq-pink); box-shadow: 0 0 0 4px rgba(255, 158, 196, .18); }
.cq-form-hint { font-size: .8rem; color: var(--cq-text-2); margin-top: 6px; font-weight: 600; }
.cq-avatar-upload { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.cq-avatar-preview { width: 90px; height: 90px; border-radius: var(--cq-r-pill); background: var(--cq-grad); color: #fff; display: grid; place-items: center; font-family: var(--cq-font-d); font-weight: 700; font-size: 2rem; box-shadow: var(--cq-shadow-inset); }
.cq-avatar-frame { position: relative; }
.cq-avatar-letter { font-size: 2rem; }
.cq-avatar-edit-btn { padding: 10px 20px; border-radius: var(--cq-r-pill); background: var(--cq-grad-soft); color: var(--cq-acc-2); font-weight: 700; font-size: .85rem; transition: transform .2s ease; }
.cq-avatar-edit-btn:hover { transform: translateY(-2px); }
.cq-pwd { position: relative; }
.cq-form-actions { display: flex; gap: 12px; margin-top: 8px; }
.cq-btn-ghost { padding: 13px 28px; border-radius: var(--cq-r-pill); background: var(--cq-surface); border: 2px solid var(--cq-border); color: var(--cq-acc-2); font-weight: 700; font-size: .95rem; box-shadow: var(--cq-shadow-sm); transition: transform .2s ease; }
.cq-btn-ghost:hover { transform: translateY(-2px); }

/* ===== Login Page ===== */
.cq-login-wrap { position: relative; z-index: 1; min-height: calc(100vh - var(--cq-topbar-h)); display: grid; place-items: center; padding: 50px 20px; }
.cq-login-card {
  position: relative;
  width: min(880px, 100%);
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--cq-surface);
  border: 2px solid var(--cq-border-soft);
  border-radius: var(--cq-r-xl);
  box-shadow: var(--cq-shadow-lg);
  overflow: hidden;
}
.cq-login-brand {
  position: relative;
  padding: 44px 38px;
  background: var(--cq-grad-2);
  color: #fff;
  display: flex; flex-direction: column; justify-content: center; gap: 16px;
  overflow: hidden;
}
.cq-login-brand::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .35) 2px, transparent 2.2px); background-size: 28px 28px; opacity: .5; }
.cq-login-brand-logo { font-size: 2.4rem; animation: cq-bob 3s ease-in-out infinite; }
.cq-login-brand-name { font-family: var(--cq-font-d); font-size: 2rem; font-weight: 700; }
.cq-login-brand-tag { font-weight: 600; opacity: .92; }
.cq-login-deco { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.cq-login-deco--1 { width: 120px; height: 120px; top: -30px; right: -20px; }
.cq-login-deco--2 { width: 80px; height: 80px; bottom: 20px; left: -20px; }
.cq-login-head { padding: 40px 38px; }
.cq-login-logo { display: none; }
.cq-login-title { font-size: 1.8rem; font-weight: 700; }
.cq-login-sub { color: var(--cq-text-2); font-weight: 600; margin: 8px 0 22px; }
.cq-login-form { display: flex; flex-direction: column; gap: 14px; }
.cq-login-field { display: flex; flex-direction: column; gap: 7px; }
.cq-login-label { font-weight: 700; font-size: .85rem; color: var(--cq-text-strong); }
.cq-login-input { padding: 13px 16px; border-radius: var(--cq-r); border: 2px solid var(--cq-border-soft); background: var(--cq-surface-2); color: var(--cq-text-strong); font-size: .95rem; outline: none; transition: border-color .2s ease; }
.cq-login-input:focus { border-color: var(--cq-pink); }
.cq-login-pass { position: relative; }
.cq-login-pass input { width: 100%; padding-right: 46px; }
.cq-login-pass-icon { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--cq-lav); cursor: pointer; }
.cq-login-submit { margin-top: 6px; padding: 14px; border-radius: var(--cq-r-pill); background: var(--cq-grad); color: #fff; font-weight: 700; font-size: 1rem; box-shadow: 0 10px 24px rgba(255, 150, 190, .4); transition: transform .2s ease; }
.cq-login-submit:hover { transform: translateY(-2px) scale(1.02); }
.cq-login-alt { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.cq-login-alt-btn { padding: 12px; border-radius: var(--cq-r-pill); background: var(--cq-surface-2); border: 2px solid var(--cq-border-soft); color: var(--cq-text); font-weight: 700; font-size: .9rem; transition: transform .2s ease; }
.cq-login-alt-btn:hover { transform: translateY(-2px); }
.cq-login-foot { text-align: center; font-size: .86rem; color: var(--cq-text-2); font-weight: 600; margin-top: 6px; }
.cq-login-link { color: var(--cq-pink); font-weight: 700; }
.cq-login-err { display: none; padding: 11px 14px; border-radius: var(--cq-r); background: #ffe6dd; color: #d9622e; font-weight: 700; font-size: .85rem; }

/* ===== Contributions ===== */
.cq-contrib { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.cq-contrib-card {
  background: var(--cq-surface);
  border: 2px solid var(--cq-border-soft);
  border-radius: var(--cq-r-lg);
  padding: 24px;
  box-shadow: var(--cq-shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.cq-contrib-card:hover { transform: translateY(-6px) rotate(-.5deg); box-shadow: var(--cq-shadow-lg); }
.cq-contrib-card-emoji { font-size: 2.2rem; margin-bottom: 12px; display: inline-block; }
.cq-contrib-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.cq-contrib-card-title { font-family: var(--cq-font-d); font-size: 1.15rem; font-weight: 700; }
.cq-contrib-card-count { margin-left: auto; background: var(--cq-grad-soft); color: var(--cq-acc-2); font-weight: 700; font-size: .8rem; padding: 4px 12px; border-radius: var(--cq-r-pill); }
.cq-contrib-card-text { color: var(--cq-text-2); font-size: .9rem; font-weight: 600; }

/* ===== About ===== */
.cq-about { position: relative; z-index: 1; }
.cq-about-hero { padding: 44px 0 20px; }
.cq-about-hero-inner { text-align: center; max-width: 760px; margin: 0 auto; }
.cq-about-badge { display: inline-block; padding: 8px 18px; border-radius: var(--cq-r-pill); background: var(--cq-grad-soft); color: var(--cq-acc-2); font-weight: 700; font-size: .82rem; margin-bottom: 16px; }
.cq-about-title { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 700; }
.cq-about-sub { color: var(--cq-text-2); font-size: 1.05rem; margin-top: 14px; }
.cq-about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 30px; }
.cq-about-card {
  background: var(--cq-surface);
  border: 2px solid var(--cq-border-soft);
  border-radius: var(--cq-r-lg);
  padding: 26px;
  box-shadow: var(--cq-shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.cq-about-card:hover { transform: translateY(-6px); box-shadow: var(--cq-shadow-lg); }
.cq-about-card-icon { width: 58px; height: 58px; border-radius: var(--cq-r); background: var(--cq-grad-soft); display: grid; place-items: center; font-size: 1.8rem; margin-bottom: 14px; }
.cq-about-card-title { font-family: var(--cq-font-d); font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.cq-about-card-text { color: var(--cq-text-2); font-size: .92rem; font-weight: 600; }
.cq-about-section { margin-top: 40px; }
.cq-about-section-head { margin-bottom: 18px; }
.cq-about-section-title { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; }
.cq-about-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.cq-about-list-item { display: flex; align-items: center; gap: 12px; background: var(--cq-surface); border: 2px solid var(--cq-border-soft); border-radius: var(--cq-r); padding: 16px 18px; font-weight: 600; color: var(--cq-text); box-shadow: var(--cq-shadow-sm); transition: transform .2s ease; }
.cq-about-list-item:hover { transform: translateX(5px); }
.cq-about-list-item::before { content: "🍬"; }
.cq-about-team { margin-top: 40px; }
.cq-about-team-head { text-align: center; margin-bottom: 22px; }
.cq-about-team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.cq-about-team-card { background: var(--cq-surface); border: 2px solid var(--cq-border-soft); border-radius: var(--cq-r-lg); padding: 26px 22px; text-align: center; box-shadow: var(--cq-shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.cq-about-team-card:hover { transform: translateY(-8px) rotate(.5deg); box-shadow: var(--cq-shadow-lg); }
.cq-about-team-avatar { width: 84px; height: 84px; border-radius: var(--cq-r-pill); background: var(--cq-grad); margin: 0 auto 14px; display: grid; place-items: center; font-family: var(--cq-font-d); font-weight: 700; font-size: 1.8rem; color: #fff; box-shadow: var(--cq-shadow-inset); }
.cq-about-team-name { font-family: var(--cq-font-d); font-size: 1.15rem; font-weight: 700; }
.cq-about-team-role { color: var(--cq-acc-2); font-weight: 700; font-size: .85rem; margin: 4px 0 8px; }
.cq-about-team-bio { color: var(--cq-text-2); font-size: .88rem; font-weight: 600; }

/* ===== Legal (Privacy / Terms / Disclaimer) ===== */
.cq-legal { position: relative; z-index: 1; padding: 30px 0; }
.cq-legal-head { max-width: 820px; margin: 0 auto 24px; text-align: center; }
.cq-legal-title { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; }
.cq-legal-meta { display: flex; justify-content: center; gap: 16px; margin-top: 10px; color: var(--cq-text-2); font-size: .85rem; font-weight: 600; }
.cq-legal-updated { background: var(--cq-grad-soft); color: var(--cq-acc-2); padding: 4px 14px; border-radius: var(--cq-r-pill); }
.cq-legal-body {
  max-width: 820px; margin: 0 auto;
  background: var(--cq-surface);
  border: 2px solid var(--cq-border-soft);
  border-radius: var(--cq-r-lg);
  padding: 36px 40px;
  box-shadow: var(--cq-shadow-sm);
  color: var(--cq-text);
  line-height: 1.8;
}
.cq-legal-body h2 { font-size: 1.4rem; margin: 28px 0 10px; color: var(--cq-text-strong); }
.cq-legal-body h3 { font-size: 1.15rem; margin: 20px 0 8px; color: var(--cq-text-strong); }
.cq-legal-body p { margin: 0 0 12px; }
.cq-legal-body ul { padding-left: 22px; margin: 0 0 14px; }
.cq-legal-body li { margin-bottom: 8px; }
.cq-legal-body a { color: var(--cq-pink); font-weight: 700; }
.cq-legal-toc { background: var(--cq-surface-2); border: 2px solid var(--cq-border-soft); border-radius: var(--cq-r); padding: 20px 24px; margin-bottom: 26px; }
.cq-legal-toc-title { font-family: var(--cq-font-d); font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; }
.cq-legal-toc-list, .cq-legal-toc { }
.cq-legal-toc-item { margin-bottom: 8px; list-style: none; }
.cq-legal-toc-link { color: var(--cq-acc-2); font-weight: 700; font-size: .9rem; transition: padding-left .18s ease; }
.cq-legal-toc-link:hover { padding-left: 5px; color: var(--cq-pink); }

/* ===== Contact ===== */
.cq-contact { position: relative; z-index: 1; padding: 30px 0; }
.cq-contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: start; }
.cq-contact-info { background: var(--cq-grad-soft); border-radius: var(--cq-r-xl); padding: 34px 32px; box-shadow: var(--cq-shadow); }
.cq-contact-info-head { margin-bottom: 18px; }
.cq-contact-info-title { font-size: 1.8rem; font-weight: 700; }
.cq-contact-info-sub { color: var(--cq-text-2); font-weight: 600; margin-top: 6px; }
.cq-contact-info-list { display: flex; flex-direction: column; gap: 16px; margin-top: 10px; }
.cq-contact-info-item { display: flex; align-items: center; gap: 14px; }
.cq-contact-info-icon { width: 48px; height: 48px; border-radius: var(--cq-r); background: var(--cq-surface); display: grid; place-items: center; font-size: 1.4rem; flex: none; box-shadow: var(--cq-shadow-sm); }
.cq-contact-info-strong { font-family: var(--cq-font-d); font-weight: 700; color: var(--cq-text-strong); display: block; }
.cq-contact-info-text { color: var(--cq-text-2); font-size: .9rem; font-weight: 600; }
.cq-contact-form-wrap { background: var(--cq-surface); border: 2px solid var(--cq-border-soft); border-radius: var(--cq-r-xl); padding: 32px; box-shadow: var(--cq-shadow-sm); }
.cq-contact-form { display: flex; flex-direction: column; gap: 16px; }
.cq-form-group { display: flex; flex-direction: column; gap: 7px; }
.cq-form-group .cq-form-label { margin-bottom: 0; }
.cq-form-textarea { min-height: 120px; resize: vertical; }
.cq-form-select { cursor: pointer; }
.cq-form-submit { align-self: flex-start; padding: 14px 34px; border-radius: var(--cq-r-pill); background: var(--cq-grad); color: #fff; font-weight: 700; font-size: 1rem; box-shadow: 0 10px 24px rgba(255, 150, 190, .4); transition: transform .2s ease; }
.cq-form-submit:hover { transform: translateY(-2px) scale(1.03); }
.cq-contact-note { margin-top: 22px; background: var(--cq-surface-2); border: 2px solid var(--cq-border-soft); border-radius: var(--cq-r); padding: 18px 20px; }
.cq-contact-note-head, .cq-contact-alt-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.cq-contact-note-title, .cq-contact-alt-title { font-family: var(--cq-font-d); font-weight: 700; color: var(--cq-text-strong); }
.cq-contact-note-text, .cq-contact-alt-text { color: var(--cq-text-2); font-size: .9rem; font-weight: 600; }
.cq-contact-alt { margin-top: 16px; background: var(--cq-grad-soft); border-radius: var(--cq-r); padding: 18px 20px; }
.cq-form-success { display: none; padding: 14px 18px; border-radius: var(--cq-r); background: var(--cq-mint-soft); color: #1f9e7e; font-weight: 700; margin-bottom: 8px; }
.cq-form-success.cq-show { display: block; animation: cq-fadeUp .3s ease; }

/* ===== Tags Cloud ===== */
.cq-tags { position: relative; z-index: 1; }
.cq-tags-hero { padding: 44px 0 20px; }
.cq-tags-hero-inner { text-align: center; max-width: 720px; margin: 0 auto; }
.cq-tags-badge { display: inline-block; padding: 8px 18px; border-radius: var(--cq-r-pill); background: var(--cq-grad-soft); color: var(--cq-acc-2); font-weight: 700; font-size: .82rem; margin-bottom: 16px; }
.cq-tags-title { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 700; }
.cq-tags-sub { color: var(--cq-text-2); font-size: 1.05rem; margin-top: 14px; }
.cq-tags-cloud { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }
.cq-tag-cloud-item {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  border-radius: var(--cq-r-pill);
  background: var(--cq-surface);
  border: 2px solid var(--cq-border-soft);
  color: var(--cq-text-strong);
  font-weight: 700; font-size: 1rem;
  box-shadow: var(--cq-shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.cq-tag-cloud-item:hover { transform: translateY(-4px) scale(1.04); border-color: var(--cq-pink); box-shadow: var(--cq-shadow); }
.cq-tag-cloud-count { background: var(--cq-grad-soft); color: var(--cq-acc-2); font-size: .78rem; padding: 2px 10px; border-radius: var(--cq-r-pill); }

/* ===== 404 ===== */
.cq-404 { position: relative; z-index: 1; min-height: 60vh; display: grid; place-items: center; padding: 60px 20px; text-align: center; }
.cq-404-inner { max-width: 520px; }
.cq-404-code { font-family: var(--cq-font-d); font-size: clamp(5rem, 16vw, 9rem); font-weight: 700; background: var(--cq-grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.cq-404-title { font-size: 1.8rem; font-weight: 700; margin: 10px 0; }
.cq-404-text { color: var(--cq-text-2); font-weight: 600; margin-bottom: 24px; }
.cq-404-cta { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; border-radius: var(--cq-r-pill); background: var(--cq-grad); color: #fff; font-weight: 700; box-shadow: 0 10px 24px rgba(255, 150, 190, .4); transition: transform .2s ease; }
.cq-404-cta:hover { transform: translateY(-3px) scale(1.03); }

/* ===== Skeleton ===== */
.cq-skel { position: relative; overflow: hidden; background: var(--cq-surface-2); border-radius: var(--cq-r-sm); }
.cq-skel::after {
  content: "";
  position: absolute; inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .75), transparent);
  animation: cq-shimmer 1.4s infinite;
}
.cq-skel-text { height: 12px; border-radius: var(--cq-r-pill); margin: 8px 0; }
.cq-skel-block { height: 160px; border-radius: var(--cq-r); }
.cq-skel-circle { width: 46px; height: 46px; border-radius: 50%; }
.cq-skel-line { height: 10px; border-radius: var(--cq-r-pill); margin: 6px 0; }
.cq-skel-spacer { height: 18px; }

/* ===== Supplementary Components (recovered class coverage) ===== */

/* layout helpers */
.cq-main { min-width: 0; }
.cq-content { }
.cq-with-side { display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: start; }
.cq-narrow { max-width: 780px; margin: 0 auto; }
.cq-block { padding: 10px 0; }
.cq-shell { max-width: var(--cq-maxw); margin: 0 auto; padding: 0 20px; }
.cq-hidden { display: none !important; }
.cq-open { display: block !important; }
.cq-lazy { filter: blur(8px); transition: filter .35s ease; }
.cq-lazy.loaded { filter: none; }

/* hero extras */
.cq-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cq-hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: var(--cq-r-pill); background: rgba(255, 255, 255, .82); color: var(--cq-acc-2); font-weight: 700; font-size: .82rem; box-shadow: var(--cq-shadow-sm); margin-bottom: 18px; }
.cq-hero-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--cq-grad); box-shadow: 0 0 0 4px rgba(255, 158, 196, .28); animation: cq-pulse 2s ease-in-out infinite; }
.cq-hero-stat-num { font-family: var(--cq-font-d); font-size: 1.7rem; font-weight: 700; color: var(--cq-text-strong); display: block; }

/* game card extras */
.cq-gcard-desc { color: var(--cq-text-2); font-size: .85rem; margin: 0 0 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cq-gcard-rating { display: inline-flex; align-items: center; gap: 3px; color: var(--cq-yellow); font-weight: 700; font-size: .82rem; }
.cq-gcard-play { position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; }
.cq-gcard-play span { width: 56px; height: 56px; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--cq-pink); display: grid; place-items: center; font-size: 1.2rem; box-shadow: var(--cq-shadow); transition: transform .2s ease; }
.cq-gcard:hover .cq-gcard-play span { transform: scale(1.14); }

/* generic buttons */
.cq-btn-primary { display: inline-flex; align-items: center; gap: 8px; padding: 13px 30px; border-radius: var(--cq-r-pill); background: var(--cq-grad); color: #fff; font-weight: 700; font-size: .98rem; box-shadow: 0 10px 24px rgba(255, 150, 190, .4); transition: transform .2s ease, box-shadow .2s ease; }
.cq-btn-primary:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 16px 32px rgba(255, 150, 190, .5); }
.cq-btn-ghost-danger { padding: 11px 22px; border-radius: var(--cq-r-pill); background: var(--cq-surface-2); color: #e07a5f; border: 2px solid rgba(224, 122, 95, .3); font-weight: 700; transition: transform .2s ease; }
.cq-btn-ghost-danger:hover { transform: translateY(-2px); }
.cq-btn-empty { padding: 11px 22px; border-radius: var(--cq-r-pill); background: transparent; color: var(--cq-text-2); font-weight: 700; border: 2px dashed var(--cq-border); transition: all .2s ease; }
.cq-btn-empty:hover { color: var(--cq-acc-2); border-color: var(--cq-lav); }
.cq-btn-empty--ghost { color: var(--cq-acc-2); border-color: var(--cq-border); }
.cq-btn-unfav { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--cq-lav); display: grid; place-items: center; box-shadow: var(--cq-shadow-sm); transition: transform .2s ease; }
.cq-btn-unfav:hover { transform: scale(1.12); }

/* favorites */
.cq-fav { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--cq-lav); display: grid; place-items: center; box-shadow: var(--cq-shadow-sm); transition: transform .2s ease; }
.cq-fav:hover { transform: scale(1.12); }
.cq-faved { color: var(--cq-pink); }

/* category bar */
.cq-catbar { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.cq-catpill { padding: 9px 20px; border-radius: var(--cq-r-pill); background: var(--cq-surface); border: 2px solid var(--cq-border-soft); color: var(--cq-text-2); font-weight: 700; font-size: .88rem; box-shadow: var(--cq-shadow-sm); transition: all .2s ease; }
.cq-catpill:hover, .cq-catpill.cq-on { background: var(--cq-grad); color: #fff; border-color: transparent; transform: translateY(-2px); }

/* page header */
.cq-pagehead { text-align: center; padding: 42px 20px 8px; }
.cq-pagehead--center { text-align: center; }
.cq-pagehead-title { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; }
.cq-pagehead-sub { color: var(--cq-text-2); margin-top: 10px; font-weight: 600; }
.cq-pagehead-meta { display: flex; justify-content: center; gap: 16px; margin-top: 14px; color: var(--cq-text-2); font-weight: 600; font-size: .9rem; flex-wrap: wrap; }

/* load more + share + generic stat */
.cq-loadmore { display: inline-flex; align-items: center; gap: 8px; padding: 13px 34px; border-radius: var(--cq-r-pill); background: var(--cq-surface); border: 2px solid var(--cq-border); color: var(--cq-acc-2); font-weight: 700; font-size: .95rem; box-shadow: var(--cq-shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.cq-loadmore:hover { transform: translateY(-2px) scale(1.02); box-shadow: var(--cq-shadow); }
.cq-share-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.cq-stat-label { color: var(--cq-text-2); font-size: .82rem; font-weight: 700; }
.cq-stat-val { font-family: var(--cq-font-d); font-size: 1.4rem; font-weight: 700; color: var(--cq-text-strong); display: block; }

/* text blocks */
.cq-sep { height: 2px; background: var(--cq-border-soft); border-radius: 2px; margin: 18px 0; }
.cq-prose { color: var(--cq-text); line-height: 1.8; }
.cq-prose p { margin: 0 0 12px; }
.cq-policy-sec { margin: 24px 0; }
.cq-policy-sec h2 { font-size: 1.3rem; margin-bottom: 8px; }

/* empty states */
.cq-empty { text-align: center; padding: 50px 20px; color: var(--cq-text-2); }
.cq-empty-icon { font-size: 3rem; margin-bottom: 12px; }
.cq-empty-actions { margin-top: 16px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cq-empty-sm { text-align: center; color: var(--cq-text-2); padding: 24px; }
.cq-empty-sm-icon { font-size: 2rem; margin-bottom: 8px; }

/* comments extras */
.cq-comment-author { font-weight: 700; color: var(--cq-text-strong); }
.cq-comment-body { color: var(--cq-text); }
.cq-comment-date { font-size: .78rem; color: var(--cq-muted); }
.cq-comment-form-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.cq-comment-form-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--cq-grad); color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }
.cq-comment-form-author { font-weight: 700; color: var(--cq-text-strong); }
.cq-comment-form-rating { display: flex; align-items: center; gap: 6px; }
.cq-comment-form-foot { display: flex; justify-content: flex-end; margin-top: 12px; }
.cq-comment-login { text-align: center; color: var(--cq-text-2); font-weight: 600; padding: 14px; }
.cq-comment-login a { color: var(--cq-pink); font-weight: 700; }
.cq-comments-list, .cq-comments { display: flex; flex-direction: column; gap: 16px; }
.cq-comments-empty { text-align: center; color: var(--cq-text-2); padding: 30px; font-weight: 600; }
.cq-comments-empty-icon { font-size: 2.4rem; margin-bottom: 10px; }
.cq-comments-loading { text-align: center; color: var(--cq-text-2); padding: 20px; font-weight: 600; }
.cq-comment-stars { display: inline-flex; gap: 2px; color: var(--cq-yellow); }
.cq-rate-star { width: 22px; height: 22px; color: var(--cq-muted); cursor: pointer; transition: transform .15s ease, color .15s ease; }
.cq-rate-star:hover { transform: scale(1.15); }
.cq-rate-star.cq-on { color: var(--cq-yellow); }

/* detail extras */
.cq-detail-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.cq-detail-info h1 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; color: var(--cq-text-strong); margin: 8px 0 0; line-height: 1.25; }
.cq-detail-brief { color: var(--cq-text); margin: 14px 0; line-height: 1.7; }
.cq-detail-info .cq-detail-tags { margin-top: 0; margin-bottom: 4px; }
.cq-detail-stat { background: var(--cq-grad-soft); border-radius: var(--cq-r); padding: 14px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.cq-detail-stat-icon { font-size: 1.5rem; line-height: 1; }
.cq-detail-stat-text { font-size: .78rem; color: var(--cq-text-2); text-align: center; }
.cq-detail-stat-text strong { display: block; font-size: .9rem; color: var(--cq-text-strong); font-weight: 700; margin-top: 2px; }
.cq-detail-stat-text small { font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.cq-detail-tabs { display: flex; gap: 10px; margin: 20px 0 14px; flex-wrap: wrap; }
.cq-detail-tab { padding: 10px 22px; border-radius: var(--cq-r-pill); background: var(--cq-surface-2); border: 2px solid var(--cq-border-soft); color: var(--cq-text-2); font-weight: 700; font-size: .9rem; transition: all .2s ease; }
.cq-detail-tab:hover { transform: translateY(-2px); }
.cq-detail-tab.cq-on,
.cq-detail-tab.active { background: var(--cq-grad); color: #fff; border-color: transparent; }
.cq-detail-tab-count { margin-left: 6px; opacity: .85; }
.cq-detail-tab-panel { display: none; }
.cq-detail-tab-panel.cq-on,
.cq-detail-tab-panel.active { display: block; animation: cq-fadeUp .3s ease; }
.cq-detail-panel-title { font-family: var(--cq-font-d); font-size: 1.3rem; font-weight: 700; color: var(--cq-text-strong); margin: 0 0 20px; padding-bottom: 12px; border-bottom: 2px solid var(--cq-border-soft); }
.cq-detail-tags { margin-top: 14px; }

/* profile extras */
.cq-profile { }
.cq-profile-info { color: var(--cq-text-2); font-weight: 600; }
.cq-profile-loading { text-align: center; padding: 60px 20px; }
.cq-profile-loading-text { color: var(--cq-text-2); font-weight: 600; margin-top: 14px; }
.cq-profile-spinner { width: 44px; height: 44px; border-radius: 50%; border: 4px solid var(--cq-border-soft); border-top-color: var(--cq-pink); margin: 0 auto; animation: cq-spin 1s linear infinite; }
.cq-profile-main { }
.cq-profile-nav { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 18px 0; }
.cq-profile-navlink { padding: 10px 22px; border-radius: var(--cq-r-pill); background: var(--cq-surface-2); border: 2px solid var(--cq-border-soft); color: var(--cq-text-2); font-weight: 700; font-size: .9rem; transition: all .2s ease; }
.cq-profile-navlink.cq-on { background: var(--cq-grad); color: #fff; border-color: transparent; }
.cq-profile-pane { display: none; }
.cq-profile-pane.cq-on { display: block; animation: cq-fadeUp .3s ease; }
.cq-profile-side { display: flex; flex-direction: column; gap: 18px; }
.cq-profile-heading { font-family: var(--cq-font-d); font-size: 1.3rem; font-weight: 700; margin: 24px 0 14px; }
.cq-avatar-row { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.cq-avatar-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cq-avatar-zone { border: 2px dashed var(--cq-border); border-radius: var(--cq-r); padding: 18px; text-align: center; background: var(--cq-surface-2); }
.cq-avatar-zone-head { margin-bottom: 6px; }
.cq-avatar-zone-title { font-weight: 700; color: var(--cq-text-strong); }
.cq-avatar-hint { font-size: .8rem; color: var(--cq-text-2); margin-top: 8px; font-weight: 600; }
.cq-file-input { display: none; }
.cq-field-group { display: flex; flex-direction: column; gap: 14px; }

/* auth extras */
.cq-auth-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: var(--cq-r-pill); background: var(--cq-surface-2); border: 2px solid var(--cq-border-soft); color: var(--cq-text); font-weight: 700; transition: transform .2s ease; }
.cq-auth-btn:hover { transform: translateY(-2px); }
.cq-auth-group { }

/* generic overlay + confirm dialog */
.cq-overlay { position: fixed; inset: 0; z-index: 320; background: rgba(91, 82, 105, .4); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 20px; animation: cq-fadeIn .25s ease; }
.cq-overlay-exit { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%; background: var(--cq-grad-soft); color: var(--cq-acc-2); display: grid; place-items: center; transition: transform .2s ease; }
.cq-overlay-exit:hover { transform: rotate(90deg); }
.cq-overlay-stage { }
.cq-confirm-box { background: var(--cq-surface); border: 2px solid var(--cq-border-soft); border-radius: var(--cq-r-xl); box-shadow: var(--cq-shadow-lg); padding: 30px; width: min(420px, 100%); text-align: center; animation: cq-pop .3s ease; }
.cq-confirm-icon { font-size: 2.4rem; margin-bottom: 10px; }
.cq-confirm-head { }
.cq-confirm-title { font-family: var(--cq-font-d); font-size: 1.4rem; font-weight: 700; }
.cq-confirm-body { }
.cq-confirm-text { color: var(--cq-text-2); font-weight: 600; margin: 8px 0 18px; }
.cq-confirm-foot { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cq-confirm-btn { padding: 12px 26px; border-radius: var(--cq-r-pill); background: var(--cq-surface-2); border: 2px solid var(--cq-border-soft); color: var(--cq-text); font-weight: 700; transition: transform .2s ease; }
.cq-confirm-btn:hover { transform: translateY(-2px); }
.cq-confirm-btn--cancel { color: var(--cq-text-2); }
.cq-confirm-btn--danger { background: var(--cq-grad); color: #fff; border-color: transparent; box-shadow: 0 8px 18px rgba(255, 150, 190, .35); }

/* cookie banner */
.cq-cookie { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 310; width: min(560px, 92vw); background: var(--cq-surface); border: 2px solid var(--cq-border-soft); border-radius: var(--cq-r-lg); box-shadow: var(--cq-shadow-lg); padding: 18px 22px; display: none; align-items: center; gap: 16px; flex-wrap: wrap; }
.cq-cookie.cq-show { display: flex; animation: cq-fadeUp .4s ease; }
.cq-cookie-text { flex: 1; min-width: 200px; color: var(--cq-text); font-weight: 600; font-size: .9rem; }
.cq-cookie-btns { display: flex; gap: 10px; }
.cq-cookie-btn { padding: 10px 20px; border-radius: var(--cq-r-pill); font-weight: 700; font-size: .85rem; transition: transform .2s ease; }
.cq-cookie-btn--accept { background: var(--cq-grad); color: #fff; box-shadow: 0 8px 18px rgba(255, 150, 190, .35); }
.cq-cookie-btn:hover { transform: translateY(-2px); }

/* toast / notify */
.cq-toast, .cq-notify { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 330; background: var(--cq-surface); border: 2px solid var(--cq-border-soft); border-radius: var(--cq-r); box-shadow: var(--cq-shadow-lg); padding: 14px 20px; display: flex; align-items: center; gap: 10px; font-weight: 700; animation: cq-fadeUp .3s ease; }
.cq-notify--ok { color: #1f9e7e; }
.cq-notify--err { color: #d9622e; }
.cq-notify-head { }
.cq-notify-body { color: var(--cq-text); font-weight: 600; }
.cq-notify-x { margin-left: auto; cursor: pointer; color: var(--cq-text-2); }

/* game player */
.cq-player-wrap { position: relative; border-radius: var(--cq-r-xl); overflow: hidden; border: 2px solid var(--cq-border-soft); box-shadow: var(--cq-shadow-lg); background: #efe6fb; aspect-ratio: 16 / 9; }
.cq-player { width: 100%; height: 100%; border: none; display: block; }
.cq-player iframe { width: 100%; height: 100%; border: none; display: block; }
.cq-player-label { position: absolute; bottom: 12px; left: 12px; background: rgba(255, 255, 255, .9); color: var(--cq-acc-2); font-weight: 700; font-size: .8rem; padding: 5px 12px; border-radius: var(--cq-r-pill); }
.cq-play-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 40px; border: none; border-radius: var(--cq-r-pill); background: var(--cq-grad); color: #fff; font-size: 1.05rem; font-weight: 700; letter-spacing: .06em; cursor: pointer; box-shadow: var(--cq-shadow-lg); transition: transform .2s ease, box-shadow .2s ease; }
.cq-play-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.18); }
.cq-play-btn .fa { font-size: 1.2rem; }

/* mini cards (related / rec) */
.cq-recommend { margin: 24px 0; }
.cq-rec-module { }
.cq-mini-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.cq-mini-card { background: var(--cq-surface); border: 2px solid var(--cq-border-soft); border-radius: var(--cq-r); overflow: hidden; box-shadow: var(--cq-shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.cq-mini-card:hover { transform: translateY(-6px); box-shadow: var(--cq-shadow); }
.cq-mini-img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; background: var(--cq-grad-soft); }
.cq-mini-body { padding: 0 12px 12px; }
.cq-mini-title { padding: 10px 12px 4px; font-weight: 700; font-size: .9rem; color: var(--cq-text-strong); }

/* scroll titles */
.cq-scroll-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 22px 0 14px; }
.cq-scroll-title { font-family: var(--cq-font-d); font-size: 1.2rem; font-weight: 700; }
.cq-scroll-titles { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; align-items: center; }
.cq-scroll-badge { background: var(--cq-grad-soft); color: var(--cq-acc-2); font-weight: 700; font-size: .82rem; padding: 5px 14px; border-radius: var(--cq-r-pill); flex: none; }

/* faq */
.cq-faq-list-v2 { display: flex; flex-direction: column; gap: 10px; }
.cq-faq-item-v2 { background: var(--cq-surface); border: 2px solid var(--cq-border-soft); border-radius: var(--cq-r); overflow: hidden; box-shadow: var(--cq-shadow-sm); }
.cq-faq-summary { padding: 16px 18px; font-weight: 700; color: var(--cq-text-strong); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.cq-faq-summary::-webkit-details-marker { display: none; }
.cq-faq-summary::after { content: "+"; color: var(--cq-lav); font-size: 1.3rem; font-weight: 700; }
.cq-faq-item-v2[open] .cq-faq-summary::after { content: "\2212"; }
.cq-faq-answer { padding: 0 18px 16px; color: var(--cq-text); font-weight: 600; }

/* footer extras */
.cq-foot-inner { max-width: var(--cq-maxw); margin: 0 auto; padding: 0 20px; }
.cq-bottombar-tab--home { color: var(--cq-lav); }

/* responsive for new layout blocks */
@media (max-width: 1100px) {
  .cq-with-side { grid-template-columns: 1fr; }
  .cq-detail-hero-body { grid-template-columns: 1fr; }
}

/* ===== Animations ===== */
@keyframes cq-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes cq-float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-16px) rotate(6deg); } }
@keyframes cq-fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes cq-fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes cq-pop { from { opacity: 0; transform: scale(.9) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }
@keyframes cq-shimmer { 100% { transform: translateX(100%); } }
@keyframes cq-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes cq-spin { to { transform: rotate(360deg); } }
@keyframes cq-slideIn { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } }

.cq-pulse { animation: cq-pulse 1.8s ease-in-out infinite; }
.cq-spin { animation: cq-spin 1s linear infinite; }
.cq-fadeUp { animation: cq-fadeUp .5s ease both; }
.cq-slideIn { animation: cq-slideIn .4s ease both; }

/* lock scroll when mega panel open */
body.cq-megapanel-open { overflow: hidden; }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .cq-detail-hero-inner { grid-template-columns: 1fr; }
  .cq-foot-grid { grid-template-columns: 1fr 1fr; }
  .cq-contact-grid { grid-template-columns: 1fr; }
  .cq-login-card { grid-template-columns: 1fr; }
  .cq-login-brand { display: none; }
}
@media (max-width: 760px) {
  .cq-topbar-search { display: none; }
  .cq-bottombar { display: grid; }
  .cq-stage { padding-bottom: 90px; }
  .cq-hero-inner { grid-template-columns: 1fr; padding: 34px 24px; }
  .cq-hero-art { height: 180px; }
  .cq-hero-stats { gap: 18px; }
  .cq-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
  .cq-foot-grid { grid-template-columns: 1fr; gap: 22px; }
  .cq-form-2col { grid-template-columns: 1fr; }
  .cq-legal-body { padding: 26px 22px; }
  .cq-profile-card { padding: 20px; }
  .cq-detail-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .cq-topbar-browse-text { display: none; }
  .cq-hero-cta { flex-direction: column; align-items: stretch; }
  .cq-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}
.hero-section{
  padding: 0!important;
}