/* Game grid & cards */
.game-grid, .grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px,1fr));
  gap: 14px; margin-bottom: 28px;
}
.compact-grid { grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); }

.game-card, .grid .card {
  background: var(--surface);
  border-radius: 14px; overflow: hidden;
  cursor: pointer; transition: all var(--transition);
  border: 1.5px solid var(--border);
  position: relative; box-shadow: none;
}
.game-card:hover, .grid .card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(92,110,248,.28);
}
.game-thumb, .grid .card-image {
  width: 100%; aspect-ratio: 4/3; position: relative; overflow: hidden;
}
.game-thumb-img, .grid .card-image img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .3s;
}
.game-card:hover .game-thumb-img,
.grid .card:hover .card-image img { transform: scale(1.07); }

.game-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top,rgba(26,29,59,.7),transparent);
  opacity: 0; transition: opacity var(--transition);
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 10px;
}
.game-card:hover .game-overlay { opacity: 1; }
.play-btn {
  background: #fff; color: var(--accent);
  border: none; border-radius: 40px; padding: 6px 18px;
  font-family: 'Outfit', sans-serif; font-size: 12.5px; font-weight: 800;
  cursor: pointer; display: flex; align-items: center; gap: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,.2); text-decoration: none;
}
.game-tag { position:absolute;top:8px;left:8px;background:var(--accent2);color:#fff;font-size:9.5px;font-weight:800;padding:2px 7px;border-radius:20px;text-transform:uppercase;letter-spacing:.5px }
.game-tag.new { background:var(--accent4) }
.game-tag.hot { background:var(--accent5) }
.game-tag.top { background:var(--accent) }
.game-fav {
  position:absolute;top:8px;right:8px;width:34px;height:34px;
  background:rgba(255,255,255,.94);border:1px solid rgba(255,94,126,.14);
  border-radius:50%;display:flex;align-items:center;justify-content:center;
  font-size:16px;opacity:0;transition:opacity var(--transition), transform .18s ease, box-shadow .18s ease, background .18s ease;
  cursor:pointer;text-decoration:none;color:#ff5e7e;z-index:8;user-select:none;
  box-shadow:0 8px 22px rgba(17,24,39,.10);
}
.game-card:hover .game-fav { opacity:1 }
.game-fav:hover { transform:translateY(-1px) scale(1.04); box-shadow:0 10px 24px rgba(255,94,126,.18) }
.game-fav.is-active,
.game-fav[aria-pressed="true"],
.game-fav[data-active="1"] {
  opacity:1;color:#fff;background:linear-gradient(135deg,#ff6b8a,#ff4d6d);border-color:transparent;
}
.game-fav.is-puffing { animation: gsFavHeartPop .45s ease; }
.game-fav .gs-fav-puffs {
  position:absolute;inset:50% auto auto 50%;width:0;height:0;pointer-events:none;z-index:-1;
}
.game-fav .gs-fav-puff {
  position:absolute;left:0;top:0;width:18px;height:18px;border-radius:999px;
  background:radial-gradient(circle, rgba(255,135,160,.55) 0%, rgba(255,106,138,.28) 45%, rgba(255,106,138,0) 72%);
  opacity:0;transform:translate(-50%,-50%) scale(.2);
  animation: gsFavPuff .65s ease-out forwards;
}
.game-fav .gs-fav-puff:nth-child(1) { --tx:-26px; --ty:-18px; animation-delay:0s; }
.game-fav .gs-fav-puff:nth-child(2) { --tx:24px; --ty:-20px; animation-delay:.03s; }
.game-fav .gs-fav-puff:nth-child(3) { --tx:-22px; --ty:18px; animation-delay:.06s; }
.game-fav .gs-fav-puff:nth-child(4) { --tx:26px; --ty:16px; animation-delay:.09s; }
@keyframes gsFavHeartPop {
  0% { transform:scale(1); }
  35% { transform:scale(1.18); }
  100% { transform:scale(1); }
}
@keyframes gsFavPuff {
  0% { opacity:.85; transform:translate(-50%,-50%) scale(.25); }
  100% { opacity:0; transform:translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(1.7); }
}
@media (hover:none), (pointer:coarse) {
  .game-fav { opacity:1; }
}
.game-info, .grid .card-content { padding: 9px 11px 11px; }
.game-name, .grid .card-content .title { font-size:13px;font-weight:700;color:var(--text);margin-bottom:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.35 }
.grid .card-content .title a { color: inherit; }
.game-meta, .gs-meta { display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap }
.game-genre, .gs-meta .tag { font-size:11px;color:var(--text3);font-weight:600;background:var(--surface2);border:1px solid var(--border);padding:.4rem .7rem;border-radius:999px }
.game-rating { display:flex;align-items:center;gap:3px;font-size:11px;font-weight:700;color:var(--accent5) }

.grid .buttons, .game-card .buttons { margin-top: 10px; }
.grid .button, .gs-page-wrap .button { border-radius:999px;font-weight:800;padding-inline:1rem;border:1.5px solid var(--border);box-shadow:none }
.button.is-primary {  width: 100%; background:linear-gradient(135deg,var(--accent),#7c8ff8);border-color:transparent }
.button.is-light   { background:var(--surface);color:var(--text2) }
.gs-fav-btn.is-active,
.gs-fav-btn[aria-pressed="true"] { color:var(--danger);border-color:rgba(239,71,111,.24);background:rgba(239,71,111,.08) }
</style>
 <style>
/* =========================
CATEGORY HERO
========================= */

.category-hero{
background:#f3f6fb;
border:1px solid #dfe7f3;
}

.hero-left{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.hero-head{
  display:flex;
  align-items:center;
  gap:18px;
}

.hero-icon{
  width:78px;
  height:78px;
  border-radius:24px;
  background:linear-gradient(135deg,#6d72ff,#8b5cf6);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:36px;
}

.hero-title{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}

.hero-title h1{
  font-size:28px;
  line-height:1;
 margin:0;
  color:#1f2937;
  
}

.hero-title span{
  font-size:15px;
  color:#6b7280;
  background:#f3f4f8;
  border:1px solid #333333;
  padding:8px 14px;
  border-radius:999px;
}

.hero-desc{
  font-size:18px;
  line-height:1.8;
  color:#6b7280;
}

.hero-left .tags{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.hero-left .tag{
  height:48px;
  padding:0 22px;
  border-radius:16px;
  background:#fff;
  border:1px solid #e7eaf3;
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:700;
  color:#1f2937;
  text-decoration:none;
  transition:.2s;
}

.hero-left .tag:hover{
  transform:translateY(-2px);
  border-color:#d6daf0;
}

  .home-intro-stats .home-stat-card {
    min-height: auto;
    padding: 12px 8px;
    justify-content: center;
  }
/* =========================
ADS CARD
========================= */

.ads-card{
  border:1px solid #efe6ff;
  border-radius:24px;
  background:linear-gradient(135deg,#fff,#faf7ff);
  overflow:hidden;
  position:relative;
}

.ads-content{
  width:100%;
  max-height:280px;
  overflow:hidden;
}


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

@media(max-width:1100px){

  .category-hero{
    grid-template-columns:1fr;
  }


}

@media(max-width:768px){

  .category-hero{
    padding:12px 14px;
    border-radius:18px;
    gap:10px;
  }

  .hero-left{
    gap:10px;
  }

  .hero-head{
    gap:10px;
    align-items:center;
  }

  .hero-icon{
    width:52px;
    height:52px;
    border-radius:16px;
    font-size:24px;
    flex:0 0 52px;
  }

  .hero-title{
    gap:8px;
  }

  .hero-title h1{
    font-size:24px;
  }

  .hero-title span{
    font-size:12px;
    padding:4px 9px;
  }

  .hero-desc{
    font-size:14px;
    line-height:1.55;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }

  .home-intro-stats,
  .ads-card{
    display:none;
  }
}

/* =========================================================
   GameIsland Category Hero V2
   桌機 / 平板 / 手機共用分類 Hero
========================================================= */

.category-hero-v2 {
  --cat-main: #5c6ef8;
  --cat-main-2: #8b5cf6;
  --cat-soft: rgba(92,110,248,.10);
  --cat-soft-2: rgba(139,92,246,.10);
  --cat-text: #111827;
  --cat-muted: #66758f;

  position: relative;
  overflow: hidden;

  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 22px;
  align-items: stretch;

  margin: 12px 0 22px;
  padding: 28px;

  border-radius: 28px;
  border: 1px solid rgba(92,110,248,.14);

  background:
    radial-gradient(520px 260px at 0% 0%, var(--cat-soft), transparent 62%),
    radial-gradient(420px 220px at 100% 0%, var(--cat-soft-2), transparent 58%),
    linear-gradient(180deg, #ffffff, #f6f8ff);

  box-shadow:
    0 18px 46px rgba(15,23,42,.08),
    inset 0 1px 0 rgba(255,255,255,.9);
}

/* 裝飾背景 */
.category-hero-v2::before {
  content: "";
  position: absolute;
  right: 290px;
  top: 52%;
  width: 148px;
  height: 148px;
  transform: translateY(-50%);
  border-radius: 999px;
  border: 2px solid rgba(92,110,248,.10);
  box-shadow:
    inset 0 0 0 28px rgba(92,110,248,.035),
    0 0 0 1px rgba(255,255,255,.5);
  pointer-events: none;
}

.category-hero-v2::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -115px;
  width: 290px;
  height: 290px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cat-soft), var(--cat-soft-2));
  pointer-events: none;
}

.category-hero-main,
.category-hero-side {
  position: relative;
  z-index: 2;
}

/* 左側主內容 */
.category-hero-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  min-width: 0;
}

.category-hero-top {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}

.category-hero-icon {
  width: 86px;
  height: 86px;
  flex: 0 0 86px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 26px;
  background:
    linear-gradient(135deg, var(--cat-main), var(--cat-main-2));

  box-shadow:
    0 16px 34px rgba(92,110,248,.24),
    inset 0 1px 0 rgba(255,255,255,.35);
}

.category-hero-icon img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.category-hero-title {
  min-width: 0;
}

.category-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  width: fit-content;
  margin-bottom: 8px;
  padding: 6px 11px;

  border-radius: 999px;
  background: rgba(92,110,248,.09);
  color: var(--cat-main);

  font-size: 12px;
  font-weight: 900;
  letter-spacing: .03em;
}

.category-kicker svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.5;
}

.category-hero-title h1 {
  margin: 0 0 10px;

  color: var(--cat-text);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -.04em;
}

.category-hero-title p {
  max-width: 760px;
  margin: 0;

  color: var(--cat-muted);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 600;
}

/* 熱門標籤 */
.category-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category-hero-tags a {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  min-height: 38px;
  padding: 0 15px;

  border-radius: 999px;
  border: 1px solid rgba(92,110,248,.14);
  background: rgba(255,255,255,.78);

  color: #475569;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;

  box-shadow: 0 6px 18px rgba(15,23,42,.04);
  transition:
    transform .18s ease,
    color .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    background .18s ease;
}

.category-hero-tags a::before {
  content: "#";
  color: var(--cat-main);
  font-weight: 900;
}

.category-hero-tags a:hover {
  transform: translateY(-2px);
  color: var(--cat-main);
  border-color: rgba(92,110,248,.32);
  background: #fff;
  box-shadow: 0 10px 24px rgba(92,110,248,.12);
}

/* 右側資訊卡 */
.category-hero-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.category-count-card {
  flex: 1;

  display: flex;
  flex-direction: column;
  justify-content: center;

  min-height: 150px;
  padding: 22px;

  border-radius: 24px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.85);

  box-shadow:
    0 12px 30px rgba(15,23,42,.07),
    inset 0 1px 0 rgba(255,255,255,.95);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.category-count-card strong {
  display: block;

  color: var(--cat-main);
  font-size: clamp(36px, 4vw, 56px);
  line-height: .95;
  font-weight: 950;
  letter-spacing: -.05em;
}

.category-count-card span {
  margin-top: 9px;

  color: #4b5563;
  font-size: 14px;
  font-weight: 850;
}

.category-feature-list {
  display: grid;
  gap: 8px;
}

.category-feature-list span {
  display: flex;
  align-items: center;

  min-height: 40px;
  padding: 0 14px;

  border-radius: 16px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(226,232,240,.9);

  color: #475569;
  font-size: 13px;
  font-weight: 850;

  box-shadow: 0 6px 18px rgba(15,23,42,.035);
}

/* =========================================================
   分類主題色
   只要 class 是 category-theme-分類ID 就會自動變色
========================================================= */

.category-theme-1 {
  --cat-main: #5c6ef8;
  --cat-main-2: #22c1a7;
  --cat-soft: rgba(92,110,248,.14);
  --cat-soft-2: rgba(34,193,167,.12);
}

.category-theme-2 {
  --cat-main: #ef4444;
  --cat-main-2: #f97316;
  --cat-soft: rgba(239,68,68,.12);
  --cat-soft-2: rgba(249,115,22,.12);
}

.category-theme-3 {
  --cat-main: #5c6ef8;
  --cat-main-2: #8b5cf6;
  --cat-soft: rgba(92,110,248,.14);
  --cat-soft-2: rgba(139,92,246,.14);
}

.category-theme-4 {
  --cat-main: #06b6d4;
  --cat-main-2: #22c55e;
  --cat-soft: rgba(6,182,212,.12);
  --cat-soft-2: rgba(34,197,94,.12);
}

.category-theme-5 {
  --cat-main: #8b5cf6;
  --cat-main-2: #f59e0b;
  --cat-soft: rgba(139,92,246,.12);
  --cat-soft-2: rgba(245,158,11,.12);
}

.category-theme-6 {
  --cat-main: #f97316;
  --cat-main-2: #facc15;
  --cat-soft: rgba(249,115,22,.12);
  --cat-soft-2: rgba(250,204,21,.14);
}

.category-theme-7 {
  --cat-main: #16a34a;
  --cat-main-2: #0ea5e9;
  --cat-soft: rgba(22,163,74,.12);
  --cat-soft-2: rgba(14,165,233,.12);
}

.category-theme-8 {
  --cat-main: #334155;
  --cat-main-2: #6366f1;
  --cat-soft: rgba(51,65,85,.10);
  --cat-soft-2: rgba(99,102,241,.12);
}

.category-theme-9 {
  --cat-main: #10b981;
  --cat-main-2: #92400e;
  --cat-soft: rgba(16,185,129,.12);
  --cat-soft-2: rgba(146,64,14,.10);
}

.category-theme-10 {
  --cat-main: #ff6b8a;
  --cat-main-2: #ff9f43;
  --cat-soft: rgba(255,107,138,.12);
  --cat-soft-2: rgba(255,159,67,.12);
}

.category-theme-11 {
  --cat-main: #a855f7;
  --cat-main-2: #ec4899;
  --cat-soft: rgba(168,85,247,.12);
  --cat-soft-2: rgba(236,72,153,.12);
}

/* =========================================================
   RWD：平板
========================================================= */

@media (max-width: 1100px) {
  .category-hero-v2 {
    grid-template-columns: 1fr;
  }

  .category-hero-side {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    align-items: stretch;
  }

  .category-count-card {
    min-height: auto;
  }

  .category-feature-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .category-feature-list span {
    justify-content: center;
    text-align: center;
  }

  .category-hero-v2::before {
    right: 80px;
    top: auto;
    bottom: -50px;
    transform: none;
  }
}

/* =========================================================
   RWD：手機
========================================================= */

@media (max-width: 720px) {
  .category-hero-v2 {
    margin: 10px 0 18px;
    padding: 18px;
    gap: 16px;

    border-radius: 22px;
  }

  .category-hero-v2::before {
    display: none;
  }

  .category-hero-v2::after {
    width: 220px;
    height: 220px;
    right: -110px;
    bottom: -120px;
  }

  .category-hero-main {
    gap: 14px;
  }

  .category-hero-top {
    align-items: flex-start;
    gap: 14px;
  }

  .category-hero-icon {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border-radius: 18px;
  }

  .category-hero-icon img {
    width: 40px;
    height: 40px;
  }

  .category-kicker {
    margin-bottom: 6px;
    padding: 5px 9px;
    font-size: 11px;
  }

  .category-kicker svg {
    width: 13px;
    height: 13px;
  }

  .category-hero-title h1 {
    margin-bottom: 7px;
    font-size: 26px;
    line-height: 1.08;
  }

  .category-hero-title p {
    font-size: 14px;
    line-height: 1.58;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .category-hero-tags {
    gap: 8px;
  }

  .category-hero-tags a {
    min-height: 34px;
    padding: 0 12px;
    font-size: 12px;
  }

  .category-hero-side {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .category-count-card {
    min-height: auto;
    padding: 14px 16px;
    border-radius: 18px;
  }

  .category-count-card strong {
    font-size: 34px;
  }

  .category-count-card span {
    margin-top: 5px;
    font-size: 13px;
  }

  .category-feature-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .category-feature-list span {
    min-height: 36px;
    padding: 0 8px;
    border-radius: 14px;

    justify-content: center;
    text-align: center;

    font-size: 11.5px;
    line-height: 1.25;
  }
}

/* =========================================================
   RWD：極小手機
========================================================= */

@media (max-width: 420px) {
  .category-hero-v2 {
    padding: 15px;
  }

  .category-hero-top {
    gap: 12px;
  }

  .category-hero-icon {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
    border-radius: 16px;
  }

  .category-hero-icon img {
    width: 36px;
    height: 36px;
  }

  .category-hero-title h1 {
    font-size: 23px;
  }

  .category-feature-list {
    grid-template-columns: 1fr;
  }

  .category-feature-list span {
    justify-content: flex-start;
    padding: 0 13px;
  }
}


/* =========================================================
   GameIsland List Hero
   用於 /game/new/、/game/hot/、/game/thg/
========================================================= */

.gi-list-hero {
  --list-main: #5c6ef8;
  --list-main-2: #8b5cf6;
  --list-soft: rgba(92,110,248,.14);
  --list-soft-2: rgba(139,92,246,.14);
  --list-dark: #101827;
  --list-muted: #66758f;

  position: relative;
  overflow: hidden;

  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 26px;
  align-items: stretch;

  margin: 12px 0 22px;
  padding: 30px;

  border-radius: 28px;
  border: 1px solid rgba(92,110,248,.14);

  background:
    radial-gradient(560px 300px at 0% 0%, var(--list-soft), transparent 64%),
    radial-gradient(440px 260px at 100% 30%, var(--list-soft-2), transparent 62%),
    linear-gradient(135deg, #ffffff 0%, #f7f9ff 52%, #eef2ff 100%);

  box-shadow:
    0 18px 46px rgba(15,23,42,.08),
    inset 0 1px 0 rgba(255,255,255,.9);
}

.gi-list-hero--today {
  --list-main: #f97316;
  --list-main-2: #ef4444;
  --list-soft: rgba(249,115,22,.16);
  --list-soft-2: rgba(239,68,68,.14);
}

.gi-list-hero--hot {
  --list-main: #5c6ef8;
  --list-main-2: #8b5cf6;
  --list-soft: rgba(92,110,248,.15);
  --list-soft-2: rgba(139,92,246,.14);
}

.gi-list-hero--new {
  --list-main: #06b6d4;
  --list-main-2: #22c55e;
  --list-soft: rgba(6,182,212,.14);
  --list-soft-2: rgba(34,197,94,.13);
}

.gi-list-hero::before {
  content: "";
  position: absolute;
  right: 330px;
  top: 50%;
  width: 150px;
  height: 150px;
  transform: translateY(-50%);
  border-radius: 999px;
  border: 2px solid rgba(92,110,248,.10);
  box-shadow:
    inset 0 0 0 30px rgba(92,110,248,.035),
    0 0 0 1px rgba(255,255,255,.55);
  pointer-events: none;
}

.gi-list-hero-orb {
  position: absolute;
  display: block;
  border-radius: 999px;
  pointer-events: none;
}

.gi-list-hero-orb--left {
  left: -70px;
  bottom: -90px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, var(--list-soft), transparent 70%);
}

.gi-list-hero-orb--right {
  right: -90px;
  top: -100px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, var(--list-soft-2), transparent 70%);
}

.gi-list-hero-main,
.gi-list-hero-side {
  position: relative;
  z-index: 2;
}

.gi-list-hero-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.gi-list-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  width: fit-content;
  margin-bottom: 12px;
  padding: 7px 12px;

  border-radius: 999px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.88);
  color: var(--list-main);

  font-size: 12px;
  font-weight: 950;
  letter-spacing: .05em;

  box-shadow: 0 8px 22px rgba(15,23,42,.05);
}

.gi-list-kicker svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.6;
}

