/* 成品25 · glass-house · 温室花房 */
.tw-body[data-skin="glass-house"]{
  --gh-max:1180px;
  --gh-mist:#e8f5ee;
  --gh-panel:#ffffff;
  --gh-ink:#14352a;
  --gh-muted:#5a7468;
  --gh-rose:#e85d8a;
  --gh-leaf:#2f9e6a;
  --gh-citrus:#e8a317;
  --gh-sky:#3b9fd8;
  --gh-vine:#7c5cbf;
  --gh-line:rgba(20,53,42,.12);
  background:
    radial-gradient(ellipse 70% 45% at 8% 0%,rgba(232,93,138,.12),transparent 55%),
    radial-gradient(ellipse 60% 40% at 92% 8%,rgba(59,159,216,.12),transparent 50%),
    radial-gradient(ellipse 50% 35% at 50% 100%,rgba(47,158,106,.1),transparent 55%),
    linear-gradient(180deg,#f4fbf7 0%,var(--gh-mist) 40%,#dff0e6 100%)!important;
  color:var(--gh-ink);
  font-family:"Noto Sans SC","Fraunces",system-ui,sans-serif;
  min-height:100vh;
  margin:0;
  display:flex!important;flex-direction:column!important;
}
/* align-fix:shell */
.tw-body[data-skin="glass-house"] *,
.tw-body[data-skin="glass-house"] *::before,
.tw-body[data-skin="glass-house"] *::after{box-sizing:border-box}
.tw-body[data-skin="glass-house"] a{color:var(--gh-leaf);text-decoration:none}
.tw-body[data-skin="glass-house"] img{max-width:100%;display:block}
.tw-body[data-skin="glass-house"] .tw-main,
.tw-body[data-skin="glass-house"] .gh-main{
  max-width:var(--gh-max);margin:0 auto;padding:18px 16px 52px;width:100%;flex:1;
}

/* 花粉呼吸斜飘（非上浮星点） */
.gh-pollen{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:0}
.gh-pollen i{
  position:absolute;left:var(--ax);top:var(--ay);
  width:var(--as);height:var(--as);border-radius:50%;
  background:rgba(var(--c),.75);
  box-shadow:0 0 10px rgba(var(--c),.35);
  animation:gh-drift var(--ad) ease-in-out var(--adelay) infinite;
  opacity:0;
}
@keyframes gh-drift{
  0%{transform:translate3d(0,0,0) scale(.7);opacity:0}
  18%{opacity:var(--ao,.7)}
  50%{opacity:calc(var(--ao,.7)*.55);transform:translate3d(var(--dx),var(--dy),0) scale(1)}
  100%{transform:translate3d(calc(var(--dx)*1.6),calc(var(--dy)*1.6),0) scale(.85);opacity:0}
}
@media (prefers-reduced-motion:reduce){
  .gh-pollen i{animation:none;opacity:.4}
}

/* 顶栏：玻璃脊 + 六角标 */
.gh-head{
  position:sticky;top:0;z-index:40;
  background:rgba(255,255,255,.86);backdrop-filter:blur(14px) saturate(1.15);
  border-bottom:1px solid var(--gh-line);
}
.gh-head__ridge{
  display:grid;grid-template-columns:repeat(5,1fr);height:5px;
}
.gh-head__ridge span:nth-child(1){background:var(--gh-rose)}
.gh-head__ridge span:nth-child(2){background:var(--gh-leaf)}
.gh-head__ridge span:nth-child(3){background:var(--gh-citrus)}
.gh-head__ridge span:nth-child(4){background:var(--gh-sky)}
.gh-head__ridge span:nth-child(5){background:var(--gh-vine)}
.gh-head__shell{max-width:var(--gh-max);margin:0 auto;padding:0 16px}
.gh-head__bar{
  display:grid;grid-template-columns:auto 1fr auto;
  align-items:center;gap:12px 18px;padding:12px 0 8px;
}
.gh-brand{display:inline-flex;align-items:center;gap:12px;color:inherit!important;text-decoration:none!important;width:fit-content}
.gh-brand__mark{
  width:46px;height:46px;clip-path:polygon(50% 0%,93% 25%,93% 75%,50% 100%,7% 75%,7% 25%);
  display:grid;place-items:center;
  font-family:"Fraunces","Noto Sans SC",serif;font-weight:800;font-size:1.05rem;color:#fff;
  background:linear-gradient(145deg,var(--gh-leaf),var(--gh-sky));
  box-shadow:0 6px 18px rgba(47,158,106,.28);
}
.gh-brand__text{display:flex;flex-direction:column;line-height:1.15}
.gh-brand__text strong{
  font-family:"Fraunces","Noto Sans SC",serif;
  font-size:1.35rem;font-weight:800;color:var(--gh-ink);letter-spacing:.02em;
}
.gh-brand__text small{font-size:.72rem;color:var(--gh-muted);font-weight:700}
.gh-search{
  display:flex;align-items:stretch;max-width:440px;width:100%;justify-self:center;
  background:#fff;border:1.5px solid rgba(47,158,106,.35);
  border-radius:14px 14px 18px 18px;overflow:hidden;
  box-shadow:0 8px 20px rgba(20,53,42,.06);
}
.gh-search input{
  flex:1;border:0;outline:0;padding:11px 14px;background:transparent;
  font:inherit;min-width:0;color:var(--gh-ink);
}
.gh-search input::placeholder{color:#8aa396}
.gh-search button{
  border:0;padding:11px 16px;font-weight:800;cursor:pointer;
  background:linear-gradient(135deg,var(--gh-rose),var(--gh-vine));
  color:#fff;font-family:"Noto Sans SC",sans-serif;letter-spacing:.04em;
}
.gh-toggle{
  width:44px;height:44px;border-radius:12px;border:1.5px solid rgba(47,158,106,.35);
  background:#fff;display:none;flex-direction:column;align-items:center;justify-content:center;gap:5px;
}
.gh-toggle span{display:block;width:16px;height:2px;background:var(--gh-leaf);border-radius:2px}
.gh-nav{
  display:flex;flex-wrap:wrap;gap:6px;padding:4px 0 12px;
  border-top:1px dashed rgba(47,158,106,.22);
}
.gh-nav a{
  text-decoration:none!important;color:var(--gh-muted)!important;font-weight:700;
  padding:8px 14px;font-size:.88rem;border-radius:999px;
  border:1px solid transparent;
}
.gh-nav a:hover,.gh-nav a[aria-current="page"]{
  color:#fff!important;background:var(--gh-leaf)!important;border-color:var(--gh-leaf)!important;
}
@media (max-width:820px){
  .gh-head__bar{grid-template-columns:1fr auto}
  .gh-search{grid-column:1/-1;max-width:none;justify-self:stretch;order:3}
  .gh-toggle{display:flex}
  .gh-nav{display:none}
  .gh-nav.open{
    display:flex;flex-direction:column;background:#fff;
    border:1px solid rgba(47,158,106,.25);margin:0 0 10px;border-radius:16px;padding:8px;
  }
}

/* 首屏：拱顶花窗（非圆窗/非时刻表） */
.gh-hero{
  position:relative;z-index:1;margin:0 0 22px;
  display:grid;grid-template-columns:minmax(0,1.15fr) minmax(200px,280px);
  gap:22px;align-items:center;
  padding:6px 0 4px;
}
.gh-hero__copy{min-width:0}
.gh-hero__kicker{
  display:inline-flex;align-items:center;gap:8px;margin:0 0 12px;
  font-size:.78rem;font-weight:800;letter-spacing:.14em;
  color:var(--gh-leaf);font-family:"Fraunces",serif;
}
.gh-hero__kicker::before{
  content:"";width:18px;height:18px;border-radius:50% 50% 50% 0;
  background:linear-gradient(135deg,var(--gh-rose),var(--gh-citrus));
  transform:rotate(-45deg);
}
.gh-hero h1{
  margin:0 0 12px;font-family:"Fraunces","Noto Sans SC",serif;
  font-size:clamp(2.5rem,6vw,3.6rem);line-height:1;font-weight:800;
  color:var(--gh-ink);
}
.gh-hero__desc{margin:0 0 18px;color:var(--gh-muted);line-height:1.75;max-width:34em;font-size:.95rem}
.gh-hero__cta{display:flex;flex-wrap:wrap;gap:10px}
.gh-btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:12px 20px;border-radius:999px;font-weight:800;text-decoration:none!important;
  font-size:.95rem;min-height:44px;
}
.gh-btn--hot{
  background:linear-gradient(135deg,var(--gh-leaf),var(--gh-sky));
  color:#fff!important;border:0;box-shadow:0 10px 24px rgba(47,158,106,.28);
}
.gh-btn--ghost{
  background:#fff;color:var(--gh-vine)!important;
  border:1.5px solid rgba(124,92,191,.4);
}
.gh-hero__arbor{
  position:relative;width:100%;max-width:260px;margin:0 auto;
  aspect-ratio:1/1;
}
.gh-hero__arbor::before{
  content:"";position:absolute;inset:0;
  border-radius:50% 50% 18px 18px / 42% 42% 18px 18px;
  background:linear-gradient(180deg,var(--gh-rose),var(--gh-leaf),var(--gh-sky),var(--gh-vine),var(--gh-citrus));
  padding:4px;
  -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;
  pointer-events:none;z-index:2;
}
.gh-hero__arbor a{
  display:block;position:absolute;inset:8px;overflow:hidden;text-decoration:none!important;
  border-radius:50% 50% 14px 14px / 40% 40% 14px 14px;
  background:#0f2a20;box-shadow:inset 0 0 40px rgba(20,53,42,.25);
}
.gh-hero__arbor img{
  width:100%!important;height:100%!important;max-width:none!important;
  object-fit:cover!important;object-position:center 15%!important;
}
.gh-hero__badge{
  position:absolute;left:50%;bottom:10px;transform:translateX(-50%);z-index:3;
  max-width:calc(100% - 24px);
  padding:7px 12px;border-radius:999px;white-space:nowrap;
  background:rgba(255,255,255,.94);border:1px solid rgba(47,158,106,.35);
  color:var(--gh-ink);font-weight:800;font-size:.78rem;
  display:flex;gap:8px;align-items:baseline;justify-content:center;
  box-shadow:0 8px 20px rgba(20,53,42,.12);
}
.gh-hero__badge em{font-style:normal;color:var(--gh-rose);font-family:"Fraunces",serif;font-size:.72rem;letter-spacing:.06em}
@media (max-width:900px){
  .gh-hero{grid-template-columns:1fr;gap:14px}
  .gh-hero__arbor{max-width:200px}
}

/* 快捷栏目：花圃瓷砖 */
.tw-body[data-skin="glass-house"] .tw-channels{margin:0 0 26px;position:relative;z-index:1}
.tw-body[data-skin="glass-house"] .tw-channels__grid,
.tw-body[data-skin="glass-house"] .category-tile{
  /* grid set below */
}
.tw-body[data-skin="glass-house"] .tw-channels__grid{
  display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;
}
.tw-body[data-skin="glass-house"] .category-tile{
  display:flex!important;flex-direction:column;gap:6px;
  padding:14px 14px 16px!important;border-radius:18px!important;
  background:rgba(255,255,255,.92)!important;
  border:1px solid var(--gh-line)!important;
  border-top:4px solid var(--gh-leaf)!important;
  box-shadow:0 8px 18px rgba(20,53,42,.05)!important;
  color:inherit!important;text-decoration:none!important;
  min-height:0;
}
.tw-body[data-skin="glass-house"] .category-tile:nth-child(5n+2){border-top-color:var(--gh-rose)!important}
.tw-body[data-skin="glass-house"] .category-tile:nth-child(5n+3){border-top-color:var(--gh-citrus)!important}
.tw-body[data-skin="glass-house"] .category-tile:nth-child(5n+4){border-top-color:var(--gh-sky)!important}
.tw-body[data-skin="glass-house"] .category-tile:nth-child(5n+5){border-top-color:var(--gh-vine)!important}
.tw-body[data-skin="glass-house"] .category-tile strong{
  font-family:"Fraunces","Noto Sans SC",serif;font-size:.95rem;color:var(--gh-ink);
}
.tw-body[data-skin="glass-house"] .category-tile span{
  font-size:.72rem;color:var(--gh-muted);line-height:1.45;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
@media (max-width:1100px){
  .tw-body[data-skin="glass-house"] .tw-channels__grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media (max-width:640px){
  .tw-body[data-skin="glass-house"] .tw-channels__grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* 分区头 */
.tw-body[data-skin="glass-house"] .tw-zone{margin:0 0 28px;position:relative;z-index:1}
.tw-body[data-skin="glass-house"] .tw-zone__head{
  display:flex!important;align-items:center;justify-content:space-between;gap:12px;
  margin:0 0 14px!important;padding:0 0 12px!important;
  border-bottom:1px dashed rgba(47,158,106,.28)!important;
  background:none!important;
}
.tw-body[data-skin="glass-house"] .tw-zone__title{
  display:flex;align-items:center;flex-wrap:wrap;gap:8px 10px;
}
.tw-body[data-skin="glass-house"] .tw-zone__title h2{
  margin:0!important;font-family:"Fraunces","Noto Sans SC",serif;
  font-size:1.35rem!important;color:var(--gh-ink)!important;
}
.tw-body[data-skin="glass-house"] .tw-chip{
  display:inline-flex;align-items:center;padding:4px 10px;border-radius:999px;
  font-size:.68rem;font-weight:800;letter-spacing:.06em;
  background:rgba(47,158,106,.12);color:var(--gh-leaf);border:1px solid rgba(47,158,106,.25);
}
.tw-body[data-skin="glass-house"] .tw-chip--hot{
  background:rgba(232,93,138,.12);color:var(--gh-rose);border-color:rgba(232,93,138,.3);
}
.tw-body[data-skin="glass-house"] .tw-more{
  color:var(--gh-sky)!important;font-weight:800;font-size:.88rem;text-decoration:none!important;
}

/* 卡片网格 */
.tw-body[data-skin="glass-house"] .tw-rail,
.tw-body[data-skin="glass-house"] .tw-grid,
.tw-body[data-skin="glass-house"] .tw-grid--4,
.tw-body[data-skin="glass-house"] .tw-grid--3,
.tw-body[data-skin="glass-house"] .tw-cat-grid,
.tw-body[data-skin="glass-house"] .movie-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:14px!important;
  grid-auto-flow:row!important;
  overflow:visible!important;
}
@media (max-width:1100px){
  .tw-body[data-skin="glass-house"] .tw-rail,
  .tw-body[data-skin="glass-house"] .tw-grid,
  .tw-body[data-skin="glass-house"] .tw-grid--4,
  .tw-body[data-skin="glass-house"] .tw-grid--3,
  .tw-body[data-skin="glass-house"] .tw-cat-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}
@media (max-width:820px){
  .tw-body[data-skin="glass-house"] .tw-rail,
  .tw-body[data-skin="glass-house"] .tw-grid,
  .tw-body[data-skin="glass-house"] .tw-grid--4,
  .tw-body[data-skin="glass-house"] .tw-grid--3,
  .tw-body[data-skin="glass-house"] .tw-cat-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;
  }
}

/* 5:4 拱顶卡 + 五彩玻璃顶条 */
.tw-body[data-skin="glass-house"] .tw-card{
  background:#fff!important;border:1px solid var(--gh-line)!important;
  border-radius:22px 22px 16px 16px!important;overflow:hidden;
  box-shadow:0 10px 24px rgba(20,53,42,.07)!important;
  transition:transform .2s ease,box-shadow .2s ease;
  display:flex!important;flex-direction:column;
}
.tw-body[data-skin="glass-house"] .tw-card:hover{
  transform:translateY(-4px);
  box-shadow:0 16px 32px rgba(47,158,106,.16)!important;
}
.tw-body[data-skin="glass-house"] .tw-card__link{
  display:flex!important;flex-direction:column!important;color:inherit!important;text-decoration:none!important;flex:1;
}
.tw-body[data-skin="glass-house"] .tw-card__thumb{
  position:relative!important;aspect-ratio:5/4!important;
  border-radius:0!important;overflow:hidden!important;
  background:linear-gradient(160deg,#d1fae5,#ecfdf5)!important;
}
.tw-body[data-skin="glass-house"] .tw-card__thumb::before{
  content:"";position:absolute;left:0;right:0;top:0;height:5px;z-index:3;
  background:var(--gh-rose);
}
.tw-body[data-skin="glass-house"] .tw-card:nth-child(5n+2) .tw-card__thumb::before{background:var(--gh-leaf)}
.tw-body[data-skin="glass-house"] .tw-card:nth-child(5n+3) .tw-card__thumb::before{background:var(--gh-citrus)}
.tw-body[data-skin="glass-house"] .tw-card:nth-child(5n+4) .tw-card__thumb::before{background:var(--gh-sky)}
.tw-body[data-skin="glass-house"] .tw-card:nth-child(5n+5) .tw-card__thumb::before{background:var(--gh-vine)}
.tw-body[data-skin="glass-house"] .tw-card__thumb img{
  position:absolute!important;inset:0!important;
  width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;
  object-fit:cover!important;object-position:center 12%!important;
  aspect-ratio:auto!important;
}
.tw-body[data-skin="glass-house"] .tw-card__badge{
  position:absolute;left:10px;top:12px;z-index:4;
  padding:4px 9px;border-radius:999px;font-size:.66rem;font-weight:800;
  background:rgba(255,255,255,.92)!important;color:var(--gh-leaf)!important;
  border:1px solid rgba(47,158,106,.3)!important;
}
.tw-body[data-skin="glass-house"] .tw-card__overlay{
  position:relative!important;inset:auto!important;
  background:#fff!important;padding:10px 12px 12px!important;
  display:flex!important;flex-direction:column!important;gap:4px;
  opacity:1!important;transform:none!important;
}
.tw-body[data-skin="glass-house"] .tw-card__title{
  margin:0!important;font-size:.9rem!important;line-height:1.35!important;
  color:var(--gh-ink)!important;font-weight:800!important;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.tw-body[data-skin="glass-house"] .tw-card__meta{
  margin:0!important;display:flex;flex-wrap:wrap;gap:5px;
  font-size:.68rem!important;color:var(--gh-muted)!important;
}
.tw-body[data-skin="glass-house"] .tw-card__meta span{
  padding:2px 7px;border-radius:999px;
  background:rgba(47,158,106,.08);border:1px solid rgba(47,158,106,.18);
}
.tw-body[data-skin="glass-house"] .tw-card__play{
  display:none!important;
}

/* 分类页：藤架导览 + 顶栏筛选 */
.gh-catmap{margin:0 0 24px;position:relative;z-index:1}
.gh-catmap__head{
  margin:0 0 16px;padding:22px 20px;border-radius:24px;
  background:
    linear-gradient(135deg,rgba(232,93,138,.1),transparent 40%),
    linear-gradient(225deg,rgba(59,159,216,.1),transparent 45%),
    #fff;
  border:1px solid var(--gh-line);
  box-shadow:0 12px 28px rgba(20,53,42,.06);
}
.gh-catmap__kicker{
  margin:0 0 8px;font-size:.75rem;font-weight:800;letter-spacing:.14em;
  color:var(--gh-vine);font-family:"Fraunces",serif;
}
.gh-catmap__head h1{
  margin:0 0 8px;font-family:"Fraunces","Noto Sans SC",serif;
  font-size:clamp(1.8rem,4vw,2.4rem);color:var(--gh-ink);
}
.gh-catmap__desc{margin:0;color:var(--gh-muted);line-height:1.65;max-width:40em}
.tw-body[data-skin="glass-house"] .category-grid.large,
.tw-body[data-skin="glass-house"] .gh-catmap .category-grid{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;
}
.tw-body[data-skin="glass-house"] .overview-card{
  display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;
  align-items:center!important;gap:12px 14px!important;
  padding:16px!important;border-radius:18px!important;
  background:#fff!important;border:1px solid var(--gh-line)!important;
  border-left:5px solid var(--gh-leaf)!important;
  text-decoration:none!important;color:inherit!important;
  box-shadow:0 8px 18px rgba(20,53,42,.05)!important;
}
.tw-body[data-skin="glass-house"] .overview-card:nth-child(5n+2){border-left-color:var(--gh-rose)!important}
.tw-body[data-skin="glass-house"] .overview-card:nth-child(5n+3){border-left-color:var(--gh-citrus)!important}
.tw-body[data-skin="glass-house"] .overview-card:nth-child(5n+4){border-left-color:var(--gh-sky)!important}
.tw-body[data-skin="glass-house"] .overview-card:nth-child(5n+5){border-left-color:var(--gh-vine)!important}
.tw-body[data-skin="glass-house"] .overview-code{
  width:40px;height:40px;border-radius:12px;display:grid;place-items:center;
  font-family:"Fraunces",serif;font-weight:800;font-size:.85rem;color:#fff;
  background:linear-gradient(135deg,var(--gh-leaf),var(--gh-sky));
}
.tw-body[data-skin="glass-house"] .overview-main strong{
  display:block;font-family:"Fraunces","Noto Sans SC",serif;font-size:1.05rem;color:var(--gh-ink);
}
.tw-body[data-skin="glass-house"] .overview-main span{font-size:.78rem;color:var(--gh-muted);line-height:1.45}
.tw-body[data-skin="glass-house"] .overview-links{
  display:flex;flex-direction:column;align-items:flex-end;gap:4px;
  font-size:.75rem;font-weight:800;color:var(--gh-leaf);
}

/* 栏目页：筛选改顶栏花带 */
.tw-body[data-skin="glass-house"] .tw-cat-head{
  margin:0 0 16px;padding:18px 18px 16px;border-radius:20px;
  background:#fff;border:1px solid var(--gh-line);
}
.tw-body[data-skin="glass-house"] .tw-cat-head h1{
  margin:8px 0;font-family:"Fraunces","Noto Sans SC",serif;font-size:1.8rem;color:var(--gh-ink);
}
.tw-body[data-skin="glass-house"] .tw-cat-head__desc{margin:0;color:var(--gh-muted);line-height:1.6}
.tw-body[data-skin="glass-house"] .tw-crumb{display:flex;flex-wrap:wrap;gap:6px;align-items:center;font-size:.8rem;color:var(--gh-muted)}
.tw-body[data-skin="glass-house"] .tw-crumb a{color:var(--gh-leaf)!important;font-weight:700}
.tw-body[data-skin="glass-house"] .tw-cat-layout{
  display:flex!important;flex-direction:column!important;
  align-items:stretch!important;gap:14px!important;
  width:100%!important;grid-template-columns:none!important;
}
.tw-body[data-skin="glass-house"] .tw-cat-sidebar{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;padding:14px!important;border-radius:18px!important;
  background:#fff!important;border:1px solid var(--gh-line)!important;
  position:relative!important;top:auto!important;width:100%!important;
}
.tw-body[data-skin="glass-house"] .tw-cat-sidebar__block{margin:0!important}
.tw-body[data-skin="glass-house"] .tw-cat-sidebar__label{
  display:block;margin:0 0 6px;font-size:.72rem;font-weight:800;color:var(--gh-muted);letter-spacing:.04em;
}
.tw-body[data-skin="glass-house"] .tw-cat-sidebar input,
.tw-body[data-skin="glass-house"] .tw-cat-sidebar select{
  width:100%;padding:10px 12px;border-radius:12px;
  border:1.5px solid rgba(47,158,106,.28);background:#f7fbf8;font:inherit;color:var(--gh-ink);
}
.tw-body[data-skin="glass-house"] .tw-cat-main{min-width:0}
@media (max-width:820px){
  .tw-body[data-skin="glass-house"] .tw-cat-sidebar{grid-template-columns:1fr 1fr!important}
  .tw-body[data-skin="glass-house"] .category-grid.large{grid-template-columns:1fr!important}
  .tw-body[data-skin="glass-house"] .overview-card{
    grid-template-columns:auto minmax(0,1fr)!important;
  }
  .tw-body[data-skin="glass-house"] .overview-links{grid-column:2;flex-direction:row;justify-content:flex-start}
}

/* 播放页：花台坞 */
.tw-body[data-skin="glass-house"] .tw-play,
.tw-body[data-skin="glass-house"] .gh-play{
  display:grid!important;gap:16px!important;
  padding:16px!important;border-radius:24px!important;
  background:#fff!important;border:1px solid var(--gh-line)!important;
  box-shadow:0 14px 32px rgba(20,53,42,.08)!important;
  position:relative;z-index:1;
}
.tw-body[data-skin="glass-house"] .tw-play::before,
.tw-body[data-skin="glass-house"] .gh-play::before{
  content:"";display:block;height:6px;border-radius:999px;margin:-4px 0 4px;
  background:linear-gradient(90deg,var(--gh-rose),var(--gh-leaf),var(--gh-citrus),var(--gh-sky),var(--gh-vine));
}
.tw-body[data-skin="glass-house"] .tw-play__screen{min-width:0}
.tw-body[data-skin="glass-house"] .tw-play__frame{
  border-radius:18px;overflow:hidden;background:#0b1f18;
  border:2px solid rgba(47,158,106,.35);
  aspect-ratio:16/9;
}
.tw-body[data-skin="glass-house"] .tw-play__frame video,
.tw-body[data-skin="glass-house"] #movie-player{
  width:100%;height:100%;display:block;object-fit:contain;background:#000;
}
.tw-body[data-skin="glass-house"] .tw-play__status{
  margin:8px 0 0;font-size:.85rem;font-weight:700;color:var(--gh-leaf);
}
.tw-body[data-skin="glass-house"] .tw-play__detail{
  display:grid!important;grid-template-columns:120px minmax(0,1fr)!important;
  gap:14px!important;align-items:start;
  padding:14px!important;border-radius:18px!important;
  background:linear-gradient(180deg,#f7fbf8,#fff)!important;
  border:1px dashed rgba(47,158,106,.28)!important;
}
.tw-body[data-skin="glass-house"] .tw-play__poster img{
  width:120px;height:160px;object-fit:cover;border-radius:50% 50% 12px 12px / 28% 28% 12px 12px;
  border:2px solid rgba(232,93,138,.4)!important;
}
.tw-body[data-skin="glass-house"] .tw-play__meta h1{
  margin:0 0 10px;font-family:"Fraunces","Noto Sans SC",serif;
  font-size:clamp(1.35rem,3vw,1.85rem);color:var(--gh-ink);
}
.tw-body[data-skin="glass-house"] .tw-play__tags{
  list-style:none;margin:0 0 10px;padding:0;display:flex;flex-wrap:wrap;gap:6px;
}
.tw-body[data-skin="glass-house"] .tw-play__tags li span{
  display:inline-block;padding:4px 10px;border-radius:999px;font-size:.72rem;font-weight:800;
  background:rgba(47,158,106,.1);color:var(--gh-leaf);border:1px solid rgba(47,158,106,.22);
}
.tw-body[data-skin="glass-house"] .tw-play__tags li:nth-child(2) span{background:rgba(232,93,138,.1);color:var(--gh-rose);border-color:rgba(232,93,138,.25)}
.tw-body[data-skin="glass-house"] .tw-play__tags li:nth-child(3) span{background:rgba(59,159,216,.1);color:var(--gh-sky);border-color:rgba(59,159,216,.25)}
.tw-body[data-skin="glass-house"] .tw-play__brief{margin:0 0 12px;color:var(--gh-muted);line-height:1.7;font-size:.9rem}
.tw-body[data-skin="glass-house"] .tw-btn.tw-btn--cta,
.tw-body[data-skin="glass-house"] a.tw-btn--cta{
  display:inline-flex;align-items:center;justify-content:center;
  padding:11px 18px;border-radius:999px;font-weight:800;text-decoration:none!important;
  background:linear-gradient(135deg,var(--gh-leaf),var(--gh-sky));color:#fff!important;border:0;
  box-shadow:0 8px 20px rgba(47,158,106,.25);min-height:44px;
}
.tw-body[data-skin="glass-house"] .tw-btn--block{width:100%;box-sizing:border-box}
.tw-body[data-skin="glass-house"] .tw-synopsis{
  padding:16px;border-radius:16px;background:#fff;border:1px solid var(--gh-line);
  color:var(--gh-muted);line-height:1.75;
}
.tw-body[data-skin="glass-house"] .tw-rank{
  display:grid!important;grid-template-columns:auto 64px minmax(0,1fr) auto!important;
  align-items:center;gap:10px;padding:10px 12px;border-radius:14px;
  background:#fff;border:1px solid var(--gh-line);
}
.tw-body[data-skin="glass-house"] .tw-rank__num{
  font-family:"Fraunces",serif;font-weight:800;color:var(--gh-citrus);min-width:2ch;
}
.tw-body[data-skin="glass-house"] .tw-rank__thumb img{
  width:64px;height:80px;object-fit:cover;border-radius:10px;
}
.tw-body[data-skin="glass-house"] .tw-rank__title a{color:var(--gh-ink)!important;font-weight:800}
.tw-body[data-skin="glass-house"] .tw-rank__go{
  width:36px;height:36px;border-radius:50%;display:grid;place-items:center;
  background:var(--gh-leaf);color:#fff!important;font-size:.75rem;
}
@media (max-width:720px){
  .tw-body[data-skin="glass-house"] .tw-play__detail{grid-template-columns:88px minmax(0,1fr)!important}
  .tw-body[data-skin="glass-house"] .tw-play__poster img{width:88px;height:118px}
}

/* 搜索 / 榜单通用 */
.tw-body[data-skin="glass-house"] .tw-search-page,
.tw-body[data-skin="glass-house"] .page-hero,
.tw-body[data-skin="glass-house"] .compact-hero{
  padding:18px;border-radius:20px;background:#fff;border:1px solid var(--gh-line);margin-bottom:18px;
}
.tw-body[data-skin="glass-house"] .page-hero h1,
.tw-body[data-skin="glass-house"] .compact-hero h1{
  font-family:"Fraunces","Noto Sans SC",serif;color:var(--gh-ink);
}

/* 页脚：花台搁板 */
.gh-foot{
  margin-top:auto;position:relative;z-index:1;
  background:#fff;color:var(--gh-muted);
  border-top:1px solid var(--gh-line);
}
.gh-foot__ridge{
  display:grid;grid-template-columns:repeat(5,1fr);height:4px;
}
.gh-foot__ridge span:nth-child(1){background:var(--gh-vine)}
.gh-foot__ridge span:nth-child(2){background:var(--gh-sky)}
.gh-foot__ridge span:nth-child(3){background:var(--gh-citrus)}
.gh-foot__ridge span:nth-child(4){background:var(--gh-leaf)}
.gh-foot__ridge span:nth-child(5){background:var(--gh-rose)}
.gh-foot__inner{max-width:var(--gh-max);margin:0 auto;padding:24px 16px 28px;display:grid;gap:12px}
.gh-foot__logo{
  color:var(--gh-ink)!important;font-weight:800;font-size:1.3rem;text-decoration:none!important;
  font-family:"Fraunces","Noto Sans SC",serif;
}
.gh-foot__tag{margin:0;line-height:1.7;max-width:52em}
.gh-foot__nav{display:flex;flex-wrap:wrap;gap:10px 16px}
.gh-foot__nav a{color:var(--gh-leaf)!important;font-weight:700;text-decoration:none!important}
.gh-foot__nav a:hover{color:var(--gh-rose)!important}
.gh-foot__seo{font-size:.76rem;color:#7a9186}

/* 隐藏母模旧头脚若残留 */
.tw-body[data-skin="glass-house"] > .tw-header,
.tw-body[data-skin="glass-house"] > .tw-footer{display:none!important}
.tw-body[data-skin="glass-house"] .tw-hero{display:none!important}

@supports (padding:max(0px)){
  .gh-head{padding-top:env(safe-area-inset-top)}
  .gh-foot{padding-bottom:env(safe-area-inset-bottom)}
}
.gh-search input,.gh-search button,.gh-btn,.gh-nav a,.gh-toggle{
  -webkit-tap-highlight-color:transparent;touch-action:manipulation;
}
.gh-search input,.gh-search button,.gh-btn,.gh-toggle{min-height:44px}

/* pages-polish:cat-rank */
.gh-board{
  position:relative;z-index:1;margin:0 0 16px;padding:20px 20px 16px;
  border-radius:24px;overflow:hidden;
  background:
    linear-gradient(125deg,rgba(232,93,138,.12),transparent 42%),
    linear-gradient(210deg,rgba(47,158,106,.12),transparent 48%),
    linear-gradient(35deg,rgba(59,159,216,.1),transparent 40%),
    #fff;
  border:1px solid var(--gh-line);
  box-shadow:0 14px 32px rgba(20,53,42,.07);
}
.gh-board__glow{
  position:absolute;right:-40px;top:-50px;width:180px;height:180px;border-radius:50%;
  background:radial-gradient(circle,rgba(232,163,23,.22),transparent 68%);
  pointer-events:none;
}
.gh-board__kicker,.gh-catmap__kicker{
  margin:0 0 8px;font-size:.75rem;font-weight:800;letter-spacing:.14em;
  color:var(--gh-vine);font-family:"Fraunces",serif;
}
.gh-board h1{
  margin:0 0 8px;font-family:"Fraunces","Noto Sans SC",serif;
  font-size:clamp(1.75rem,4vw,2.35rem);color:var(--gh-ink);line-height:1.15;
}
.gh-board__desc{margin:0 0 16px;color:var(--gh-muted);line-height:1.65;max-width:40em;font-size:.92rem}
.gh-board .gh-filter{
  margin:0!important;
  background:rgba(247,251,248,.9)!important;
  border-color:rgba(47,158,106,.18)!important;
  box-shadow:none!important;
}

.gh-catmap__head{
  position:relative;overflow:hidden;
  padding:22px 20px 20px!important;
}
.gh-catmap__ridge{
  display:grid;grid-template-columns:repeat(5,1fr);height:4px;
  margin:0 0 14px;border-radius:999px;overflow:hidden;
}
.gh-catmap__ridge span:nth-child(1){background:var(--gh-rose)}
.gh-catmap__ridge span:nth-child(2){background:var(--gh-leaf)}
.gh-catmap__ridge span:nth-child(3){background:var(--gh-citrus)}
.gh-catmap__ridge span:nth-child(4){background:var(--gh-sky)}
.gh-catmap__ridge span:nth-child(5){background:var(--gh-vine)}
.gh-catmap__chips{
  display:flex;flex-wrap:wrap;gap:8px;margin-top:16px;
}
.gh-catmap__chips a{
  padding:5px 11px;border-radius:999px;font-size:.72rem;font-weight:800;
  text-decoration:none;color:var(--gh-ink);background:rgba(255,255,255,.75);
  border:1px solid rgba(47,158,106,.2);transition:transform .15s ease,box-shadow .15s ease;
}
.gh-catmap__chips a:hover{transform:translateY(-1px);box-shadow:0 6px 12px rgba(20,53,42,.08)}
.gh-catmap__chips a:nth-child(5n+1){border-color:rgba(47,158,106,.35);color:var(--gh-leaf)}
.gh-catmap__chips a:nth-child(5n+2){border-color:rgba(232,93,138,.35);color:var(--gh-rose)}
.gh-catmap__chips a:nth-child(5n+3){border-color:rgba(232,163,23,.4);color:#b45309}
.gh-catmap__chips a:nth-child(5n+4){border-color:rgba(59,159,216,.4);color:var(--gh-sky)}
.gh-catmap__chips a:nth-child(5n+5){border-color:rgba(124,92,191,.35);color:var(--gh-vine)}
.tw-body[data-skin="glass-house"] .gh-catmap .category-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;
}
.tw-body[data-skin="glass-house"] .overview-card{
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
  min-height:100px;
}
.tw-body[data-skin="glass-house"] .overview-card:hover{
  transform:translateY(-3px);
  box-shadow:0 16px 30px rgba(47,158,106,.14)!important;
}
.tw-body[data-skin="glass-house"] .overview-main strong{
  font-family:"Fraunces","Noto Sans SC",serif;font-size:1.05rem;
}
.tw-body[data-skin="glass-house"] .overview-links span:last-child{
  color:var(--gh-leaf);font-weight:800;
}
.tw-body[data-skin="glass-house"] .overview-card:nth-child(5n+1) .overview-code{
  background:linear-gradient(135deg,var(--gh-leaf),var(--gh-sky))!important;
}
.tw-body[data-skin="glass-house"] .overview-card:nth-child(5n+2) .overview-code{
  background:linear-gradient(135deg,var(--gh-rose),var(--gh-vine))!important;
}
.tw-body[data-skin="glass-house"] .overview-card:nth-child(5n+3) .overview-code{
  background:linear-gradient(135deg,var(--gh-citrus),var(--gh-rose))!important;
}
.tw-body[data-skin="glass-house"] .overview-card:nth-child(5n+4) .overview-code{
  background:linear-gradient(135deg,var(--gh-sky),var(--gh-leaf))!important;
}
.tw-body[data-skin="glass-house"] .overview-card:nth-child(5n+5) .overview-code{
  background:linear-gradient(135deg,var(--gh-vine),var(--gh-sky))!important;
}

.gh-board-panel{
  position:relative;z-index:1;margin:0 0 28px;padding:14px!important;
  border-radius:22px;background:rgba(255,255,255,.72);
  border:1px solid var(--gh-line);box-shadow:0 10px 24px rgba(20,53,42,.05);
}
.tw-body[data-skin="glass-house"] .gh-filter,
.tw-body[data-skin="glass-house"] .filter-panel{
  display:grid!important;
  grid-template-columns:minmax(0,1.4fr) repeat(3,minmax(0,1fr))!important;
  gap:10px!important;align-items:stretch;
  margin:0 0 16px!important;padding:12px!important;
  border-radius:18px!important;
  background:#fff!important;
  border:1px solid rgba(47,158,106,.22)!important;
  box-shadow:0 8px 18px rgba(20,53,42,.04);
}
.tw-body[data-skin="glass-house"] .gh-filter input,
.tw-body[data-skin="glass-house"] .gh-filter select,
.tw-body[data-skin="glass-house"] .filter-panel input,
.tw-body[data-skin="glass-house"] .filter-panel select,
.tw-body[data-skin="glass-house"] .tw-cat-sidebar input,
.tw-body[data-skin="glass-house"] .tw-cat-sidebar select{
  width:100%!important;min-width:0!important;box-sizing:border-box!important;
  padding:12px 14px!important;border-radius:12px!important;
  border:1.5px solid rgba(47,158,106,.28)!important;
  background-color:#fff!important;color:var(--gh-ink)!important;
  font:inherit!important;font-weight:600!important;
  appearance:none;-webkit-appearance:none;
  transition:border-color .15s ease,box-shadow .15s ease;
}
.tw-body[data-skin="glass-house"] .gh-filter select,
.tw-body[data-skin="glass-house"] .filter-panel select,
.tw-body[data-skin="glass-house"] .tw-cat-sidebar select{
  padding-right:36px!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%232f9e6a' d='M1.2 1.2L6 6l4.8-4.8' stroke='%232f9e6a' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;
  background-position:right 12px center!important;
  background-size:12px 8px!important;
}
.tw-body[data-skin="glass-house"] .gh-filter input:focus,
.tw-body[data-skin="glass-house"] .gh-filter select:focus,
.tw-body[data-skin="glass-house"] .filter-panel input:focus,
.tw-body[data-skin="glass-house"] .filter-panel select:focus,
.tw-body[data-skin="glass-house"] .tw-cat-sidebar input:focus,
.tw-body[data-skin="glass-house"] .tw-cat-sidebar select:focus{
  outline:0;border-color:var(--gh-leaf)!important;
  box-shadow:0 0 0 3px rgba(47,158,106,.15);
}

/* 热播榜序号角标 */
.tw-body[data-skin="glass-house"] .gh-rank-grid,
.tw-body[data-skin="glass-house"] .rank-panel .movie-grid{
  counter-reset:gh-rank;
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:14px!important;
}
.tw-body[data-skin="glass-house"] .gh-rank-grid .tw-card,
.tw-body[data-skin="glass-house"] .rank-panel .movie-grid .tw-card{
  counter-increment:gh-rank;
  position:relative;
}
.tw-body[data-skin="glass-house"] .gh-rank-grid .tw-card::after,
.tw-body[data-skin="glass-house"] .rank-panel .movie-grid .tw-card::after{
  content:counter(gh-rank);
  position:absolute;right:10px;top:14px;z-index:5;
  min-width:28px;height:28px;padding:0 7px;border-radius:999px;
  display:grid;place-items:center;
  font-family:"Fraunces",serif;font-weight:800;font-size:.82rem;color:#fff;
  background:linear-gradient(135deg,var(--gh-rose),var(--gh-vine));
  box-shadow:0 6px 14px rgba(232,93,138,.3);
  pointer-events:none;
}
.tw-body[data-skin="glass-house"] .gh-rank-grid .tw-card:nth-child(1)::after{background:linear-gradient(135deg,#f59e0b,#e85d8a)}
.tw-body[data-skin="glass-house"] .gh-rank-grid .tw-card:nth-child(2)::after{background:linear-gradient(135deg,#94a3b8,#64748b)}
.tw-body[data-skin="glass-house"] .gh-rank-grid .tw-card:nth-child(3)::after{background:linear-gradient(135deg,#d97706,#b45309)}

.tw-body[data-skin="glass-house"] .tw-cat-head{
  position:relative;overflow:hidden;
  background:
    linear-gradient(120deg,rgba(47,158,106,.1),transparent 45%),
    linear-gradient(300deg,rgba(232,93,138,.08),transparent 40%),
    #fff!important;
  border:1px solid var(--gh-line)!important;
  box-shadow:0 10px 24px rgba(20,53,42,.05);
}
.tw-body[data-skin="glass-house"] .tw-cat-head::before{
  content:"";position:absolute;left:0;right:0;top:0;height:4px;
  background:linear-gradient(90deg,var(--gh-rose),var(--gh-leaf),var(--gh-citrus),var(--gh-sky),var(--gh-vine));
}
.tw-body[data-skin="glass-house"] .tw-cat-sidebar{
  box-shadow:0 8px 18px rgba(20,53,42,.04);
  border:1px solid rgba(47,158,106,.22)!important;
}

@media (max-width:820px){
  .tw-body[data-skin="glass-house"] .gh-filter,
  .tw-body[data-skin="glass-house"] .filter-panel{
    grid-template-columns:1fr 1fr!important;
  }
  .tw-body[data-skin="glass-house"] .gh-filter input,
  .tw-body[data-skin="glass-house"] .filter-panel input{
    grid-column:1/-1;
  }
  .tw-body[data-skin="glass-house"] .gh-rank-grid,
  .tw-body[data-skin="glass-house"] .rank-panel .movie-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .tw-body[data-skin="glass-house"] .gh-catmap .category-grid{
    grid-template-columns:1fr!important;
  }
}

/* cat-slim:layout */
.tw-body[data-skin="glass-house"] .tw-cat-layout{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:14px!important;
  width:100%!important;
  grid-template-columns:none!important;
}
.tw-body[data-skin="glass-house"] .tw-cat-main,
.tw-body[data-skin="glass-house"] .gh-cat-stage,
.tw-body[data-skin="glass-house"] .gh-cat-feature,
.tw-body[data-skin="glass-house"] .gh-cat-more{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
.tw-body[data-skin="glass-house"] .gh-cat-filters{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  width:100%!important;
  box-sizing:border-box!important;
}
.tw-body[data-skin="glass-house"] .gh-cat-stage{display:grid;gap:18px}
.tw-body[data-skin="glass-house"] .gh-cat-feature{
  position:relative;overflow:hidden;
  padding:16px;border-radius:22px;
  background:
    linear-gradient(135deg,rgba(232,93,138,.1),transparent 42%),
    linear-gradient(220deg,rgba(47,158,106,.1),transparent 48%),
    #fff;
  border:1px solid var(--gh-line);
  box-shadow:0 12px 28px rgba(20,53,42,.06);
}
.tw-body[data-skin="glass-house"] .gh-cat-feature__kicker{
  margin:0 0 12px;font-size:.72rem;font-weight:800;letter-spacing:.14em;
  color:var(--gh-vine);font-family:"Fraunces",serif;
}
.tw-body[data-skin="glass-house"] .gh-cat-feature__grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:14px!important;
  width:100%!important;
}
.tw-body[data-skin="glass-house"] .gh-cat-feature .tw-card{
  background:rgba(255,255,255,.88)!important;
  width:auto!important;min-width:0!important;max-width:none!important;
}
.tw-body[data-skin="glass-house"] .gh-cat-feature .tw-card__thumb{
  aspect-ratio:5/4!important;
}
.tw-body[data-skin="glass-house"] .gh-cat-more{
  padding:14px;border-radius:22px;
  background:rgba(255,255,255,.7);
  border:1px solid var(--gh-line);
  box-sizing:border-box;
}
.tw-body[data-skin="glass-house"] .gh-cat-more__head{
  display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;
  gap:8px;margin:0 0 14px;
}
.tw-body[data-skin="glass-house"] .gh-cat-more__head h2{
  margin:0;font-family:"Fraunces","Noto Sans SC",serif;
  font-size:1.2rem;color:var(--gh-ink);
}
.tw-body[data-skin="glass-house"] .gh-cat-more__head span{
  font-size:.8rem;color:var(--gh-muted);font-weight:600;
}
.tw-body[data-skin="glass-house"] .gh-cat-more .tw-grid,
.tw-body[data-skin="glass-house"] .gh-cat-more .tw-grid--3,
.tw-body[data-skin="glass-house"] .gh-cat-more .tw-grid--catalog{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:16px!important;
  width:100%!important;
}
.tw-body[data-skin="glass-house"] .gh-cat-more .tw-card{
  width:auto!important;min-width:0!important;max-width:none!important;
}
.tw-body[data-skin="glass-house"] .gh-cat-cta{
  display:flex;flex-wrap:wrap;gap:10px;justify-content:center;
  padding:6px 0 8px;
}
.tw-body[data-skin="glass-house"] .gh-cat-cta a{
  padding:10px 16px;border-radius:999px;font-size:.82rem;font-weight:800;
  text-decoration:none;color:var(--gh-ink);
  background:#fff;border:1px solid rgba(47,158,106,.28);
  box-shadow:0 6px 14px rgba(20,53,42,.05);
  transition:transform .15s ease,box-shadow .15s ease;
}
.tw-body[data-skin="glass-house"] .gh-cat-cta a:hover{
  transform:translateY(-1px);box-shadow:0 10px 18px rgba(47,158,106,.12);
}
.tw-body[data-skin="glass-house"] .gh-cat-cta a:first-child{
  background:linear-gradient(135deg,var(--gh-leaf),var(--gh-sky));
  color:#fff!important;border-color:transparent;
}
@media (max-width:820px){
  .tw-body[data-skin="glass-house"] .gh-cat-filters{
    grid-template-columns:1fr!important;
  }
  .tw-body[data-skin="glass-house"] .gh-cat-feature__grid,
  .tw-body[data-skin="glass-house"] .gh-cat-more .tw-grid,
  .tw-body[data-skin="glass-house"] .gh-cat-more .tw-grid--3,
  .tw-body[data-skin="glass-house"] .gh-cat-more .tw-grid--catalog{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media (max-width:520px){
  .tw-body[data-skin="glass-house"] .gh-cat-feature__grid{
    grid-template-columns:1fr!important;
  }
}

/* opt:template */
.tw-body[data-skin="glass-house"]{overflow-x:clip}
.tw-body[data-skin="glass-house"] .tw-header,
.tw-body[data-skin="glass-house"] .tw-footer,
.tw-body[data-skin="glass-house"] .tw-hero{display:none!important}
.tw-body[data-skin="glass-house"] .tw-card__overlay,
.tw-body[data-skin="glass-house"] .tw-card__play{display:none!important}
.tw-body[data-skin="glass-house"] .image-off{opacity:.45!important;filter:grayscale(.2)}

/* iOS 防缩放 + 控件可读 */
.tw-body[data-skin="glass-house"] .gh-search input,
.tw-body[data-skin="glass-house"] .gh-filter input,
.tw-body[data-skin="glass-house"] .gh-filter select,
.tw-body[data-skin="glass-house"] .filter-panel input,
.tw-body[data-skin="glass-house"] .filter-panel select,
.tw-body[data-skin="glass-house"] .tw-cat-sidebar input,
.tw-body[data-skin="glass-house"] .tw-cat-sidebar select{
  font-size:16px!important;line-height:1.4;
}

/* 播放器跨端铺满 */
.tw-body[data-skin="glass-house"] .tw-play__screen{
  margin:0!important;padding:0!important;background:transparent!important;box-shadow:none!important;border:0!important;
}
.tw-body[data-skin="glass-house"] .tw-play__frame{
  position:relative!important;aspect-ratio:16/9!important;width:100%!important;
  border-radius:18px!important;overflow:hidden!important;background:#0b1a14!important;
}
.tw-body[data-skin="glass-house"] .tw-play__frame video,
.tw-body[data-skin="glass-house"] #movie-player{
  position:absolute!important;inset:0!important;
  width:100%!important;height:100%!important;max-width:none!important;
  aspect-ratio:auto!important;object-fit:contain!important;display:block!important;background:#000!important;
}

/* 分类页 section-head / 空态 / 404 */
.tw-body[data-skin="glass-house"] .section-head{
  display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px;
}
.tw-body[data-skin="glass-house"] .section-head h2{
  margin:0;font-family:"Fraunces","Noto Sans SC",serif;font-size:1.2rem;color:var(--gh-ink);
}
.tw-body[data-skin="glass-house"] .section-icon{
  display:inline-grid;place-items:center;width:28px;height:28px;margin-right:8px;
  border-radius:8px;background:linear-gradient(135deg,var(--gh-leaf),var(--gh-sky));color:#fff;font-size:.75rem;
}
.tw-body[data-skin="glass-house"] .section-head>div{display:flex;align-items:center}
.tw-body[data-skin="glass-house"] .section-head a{font-weight:800;color:var(--gh-leaf)!important;font-size:.88rem}
.tw-body[data-skin="glass-house"] .empty-state,
.tw-body[data-skin="glass-house"] .tw-empty{
  margin:18px 0;padding:22px;border-radius:18px;text-align:center;
  background:rgba(255,255,255,.8);border:1px dashed rgba(47,158,106,.35);color:var(--gh-muted);font-weight:600;
}
.tw-body[data-skin="glass-house"] .page-hero,
.tw-body[data-skin="glass-house"] .compact-hero{
  padding:22px 20px;border-radius:22px;background:#fff;border:1px solid var(--gh-line);margin-bottom:18px;
}
.tw-body[data-skin="glass-house"] .page-hero h1,
.tw-body[data-skin="glass-house"] .compact-hero h1{
  margin:8px 0;font-family:"Fraunces","Noto Sans SC",serif;color:var(--gh-ink);
}
.tw-body[data-skin="glass-house"] .primary-btn,
.tw-body[data-skin="glass-house"] .ghost-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:6px;
  min-height:44px;padding:10px 18px;border-radius:999px;font-weight:800;text-decoration:none!important;
}
.tw-body[data-skin="glass-house"] .primary-btn{
  background:linear-gradient(135deg,var(--gh-leaf),var(--gh-sky));color:#fff!important;border:0;
}
.tw-body[data-skin="glass-house"] .ghost-btn{
  background:#fff;color:var(--gh-ink)!important;border:1px solid rgba(47,158,106,.3);
}

/* 英雄花窗兜底 */
.tw-body[data-skin="glass-house"] .gh-hero__arbor{
  position:relative;width:100%;max-width:260px;aspect-ratio:1/1;max-height:260px;margin-left:auto;
  background:linear-gradient(180deg,var(--gh-rose),var(--gh-leaf),var(--gh-sky),var(--gh-vine),var(--gh-citrus));
  border-radius:42% 42% 16px 16px / 36% 36% 16px 16px;padding:4px;box-sizing:border-box;
}
.tw-body[data-skin="glass-house"] .gh-hero__arbor a{
  position:absolute!important;inset:4px!important;border-radius:40% 40% 12px 12px / 34% 34% 12px 12px;
  overflow:hidden!important;display:block!important;
}
.tw-body[data-skin="glass-house"] .gh-hero__arbor img{
  width:100%!important;height:100%!important;object-fit:cover!important;object-position:center 14%!important;
}
