:root{--max-width:1100px;--entry-ratio:435/82;--text:#fff;--safe-bottom:calc(env(safe-area-inset-bottom) + 54px)}
*{box-sizing:border-box;margin:0;padding:0}html,body{width:100%;height:100%;min-height:100%;overflow:hidden;overscroll-behavior:none}body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",Arial,sans-serif;color:var(--text);position:fixed;inset:0;width:100%;height:100dvh;min-height:100dvh;display:flex;flex-direction:column;overflow:hidden;-webkit-user-select:none;user-select:none;touch-action:manipulation;background:#eef4fb}.page-bg{position:fixed;inset:0;z-index:-2;overflow:hidden}.page-bg img{width:100%;height:100%;object-fit:cover;display:block}.page-bg::after{content:"";position:absolute;inset:0;background:rgba(255,255,255,.38);z-index:1}.wrap{width:100%;max-width:var(--max-width);margin:0 auto;height:calc(100dvh - 120px);min-height:0;overflow:hidden;display:flex;flex-direction:column;justify-content:center;padding:20px 0 12px}.quota{position:relative;width:min(870px,100%);margin:-20px auto 18px;aspect-ratio:870/111}.quota img{width:100%;height:100%;display:block}.quota span{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;text-align:center;font-weight:900;font-size:clamp(16px,2.2vw,24px);letter-spacing:.5px;text-shadow:0 1px 2px rgba(0,0,0,.18);padding:0 18px;white-space:nowrap}.shine{width:100%;text-align:center;margin:0 0 34px;font-size:clamp(16px,4.8vw,40px);line-height:1.45;font-weight:900;letter-spacing:2px;background:linear-gradient(90deg,#ff0000,#ffff00,#00ff00,#00ffff,#0000ff,#ff00ff,#ff0000);background-size:300% 100%;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;animation:shineMove 4s linear infinite}.entry-list{width:100%;display:flex;flex-direction:column;gap:20px}.entry{display:block;width:100%;aspect-ratio:var(--entry-ratio);border-radius:14px;overflow:hidden;text-decoration:none;box-shadow:0 8px 24px rgba(20,50,90,.12);-webkit-tap-highlight-color:transparent}.entry img{width:100%;height:100%;object-fit:fill;display:block}.entry:active{transform:scale(.992)}.footer{width:100%;display:flex;justify-content:center;padding:0 0 var(--safe-bottom)}.footer img{width:100%;max-width:1100px;height:auto;display:block}.site-note{text-align:center;color:rgba(255,255,255,.95);font-size:12px;text-shadow:0 1px 3px rgba(0,0,0,.35);padding:8px 16px 18px}@keyframes shineMove{0%{background-position:0 0}100%{background-position:300% 0}}@media(max-width:768px){:root{--safe-bottom:calc(env(safe-area-inset-bottom) + 28px)}.wrap{height:calc(100dvh - 92px);min-height:0;padding:10px 10px 8px;justify-content:center}.quota{margin:-8px auto 12px;width:min(92vw,870px)}.quota span{font-size:clamp(13px,3.8vw,18px)}.shine{font-size:16px;line-height:1.55;margin-bottom:18px;letter-spacing:1px}.entry-list{gap:14px}.entry{border-radius:11px}.footer{padding-left:10px;padding-right:10px}.site-note{font-size:11px;padding-bottom:12px}}@media(max-height:640px){.wrap{justify-content:flex-start}.quota{margin-top:2px}.shine{margin-bottom:14px}.entry-list{gap:12px}.footer{padding-bottom:12px}}

.loading-page{min-height:100dvh;background:#111;color:#fff;overflow:hidden}.loading-page .page-bg::after{background:rgba(0,0,0,.64);backdrop-filter:blur(2px)}.loading-bg img{filter:saturate(.9) brightness(.72)}.loading-wrap{width:100%;min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:22px 14px calc(env(safe-area-inset-bottom) + 22px);gap:12px}.loading-top,.loading-bottom{width:min(92vw,560px);text-align:center;color:rgba(255,255,255,.92);font-weight:800;letter-spacing:.5px;text-shadow:0 2px 8px rgba(0,0,0,.35)}.loading-top{font-size:clamp(16px,5vw,28px)}.loading-top b{color:#ffe58b;font-size:1.08em}.loading-stage{width:min(92vw,560px);border-radius:8px;overflow:hidden;box-shadow:0 18px 60px rgba(0,0,0,.45);background:rgba(20,20,20,.78);border:1px solid rgba(255,255,255,.20)}.loading-visual{display:block;width:100%;min-height:220px;background:#161616;text-decoration:none}.loading-visual img{display:block;width:100%;height:auto;max-height:72dvh;object-fit:contain;background:#111}.loading-empty{height:min(68dvh,620px);display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.72);font-size:20px;font-weight:900;background:linear-gradient(135deg,#252525,#111)}.loading-bottom{display:flex;align-items:center;justify-content:center;gap:9px;font-size:15px}.loading-bottom b{color:#ffe58b}.loading-dot{width:9px;height:9px;border-radius:50%;background:#31e981;box-shadow:0 0 12px rgba(49,233,129,.75);animation:loadingPulse 1s ease-in-out infinite}.loading-progress{width:min(92vw,560px);height:4px;border-radius:999px;background:rgba(255,255,255,.18);overflow:hidden}.loading-progress i{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#ffe58b,#ff4b4b);transition:width .35s linear}.loading-continue{display:none;margin-top:2px;color:rgba(255,255,255,.6);font-size:12px;text-decoration:none}.loading-continue.ready{display:block}@keyframes loadingPulse{0%,100%{transform:scale(.75);opacity:.55}50%{transform:scale(1.12);opacity:1}}@media(max-width:768px){.loading-wrap{justify-content:center;padding-left:10px;padding-right:10px}.loading-stage{width:94vw;border-radius:6px}.loading-top,.loading-bottom,.loading-progress{width:94vw}.loading-visual{min-height:180px}.loading-visual img{max-height:74dvh}.loading-bottom{font-size:14px}}

/* v8: lock front page vertical scrolling */
html,body{overflow:hidden!important;overscroll-behavior:none!important}
body{position:fixed!important;inset:0!important;width:100%!important;height:100dvh!important;overflow:hidden!important}
.wrap{overflow:hidden!important}

/* v10: 背景按原图显示，内容固定从下方开始排，不再因为新增内容整体上顶 */
.page-bg::after{display:none!important;background:transparent!important;backdrop-filter:none!important}
.loading-page .page-bg::after{display:none!important;background:transparent!important;backdrop-filter:none!important}
.loading-bg img{filter:none!important}
.wrap{justify-content:flex-start!important;overflow:hidden!important}
@media(max-width:768px){
  .wrap{
    height:100dvh!important;
    min-height:0!important;
    justify-content:flex-start!important;
    padding-top:var(--mobile-content-top,170px)!important;
    padding-bottom:calc(env(safe-area-inset-bottom) + 8px)!important;
    overflow:hidden!important;
  }
  .quota{flex:0 0 auto!important;margin:0 auto 12px!important}
  .shine{flex:0 0 auto!important;margin:0 0 14px!important}
  .entry-list{flex:0 0 auto!important;gap:12px!important}
  .footer{display:none!important}
}

/* v12-image-protect: 降低前台图片被普通复制、拖拽、长按保存的概率 */
html,body,*{
  -webkit-user-select:none!important;
  user-select:none!important;
  -webkit-touch-callout:none!important;
}
img,.protected-media{
  -webkit-user-drag:none!important;
  user-drag:none!important;
}
.protected-media img{
  pointer-events:none!important;
}

/* v14: 右下角悬浮球 + 本站内页 */
.float-dock{
  position:fixed;
  right:8px;
  bottom:calc(env(safe-area-inset-bottom) + 86px);
  z-index:30;
  display:flex;
  flex-direction:column;
  gap:8px;
  align-items:flex-end;
  pointer-events:auto;
}
.float-ball{
  width:62px;
  min-height:62px;
  border-radius:999px;
  overflow:hidden;
  display:block;
  text-decoration:none;
  position:relative;
  filter:drop-shadow(0 8px 14px rgba(0,0,0,.25));
  -webkit-tap-highlight-color:transparent;
  background:rgba(255,255,255,.1);
}
.float-ball img{
  width:62px;
  height:62px;
  object-fit:cover;
  display:block;
  border-radius:999px;
}
.float-ball span{
  position:absolute;
  left:50%;
  bottom:2px;
  transform:translateX(-50%);
  max-width:58px;
  padding:1px 5px;
  border-radius:999px;
  background:rgba(0,120,255,.92);
  color:#fff;
  font-size:10px;
  line-height:1.2;
  font-weight:900;
  white-space:nowrap;
  text-shadow:0 1px 2px rgba(0,0,0,.35);
}
.float-ball:active{transform:scale(.96)}
.local-page{
  position:static!important;
  min-height:100dvh!important;
  height:auto!important;
  overflow:auto!important;
  touch-action:auto!important;
  display:block!important;
}
.local-page .page-bg{z-index:-2}
.local-page-wrap{
  width:min(94vw,760px);
  margin:0 auto;
  padding:18px 0 32px;
}
.local-back{
  display:inline-flex;
  margin-bottom:12px;
  color:#fff;
  text-decoration:none;
  font-weight:900;
  text-shadow:0 2px 8px rgba(0,0,0,.45);
}
.local-card{
  border-radius:20px;
  background:rgba(0,0,0,.55);
  border:1px solid rgba(255,255,255,.16);
  padding:18px;
  color:#fff;
  box-shadow:0 18px 60px rgba(0,0,0,.35);
  backdrop-filter:blur(8px);
}
.local-card h1{font-size:24px;margin-bottom:14px;line-height:1.25}
.local-cover img{
  width:100%;
  height:auto;
  border-radius:14px;
  display:block;
  margin-bottom:14px;
}
.local-content{
  font-size:15px;
  line-height:1.8;
  white-space:normal;
  word-break:break-word;
}
@media(max-width:768px){
  .float-dock{right:6px;bottom:calc(env(safe-area-inset-bottom) + 70px);gap:6px}
  .float-ball,.float-ball img{width:54px;height:54px;min-height:54px}
  .float-ball span{max-width:52px;font-size:9px}
  .local-page-wrap{padding:14px 0 28px}
  .local-card{border-radius:18px;padding:16px}
}

/* v16: 广告图加载完成后才开始倒计时，避免网速慢时还没看到广告就跳走 */
.loading-page.is-waiting-ad .loading-progress i{
  width:18%!important;
  animation:adWaitProgress 1.1s ease-in-out infinite alternate;
}
.loading-page.is-waiting-ad .loading-top b{opacity:.72}
@keyframes adWaitProgress{
  from{transform:translateX(-40%);opacity:.45}
  to{transform:translateX(460%);opacity:1}
}

/* v20: 顶部播报、广告图位、开屏弹窗 */
.broadcast{
  width:100%;
  margin:0 0 12px;
}
.broadcast-bar{
  width:min(94vw,1080px);
  margin:0 auto;
  min-height:34px;
  padding:8px 16px;
  border-radius:999px;
  background:linear-gradient(180deg,#5fa0ff,#2f76ef);
  color:#fff;
  box-shadow:0 10px 24px rgba(42,91,196,.28);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.broadcast-bar span{
  display:block;
  font-size:14px;
  font-weight:900;
  line-height:1.25;
  white-space:nowrap;
  text-align:center;
}
.promo-banner{
  width:min(94vw,1080px);
  margin:0 auto 14px;
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 10px 24px rgba(20,50,90,.16);
  background:rgba(255,255,255,.06);
}
.promo-banner img{
  display:block;
  width:100%;
  height:auto;
}
.launch-popup{
  position:fixed;
  inset:0;
  z-index:90;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:14px;
  background:rgba(10,20,40,.62);
  backdrop-filter:blur(4px);
}
.launch-popup-panel{
  width:min(88vw,430px);
  border-radius:16px;
  overflow:hidden;
  background:#f4f8ff;
  box-shadow:0 18px 50px rgba(0,0,0,.30);
  border:1px solid rgba(255,255,255,.24);
  cursor:pointer;
  display:flex;
  flex-direction:column;
}
.launch-popup-head{
  padding:0;
  background:linear-gradient(180deg,#58a0ff,#2e73ec);
  color:#fff;
  font-size:13px;
  font-weight:900;
  line-height:1.3;
  text-align:center;
  overflow:hidden;
}
.launch-popup-head:not(:has(img)){
  padding:10px 14px;
}
.launch-popup-head img{
  display:block;
  width:100%;
  height:auto;
  max-height:84px;
  object-fit:cover;
}
.launch-popup-title{
  padding:10px 16px 0;
  color:#1b2a4a;
  font-size:13px;
  font-weight:900;
  line-height:1.45;
  text-align:center;
  background:#fff;
}
.launch-popup-body{
  padding:14px 16px 10px;
  color:#1b2a4a;
  font-size:13px;
  line-height:1.55;
  text-align:center;
  background:#fff;
}
.launch-popup-actions{
  display:flex;
  justify-content:center;
  padding:0 16px 14px;
  background:#fff;
}
.launch-popup-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:124px;
  margin:0;
  padding:10px 20px;
  border:0;
  border-radius:999px;
  background:linear-gradient(180deg,#3f8df6,#1f6eee);
  color:#fff;
  font-size:13px;
  font-weight:900;
  box-shadow:0 8px 18px rgba(42,109,236,.30);
  cursor:pointer;
}
.launch-popup-panel:active,
.launch-popup-btn:active{
  transform:scale(.99);
}
.launch-popup.is-hidden{display:none}
@media(max-width:768px){
  .broadcast-bar{
    width:94vw;
    min-height:30px;
    padding:7px 12px;
  }
  .broadcast-bar span{font-size:12px}
  .promo-banner{
    width:94vw;
    margin-bottom:12px;
    border-radius:12px;
  }
  .launch-popup{
    padding:10px;
  }
  .launch-popup-panel{
    width:min(92vw,390px);
    border-radius:14px;
  }
  .launch-popup-head{
    font-size:12px;
  }
  .launch-popup-head img{
    max-height:76px;
  }
  .launch-popup-title{
    padding:9px 14px 0;
    font-size:12px;
  }
  .launch-popup-body{
    padding:12px 14px 8px;
    font-size:12px;
  }
  .launch-popup-actions{
    padding:0 14px 12px;
  }
  .launch-popup-btn{
    min-width:116px;
    padding:9px 18px;
    font-size:12px;
  }
}

:root{
  --popup-width:430px;
  --popup-mobile-width:390px;
  --popup-radius:16px;
}
.site-brand{
  width:min(94vw,1080px);
  margin:0 auto 10px;
  display:flex;
  align-items:center;
  gap:10px;
  color:#fff;
  text-decoration:none;
  font-weight:900;
  text-shadow:0 2px 8px rgba(0,0,0,.38);
}
.site-brand img{
  width:34px;
  height:34px;
  border-radius:10px;
  display:block;
  object-fit:cover;
  background:rgba(255,255,255,.18);
  flex:0 0 auto;
}
.site-brand span{
  width:34px;
  height:34px;
  border-radius:10px;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.18);
  flex:0 0 auto;
}
.site-brand span{
  font-size:16px;
}
.site-brand strong{
  min-width:0;
  font-size:15px;
  line-height:1.2;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.launch-popup-panel{
  width:min(92vw,var(--popup-width,430px)) !important;
  border-radius:var(--popup-radius,16px) !important;
  display:flex;
  flex-direction:column;
}
.launch-popup-media{
  background:#fff;
}
.launch-popup-media img{
  display:block;
  width:100%;
  height:auto;
  max-height:38dvh;
  object-fit:cover;
}
@media(max-width:768px){
  .site-brand{
    width:94vw;
    margin-bottom:8px;
  }
  .site-brand img{
    width:30px;
    height:30px;
    border-radius:9px;
  }
  .site-brand span{
    width:30px;
    height:30px;
    border-radius:9px;
  }
  .site-brand strong{
    font-size:13px;
  }
  .launch-popup-panel{
    width:min(92vw,var(--popup-mobile-width,390px)) !important;
  }
  .launch-popup-head img{
    max-height:72px;
  }
  .launch-popup-media img{
    max-height:34dvh;
  }
}

/* v23+ broadcast ticker and logo-only marker */
.site-logo-only{
  width:min(94vw,1080px);
  margin:0 auto 8px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  padding-top:8px;
  pointer-events:none;
}
.site-logo-only img{
  width:30px;
  height:30px;
  display:block;
  object-fit:contain;
  border-radius:9px;
}
.broadcast{
  width:100%;
  margin:0 0 12px;
}
.broadcast-bar{
  width:min(94vw,1080px);
  margin:0 auto;
  min-height:34px;
  padding:6px 12px 6px 8px;
  border-radius:999px;
  background:linear-gradient(180deg,#5fa0ff,#2f76ef);
  color:#fff;
  box-shadow:0 10px 24px rgba(42,91,196,.28);
  display:flex;
  align-items:center;
  gap:8px;
  overflow:hidden;
}
.broadcast-icon{
  width:22px;
  height:22px;
  flex:0 0 auto;
  display:grid;
  place-items:center;
  color:#fff;
  opacity:.98;
}
.broadcast-icon svg{
  width:100%;
  height:100%;
  display:block;
}
.broadcast-marquee{
  flex:1;
  min-width:0;
  overflow:hidden;
}
.broadcast-track{
  display:flex;
  align-items:center;
  width:max-content;
  gap:0;
  white-space:nowrap;
  will-change:transform;
  animation:broadcastScroll var(--broadcast-speed,16s) linear infinite;
}
.broadcast-track span{
  display:block;
  padding-right:48px;
  white-space:nowrap;
  font-size:13px;
  font-weight:900;
  line-height:1.2;
}
@keyframes broadcastScroll{
  0%{transform:translateX(0)}
  100%{transform:translateX(-50%)}
}
@media(max-width:768px){
  .site-logo-only{
    width:94vw;
    margin-bottom:6px;
    padding-top:6px;
  }
  .site-logo-only img{
    width:26px;
    height:26px;
    border-radius:8px;
  }
  .broadcast-bar{
    width:94vw;
    min-height:30px;
    padding:5px 10px 5px 7px;
  }
  .broadcast-icon{
    width:19px;
    height:19px;
  }
  .broadcast-track{
    animation-duration:var(--broadcast-speed,16s);
  }
  .broadcast-track span{
    padding-right:36px;
    font-size:12px;
  }
  /* Keep the customizable site icon in the same upper-left position on phones. */
  .site-logo-only{
    position:absolute;
    left:10.1%;
    top:16.7%;
    width:auto;
    margin:0;
    padding:0;
    z-index:5;
  }
}

/* The horn is part of the ticker and must never be clipped or shrink. */
.broadcast-icon{
  flex:0 0 24px;
  width:24px;
  height:24px;
  overflow:visible;
  position:relative;
  z-index:1;
}
.broadcast-icon svg{width:24px;height:24px;overflow:visible}