.gi-list-hero h1 {
  margin: 0 0 12px;

  color: var(--list-dark);
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -.045em;
}

.gi-list-hero p {
  max-width: 780px;
  margin: 0;

  color: var(--list-muted);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 650;
}

.gi-list-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;

  margin-top: 18px;
}

.gi-list-hero-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 15px;

  border-radius: 999px;
  border: 1px solid rgba(92,110,248,.14);
  background: rgba(255,255,255,.76);

  color: #475569;
  font-size: 13px;
  font-weight: 850;

  box-shadow: 0 6px 18px rgba(15,23,42,.04);
}

.gi-list-hero-chips span:first-child {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--list-main), var(--list-main-2));
  box-shadow: 0 10px 24px rgba(92,110,248,.16);
}

.gi-list-hero-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gi-list-count-card {
  flex: 1;
  min-height: 160px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 22px;
  border-radius: 24px;

  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.85);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  box-shadow:
    0 12px 30px rgba(15,23,42,.07),
    inset 0 1px 0 rgba(255,255,255,.95);
}

.gi-list-count-label {
  color: #64748b;
  font-size: 13px;
  font-weight: 900;
}

.gi-list-count-card strong {
  display: block;
  margin-top: 8px;

  color: var(--list-main);
  font-size: clamp(34px, 4vw, 52px);
  line-height: .95;
  font-weight: 950;
  letter-spacing: -.055em;
}

