/* theme c */
/* =====================================================================
   C — Vertical Wall
   A short-video poster wall. Phones get a full-bleed vertical feed you
   swipe through; desktops get a dense multi-column poster wall with a
   sticky sidebar. Light paper, black ink, one highlighter yellow.

   Tokens
     paper  #FFFFFF   page
     ink    #0E0E10   text, primary "Play now" pill
     ink-2  #5E5E66   secondary text
     line   #E7E7EA   hairlines
     wash   #F4F4F6   inputs, stage panel
     hl     #E9FF55   highlighter: ranks, picks, current tab
     live   #FF3355   "new" dot, likes
   Type: Archivo only, using its width axis as the contrast.
     display = Archivo at 62–75% width, 800–900, uppercase
     body    = Archivo at 100% width
   ===================================================================== */

:root {
  --paper: #ffffff;
  --ink: #0e0e10;
  --ink-2: #5e5e66;
  --line: #e7e7ea;
  --wash: #f4f4f6;
  --hl: #e9ff55;
  --live: #ff3355;
  --side: 248px;
  --pad: 28px;
  --r: 14px;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 15px/1.5 var(--sans);
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
svg { width: 20px; height: 20px; flex: none; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* display type: condensed caps */
.cond, h1, h2, h3, .logo, .tabs a, .reel-t, .post-t, .ctile b, .slide-t {
  font-family: var(--sans);
  font-stretch: 68%;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.005em;
}
.num { font-variant-numeric: tabular-nums; }

/* highlighter swipe — the one signature mark */
.hl {
  background: linear-gradient(transparent 52%, var(--hl) 52%, var(--hl) 92%, transparent 92%);
  padding: 0 .08em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 999px;
  border: 1.5px solid var(--ink);
  font: 700 15px/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: scale(.97); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #2a2a30; }
.btn-line { background: var(--paper); color: var(--ink); }
.btn-line:hover { background: var(--hl); }
.btn-hl { background: var(--hl); color: var(--ink); border-color: var(--hl); }
.btn-hl:hover { background: #f3ff9a; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; }

/* ---------------------------------------------------------- shell */
.app { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); min-height: 100vh; }
.side { border-right: 1px solid var(--line); background: var(--paper); }
.side-in {
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
  display: flex; flex-direction: column; gap: 22px; padding: 22px 16px 18px;
}
.logo {
  display: inline-flex; align-items: baseline; gap: 6px; text-decoration: none;
  font-size: 30px; line-height: 1; font-weight: 900; font-stretch: 62%;
}
.logo b { background: var(--ink); color: var(--hl); padding: 3px 7px 1px; border-radius: 8px; font-weight: 900; }
.side .logo { padding: 0 10px; }

.side-nav { display: grid; gap: 2px; }
.side-nav a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px;
  text-decoration: none; font-weight: 600; font-size: 15px;
}
.side-nav a:hover { background: var(--wash); }
.side-nav a[aria-current] { font-weight: 800; }
.side-nav a[aria-current] svg { color: var(--ink); background: var(--hl); border-radius: 6px; box-shadow: 0 0 0 4px var(--hl); }
.side-label { margin: 0 12px -12px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.side-cats { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 8px; }
.side-cats a {
  padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 13px; font-weight: 600; text-decoration: none;
}
.side-cats a:hover { border-color: var(--ink); }
.side-cats small { color: var(--ink-2); margin-left: 4px; font-weight: 500; }
.side-card { border-radius: 18px; padding: 16px; background: var(--ink); color: #fff; }
.side-card b { display: block; font-stretch: 68%; font-weight: 800; text-transform: uppercase; font-size: 22px; line-height: 1; margin-bottom: 6px; }
.side-card b span { color: var(--hl); }
.side-card p { margin: 0 0 12px; font-size: 13px; color: #c4c4cc; }
.side-foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 0 10px; font-size: 12px; color: var(--ink-2); }
.side-foot a { text-decoration: none; }
.side-foot a:hover { text-decoration: underline; color: var(--ink); }

.main { min-width: 0; }
.top {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 18px; padding: 14px var(--pad);
  background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top .logo { display: none; }
.search {
  position: relative; flex: 1 1 auto; max-width: 480px;
  display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px;
  border-radius: 999px; background: var(--wash); color: var(--ink-2);
}
.search:focus-within { box-shadow: inset 0 0 0 1.5px var(--ink); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; font: 500 15px var(--sans); color: var(--ink); outline: none; }
.search input::placeholder { color: #8b8b93; }
.tabs { display: flex; gap: 4px; }
.tabs a { padding: 6px 10px; font-size: 19px; line-height: 1; text-decoration: none; color: var(--ink-2); border-radius: 8px; }
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current] { color: var(--ink); background: linear-gradient(transparent 55%, var(--hl) 55%, var(--hl) 90%, transparent 90%); }
.top-sp { flex: 1; }

.chips { display: none; }

/* ---------------------------------------------------------- sections */
.sec { padding: 34px var(--pad) 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.sec-head h2 { margin: 0; font-size: 40px; line-height: .9; }
.sec-head p { margin: 6px 0 0; color: var(--ink-2); font-size: 14px; }
.sec-head .more { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; }
.sec-head .more:hover { text-decoration: underline; }
.sec-head .more svg { width: 16px; height: 16px; }
.count { font-stretch: 100%; font-weight: 600; font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--ink-2); vertical-align: .55em; margin-left: 6px; }

/* ---------------------------------------------------------- spotlight hero (>=768) */
.spot {
  margin: 22px var(--pad) 0; padding: 28px; border-radius: 26px; background: var(--wash);
  display: grid; grid-template-columns: minmax(0, 1fr) 300px 132px; gap: 28px; align-items: center;
}
.spot-copy { min-width: 0; }
.live { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 4px rgba(255, 51, 85, .18); }
.spot h1 { margin: 14px 0 12px; font-size: clamp(56px, 6.4vw, 104px); line-height: .84; font-weight: 900; font-stretch: 62%; }
.spot .lede { margin: 0 0 18px; max-width: 34ch; font-size: 18px; line-height: 1.4; color: #2b2b31; }
.who { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; font-size: 14px; }
.who small { color: var(--ink-2); }
.ava {
  width: 36px; height: 36px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--ink); color: var(--hl); font-weight: 800; font-size: 13px; font-stretch: 75%;
}
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 20px 0 0; padding: 14px 0 0; border-top: 1px solid #dcdce0; font-size: 13px; color: var(--ink-2); }
.facts b { color: var(--ink); }

.spot-reel { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: 20px; overflow: hidden; background: var(--ink); text-decoration: none; box-shadow: 0 24px 48px -24px rgba(14, 14, 16, .55); }
.spot-reel img { width: 100%; height: 100%; object-fit: cover; }
.segs { position: absolute; left: 12px; right: 12px; top: 12px; display: flex; gap: 4px; }
.segs i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .42); }
.segs i:first-child { background: #fff; }
.reel-play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(14, 14, 16, .62); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.reel-play svg { width: 30px; height: 30px; margin-left: 4px; }
/* 觀看數放右上小膠囊：避開 GG 海報底部自帶的 PLAY 圖樣 */
.views { position: absolute; right: 8px; top: 8px; display: inline-flex; align-items: center; gap: 3px; padding: 3px 8px 3px 6px; border-radius: 999px; background: rgba(0, 0, 0, .62); color: #fff; font-size: 12px; font-weight: 700; line-height: 1.2; }
.views svg { width: 11px; height: 11px; }
.spot-next { display: grid; gap: 10px; align-self: stretch; align-content: center; }
.spot-next > span { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.spot-next a { display: block; position: relative; aspect-ratio: 9 / 16; max-height: 168px; border-radius: 12px; overflow: hidden; background: var(--ink); }
.spot-next a img { width: 100%; height: 100%; object-fit: cover; }
.spot-next a b { position: absolute; left: 8px; right: 8px; bottom: 7px; color: #fff; font-size: 12px; line-height: 1.15; font-stretch: 75%; font-weight: 800; text-transform: uppercase; text-shadow: 0 1px 4px rgba(0, 0, 0, .7); }
.spot-next a::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, .65)); }
.spot-next a b { z-index: 1; }

/* ---------------------------------------------------------- GG Picks reel strip */
.strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.reel { text-decoration: none; display: block; min-width: 0; }
.reel-art { display: block; position: relative; aspect-ratio: 9 / 16; border-radius: var(--r); overflow: hidden; background: var(--ink); }
.reel-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.reel:hover .reel-art img, .post:hover .post-art img { transform: scale(1.04); }
.reel-art::after, .post-art::after { content: ""; position: absolute; inset: 62% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, .55)); pointer-events: none; }
.reel-art .views, .post-art .views { z-index: 1; }
.reel-art:has(.tag) .views, .post-art:has(.tag) .views { top: 38px; }
.tag {
  position: absolute; left: 10px; top: 10px; z-index: 1;
  padding: 4px 8px 3px; border-radius: 6px; background: var(--hl); color: var(--ink);
  font-size: 13px; line-height: 1; font-weight: 900; font-stretch: 68%; text-transform: uppercase; letter-spacing: .02em;
}
.tag.new { background: #fff; display: inline-flex; align-items: center; gap: 5px; }
.tag.new::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--live); }
.reel-t { display: block; margin: 10px 0 2px; font-size: 20px; line-height: .95; }
.reel small, .post small { display: block; color: var(--ink-2); font-size: 13px; }

/* ---------------------------------------------------------- walls */
.wall { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px 14px; }
.wall.w6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.post { text-decoration: none; display: block; min-width: 0; }
.post-art { display: block; position: relative; aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; background: var(--ink); }
.post-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.rank {
  position: absolute; left: 0; top: 0; z-index: 1;
  min-width: 46px; padding: 8px 10px 5px; border-radius: 0 0 12px 0;
  background: var(--hl); color: var(--ink); font-size: 28px; line-height: 1; font-weight: 900; font-stretch: 62%; text-align: center;
}
.post:nth-child(n+4) .rank { background: #fff; }
.post-t { display: block; margin: 9px 0 3px; font-size: 17px; line-height: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.post-meta { display: flex; align-items: center; gap: 6px; color: var(--ink-2); font-size: 12.5px; min-width: 0; }
.post-meta .mini { width: 18px; height: 18px; font-size: 8px; }
.post-meta span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0; }
.post-meta .lk { display: inline-flex; align-items: center; gap: 2px; flex: none; }
.post-meta .lk svg { width: 13px; height: 13px; color: var(--live); }

/* ---------------------------------------------------------- categories */
.ctiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ctile {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  min-height: 132px; padding: 16px 18px; border: 1.5px solid var(--ink); border-radius: 18px;
  background: var(--paper); text-align: left; cursor: pointer; overflow: hidden;
  transition: background-color .15s ease;
}
.ctile:hover, .ctile[aria-pressed="true"] { background: var(--hl); }
.ctile b { font-size: 46px; line-height: .82; font-weight: 900; font-stretch: 62%; }
.ctile small { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.ctile[aria-pressed="true"] small, .ctile:hover small { color: var(--ink); }
.stack { position: absolute; right: 14px; bottom: 14px; display: flex; }
.stack span { width: 42px; height: 42px; border-radius: 50%; overflow: hidden; border: 2.5px solid var(--paper); margin-left: -12px; background: var(--ink); }
.stack span img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.cat-results { margin-top: 22px; }
.cat-results h3 { margin: 0 0 12px; font-size: 26px; }

/* ---------------------------------------------------------- face band (viewfinder) */
.faceband {
  margin: 44px var(--pad) 0; padding: 40px; border-radius: 28px; background: var(--ink); color: #fff;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center;
}
.faceband .k { display: inline-block; padding: 4px 9px 3px; border-radius: 6px; background: var(--hl); color: var(--ink); font-size: 13px; font-weight: 900; font-stretch: 68%; letter-spacing: .04em; text-transform: uppercase; }
.faceband h2 { margin: 16px 0 12px; font-size: clamp(48px, 5.6vw, 88px); line-height: .84; font-weight: 900; font-stretch: 62%; }
.faceband h2 em { font-style: normal; color: var(--hl); }
.faceband p { margin: 0 0 22px; max-width: 42ch; color: #c4c4cc; font-size: 16px; }
.faceband .note { display: block; margin-top: 10px; font-size: 12px; color: #8d8d96; }
.vf-wrap { display: flex; align-items: flex-end; gap: 14px; }
.vf { position: relative; width: 220px; aspect-ratio: 9 / 16; padding: 12px; }
.vf::before, .vf::after, .vf i::before, .vf i::after { content: ""; position: absolute; width: 30px; height: 30px; border: 3px solid var(--hl); }
.vf::before { left: 0; top: 0; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
.vf::after { right: 0; top: 0; border-left: 0; border-bottom: 0; border-radius: 0 10px 0 0; }
.vf i::before { left: 0; bottom: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 10px; }
.vf i::after { right: 0; bottom: 0; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; }
.vf a { display: block; width: 100%; height: 100%; border-radius: 10px; overflow: hidden; }
.vf a img { width: 100%; height: 100%; object-fit: cover; }
.vf .rec { position: absolute; left: 22px; top: 22px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 6px; background: rgba(0, 0, 0, .55); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.vf .rec::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--live); }
.vf-thumbs { display: grid; gap: 8px; }
.vf-thumbs a { display: block; width: 62px; aspect-ratio: 9 / 16; border-radius: 9px; overflow: hidden; opacity: .8; }
.vf-thumbs a:hover { opacity: 1; }
.vf-thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------------------------------------------------- footer */
.foot { margin: 48px var(--pad) 0; padding: 26px 0 40px; border-top: 1.5px solid var(--ink); display: grid; grid-template-columns: auto 1fr; gap: 10px 28px; align-items: center; }
.foot .logo { font-size: 26px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: flex-end; font-weight: 600; font-size: 14px; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { text-decoration: underline; }
.foot p { grid-column: 1 / -1; margin: 0; font-size: 13px; color: var(--ink-2); }
.foot .fine { font-size: 12px; }

/* ---------------------------------------------------------- mobile feed (<768 only) */
.feed-wrap { display: none; }
.feed-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px 10px; }
.feed-head h2 { margin: 0; font-size: 26px; line-height: 1; }
.feed-head > span { font-size: 12px; font-weight: 700; color: var(--ink-2); }
.feed {
  height: min(calc(100svh - 190px), 680px); min-height: 520px;
  overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain;
  background: var(--ink); scrollbar-width: none;
}
.feed::-webkit-scrollbar { display: none; }
.slide { position: relative; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; color: #fff; }
.slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.25), transparent 22%, transparent 48%, rgba(0,0,0,.82)); pointer-events: none; }
.slide .segs { z-index: 2; }
.slide .segs i { background: rgba(255,255,255,.38); }
.slide .segs i.on { background: #fff; }
.slide .segs i:first-child:not(.on) { background: rgba(255,255,255,.38); }
.slide-info { position: absolute; left: 16px; right: 84px; bottom: 20px; z-index: 2; }
.slide-info .tag { position: static; display: inline-block; margin-bottom: 10px; }
.slide-t { display: block; margin: 4px 0 6px; font-size: 40px; line-height: .86; font-weight: 900; font-stretch: 62%; text-decoration: none; }
.slide-info p { margin: 0 0 14px; font-size: 14px; line-height: 1.35; color: #e6e6ea; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.slide-info .by { font-size: 14px; font-weight: 700; }
.slide-info .by small { font-weight: 500; color: #d0d0d6; }
.slide-rail { position: absolute; right: 12px; bottom: 22px; z-index: 2; display: grid; gap: 16px; justify-items: center; }
.rb { display: grid; justify-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: #fff; text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.rb > span { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.rb > span svg { width: 24px; height: 24px; }
.rb.ava-rb > span { background: var(--hl); color: var(--ink); font-size: 15px; font-weight: 900; font-stretch: 75%; border: 2px solid #fff; }
.swipe { position: absolute; left: 50%; top: 46%; translate: -50% -50%; z-index: 2; display: grid; justify-items: center; gap: 2px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .9; }
.swipe svg { rotate: -90deg; animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { translate: 6px 0; } }

/* ---------------------------------------------------------- bottom dock (<768) */
.dock { display: none; }

/* ---------------------------------------------------------- GAME PAGE */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 18px var(--pad) 0; font-size: 13px; color: var(--ink-2); }
.crumbs a { text-decoration: none; font-weight: 600; color: var(--ink); }
.crumbs a:hover { text-decoration: underline; }
.play { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: 28px; padding: 14px var(--pad) 0; align-items: start; }
.stage {
  position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 18px;
  padding: 28px; border-radius: 28px; background: var(--wash);
  background-image: radial-gradient(#dcdce1 1px, transparent 1px); background-size: 18px 18px;
}
.screen { position: relative; height: min(76vh, 740px); aspect-ratio: 9 / 16; border-radius: 30px; overflow: hidden; background: var(--ink); box-shadow: 0 0 0 8px var(--ink), 0 30px 60px -30px rgba(14,14,16,.6); }
.screen > img { width: 100%; height: 100%; object-fit: cover; }
.screen .segs { z-index: 2; }
.scrim { position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(0,0,0,.7)); }
.cover-ui { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 24px; display: grid; gap: 10px; justify-items: center; text-align: center; color: #fff; }
.cover-ui .btn { width: 100%; max-width: 260px; }
.cover-ui small { font-size: 12px; font-weight: 600; color: #e2e2e6; }
.load-ui, .ready-ui { position: absolute; inset: 0; z-index: 3; display: none; place-content: center; justify-items: center; gap: 12px; padding: 28px; text-align: center; color: #fff; background: rgba(14,14,16,.86); }
.spin { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(255,255,255,.2); border-top-color: var(--hl); animation: spin .8s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.ready-ui b { font-size: 30px; line-height: .9; font-stretch: 68%; font-weight: 900; text-transform: uppercase; }
.ready-ui p { margin: 0; max-width: 250px; font-size: 14px; color: #c4c4cc; }
.ready-ui a { color: var(--hl); font-weight: 800; }
.is-loading .load-ui, .is-ready .ready-ui { display: grid; }
.is-loading .cover-ui, .is-ready .cover-ui { visibility: hidden; }

.rail { display: grid; gap: 14px; justify-items: center; padding-bottom: 10px; }
.rail .rb { color: var(--ink); text-shadow: none; }
.rail .rb > span { background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink); }
.rail .rb:hover > span { background: var(--hl); }
.rail .rb.liked > span { background: var(--live); color: #fff; box-shadow: none; }

.stage:fullscreen { border-radius: 0; background: #000; align-items: center; padding: 0; }
.stage:fullscreen .screen { height: 100vh; border-radius: 0; box-shadow: none; }
.stage:fullscreen .rail .rb { color: #fff; }

.panel { display: grid; gap: 18px; position: sticky; top: 92px; }
.info .cat { display: inline-block; padding: 4px 10px 3px; border-radius: 6px; background: var(--hl); font-size: 14px; font-weight: 900; font-stretch: 68%; text-transform: uppercase; text-decoration: none; }
.info h1 { margin: 12px 0 14px; font-size: clamp(54px, 5vw, 84px); line-height: .84; font-weight: 900; font-stretch: 62%; overflow-wrap: anywhere; }
.info .who { margin-bottom: 14px; }
.info .desc { margin: 0 0 14px; font-size: 17px; line-height: 1.45; color: #2b2b31; }
.stats { display: flex; flex-wrap: wrap; gap: 6px; }
.stat { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 999px; background: var(--wash); font-size: 13px; font-weight: 600; }
.stat svg { width: 14px; height: 14px; }
.cta { padding: 20px; border-radius: 20px; border: 1.5px solid var(--ink); display: grid; gap: 10px; }
.cta h2 { margin: 0; font-size: 30px; line-height: .9; }
.cta p { margin: 0 0 4px; font-size: 13px; color: var(--ink-2); }
.cta .btn { width: 100%; }
.cta small { font-size: 12px; color: var(--ink-2); }
.cta small a { color: var(--ink); }
.upnext h3 { margin: 0 0 8px; font-size: 22px; }
.upnext ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.upnext a { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 6px; border-radius: 12px; text-decoration: none; }
.upnext a:hover { background: var(--wash); }
.upnext img, .upnext .gg-fallback { width: 44px; aspect-ratio: 9 / 16; height: auto; border-radius: 7px; object-fit: cover; }
.upnext b { display: block; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upnext small { color: var(--ink-2); font-size: 12.5px; }
.upnext .go { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; }
.upnext .go svg { width: 14px; height: 14px; margin-left: 2px; }

.gg-fallback span { font-stretch: 68%; text-transform: uppercase; }

/* ===================================================================== responsive */
@media (max-width: 1279px) {
  .spot { grid-template-columns: minmax(0, 1fr) 280px; }
  .spot-next { display: none; }
  .strip { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 28px) / 3.4); overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
  .wall.w6 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ctiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ctile:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .play { grid-template-columns: minmax(0, 1fr) minmax(300px, 340px); gap: 22px; }
  .stage { padding: 22px 18px; gap: 14px; }
  .screen { height: min(70vh, 640px); }
  .info h1 { font-size: 54px; }
}

@media (max-width: 1023px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .side { display: none; }
  .top .logo { display: inline-flex; font-size: 26px; }
  .top { gap: 14px; }
  .tabs { display: none; }
  .chips { display: flex; gap: 8px; overflow-x: auto; padding: 12px var(--pad) 0; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chips a, .chips button { flex: none; padding: 7px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); font-weight: 700; font-size: 14px; text-decoration: none; cursor: pointer; }
  .chips [aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
  .chips small { margin-left: 5px; color: var(--ink-2); font-weight: 500; }
  .chips [aria-pressed="true"] small { color: #bcbcc4; }
  .faceband { grid-template-columns: minmax(0, 1fr) auto; padding: 32px; gap: 28px; }
  .vf { width: 190px; }
  .vf-thumbs { display: none; }
}

@media (max-width: 900px) {
  .play { grid-template-columns: minmax(0, 1fr); }
  .stage { justify-content: center; }
  .screen { height: min(72vh, 680px); }
  .panel { position: static; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .panel .info { grid-column: 1 / -1; }
  .info h1 { font-size: 64px; }
}

@media (max-width: 767px) {
  :root { --pad: 16px; }
  body { font-size: 14px; }
  .top { flex-wrap: wrap; gap: 10px; padding: 10px 16px; position: relative; }
  .top .logo { order: 1; font-size: 24px; }
  .top-sp { order: 2; }
  .top .btn { order: 3; height: 34px; padding: 0 12px; font-size: 12px; }
  .search { order: 4; flex: 1 0 100%; max-width: none; height: 42px; }
  .chips { padding: 10px 16px 2px; }

  .spot, #picks { display: none; }
  .feed-wrap { display: block; margin-top: 4px; }

  .sec { padding-top: 30px; }
  .sec-head h2 { font-size: 32px; }
  .sec-head p { font-size: 13px; }
  .wall, .wall.w6 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 10px; }
  #trend-wall .post:nth-child(n+7) { display: none; }
  .wall.w6 { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 42%; overflow-x: auto; scrollbar-width: none; margin-right: -16px; padding-right: 16px; }
  .wall.w6::-webkit-scrollbar { display: none; }
  .rank { font-size: 24px; min-width: 40px; }
  .ctiles { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .ctile { min-height: 112px; padding: 14px; }
  .ctile b { font-size: 36px; }
  .stack span { width: 32px; height: 32px; margin-left: -10px; }
  .stack span:nth-child(3) { display: none; }
  .stack { right: 10px; bottom: 10px; }

  .faceband { grid-template-columns: minmax(0, 1fr); margin-top: 36px; padding: 26px 20px; border-radius: 22px; gap: 22px; }
  .faceband h2 { font-size: 56px; }
  .vf-wrap { justify-content: center; }
  .vf { width: 170px; }
  .vf-thumbs { display: grid; }
  .vf-thumbs a { width: 50px; }

  .foot { grid-template-columns: minmax(0, 1fr); padding-bottom: 24px; }
  .foot nav { justify-content: flex-start; }

  .dock {
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: center;
    position: sticky; bottom: 0; z-index: 50; margin-top: 20px; padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    background: var(--paper); border-top: 1px solid var(--line);
  }
  .dock a { display: grid; justify-items: center; gap: 2px; padding: 4px 0; font-size: 11px; font-weight: 700; color: var(--ink-2); text-decoration: none; }
  .dock a[aria-current] { color: var(--ink); }
  .dock a svg { width: 22px; height: 22px; }
  .dock .make span { width: 46px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--ink); color: var(--hl); box-shadow: -3px 0 0 var(--hl), 3px 0 0 var(--live); }
  .dock .make span svg { width: 20px; height: 20px; }

  /* game page */
  .crumbs { display: none; }
  .play { padding: 0; gap: 0; }
  .stage { border-radius: 0; padding: 0; background: var(--ink); display: block; }
  .screen { height: auto; width: 100%; max-height: calc(100svh - 120px); aspect-ratio: 9 / 16; margin: 0 auto; border-radius: 0; box-shadow: none; }
  .cover-ui { padding: 22px 76px 26px 18px; justify-items: start; text-align: left; }
  .cover-ui .btn { width: auto; }
  .rail { position: absolute; right: 12px; bottom: 26px; z-index: 4; padding: 0; }
  .rail .rb { color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
  .rail .rb > span { background: rgba(255,255,255,.16); box-shadow: none; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  .panel { grid-template-columns: minmax(0, 1fr); position: relative; top: auto; z-index: 5; margin-top: -22px; padding: 22px 16px 0; border-radius: 22px 22px 0 0; background: var(--paper); }
  .info h1 { font-size: 52px; }
  .info .desc { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.rb em { font-style: normal; }
@media (max-width: 767px) { #related .post:nth-child(5) { display: none; } }

/* common */
/* 共用元件樣式（從設計稿 common.js 複製，拿掉設計稿切換列） */
#gg-toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,20px);opacity:0;pointer-events:none;z-index:90;padding:12px 18px;border-radius:999px;background:#111;color:#fff;font:600 14px/1 -apple-system,sans-serif;transition:.25s;box-shadow:0 10px 30px rgba(0,0,0,.35)}
#gg-toast.on{opacity:1;transform:translate(-50%,0)}
#gg-report{border:0;border-radius:18px;padding:0;max-width:420px;width:calc(100% - 32px);background:#fff;color:#16161b;box-shadow:0 30px 80px rgba(0,0,0,.45)}
#gg-report::backdrop{background:rgba(0,0,0,.55)}
.gg-report-form{padding:22px;font:15px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.gg-report-form h2{margin:0 0 4px;font-size:20px}
.gg-report-game{margin:0 0 14px;color:#5e5e66}
.gg-report-form fieldset{border:0;padding:0;margin:0 0 12px;display:grid;gap:8px}
.gg-report-form legend{font-weight:700;margin-bottom:6px}
.gg-report-form label{display:flex;gap:8px;align-items:center;padding:10px 12px;border:1px solid #e4e4e8;border-radius:10px;cursor:pointer}
.gg-report-note{font-size:13px;color:#7a7a84;margin:0 0 14px}
.gg-report-actions{display:flex;gap:8px;justify-content:flex-end}
.gg-report-actions button{font:700 14px/1 inherit;padding:12px 16px;border-radius:999px;border:1px solid #d6d6dc;background:#fff;cursor:pointer}
.gg-report-actions .gg-r-send{background:#16161b;color:#fff;border-color:#16161b}
.gg-search-results{position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:70;display:none;padding:6px;border-radius:16px;background:#fff;color:#16161b;box-shadow:0 20px 50px rgba(0,0,0,.35);text-align:left}
.gg-search-results.on{display:grid;gap:2px}
.gg-search-results a{display:flex;gap:10px;align-items:center;padding:6px;border-radius:10px;color:inherit;text-decoration:none}
.gg-search-results a:hover,.gg-search-results a:focus{background:#f1f1f4}
.gg-search-results b{display:block;font-size:14px}
.gg-search-results small{color:#6c6c75;font-size:12px}
.gg-sr-img{width:32px;height:56px;object-fit:cover;border-radius:6px;flex:none}
.gg-sr-empty{margin:0;padding:10px;font-size:14px;color:#5e5e66}
.gg-fallback{display:flex;align-items:flex-end;padding:12px;background:linear-gradient(160deg,#ff8a64,#6a3dff);color:#fff;font:800 16px/1.1 sans-serif}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}
}

:root{--gg-bg:#fff;--gg-card:#f4f4f6;--gg-ink:#0e0e10;--gg-mute:#5e5e66;--gg-line:#e7e7ea;--gg-acc:#e9ff55;--gg-acc-ink:#0e0e10}
/* portal */
/* portal.css — 三版共用的「正式站」補充樣式（設計稿沒有的：播放中、全螢幕、第三方卡、搜尋頁、404、語言鈕…）
   顏色一律吃 build 注入的 --gg-* 變數（每版不同）。 */
html, body { overflow-x: hidden; }
img { max-width: 100%; }
.gg-skip { position: absolute; left: -9999px; top: 0; z-index: 100; padding: 10px 14px; background: var(--gg-acc); color: var(--gg-acc-ink); font-weight: 700; border-radius: 0 0 10px 0; }
.gg-skip:focus { left: 0; }

/* ---------- 播放器狀態 ---------- */
.ready-ui { display: none !important; }
[data-player] .load-ui { display: none; }
[data-player].is-loading .load-ui { display: flex; }
.is-playing .cover-ui, .is-playing .load-ui, .is-playing .scrim, .is-playing [data-frame-host] > img, .is-playing .gg-tp-cover { display: none !important; }
[data-frame-host] { position: relative; }
.gg-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 4; background: #000; display: block; }
[data-click-anywhere] [data-frame-host] { cursor: pointer; }
.is-playing [data-frame-host] { cursor: auto; }
/* 封面上的 PLAY 圖案在下方 ~15%：真按鈕往上抬，別蓋住它（三版都套） */
[data-player] .cover-ui { padding-bottom: 30%; }

/* 偽全螢幕（iOS Safari 等不給 requestFullscreen 時） */
.gg-pseudo-fs { position: fixed !important; inset: 0 !important; z-index: 9999 !important; margin: 0 !important; width: 100vw !important; height: 100vh !important; max-width: none !important; border-radius: 0 !important; background: #000 !important; padding: 0 !important; display: block !important; }
.gg-pseudo-fs [data-frame-host] { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important; border-radius: 0 !important; border: 0 !important; aspect-ratio: auto !important; }
.gg-pseudo-fs .gg-fs-bar { display: flex; }
.gg-noscroll { overflow: hidden !important; }
.gg-fs-bar { display: none; position: absolute; top: 10px; right: 10px; z-index: 10; }
.gg-fs-bar button { font: 700 13px/1 sans-serif; padding: 10px 14px; border-radius: 999px; border: 0; background: rgba(0,0,0,.7); color: #fff; cursor: pointer; }
:fullscreen [data-frame-host] { max-height: 100vh; }

/* ---------- 橫式（529、562）大框 ---------- */
.gg-land-page .play-layout, .gg-land-page .play { grid-template-columns: minmax(0, 1fr) !important; }
.gg-land-page .info-wrap { position: static; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.gg-land-page .panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); position: static; }
.gg-land .cab-stage { height: auto; padding: 24px; }
.gg-land .phone, .gg-land .screen { height: auto !important; width: 100% !important; max-width: 100% !important; max-height: none !important; aspect-ratio: 16 / 9 !important; border-radius: 18px; }
.gg-land .phone > img, .gg-land .screen > img { object-fit: contain; background: #000; }
.gg-land .cover-ui { padding-bottom: 7%; }
.gg-land.stage { flex-direction: column; align-items: stretch; }
.gg-land .side-rail, .gg-land .rail { position: static !important; display: flex !important; flex-wrap: wrap; justify-content: center; gap: 18px; padding: 4px 0 0 !important; }
.gg-land .rail .rb { color: var(--gg-ink); text-shadow: none; }

/* ---------- 語言鈕、DEV 徽章 ---------- */
.gg-lang { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--gg-line); background: transparent; color: var(--gg-ink); font: 700 13px/1 inherit; cursor: pointer; white-space: nowrap; flex: none; }
.gg-lang:hover { border-color: var(--gg-ink); }
.gg-dev { display: inline-block; padding: 3px 8px; border-radius: 6px; background: #ff3b30; color: #fff; font: 800 11px/1.2 ui-monospace, Menlo, monospace; letter-spacing: .06em; vertical-align: middle; }

/* ---------- 區塊標頭（共用頁：分類、搜尋、第三方） ---------- */
.gg-page { padding-bottom: 24px; min-width: 0; }
.gg-cat-head { padding: 26px 0 6px; }
.gg-cat-head h1 { margin: 0; font-size: clamp(32px, 5vw, 60px); line-height: 1; letter-spacing: -.03em; overflow-wrap: anywhere; }
.gg-cat-head p { margin: 10px 0 0; color: var(--gg-mute); font-size: 16px; max-width: 60ch; }
.gg-sec-h { margin: 30px 0 14px; font-size: 22px; line-height: 1.15; letter-spacing: -.01em; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.gg-sec-h small { font-size: 14px; color: var(--gg-mute); font-weight: 500; }
.gg-empty { margin: 18px 0; color: var(--gg-mute); text-align: center; font-size: 15px; }
.gg-more-wrap { display: grid; justify-items: center; margin: 22px 0 8px; }
.gg-more-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 28px; border-radius: 999px; border: 2px solid var(--gg-ink); background: transparent; color: var(--gg-ink); font: 700 15px/1 inherit; cursor: pointer; }
.gg-more-btn:hover { background: var(--gg-ink); color: var(--gg-bg); }
.gg-more-btn[disabled] { opacity: .6; cursor: progress; }
.gg-more-sub { margin: 4px 0 0; color: var(--gg-mute); font-size: 14px; }

/* GG 小卡格（分類、搜尋、第三方頁的 GG 區） */
.gg-sgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px 12px; }
.gg-scard { display: grid; gap: 6px; color: var(--gg-ink); text-decoration: none; min-width: 0; }
.gg-scard-art { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background: var(--gg-card); }
.gg-scard-art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.gg-scard:hover .gg-scard-art img { transform: scale(1.04); }
.gg-scard b { font-size: 14px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gg-scard small { color: var(--gg-mute); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gg-scard .gg-badge { position: absolute; left: 8px; top: 8px; padding: 3px 8px; border-radius: 999px; background: var(--gg-acc); color: var(--gg-acc-ink); font-size: 11px; font-weight: 800; }

/* 第三方卡格 */
.tp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px 12px; }
.tp-card { display: grid; gap: 5px; align-content: start; color: var(--gg-ink); text-decoration: none; min-width: 0; }
.tp-art { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--gg-card); border: 1px solid var(--gg-line); }
.tp-art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.tp-card:hover .tp-art img { transform: scale(1.05); }
.tp-card b { font-size: 14px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.tp-card small { color: var(--gg-mute); font-size: 12px; }

/* 分類頁上方的分類跳轉 */
.gg-catnav { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 0 8px; }
.gg-catnav::-webkit-scrollbar { display: none; }
.gg-catnav a { flex: none; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--gg-line); color: var(--gg-ink); text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap; }
.gg-catnav a[aria-current] { background: var(--gg-ink); color: var(--gg-bg); border-color: var(--gg-ink); }

/* ---------- 第三方遊戲頁 ---------- */
.gg-tp { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 28px; align-items: start; padding-top: 18px; }
.gg-tp-crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 18px; font-size: 14px; color: var(--gg-mute); }
.gg-tp-crumbs a { color: var(--gg-mute); text-decoration: none; font-weight: 600; }
.gg-tp-crumbs a:hover { color: var(--gg-ink); }
.gg-tp-stage { position: relative; border-radius: 20px; overflow: hidden; background: #000; border: 1px solid var(--gg-line); }
.gg-tp-stage [data-frame-host] { position: relative; aspect-ratio: 16 / 9; width: 100%; overflow: hidden; }
.gg-tp-cover { position: absolute; inset: 0; display: block; overflow: hidden; }
.gg-tp-cover .bg { position: absolute; inset: -30px; width: calc(100% + 60px); height: calc(100% + 60px); max-width: none; object-fit: cover; filter: blur(24px) saturate(1.2); opacity: .55; }
.gg-tp-cover .fg { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%); width: min(46%, 384px); height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; box-shadow: 0 20px 40px rgba(0,0,0,.5); }
.gg-tp-stage .cover-ui { position: absolute; left: 0; right: 0; bottom: 0; top: auto; z-index: 3; display: grid; justify-items: center; gap: 8px; padding: 16px !important; text-align: center; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.75)); }
.gg-tp-stage .cover-ui small { color: #e8e8ee; font-size: 12px; font-weight: 600; }
.gg-tp-stage .load-ui { position: absolute; inset: 0; z-index: 3; align-items: center; justify-content: center; background: rgba(0,0,0,.7); color: #fff; }
.gg-tp-bar { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 12px; background: var(--gg-card); border-top: 1px solid var(--gg-line); }
.gg-tp-bar button, .gg-tp-bar a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--gg-line); background: transparent; color: var(--gg-ink); font: 600 14px/1 inherit; cursor: pointer; text-decoration: none; }
.gg-tp-bar svg { width: 18px; height: 18px; }
.gg-tp-ext { display: grid; grid-template-columns: minmax(0, 192px) minmax(0, 1fr); gap: 22px; align-items: center; padding: 24px; border-radius: 20px; background: var(--gg-card); border: 1px solid var(--gg-line); }
.gg-tp-ext img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; display: block; }
.gg-tp-ext p { margin: 10px 0 0; color: var(--gg-mute); font-size: 13px; }
.gg-tp-go { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; padding: 0 28px; border-radius: 16px; background: var(--gg-acc); color: var(--gg-acc-ink); font: 800 18px/1.15 inherit; text-decoration: none; text-align: center; box-shadow: 0 8px 22px -10px var(--gg-acc); }
.gg-tp-go:hover { filter: brightness(1.06); }
.gg-tp-go svg { width: 20px; height: 20px; flex: none; }
.gg-tp-go span small { display: block; font-size: 13px; font-weight: 600; opacity: .8; }
.gg-tp-info h1 { margin: 10px 0 0; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.02; letter-spacing: -.02em; overflow-wrap: anywhere; }
.gg-tp-info .gg-tp-cat { display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--gg-line); color: var(--gg-ink); font-size: 13px; font-weight: 700; text-decoration: none; }
.gg-tp-info .gg-tp-desc { margin: 14px 0 0; font-size: 16px; line-height: 1.55; color: var(--gg-ink); overflow-wrap: anywhere; }
.gg-tp-info .gg-tp-owner { margin: 14px 0 0; font-size: 13px; color: var(--gg-mute); }
.gg-tp-info .gg-tp-owner button { padding: 0; border: 0; background: none; color: var(--gg-ink); font: inherit; text-decoration: underline; cursor: pointer; }
.gg-tp-cta { margin-top: 22px; padding: 22px; border-radius: 20px; background: var(--gg-card); border: 1px solid var(--gg-line); }
.gg-tp-cta h2 { margin: 0; font-size: 22px; }
.gg-tp-cta p { margin: 8px 0 16px; color: var(--gg-mute); font-size: 15px; }
.gg-tp-cta a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--gg-ink); color: var(--gg-bg); font: 700 15px/1 inherit; text-decoration: none; }
.gg-tp-cta a svg { width: 18px; height: 18px; }
.gg-tp-cta small { display: block; margin-top: 10px; color: var(--gg-mute); font-size: 12px; }
.gg-tp-cover-sm { display: none; }

/* ---------- 404 ---------- */
.gg-nf { padding: 40px 0 10px; text-align: center; }
.gg-nf b.gg-nf-code { display: block; font-size: clamp(80px, 16vw, 160px); line-height: .9; letter-spacing: -.05em; color: var(--gg-acc); -webkit-text-stroke: 2px var(--gg-ink); }
.gg-nf h1 { margin: 12px 0 0; font-size: clamp(26px, 4vw, 42px); }
.gg-nf p { margin: 10px auto 18px; max-width: 46ch; color: var(--gg-mute); }
.gg-nf a.gg-nf-home { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border-radius: 999px; background: var(--gg-ink); color: var(--gg-bg); font-weight: 700; text-decoration: none; }

/* 壞圖退回 */
img.gg-img-fallback { object-fit: cover; }

@media (max-width: 900px) {
  .gg-tp { grid-template-columns: minmax(0, 1fr); }
  .gg-land-page .info-wrap, .gg-land-page .panel { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .gg-sgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
  .gg-tp-ext { grid-template-columns: minmax(0, 1fr); padding: 18px; }
  .gg-tp-ext img { max-width: 240px; }
  .gg-tp-go { width: 100%; }
  .gg-tp-cover .fg { width: 60%; }
  .gg-sec-h { font-size: 19px; }
}

/* fixes */
/* C 版修正：「Play now」按鈕蓋到封面上的 PLAY 字 → 文字區與右側按鈕往上抬，避開封面下方 PLAY 區 */
.slide-info { bottom: calc(17% + 8px); }
.slide-rail { bottom: calc(17% + 8px); }
.slide::after { background: linear-gradient(rgba(0,0,0,.25), transparent 22%, transparent 34%, rgba(0,0,0,.72) 68%, rgba(0,0,0,.45)); }
@media (max-width: 767px) {
  [data-player] .cover-ui { padding-bottom: 30%; }
  .gg-land[data-player] .cover-ui { padding-bottom: 7%; }
}
