/* =====================================================================
   THEME: Luxury / Gold Marble — 奢华金石纹主题
   Palette: ivory/white-black marble veining via CSS gradients, gold-foil
   accent lines, elegant serif headings, understated opulence.
   No external images / fonts / scripts — pure CSS gradients & shapes.
   ===================================================================== */
:root {
  --marble-0: #f5f7ee;
  --marble-1: #ecefdf;
  --marble-2: #1a1b17;
  --marble-3: #252620;
  --gold: #a6c94b;
  --gold-lt: #cae88a;
  --gold-dk: #728a2f;
  --ink: #1e2017;
  --ink-dim: #666b52;
  --cream: #f9fbf4;
  --panel: rgba(255, 255, 255, .6);
  --panel-brd: rgba(166, 201, 75, .35);
  --font-serif: Georgia, 'Times New Roman', 'Palatino Linotype', serif;
  --font-body: Georgia, 'Times New Roman', serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background-color: var(--marble-0);
  background-image:
    linear-gradient(125deg, transparent 40%, rgba(166,201,75,.06) 41%, transparent 42%),
    linear-gradient(48deg, transparent 60%, rgba(0,0,0,.05) 61%, transparent 62%),
    linear-gradient(160deg, transparent 20%, rgba(0,0,0,.04) 21%, transparent 23%),
    linear-gradient(200deg, transparent 75%, rgba(166,201,75,.05) 76%, transparent 78%),
    radial-gradient(ellipse at 15% 10%, rgba(0,0,0,.05), transparent 55%),
    radial-gradient(ellipse at 85% 85%, rgba(0,0,0,.05), transparent 55%),
    linear-gradient(180deg, #f7f9f0 0%, #eef2e3 50%, #f6f8ef 100%);
  background-attachment: fixed;
  color: var(--ink);
  line-height: 1.5;
  padding-bottom: 24px;
  overflow-x: hidden;
  position: relative;
}
[v-cloak] { display: none; }
a { color: inherit; text-decoration: none; display: block; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
::-webkit-scrollbar { display: none; }

/* ===== Top Bar ===== */
.topbar {
  position: static; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  background: linear-gradient(180deg, var(--marble-2), var(--marble-3));
  border-bottom: 1px solid var(--gold);
  box-shadow: 0 1px 0 rgba(166,201,75,.5), 0 4px 10px rgba(0,0,0,.15);
}
.topbar-logo {
  font-family: var(--font-serif); font-size: 19px; font-weight: 700; letter-spacing: .06em;
  color: var(--gold-lt);
  text-transform: uppercase;
}
.topbar-search-btn {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: transparent; color: var(--gold);
  border: 1px solid var(--gold-dk);
}
/* ===== Category Tabs ===== */
.cat-tabs {
  position: static; top: 60px; z-index: 30;
  background: var(--cream); border-bottom: 1px solid var(--panel-brd);
  overflow-x: auto; white-space: nowrap;
}
.cat-tabs-inner { display: inline-flex; gap: 8px; padding: 12px 16px; }
.cat-tab {
  flex-shrink: 0; padding: 7px 16px; border-radius: 20px;
  background: transparent; color: var(--ink-dim); font-size: 12px; font-weight: 600; font-family: var(--font-serif);
  border: 1px solid var(--panel-brd); letter-spacing: .02em;
}
.cat-tab.active {
  background: linear-gradient(180deg, var(--gold-lt), var(--gold));
  color: var(--marble-2);
  border-color: var(--gold-dk);
  box-shadow: 0 2px 6px rgba(166,201,75,.4);
}
/* ===== Search ===== */
.search-bar-wrap {
  position: static; top: 60px; z-index: 30;
  display: flex; gap: 10px; padding: 12px 16px;
  background: var(--cream); border-bottom: 1px solid var(--panel-brd);
}
.search-input {
  flex: 1; padding: 10px 16px; border-radius: 20px; border: 1px solid var(--panel-brd);
  background: #fff; color: var(--ink); font-size: 14px; font-family: var(--font-serif);
}
.search-cancel { font-size: 13px; color: var(--gold-dk); font-weight: 700; padding: 0 4px; font-family: var(--font-serif); }
/* ===== Loading ===== */
.loading-full { display: flex; align-items: center; justify-content: center; padding: 80px 0; }
.loading-ring {
  width: 36px; height: 36px; border-radius: 50%;
  border: 3px solid rgba(166,201,75,.2); border-top-color: var(--gold);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
/* ===== Section spacing ===== */
section[class$="-sec"] { margin-bottom: 34px; }
/* ===== Section Header ===== */
.sec-hd { display: flex; align-items: center; justify-content: space-between; padding: 22px 18px 12px; }
.sec-label {
  font-size: 17px; font-weight: 700; color: var(--ink); font-family: var(--font-serif);
  letter-spacing: .02em;
  position: relative; padding-left: 14px;
}
.sec-label::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 5px; height: 5px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 3px rgba(166,201,75,.18);
}
.sec-more { font-size: 11px; color: var(--gold-dk); font-weight: 700; font-family: var(--font-serif); text-transform: uppercase; letter-spacing: .06em; }
.sec-cnt { font-size: 12px; color: var(--ink-dim); font-family: var(--font-serif); }
/* ===== Featured ===== */
.featured-sec { padding: 14px 16px 0; }

/* ===== Generic responsive icon grid (marble grid) ===== */
.all-grid, .games-grid, .channel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 0 16px 8px;
}
@media (min-width: 480px) {
  .all-grid, .games-grid, .channel-grid { grid-template-columns: repeat(6, 1fr); }
}
@media (min-width: 860px) {
  .all-grid, .games-grid, .channel-grid { grid-template-columns: repeat(8, 1fr); }
}
.agcard, .gcard, .channel-card { cursor: pointer; min-width: 0; }
.agcard-img, .gcard-img {
  aspect-ratio: 1/1 !important; width: 100%; height: auto; overflow: hidden;
  border-radius: 10px; border: 1px solid var(--panel-brd); position: relative;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.agcard-img img, .gcard-img img { width: 100%; height: 100%; object-fit: cover; }
.agcard-nm, .gcard-nm {
  font-size: 11px; margin-top: 6px; text-align: center; color: var(--ink-dim); font-family: var(--font-serif);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
/* ===== Load more ===== */
.more-wrap, .loadmore-wrap { display: flex; justify-content: center; padding: 18px; }
.more-btn, .loadmore-btn {
  padding: 11px 26px; border-radius: 24px; background: transparent; color: var(--gold-dk);
  font-size: 12px; font-weight: 700; border: 1px solid var(--gold); font-family: var(--font-serif); text-transform: uppercase; letter-spacing: .06em;
}
/* ===== Filter header ===== */
.filter-hdr { display: flex; align-items: center; gap: 10px; padding: 16px 18px; }
.filter-back { font-size: 12px; color: var(--gold-dk); font-weight: 700; font-family: var(--font-serif); }
.filter-title { flex: 1; font-size: 16px; font-weight: 700; color: var(--ink); font-family: var(--font-serif); }
.filter-cnt { font-size: 12px; color: var(--ink-dim); font-family: var(--font-serif); }
.empty-msg { text-align: center; padding: 60px 0; color: var(--ink-dim); font-size: 13px; font-family: var(--font-serif); }
/* ===== Footer ===== */
.site-footer { display: flex; justify-content: center; gap: 10px; padding: 28px 16px 10px; font-size: 12px; color: var(--ink-dim); font-family: var(--font-serif); border-top: 1px solid var(--panel-brd); margin-top: 10px; }
/* ===== Back to top ===== */
.totop-btn {
  position: fixed; right: 18px; bottom: 22px; z-index: 50;
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(180deg, var(--gold-lt), var(--gold-dk)); color: var(--marble-2); font-size: 16px; font-weight: 700;
  border: 1px solid var(--gold-dk);
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
}

/* =====================================================================
   14 SECTION LAYOUTS (all distinct)
   ===================================================================== */

/* Hero — gallery-frame */
.feat-frame {
  display: block; border-radius: 4px; overflow: hidden; cursor: pointer;
  background: var(--cream);
  border: 1px solid var(--gold);
  outline: 6px solid #fff; outline-offset: -10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12), inset 0 0 0 1px var(--gold-lt);
}
.feat-frame-img { width: 100%; aspect-ratio: 16/9; }
.feat-frame-img img { width: 100%; height: 100%; object-fit: cover; }
.feat-frame-body { padding: 18px 20px 22px; text-align: center; }
.feat-frame-badge {
  display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .12em;
  color: var(--gold-dk); border: 1px solid var(--gold); border-radius: 20px; padding: 4px 14px;
  text-transform: uppercase; font-family: var(--font-serif); margin-bottom: 10px;
}
.feat-frame-title { font-size: 21px; font-weight: 700; font-family: var(--font-serif); color: var(--ink); margin-bottom: 6px; }
.feat-frame-desc { font-size: 12px; color: var(--ink-dim); font-style: italic; }

/* 1) Hot Games — jewel-case row (horizontal scroll of framed jewels) */
.jewel-row { display: flex; gap: 14px; padding: 4px 18px 16px; overflow-x: auto; }
.jewel-item { flex: 0 0 96px; width: 96px; min-width: 0; cursor: pointer; text-align: center; }
.jewel-img {
  aspect-ratio: 1/1; border-radius: 50%; overflow: hidden; border: 2px solid var(--gold);
  box-shadow: 0 0 0 4px #fff, 0 4px 10px rgba(0,0,0,.12);
}
.jewel-img img { width: 100%; height: 100%; object-fit: cover; }
.jewel-nm { display: block; font-size: 11px; margin-top: 8px; color: var(--ink); font-family: var(--font-serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 2) Spotlight Picks — boutique list */
.boutique-list { display: flex; flex-direction: column; gap: 0; padding: 0 18px; }
.boutique-item { cursor: pointer; padding: 14px 0; border-bottom: 1px solid var(--panel-brd); min-width: 0; }
.boutique-item:last-child { border-bottom: none; }
.boutique-mark { color: var(--gold); margin-right: 8px; font-family: var(--font-serif); }
.boutique-name { font-size: 15px; font-weight: 700; color: var(--ink); font-family: var(--font-serif); }
.boutique-cat { font-size: 10px; color: var(--gold-dk); margin-left: 10px; font-family: var(--font-serif); text-transform: uppercase; letter-spacing: .05em; }
.boutique-desc { font-size: 12px; color: var(--ink-dim); margin-top: 5px; margin-left: 18px; font-style: italic; }

/* 3) New Releases — showroom horizontal scroll */
.showroom-row { display: flex; gap: 12px; padding: 4px 18px 16px; overflow-x: auto; }
.showroom-card { flex: 0 0 122px; width: 122px; min-width: 0; border-radius: 6px; overflow: hidden; border: 1px solid var(--panel-brd); cursor: pointer; background: #fff; box-shadow: 0 3px 10px rgba(0,0,0,.07); }
.showroom-img { aspect-ratio: 4/3; position: relative; }
.showroom-img img { width: 100%; height: 100%; object-fit: cover; }
.showroom-badge {
  position: absolute; top: 5px; right: 5px; font-size: 8px; font-weight: 700; color: var(--marble-2);
  background: linear-gradient(180deg, var(--gold-lt), var(--gold)); padding: 2px 6px; border-radius: 3px; font-family: var(--font-serif);
}
.showroom-nm { font-size: 11px; padding: 8px 8px; color: var(--ink); font-family: var(--font-serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-top: 1px solid var(--panel-brd); }

/* 4) Browse Channels — monogram circular grid */
.mono-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 12px; padding: 6px 18px 14px; }
@media (min-width: 480px) { .mono-grid { grid-template-columns: repeat(6, 1fr); } }
.mono-card { cursor: pointer; text-align: center; min-width: 0; }
.mono-img {
  aspect-ratio: 1/1; border-radius: 50%; overflow: hidden; position: relative;
  border: 1px solid var(--gold); box-shadow: 0 0 0 3px #fff, 0 3px 8px rgba(0,0,0,.1);
}
.mono-img img { width: 100%; height: 100%; object-fit: cover; }
.mono-ch {
  position: absolute; bottom: -2px; right: -2px; font-size: 9px; font-weight: 700; color: #fff;
  background: var(--gold-dk); width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); border: 1px solid #fff;
}
.mono-nm { font-size: 10px; margin-top: 6px; font-family: var(--font-serif); color: var(--ink-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 5) Action — award podium */
.podium { display: flex; align-items: flex-end; justify-content: center; gap: 14px; padding: 10px 16px 4px; }
.podium-item { cursor: pointer; text-align: center; min-width: 0; }
.podium-item.p1 { width: 116px; order: 2; }
.podium-item.p2 { width: 86px; order: 1; }
.podium-item.p3 { width: 86px; order: 3; }
.podium-img { border-radius: 8px; overflow: hidden; aspect-ratio: 1/1; border: 1px solid var(--panel-brd); position: relative; background: #fff; }
.podium-item.p1 .podium-img { border: 2px solid var(--gold); box-shadow: 0 4px 12px rgba(166,201,75,.3); }
.podium-rank {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  font-size: 11px; font-weight: 700; color: #fff; width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(180deg, var(--gold-lt), var(--gold-dk)); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); border: 1px solid #fff;
}
.podium-nm { font-size: 11px; margin-top: 8px; font-family: var(--font-serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink-dim); }

/* 6) Puzzle — velvet-box row */
.velvet-row { display: flex; gap: 14px; padding: 8px 18px 16px; overflow-x: auto; }
.velvet-box { flex: 0 0 108px; width: 108px; background: linear-gradient(160deg, var(--marble-3), var(--marble-2)); padding: 10px; border-radius: 8px; cursor: pointer; box-shadow: 0 6px 14px rgba(0,0,0,.2); border: 1px solid var(--gold-dk); }
.velvet-img { aspect-ratio: 1/1; overflow: hidden; border-radius: 4px; border: 1px solid var(--gold); }
.velvet-nm { font-size: 10px; text-align: center; color: var(--gold-lt); margin-top: 7px; font-family: var(--font-serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 7) Kids — gift bubbles */
.giftwrap { display: flex; gap: 12px; padding: 10px 18px 16px; flex-wrap: wrap; }
.gift-bubble { position: relative; flex: 1 1 26%; min-width: 82px; border-radius: 50% / 40%; padding: 10px; text-align: center; cursor: pointer; background: #fff; border: 1px dashed var(--gold); }
.gift-img { border-radius: 50%; overflow: hidden; aspect-ratio: 1/1; border: 1px solid var(--panel-brd); }
.gift-nm { font-size: 10px; margin-top: 6px; font-family: var(--font-serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink-dim); }

/* 8) Sports — red-carpet zigzag */
.carpet-list { display: flex; flex-direction: column; gap: 14px; padding: 0 18px; }
.carpet-row { display: flex; align-items: center; gap: 14px; cursor: pointer; padding: 8px; border-radius: 6px; background: linear-gradient(90deg, rgba(166,201,75,.08), transparent); }
.carpet-row.rev { flex-direction: row-reverse; background: linear-gradient(270deg, rgba(166,201,75,.08), transparent); }
.carpet-img { width: 70px; height: 70px; border-radius: 6px; overflow: hidden; flex-shrink: 0; border: 1px solid var(--gold); }
.carpet-img img { width: 100%; height: 100%; object-fit: cover; }
.carpet-body { flex: 1; min-width: 0; }
.carpet-row.rev .carpet-body { text-align: right; }
.carpet-nm { font-size: 14px; font-weight: 700; font-family: var(--font-serif); color: var(--ink); }
.carpet-tag { font-size: 10px; color: var(--gold-dk); font-family: var(--font-serif); text-transform: uppercase; letter-spacing: .04em; }
.carpet-desc { font-size: 11px; color: var(--ink-dim); margin-top: 3px; font-style: italic; }

/* 9) Adventure — penthouse masonry */
.penthouse-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 66px; gap: 10px; padding: 0 18px; }
.penthouse-item { min-width: 0; border-radius: 6px; overflow: hidden; cursor: pointer; position: relative; border: 1px solid var(--panel-brd); }
.penthouse-item img { width: 100%; height: 100%; object-fit: cover; }
.penthouse-item:nth-child(3n+1) { grid-row: span 2; }
.penthouse-nm { position: absolute; left: 0; right: 0; bottom: 0; padding: 5px 7px; font-size: 10px; color: #fff; font-family: var(--font-serif); background: linear-gradient(transparent, rgba(0,0,0,.72)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 10) Racing — limousine banner */
.limo-banner { position: relative; border-radius: 8px; overflow: hidden; margin: 0 18px; aspect-ratio: 16/7; cursor: pointer; border: 1px solid var(--gold); }
.limo-banner img { width: 100%; height: 100%; object-fit: cover; }
.limo-ovl { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; background: linear-gradient(transparent, rgba(0,0,0,.8)); }
.limo-badge { display: inline-block; font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 3px; margin-bottom: 5px; background: linear-gradient(180deg, var(--gold-lt), var(--gold)); color: var(--marble-2); text-transform: uppercase; font-family: var(--font-serif); }
.limo-title { font-size: 17px; font-weight: 700; color: #fff; font-family: var(--font-serif); }
.limo-desc { font-size: 12px; color: #e3e8d8; margin-top: 5px; }

/* 11) Girl — couture list */
.couture-list { display: flex; flex-direction: column; gap: 0; padding: 0 18px; }
.couture-row { display: flex; gap: 14px; cursor: pointer; padding: 14px 0; border-bottom: 1px solid var(--panel-brd); }
.couture-row:last-child { border-bottom: none; }
.couture-img { width: 62px; height: 62px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 1px solid var(--gold); }
.couture-img img { width: 100%; height: 100%; object-fit: cover; }
.couture-body { flex: 1; min-width: 0; align-self: center; }
.couture-nm { font-size: 14px; font-weight: 700; margin-bottom: 3px; font-family: var(--font-serif); color: var(--ink); }
.couture-desc { font-size: 11px; color: var(--ink-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-style: italic; }

/* 12) Arcade — treasure stack */
.treasure-row { display: flex; padding: 22px 34px 14px; justify-content: center; }
.treasure-card { width: 88px; aspect-ratio: 1/1; border-radius: 8px; overflow: hidden; margin-left: -22px; box-shadow: 0 6px 16px rgba(0,0,0,.25); cursor: pointer; border: 2px solid var(--gold); min-width: 0; background: #fff; }
.treasure-card:first-child { margin-left: 0; }
.treasure-card:nth-child(1) { transform: rotate(-8deg); }
.treasure-card:nth-child(2) { transform: rotate(4deg); }
.treasure-card:nth-child(3) { transform: rotate(-3deg); }
.treasure-card img { width: 100%; height: 100%; object-fit: cover; }

/* All Games / Filtered Grid — marble grid uses shared .all-grid / .games-grid above */
