:root {
  --bg: #0a0a0c;
  --card: #14141a;
  --elevated: #16161c;
  --active: #1e1e26;
  --text: #fff;
  --muted: #94a3b8;
  --yellow: #ffe300;
  --border: rgba(255, 255, 255, 0.06);
  --strong: rgba(255, 255, 255, 0.12);
}

/* The home page remains a normal scrollable page.  Only the full-screen
   short-drama player owns vertical swipe gestures, with a short directional
   transition so a single swipe cannot look like an abrupt re-render. */
.short-screen { touch-action: pan-x; will-change: transform, opacity; }
.short-screen.swipe-transition { pointer-events: none; }
.short-screen.swipe-out-next { animation: bird-swipe-next 180ms cubic-bezier(.2,.7,.2,1) both; }
.short-screen.swipe-out-previous { animation: bird-swipe-previous 180ms cubic-bezier(.2,.7,.2,1) both; }
.video-page .player-box { touch-action: pan-x; }
.video-page .player-box.swipe-transition { pointer-events: none; }
.video-page .player-box.swipe-out-next { animation: bird-swipe-next 180ms cubic-bezier(.2,.7,.2,1) both; }
.video-page .player-box.swipe-out-previous { animation: bird-swipe-previous 180ms cubic-bezier(.2,.7,.2,1) both; }
@keyframes bird-swipe-next { to { transform: translateY(-12%); opacity: .18; } }
@keyframes bird-swipe-previous { to { transform: translateY(12%); opacity: .18; } }
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    14px -apple-system,
    BlinkMacSystemFont,
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
}
button,
input,
select {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}
input,
select {
  background: var(--card);
  border: 1px solid var(--strong);
  color: var(--text);
  border-radius: 8px;
  padding: 11px 13px;
  min-width: 0;
}
button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
.desktop-header {
  height: 60px;
  border-bottom: 1px solid var(--border);
  background: #0a0a0a;
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-inner {
  max-width: 1600px;
  height: 100%;
  margin: auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.brand span {
  color: var(--yellow);
  font-size: 21px;
  font-weight: 950;
  letter-spacing: -2px;
  border: 2px solid var(--yellow);
  border-radius: 50%;
  padding: 4px 5px;
  line-height: 1;
}
.header-inner nav {
  display: flex;
  gap: 24px;
  align-items: center;
  white-space: nowrap;
}

.live-index,.live-room-page{padding-bottom:44px}.live-hero{margin:24px 0;padding:32px;border-radius:16px;background:linear-gradient(110deg,#201b02,#17141a 58%,#10272d);display:flex;justify-content:space-between;align-items:center;gap:20px}.live-hero small{letter-spacing:2px;color:var(--yellow);font-weight:800}.live-hero h1{font-size:28px;margin:8px 0}.live-hero p{color:var(--muted);max-width:620px}.live-shelf,.live-recommend{padding:20px;border-radius:14px;background:linear-gradient(180deg,#17171b,#101014)}.live-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.live-card{min-width:0}.live-thumb{display:block;position:relative;overflow:hidden;border-radius:9px;aspect-ratio:16/10;background:#17171c}.live-thumb img{width:100%;height:100%;object-fit:cover}.live-badge,.live-hd,.live-thumb>b{position:absolute;font-weight:800;font-size:12px;border-radius:4px;padding:3px 6px}.live-badge{left:7px;top:7px;color:#fff;background:rgba(20,20,24,.75)}.live-badge::first-letter{color:#ff4b52}.live-hd{right:7px;top:7px;background:rgba(20,20,24,.75)}.live-thumb>b{right:7px;bottom:7px;background:rgba(0,0,0,.65)}.live-card h3{font-size:15px;margin:8px 0 4px}.live-card p{color:var(--muted);margin:0}.live-stage{position:relative;overflow:hidden;background:#020204;border-radius:0 0 12px 12px;aspect-ratio:16/9}.live-stage video{display:block;width:100%;height:100%;object-fit:cover}.live-badge--stage{z-index:1}.live-mute{position:absolute;right:16px;top:16px;z-index:2;width:42px;height:42px;border-radius:50%;background:rgba(0,0,0,.48);font-size:18px}.live-notice{position:absolute;z-index:2;bottom:20px;left:20px;max-width:520px;display:flex;gap:10px;padding:10px 14px;border-left:4px solid var(--yellow);border-radius:8px;background:rgba(10,10,12,.72);backdrop-filter:blur(6px)}.live-notice b{color:var(--yellow);white-space:nowrap}.live-notice p{margin:0;line-height:1.5}.live-lock{position:absolute;inset:0;z-index:3;display:none;align-items:center;justify-content:center;flex-direction:column;text-align:center;background:rgba(4,4,7,.88);padding:24px}.live-lock.show{display:flex}.live-lock>span{font-size:38px}.live-lock h2{margin:14px 0 8px;font-size:24px}.live-lock p{margin:0 0 22px;color:var(--muted)}.live-lock .primary{min-width:260px}.live-trial{margin:18px 0;padding:15px 18px;display:flex;align-items:center;gap:10px;border-radius:12px;background:linear-gradient(100deg,#ff9500,#a329d6);font-size:17px}.live-trial>a{margin-left:auto;font-weight:800}.live-trial.ended{background:linear-gradient(100deg,#5b3030,#44214f)}.live-room-meta{display:flex;align-items:center;justify-content:space-between;padding:4px 0 22px}.live-room-meta h1{font-size:24px}.live-room-meta p{margin:7px 0 0;color:var(--muted)}.live-room-meta button{padding:9px 14px;border:1px solid var(--strong);border-radius:8px}.live-chat-form{display:grid;gap:16px}.live-chat-form label{display:grid;gap:8px;color:var(--muted)}
@media(max-width:760px){.live-index{padding:0 12px 70px}.live-hero{margin:12px 0;padding:22px;align-items:flex-start;flex-direction:column}.live-hero h1{font-size:24px}.live-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.live-shelf,.live-recommend{padding:14px}.live-room-page{padding:0 12px 72px}.live-stage{margin:0 -12px;border-radius:0;aspect-ratio:9/14}.live-stage video{object-fit:cover}.live-notice{left:14px;right:14px;bottom:16px;font-size:13px}.live-lock h2{font-size:21px}.live-lock .primary{min-width:220px}.live-trial{font-size:14px;padding:13px}.live-trial>a{font-size:12px}.live-room-meta{padding:18px 0}.live-room-meta h1{font-size:22px}}

.vip-page{padding-bottom:44px}.vip-tabs{display:flex;gap:20px;border-bottom:1px solid var(--border);margin-bottom:18px}.vip-tabs a{padding:14px 4px;color:var(--muted)}.vip-tabs a.active{color:var(--yellow);border-bottom:3px solid var(--yellow)}.vip-user{display:flex;gap:12px;align-items:center;padding:16px;border-radius:12px;background:var(--card)}.vip-user>span{font-size:30px;color:var(--yellow)}.vip-user p,.vip-intro{color:var(--muted);margin:5px 0}.vip-user a{margin-left:auto;color:var(--yellow)}.vip-plan-list{display:grid;gap:12px}.vip-plan{position:relative;display:flex;text-align:left;align-items:center;gap:16px;padding:18px;border-radius:14px;background:var(--card);border:1px solid var(--border)}.vip-plan.featured{border-color:var(--yellow);box-shadow:0 0 20px rgba(255,227,0,.12)}.vip-plan-badge{align-self:flex-start;padding:3px 7px;border-radius:4px;background:#4d4220;color:var(--yellow);font-size:12px;font-weight:800}.vip-plan h2{margin:0;font-size:18px}.vip-plan p,.vip-plan small{color:var(--muted);margin:5px 0}.vip-price{margin-left:auto;display:grid;text-align:right}.vip-price b{color:var(--yellow);font-size:23px}.vip-price del{color:var(--muted)}.vip-price em{color:#ff6f9e;font-style:normal;font-size:12px}.coin-panel{display:grid;gap:14px;padding:20px;border-radius:14px;background:var(--card)}.coin-panel>b{font-size:34px;color:var(--yellow)}.coin-panel>small{color:var(--muted)}.coin-options{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.coin-options button{padding:14px;border-radius:9px;border:1px solid var(--strong);background:var(--elevated)}.coin-options small,.coin-custom{color:var(--muted)}.coin-custom{display:grid;gap:7px}.checkout-preview{display:grid;gap:14px}.checkout-preview p{color:var(--muted)}
.short-feed{max-width:760px;margin:auto;min-height:100vh;background:#070709}.short-tabs{height:68px;display:flex;justify-content:center;gap:35px;align-items:center}.short-tabs button{font-size:20px;font-weight:800;color:var(--muted)}.short-tabs .active{color:#fff;border-bottom:4px solid var(--yellow);padding-bottom:9px}.short-screen{position:relative;overflow:hidden;aspect-ratio:9/15;background:#101014}.short-screen video{width:100%;height:100%;object-fit:cover}.short-limit{position:absolute;z-index:2;top:48%;left:50%;transform:translate(-50%,-50%);white-space:nowrap;background:rgba(20,20,25,.7);border:1px solid #8d6c1b;border-radius:30px;padding:8px 13px;color:#e8c264}.short-actions{position:absolute;right:14px;bottom:100px;z-index:2;display:grid;gap:20px}.short-actions button{display:grid;font-size:29px}.short-actions small{font-size:12px}.short-copy{position:absolute;left:16px;right:75px;bottom:36px;z-index:2;text-shadow:0 1px 5px #000}.short-copy p{color:#d8c17a}.short-copy h2{font-size:18px;margin:6px 0}.short-copy span{color:#d3d3d7}.short-lock{display:none;position:absolute;inset:0;z-index:3;align-items:center;justify-content:center;flex-direction:column;text-align:center;background:rgba(4,4,7,.9);padding:24px}.short-lock.show{display:flex}.short-lock p{color:var(--muted);margin:8px 0 20px}.short-vip{display:block;padding:16px;text-align:center;background:linear-gradient(90deg,#f7c048,#ffe288);color:#352707;font-weight:800}.community-page{position:relative;max-width:1100px;padding-bottom:76px}.community-head{padding:18px 0;border-bottom:1px solid var(--border)}.community-tabs,.community-filter{display:flex;gap:20px;align-items:center}.community-tabs{justify-content:center;margin-bottom:28px}.community-tabs button,.community-filter button{color:var(--muted);font-weight:700}.community-tabs .active,.community-filter .active{color:var(--yellow)}.community-filter button:last-child{margin-left:auto;border:1px solid var(--strong);padding:8px 12px;border-radius:20px}.community-feed{max-width:760px;margin:0 auto}.community-post{padding:20px 0;border-bottom:1px solid var(--border)}.community-post header{display:flex;align-items:center;gap:10px}.community-avatar{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#28304a;color:var(--yellow)}.community-post header small,.community-post footer{color:var(--muted)}.community-post header button{margin-left:auto;font-size:24px}.community-post h2{font-size:18px;margin:12px 0 7px}.community-post>p{color:#c9ced7}.community-media{position:relative;display:grid;grid-template-columns:2fr 1fr;gap:5px;margin:13px 0}.community-media img{width:100%;height:170px;object-fit:cover;border-radius:8px}.community-media img:nth-child(2){filter:brightness(.72)}.community-media span{position:absolute;left:44%;top:43%;font-size:34px}.community-timer{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);z-index:4;padding:12px 20px;border-radius:24px;background:linear-gradient(90deg,#ff9b13,#9a35df);font-weight:800}.community-lock{display:none;position:fixed;z-index:10;inset:0;background:rgba(3,3,5,.88);align-items:center;justify-content:center;flex-direction:column;text-align:center}.community-lock.show{display:flex}.community-lock p{color:var(--muted);margin:10px 0 20px}.community-lock>button{margin-top:14px;color:var(--muted)}
@media(max-width:760px){.vip-page{padding:0 14px 70px}.vip-plan{padding:14px;gap:10px}.vip-plan-badge{display:none}.vip-plan h2{font-size:16px}.vip-plan small{font-size:11px}.vip-price b{font-size:19px}.community-page{padding:0 14px 76px}.community-filter{gap:15px;overflow:auto}.community-filter button:last-child{display:none}.community-media img{height:120px}.community-post{padding:16px 0}}
.community-page{padding-bottom:86px}.community-post{cursor:pointer}.community-post:hover h2{color:var(--yellow)}.community-avatar{width:42px;height:42px;background:linear-gradient(145deg,#38405a,#151823);font-weight:800}.community-post>p{line-height:1.6}.community-tags{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0}.community-tags span{color:#6f9ee9;font-size:13px}.community-media img:first-child{grid-row:span 2;height:345px;background:#17171d}.community-media-3 img:last-of-type{filter:brightness(.8)}.community-media-4 img:nth-child(4){display:none}.community-media i{position:absolute;left:44%;top:43%;width:50px;height:50px;border-radius:50%;display:grid;place-items:center;background:rgba(10,10,13,.72);font-size:21px;font-style:normal}.community-media em{position:absolute;right:12%;bottom:13%;font-size:18px;font-style:normal;font-weight:800}.community-timer{white-space:nowrap}.community-timer.expired{background:linear-gradient(90deg,#d85b36,#ad2879)}.community-lock{flex-direction:row}.community-lock-card{padding:34px;max-width:360px;background:#14141b;border:1px solid var(--strong);border-radius:16px}.community-lock-card>span{font-size:34px}.community-lock-card>button{display:block;margin:14px auto 0;color:var(--muted)}.community-detail{padding-bottom:88px}.community-detail-card{padding:20px 0}.community-detail-card>header{display:flex;gap:10px;align-items:center}.community-detail-card>header small{display:block;color:var(--muted);margin-top:3px}.community-detail-card h1{font-size:25px;margin:22px 0 10px}.community-detail-card>p,.community-detail-card section p{line-height:1.7;color:#c9ced7}.community-detail-gallery{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:18px 0}.community-detail-gallery img{width:100%;height:210px;object-fit:cover;border-radius:10px;background:#17171d}.community-detail-card section{border-top:1px solid var(--border);margin-top:20px;padding-top:18px}.community-detail-card footer{padding-top:20px;color:var(--muted)}.community-search-form label{display:grid;gap:9px;color:var(--muted)}.community-search-form input{background:#101016;border:1px solid var(--strong);border-radius:8px;padding:12px;color:#fff}.community-search-form .primary{width:100%;margin-top:14px}.community-search-results{display:grid;gap:8px}.community-search-results button{text-align:left;padding:13px;border:1px solid var(--border);border-radius:8px}.community-search-results span{display:block;font-size:13px;color:var(--muted);margin-top:4px}.panel-empty{color:var(--muted);text-align:center;padding:25px}
.community-post footer button,.community-detail-card footer button{color:var(--muted);font:inherit;padding:0}.community-post footer button:hover,.community-detail-card footer button:hover{color:var(--yellow)}
.channel-picker{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:16px 0}.channel-option{display:flex;align-items:center;gap:7px;padding:10px;border:1px solid var(--border);border-radius:8px;color:var(--muted)}.channel-option:has(input:checked){border-color:var(--yellow);color:#fff}.channel-option small{margin-left:auto;color:var(--yellow);font-size:11px}@media(max-width:760px){.channel-picker{grid-template-columns:repeat(2,1fr)}}
.short-highlight{position:absolute;top:16px;left:16px;z-index:2;padding:6px 9px;border-radius:6px;background:rgba(255,211,38,.9);color:#2a2200;font-weight:800;font-size:12px}.short-episode{position:absolute;top:16px;right:16px;z-index:2;color:#fff;background:rgba(0,0,0,.5);padding:6px 9px;border-radius:6px;font-size:12px}
.video-preview-lock{display:none;position:absolute;inset:0;z-index:3;align-items:center;justify-content:center;flex-direction:column;text-align:center;background:rgba(5,5,8,.88);padding:20px}.video-preview-lock.show{display:flex}.video-preview-lock b{font-size:22px}.video-preview-lock p{color:var(--muted);margin:9px 0 18px}.video-preview-lock .primary{min-width:220px;text-align:center}
.short-tabs a[href="/community/topics"]{display:none}
.site-footer{margin-top:48px;border-top:1px solid var(--border);background:#0d0d11}.footer-grid{max-width:1440px;margin:0 auto;padding:32px max(24px,calc((100vw - 1440px)/2));display:grid;grid-template-columns:repeat(auto-fit,minmax(148px,1fr));gap:28px}.footer-links{display:grid;align-content:start;gap:10px}.footer-links h2{margin:0 0 3px;font-size:14px;color:#f2f3f7}.footer-links a{width:max-content;max-width:100%;color:var(--muted);font-size:13px;line-height:1.45}.footer-links a:hover,.footer-links a:focus-visible{color:var(--yellow);text-decoration:underline;text-underline-offset:3px}@media(max-width:760px){.site-footer{margin-top:28px;margin-bottom:58px}.footer-grid{padding:24px 16px;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 18px}.footer-links h2{font-size:13px}.footer-links a{font-size:12px}}
.update-count{font-size:12px;color:var(--muted);font-weight:600;margin-left:10px}.update-count i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#ff4e5b;box-shadow:0 0 0 3px rgba(255,78,91,.14);margin:0 5px 1px 0}
.local-topics-page{max-width:1100px;padding-bottom:86px}.local-tabs{padding:18px 0;margin-bottom:0;border-bottom:1px solid var(--border)}.local-tabs a{color:var(--muted);font-weight:800}.local-tabs a.active{color:var(--yellow)}.local-topic-hero{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:28px;border-radius:0 0 14px 14px;background:linear-gradient(120deg,#222641,#15141c 62%,#243530)}.local-topic-hero h1{margin:0 0 7px}.local-topic-hero p{margin:0;color:var(--muted)}.local-topic-hero button{padding:10px 14px;border:1px solid var(--strong);border-radius:20px}.local-topic-types{display:flex;gap:10px;margin:22px 0}.local-topic-types button{padding:8px 14px;border-radius:18px;color:var(--muted)}.local-topic-types button.active{background:var(--yellow);color:#24200b}.local-topic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.local-topic-card{display:flex;gap:11px;padding:10px;border-bottom:1px solid var(--border);cursor:pointer}.local-topic-card:hover{background:#14141a}.local-topic-card img{width:132px;height:96px;object-fit:cover;border-radius:8px;background:#17171d}.local-topic-card div{min-width:0}.local-topic-card b,.local-topic-card small,.local-topic-card p,.local-topic-card span{display:block}.local-topic-card b{font-size:15px}.local-topic-card small,.local-topic-card p{color:var(--muted);font-size:12px;margin-top:6px}.local-topic-card p{line-height:1.45;margin-bottom:6px}.local-topic-card span{color:#7fa4eb;font-size:12px}.topic-access{padding:16px;border:1px solid var(--strong);border-radius:12px;background:#14141a}.topic-access .primary{margin-top:8px}@media(max-width:760px){.local-topics-page{padding:0 14px 80px}.local-topic-hero{padding:22px}.local-topic-grid{grid-template-columns:1fr}.local-topic-card img{width:120px;height:88px}.local-topic-types{overflow:auto;white-space:nowrap}.local-tabs{padding-left:0;padding-right:0}}
.header-inner nav a {
  color: var(--muted);
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 7px;
  position: relative;
  height: 60px;
}
.header-inner nav a.active,
.header-inner nav a.vip {
  color: var(--yellow);
}
.nav-icon {
  font-size: 17px;
  line-height: 1;
}
.nav-badge {
  position: absolute;
  right: -18px;
  top: 5px;
  color: #171000;
  background: var(--yellow);
  font-size: 9px;
  border-radius: 5px 5px 5px 0;
  padding: 1px 4px;
}
.header-search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--strong);
  background: #131318;
  height: 34px;
  border-radius: 22px;
  padding: 0 14px;
  flex: 1;
  color: var(--muted);
  min-width: 120px;
  font-size: 12px;
}
.header-search b {
  font-size: 26px;
  font-weight: 400;
  margin-left: 10px;
}
.header-search span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.quick-header {
  display: flex;
  gap: 20px;
}
.quick-header a {
  font-size: 10px;
  color: var(--muted);
  text-align: center;
  white-space: nowrap;
}
.quick-header a span {
  display: block;
  font-size: 19px;
  color: var(--yellow);
  line-height: 1.1;
}
.download {
  border-radius: 24px;
  background: #15151c;
  border: 1px solid var(--strong);
  padding: 12px 14px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.header-user {
  display: flex;
  flex-direction: column;
  text-align: right;
  gap: 4px;
  font-size: 12px;
  white-space: nowrap;
}
.header-user small {
  color: var(--muted);
  font-size: 11px;
}
.header-avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 50%;
  background: #171923;
  color: #8b9bae;
  font-size: 20px;
}
main {
  min-height: calc(100vh - 60px);
}
.wide {
  max-width: 1400px;
  margin: auto;
}
.narrow {
  max-width: 900px;
  margin: auto;
}
.mobile-head {
  display: none;
}
.channels {
  display: flex;
  gap: 2px;
  align-items: center;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
  height: 51px;
}
.channel-scroll {
  display: flex;
  gap: 2px;
  flex: 1;
  overflow: auto;
  scrollbar-width: none;
  min-width: 0;
}
.channels a,
.channels button {
  font-size: 14px;
  color: var(--muted);
  height: 32px;
  padding: 0 14px;
  white-space: nowrap;
  border-radius: 8px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.channels a.active {
  color: var(--yellow);
  font-weight: 700;
}
.channels a.active:after {
  content: "";
  position: absolute;
  width: 22px;
  height: 3px;
  background: var(--yellow);
  bottom: -1px;
  border-radius: 3px;
}
.channels > button {
  font-size: 12px;
  padding-right: 8px;
}
.promo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 5px 12px;
}
.promo {
  aspect-ratio: 5/2;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 15px 18px;
  position: relative;
  background: #21323d;
  border: 1px solid #ffffff10;
}
.promo:after {
  content: "DEMO";
  position: absolute;
  font-size: 54px;
  font-weight: 900;
  right: -10px;
  bottom: -13px;
  opacity: 0.08;
}
.promo.gold {
  background: linear-gradient(110deg, #38291a, #70512b);
}
.promo b {
  font-size: 20px;
  color: #eee;
  letter-spacing: 1px;
}
.promo.gold b {
  color: #ffe3a7;
}
.promo p {
  font-size: 10px;
  margin-top: 7px;
  color: #bbcfdb;
}
.promo small {
  position: absolute;
  right: 7px;
  top: 6px;
  color: #bbc5cb;
  font-size: 8px;
}
.shortcuts {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 8px;
  padding: 11px 9px 3px;
}
.shortcut {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  padding: 0;
  min-width: 0;
}
.shortcut span {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid #7e6a345e;
  display: grid;
  place-items: center;
  font-size: 28px;
  background: radial-gradient(circle at 50% 35%, #293e3e, #14161d 70%);
  color: #dcc36e;
}
.shortcut:nth-child(3n + 2) span {
  color: #74b3cc;
  background: radial-gradient(circle at 50% 35%, #263f56, #14161d 70%);
}
.shortcut:nth-child(3n) span {
  color: #c79555;
  background: radial-gradient(circle at 50% 35%, #483421, #14161d 70%);
}
.shortcut em {
  font-style: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  white-space: nowrap;
}
.announcement {
  margin: 12px 12px 0;
  background: #101014;
  border: 1px solid var(--border);
  height: 37px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 8px;
  padding: 0 13px;
  color: var(--muted);
  font-size: 12px;
  overflow: hidden;
  white-space: nowrap;
}
.announcement b {
  color: var(--yellow);
  font-weight: 400;
  font-size: 17px;
}
.announcement p {
  overflow: hidden;
  text-overflow: ellipsis;
}
.playlist {
  padding: 14px 0 4px;
}
.block-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 12px 16px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(#1e1d1d 24%, transparent);
}
.block-header h2 {
  color: var(--yellow);
  font-size: 16px;
  font-weight: 700;
  padding-left: 8px;
  border-left: 3px solid var(--yellow);
  line-height: 1.1;
}
.block-header a {
  color: var(--yellow);
  font-size: 12px;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 10px;
  padding: 0 12px 8px;
}
.video-card {
  min-width: 0;
}
.thumb {
  display: block;
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 6px;
  background: #171a20;
}
.thumb img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.6) brightness(0.68);
}
.thumb:hover img {
  filter: saturate(0.8) brightness(0.9);
}
.placeholder-mark {
  position: absolute;
  top: 7px;
  left: 7px;
  font-size: 9px;
  letter-spacing: 1px;
  padding: 3px 5px;
  background: #0a0a0c8c;
  color: #d6dce1;
  border: 1px solid #ffffff18;
  border-radius: 3px;
}
.duration {
  position: absolute;
  right: 5px;
  bottom: 5px;
  background: #0009;
  padding: 2px 4px;
  font-size: 10px;
  color: #d8d8da;
  border-radius: 2px;
}
.video-card h3 {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.5;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin: 6px 0 0;
}
.card-note {
  font-size: 10px;
  color: #676f7b;
  margin: 4px 0;
}
.block-actions {
  display: flex;
  gap: 10px;
  padding: 4px 12px 6px;
}
.block-actions button,
.block-actions a {
  width: 50%;
  padding: 7px;
  text-align: center;
  border-radius: 8px;
  background: #15151b;
  color: #7e8797;
  font-size: 12px;
}
.block-actions button:hover,
.block-actions a:hover {
  color: var(--yellow);
  background: #1d1d23;
}
.end {
  text-align: center;
  color: #555c66;
  font-size: 12px;
  padding: 26px 10px 40px;
}
.page-header {
  display: flex;
  align-items: center;
  gap: 15px;
  height: 58px;
  border-bottom: 1px solid var(--border);
  padding: 0 16px;
}
.page-header button,
.page-header > a {
  font-size: 25px;
  color: #bac0cc;
  width: 30px;
  flex-shrink: 0;
}
.page-header h1 {
  font-size: 17px;
  font-weight: 600;
  flex: 1;
  text-align: center;
  padding-right: 45px;
}
.search-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
}
.back {
  font-size: 26px;
  color: #a6afbe;
  flex-shrink: 0;
}
.search-form {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 12px;
}
.search-form input {
  flex: 1;
  height: 40px;
  border-radius: 22px;
  padding: 0 18px;
  background: #19191f;
  border-color: transparent;
}
.search-form button {
  color: var(--yellow);
  font-size: 15px;
}
.search-content {
  padding: 24px 24px 40px;
}
.search-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.subhead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 18px;
  gap: 12px;
}
.subhead h2 {
  font-size: 16px;
  font-weight: 600;
}
.subhead button,
.subhead a {
  color: var(--muted);
  font-size: 12px;
}
.history-tags {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  min-height: 60px;
}
.history-tags a,
.hot-grid button {
  font-size: 13px;
  color: var(--muted);
}
.history-tags a {
  padding: 7px 14px;
  border-radius: 20px;
  background: #19191f;
  height: 32px;
}
.history-empty {
  color: #596170;
  font-size: 13px;
  padding: 15px 0;
}
.hot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 12px;
  padding-bottom: 22px;
}
.hot-grid button {
  text-align: left;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hot-grid b {
  color: #ed7668;
  font-weight: 500;
}
.hot-grid small {
  color: #fff;
  background: #e65c42;
  font-size: 8px;
  padding: 1px 3px;
  border-radius: 2px;
}
.guess {
  margin-top: 28px;
}
.guess .video-grid {
  padding: 0;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.guess .thumb {
  aspect-ratio: 16/10;
}
.result-tabs {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 22px;
}
.result-tabs button {
  padding: 13px 2px;
  font-size: 14px;
  color: var(--muted);
}
.result-tabs button.active {
  color: var(--yellow);
  border-bottom: 2px solid var(--yellow);
}
.result-label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
}
.result-sort {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.result-sort select {
  font-size: 12px;
  padding: 6px 9px;
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 18px;
  align-items: center;
  padding: 24px;
  font-size: 12px;
  color: var(--muted);
}
.pagination button,
.pagination a {
  padding: 8px 16px;
  border: 1px solid var(--strong);
  border-radius: 6px;
}
.empty {
  text-align: center;
  padding: 65px 15px;
  color: #7c8594;
  line-height: 2;
}
.empty b {
  display: block;
  font-size: 33px;
  color: #626c7b;
  margin-bottom: 15px;
}
.empty h2 {
  color: #bdc5cf;
  font-size: 17px;
  font-weight: 500;
}
.empty p {
  font-size: 12px;
  margin-top: 8px;
}
.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 7px;
  font-size: 13px;
}
.primary {
  background: var(--yellow);
  color: #191600;
  font-weight: 700;
}
.secondary {
  border: 1px solid var(--strong);
  color: var(--muted);
  background: #18181f;
}
.reference-secondary #main > .readonly-line.narrow {
  max-width: 680px;
}
.readonly-line-body {
  width: 100%;
  padding: clamp(24px, 5vw, 48px) clamp(20px, 4vw, 36px) 56px;
}
.readonly-line-card {
  width: 100%;
  padding: clamp(22px, 4vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: linear-gradient(145deg, #1a1a20, #121217);
  box-shadow: 0 18px 38px -26px #000;
}
.readonly-line-card > span {
  display: block;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.readonly-line-card h2 {
  margin-top: 10px;
  font-size: clamp(20px, 3vw, 24px);
  line-height: 1.25;
}
.readonly-line-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.readonly-line-back {
  display: flex;
  width: 100%;
  min-height: 44px;
  margin-top: 16px;
}
.empty .primary {
  margin-top: 20px;
}
.library-body {
  display: grid;
  grid-template-columns: 160px 1fr;
  min-height: 420px;
  padding: 18px 0;
}
.library-cats {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border);
  gap: 7px;
}
.library-cats a {
  padding: 13px 20px;
  color: #a2abba;
  font-size: 14px;
  position: relative;
}
.library-cats a.active {
  background: #1a1912;
  color: var(--yellow);
  font-weight: 600;
}
.library-cats a.active:before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  bottom: 15px;
  width: 3px;
  background: var(--yellow);
}
.library-tags {
  padding: 0 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: flex-start;
}
.library-tags a {
  padding: 10px 18px;
  background: #19191f;
  border-radius: 5px;
  color: var(--muted);
  font-size: 13px;
}
.library-tags a:hover {
  color: var(--yellow);
  background: #292719;
}
.library-note {
  font-size: 11px;
  color: #626a78;
  padding: 0 20px 20px;
}
.collection-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 20px 12px;
}
.collection-header h1 {
  font-size: 20px;
}
.collection-header p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}
.collection-header select {
  font-size: 12px;
}
.video-page {
  max-width: 1500px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  min-height: calc(100vh - 60px);
  margin: auto;
  align-items: start;
}
.view-player {
  display: flex;
  flex-direction: column;
  align-self: start;
  justify-content: flex-start;
  background: #080809;
  padding: 0 0 30px;
}
.player-box {
  position: relative;
  width: 100%;
  background: #000;
  aspect-ratio: 16/9;
}
.player-box video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.player-state {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #000b;
  color: #f5f5f5;
  font-size: 14px;
  text-align: center;
  pointer-events: none;
}
.player-state[hidden] { display: none; }
.player-state[data-state="error"] { color: #ffcf58; }
.player-back {
  position: absolute;
  left: 16px;
  top: 16px;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  background: #0009;
  display: grid;
  place-items: center;
  font-size: 24px;
  z-index: 1;
}
.vip-strip {
  display: flex;
  gap: 8px;
  align-items: center;
  background: linear-gradient(90deg, #352d18, #1c1a13);
  color: #ebd8a3;
  font-size: 12px;
  padding: 12px 16px;
}
.vip-strip a {
  color: var(--yellow);
  margin-left: auto;
}
.player-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  font-size: 11px;
  color: var(--muted);
}
.play-cta {
  color: #191600;
  background: var(--yellow);
  border-radius: 6px;
  padding: 10px 17px;
  font-weight: 600;
  font-size: 12px;
}
.detail-panel {
  background: #000;
  border-left: 1px solid var(--border);
  padding: 25px 20px;
}
.detail-panel h1 {
  font-size: 20px;
  line-height: 1.6;
  font-weight: 600;
}
.detail-meta {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: #7c8897;
  margin-top: 13px;
}
.detail-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 18px 0;
}
.detail-tags a {
  border-radius: 5px;
  background: #1c1c24;
  padding: 5px 10px;
  color: #9da7b7;
  font-size: 11px;
}
.detail-actions {
  display: flex;
  justify-content: space-around;
  border-bottom: 1px solid var(--border);
  padding: 15px 0 20px;
  gap: 10px;
}
.detail-actions button {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}
.detail-actions button span {
  font-size: 24px;
}
.detail-actions button[aria-pressed="true"] {
  color: var(--yellow);
}
.detail-summary {
  color: #7b8797;
  font-size: 12px;
  line-height: 1.9;
  margin: 18px 0;
}
.details-tabs {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid var(--border);
  margin: 25px 0 15px;
}
.details-tabs h2 {
  font-size: 14px;
  padding: 12px 0;
  color: var(--yellow);
  border-bottom: 2px solid var(--yellow);
}
.detail-related {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 9px;
}
.detail-related h3 {
  font-size: 11px;
}
/* Server-rendered video details remain visible until the client is ready.
   These classes deliberately mirror the player/detail split without relying
   on JavaScript or hiding the semantic fallback from no-JS visitors. */
.seo-video-page {
  max-width: 1500px;
  min-height: calc(100vh - 60px);
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  background: #080809;
}
.seo-view-player { min-width: 0; background: #080809; padding-bottom: 24px; }
.seo-player-box { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #020203; }
.seo-player-box > img { display: block; width: 100%; height: 100%; object-fit: contain; opacity: .78; }
.seo-player-status { position: absolute; inset: 0; display: grid; place-content: center; gap: 8px; text-align: center; background: linear-gradient(90deg, #0008, transparent 45%, #0006); text-shadow: 0 1px 5px #000; }
.seo-player-status span { width: 48px; height: 48px; margin: auto; display: grid; place-items: center; border: 1px solid #fff8; border-radius: 50%; background: #0008; padding-left: 3px; }
.seo-player-status b { font-size: 15px; }
.seo-player-status small, .seo-player-note, .seo-detail-summary, .seo-access-note { color: var(--muted); line-height: 1.7; }
.seo-player-note { margin: 14px 16px 0; font-size: 12px; }
.seo-detail-panel { min-width: 0; padding: 25px 20px; border-left: 1px solid var(--border); background: #000; }
.seo-detail-panel h1 { font-size: 20px; line-height: 1.6; }
.seo-detail-summary { margin: 16px 0; font-size: 12px; }
.seo-access-note { margin: 12px 0; font-size: 12px; color: #e8d29a; }
.seo-library-link { display: inline-block; padding: 9px 12px; border: 1px solid var(--strong); border-radius: 6px; color: var(--yellow); font-size: 12px; }
.seo-breadcrumbs { display: flex; flex-wrap: wrap; gap: 7px; margin: 20px 0 8px; color: var(--muted); font-size: 12px; }
.seo-breadcrumbs a { color: #b8c3d2; }
.seo-related { margin-top: 22px; }
.seo-related h2 { margin-bottom: 10px; padding-bottom: 9px; border-bottom: 1px solid var(--border); color: var(--yellow); font-size: 14px; }
.seo-related ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin: 0; padding: 0; list-style: none; }
.seo-related li { min-width: 0; padding: 9px; border-radius: 6px; background: #17171d; font-size: 12px; line-height: 1.45; }
.seo-related a { display: block; overflow: hidden; color: #d9dce3; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 760px) {
  .seo-video-page { display: block; min-height: calc(100vh - 60px); }
  .seo-player-box { aspect-ratio: 16/10; }
  .seo-detail-panel { padding: 16px 14px; border-left: 0; }
  .seo-detail-panel h1 { font-size: 20px; }
  .seo-related ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.profile-page {
  padding-bottom: 35px;
}
.profile-hero {
  padding: 35px 24px 24px;
  background: radial-gradient(ellipse at 50% -30%, #4a3e34, transparent 75%),
    linear-gradient(#272427, #0a0a0c);
  position: relative;
}
.profile-user {
  display: flex;
  align-items: center;
  gap: 17px;
}
.profile-avatar {
  border: 2px solid #b99f6a;
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(130deg, #6c695b, #252e3a);
  font-size: 28px;
  color: #e3d7af;
}
.profile-name {
  font-size: 21px;
  font-weight: 650;
}
.profile-id {
  color: #b1a99d;
  font-size: 11px;
  margin-top: 9px;
  display: flex;
  gap: 9px;
  align-items: center;
}
.switch-account {
  margin-left: auto;
  border: 1px solid #82735e66;
  border-radius: 15px;
  padding: 6px 12px;
  color: #ddceab;
  font-size: 11px;
}
.watch-stats {
  margin: 24px 0 0;
  border: 1px solid #a9946f24;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 15px 18px;
  background: #17171b99;
  font-size: 12px;
  color: #a3a9b3;
}
.watch-stats strong {
  font-weight: 500;
  color: #d9c69b;
}
.profile-body {
  padding: 0 20px;
}
.wallet {
  background: linear-gradient(110deg, #25201a, #14141a);
  border-radius: 12px;
  padding: 22px;
  border: 1px solid #c9ac5a28;
}
.wallet-label {
  color: #b6a78b;
  font-size: 12px;
}
.wallet-label small {
  font-size: 10px;
  color: #7e7b78;
  margin-left: 8px;
}
.wallet-amount {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 13px 0 20px;
}
.wallet-amount b {
  font-size: 35px;
  font-weight: 550;
}
.wallet-amount button {
  color: #99928a;
  font-size: 11px;
}
.wallet-buttons {
  display: flex;
  gap: 12px;
}
.wallet-buttons a,
.wallet-buttons button {
  flex: 1;
  text-align: center;
  padding: 11px;
  background: #252323;
  border-radius: 6px;
  font-size: 12px;
  color: #ccb98e;
}
.wallet-buttons a:first-child {
  background: linear-gradient(110deg, #dbc593, #ad8e56);
  color: #302612;
  font-weight: 650;
}
.invite-banner {
  display: flex;
  gap: 14px;
  align-items: center;
  border-radius: 10px;
  margin: 16px 0;
  padding: 15px 18px;
  background: linear-gradient(110deg, #322416, #241910);
  border: 1px solid #5a422126;
}
.invite-banner > span {
  font-size: 29px;
  color: #dcbb70;
}
.invite-banner b {
  font-size: 14px;
  color: #efd7a0;
}
.invite-banner p {
  color: #8e806b;
  font-size: 10px;
  margin-top: 6px;
}
.invite-banner a {
  margin-left: auto;
  border: 1px solid #b69b69;
  color: #d8bd82;
  border-radius: 15px;
  padding: 6px 13px;
  font-size: 11px;
  white-space: nowrap;
}
.member-card {
  border: 1px solid #82715344;
  background: radial-gradient(ellipse at right, #48402a77, transparent), #1c1b1e;
  border-radius: 12px;
  padding: 18px 20px;
  position: relative;
  color: #d7c59d;
}
.member-card h2 {
  font-size: 14px;
  font-weight: 500;
}
.member-card > b {
  display: block;
  font-size: 24px;
  letter-spacing: 1px;
  margin: 14px 0 8px;
}
.member-card p {
  font-size: 10px;
  color: #a4977c;
  line-height: 1.6;
}
.member-card a {
  position: absolute;
  right: 20px;
  top: 45px;
  padding: 8px 13px;
  border: 1px solid #82715377;
  border-radius: 6px;
  font-size: 11px;
}
.profile-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 18px 0;
  padding: 18px 0;
  border-radius: 12px;
  background: var(--card);
}
.profile-trio a {
  text-align: center;
  color: #b3bac6;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.profile-trio span {
  color: #d9bf73;
  font-size: 25px;
}
.function-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--card);
  padding: 22px 8px;
  border-radius: 12px;
  gap: 25px 4px;
}
.function-grid a,
.function-grid button {
  display: flex;
  flex-direction: column;
  gap: 11px;
  align-items: center;
  font-size: 11px;
  color: #9da7b6;
}
.function-grid span {
  font-size: 24px;
  color: #aab5c8;
}
.version {
  color: #444a55;
  text-align: center;
  font-size: 10px;
  margin-top: 30px;
}
.profile-tab-content {
  padding: 20px 12px;
}
.profile-tab-content .video-grid {
  padding: 0;
}
.form-page {
  max-width: 480px;
  margin: 50px auto;
  padding: 30px 24px;
  background: #111116;
  border: 1px solid var(--border);
  border-radius: 12px;
}
.login-tabs {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 25px;
}
.login-tabs button {
  font-size: 16px;
  padding: 12px 0;
  color: var(--muted);
}
.login-tabs button.active {
  color: var(--yellow);
  border-bottom: 2px solid var(--yellow);
}
.form-page label,
.settings label {
  display: block;
  margin: 20px 0;
  font-size: 12px;
  color: var(--muted);
}
.form-page input,
.settings input {
  display: block;
  width: 100%;
  margin-top: 9px;
  height: 45px;
}
.form-page .primary {
  width: 100%;
  margin-top: 5px;
}
.form-error {
  font-size: 12px;
  color: #e68e85;
  min-height: 20px;
  margin: 12px 0;
}
.form-links {
  display: flex;
  justify-content: space-between;
  margin-top: 21px;
}
.form-links button,
.form-links a {
  font-size: 12px;
  color: #a9a487;
}
.form-caption {
  color: #575f6d;
  font-size: 10px;
  line-height: 1.8;
  margin-top: 24px;
}
.settings {
  max-width: 500px;
  margin: auto;
  padding: 0 20px 30px;
}
.settings .primary {
  width: 100%;
}
.settings .secondary {
  margin-top: 15px;
  width: 100%;
}
.demo-page {
  padding: 24px 20px;
}
.demo-page h1 {
  font-size: 20px;
  margin-bottom: 15px;
}
.demo-note {
  color: #758091;
  font-size: 12px;
  line-height: 1.9;
  margin: 15px 0;
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  margin-top: 22px;
}
.plan {
  padding: 22px 15px;
  border: 1px solid #6b5f363d;
  border-radius: 12px;
  background: linear-gradient(145deg, #262014, #17171d);
  color: #d8c89d;
}
.plan h2 {
  font-size: 16px;
}
.plan p {
  font-size: 12px;
  color: #a99c7b;
  margin-top: 14px;
  line-height: 1.8;
}
.short-video {
  max-width: 420px;
  margin: 20px auto;
  height: min(80vh, 740px);
  position: relative;
  background: #101014;
}
.short-video video {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.short-info {
  position: absolute;
  bottom: 60px;
  left: 20px;
  right: 20px;
  background: #0008;
  padding: 12px;
}
.short-info h2 {
  font-size: 16px;
}
.short-info p {
  font-size: 11px;
  color: #c1c7d0;
  margin-top: 8px;
}
.short-nav {
  display: flex;
  gap: 20px;
  justify-content: center;
  padding: 14px;
}
.short-nav button {
  color: var(--yellow);
}
.loading {
  padding: 80px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.bottom-nav {
  display: none;
}
dialog {
  border: 1px solid var(--strong);
  border-radius: 14px;
  background: #17171d;
  color: white;
  padding: 0;
  width: min(460px, calc(100vw - 32px));
  max-height: 85vh;
  box-shadow: 0 20px 100px #0009;
}
dialog::backdrop {
  background: #000a;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--border);
}
.panel-head h2 {
  font-size: 17px;
}
.panel-head button {
  font-size: 25px;
  color: var(--muted);
}
#panel-body {
  padding: 20px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}
.panel-channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.panel-channels a {
  border: 1px solid var(--strong);
  padding: 8px;
  text-align: center;
  border-radius: 6px;
}
.panel-message {
  text-align: center;
  padding: 20px 0;
}
.panel-message b {
  font-size: 30px;
  color: var(--yellow);
  display: block;
  margin-bottom: 10px;
}
.panel-message p {
  margin: 15px 0;
  font-size: 12px;
}
.info-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.info-list a,
.info-list button {
  padding: 16px;
  background: #18181e;
  border-radius: 7px;
  text-align: left;
  font-size: 13px;
}
.info-list span {
  float: right;
  color: #747e8d;
}
#toast {
  position: fixed;
  bottom: 85px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  color: #eee;
  background: #29292fee;
  border: 1px solid var(--strong);
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 12px;
  max-width: 90vw;
  text-align: center;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
@media (max-width: 1200px) and (min-width: 901px) {
  .header-inner {
    gap: 15px;
    padding: 0 16px;
  }
  .header-inner nav {
    gap: 17px;
  }
  .header-inner nav a {
    font-size: 13px;
  }
  .download {
    font-size: 11px;
    padding: 10px;
  }
  .quick-header {
    gap: 13px;
  }
  .header-user {
    display: none;
  }
  .header-search {
    font-size: 11px;
  }
  .brand span {
    font-size: 17px;
  }
  .video-page {
    grid-template-columns: minmax(0, 1fr) 320px;
  }
  .shortcut span {
    width: 56px;
    height: 56px;
  }
  .shortcut {
    font-size: 11px;
  }
}
@media (max-width: 900px) {
  .desktop-header {
    display: none;
  }
  main {
    min-height: calc(100vh - 62px);
    padding-bottom: 62px;
  }
  .bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(60px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background: #101014f5;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 25;
  }
  .bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #9aa5b5;
    font-size: 10px;
    flex: 1;
    height: 100%;
  }
  .bottom-nav span {
    font-size: 23px;
    line-height: 1.1;
  }
  .bottom-nav a.active {
    color: var(--yellow);
  }
  .mobile-head {
    display: flex;
    height: 58px;
    align-items: center;
    gap: 12px;
    padding: 0 12px;
  }
  .mobile-logo {
    font-size: 21px;
    color: var(--yellow);
    font-weight: 900;
    letter-spacing: -2px;
    width: 46px;
  }
  .mobile-search {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px;
    background: #17171d;
    border-radius: 18px;
    color: #748092;
    font-size: 11px;
  }
  .mobile-search span {
    font-size: 18px;
  }
  .mobile-quick {
    display: flex;
    gap: 12px;
    color: var(--muted);
  }
  .mobile-quick a {
    text-align: center;
    font-size: 9px;
  }
  .mobile-quick span {
    display: block;
    color: #b5a664;
    font-size: 18px;
  }
  .channels {
    height: 43px;
    padding: 3px 8px;
  }
  .channels a {
    font-size: 14px;
    padding: 0 12px;
  }
  .channels > button {
    font-size: 20px;
    padding: 0 7px;
  }
  .promo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 8px 12px;
  }
  .promo {
    border-radius: 8px;
    padding: 10px 12px;
  }
  .promo b {
    font-size: 16px;
  }
  .promo p {
    font-size: 8px;
    margin-top: 5px;
  }
  .promo small {
    font-size: 6px;
    top: 4px;
    right: 5px;
  }
  .promo:after {
    font-size: 36px;
  }
  .shortcuts {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px 0;
    padding: 8px 8px 3px;
  }
  .shortcut span {
    width: 47px;
    height: 47px;
    font-size: 22px;
  }
  .shortcut {
    font-size: 10px;
    gap: 6px;
  }
  .announcement {
    margin: 11px 12px 0;
    height: 32px;
    font-size: 10px;
    padding: 0 8px;
  }
  .announcement b {
    font-size: 14px;
  }
  .playlist {
    padding-top: 12px;
  }
  .block-header {
    padding: 12px 12px 14px;
  }
  .block-header h2 {
    font-size: 15px;
  }
  .block-header a {
    font-size: 11px;
  }
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px 9px;
  }
  .thumb {
    aspect-ratio: 16/10;
  }
  .video-card h3 {
    font-size: 11px;
    line-height: 1.5;
  }
  .duration {
    font-size: 8px;
  }
  .placeholder-mark {
    font-size: 7px;
    left: 5px;
    top: 5px;
  }
  .block-actions {
    gap: 8px;
  }
  .block-actions a,
  .block-actions button {
    font-size: 11px;
    padding: 7px;
  }
  .page-header {
    height: 52px;
  }
  .page-header h1 {
    font-size: 16px;
  }
  .search-header {
    padding: 12px;
    gap: 12px;
  }
  .search-form {
    gap: 11px;
  }
  .search-form input {
    height: 36px;
    font-size: 12px;
  }
  .search-form button {
    font-size: 13px;
  }
  .search-content {
    padding: 20px 12px;
  }
  .search-top {
    display: block;
  }
  .hot-grid {
    gap: 18px 12px;
  }
  .subhead {
    margin-bottom: 16px;
  }
  .subhead h2 {
    font-size: 15px;
  }
  .history-tags {
    min-height: 50px;
    margin-bottom: 20px;
  }
  .guess {
    margin-top: 16px;
  }
  .guess .video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  .guess .video-card h3 {
    font-size: 10px;
  }
  .guess .thumb {
    aspect-ratio: 10/14;
  }
  .library-body {
    grid-template-columns: 88px 1fr;
    padding-top: 12px;
    min-height: calc(100vh - 190px);
  }
  .library-cats {
    gap: 3px;
  }
  .library-cats a {
    font-size: 13px;
    padding: 13px 15px;
  }
  .library-tags {
    padding: 0 12px;
    gap: 9px;
    align-content: start;
  }
  .library-tags a {
    font-size: 11px;
    padding: 8px 12px;
  }
  .video-page {
    display: block;
    min-height: calc(100vh - 60px);
  }
  .view-player {
    padding: 0;
  }
  .player-box {
    aspect-ratio: 16/9;
  }
  .detail-panel {
    padding: 15px 12px;
    border-left: 0;
  }
  .detail-panel h1 {
    font-size: 17px;
  }
  .detail-meta {
    font-size: 10px;
    margin-top: 10px;
  }
  .detail-actions {
    padding: 12px 0 16px;
  }
  .detail-actions button {
    font-size: 11px;
  }
  .detail-related {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .detail-summary {
    margin: 15px 0;
    font-size: 11px;
  }
  .vip-strip {
    font-size: 10px;
    padding: 11px 12px;
  }
  .player-bottom {
    padding: 10px 12px;
    font-size: 9px;
  }
  .play-cta {
    font-size: 11px;
    padding: 9px 15px;
  }
  .profile-hero {
    padding: 28px 18px 20px;
  }
  .profile-avatar {
    width: 60px;
    height: 60px;
  }
  .profile-user {
    gap: 13px;
  }
  .profile-name {
    font-size: 19px;
  }
  .profile-id {
    font-size: 9px;
  }
  .switch-account {
    font-size: 10px;
    padding: 5px 9px;
  }
  .watch-stats {
    font-size: 10px;
    padding: 13px;
    margin-top: 20px;
  }
  .profile-body {
    padding: 0 12px;
  }
  .wallet {
    padding: 18px 16px;
  }
  .wallet-amount b {
    font-size: 31px;
  }
  .wallet-label {
    font-size: 12px;
  }
  .wallet-label small {
    font-size: 9px;
  }
  .wallet-buttons {
    gap: 10px;
  }
  .wallet-buttons a,
  .wallet-buttons button {
    padding: 10px;
    font-size: 11px;
  }
  .invite-banner {
    margin: 12px 0;
    padding: 13px 12px;
    gap: 10px;
  }
  .invite-banner b {
    font-size: 13px;
  }
  .invite-banner p {
    font-size: 9px;
  }
  .invite-banner a {
    font-size: 10px;
    padding: 5px 9px;
  }
  .member-card {
    padding: 16px;
  }
  .member-card > b {
    font-size: 22px;
  }
  .member-card h2 {
    font-size: 12px;
  }
  .member-card p {
    max-width: 235px;
    font-size: 9px;
  }
  .member-card a {
    right: 12px;
    top: 40px;
    padding: 7px 9px;
    font-size: 10px;
  }
  .profile-trio {
    padding: 17px 0;
    margin: 14px 0;
  }
  .profile-trio a {
    font-size: 11px;
  }
  .function-grid {
    grid-template-columns: repeat(4, 1fr);
    padding: 20px 5px;
    gap: 23px 5px;
  }
  .function-grid a,
  .function-grid button {
    font-size: 10px;
  }
  .form-page {
    margin: 20px 12px;
    max-width: none;
    padding: 24px 18px;
  }
  .form-page h1 {
    font-size: 22px;
  }
  .collection-header h1 {
    font-size: 18px;
  }
  .collection-header p {
    font-size: 10px;
  }
  .collection-header select {
    font-size: 10px;
  }
  .plan-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .plan {
    padding: 18px 12px;
  }
  .plan h2 {
    font-size: 14px;
  }
  .demo-page {
    padding: 18px 12px;
  }
  .short-video {
    height: calc(100svh - 108px);
    margin: 0 auto;
  }
  .short-nav {
    padding: 12px;
  }
  .end {
    padding: 22px 0 35px;
  }
  .profile-tab-content {
    padding: 20px 12px;
  }
  .settings {
    padding: 0 15px 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

.login-tabs a,
.result-tabs > a {
  color: var(--muted);
  padding: 12px 0;
  font-size: 14px;
}
.login-tabs a.active,
.result-tabs > a.active {
  color: var(--yellow);
  border-bottom: 2px solid var(--yellow);
}
.library-note {
  margin-top: 20px;
}

.entry-panel {
  width: 340px;
  border: 0;
  border-radius: 12px;
  overflow: visible;
  background: transparent;
}
.entry-panel .panel-head {
  height: 0;
  border: 0;
  padding: 0;
}
.entry-panel .panel-head h2 {
  display: none;
}
.entry-panel .panel-head button {
  position: absolute;
  bottom: -75px;
  left: calc(50% - 18px);
  height: 36px;
  width: 36px;
  display: grid;
  place-items: center;
  border: 1px solid #ccc;
  border-radius: 50%;
  background: #2229;
  color: #ddd;
  font-size: 25px;
}
.entry-panel #panel-body {
  padding: 0;
}
.entry-card {
  min-height: 270px;
  border: 1px solid #c7b16a55;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 21px;
  border-radius: 12px;
  background: linear-gradient(130deg, #292c2e, #624a2e);
  color: #f0dfb2;
}
.entry-card small {
  letter-spacing: 3px;
  color: #bcb4a4;
  font-size: 11px;
}
.entry-card strong {
  font-size: 30px;
  letter-spacing: 2px;
}
.entry-card > span {
  font-size: 14px;
  letter-spacing: 3px;
}
.entry-card b {
  padding: 9px 25px;
  border-radius: 6px;
  background: #e9cf81;
  color: #392d17;
  font-size: 13px;
}
@media (max-width: 900px) {
  dialog.channel-panel {
    margin: 0;
    top: auto;
    bottom: 0;
    width: 100%;
    max-width: none;
    min-height: 55vh;
    border-radius: 18px 18px 0 0;
    padding-bottom: 40px;
  }
  .channel-panel .panel-head {
    padding-top: 25px;
  }
}

@media (min-width: 901px) {
  .playlist.featured .video-grid {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .playlist.featured .video-card {
    flex: 0 0 calc((100% - 30px) / 4);
  }
}
@media (max-width: 900px) {
  .channels > button {
    font-size: 0;
    width: 35px;
    flex-shrink: 0;
  }
  .channels > button:after {
    content: "☷";
    font-size: 21px;
  }
  .playlist.featured .video-card:first-child {
    grid-column: 1/-1;
  }
}