.gi-list-count-note {
  margin-top: 8px;
  color: #4b5563;
  font-size: 14px;
  font-weight: 850;
}

.gi-list-feature-list {
  display: grid;
  gap: 8px;
}

.gi-list-feature-list span {
  display: flex;
  align-items: center;

  min-height: 40px;
  padding: 0 14px;

  border-radius: 16px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(226,232,240,.9);

  color: #475569;
  font-size: 13px;
  font-weight: 850;

  box-shadow: 0 6px 18px rgba(15,23,42,.035);
}

/* 平板 */
@media (max-width: 1100px) {
  .gi-list-hero {
    grid-template-columns: 1fr;
  }

  .gi-list-hero::before {
    right: 80px;
    top: auto;
    bottom: -55px;
    transform: none;
  }

  .gi-list-hero-side {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    align-items: stretch;
  }

  .gi-list-count-card {
    min-height: auto;
  }

  .gi-list-feature-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gi-list-feature-list span {
    justify-content: center;
    text-align: center;
  }
}

/* 手機 */
@media (max-width: 720px) {
  .gi-list-hero {
    margin: 10px 0 18px;
    padding: 18px;
    gap: 16px;
    border-radius: 22px;
  }

  .gi-list-hero::before {
    display: none;
  }

  .gi-list-kicker {
    margin-bottom: 8px;
    padding: 6px 10px;
    font-size: 11px;
  }

  .gi-list-kicker svg {
    width: 13px;
    height: 13px;
  }

  .gi-list-hero h1 {
    margin-bottom: 8px;
    font-size: 27px;
    line-height: 1.08;
  }

  .gi-list-hero p {
    font-size: 14px;
    line-height: 1.58;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .gi-list-hero-chips {
    margin-top: 13px;
    gap: 8px;
  }

  .gi-list-hero-chips span {
    min-height: 34px;
    padding: 0 12px;
    font-size: 12px;
  }

  .gi-list-hero-side {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .gi-list-count-card {
    min-height: auto;
    padding: 14px 16px;
    border-radius: 18px;
  }

  .gi-list-count-label {
    font-size: 12px;
  }

  .gi-list-count-card strong {
    margin-top: 5px;
    font-size: 34px;
  }

  .gi-list-count-note {
    margin-top: 5px;
    font-size: 13px;
  }

  .gi-list-feature-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .gi-list-feature-list span {
    min-height: 36px;
    padding: 0 8px;
    border-radius: 14px;

    justify-content: center;
    text-align: center;

    font-size: 11.5px;
    line-height: 1.25;
  }
}

/* 極小手機 */
@media (max-width: 420px) {
  .gi-list-hero {
    padding: 15px;
  }

  .gi-list-hero h1 {
    font-size: 24px;
  }

  .gi-list-feature-list {
    grid-template-columns: 1fr;
  }

  .gi-list-feature-list span {
    justify-content: flex-start;
    padding: 0 13px;
  }
}

