/* Issue #162 / Draft PR #163 — mobile-only visual refinement (GPT).
   Keep the top's HTML, copy, product prices, URLs, order, disclosure and tracking unchanged.
   Desktop >=768px intentionally inherits the approved baseline. */
@media (max-width:767px) {
  /* Reduce chrome without shrinking the disclosure or hiding genre links. */
  .topbar { padding-block:4px; line-height:1.35; }
  .homepage-ad-note { padding-block:4px; line-height:1.4; }
  .head { min-height:54px; height:auto; gap:8px; padding-block:5px; }
  .head .brand, .head .nav-cta {
    display:inline-flex; align-items:center; min-height:44px;
  }
  .head .brand { gap:7px; }
  .head .nav-cta { padding:8px 10px; line-height:1.3; }
  .genre-quicknav { padding-block:2px 4px; gap:7px; }
  .genre-quicknav a {
    display:inline-flex; align-items:center; justify-content:center;
    min-height:44px; padding:7px 10px; line-height:1.3;
  }

  /* Keep all four filter options and make them independently tappable. */
  #products .filter {
    min-height:44px; display:inline-flex; align-items:center;
    justify-content:center; padding:9px 12px; line-height:1.3;
  }
  #products .filters { gap:7px; margin-bottom:13px; }

  /* Keep the entire product card as one link; strengthen its visual affordance. */
  #products .product { display:flex; flex-direction:column; min-width:0; }
  #products .product-body { display:flex; flex:1; flex-direction:column; min-width:0; }
  #products .product .card-bottom { margin-top:auto; padding-top:10px; }
  #products .product .go {
    display:inline-flex; align-items:center; justify-content:center;
    gap:4px; min-height:44px; padding:8px 9px;
    border:1px solid #b7ddd7; border-radius:11px;
    background:#e7f6f2; color:#075f60;
  }
  #products .product:focus-visible { outline:3px solid #087e79; outline-offset:2px; }
  #products .product[data-type="phone"] { border-top:3px solid #36aaa6; }
  #products .product[data-type="tablet"] { border-top:3px solid #a78bd9; }
  #products .product[data-type="game"] { border-top:3px solid #efaa7b; }
  #products .product[data-type="tablet"] .go { background:#f2edfb; border-color:#d4c6ec; color:#55417d; }
  #products .product[data-type="game"] .go { background:#fff0e6; border-color:#eecbb5; color:#835132; }
  .genre-index-links a {
    display:inline-flex; align-items:center; min-height:44px;
    padding:9px 11px;
  }

  /* Footer navigation is independent navigation, unlike inline prose links. */
  .footer-nav a { display:inline-flex; align-items:center; min-height:44px; }
  .footer-brand { display:inline-flex; align-items:center; min-height:44px; }
}

/* The existing source uses a stacked hero up to 640px. Compact that layout
   without cutting off the approved mascot or touching its source image. */
@media (max-width:640px) {
  .hero-inner { padding-top:13px; padding-bottom:8px; gap:0; }
  .hero .eyebrow { padding:5px 9px; font-size:12px; }
  .hero h1 {
    font-size:clamp(27px,7.4vw,30px);
    line-height:1.2; margin:8px 0 9px;
  }
  .hero p { font-size:13px; line-height:1.55; margin-bottom:10px; }
  .hero-actions { gap:7px; }
  .hero-actions .btn { min-height:44px; padding:9px 11px; line-height:1.35; }

  /* Contain (not clip) the full character artwork in a smaller dedicated row. */
  .mascot-art {
    display:grid; place-items:center; width:100%;
    height:154px; min-height:154px; overflow:visible;
    margin:4px 0 0;
  }
  .hero-mascot {
    position:relative; top:auto; bottom:auto; left:auto; right:auto;
    display:block; width:auto; max-width:100%; height:150px;
    object-fit:contain; transform:none;
  }
  .mascot-label { bottom:0; right:5px; padding:5px 9px; }

  /* Preserve all three proof points with smaller, readable rows. */
  .trust { margin-top:0; padding-top:6px; gap:6px; }
  .trust-item {
    padding:7px 11px; gap:10px; border-radius:12px;
    min-height:47px; box-shadow:0 3px 12px #124b4b0a;
  }
  .trust-item .round { width:34px; height:34px; flex:none; border-radius:9px; }
  .trust-item .round .icon { width:20px; height:20px; }
  .trust-item b { font-size:13px; line-height:1.3; }
  .trust-item small { line-height:1.35; margin-top:1px; }

  /* Bring the comparison choices nearer to the opening explanation. */
  .section#products { padding-top:18px; }
  #products .section-head { gap:8px; margin-bottom:12px; }
  #products .section h2, #products h2 { font-size:clamp(23px,6.2vw,27px); }
  #products .section-desc { line-height:1.5; }
  #products .product-top { height:116px; }
  #products .product .illustration { transform:translateY(8px) scale(.68); }
  #products .product-body { padding:11px; }
  #products .product .card-bottom { padding-top:8px; }
}
