/* ============================================================
   PLAY HYPE GAMES — 主题层（亮色 / 暗色）
   加载在 style.css 之后；只覆盖前台首页与详情页，不动后台
   ============================================================ */

/* ---------- 亮色（默认） ---------- */
:root{
  --h-font:'Baloo 2','Nunito','Segoe UI',system-ui,-apple-system,sans-serif;
  --h-bg:#cfd9f5;
  --h-fg:#123a63;
  --h-fg-dim:#5d87ad;
  --h-surface:#ffffff;
  --h-surface-2:#f1f5ff;
  --h-glass:rgba(255,255,255,.38);
  --h-glass-border:rgba(255,255,255,.62);
  --h-chip:#ffffff;
  --h-chip-border:rgba(255,255,255,.92);
  --h-chip-shadow:0 3px 0 rgba(150,180,222,.55),0 6px 11px rgba(60,110,175,.16);
  --h-chip-shadow-hover:0 5px 0 rgba(150,180,222,.55),0 10px 16px rgba(60,110,175,.2);
  --h-card-bd:rgba(255,255,255,.96);
  --h-shadow:rgba(60,110,175,.26);
  --h-shadow-soft:rgba(60,110,175,.16);
  --h-accent:#2f6fb3;
  --h-line:rgba(120,160,215,.28);
  --h-scrim:linear-gradient(180deg,rgba(255,255,255,.10) 0,transparent 26%,
    rgba(255,255,255,.32) 58%,rgba(255,255,255,.90) 86%,#f6f8ff 100%);
  --h-bg-filter:none;
  --h-tab-on:linear-gradient(180deg,#a8ff63,#4ce02a);
  --h-tab-on-shadow:0 7px 0 #2ba50f;
  --h-3d:0 .10em 0 rgba(42,108,173,.85),0 .22em .35em rgba(14,48,90,.32);
  --h-glow:rgba(176,220,255,.85);
}

/* ---------- 暗色：跟随系统 ---------- */
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --h-bg:#070b18;
    --h-fg:#e9effc;
    --h-fg-dim:#93a8c8;
    --h-surface:#141b31;
    --h-surface-2:#1b2440;
    --h-glass:rgba(255,255,255,.07);
    --h-glass-border:rgba(255,255,255,.15);
    --h-chip:#1b2440;
    --h-chip-border:rgba(255,255,255,.14);
    --h-chip-shadow:0 3px 0 #0c1220,0 6px 11px rgba(0,0,0,.45);
    --h-chip-shadow-hover:0 5px 0 #0c1220,0 10px 16px rgba(0,0,0,.5);
    --h-card-bd:rgba(255,255,255,.13);
    --h-shadow:rgba(0,0,0,.55);
    --h-shadow-soft:rgba(0,0,0,.4);
    --h-accent:#8cc9ff;
    --h-line:rgba(255,255,255,.12);
    --h-scrim:linear-gradient(180deg,rgba(8,12,26,.35) 0,rgba(8,12,26,.62) 34%,
      rgba(7,11,24,.92) 74%,#070b18 100%);
    --h-bg-filter:brightness(.42) saturate(1.25);
    --h-tab-on:linear-gradient(180deg,#8cff45,#3cc81f);
    --h-tab-on-shadow:0 7px 0 #1d7a0c;
    --h-3d:0 .09em 0 rgba(13,45,78,.9),0 .26em .45em rgba(0,0,0,.55);
    --h-glow:rgba(140,198,255,.6);
  }
}

/* ---------- 暗色：手动切换 ---------- */
:root[data-theme="dark"]{
  --h-bg:#070b18;
  --h-fg:#e9effc;
  --h-fg-dim:#93a8c8;
  --h-surface:#141b31;
  --h-surface-2:#1b2440;
  --h-glass:rgba(255,255,255,.07);
  --h-glass-border:rgba(255,255,255,.15);
  --h-chip:#1b2440;
  --h-chip-border:rgba(255,255,255,.14);
  --h-chip-shadow:0 3px 0 #0c1220,0 6px 11px rgba(0,0,0,.45);
  --h-chip-shadow-hover:0 5px 0 #0c1220,0 10px 16px rgba(0,0,0,.5);
  --h-card-bd:rgba(255,255,255,.13);
  --h-shadow:rgba(0,0,0,.55);
  --h-shadow-soft:rgba(0,0,0,.4);
  --h-accent:#8cc9ff;
  --h-line:rgba(255,255,255,.12);
  --h-scrim:linear-gradient(180deg,rgba(8,12,26,.35) 0,rgba(8,12,26,.62) 34%,
    rgba(7,11,24,.92) 74%,#070b18 100%);
  --h-bg-filter:brightness(.42) saturate(1.25);
  --h-tab-on:linear-gradient(180deg,#8cff45,#3cc81f);
  --h-tab-on-shadow:0 7px 0 #1d7a0c;
  --h-3d:0 .09em 0 rgba(13,45,78,.9),0 .26em .45em rgba(0,0,0,.55);
  --h-glow:rgba(140,198,255,.6);
}

/* ============================================================
   页面外壳（首页 + 详情页共用亮暗）
   ============================================================ */
body.hype,
body.hype{
  background:var(--h-bg);
  color:var(--h-fg);
  overflow-x:hidden;
}
body.hype::before,
body.hype::before{
  content:"";
  position:fixed;inset:0;z-index:-2;
  background:url('/assets/sky.webp') center top / cover no-repeat;
  filter:var(--h-bg-filter);
}
body.hype::after,
body.hype::after{
  content:"";
  position:fixed;inset:0;z-index:-1;
  background:var(--h-scrim);
  pointer-events:none;
}
@media (max-width:900px){
  body.hype::before,
  body.hype::before{background-image:url('/assets/sky-m.webp')}
}

/* 导航胶囊 */
body.hype .site-header,
body.hype .site-header{
  position:sticky;top:0;z-index:30;
  background:transparent;border:0;box-shadow:none;backdrop-filter:none;
  padding:14px 0 0;
}
body.hype .header-inner,
body.hype .header-inner{
  max-width:1320px;margin:0 auto;height:72px;border-radius:36px;
  background:var(--h-glass);
  border:1px solid var(--h-glass-border);
  box-shadow:0 10px 26px var(--h-shadow-soft),inset 0 1px 0 rgba(255,255,255,.35);
  backdrop-filter:blur(10px);
  display:flex;align-items:center;gap:10px;
  padding:0 20px 0 28px;
}
body.hype .brand-name,
body.hype .brand-name{
  font-family:var(--h-font);font-weight:800;
  color:#fff;
  -webkit-text-stroke-width:1.8px;
  -webkit-text-stroke-color:#2f6fb3;
  paint-order:stroke fill;
  text-shadow:0 2px 0 #2c69a8,0 4px 6px rgba(30,76,130,.32);
  filter:drop-shadow(0 0 3px rgba(178,220,255,.8));
  font-size:clamp(17px,1.85vw,23px);letter-spacing:.4px;
  margin-right:clamp(10px,1.6vw,28px);white-space:nowrap;
}
body.hype .brand-mark,
body.hype .brand-mark{
  background:none;box-shadow:none;border:0;width:auto;height:auto;
  color:#fff;-webkit-text-stroke:2.4px var(--h-accent);paint-order:stroke fill;
}
body.hype .brand-mark svg,
body.hype .brand-mark svg{stroke:#fff}
body.hype .main-nav,
body.hype .main-nav{gap:clamp(16px,2.4vw,40px);margin-left:auto;margin-right:clamp(12px,2.4vw,36px)}
body.hype .main-nav .nav-item,
body.hype .main-nav .nav-item{
  font-family:var(--h-font);
  color:#fff !important;font-size:clamp(15px,1.5vw,20px);font-weight:800;letter-spacing:.3px;
  text-shadow:0 2px 4px rgba(40,90,150,.45);
  background:none;padding:0;border:0;text-decoration:none;
}
body.hype .main-nav .nav-item.is-active,
body.hype .main-nav .nav-item.is-active{
  color:#8cff45 !important;text-shadow:0 2px 0 #2d6b1b,0 0 16px rgba(140,255,69,.55);
}
body.hype .main-nav .nav-item:nth-child(n+6),
body.hype .main-nav .nav-item:nth-child(n+6){display:none}

body.hype .search-form,
body.hype .search-form{
  background:var(--h-chip);border:2px solid var(--h-chip-border);
  border-radius:26px;height:44px;padding:0 16px;color:var(--h-accent);
}
body.hype .search-form input,
body.hype .search-form input{color:var(--h-fg);font-weight:600}
body.hype .search-form input::placeholder,
body.hype .search-form input::placeholder{color:var(--h-fg-dim)}
body.hype .nav-toggle span,
body.hype .nav-toggle span{background:var(--h-accent)}

body.hype .site-footer,
body.hype .site-footer{
  background:var(--h-surface);color:var(--h-fg-dim);border:0;
  box-shadow:0 -8px 24px var(--h-shadow-soft);
}
body.hype .site-footer a,
body.hype .site-footer a{color:var(--h-fg-dim)}
body.hype .site-footer h4{color:var(--h-fg)}

/* ---------- 主题切换按钮 ---------- */
.theme-toggle{
  flex:none;width:44px;height:44px;border-radius:50%;
  background:var(--h-chip);border:2px solid var(--h-chip-border);
  display:grid;place-items:center;cursor:pointer;padding:0;
}
.theme-toggle svg{width:19px;height:19px;stroke:var(--h-accent);stroke-width:2;fill:none;stroke-linecap:round}
.theme-toggle .ic-sun{display:none}
:root[data-theme="dark"] .theme-toggle .ic-moon{display:none}
:root[data-theme="dark"] .theme-toggle .ic-sun{display:block}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) .theme-toggle .ic-moon{display:none}
  :root:not([data-theme="light"]) .theme-toggle .ic-sun{display:block}
}

/* ============================================================
   首页：Hero
   ============================================================ */
.hhero{padding:clamp(18px,3.2vw,42px) clamp(14px,3vw,40px) 0;display:flex;justify-content:center;overflow-x:clip}
.hpad-wrap{
  position:relative;width:100%;max-width:min(880px,85vh);margin:0 auto;
  container-type:inline-size;
  filter:drop-shadow(0 3.4cqw 5cqw var(--h-shadow-soft));
}
.hpad{width:100%!important;max-width:100%!important;height:auto;display:block;transform:rotate(-1.5deg)}
.hscreen{
  position:absolute;left:43%;top:38%;width:42%;
  transform:translate(-50%,-50%);text-align:center;
}
.hh1{
  margin:0;font-family:var(--h-font);font-size:min(4.4cqw,44px);line-height:1.06;font-weight:800;
  letter-spacing:0;color:#fff;
  /* 白字面 + 蓝色描边 + 轻挤出 + 外圈光晕 */
  -webkit-text-stroke-width:min(.46cqw,4px);
  -webkit-text-stroke-color:#2f74b8;
  paint-order:stroke fill;
  text-shadow:var(--h-3d);
  filter:drop-shadow(0 0 .13em var(--h-glow));
}
.hsub{
  margin-top:.9cqw;font-family:var(--h-font);font-size:min(2cqw,16px);font-weight:600;color:#fff;
  text-shadow:0 .3cqw .6cqw rgba(25,70,130,.65);
}
.hcta{
  display:inline-flex;align-items:center;gap:.8cqw;margin-top:1.3cqw;
  font-family:var(--h-font);
  height:min(7cqw,56px);padding:0 3.1cqw;border-radius:99px;
  font-size:min(2.8cqw,23px);font-weight:800;letter-spacing:.5px;
  color:#fff;text-decoration:none;
  text-shadow:none;
  -webkit-font-smoothing:antialiased;
  background:linear-gradient(180deg,#ffe057 0%,#ffb316 52%,#ff8f1f 100%);
  box-shadow:0 .82cqw 0 #e2760f,0 1.05cqw 1.5cqw rgba(200,120,10,.26);
  transition:transform .14s ease,box-shadow .14s ease;
}
.hcta:hover{
  transform:translateY(-2px);
  box-shadow:0 .95cqw 0 #e2760f,0 1.3cqw 1.9cqw rgba(200,120,10,.3);
}
.hcta svg{width:2.4cqw;height:2.4cqw;fill:#fff;stroke:none}

/* ============================================================
   首页：分类胶囊
   ============================================================ */
.htabs{
  display:flex;gap:clamp(8px,1vw,13px);
  max-width:1320px;margin:0 auto;
  padding:clamp(14px,2vw,26px) 40px clamp(14px,1.6vw,22px);
  overflow-x:auto;overflow-y:hidden;scrollbar-width:none;
}
.htabs::-webkit-scrollbar{display:none}
.htab{
  flex:none;display:flex;align-items:center;
  font-family:var(--h-font);
  height:clamp(38px,4.1vw,54px);padding:0 clamp(15px,1.9vw,28px);
  border-radius:99px;text-decoration:none;
  font-size:clamp(13px,1.42vw,19px);font-weight:800;letter-spacing:.4px;
  color:var(--h-fg);
  background:var(--h-chip);
  border:0;
  box-shadow:var(--h-chip-shadow);
  text-shadow:none;
  -webkit-font-smoothing:antialiased;
  transition:transform .14s ease,box-shadow .14s ease;
}
.htab:hover{
  transform:translateY(-2px);
  box-shadow:var(--h-chip-shadow-hover);
}
.htab.is-active{
  color:#fff;
  background:var(--h-tab-on);
  box-shadow:var(--h-tab-on-shadow);
  text-shadow:0 1px 0 rgba(18,74,8,.55);
}

/* ============================================================
   区块与卡片网格
   ============================================================ */
.hsection{max-width:1320px;margin:0 auto;padding:clamp(10px,1.6vw,20px) 40px 0}
body.hype .section-head,
body.hype .section-head{margin-bottom:clamp(10px,1.4vw,16px)}
body.hype .kicker,
body.hype .kicker{color:var(--h-fg-dim);font-size:12px;letter-spacing:1.4px;font-weight:800}
body.hype .section-title,
body.hype .section-title{font-family:var(--h-font);color:var(--h-fg);font-size:clamp(20px,2.2vw,30px);font-weight:800}
body.hype .more-link,
body.hype .more-link{color:var(--h-accent);font-weight:800}

.hgrid{display:grid;gap:clamp(10px,1.25vw,18px);grid-template-columns:repeat(6,minmax(0,1fr))}
@media (max-width:1199px){ .hgrid{grid-template-columns:repeat(4,minmax(0,1fr))} }
@media (max-width:900px){  .hgrid{grid-template-columns:repeat(3,minmax(0,1fr))} }
@media (max-width:640px){  .hgrid{grid-template-columns:repeat(2,minmax(0,1fr))} }

.hcard{
  position:relative;display:block;text-decoration:none;overflow:hidden;
  border-radius:clamp(12px,1.25vw,18px);
  background:var(--h-surface);
  border:3px solid var(--h-card-bd);
  box-shadow:0 12px 22px var(--h-shadow);
  transition:transform .18s,box-shadow .18s;
}
.hcard:hover{transform:translateY(-5px);box-shadow:0 20px 32px var(--h-shadow)}
.hcover{position:relative;width:100%;aspect-ratio:16/10;overflow:hidden;display:grid;place-items:center}
.hcover img{width:100%;height:100%;object-fit:cover;display:block}
.hcard.is-fallback .hcover{
  background:
    radial-gradient(circle at 26% 22%,hsl(var(--h) 80% 62%),transparent 64%),
    radial-gradient(circle at 80% 84%,hsl(calc(var(--h) + 40) 75% 55%),transparent 60%),
    linear-gradient(140deg,#33406b,#1d2547);
}
.hcard-letter{
  font-size:clamp(28px,3.6vw,52px);font-weight:900;color:#fff;
  -webkit-text-stroke:3px rgba(255,255,255,.32);paint-order:stroke fill;opacity:.92;
}
.htitle{
  position:absolute;left:0;right:0;top:0;
  font-family:var(--h-font);
  padding:clamp(7px,.7vw,10px) clamp(9px,.9vw,13px);
  font-size:clamp(13px,1.24vw,18px);line-height:1.12;font-weight:800;color:#fff;
  -webkit-text-stroke:2.4px #2b5f9e;paint-order:stroke fill;
  filter:drop-shadow(0 2px 0 rgba(30,70,130,.5));
  text-shadow:0 2px 6px rgba(20,50,90,.45);
}
.htag{
  position:absolute;left:clamp(7px,.8vw,11px);bottom:clamp(7px,.8vw,11px);
  height:clamp(20px,1.8vw,26px);padding:0 clamp(9px,.9vw,13px);
  border-radius:99px;display:flex;align-items:center;
  font-size:clamp(10px,.9vw,13px);font-weight:800;color:#fff;
  background:hsl(var(--h) 72% 58%);
  box-shadow:0 3px 0 rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.5);
}
.hheat{
  position:absolute;right:clamp(7px,.8vw,11px);bottom:clamp(7px,.8vw,11px);
  height:clamp(20px,1.8vw,26px);padding:0 clamp(7px,.7vw,10px);
  border-radius:99px;display:flex;align-items:center;gap:4px;
  font-size:clamp(9px,.86vw,12px);font-weight:800;color:#fff;
  background:rgba(18,38,68,.55);
}
.hheat svg{width:clamp(8px,.78vw,11px);height:clamp(8px,.78vw,11px);fill:#ffd84d;stroke:none}

/* ============================================================
   详情页
   ============================================================ */
body.hype .wrap{max-width:1320px;margin:0 auto;padding:0 40px}
body.hype .breadcrumb{
  display:flex;align-items:center;gap:8px;flex-wrap:wrap;
  font-size:14px;font-weight:700;color:var(--h-fg-dim);
  padding:clamp(16px,2vw,26px) 0 6px;
}
body.hype .breadcrumb a{color:var(--h-fg-dim);text-decoration:none}
body.hype .breadcrumb a:hover{color:var(--h-accent)}
body.hype .game-head{margin:6px 0 18px}
body.hype .game-head h1{
  font-family:var(--h-font);
  font-size:clamp(30px,4.2vw,56px);font-weight:800;color:var(--h-fg);
  letter-spacing:-.2px;margin:0;line-height:1.05;
  filter:drop-shadow(0 3px 0 rgba(120,165,215,.35));
}
body.hype .game-sub{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
body.hype .pill{
  display:inline-flex;align-items:center;height:32px;padding:0 15px;border-radius:99px;
  font-size:13px;font-weight:800;color:var(--h-fg);
  background:var(--h-chip);border:2px solid var(--h-chip-border);
}
body.hype .pill-accent{
  color:#fff;background:hsl(212 72% 52%);
  border-color:rgba(255,255,255,.5);border-width:2px;
  text-shadow:0 1px 2px rgba(0,40,90,.35);
}

body.hype .player-frame{
  border-radius:clamp(16px,1.8vw,24px);overflow:hidden;
  background:var(--h-surface);
  border:3px solid var(--h-card-bd);
  box-shadow:0 18px 34px var(--h-shadow);
}
body.hype .player-frame iframe{width:100%;aspect-ratio:16/9;display:block;border:0;background:#000}
body.hype .player-fallback{
  height:340px;display:grid;place-content:center;text-align:center;
  gap:6px;font-size:14px;font-weight:700;color:#eaf4ff;
  background:radial-gradient(circle at 50% 30%,#2f8fd6,#0f4b86 62%,#0a3560);
}
body.hype .player-bar{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:12px 20px;background:var(--h-surface-2);
  border-top:1px solid var(--h-line);
}
body.hype .player-bar .hint{font-size:13px;font-weight:700;color:var(--h-fg-dim)}
body.hype .player-bar .actions{display:flex;gap:10px}
body.hype .player-bar .btn{
  display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 16px;
  border-radius:99px;text-decoration:none;font-size:13px;font-weight:800;
  color:var(--h-fg);background:var(--h-chip);border:2px solid var(--h-chip-border);
}

body.hype .game-layout{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,340px);
  gap:clamp(18px,2.4vw,32px);margin-top:clamp(22px,2.8vw,36px);
}
@media (max-width:900px){ body.hype .game-layout{grid-template-columns:1fr} }

body.hype .prose{
  background:var(--h-surface);border-radius:clamp(16px,1.8vw,22px);
  border:2px solid var(--h-card-bd);box-shadow:0 10px 24px var(--h-shadow-soft);
  padding:clamp(18px,2.2vw,30px);
}
body.hype .prose h2{
  font-size:clamp(18px,1.9vw,24px);font-weight:900;color:var(--h-fg);
  margin:0 0 10px;letter-spacing:-.2px;
}
body.hype .prose h2 + p{margin-top:0}
body.hype .prose p{color:var(--h-fg-dim);line-height:1.75;font-size:15px;margin:0 0 14px}
body.hype .prose ul,body.hype .prose ol{color:var(--h-fg-dim);line-height:1.8;padding-left:20px;margin:0 0 16px}
body.hype .prose a{color:var(--h-accent);font-weight:700}
body.hype .tag-chip{
  display:inline-flex;align-items:center;height:30px;padding:0 14px;margin:0 6px 8px 0;
  border-radius:99px;font-size:13px;font-weight:800;text-decoration:none;
  color:var(--h-fg);background:var(--h-chip);border:2px solid var(--h-chip-border);
}

body.hype .info-box{
  background:var(--h-surface);border-radius:clamp(14px,1.6vw,20px);
  border:2px solid var(--h-card-bd);box-shadow:0 10px 24px var(--h-shadow-soft);
  padding:clamp(16px,1.8vw,22px);
}
body.hype .info-box h3{
  margin:0 0 12px;font-size:13px;font-weight:900;letter-spacing:1.2px;
  text-transform:uppercase;color:var(--h-fg-dim);
}
body.hype .info-row{
  display:flex;justify-content:space-between;gap:12px;
  padding:9px 0;border-bottom:1px solid var(--h-line);font-size:14px;
}
body.hype .info-row:last-child{border-bottom:0}
body.hype .info-row span{color:var(--h-fg-dim);font-weight:600}
body.hype .info-row strong{color:var(--h-fg);font-weight:800;text-align:right}
body.hype .info-row strong a{color:var(--h-accent);text-decoration:none}
body.hype .side-item{
  display:flex;gap:10px;align-items:center;padding:8px;border-radius:12px;text-decoration:none;
}
body.hype .side-item:hover{background:var(--h-surface-2)}
body.hype .side-item .thumb{width:52px;height:52px;flex:none;border-radius:10px;overflow:hidden}
body.hype .side-item-text strong{display:block;font-size:14px;font-weight:800;color:var(--h-fg)}
body.hype .side-item-text span{font-size:12px;font-weight:600;color:var(--h-fg-dim)}
body.hype .section-alt{background:transparent}
body.hype .section{background:transparent}
body.hype .game-grid{display:grid;gap:clamp(10px,1.25vw,18px);grid-template-columns:repeat(6,minmax(0,1fr))}
@media (max-width:1199px){ body.hype .game-grid{grid-template-columns:repeat(4,minmax(0,1fr))} }
@media (max-width:900px){  body.hype .game-grid{grid-template-columns:repeat(3,minmax(0,1fr))} }
@media (max-width:640px){  body.hype .game-grid{grid-template-columns:repeat(2,minmax(0,1fr))} }

/* ---------- 窄屏 ---------- */
@media (max-width:900px){
  .htabs,.hsection{padding-left:24px;padding-right:24px}
  .hpad-wrap{max-width:min(620px,72vh)}
  body.hype .header-inner,
  body.hype .header-inner{height:60px;padding:0 12px 0 16px}
  body.hype .brand-name,
  body.hype .brand-name{font-size:16px;-webkit-text-stroke:1.6px var(--h-accent)}
  body.hype .main-nav,
  body.hype .main-nav{display:none}
  body.hype .nav-toggle,
  body.hype .nav-toggle{display:block}
  body.hype .search-form,
  body.hype .search-form{display:none}
  .theme-toggle{width:38px;height:38px;margin-left:auto}
  body.hype .wrap{padding:0 24px}
  body.hype .player-fallback{height:260px}
}
@media (max-width:640px){
  .htabs,.hsection{padding-left:14px;padding-right:14px}
  body.hype .wrap{padding:0 14px}
  body.hype .player-fallback{height:220px}
}

/* ============================================================
   列表页（new / trending / category / tag / search）
   ============================================================ */
.hype .page-hero{
  padding:clamp(26px,3.4vw,48px) 0 8px;
  background:none;border:0;box-shadow:none;
}
.hype .page-hero .kicker{
  font-size:12px;letter-spacing:1.6px;font-weight:800;color:var(--h-fg-dim);
  text-transform:uppercase;margin-bottom:8px;
}
.hype .page-hero h1{
  font-family:var(--h-font);font-size:clamp(28px,4vw,52px);font-weight:800;
  color:var(--h-fg);line-height:1.04;margin:0;letter-spacing:-.2px;
  filter:drop-shadow(0 3px 0 rgba(120,165,215,.35));
}
.hype .page-hero p{
  color:var(--h-fg-dim);font-size:15px;line-height:1.7;max-width:640px;margin:12px 0 0;
}
.hype .page-count{
  display:inline-flex;align-items:center;height:26px;padding:0 12px;margin-top:14px;
  border-radius:99px;font-size:12px;font-weight:800;color:var(--h-fg);
  background:var(--h-chip);border:2px solid var(--h-chip-border);
}

.hype .section{background:transparent;padding:0}
.hype .section-alt{background:transparent}
.hype .game-grid{
  display:grid;gap:clamp(10px,1.25vw,18px);
  grid-template-columns:repeat(6,minmax(0,1fr));
  padding-top:clamp(14px,2vw,24px);
}
@media (max-width:1199px){ .hype .game-grid{grid-template-columns:repeat(4,minmax(0,1fr))} }
@media (max-width:900px){  .hype .game-grid{grid-template-columns:repeat(3,minmax(0,1fr))} }
@media (max-width:640px){  .hype .game-grid{grid-template-columns:repeat(2,minmax(0,1fr))} }

.hype .pagination{
  display:flex;align-items:center;justify-content:center;gap:10px;
  padding:clamp(22px,3vw,38px) 0 clamp(30px,4vw,52px);
}
.hype .pagination a,.hype .pagination span{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:42px;height:42px;padding:0 14px;border-radius:99px;
  font-family:var(--h-font);font-size:15px;font-weight:800;text-decoration:none;
  color:var(--h-fg);background:var(--h-chip);border:2px solid var(--h-chip-border);
  box-shadow:0 4px 10px var(--h-shadow-soft);
}
.hype .pagination a:hover{transform:translateY(-2px)}
.hype .pagination .is-current{
  color:#fff;background:var(--h-tab-on);box-shadow:var(--h-tab-on-shadow);
}

.hype .empty{
  margin-top:clamp(18px,3vw,30px);padding:clamp(24px,4vw,44px);
  text-align:center;border-radius:20px;
  background:var(--h-surface);border:2px dashed var(--h-chip-border);
  color:var(--h-fg-dim);font-size:14px;
}
.hype .empty strong{display:block;font-family:var(--h-font);font-size:18px;color:var(--h-fg);margin-bottom:6px}

/* ============================================================
   静态页（about / privacy / terms / contact）
   ============================================================ */
.hype .static-page{
  max-width:820px;margin:clamp(24px,3.4vw,44px) auto clamp(40px,5vw,72px);
  padding:clamp(24px,3.4vw,44px);
  background:var(--h-surface);border-radius:clamp(16px,1.8vw,24px);
  border:2px solid var(--h-card-bd);box-shadow:0 14px 30px var(--h-shadow-soft);
  color:var(--h-fg-dim);line-height:1.78;font-size:15px;
}
.hype .static-page h1{
  font-family:var(--h-font);font-size:clamp(26px,3.4vw,40px);font-weight:800;
  color:var(--h-fg);margin:0 0 14px;line-height:1.1;
}
.hype .static-page h2{
  font-family:var(--h-font);font-size:clamp(17px,1.8vw,21px);font-weight:800;
  color:var(--h-fg);margin:26px 0 8px;
}
.hype .static-page p{margin:0 0 12px}
.hype .static-page ul{padding-left:20px;margin:0 0 14px}
.hype .static-page a{color:var(--h-accent);font-weight:700}

/* ============================================================
   列表页 / 详情页 长文区块
   ============================================================ */
.hype .hype-intro{padding:clamp(12px,2vw,22px) 0 clamp(34px,4.4vw,64px)}
.hype .intro-card{
  max-width:960px;
  background:var(--h-surface);
  border:2px solid var(--h-card-bd);
  border-radius:clamp(16px,1.8vw,22px);
  box-shadow:0 12px 26px var(--h-shadow-soft);
  padding:clamp(20px,2.6vw,36px);
}
.hype .intro-card h2{
  font-family:var(--h-font);font-size:clamp(20px,2.2vw,28px);font-weight:800;
  color:var(--h-fg);margin:0 0 12px;line-height:1.15;
}
.hype .intro-card p{
  color:var(--h-fg-dim);font-size:15px;line-height:1.78;
  max-width:74ch;margin:0 0 12px;
}
.hype .intro-card h3{
  font-family:var(--h-font);font-size:clamp(15px,1.6vw,18px);font-weight:800;
  color:var(--h-fg);margin:22px 0 8px;
}
.hype .intro-card ul{
  color:var(--h-fg-dim);font-size:14.5px;line-height:1.8;
  padding-left:20px;margin:0;
}
.hype .prose h3{
  font-family:var(--h-font);font-size:clamp(15px,1.6vw,18px);font-weight:800;
  color:var(--h-fg);margin:20px 0 8px;
}

/* 详情页补丁：侧栏条目不沿用旧深色底，正文限制行长 */
.hype .side-item{background:transparent;border:0}
.hype .side-item:hover{background:var(--h-surface-2)}
.hype .side-item-text strong{color:var(--h-fg)}
.hype .side-item-text span{color:var(--h-fg-dim)}
.hype .prose p,.hype .prose li{max-width:74ch}
.hype .intro-card{margin-left:auto;margin-right:auto}

/* 内容不足时让页脚贴底 */
body.hype{min-height:100vh;display:flex;flex-direction:column}
body.hype main{flex:1 0 auto}

/* tag 胶囊在亮色下需要更明确的白底与边线 */
.hype .tag-chip{
  background:var(--h-surface);
  border:2px solid var(--h-line);
  color:var(--h-fg);
  box-shadow:0 2px 6px var(--h-shadow-soft);
}
.hype .tag-chip:hover{border-color:var(--h-accent);color:var(--h-accent)}

/* 分类页 FAQ */
.hype .faq-list{margin-top:6px}
.hype .faq-item{
  padding:14px 0;border-bottom:1px solid var(--h-line);
}
.hype .faq-item:last-child{border-bottom:0;padding-bottom:0}
.hype .faq-item h4{
  font-family:var(--h-font);font-size:15px;font-weight:800;
  color:var(--h-fg);margin:0 0 6px;line-height:1.35;
}
.hype .faq-item p{
  color:var(--h-fg-dim);font-size:14.5px;line-height:1.72;
  max-width:72ch;margin:0;
}

/* ============================================================
   Journal（博客）
   ============================================================ */
.hype .blog-hero{max-width:1320px;margin:0 auto;padding:clamp(34px,5vw,66px) 40px clamp(8px,1.4vw,16px)}
.hype .blog-h1{
  font-family:var(--h-font);font-size:clamp(30px,4.6vw,52px);line-height:1.08;
  font-weight:800;color:#fff;margin:8px 0 0;
  text-shadow:0 .06em 0 rgba(42,108,173,.85),0 .14em .3em rgba(14,48,90,.28);
  -webkit-text-stroke:1.5px rgba(47,111,179,.55);
  paint-order:stroke fill;
}
.hype .blog-sub{
  max-width:64ch;margin-top:14px;color:var(--h-fg);font-size:clamp(14px,1.15vw,16px);
  line-height:1.66;opacity:.86;
}
.hype .blog-section{max-width:1320px;margin:0 auto;padding:clamp(18px,2.4vw,30px) 40px clamp(30px,4vw,56px)}
.hype .post-list{display:grid;gap:clamp(12px,1.4vw,18px)}

.hype .post-card{
  display:grid;grid-template-columns:clamp(180px,22vw,280px) 1fr;
  background:var(--h-surface);border-radius:26px;overflow:hidden;text-decoration:none;
  box-shadow:0 4px 0 rgba(150,180,222,.42),0 12px 22px var(--h-shadow-soft);
  transition:transform .16s ease,box-shadow .16s ease;
}
.hype .post-card:hover{
  transform:translateY(-3px);
  box-shadow:0 7px 0 rgba(150,180,222,.42),0 18px 28px var(--h-shadow);
}
.hype .pc-cover{position:relative;min-height:100%;background:var(--h-surface-2);overflow:hidden}
.hype .pc-cover img{width:100%;height:100%;object-fit:cover;display:block}
.hype .pc-cover-gen{
  display:flex;align-items:flex-end;padding:16px;
  background:linear-gradient(150deg,hsl(var(--h) 82% 68%),hsl(calc(var(--h) + 42) 88% 78%));
}
.hype .pc-kicker{
  font-family:var(--h-font);font-size:11px;font-weight:800;letter-spacing:1.4px;
  text-transform:uppercase;color:#fff;text-shadow:0 1px 0 rgba(0,0,0,.18);
}
.hype .pc-body{padding:clamp(16px,1.8vw,26px) clamp(18px,2vw,30px);display:flex;flex-direction:column;gap:8px;min-width:0}
.hype .pc-meta{display:flex;align-items:center;gap:8px;font-size:12.5px;color:var(--h-fg-dim);font-weight:700}
.hype .pc-dot{width:4px;height:4px;border-radius:50%;background:var(--h-fg-dim);opacity:.6}
.hype .pc-title{
  font-family:var(--h-font);font-size:clamp(17px,1.6vw,24px);line-height:1.22;font-weight:800;
  color:var(--h-fg);margin:0;
}
.hype .pc-excerpt{
  color:var(--h-fg-dim);font-size:14px;line-height:1.62;margin:0;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.hype .pc-more{
  display:inline-flex;align-items:center;gap:6px;margin-top:auto;padding-top:6px;
  font-family:var(--h-font);font-size:13px;font-weight:800;color:var(--h-accent);
}
.hype .pc-more .ico{stroke:var(--h-accent)}

/* 文章详情 */
.hype .post-page{max-width:820px;margin:0 auto;padding:clamp(26px,4vw,48px) 0 clamp(30px,4vw,50px)}
.hype .post-crumbs{display:flex;gap:8px;align-items:center;font-size:13px;font-weight:700;color:var(--h-fg-dim);margin-bottom:18px}
.hype .post-crumbs a{color:var(--h-accent);text-decoration:none}
.hype .post-crumbs a:hover{text-decoration:underline}
.hype .post-head{margin-bottom:clamp(18px,2.4vw,28px)}
.hype .post-h1{
  font-family:var(--h-font);font-weight:800;color:var(--h-fg);
  font-size:clamp(26px,3.5vw,40px);line-height:1.16;margin:8px 0 0;
}
.hype .post-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:14px;font-size:13px;color:var(--h-fg-dim);font-weight:700}
.hype .post-h2{font-family:var(--h-font);font-size:clamp(18px,2vw,24px);font-weight:800;color:var(--h-fg);margin:34px 0 14px}

.hype .post-body{
  background:var(--h-surface);border-radius:26px;
  padding:clamp(22px,3vw,40px) clamp(22px,3.4vw,44px);
  box-shadow:0 4px 0 rgba(150,180,222,.4),0 12px 24px var(--h-shadow-soft);
  color:var(--h-fg);font-size:16px;line-height:1.78;
}
.hype .post-body > *{max-width:68ch}
.hype .post-body p{margin:0 0 18px;color:var(--h-fg)}
.hype .post-body h2{
  font-family:var(--h-font);font-size:clamp(19px,2.1vw,25px);font-weight:800;
  margin:34px 0 12px;line-height:1.24;color:var(--h-fg);
}
.hype .post-body h2::before{content:'';display:block;width:38px;height:4px;border-radius:99px;background:var(--h-tab-on);margin-bottom:12px}
.hype .post-body h3{font-family:var(--h-font);font-size:18px;font-weight:800;margin:26px 0 10px}
.hype .post-body a{color:var(--h-accent);text-decoration:none;font-weight:700;border-bottom:2px solid rgba(47,111,179,.28)}
.hype .post-body a:hover{border-bottom-color:var(--h-accent)}
.hype .post-body ul,.hype .post-body ol{margin:0 0 18px;padding-left:22px}
.hype .post-body li{margin-bottom:8px;line-height:1.7}
.hype .post-body strong{font-weight:800}
.hype .post-body blockquote{
  margin:0 0 20px;padding:14px 20px;border-left:4px solid var(--h-accent);
  background:var(--h-surface-2);border-radius:0 16px 16px 0;color:var(--h-fg-dim);
}
.hype .post-body blockquote p:last-child{margin-bottom:0}
.hype .post-body code{
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.88em;
  background:var(--h-surface-2);border-radius:6px;padding:1px 6px;
}
.hype .post-body pre{
  background:var(--h-surface-2);border-radius:16px;padding:16px 18px;overflow-x:auto;margin:0 0 20px;
}
.hype .post-body pre code{background:none;padding:0}
.hype .post-body img{width:100%;height:auto;border-radius:18px;margin:0 0 20px;display:block}
.hype .post-body hr{border:0;height:1px;background:var(--h-line);margin:28px 0}

.hype .post-games{margin-top:clamp(24px,3vw,38px)}
.hype .post-foot{margin-top:32px;padding-top:22px;border-top:1px solid var(--h-line)}
.hype .post-tags{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:22px}
.hype .tag-capsule{
  font-family:var(--h-font);font-size:12px;font-weight:800;letter-spacing:.3px;
  padding:6px 13px;border-radius:99px;background:var(--h-surface);color:var(--h-fg-dim);
  box-shadow:0 2px 0 rgba(150,180,222,.45);
}
.hype .post-nav{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.hype .pn-link{
  display:block;padding:16px 18px;border-radius:20px;background:var(--h-surface);
  box-shadow:0 3px 0 rgba(150,180,222,.42),0 8px 16px var(--h-shadow-soft);
  text-decoration:none;
}
.hype .pn-link span{display:block;font-size:11px;letter-spacing:1.2px;text-transform:uppercase;font-weight:800;color:var(--h-fg-dim);margin-bottom:6px}
.hype .pn-link strong{display:block;font-family:var(--h-font);font-size:15px;font-weight:800;color:var(--h-fg);line-height:1.3}
.hype .pn-next{text-align:right}

@media (max-width:900px){
  .hype .blog-hero,.hype .blog-section,.hype .hsection{padding-left:22px;padding-right:22px}
  .hype .post-card{grid-template-columns:1fr}
  .hype .pc-cover{min-height:150px;max-height:170px}
  .hype .post-nav{grid-template-columns:1fr}
  .hype .pn-next{text-align:left}
}

/* 博客卡片装饰与可读性修正 */
.hype .pc-cover-gen{position:relative;overflow:hidden}
.hype .pc-mark{
  position:absolute;right:10px;top:-14px;
  font-family:var(--h-font);font-size:120px;line-height:1;font-weight:800;
  color:rgba(255,255,255,.32);user-select:none;pointer-events:none;
}
.hype .pc-cover-gen .pc-kicker{position:relative;z-index:2}
.hype .post-crumbs{color:var(--h-fg)}
.hype .post-head .kicker{
  display:inline-flex;align-items:center;
  padding:5px 13px;border-radius:99px;background:var(--h-surface);
  box-shadow:0 2px 0 rgba(150,180,222,.5);
  font-size:11px;letter-spacing:1.4px;color:#2f6fb3;
}
.hype .post-meta{color:var(--h-fg);opacity:.92}
.hype .post-meta .pc-dot{background:var(--h-fg)}

/* 封面字母居中、封面栏收窄 */
.hype .post-card{grid-template-columns:clamp(170px,18vw,240px) 1fr}
.hype .pc-mark{
  right:16px;top:50%;transform:translateY(-50%);
  font-size:clamp(72px,7vw,104px);
  color:rgba(255,255,255,.30);
}

/* 窄屏：博客卡片改上下排布（后置覆盖，避免被上面的两列规则盖住） */
@media (max-width:900px){
  .hype .post-card{grid-template-columns:1fr}
  .hype .pc-cover{min-height:150px;max-height:170px}
  .hype .pc-mark{right:auto;left:14px;top:auto;bottom:-8px;transform:none;font-size:86px}
  .hype .pc-kicker{align-self:flex-end}
}

@media (max-width:900px){
  .hype .pc-cover{min-height:128px;max-height:146px}
  .hype .pc-mark{left:auto;right:14px;top:-10px;bottom:auto;transform:none;font-size:78px}
}

/* ---------- 页脚呼吸感修正 ---------- */
body.hype .site-footer{margin-top:clamp(36px,5vw,64px)}
body.hype .footer-inner{
  padding-top:clamp(46px,5.4vw,72px);
  padding-bottom:clamp(30px,3.6vw,44px);
  gap:clamp(24px,3vw,46px);
}
body.hype .footer-col h4{margin-bottom:16px}
body.hype .footer-col a{padding:6px 0;line-height:1.5}
body.hype .footer-note{margin-top:16px;line-height:1.7}
body.hype .footer-bottom{padding-top:22px;padding-bottom:clamp(26px,3vw,36px)}
