/* =====================================================================
   阿拉伯语站第二十五版样式：موفز فور يو（Movs4u · www.movs4u.info）· 「新粗野波普」（Neo-brutalist pop）
   奶油黄底 + 点阵；3px 黑边；硬投影（不模糊，RTL 投向左下）；粉 / 电光蓝 / 荧光绿 / 黄 / 橙「贴纸」；
   按下去会下沉的圆角粗按钮；标题 Kufam，正文 Mada（都在 /assets/fonts/，阿拉伯 + 拉丁子集）。浅色主题。
   ===================================================================== */
@font-face { font-family: 'Kufam'; font-style: normal; font-weight: 500 900; font-display: swap; src: url(/assets/fonts/kufam-arabic.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'Kufam'; font-style: normal; font-weight: 500 900; font-display: swap; src: url(/assets/fonts/kufam-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Mada'; font-style: normal; font-weight: 300 900; font-display: swap; src: url(/assets/fonts/mada-arabic.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'Mada'; font-style: normal; font-weight: 300 900; font-display: swap; src: url(/assets/fonts/mada-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #fff6dc; --bg2: #ffeeb8; --paper: #fff; --ink: #111; --mut: #574e3a; --line: #111;
  --y: #ffd23f; --p: #ff4fa3; --b: #2f6bff; --l: #b6f03c; --o: #ff8a3d;
  --bw: 3px; --bd: 3px solid #111;
  --sh: -5px 5px 0 #111; --sh-s: -3px 3px 0 #111; --sh-l: -8px 8px 0 #111;
  --r: 16px; --r-s: 11px;
  --fh: 'Kufam', 'Mada', 'Segoe UI', Tahoma, sans-serif;
  --fb: 'Mada', 'Segoe UI', Tahoma, sans-serif;
  --w: 1320px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--bg) radial-gradient(rgba(17, 17, 17, .09) 1.2px, transparent 1.6px) 0 0 / 22px 22px;
  color: var(--ink); font: 500 16px/1.7 var(--fb); overflow-x: hidden;
}
body.lock { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { font-family: var(--fh); line-height: 1.35; margin: 0; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--b); outline-offset: 3px; }
.ico { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }
.ico.fill { fill: currentColor; stroke: none; }
[dir=rtl] .ico.flip { transform: scaleX(-1); }
.mk { flex: none; display: block; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; top: -60px; inset-inline-start: 12px; z-index: 100; background: var(--ink); color: var(--y); padding: 8px 14px; border-radius: 10px; font-weight: 800; }
.skip:focus { top: 12px; }
.muted { color: var(--mut); }
.empty { border: 3px dashed var(--ink); border-radius: var(--r); padding: 22px; text-align: center; font-weight: 700; background: rgba(255, 255, 255, .6); }
.more-p { text-align: center; margin-top: 20px; }

/* ---------- 贴纸 / 按钮 ---------- */
.stk-p { background: var(--p); color: #111; }
.stk-b { background: var(--b); color: #fff; }
.stk-l { background: var(--l); color: #111; }
.stk-y { background: var(--y); color: #111; }
.stk-o { background: var(--o); color: #111; }
.stk-w { background: #fff; color: #111; }
.stk-k { background: #111; color: var(--y); }
.stk { display: inline-flex; align-items: center; gap: 5px; padding: 2px 11px; border: 2.5px solid var(--ink); border-radius: 999px; font: 800 13px/1.6 var(--fh); box-shadow: -2px 2px 0 var(--ink); white-space: nowrap; }
a.stk { transition: transform .12s; }
a.stk:hover { transform: rotate(-3deg) scale(1.05); }
.stks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

.kbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 20px; min-height: 46px;
  border: var(--bd); border-radius: 14px; background: #fff; color: var(--ink); box-shadow: var(--sh-s);
  font: 800 15px/1.3 var(--fh); white-space: nowrap; transition: transform .08s, box-shadow .08s, background .15s;
}
.kbtn:hover { transform: translate(1px, -1px); box-shadow: -4px 4px 0 var(--ink); }
.kbtn:active, .kbtn.on:active { transform: translate(-3px, 3px); box-shadow: 0 0 0 var(--ink); }
.kbtn-y { background: var(--y); }
.kbtn-p { background: var(--p); }
.kbtn-b { background: var(--b); color: #fff; }
.kbtn-l { background: var(--l); }
.kbtn-w { background: #fff; }
.kbtn-k { background: var(--ink); color: var(--y); box-shadow: -3px 3px 0 var(--p); }
.kbtn-k:hover { box-shadow: -4px 4px 0 var(--p); }
.kbtn-sm { min-height: 36px; padding: 5px 13px; font-size: 13.5px; border-radius: 11px; border-width: 2.5px; }
.kbtn[aria-disabled=true] { opacity: .5; pointer-events: none; box-shadow: none; }
.kbtn.on { background: var(--l); }
.ibtn { display: inline-grid; place-items: center; width: 50px; height: 50px; flex: none; border: var(--bd); border-radius: 14px; background: #fff; box-shadow: var(--sh-s); transition: transform .08s, box-shadow .08s; }
.ibtn:active { transform: translate(-3px, 3px); box-shadow: none; }
.ibtn .ico { width: 24px; height: 24px; }

/* ---------- 顶栏 ---------- */
.mast { position: sticky; top: 0; z-index: 50; background: var(--y); border-bottom: var(--bd); }
.mast-in { max-width: var(--w); margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.logo b { font: 900 25px/1 var(--fh); letter-spacing: -.3px; white-space: nowrap; }
.logo .mk { width: 50px; height: 50px; }
.logo-img img { height: var(--logo-h); width: auto; }
.qbar { position: relative; flex: 1; min-width: 0; display: flex; height: 58px; background: #fff; border: var(--bd); border-radius: 16px; box-shadow: var(--sh); }
.qbar input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 20px; font: 700 18px var(--fb); border-radius: 16px; }
.qbar input:focus { outline: 0; }
.qbar:focus-within { box-shadow: -5px 5px 0 var(--p); }
.qbar input::placeholder { color: #8b8270; }
.qbar input::-webkit-search-cancel-button { display: none; }
.qbar-go { flex: none; width: 64px; margin: -3px; margin-inline-start: 0; border: var(--bd); border-radius: 0 16px 16px 0; background: var(--ink); color: var(--y); display: grid; place-items: center; }
[dir=rtl] .qbar-go { border-radius: 16px 0 0 16px; }
.qbar-go .ico { width: 26px; height: 26px; }
.qsug { position: absolute; top: calc(100% + 12px); inset-inline: -3px; z-index: 60; display: none; max-height: min(70vh, 520px); overflow: auto; background: #fff; border: var(--bd); border-radius: 16px; box-shadow: var(--sh-l); padding: 8px; }
.qsug.on { display: block; }
.qs-i { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; }
.qs-i:hover, .qs-i:focus { background: var(--bg2); outline: 0; }
.qs-i i { flex: none; width: 42px; height: 62px; border: 2px solid var(--ink); border-radius: 8px; overflow: hidden; background: var(--bg2); }
.qs-i img { width: 100%; height: 100%; object-fit: cover; }
.qs-i b { display: block; font: 800 15px/1.4 var(--fh); }
.qs-i small { display: block; color: var(--mut); font-size: 13px; }
.qs-all { display: block; margin-top: 6px; padding: 10px; border-radius: 12px; background: var(--ink); color: var(--y); text-align: center; font: 800 14px var(--fh); }
.qsug .empty { padding: 14px; border-width: 2px; font-size: 14px; }
.mast-my { background: var(--p); }
.mbtn { flex: none; min-height: 58px; padding: 0 22px; font-size: 16px; }
.mbtn .ico { width: 24px; height: 24px; }
.mbtn[aria-expanded=true] { background: var(--p); color: var(--ink); box-shadow: var(--sh-s); }

.sheet { position: absolute; top: 100%; inset-inline: 0; background: var(--bg); border-bottom: var(--bd); box-shadow: 0 10px 0 rgba(17, 17, 17, .12); animation: drop .22s cubic-bezier(.2, .9, .3, 1.2); max-height: calc(100vh - 90px); overflow: auto; }
@keyframes drop { from { transform: translateY(-16px); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet-in { max-width: var(--w); margin: 0 auto; padding: 24px 20px 26px; }
.sheet-nav { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.sheet-a { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border: var(--bd); border-radius: 16px; box-shadow: var(--sh); font: 800 17px/1.3 var(--fh); transition: transform .1s, box-shadow .1s; }
.sheet-a:hover { transform: translate(1px, -1px) rotate(-1deg); }
.sheet-a:active { transform: translate(-5px, 5px); box-shadow: none; }
.sheet-a .ico { width: 26px; height: 26px; padding: 4px; background: #fff; border: 2px solid var(--ink); border-radius: 8px; box-sizing: content-box; }
.sheet-a.on { outline: 4px solid var(--ink); outline-offset: 3px; }
.sh-p { background: var(--p); } .sh-b { background: var(--b); color: #fff; } .sh-b .ico { color: var(--ink); } .sh-l { background: var(--l); } .sh-y { background: var(--y); } .sh-o { background: var(--o); }
.sheet-hot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; }
.sheet-hot a { padding: 4px 12px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; font-weight: 700; font-size: 14px; }
.sheet-hot a:hover { background: var(--y); }
.sheet-x { margin-top: 20px; }

.strip { background: #fff; border-bottom: var(--bd); }
.strip-in { max-width: var(--w); margin: 0 auto; padding: 10px 20px; display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.strip-in::-webkit-scrollbar { display: none; }
.strip a { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; border: 2.5px solid var(--ink); border-radius: 999px; background: var(--bg); font: 700 14.5px/1.5 var(--fh); transition: background .15s, transform .1s; }
.strip a:hover { background: var(--y); transform: rotate(-2deg); }
.strip a.on { background: var(--ink); color: var(--y); }

/* ---------- 页面骨架 ---------- */
.page { flex: 1; width: 100%; max-width: var(--w); margin: 0 auto; padding: 26px 20px 70px; }
.page > * + * { margin-top: 40px; }
.page > .trail + * { margin-top: 14px; }
.page > .phead + *, .page > .tgs + *, .page > .sortbar + * { margin-top: 26px; }
.ad-slot { text-align: center; }
.trail ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font: 700 14px/1.6 var(--fb); }
.trail li + li::before { content: '/'; margin: 0 9px; font-weight: 900; color: var(--p); }
.trail a { border-bottom: 2px solid transparent; }
.trail a:hover { border-bottom-color: var(--ink); }
.trail [aria-current] { color: var(--mut); }

.phead { position: relative; background: var(--y); border: var(--bd); border-radius: 22px; box-shadow: var(--sh-l); padding: 30px 30px 26px; }
.phead h1 { font: 900 clamp(27px, 3.8vw, 44px)/1.3 var(--fh); }
.phead p { margin-top: 8px; font-size: 17px; font-weight: 600; color: #3a3224; max-width: 860px; }
.phead-k { position: absolute; top: -16px; inset-inline-start: 24px; transform: rotate(-3deg); font-size: 14.5px; padding: 3px 14px; }

.bh { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 20px; }
.bh-t { font: 900 clamp(20px, 2.4vw, 28px)/1.35 var(--fh); padding: 4px 18px 6px; border: var(--bd); border-radius: 14px; box-shadow: var(--sh-s); transform: rotate(-1.5deg); }
.bh small { font-weight: 700; color: var(--mut); font-size: 15px; }
.bh-more { margin-inline-start: auto; }

.box { background: #fff; border: var(--bd); border-radius: 20px; box-shadow: var(--sh); padding: 24px; }
.box-h { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 16px; font: 900 21px/1.4 var(--fh); }
.box-h small { font: 600 14px var(--fb); color: var(--mut); }
.box-h a { margin-inline-start: auto; font: 800 14px var(--fh); padding: 2px 12px; border: 2.5px solid var(--ink); border-radius: 999px; background: var(--y); }
.lbx { position: relative; background: #fff; border: var(--bd); border-radius: 18px; padding: 26px 20px 18px; box-shadow: var(--sh-s); }
.lbx-l { position: absolute; top: -15px; inset-inline-start: 18px; transform: rotate(-2deg); font-size: 14px; }

/* ---------- 作品卡片 ---------- */
.nopic { display: grid; place-items: center; width: 100%; height: 100%; padding: 12px; background: hsl(var(--h, 45) 85% 72%); font: 800 16px/1.4 var(--fh); font-style: normal; text-align: center; }
.kgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 26px 20px; }
.kgrid-row { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.kard { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.kard-f { position: relative; display: block; aspect-ratio: 2 / 3; margin-bottom: 8px; border: var(--bd); border-radius: 16px; overflow: hidden; background: hsl(var(--h) 80% 75%); box-shadow: var(--sh); transition: transform .12s, box-shadow .12s; }
.kard-f img { width: 100%; height: 100%; object-fit: cover; }
.kard:hover .kard-f { transform: translate(2px, -2px) rotate(-1deg); box-shadow: -8px 8px 0 var(--ink); }
.kard:active .kard-f { transform: translate(-5px, 5px); box-shadow: none; }
.kard-s { position: absolute; top: 9px; inset-inline-start: 9px; transform: rotate(-4deg); font-size: 12px; }
.kard-r { position: absolute; bottom: 9px; inset-inline-end: 9px; display: inline-flex; align-items: center; gap: 3px; padding: 1px 8px; background: #fff; border: 2.5px solid var(--ink); border-radius: 9px; font: 800 13px/1.6 var(--fh); font-style: normal; }
.kard-r .ico { color: var(--o); width: 14px; height: 14px; }
.kard-n { position: absolute; bottom: -10px; inset-inline-start: 6px; font: 900 76px/1 var(--fh); color: #fff; -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; text-shadow: -4px 4px 0 var(--ink); }
.kard-t { font: 800 16px/1.45 var(--fb); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kard-m { font-size: 13px; color: var(--mut); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 电影票 */
.tkts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 26px; }
.tkt { position: relative; display: flex; align-items: stretch; min-width: 0; background: #fff; border: var(--bd); border-radius: 16px; box-shadow: var(--sh); overflow: hidden; transition: transform .1s, box-shadow .1s; }
.tkt::before, .tkt::after { content: ''; position: absolute; inset-inline-start: 72px; width: 24px; height: 24px; border: var(--bd); border-radius: 50%; background: var(--bg); z-index: 2; }
.tkt::before { top: -14px; }
.tkt::after { bottom: -14px; }
.tkt:hover { transform: translate(1px, -1px) rotate(-.6deg); box-shadow: var(--sh-l); }
.tkt:active { transform: translate(-5px, 5px); box-shadow: none; }
.tkt-n { flex: none; width: 85px; display: grid; place-items: center; border-inline-end: 3px dashed var(--ink); font: 900 48px/1 var(--fh); color: #fff; -webkit-text-stroke: 2.5px var(--ink); paint-order: stroke fill; text-shadow: -3px 3px 0 var(--ink); }
.tk-p .tkt-n { background: var(--p); } .tk-b .tkt-n { background: var(--b); } .tk-l .tkt-n { background: var(--l); } .tk-y .tkt-n { background: var(--y); } .tk-o .tkt-n { background: var(--o); }
.tkt-i { flex: none; width: 58px; aspect-ratio: 2 / 3; margin: 12px 16px 12px 0; align-self: center; border: 2.5px solid var(--ink); border-radius: 9px; overflow: hidden; background: hsl(var(--h) 80% 75%); }
[dir=rtl] .tkt-i { margin: 12px 18px 12px 0; }
.tkt-i img, .tkt-i .nopic { width: 100%; height: 100%; object-fit: cover; font-size: 20px; }
.tkt-x { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: 10px 14px; }
.tkt-x b { font: 800 17px/1.45 var(--fh); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tkt-x small { color: var(--mut); font-weight: 600; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tkt-r { flex: none; align-self: center; margin-inline-end: 16px; display: inline-flex; align-items: center; gap: 3px; padding: 2px 9px; border: 2.5px solid var(--ink); border-radius: 10px; background: var(--y); font: 800 14px var(--fh); font-style: normal; }
.tkt-r .ico { width: 14px; height: 14px; }

/* 行 */
.lns { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 14px; }
.ln { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: #fff; border: var(--bd); border-radius: 16px; box-shadow: var(--sh-s); min-width: 0; }
.ln-a { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; }
.ln-p { flex: none; width: 50px; height: 75px; border: 2.5px solid var(--ink); border-radius: 9px; overflow: hidden; background: hsl(var(--h) 80% 75%); }
.ln-p img, .ln-p .nopic { width: 100%; height: 100%; object-fit: cover; }
.ln-b { min-width: 0; display: flex; flex-direction: column; }
.ln-b b { font: 800 16px/1.4 var(--fh); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ln-b small { color: var(--mut); font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ln-a:hover b { text-decoration: underline 3px var(--p); }

/* 最新一集卡片 */
.epk-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 20px; }
.epk-grid-2 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.epk { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.epk-f { position: relative; display: block; aspect-ratio: 16 / 9; margin-bottom: 8px; border: var(--bd); border-radius: 16px; overflow: hidden; background: hsl(var(--h) 75% 72%); box-shadow: var(--sh); transition: transform .12s, box-shadow .12s; }
.epk-f img { width: 100%; height: 100%; object-fit: cover; }
.epk:hover .epk-f { transform: translate(2px, -2px); box-shadow: var(--sh-l); }
.epk-s { position: absolute; top: 9px; inset-inline-start: 9px; transform: rotate(-3deg); }
.epk-play { position: absolute; bottom: 9px; inset-inline-end: 9px; width: 40px; height: 40px; display: grid; place-items: center; border: var(--bd); border-radius: 50%; background: var(--y); box-shadow: -2px 2px 0 var(--ink); }
.epk-play .ico { width: 18px; height: 18px; }
.epk-t { font: 800 16px/1.45 var(--fb); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.epk-m { font-size: 13px; color: var(--mut); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- 首页 ---------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-areas: "feat feat hi hi" "feat feat mia mib"; gap: 22px; }
.bento-hi { grid-area: hi; position: relative; background: var(--y); border: var(--bd); border-radius: 24px; box-shadow: var(--sh-l); padding: 34px 28px 24px; }
.bento-k { position: absolute; top: -16px; inset-inline-start: 22px; transform: rotate(-4deg); font-size: 15px; padding: 3px 15px; }
.bento-hi h1 { font: 900 clamp(25px, 2.6vw, 38px)/1.35 var(--fh); }
.bento-hi > p { margin-top: 8px; font-weight: 700; color: #3a3224; }
.bento-g { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.bento-g .stk { font-size: 14px; padding: 4px 13px; }
.feat { grid-area: feat; position: relative; min-height: 470px; border: var(--bd); border-radius: 24px; overflow: hidden; background: hsl(var(--h) 60% 40%); box-shadow: var(--sh-l); }
.feat-img, .feat-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feat-s { position: absolute; top: 18px; inset-inline-start: 18px; transform: rotate(-4deg); font-size: 16px; padding: 4px 16px; }
.feat-b { position: absolute; inset-inline: 18px; bottom: 18px; background: #fff; border: var(--bd); border-radius: 18px; box-shadow: var(--sh); padding: 16px 20px 18px; }
.feat-m { font-weight: 700; color: var(--mut); font-size: 14.5px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.feat-m em { font-style: normal; display: inline-flex; align-items: center; gap: 3px; padding: 0 8px; border: 2px solid var(--ink); border-radius: 8px; background: var(--y); color: var(--ink); font: 800 13px/1.6 var(--fh); }
.feat-m em .ico { width: 13px; height: 13px; }
.feat h2 { font: 900 clamp(24px, 2.8vw, 36px)/1.3 var(--fh); margin: 2px 0 4px; }
.feat h2 a:hover { text-decoration: underline 4px var(--p); }
.feat-o { color: #3a3224; font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.feat-a { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.mini { position: relative; display: flex; flex-direction: column; min-width: 0; background: #fff; border: var(--bd); border-radius: 20px; overflow: hidden; box-shadow: var(--sh); }
.mini-1 { grid-area: mia; } .mini-2 { grid-area: mib; }
.mini-img { display: block; aspect-ratio: 16 / 9; border-bottom: var(--bd); background: hsl(var(--h) 75% 70%); }
.mini-img img { width: 100%; height: 100%; object-fit: cover; }
.mini-t { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px 14px 14px; }
.mini h2 { font: 800 17px/1.4 var(--fh); width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini h2 a:hover { text-decoration: underline 3px var(--p); }
.mini .kbtn { margin-top: auto; }

.moods { display: flex; flex-wrap: wrap; gap: 14px; }
.mood-a { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border: var(--bd); border-radius: 18px; box-shadow: var(--sh); font: 800 18px/1.3 var(--fh); transition: transform .12s, box-shadow .12s; }
.mood-a:nth-child(odd) { transform: rotate(-1.6deg); }
.mood-a:nth-child(3n) { transform: rotate(1.4deg); }
.mood-a:hover { transform: rotate(0) translate(1px, -2px); box-shadow: var(--sh-l); }
.mood-a:active { transform: translate(-5px, 5px); box-shadow: none; }
.mood-a .ico { width: 20px; height: 20px; padding: 3px; border: 2px solid var(--ink); border-radius: 50%; background: #fff; box-sizing: content-box; }
.mood-p { background: var(--p); } .mood-b { background: var(--b); color: #fff; } .mood-b .ico { color: var(--ink); } .mood-l { background: var(--l); } .mood-y { background: var(--y); } .mood-o { background: var(--o); }

.duo { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 34px; align-items: start; }
.trend { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: none; }
.trend a { display: grid; grid-template-columns: 46px 44px minmax(0, 1fr); align-items: center; gap: 12px; padding: 8px 12px; background: #fff; border: var(--bd); border-radius: 14px; box-shadow: var(--sh-s); transition: transform .1s; }
.trend a:hover { transform: translate(1px, -1px) rotate(-.6deg); }
.trend-n { font: 900 30px/1 var(--fh); text-align: center; color: #fff; -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; text-shadow: -2px 2px 0 var(--ink); }
.trend li:nth-child(5n+1) .trend-n { color: var(--p); } .trend li:nth-child(5n+2) .trend-n { color: var(--b); } .trend li:nth-child(5n+3) .trend-n { color: var(--l); } .trend li:nth-child(5n+4) .trend-n { color: var(--y); } .trend li:nth-child(5n) .trend-n { color: var(--o); }
.trend-p { width: 44px; height: 64px; border: 2.5px solid var(--ink); border-radius: 8px; overflow: hidden; background: hsl(var(--h) 80% 75%); }
.trend-p img, .trend-p .nopic { width: 100%; height: 100%; object-fit: cover; font-size: 16px; }
.trend-b { min-width: 0; display: flex; flex-direction: column; }
.trend-b b { font: 800 15.5px/1.4 var(--fh); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trend-b small { color: var(--mut); font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.swap { display: flex; gap: 10px; margin: -4px 0 20px; overflow-x: auto; padding: 4px 4px 6px; scrollbar-width: none; }
.swap button { flex: none; padding: 6px 16px; border: 2.5px solid var(--ink); border-radius: 999px; background: #fff; font: 800 15px/1.5 var(--fh); box-shadow: -2px 2px 0 var(--ink); }
.swap button.on { background: var(--ink); color: var(--y); }

.boxc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.boxc { display: flex; min-width: 0; border: var(--bd); border-radius: 20px; overflow: hidden; box-shadow: var(--sh); background: #fff; transition: transform .1s; }
.boxc:hover { transform: translate(1px, -2px) rotate(-.6deg); }
.boxc-m { flex: none; width: 140px; position: relative; border-inline-end: var(--bd); }
.bx-p .boxc-m { background: var(--p); } .bx-b .boxc-m { background: var(--b); } .bx-l .boxc-m { background: var(--l); } .bx-y .boxc-m { background: var(--y); } .bx-o .boxc-m { background: var(--o); }
.boxc-m span { position: absolute; width: 74px; aspect-ratio: 2 / 3; border: 2.5px solid var(--ink); border-radius: 9px; overflow: hidden; background: #fff; box-shadow: -2px 2px 0 var(--ink); }
.boxc-m span:nth-child(1) { top: 14px; inset-inline-start: 12px; transform: rotate(-6deg); }
.boxc-m span:nth-child(2) { top: 38px; inset-inline-start: 44px; transform: rotate(5deg); }
.boxc-m span:nth-child(3) { top: 70px; inset-inline-start: 22px; transform: rotate(-2deg); }
.boxc-m img { width: 100%; height: 100%; object-fit: cover; }
.boxc-t { flex: 1; min-width: 0; padding: 16px; display: flex; flex-direction: column; gap: 4px; min-height: 190px; }
.boxc-t b { font: 900 19px/1.4 var(--fh); }
.boxc-t small { color: var(--mut); font-weight: 700; }
.boxc-t span { font-size: 14.5px; color: #3a3224; }

.about { position: relative; background: #fff; border: var(--bd); border-radius: 22px; box-shadow: var(--sh); padding: 32px 26px 24px; }
.about > .stk:first-child { position: absolute; top: -15px; inset-inline-start: 22px; transform: rotate(-3deg); }
.about h2 { font: 900 24px/1.4 var(--fh); margin-bottom: 8px; }
.about h3 { font: 800 18px/1.4 var(--fh); margin: 16px 0 4px; }
.about p { color: #3a3224; }

/* ---------- 列表 ---------- */
.tgs { display: flex; flex-wrap: wrap; gap: 9px; }
.tgs a, .tgs button { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; border: 2.5px solid var(--ink); border-radius: 999px; background: #fff; font: 700 14.5px/1.5 var(--fh); box-shadow: -2px 2px 0 var(--ink); transition: transform .1s, background .15s; }
.tgs a:hover, .tgs button:hover { background: var(--y); transform: rotate(-2deg); }
.tgs .on { background: var(--ink); color: var(--y); }
.tgs small { opacity: .75; font-weight: 600; }
.tgs-x { flex-wrap: nowrap; overflow-x: auto; padding: 4px 4px 8px; scrollbar-width: thin; }
.tgs-x > * { flex: none; }
.sortbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.seg { display: inline-flex; border: var(--bd); border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--sh-s); }
.seg a { padding: 8px 16px; font: 800 14.5px/1.5 var(--fh); }
.seg a + a { border-inline-start: var(--bd); }
.seg a:hover { background: var(--y); }
.seg a.on { background: var(--ink); color: var(--y); }
.drop { position: relative; }
.drop summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: var(--bd); border-radius: 14px; background: #fff; box-shadow: var(--sh-s); font: 800 14.5px/1.5 var(--fh); cursor: pointer; }
.drop summary::-webkit-details-marker { display: none; }
.drop summary small { color: var(--mut); font-weight: 700; }
.drop[open] summary { background: var(--y); }
.drop > div { position: absolute; top: calc(100% + 10px); inset-inline-start: 0; z-index: 20; width: max-content; max-width: min(92vw, 420px); display: flex; flex-wrap: wrap; gap: 8px; padding: 14px; background: #fff; border: var(--bd); border-radius: 16px; box-shadow: var(--sh-l); }
.drop > div a { padding: 4px 12px; border: 2px solid var(--ink); border-radius: 999px; font-weight: 700; font-size: 14px; }
.drop > div a:hover { background: var(--y); }
.drop > div a.on { background: var(--ink); color: var(--y); }
.go-sel { padding: 5px 10px; border: 2px solid var(--ink); border-radius: 10px; background: #fff; font-weight: 700; font-size: 14px; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 36px; }
.pager a, .pager b, .pager span { min-width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 12px; border: var(--bd); border-radius: 12px; background: #fff; box-shadow: var(--sh-s); font: 800 16px var(--fh); }
.pager a:hover { background: var(--y); }
.pager a:active { transform: translate(-3px, 3px); box-shadow: none; }
.pager b { background: var(--ink); color: var(--y); }
.pager .pg-gap { border: 0; background: none; box-shadow: none; min-width: 20px; padding: 0; }

.stkgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.stkgrid a { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: var(--bd); border-radius: 16px; box-shadow: var(--sh-s); transition: transform .1s, box-shadow .1s; }
.stkgrid a:nth-child(5n+1) { background: var(--y); } .stkgrid a:nth-child(5n+2) { background: var(--p); } .stkgrid a:nth-child(5n+3) { background: #fff; } .stkgrid a:nth-child(5n+4) { background: var(--l); } .stkgrid a:nth-child(5n) { background: var(--o); }
.stkgrid a:hover { transform: translate(1px, -2px) rotate(-1deg); box-shadow: var(--sh); }
.stkgrid a:active { transform: translate(-3px, 3px); box-shadow: none; }
.stkgrid b { font: 800 18px/1.4 var(--fh); }
.stkgrid small { font-weight: 700; opacity: .8; }
.stkgrid .flag { font-size: 26px; line-height: 1.2; }

/* ---------- 详情 ---------- */
.dh { position: relative; display: grid; grid-template-columns: 300px minmax(0, 1fr); grid-template-areas: "po head" "po body"; grid-template-rows: auto 1fr; gap: 6px 40px; padding: 34px; background: #fff; border: var(--bd); border-radius: 26px; box-shadow: var(--sh-l); overflow: hidden; }
.dh-bd { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.dh-bd img { width: 100%; height: 100%; object-fit: cover; opacity: .14; filter: saturate(1.4); }
.dh-bd::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .15)); }
.dh > :not(.dh-bd) { position: relative; z-index: 1; }
.dh-po { grid-area: po; align-self: start; position: relative; }
.dh-po > span { display: block; aspect-ratio: 2 / 3; border: 4px solid var(--ink); border-radius: 20px; overflow: hidden; background: hsl(var(--h) 80% 72%); box-shadow: var(--sh-l); transform: rotate(-2deg); }
.dh-po img { width: 100%; height: 100%; object-fit: cover; }
.dh-po .nopic { font-size: 54px; }
.dh-q { position: absolute; top: -12px; inset-inline-end: -12px; z-index: 2; transform: rotate(7deg); font-size: 16px; padding: 4px 14px; }
.dh-head { grid-area: head; }
.dh-k { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.dh h1 { font: 900 clamp(28px, 3.6vw, 48px)/1.25 var(--fh); }
.dh-en { margin-top: 6px; font: 700 17px/1.4 var(--fb); color: var(--mut); text-align: right; }
.dh-body { grid-area: body; min-width: 0; }
.dh-stats { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.dh-stats li { padding: 8px 14px; border: 2.5px solid var(--ink); border-radius: 14px; box-shadow: -2px 2px 0 var(--ink); background: #fff; }
.dh-stats li:nth-child(5n+1) { background: #ffe6f2; } .dh-stats li:nth-child(5n+2) { background: #e4ecff; } .dh-stats li:nth-child(5n+3) { background: #f0fbd8; } .dh-stats li:nth-child(5n+4) { background: #fff3c4; } .dh-stats li:nth-child(5n) { background: #ffe8d9; }
.dh-stats b { display: block; font: 900 22px/1.35 var(--fh); }
.dh-stats small { font-weight: 700; color: var(--mut); font-size: 13px; }
.dh-act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.dh-act .kbtn { min-height: 52px; font-size: 16px; }
.dh-story { margin-top: 30px; }
.dh-story p { font-size: 16.5px; }
.dh-next { margin-top: 16px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; border: 2.5px dashed var(--ink); border-radius: 14px; background: #fff7d6; font-weight: 700; }
.dh-next a { text-decoration: underline 2px var(--p); }
.ibxs { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px 16px; margin: 10px 0 0; padding-top: 8px; }
.ibx { position: relative; padding: 24px 16px 14px; background: #fff; border: var(--bd); border-radius: 16px; box-shadow: var(--sh-s); min-width: 0; }
.ibx dt { position: absolute; top: -14px; inset-inline-start: 14px; transform: rotate(-2deg); }
.ibx dd { margin: 0; font-weight: 700; font-size: 16px; overflow-wrap: anywhere; }
.ibx dd a { text-decoration: underline 2px var(--p); text-underline-offset: 3px; }
.ibx dd a:hover { background: var(--y); }
.crew { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 20px 16px; }
.crew li { text-align: center; min-width: 0; }
.crew-i { display: grid; place-items: center; aspect-ratio: 1; margin-bottom: 8px; border: var(--bd); border-radius: 22px; overflow: hidden; font: 900 34px var(--fh); font-style: normal; box-shadow: var(--sh-s); background: var(--y); }
.crew-i img { width: 100%; height: 100%; object-fit: cover; }
.cw-p { background: var(--p); } .cw-b { background: var(--b); color: #fff; } .cw-l { background: var(--l); } .cw-y { background: var(--y); } .cw-o { background: var(--o); }
.crew li:nth-child(even) .crew-i { transform: rotate(2deg); }
.crew li:nth-child(odd) .crew-i { transform: rotate(-2deg); }
.crew b { display: block; font: 800 14.5px/1.4 var(--fh); }
.crew small { display: block; color: var(--mut); font-size: 12.5px; font-weight: 600; }
.dsec { margin-top: 0; }
.dsec .box-h { margin-bottom: 18px; }

/* 集 */
.eps { min-width: 0; }
.rng { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.rng button { padding: 4px 12px; border: 2.5px solid var(--ink); border-radius: 10px; background: #fff; font: 800 14px var(--fh); box-shadow: -2px 2px 0 var(--ink); }
.rng button.on { background: var(--p); }
.rng-b button { font-size: 13px; padding: 2px 10px; }
.eps-body { transition: opacity .15s; }
.eplist { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 20px 16px; }
.ept { display: flex; flex-direction: column; min-width: 0; background: #fff; border: var(--bd); border-radius: 16px; overflow: hidden; box-shadow: var(--sh-s); transition: transform .1s, box-shadow .1s; }
a.ept:hover { transform: translate(1px, -2px); box-shadow: var(--sh); }
a.ept:active { transform: translate(-3px, 3px); box-shadow: none; }
.ept-f { position: relative; display: block; aspect-ratio: 16 / 9; border-bottom: var(--bd); background: hsl(var(--h) 75% 72%); }
.ept-f img { width: 100%; height: 100%; object-fit: cover; }
.ept-n { position: absolute; bottom: 2px; inset-inline-start: 10px; font: 900 42px/1 var(--fh); color: #fff; -webkit-text-stroke: 2.5px var(--ink); paint-order: stroke fill; text-shadow: -3px 3px 0 var(--ink); }
.ept-s { position: absolute; top: 8px; inset-inline-end: 8px; transform: rotate(4deg); font-size: 12px; }
.ept-b { display: flex; flex-direction: column; padding: 8px 12px 10px; min-width: 0; }
.ept-b b { font: 800 15px/1.4 var(--fh); }
.ept-b small { color: var(--mut); font-size: 12.5px; font-weight: 600; }
.ept-x { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ept.soon .ept-f { filter: grayscale(1); opacity: .7; }
span.ept.soon { opacity: .7; box-shadow: none; border-style: dashed; }
.ept.on { outline: 4px solid var(--p); outline-offset: 3px; }
.epn { display: grid; grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: 10px; }
.epn a, .epn span { display: grid; place-items: center; height: 48px; border: 2.5px solid var(--ink); border-radius: 12px; background: #fff; font: 800 16px var(--fh); box-shadow: -2px 2px 0 var(--ink); }
.epn a:hover { background: var(--y); }
.epn a.on { background: var(--p); }
.epn .soon { border-style: dashed; box-shadow: none; opacity: .6; }
.epn a.soon { opacity: .85; }

/* 常见问题 */
.qna-l { display: grid; gap: 16px; }
.qn { background: #fff; border: var(--bd); border-radius: 18px; box-shadow: var(--sh-s); overflow: hidden; }
.qn summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 14px 16px; cursor: pointer; }
.qn summary::-webkit-details-marker { display: none; }
.qn summary:hover { background: #fffaea; }
.qn h3 { flex: 1; min-width: 0; font: 800 17px/1.5 var(--fh); }
.qn-s { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border: var(--bd); border-radius: 13px; font: 900 22px/1 var(--fh); box-shadow: -2px 2px 0 var(--ink); transform: rotate(-6deg); }
.qn-p summary .qn-s { background: var(--p); } .qn-b summary .qn-s { background: var(--b); color: #fff; } .qn-l summary .qn-s { background: var(--l); } .qn-y summary .qn-s { background: var(--y); } .qn-o summary .qn-s { background: var(--o); }
.qn-x { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border: 2.5px solid var(--ink); border-radius: 50%; transition: transform .2s; }
.qn[open] .qn-x { transform: rotate(45deg); background: var(--ink); color: var(--y); }
.qn-a { display: flex; gap: 14px; padding: 14px 16px 18px; border-top: 3px dashed var(--ink); background: #fffbef; }
.qn-a .qn-s { background: #fff; transform: rotate(5deg); }
.qn-a p { flex: 1; font-size: 16px; align-self: center; }

/* ---------- 播放 ---------- */
.stage { position: relative; border: 4px solid var(--ink); border-radius: 22px; overflow: hidden; background: #111; box-shadow: var(--sh-l); }
.scr { position: relative; aspect-ratio: 16 / 9; background: #111; color: #fff; }
.scr-in { position: absolute; inset: 0; background: #1c1a14 center / cover no-repeat; }
.scr-in::before { content: ''; position: absolute; inset: 0; background: radial-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, .65)); }
.scr-in iframe, .scr iframe, .scr video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; z-index: 2; }
.scr-play { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; width: 100%; border: 0; background: none; color: var(--ink); }
.scr-play > span { width: 104px; height: 104px; display: grid; place-items: center; border: 4px solid var(--ink); border-radius: 50%; background: var(--y); box-shadow: -6px 6px 0 var(--ink); transition: transform .1s, box-shadow .1s; }
.scr-play:hover > span { transform: scale(1.06) rotate(-6deg); }
.scr-play:active > span { transform: translate(-6px, 6px); box-shadow: none; }
.scr-play .ico { width: 44px; height: 44px; margin-left: 8px; }
.scr-play small { padding: 4px 14px; border: 2.5px solid var(--ink); border-radius: 999px; background: #fff; font: 800 15px var(--fh); box-shadow: -2px 2px 0 var(--ink); }
.scr-msg { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 20px; text-align: center; }
.scr-msg b, .scr-msg span, .scr-msg code { padding: 6px 16px; border: var(--bd); border-radius: 14px; background: #fff; color: var(--ink); box-shadow: var(--sh-s); }
.scr-msg b { font: 900 19px/1.5 var(--fh); background: var(--y); }
.scr-msg span { font-weight: 700; }
.scr-msg code { direction: ltr; font-size: 12px; max-width: 90%; overflow-wrap: anywhere; }
.scr-re { position: absolute; bottom: 16px; inset-inline-start: 16px; z-index: 3; }
.nx-cd { position: absolute; bottom: 16px; inset-inline-end: 16px; z-index: 4; padding: 14px 16px; background: #fff; color: var(--ink); border: var(--bd); border-radius: 16px; box-shadow: var(--sh); font-weight: 700; max-width: 320px; }
.nx-cd .nx-m { color: var(--mut); font-size: 14px; }
.nx-row { display: flex; gap: 8px; margin-top: 8px; }
body.dim::before { content: ''; position: fixed; inset: 0; z-index: 45; background: rgba(17, 17, 17, .9); }
body.dim .stage { z-index: 46; }
body.dim .mast { z-index: 40; }
.tbar { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.tbar .kbtn.on, #lights.on { background: var(--l); }
.wt { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 26px; align-items: start; }
.wt-main h1 { font: 900 clamp(24px, 3vw, 36px)/1.3 var(--fh); }
.wt-en { font-weight: 700; color: var(--mut); text-align: right; margin-top: 2px; }
.wt-name { font: 800 19px/1.4 var(--fh); margin-top: 10px; }
.wt-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.wt-main > p { font-size: 16px; }
.wt-side { display: flex; flex-direction: column; gap: 14px; }
.epnav { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.epnav .kbtn { flex: 1; min-width: 130px; }
.chans { display: grid; gap: 16px; }
.chg { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.chg > .stk { margin-inline-end: 4px; }
.chg button { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border: var(--bd); border-radius: 14px; background: #fff; box-shadow: var(--sh-s); font: 800 14.5px/1.3 var(--fh); text-align: start; transition: transform .08s, box-shadow .08s; }
.chg button:active { transform: translate(-3px, 3px); box-shadow: none; }
.chg button i { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 50%; font-style: normal; background: var(--bg); font-size: 13px; }
.chg button small { display: block; color: var(--mut); font: 600 12px var(--fb); }
.chg button.on { background: var(--y); }
.chg button.on i { background: var(--ink); color: var(--y); }
.chg button.miss { opacity: .5; box-shadow: none; border-style: dashed; }
.soon-box p { margin-top: 12px; }
.soon-box .kbtn { margin-top: 16px; }

/* ---------- 播出表 ---------- */
.statz { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 16px; }
.statz li { padding: 10px 20px; border: var(--bd); border-radius: 16px; box-shadow: var(--sh-s); min-width: 150px; }
.statz li:nth-child(1) { background: var(--p); } .statz li:nth-child(2) { background: var(--l); } .statz li:nth-child(3) { background: #fff; }
.statz b { display: block; font: 900 32px/1.2 var(--fh); }
.statz small { font-weight: 700; }
.cal-days { display: flex; gap: 10px; overflow-x: auto; padding: 4px 4px 10px; scrollbar-width: thin; }
.cal-days button { flex: none; display: flex; flex-direction: column; align-items: center; min-width: 78px; padding: 8px 12px; border: var(--bd); border-radius: 14px; background: #fff; box-shadow: var(--sh-s); }
.cal-days button b { font: 900 16px/1.3 var(--fh); }
.cal-days button small { font-weight: 700; font-size: 12.5px; color: var(--mut); }
.cal-days button.on { background: var(--ink); color: var(--y); transform: rotate(-2deg); }
.cal-days button.on small { color: #fff; }
.cal-kinds { margin: 16px 0 22px; }
.cal-day { margin-top: 0; }
.cal-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 6px; border-bottom: 2.5px dashed rgba(17, 17, 17, .35); }
.cal-row:last-of-type { border-bottom: 0; }
.cal-row:hover { background: #fffaea; }
.cal-p { width: 52px; height: 76px; border: 2.5px solid var(--ink); border-radius: 9px; overflow: hidden; background: hsl(var(--h) 80% 75%); }
.cal-p img, .cal-p .nopic { width: 100%; height: 100%; object-fit: cover; }
.cal-b { min-width: 0; display: flex; flex-direction: column; }
.cal-b > span { font-weight: 600; }
.cal-b b { font: 800 16.5px/1.4 var(--fh); }
.cal-b small { color: var(--mut); font-size: 13px; font-weight: 600; }
.cal-row .stk { font-size: 13px; }
.cal-row.today .stk { background: var(--p); }

/* ---------- 搜索、404、单页 ---------- */
.qbig { position: relative; display: flex; height: 70px; background: #fff; border: 4px solid var(--ink); border-radius: 20px; box-shadow: var(--sh-l); }
.qbig input { flex: 1; min-width: 0; border: 0; background: none; padding: 0 22px; font: 800 21px var(--fb); border-radius: 20px; }
.qbig input:focus { outline: 0; }
.qbig .qbar-go { width: 120px; margin: -4px; margin-inline-start: 0; border-width: 4px; font: 900 18px var(--fh); gap: 8px; display: flex; align-items: center; justify-content: center; }
[dir=rtl] .qbig .qbar-go { border-radius: 20px 0 0 20px; }
.qbig .qsug { top: calc(100% + 14px); }
.noq { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 40px 20px; }
.noq b { font: 900 60px/1 var(--fh); color: var(--p); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; text-shadow: -4px 4px 0 var(--ink); }
.noq h2 { font: 900 24px var(--fh); }
.lost { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 30px 40px; padding: 36px; background: var(--y); border: var(--bd); border-radius: 26px; box-shadow: var(--sh-l); }
.lost-n { font: 900 clamp(90px, 15vw, 180px)/1 var(--fh); color: var(--p); -webkit-text-stroke: 5px var(--ink); paint-order: stroke fill; text-shadow: -9px 9px 0 var(--ink); transform: rotate(-5deg); }
.lost h1 { font: 900 clamp(26px, 3.4vw, 40px)/1.3 var(--fh); }
.lost p { font-weight: 700; margin: 8px 0 18px; }
.lost .qbig { height: 60px; margin-bottom: 16px; }
.doc { position: relative; background: #fff; border: var(--bd); border-radius: 24px; box-shadow: var(--sh-l); padding: 38px clamp(20px, 4vw, 48px); }
.doc > .stk:first-child { position: absolute; top: -15px; inset-inline-start: 24px; transform: rotate(-3deg); }
.doc h1 { font: 900 clamp(26px, 3.4vw, 40px)/1.3 var(--fh); margin-bottom: 18px; }
.doc h2 { font: 900 22px/1.4 var(--fh); margin: 26px 0 8px; }
.doc h3 { font: 800 18px/1.4 var(--fh); margin: 20px 0 6px; }
.doc p, .doc ul, .doc ol { margin: 0 0 12px; font-size: 16.5px; }
.doc a, .doc .mail { text-decoration: underline 2px var(--p); text-underline-offset: 3px; }
.doc-u { color: var(--mut); font-weight: 700; font-size: 14px; margin-bottom: 8px; }

/* ---------- 专题 ---------- */
.ch-h { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 30px; align-items: center; padding: 30px; background: #fff; border: var(--bd); border-radius: 26px; box-shadow: var(--sh-l); }
.ch-h .boxc-m { width: 100%; height: 250px; border: var(--bd); border-radius: 18px; background: var(--p); }
.ch-h .boxc-m span { width: 110px; }
.ch-h .boxc-m span:nth-child(2) { inset-inline-start: 80px; top: 30px; }
.ch-h .boxc-m span:nth-child(3) { inset-inline-start: 40px; top: 90px; }
.ch-h h1 { font: 900 clamp(26px, 3.4vw, 42px)/1.3 var(--fh); }
.ch-h p { margin-top: 10px; }

/* ---------- 页尾 ---------- */
.base { margin-top: auto; background: var(--y); border-top: var(--bd); }
.base-in { max-width: var(--w); margin: 0 auto; padding: 44px 20px 34px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.5fr); gap: 34px; }
.base-brand .logo b { font-size: 26px; }
.base-brand p { margin-top: 12px; font-weight: 700; }
.base-stk { display: flex; flex-wrap: wrap; gap: 8px; }
.base-col { display: flex; flex-direction: column; gap: 4px; }
.base-col b, .base-kw b { font: 900 18px/1.4 var(--fh); margin-bottom: 8px; display: inline-block; border-bottom: 4px solid var(--ink); align-self: flex-start; }
.base-col a { font-weight: 700; padding: 2px 0; }
.base-col a:hover { text-decoration: underline 3px var(--p); }
.base-kw p { display: flex; flex-wrap: wrap; gap: 9px; }
.base-legal { background: var(--ink); color: #f5edd6; padding: 18px 20px; text-align: center; display: flex; flex-direction: column; gap: 4px; }
.base-legal small { font-size: 13px; max-width: 900px; margin: 0 auto; }
.tmdb-attr b { color: var(--y); }

.toast { position: fixed; bottom: 22px; left: 50%; z-index: 90; transform: translate(-50%, 160%); padding: 12px 20px; background: var(--ink); color: var(--y); border: var(--bd); border-radius: 14px; box-shadow: -4px 4px 0 var(--p); font: 800 15px var(--fh); transition: transform .25s cubic-bezier(.2, .9, .3, 1.3); max-width: calc(100vw - 30px); text-align: center; }
.toast.on { transform: translate(-50%, 0); }
.ckbar { position: fixed; bottom: 14px; inset-inline: 14px; z-index: 80; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; max-width: 760px; margin: 0 auto; padding: 14px 18px; background: #fff; border: var(--bd); border-radius: 16px; box-shadow: var(--sh-l); font-weight: 600; }
.ckbar span { flex: 1; min-width: 200px; }
.ckbar a { text-decoration: underline; }

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
  .kgrid-row { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .kgrid-row > :nth-child(n+11) { display: none; }
  .epk-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .epk-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .base-in { grid-template-columns: 1fr 1fr; }
  .wt { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "hi hi" "feat feat" "mia mib"; gap: 20px; }
  .feat { min-height: 420px; }
  .duo { grid-template-columns: 1fr; }
  .tkts { grid-template-columns: 1fr 1fr; }
  .dh { grid-template-columns: 220px minmax(0, 1fr); padding: 26px; gap: 6px 28px; }
  .kgrid-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .kgrid-row > :nth-child(n+9) { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 15.5px; }
  html { scroll-padding-top: 80px; }
  .mast-in { padding: 9px 12px; gap: 9px; }
  .logo b { display: none; }
  .logo .mk { width: 44px; height: 44px; }
  .logo-img img { height: var(--logo-h-m); }
  .qbar { height: 48px; border-radius: 13px; box-shadow: var(--sh-s); }
  .qbar input { font-size: 15.5px; padding: 0 12px; }
  .qbar-go { width: 48px; }
  [dir=rtl] .qbar-go { border-radius: 13px 0 0 13px; }
  .qbar-go .ico { width: 22px; height: 22px; }
  .mast-my { display: none; }
  .mbtn { min-height: 48px; width: 48px; padding: 0; border-radius: 13px; }
  .mbtn span { display: none; }
  .qsug { position: fixed; top: 74px; inset-inline: 10px; }
  .sheet-in { padding: 18px 14px 20px; }
  .sheet-nav { grid-template-columns: 1fr 1fr; gap: 10px; }
  .sheet-a { padding: 11px 12px; font-size: 15px; box-shadow: var(--sh-s); }
  .sheet-a .ico { width: 20px; height: 20px; }
  .strip-in { padding: 8px 12px; gap: 8px; }
  .strip a { font-size: 13.5px; padding: 4px 12px; }
  .page { padding: 18px 14px 56px; }
  .page > * + * { margin-top: 34px; }
  .phead { padding: 26px 18px 20px; border-radius: 18px; box-shadow: var(--sh); }
  .phead p { font-size: 15.5px; }
  .bh { margin-bottom: 16px; }
  .bh small { font-size: 13.5px; }
  .bento { gap: 18px; }
  .bento-hi { padding: 28px 18px 20px; border-radius: 20px; box-shadow: var(--sh); }
  .feat { min-height: 380px; border-radius: 20px; box-shadow: var(--sh); }
  .feat-b { inset-inline: 10px; bottom: 10px; padding: 12px 14px 14px; }
  .feat-o { display: none; }
  .feat-a .kbtn { min-height: 42px; padding: 6px 14px; }
  .mini h2 { font-size: 15px; }
  .mini-t { padding: 10px; }
  .mini .stk { font-size: 11.5px; padding: 1px 8px; }
  .kgrid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 22px 14px; }
  .kgrid-row { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 40%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -14px; padding: 4px 14px 12px 14px; scrollbar-width: none; }
  .kgrid-row::-webkit-scrollbar { display: none; }
  .kgrid-row > * { scroll-snap-align: start; }
  .kgrid-row > :nth-child(n) { display: flex; }
  .kard-f { border-radius: 13px; box-shadow: var(--sh-s); }
  .kard-t { font-size: 14.5px; }
  .kard-n { font-size: 60px; }
  .tkts { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-template-rows: repeat(2, auto); grid-auto-columns: 86%; overflow-x: auto; margin: 0 -14px; padding: 16px 14px 14px; gap: 16px 14px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .tkts .tkt { scroll-snap-align: start; box-shadow: var(--sh-s); }
  .tkt-n { width: 70px; font-size: 40px; }
  .tkt::before, .tkt::after { inset-inline-start: 58px; }
  .epk-grid, .epk-grid-2 { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 72%; overflow-x: auto; margin: 0 -14px; padding: 4px 14px 12px; gap: 14px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .epk { scroll-snap-align: start; }
  .epk-f { box-shadow: var(--sh-s); }
  .moods { gap: 10px; }
  .mood-a { font-size: 15.5px; padding: 9px 14px; box-shadow: var(--sh-s); }
  .lns { grid-template-columns: 1fr; }
  .box { padding: 18px 14px; border-radius: 18px; box-shadow: var(--sh-s); }
  .about { padding: 28px 16px 20px; }
  .dh { grid-template-columns: 118px minmax(0, 1fr); grid-template-areas: "po head" "body body"; padding: 20px 16px; gap: 14px 16px; border-radius: 20px; box-shadow: var(--sh); }
  .dh-po > span { border-width: 3px; border-radius: 14px; box-shadow: var(--sh-s); }
  .dh-q { font-size: 12px; padding: 1px 9px; top: -9px; inset-inline-end: -8px; }
  .dh h1 { font-size: 23px; }
  .dh-en { font-size: 14px; }
  .dh-k { gap: 6px; margin-bottom: 8px; }
  .dh-k .stk { font-size: 11.5px; padding: 1px 8px; }
  .dh-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 4px; gap: 10px; }
  .dh-stats b { font-size: 18px; }
  .dh-act .kbtn { flex: 1; min-height: 48px; padding: 6px 12px; }
  .dh-story { margin-top: 24px; }
  .ibxs { grid-template-columns: 1fr; }
  .crew { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 12px; }
  .eplist { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
  .ept-n { font-size: 32px; }
  .ept-b { padding: 6px 9px 8px; }
  .ept-x { display: none; }
  .epn { grid-template-columns: repeat(auto-fill, minmax(48px, 1fr)); gap: 8px; }
  .qn summary { padding: 12px; gap: 10px; }
  .qn h3 { font-size: 15.5px; }
  .qn-s { width: 38px; height: 38px; font-size: 18px; }
  .qn-x { width: 28px; height: 28px; }
  .qn-a { padding: 12px; gap: 10px; }
  .qn-a p { font-size: 15px; }
  .stage { border-width: 3px; border-radius: 16px; box-shadow: var(--sh); margin-inline: -4px; }
  .scr-play > span { width: 76px; height: 76px; }
  .scr-play .ico { width: 32px; height: 32px; }
  .scr-play small { font-size: 13px; }
  .tbar { gap: 8px; }
  .tbar .kbtn { flex: 1 1 auto; padding: 5px 10px; }
  .tbar .kbtn span { font-size: 13px; }
  .chg button { padding: 6px 10px 6px 8px; font-size: 13.5px; }
  .statz li { min-width: 0; flex: 1; padding: 8px 12px; }
  .statz b { font-size: 24px; }
  .cal-row { grid-template-columns: 46px minmax(0, 1fr); gap: 10px; }
  .cal-row .stk { grid-column: 2; justify-self: start; }
  .cal-p { width: 46px; height: 68px; }
  .qbig { height: 58px; border-width: 3px; box-shadow: var(--sh); }
  .qbig input { font-size: 16px; padding: 0 14px; }
  .qbig .qbar-go { width: 58px; border-width: 3px; margin: -3px; margin-inline-start: 0; }
  .qbig .qbar-go span { display: none; }
  .lost { grid-template-columns: 1fr; padding: 26px 18px; text-align: center; }
  .lost .kbtn { margin: 0 auto; }
  .stkgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .stkgrid a { padding: 10px 12px; }
  .stkgrid b { font-size: 15.5px; }
  .boxc-grid { grid-template-columns: 1fr; }
  .boxc-m { width: 118px; }
  .ch-h { grid-template-columns: 1fr; padding: 20px; }
  .ch-h .boxc-m { height: 200px; }
  .seg a { padding: 7px 11px; font-size: 13.5px; }
  .drop summary { padding: 7px 11px; font-size: 13.5px; }
  .base-in { grid-template-columns: 1fr 1fr; gap: 26px 18px; padding: 34px 16px 26px; }
  .base-brand, .base-kw { grid-column: 1 / -1; }
  .doc { padding: 32px 18px 22px; }
}
@media (max-width: 380px) {
  .kgrid-row { grid-auto-columns: 46%; }
  .sheet-a { font-size: 14px; }
}
/* ---------- 补充 ---------- */
.toast { visibility: hidden; }
.toast.on { visibility: visible; }
.prog { position: absolute; inset-inline: 8px; bottom: 8px; height: 10px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; overflow: hidden; }
.prog i { display: block; height: 100%; background: var(--p); }
.duo-1 { grid-template-columns: 1fr; }
.duo-1 .trend { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.blk-note { margin-top: 18px; }
.eps-box { margin-top: 16px; }
.tgs-season { margin-bottom: 4px; }
.season-pick { margin-bottom: 12px; }
.wt-side { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.wt-side:empty { display: none; }
.wt-side-h { align-self: flex-start; transform: rotate(-2deg); font-size: 15px; }
.wt-side > .kbtn { align-self: flex-start; }
.wt:has(> .wt-side:empty) { grid-template-columns: 1fr; }
.chg button { display: inline-grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 8px; align-items: center; }
.chg button i { grid-row: 1 / 3; }
.chg button span { line-height: 1.3; }
.srch h1 { font: 900 clamp(26px, 3.4vw, 40px)/1.3 var(--fh); margin-bottom: 18px; }
.srch-n { margin-top: 16px; font-weight: 700; }
.ch-k { margin: 0 0 10px; }
.ch-h h1 + .doc-u { margin-top: 6px; }
.tkts-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) {
  .duo-1 .trend { grid-template-columns: 1fr; }
  .tkts.tkts-list { grid-auto-flow: row; grid-template-columns: 1fr; grid-template-rows: none; overflow: visible; margin: 0; padding: 14px 0 0; }
  .wt-side-h { font-size: 13.5px; }
  .bh { flex-wrap: nowrap; }
  .bh small { display: none; }
  .bh-t { font-size: 19px; padding: 3px 13px 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .tkt-i { width: 44px; margin-inline: 12px 0; }
  [dir=rtl] .tkt-i { margin: 10px 14px 10px 0; }
  .tkt-x { padding: 8px 10px; }
  .tkt-x b { font-size: 15px; }
  .tkt-r { margin-inline-end: 10px; padding: 1px 6px; font-size: 12.5px; }
  .moods .mood-a:nth-child(n+11) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
