/* 内容生成台 / 饱巴适 全站统一字体与横屏排版 · 2026-11-27 */
:root{
  --site-font:"Microsoft YaHei UI","Microsoft YaHei","PingFang SC","Noto Sans SC","Segoe UI",system-ui,-apple-system,sans-serif;
  --type-xs:13px;
  --type-sm:14.5px;
  --type-md:16px;
  --type-lg:18px;
}
html{
  font-size:clamp(16px,0.33vw + 11.6px,19px);
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}
body{
  font-family:var(--site-font);
  font-size:1rem;
  line-height:1.72;
}
button,input,select,textarea{font-family:var(--site-font)}
p,li,dd,dt,figcaption{font-size:max(.9em,14px)!important;line-height:1.76}
small{font-size:max(.8em,13px)!important;line-height:1.55}
label,th,td{font-size:max(.9em,14px)!important}
label>span,.field>span{font-size:max(.85em,13px)!important}
button{font-size:max(.86em,14px)!important}
input,select,textarea{font-size:max(1em,16px)!important}

/* 全站横屏满幅：应用主体不再被 1400px 窄容器锁住 */
body[data-app-view] .app-main{
  width:calc(100% - clamp(16px,2.4vw,48px))!important;
  max-width:none!important;
}
body[data-app-view="lobby"] .lobby-live-layout{
  width:calc(100% - clamp(18px,2.5vw,50px))!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
@media (min-width:1280px) and (min-height:760px){
  body[data-app-view="lobby"] .lobby-live-layout{min-height:580px}
  body[data-app-view="lobby"] .lobby-live-layout>.lobby-home-stage{
    width:min(1180px,55%)!important;
    max-width:1180px!important;
    margin:0!important;
  }
  body[data-app-view="lobby"] .lobby-live-layout>.lobby-task-alerts{
    width:min(820px,calc(45% - 22px))!important;
  }
  body[data-app-view="lobby"] .lobby-live-layout>.lobby-promo-section{
    width:min(720px,calc(45% - 22px))!important;
    max-width:720px!important;
  }
}
body[data-app-view="lobby"] .lobby-featured-section,
body[data-app-view="lobby"] .lobby-history-panel{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
}

/* 饱巴适：桌面端文字按大站比例放大 */
body[data-app-view] .nav-button{font-size:clamp(17px,1.1vw,20px)!important}
body[data-app-view] .lobby-feature-copy>strong{font-size:clamp(20px,1.35vw,24px)!important}
body[data-app-view] .lobby-feature-copy>small{font-size:15px!important}
body[data-app-view] .lobby-online-pill,
body[data-app-view] .lobby-card-services b{font-size:14px!important}
body[data-app-view] .lobby-mini-card strong{font-size:15px!important}
body[data-app-view] .shop-hero-copy p{font-size:clamp(16px,1.05vw,18px)!important}
body[data-app-view] .shop-section-heading p{font-size:15px!important}
body[data-app-view] .shop-section-heading h2{font-size:clamp(24px,1.7vw,30px)!important}
body[data-app-view] .shop-poster-label strong{font-size:clamp(21px,1.45vw,26px)!important}
body[data-app-view] .shop-poster-kicker{font-size:16px!important}
body[data-app-view] .shop-detail-hero-copy>p{font-size:clamp(16px,1.05vw,18px)!important}
body[data-app-view] .shop-detail-hero-copy h1{font-size:clamp(42px,3.8vw,58px)!important}
body[data-app-view] .task-hall-hero p,
body[data-app-view] .lobby-hero p{font-size:16px!important}

/* 内容生成台产品主页：大字号层级 */
body.home .nav a{font-size:16px!important}
body.home .poster-tag{font-size:14.5px!important}
body.home .poster-lead{font-size:clamp(18px,1.12vw,21px)!important;line-height:1.88}
body.home .poster-stats b{font-size:31px!important}
body.home .poster-stats span{font-size:14.5px!important}
body.home .shot-tag,body.home .platform-chips span,body.home .float-glass{font-size:13px!important}
body.home .shot-card h3{font-size:21px!important}
body.home .shot-card p,body.home .cap p{font-size:15.5px!important}
body.home .home-head p,body.home .showcase-head p{font-size:16.5px!important}
body.home .showcase-tab b{font-size:14.5px!important}
body.home .showcase-tab small,body.home .showcase-thumb small{font-size:11.5px!important}
body.home .showcase-thumb b{font-size:13.5px!important}
body.home .showcase-caption{font-size:13px!important}
body.home .cta-band p{font-size:16px!important}
body.home .btn{font-size:15px!important}

/* 用户后台 / 管理员后台 */
body .rail-nav a{font-size:14.5px!important}
body .rail-user b{font-size:14.5px!important}
body .rail-user span{font-size:12.5px!important}
body .main-head h1{font-size:clamp(30px,2.35vw,42px)!important}
body .main-head p{font-size:16px!important}
body .kicker{font-size:12px!important}
body .stat b{font-size:clamp(24px,1.9vw,34px)!important}
body .stat span{font-size:13.5px!important}
body .section-title h2{font-size:clamp(22px,1.75vw,30px)!important}
body .section-title p{font-size:15px!important}
body .notice{font-size:14.5px!important;line-height:1.78}
body .btn{font-size:14.5px!important}
body table{font-size:14.5px!important}

/* 保留用户已单独设置的手写体，不覆盖品牌/头像等装饰字体 */
.brand-mark,.brand-mark-large,.game-tile-mark,.profile-trigger-avatar,.personal-center-avatar{font-family:"STKaiti","KaiTi","Microsoft YaHei",serif}

@media (max-width:820px){
  body[data-app-view] .app-main{width:calc(100% - 20px)!important}
  body[data-app-view="lobby"] .lobby-live-layout{width:calc(100% - 20px)!important}
  body[data-app-view="lobby"] .lobby-live-layout>.lobby-home-stage{width:100%!important;max-width:none!important;margin:0!important}
}


/* 信息密度较高的卡片：避免 9~11px 的“看不清”字号 */
body[data-app-view] .lobby-card-meta,
body[data-app-view] .lobby-task-copy p,
body[data-app-view] .lobby-task-copy small,
body[data-app-view] .shop-product-copy p,
body[data-app-view] .shop-category-copy p{font-size:14px!important;line-height:1.7!important}
body[data-app-view] .lobby-card-meta span,
body[data-app-view] .lobby-task-copy span{font-size:13px!important}
body[data-app-view] .lobby-section-heading h2,
body[data-app-view] .lobby-featured-heading h2{font-size:clamp(24px,1.65vw,30px)!important}
body[data-app-view] .site-dock,
body[data-app-view] .site-dock a{font-size:14px!important}

/* 按需求移除大厅历史搜索占位 */
body[data-app-view="lobby"] .lobby-history-panel{display:none!important}


/* 手机端：保持网页版视觉比例，只压缩尺寸，不改变页面结构 */
@media (max-width:820px){
  body.home .topbar{gap:10px}
  body.home .topbar .brand{gap:8px;min-width:0}
  body.home .topbar .brand img{width:38px;height:38px}
  body.home .topbar .brand span{font-size:16px;line-height:1.25;white-space:nowrap}
  body.home .topbar .brand small{display:none}
  body.home .topbar .nav{gap:0;margin-left:auto}
  body.home .topbar .nav a{display:none}
  body.home .topbar .nav a.login{display:inline-flex;padding:8px 12px;font-size:14px!important;white-space:nowrap}
  body.home .poster-actions{gap:9px;margin-top:22px}
  body.home .poster-actions .btn{min-height:46px;padding:0 16px}
}
