:root{--bg:#130e0f;--panel:#1f1618;--panel2:#261c1e;--line:#392a2c;--mint:#e2bf84;--text:#f5f4f1;--muted:#9daa9f}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;color:var(--text)}button,input,textarea,select{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.shell{width:min(1180px,calc(100% - 42px));margin:auto}.head{border-bottom:1px solid #312426;position:sticky;z-index:20;top:0;background:#130e0fef;backdrop-filter:blur(18px)}.head-inner{height:76px;display:flex;align-items:center;justify-content:space-between;gap:20px}.logo{font-size:23px;font-weight:900;letter-spacing:-1.2px;white-space:nowrap}.logo span:last-child{color:var(--mint);margin-left:6px}.logo-icon{color:var(--mint);font-size:26px;margin-right:7px}.head nav{display:flex;gap:39px;color:#dad4cb;font-size:14px}.head nav a:hover,.linkbtn:hover{color:var(--mint)}.linkbtn{background:none;border:0;color:#d3cdc2;font-size:13px}.hero{height:470px;position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;overflow:hidden}.eyebrow,.overline{font-size:12px;letter-spacing:2px;text-transform:uppercase;color:var(--mint);font-weight:800}.eyebrow{display:flex;align-items:center;gap:11px}.pulse{height:7px;width:7px;border-radius:50%;background:var(--mint);box-shadow:0 0 12px var(--mint)}h1{font-size:clamp(49px,6vw,80px);line-height:1.15;letter-spacing:-4px;margin:23px 0 13px;z-index:1}h1 em{font-style:normal;color:var(--mint)}.hero p{max-width:505px;font-size:16px;color:#a8b5ab;line-height:1.9;z-index:1}.hero-actions{display:flex;gap:21px;margin-top:21px;align-items:center;z-index:1}.primary{background:var(--mint);color:#201517;border:1px solid var(--mint);font-weight:800;padding:13px 24px;border-radius:7px;display:inline-flex;justify-content:space-between;gap:22px;align-items:center}.primary:hover{background:#f0dcba}.ghost{background:transparent;color:#eeebe7;border:1px solid #455749;padding:12px 22px;border-radius:7px}.ghost:hover{border-color:var(--mint)}.hero-side{position:absolute;right:15px;top:7px;height:410px;width:405px;display:grid;place-items:center;opacity:.75}.ball-art{font-size:340px;line-height:1;color:#e2bf84;text-shadow:0 0 85px #e0b56c4a;transform:rotate(-16deg)}.hero-side span{font-size:10px;color:#627463;letter-spacing:4px;position:absolute;bottom:10px;right:15px}.section{padding:45px 0 35px;scroll-margin-top:85px}.section-title{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:25px}.section-title h2{font-size:30px;margin:8px 0 0;letter-spacing:-1px}.accent{color:var(--mint);font-size:17px;letter-spacing:0}.subdued,.footnote{font-size:12px;color:#87988a}.watch-grid{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(250px,1fr);gap:20px}.player-card,.streams,.fixtures,.tip{background:var(--panel);border:1px solid var(--line);border-radius:13px;overflow:hidden}.player-top{display:flex;align-items:center;gap:13px;padding:14px 18px;font-size:12px;color:#e6e2dc}.status-dot{background:#374537;border-radius:5px;font-weight:700;padding:5px 10px;color:#e2dbd0}.status-dot.live{background:#df544b;color:white}.player{aspect-ratio:16/9;background:radial-gradient(circle at center,#372629 0,#110c0d 63%);display:grid;place-items:center;position:relative;overflow:hidden}.player video,.player iframe{position:absolute;inset:0;width:100%;height:100%;border:0;background:#000}.play-empty{display:flex;align-items:center;flex-direction:column;gap:13px;color:#f3f0ea;text-align:center}.play-empty small{color:#849988}.play-ring{border:1px solid #877962;border-radius:50%;width:66px;height:66px;display:grid;place-items:center;color:var(--mint);font-size:23px;padding-left:4px}.player-meta{display:flex;justify-content:space-between;align-items:center;padding:19px;gap:15px}.player-meta strong{font-size:17px}.player-meta p{margin:8px 0 0;color:var(--muted);font-size:12px}.outline-badge{border:1px solid #533c40;border-radius:5px;color:var(--mint);padding:7px 9px;font-size:11px;white-space:nowrap}.streams{padding:19px}.side-heading{display:flex;justify-content:space-between;margin-bottom:16px;align-items:center}.side-heading span,.side-note{font-size:11px;color:#829586}.stream-item{display:block;width:100%;background:#271c1e;border:1px solid transparent;border-radius:8px;text-align:left;color:#fff;padding:16px;margin-bottom:10px}.stream-item.selected{border-color:#c1a679;background:#322527}.stream-item strong{display:block;font-size:14px;margin:9px 0}.stream-item small{color:#9fac9e}.mini-status{font-size:10px;color:var(--mint);font-weight:700}.mini-status.live{color:#fa7972}.side-note{line-height:1.8;margin-top:20px}.tabbar{display:flex;gap:6px;flex-wrap:wrap}.tabbar button,.adminnav button{padding:8px 13px;border:1px solid #433134;background:#23191b;color:#9bac9b;border-radius:6px;font-size:12px}.tabbar button.active,.adminnav button.active{background:var(--mint);color:#1b1012;border-color:var(--mint);font-weight:800}.fixture-row{display:grid;grid-template-columns:140px 1fr 120px 80px;align-items:center;gap:12px;padding:18px 24px;border-bottom:1px solid #3c2b2e}.fixture-row:last-child{border:0}.league{font-size:12px;color:#a8b9aa}.teams{display:flex;align-items:center;justify-content:center;gap:15px;font-weight:750}.vs{color:#708572;font-size:12px}.f-time{text-align:center;font-size:12px;color:#b7c5b8}.f-time small{display:block;color:#7f9582;margin-top:4px}.watch-link{text-align:right;color:var(--mint);font-size:12px}.footnote{margin:15px 0 0;line-height:1.8}.tip-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.tip{padding:25px;min-height:250px;display:flex;flex-direction:column}.tip-tag{display:flex;justify-content:space-between;align-items:center;gap:7px;color:var(--mint);font-size:11px;font-weight:750}.tip h3{font-size:19px;line-height:1.45;margin:20px 0 9px}.tip p{color:#a2b1a2;font-size:13px;line-height:1.8;margin:0}.tip .author{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:16px;margin-top:auto;color:#a7b8a5;font-size:11px;gap:7px}.last{padding-bottom:75px}footer{border-top:1px solid #36272a;padding:28px 0;color:#a4b3a6;font-size:12px}.foot{display:flex;justify-content:space-between;align-items:center;gap:20px}.foot b{color:var(--mint);display:block;font-size:16px}.foot small{display:block;margin-top:6px}.empty{padding:35px;text-align:center;color:#8fa08f}.hidden{display:none!important}.modal{position:fixed;inset:0;z-index:50;display:grid;place-items:center;padding:16px}.shade{position:absolute;inset:0;background:#000b}.modal-panel{position:relative;background:#201819;border:1px solid #63474c;border-radius:15px;padding:24px;width:min(760px,100%);max-height:91vh;overflow:auto;box-shadow:0 20px 100px #0009}.modal-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.modal-title small{color:var(--mint);letter-spacing:2px}.modal-title h3{font-size:25px;margin:6px 0}.modal-title button{color:#fff;background:none;border:0;font-size:20px}.note{color:#afbbaf;font-size:12px;line-height:1.9}.modal label{display:block;color:#e5e1da;font-size:12px;margin:10px 0}.modal input,.modal textarea,.modal select{margin-top:6px;background:#181012;border:1px solid #513b3f;border-radius:6px;color:#fff;padding:11px;width:100%;outline:none}.modal input:focus,.modal textarea:focus{border-color:var(--mint)}.wide{width:100%;justify-content:center;margin-top:12px}.error{color:#f38585;font-size:12px}.adminnav{display:flex;gap:7px;flex-wrap:wrap}.adminform{background:#191113;border:1px solid #443135;border-radius:10px;padding:15px;margin:15px 0}.adminform header{display:flex;justify-content:space-between;padding:0;background:none;border:0}.adminform h4{font-size:14px;margin:0}.remove{background:none;border:0;color:#ff9b8c}.formfields{display:grid;grid-template-columns:1fr 1fr;gap:6px 12px}.formfields .full{grid-column:1/-1}.admin-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:16px}.feedback{font-size:12px;color:var(--mint)}@media(max-width:850px){.hero-side{right:-130px;opacity:.23}.watch-grid{grid-template-columns:1fr}.tip-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fixture-row{grid-template-columns:95px 1fr 85px 60px;padding:16px 12px;gap:7px}.teams{gap:7px;font-size:13px}}@media(max-width:600px){.head-inner{height:65px;flex-wrap:wrap;gap:0}.logo{font-size:20px}.head nav{order:3;justify-content:space-around;width:100%;padding-bottom:11px;font-size:12px;gap:8px}.head-inner{height:auto;padding:11px 0 0}.head .linkbtn{font-size:12px}.hero{height:415px}.hero h1{font-size:48px;letter-spacing:-2.4px}.hero p{font-size:13px}.hero-side{right:-190px;top:75px}.section{padding-top:38px;scroll-margin-top:110px}.section-title{align-items:flex-start;flex-direction:column}.section-title h2{font-size:26px}.section-title .subdued{display:none}.fixture-row{grid-template-columns:1fr 76px 47px;gap:6px;padding:16px 12px}.fixture-row .league{grid-column:1/-1}.teams{justify-content:flex-start}.f-time{font-size:11px}.tip-grid{grid-template-columns:1fr}.tip{min-height:220px}.foot{align-items:flex-start;flex-direction:column}.formfields{grid-template-columns:1fr}.player-meta{align-items:flex-start;flex-direction:column}}

/* 五大联赛实时赛程 */
.schedule-toolbar,.schedule-meta{display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:16px 0}.league-pills,.range-controls{display:flex;gap:7px;flex-wrap:wrap;align-items:center}.league-pills button,.range-controls button,.refresh-score{border:1px solid #483538;border-radius:10px;background:#271d1f;color:#e6e2db;padding:9px 13px;cursor:pointer;font:inherit}.league-pills button.active,.league-pills button:hover{background:#e3c188;color:#211618;border-color:#e3c188}.range-controls span{font-size:13px;color:#d3cdc3;white-space:nowrap}.schedule-meta{margin:12px 0}.schedule-meta #realUpdated{color:#9aaea1;font-size:13px}.official-row .source-mark{font-size:11px;color:#9b8c74}.official-teams .team-name{display:inline-flex;align-items:center;gap:6px}.team-crest{width:22px;height:22px;object-fit:contain}.score-live{color:#e3c188!important;font-weight:700}.manual-fixtures{margin-top:24px;border-top:1px solid #433134;padding-top:18px}.manual-fixtures summary{color:#bab09f;cursor:pointer;margin-bottom:15px}.empty p{margin-top:12px;line-height:1.6}.official-row{min-width:0}@media(max-width:700px){.official-row{padding:15px 10px}.official-row .source-mark{display:none}.official-teams .team-name{font-size:12px}.team-crest{width:17px;height:17px}.league-pills{gap:5px}.league-pills button,.range-controls button{padding:8px 9px;font-size:12px}.range-controls{width:100%;justify-content:space-between}.schedule-meta{gap:12px}}

/* V2.1 首页双宣传图：电脑侧栏组合、手机纵向展示，完整保留二维码与文字 */
.hero{min-height:630px;height:auto;padding-top:65px;padding-bottom:65px;padding-right:590px;overflow:visible}
.hero>h1{font-size:clamp(46px,5.2vw,72px)}
.hero-side.hero-promotions{position:absolute;right:0;top:50%;transform:translateY(-50%);width:555px;height:540px;opacity:1;display:flex;align-items:center;justify-content:center;gap:15px;z-index:2}
.promo-card{margin:0;background:#21181a;border:1px solid #473337;border-radius:14px;padding:7px;box-shadow:0 18px 48px #0006;overflow:hidden;min-width:0}
.promo-card img{display:block;width:100%;height:100%;object-fit:contain;border-radius:9px;background:#f4f2ef}
.promo-main{width:288px;height:535px;flex:0 0 auto}
.promo-secondary{width:250px;max-height:350px;height:auto;flex:0 0 auto;align-self:center}
.promo-secondary img{height:auto;aspect-ratio:681/607}
@media(max-width:1100px){.hero{padding-right:50%;}.hero-side.hero-promotions{width:49%;height:auto;gap:8px}.promo-main{width:53%;height:auto}.promo-main img{height:auto;aspect-ratio:702/1280}.promo-secondary{width:45%;height:auto;padding:5px}}
@media(max-width:780px){.hero{padding:48px 0 45px;min-height:0}.hero-side.hero-promotions{position:static;transform:none;width:100%;height:auto;opacity:1;justify-content:center;margin-top:35px;gap:12px}.promo-main{width:min(52%,310px)}.promo-secondary{width:min(44%,270px)}.hero>h1{font-size:clamp(42px,7vw,60px)}}
@media(max-width:520px){.hero{padding:36px 0}.hero-side.hero-promotions{align-items:center;gap:9px;margin-top:26px}.promo-card{padding:4px;border-radius:9px}.promo-card img{border-radius:6px}.promo-main{width:54%}.promo-secondary{width:43%}.hero>h1{font-size:46px}}

/* Camera streaming and guest chat */
.interact-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(290px,1fr);gap:20px}.interact-video,.chat-panel{background:var(--panel);border:1px solid var(--line);border-radius:13px;overflow:hidden}.interact-header{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:15px}.interact-header span{font-size:12px;color:var(--mint)}.interact-screen{background:#080506;aspect-ratio:16/9;position:relative;display:grid;place-items:center}.interact-screen video{width:100%;height:100%;object-fit:contain;position:absolute;inset:0;background:black}.interact-screen #roomPlaceholder{position:relative;text-align:center;color:#d0c9bd}.interact-screen #roomPlaceholder .play-ring{margin:auto}.interact-tools{display:flex;align-items:center;gap:12px;padding:12px;flex-wrap:wrap;color:var(--muted);font-size:12px}.studio{padding:20px;border-top:1px solid var(--line)}.studio h3{margin:0 0 8px}.studio p{font-size:13px;line-height:1.8;color:var(--muted)}.studio-buttons{display:flex;flex-wrap:wrap;gap:9px}.studio-buttons button{padding:10px}.file-label{display:block;font-size:13px;margin-top:15px}.file-label input{display:block;margin-top:8px;max-width:100%}.chat-panel{display:flex;flex-direction:column;padding:16px;min-height:460px}.name-box,.chat-composer{display:flex;gap:7px;align-items:flex-end}.name-box label{flex:1;color:var(--muted);font-size:12px}.name-box input,.chat-composer input{display:block;width:100%;padding:11px;background:#191113;border:1px solid #3c4b41;color:white;border-radius:7px;min-width:0}.name-box button,.chat-composer button{padding:11px 14px}.chat-messages{flex:1;max-height:365px;min-height:200px;overflow:auto;margin:14px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:8px 0}.chat-message{padding:8px 0;word-break:break-word;font-size:13px}.chat-message b{color:var(--mint);margin-right:7px}.chat-message small{color:var(--muted);margin-left:5px}.chat-message .remove-chat{float:right;background:none;color:#ec9b9b;border:0;font-size:11px}.moderation{border-top:1px solid var(--line);margin-top:16px;padding-top:12px}.moderation>div{max-height:150px;overflow:auto}.visitor-row{display:flex;justify-content:space-between;align-items:center;padding:6px 0;font-size:12px}.visitor-row button{background:#3d2c2f;color:#fff;border:0;border-radius:4px;padding:5px 9px}.hidden{display:none!important}@media(max-width:790px){.interact-layout{grid-template-columns:1fr}.chat-panel{min-height:390px}.interact-header{padding:12px}.studio-buttons button{flex:1}}

/* V3.1.1 首页右侧单张海报铺满展示区（保持左侧栏目与其他功能不变） */
.hero{min-height:680px;padding-right: min(51%, 610px);overflow:visible}
.hero-side.hero-promotions{position:absolute;right:0;top:50%;transform:translateY(-50%);width:48%;height:630px;display:block;opacity:1;z-index:2}
.hero-promotions .promo-main{display:block;width:100%;height:100%;margin:0;padding:0;border-radius:15px;overflow:hidden;border:1px solid #473337}
.hero-promotions .promo-main img{display:block;width:100%;height:100%;object-fit:cover;object-position:center center;border-radius:0;background:transparent}
.hero-promotions .promo-secondary{display:none!important}
@media(max-width:1100px){.hero{padding-right:51%}.hero-side.hero-promotions{width:48%;height:600px}}
@media(max-width:780px){.hero{min-height:0;padding:48px 0 45px}.hero-side.hero-promotions{position:static;transform:none;width:100%;height:auto;margin-top:32px}.hero-promotions .promo-main{width:min(100%,430px);height:auto;margin:0 auto;aspect-ratio:4/5}.hero-promotions .promo-main img{width:100%;height:100%;object-fit:cover}}
@media(max-width:520px){.hero{padding:36px 0}.hero-side.hero-promotions{margin-top:26px}.hero-promotions .promo-main{width:100%;border-radius:10px}}

/* V3.2: independent administrator entry. Public page stays a viewer experience. */
body:not(.admin-route) #adminBtn { display: none !important; }
body:not(.admin-route) #studio,
body:not(.admin-route) #moderation { display: none !important; }
.admin-route .hero,
.admin-route #live,
.admin-route #schedule,
.admin-route #insights { display:none !important; }
.admin-route #creatorLive { padding-top:32px; }
.admin-route header.head nav { display:flex; }


/* V3.2.1: show the ENTIRE promotional poster at a smaller size. */
@media (min-width:781px) {
  .hero { min-height:590px; padding-right:45%; }
  .hero-side.hero-promotions {
    width:min(37%, 390px);
    height:auto;
    aspect-ratio:4 / 5;
    right:0;
    top:50%;
    transform:translateY(-50%);
  }
  .hero-promotions .promo-main { width:100%; height:100%; }
}
.hero-promotions .promo-main img {
  width:100%; height:100%; object-fit:contain;
  object-position:center center;
  background:#130e0f;
}
@media (max-width:780px) {
  .hero-side.hero-promotions { width:100%; height:auto; transform:none; }
  .hero-promotions .promo-main {
    width:min(100%,340px);
    height:auto;
    aspect-ratio:4 / 5;
    margin:0 auto;
  }
  .hero-promotions .promo-main img { object-fit:contain; }
}

/* V3.3: integrate camera and visitor chat into the existing live channel */
.camera-stage{background:#0d090a;border-top:1px solid var(--line)}
.camera-stage .interact-screen{aspect-ratio:16/9}
.channel-extras{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;margin-top:20px;align-items:start}
.channel-extras .chat-panel,.channel-extras .studio{background:var(--panel);border:1px solid var(--line);border-radius:13px;min-height:0}
.channel-extras .studio{padding:20px}
.channel-extras .chat-panel{min-height:330px}
@media(max-width:790px){.channel-extras{grid-template-columns:1fr}}

/* V3.4: admin-integrated studio + image/text recommendations */
.section-hidden{display:none!important}#studioMount .studio{margin:16px 0;padding:18px;border:1px solid #5b4246;border-radius:10px;background:#191113}#studioMount .studio h3{margin:0 0 12px}#studioMount .studio-buttons{display:flex;flex-wrap:wrap;gap:9px}#studioMount .file-label{display:block;margin-top:13px}#studioMount input[type=file],.tip-upload input[type=file]{width:100%;font-size:13px}.tip-image{max-width:100%;height:auto;max-height:460px;object-fit:contain;border-radius:8px;margin:10px 0 14px;align-self:center}.tip p{white-space:pre-line}.tip-image-preview{display:block;max-width:200px;max-height:220px;object-fit:contain;margin:8px 0;border-radius:8px}.tip-upload{min-width:0;overflow-wrap:anywhere}.tip-upload input[type=text]{font-size:12px}#studioMount .studio.hidden{display:none!important}

/* V3.5 microphone and shared live artwork */
#player,.camera-stage{position:relative}.channel-broadcast-overlay{position:absolute;right:14px;bottom:14px;width:auto;max-width:min(38%,300px);max-height:48%;object-fit:contain;z-index:8;pointer-events:none;filter:drop-shadow(0 2px 8px #0009)}.studio-volumes{display:grid;gap:12px;margin:16px 0}.studio-volumes label{display:flex;gap:12px;align-items:center;flex-wrap:wrap;color:#e6e0d7}.studio-volumes input{width:min(100%,350px);accent-color:#e5c388}.studio-volumes output{min-width:45px;color:#e4c48c}#player:has(.channel-broadcast-overlay){min-height:200px}

/* V3.6 configurable synchronized viewer overlay */
#player,#cameraStage{position:relative;isolation:isolate}
#player .channel-broadcast-overlay,#cameraStage .channel-broadcast-overlay{position:absolute;display:block;box-sizing:border-box;max-width:100%;max-height:95%;width:55%;height:auto;object-fit:contain;pointer-events:none;z-index:50;filter:drop-shadow(0 3px 8px #0009);inset:auto;transform:none;right:2%;bottom:2%;left:auto;top:auto}
.channel-broadcast-overlay[data-position="top-left"]{top:2%!important;left:2%!important;right:auto!important;bottom:auto!important;transform:none!important}
.channel-broadcast-overlay[data-position="top-center"]{top:2%!important;left:50%!important;right:auto!important;bottom:auto!important;transform:translateX(-50%)!important}
.channel-broadcast-overlay[data-position="top-right"]{top:2%!important;right:2%!important;left:auto!important;bottom:auto!important;transform:none!important}
.channel-broadcast-overlay[data-position="middle-left"]{top:50%!important;left:2%!important;right:auto!important;bottom:auto!important;transform:translateY(-50%)!important}
.channel-broadcast-overlay[data-position="center"]{top:50%!important;left:50%!important;right:auto!important;bottom:auto!important;transform:translate(-50%,-50%)!important}
.channel-broadcast-overlay[data-position="middle-right"]{top:50%!important;right:2%!important;left:auto!important;bottom:auto!important;transform:translateY(-50%)!important}
.channel-broadcast-overlay[data-position="bottom-left"]{bottom:2%!important;left:2%!important;right:auto!important;top:auto!important;transform:none!important}
.channel-broadcast-overlay[data-position="bottom-center"]{bottom:2%!important;left:50%!important;right:auto!important;top:auto!important;transform:translateX(-50%)!important}
.channel-broadcast-overlay[data-position="bottom-right"]{bottom:2%!important;right:2%!important;left:auto!important;top:auto!important;transform:none!important}
.overlay-layout-controls{display:grid;gap:14px;margin:14px 0;padding:14px;border:1px solid #4d373b;border-radius:12px}
.overlay-layout-controls label{display:grid;gap:8px;color:#e6e0d7}
.overlay-layout-controls input[type=range]{width:100%;accent-color:#e5c388}
.overlay-layout-controls select{width:100%;padding:10px;background:#190f11;color:#f2eee8;border:1px solid #63484d;border-radius:8px}

/* V3.7 会员聊天登录 */
.member-login{padding:12px;border:1px solid #4e393d;border-radius:12px;margin:12px 0;display:grid;gap:8px}.member-login small{color:#c5bdaf}.member-login #memberAuth{display:grid;gap:7px}.member-login input{min-width:0;width:100%;box-sizing:border-box;padding:9px;background:#1e1214;color:#fff;border:1px solid #60454a;border-radius:7px}.member-buttons{display:flex;gap:8px;flex-wrap:wrap}.member-buttons button,.member-login button{padding:8px 12px;background:#dcbb84;border:0;border-radius:8px;cursor:pointer}.visitor-row{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.visitor-row button{padding:5px 8px}.hidden{display:none!important}

/* V3.8: desktop chat left, member login right */
.channel-extras{grid-template-columns:minmax(0,1.65fr) minmax(310px,1fr);align-items:stretch}
.member-panel{background:var(--panel);border:1px solid var(--line);border-radius:13px;padding:20px;align-self:start}
.member-panel h3{margin:0 0 16px}.member-panel .member-login{margin:0}
.member-row{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;padding:12px 4px;border-bottom:1px solid var(--line)}
.member-row small{color:var(--muted)}.member-actions{display:flex;gap:6px;flex-wrap:wrap}.member-actions button{padding:7px;border:1px solid var(--line);border-radius:7px;background:#38262a;color:#fff;cursor:pointer}
@media(max-width:790px){.channel-extras{grid-template-columns:1fr}.member-panel{order:2}}

/* V3.9 player controls, fullscreen and optional live chat overlay */
#livePlayerCard{position:relative;min-width:0}
.viewer-controls{display:flex;gap:8px;justify-content:flex-end;padding:8px 12px;background:#201618;position:relative;z-index:11}
.viewer-controls button{border:1px solid #674b50;border-radius:7px;background:#322427;color:#eee3d0;padding:8px 13px;cursor:pointer;font-size:13px}
.viewer-controls button[aria-pressed="true"]{background:#e0bf87;color:#1e1013}
#player .danmu-layer,#cameraStage .danmu-layer{position:absolute;inset:0;z-index:65;pointer-events:none;overflow:hidden;display:none}
#player .danmu-layer.danmu-visible,#cameraStage .danmu-layer.danmu-visible{display:block}
.danmu-message{position:absolute;left:100%;white-space:nowrap;max-width:90%;overflow:hidden;text-overflow:ellipsis;font-weight:700;font-size:clamp(12px,1.8vw,20px);color:#fff;text-shadow:0 1px 3px #000,0 0 6px #000;background:#0006;border-radius:5px;padding:3px 7px;animation:danmu-fly 10s linear forwards}
@keyframes danmu-fly{from{transform:translateX(0)}to{transform:translateX(calc(-100vw - 130%))}}
#livePlayerCard:fullscreen{width:100vw;height:100dvh;background:#090607;display:flex;flex-direction:column;justify-content:center}
#livePlayerCard:fullscreen .player-top,#livePlayerCard:fullscreen .player-meta{display:none}
#livePlayerCard:fullscreen .viewer-controls{position:absolute;right:12px;top:12px;background:#0008;border-radius:9px}
#livePlayerCard:fullscreen #player:not(.hidden),#livePlayerCard:fullscreen #cameraStage:not(.hidden){width:100%;max-height:100dvh;flex:1;display:flex;justify-content:center;align-items:center}
#livePlayerCard:fullscreen #player video,#livePlayerCard:fullscreen #cameraStage video{max-height:100dvh;object-fit:contain}
@media(max-width:790px){
 .watch-grid{display:flex;flex-direction:column;gap:14px}
 .watch-grid>.player-card{order:1;width:100%}
 .watch-grid>#channelChatPanel{order:2;width:100%;min-height:290px}
 .watch-grid>.streams{order:3;width:100%}
 .channel-extras{display:flex;flex-direction:column}
 .viewer-controls{justify-content:space-between}
}

/* V3.11 admin realtime chat */
.admin-chat-desk{border:1px solid #4f393d;border-radius:14px;margin:18px 0;padding:15px;background:#191113;color:#f2efe9}.admin-chat-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.admin-chat-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:14px}.admin-chat-grid section{min-width:0}.admin-chat-feed,.admin-online-users{height:260px;overflow:auto;border:1px solid #4d373b;border-radius:9px;padding:9px;background:#140c0e}.admin-msg,.admin-user-row{border-bottom:1px solid #3a2a2d;padding:8px 3px;overflow-wrap:anywhere}.admin-msg small,.admin-user-row small{opacity:.72}.admin-msg button,.admin-user-row button{font-size:12px;margin:3px;padding:5px 8px}.admin-chat-send{display:flex;gap:8px;margin-top:8px}.admin-chat-send input{flex:1;min-width:0}.admin-user-row>div:last-child{display:flex;flex-wrap:wrap}.admin-chat-head h3{margin:5px 0 12px}@media(max-width:750px){.admin-chat-grid{grid-template-columns:1fr}.admin-chat-feed,.admin-online-users{height:200px}}

/* V3.12 — display the actual video player horizontally, including iframe/HLS/MP4.
   On phones without screen.orientation.lock, rotate the player card itself. */
body.landscape-open{overflow:hidden!important}
#livePlayerCard.landscape-mode{position:fixed!important;inset:0!important;z-index:99999!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:#000!important;width:100vw!important;height:100dvh!important;max-width:none!important;display:flex!important;flex-direction:column!important;justify-content:center!important;overflow:hidden!important}
#livePlayerCard.landscape-mode .player-top,#livePlayerCard.landscape-mode .player-meta{display:none!important}
#livePlayerCard.landscape-mode .viewer-controls{position:absolute!important;top:env(safe-area-inset-top, 6px)!important;right:env(safe-area-inset-right, 8px)!important;z-index:100!important;background:#0009!important;border-radius:10px!important;padding:5px!important}
#livePlayerCard.landscape-mode #player:not(.hidden),#livePlayerCard.landscape-mode #cameraStage:not(.hidden){height:100%!important;width:100%!important;min-height:0!important;max-height:none!important;max-width:none!important;aspect-ratio:auto!important;flex:1 1 auto!important;overflow:hidden!important;background:#000!important;position:relative!important}
#livePlayerCard.landscape-mode #player video,#livePlayerCard.landscape-mode #player iframe,#livePlayerCard.landscape-mode #cameraStage video{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:contain!important;border:0!important}
#livePlayerCard.landscape-mode .camera-stage .interact-header,#livePlayerCard.landscape-mode .camera-stage .interact-tools,#livePlayerCard.landscape-mode .camera-stage .footnote{display:none!important}
#livePlayerCard.landscape-mode .camera-stage .interact-screen{height:100%!important;width:100%!important;position:relative!important}
@media(orientation:portrait){
 #livePlayerCard.landscape-mode.landscape-rotated{width:100dvh!important;height:100vw!important;top:0!important;left:100vw!important;right:auto!important;bottom:auto!important;transform:rotate(90deg)!important;transform-origin:top left!important}
 #livePlayerCard.landscape-mode.landscape-rotated .viewer-controls{top:5px!important;right:10px!important}
}

/* V3.13 管理员访问统计 */
.visit-stats{margin:18px 0}.stats-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:10px;margin:15px 0}.stats-cards>div{padding:15px;background:#191113;border:1px solid #443135;border-radius:9px}.stats-cards small{display:block;color:#9aaa9b;font-size:12px}.stats-cards strong{font-size:27px;color:#e2bf84;display:block;margin-top:8px}.stats-table-wrap{max-height:360px;overflow:auto}.stats-table{width:100%;border-collapse:collapse;font-size:13px}.stats-table th,.stats-table td{padding:9px 12px;text-align:left;border-bottom:1px solid #473337}.stats-table th{position:sticky;top:0;background:#201819}

/* V3.15: show guest composer as read-only, not unclickable. */
#chatInput[readonly]{cursor:text;opacity:1;background:#221719;color:#d7d1c7}
#chatInput:not([readonly]){cursor:text;opacity:1}

/* V3.16 floating private chat; iOS safe-area support */
.gl-private{position:fixed;right:16px;bottom:calc(20px + env(safe-area-inset-bottom,0px));width:min(380px,calc(100vw - 24px));height:min(440px,75dvh);display:flex;flex-direction:column;background:#201416;color:#fdfbf8;border:1px solid #8d7e64;border-radius:14px;z-index:99999;box-shadow:0 16px 60px #0009;padding:12px;box-sizing:border-box}
.gl-private-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.gl-private-head button{border:0;background:#392a2c;color:white;font-size:22px;border-radius:6px;padding:2px 12px}.gl-private-history{flex:1;overflow:auto;border-block:1px solid #543d41;margin:10px 0;padding:8px 0;overflow-wrap:anywhere}.gl-private-history p{margin:7px 0}.gl-private-compose{display:flex;gap:8px}.gl-private-compose input{min-width:0;flex:1;background:#170c0e;color:white;border:1px solid #6f5156;padding:10px;border-radius:7px;font-size:16px}.gl-private-compose button{background:#e2c086;border:0;border-radius:7px;padding:8px 12px;color:#1f1517}.gl-private small{color:#f0b7a7}
#chatInput{pointer-events:auto!important;touch-action:manipulation;font-size:16px!important;position:relative;z-index:1}
@media(max-width:790px){.gl-private{right:8px;bottom:calc(8px + env(safe-area-inset-bottom,0px));height:min(420px,70dvh)}}

/* V3.17 targeted mobile composer fix: make input focusable while session syncs. */
#chatInput{pointer-events:auto!important;user-select:text;-webkit-user-select:text;touch-action:auto!important;min-height:44px}
#chatInput:focus{outline:2px solid #e2bf84;outline-offset:1px}

/* V3.18: official API and manually curated match fixtures are separate sections */
.separate-manual{margin:0;border:1px solid var(--line);border-radius:13px;padding:18px;background:var(--panel)}
.admin-official{padding:12px 0}.admin-official .stats-table-wrap{margin-top:14px;max-height:45vh;overflow:auto}.admin-official .admin-actions a{display:inline-flex;align-items:center}
@media(max-width:600px){.head nav{justify-content:flex-start;overflow-x:auto;scrollbar-width:none;gap:16px;white-space:nowrap}.head nav a{flex:0 0 auto}.separate-manual{padding:10px}.admin-official .stats-table{font-size:11px}}

/* V3.19: iPhone chat keyboard and touch target. */
#channelChatPanel .chat-composer{position:relative;z-index:3;pointer-events:auto;}
#channelChatPanel #chatInput{position:relative!important;z-index:4!important;min-height:48px!important;font-size:16px!important;pointer-events:auto!important;touch-action:manipulation!important;-webkit-user-select:text!important;user-select:text!important;}
#channelChatPanel #sendChat{position:relative;z-index:4;pointer-events:auto!important;touch-action:manipulation;}

/* V3.20 member panel: online first and visible presence */
.member-identity{display:flex;align-items:center;flex-wrap:wrap;gap:7px;min-width:0}.member-presence{display:inline-block;flex:0 0 10px;width:10px;height:10px;border-radius:50%;background:#78857e;box-shadow:0 0 0 2px #352629}.member-presence.is-online{background:#d7b171;box-shadow:0 0 0 2px #472b30,0 0 10px #d7b17188}.member-actions button[data-private-member]{background:#dcbb84;color:#1f1517;border-color:#dcbb84;font-weight:700}.member-row{gap:12px}

/* V3.21: public composer always accepts taps and text input; only server authorizes sending. */
body:not(.admin-route) #channelChatPanel .chat-composer{position:relative;z-index:5;}
body:not(.admin-route) #chatInput{opacity:1!important;pointer-events:auto!important;user-select:text!important;-webkit-user-select:text!important;font-size:16px!important;touch-action:auto!important;min-height:48px!important;}
body:not(.admin-route) #sendChat{pointer-events:auto!important;}

/* V3.22 multiple admin private conversations: each account has its own window. */
.admin-private-windows{position:fixed;z-index:99998;right:12px;bottom:12px;display:flex;align-items:flex-end;flex-direction:row;gap:12px;max-width:calc(100vw - 24px);pointer-events:none;overflow-x:auto;scrollbar-width:thin;}
.admin-private-windows .admin-private-window{position:relative;right:auto;bottom:auto;flex:0 0 330px;width:330px;height:min(420px,68dvh);pointer-events:auto;z-index:auto;}
@media(max-width:750px){.admin-private-windows{right:8px;bottom:calc(8px + env(safe-area-inset-bottom,0px));max-width:calc(100vw - 16px);gap:8px}.admin-private-windows .admin-private-window{flex-basis:min(340px,calc(100vw - 20px));width:min(340px,calc(100vw - 20px));height:min(410px,67dvh)}}

/* V3.23 private images */
.gl-private-image{display:block;max-width:100%;max-height:245px;width:auto;height:auto;object-fit:contain;border-radius:9px;margin:7px 0;cursor:zoom-in;background:#130c0d}
.gl-private-compose{display:flex;gap:6px;align-items:center}.gl-private-compose input:not([type=file]){min-width:0;flex:1}.gl-private-compose button{flex:0 0 auto;padding:9px 11px}
@media(max-width:500px){.gl-private-compose button{padding:9px 7px;font-size:12px}}
.gl-private-compose input[type="file"][hidden]{display:none!important}

/* V3.24: same-page enlarged private-image viewer, safe on iOS/Android */
.gl-image-viewer{position:fixed!important;inset:0!important;z-index:2147483000!important;background:rgba(0,0,0,.94)!important;display:flex;align-items:center;justify-content:center;padding:60px 12px max(16px,env(safe-area-inset-bottom));touch-action:pan-x pan-y;overscroll-behavior:contain}
.gl-image-viewer.hidden{display:none!important}
.gl-image-viewer-photo{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;user-select:none;-webkit-user-select:none}
.gl-image-viewer-close{position:absolute;z-index:2;top:max(12px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right));background:#342628;color:#fff;border:1px solid #988a71;border-radius:9px;padding:10px 15px;font-size:15px;cursor:pointer}
.gl-private-image{cursor:zoom-in}


/* GOLD EDITION — visual redesign only, no changes to API/chat/admin logic */
:root {--bg:#100b0a;--panel:#1b1211;--panel2:#261b15;--line:#634329;--mint:#ffcb68;--text:#fff2dc;--muted:#c6ad94}
body {background:radial-gradient(circle at 78% 9%,rgba(132,34,24,.22),transparent 36%),radial-gradient(circle at 15% 25%,rgba(205,140,33,.10),transparent 40%),#100b0a}
.head {background:#150d0cf2;border-bottom:1px solid #75532d}
.head nav a:hover,.linkbtn:hover {color:#ffd476}
.logo span:last-child,.logo-icon {color:#ffd17b}
.hero {background:linear-gradient(110deg,rgba(106,24,18,.13),transparent 55%)}
.hero h1 em {color:#ffc45b;text-shadow:0 4px 30px #b84a2633}
.eyebrow,.overline {color:#ffcf7a}
.pulse {background:#ffc55e;box-shadow:0 0 12px #ffc55e}
.primary,.tabbar button.active,.adminnav button.active,.member-buttons button,.member-login button {background:linear-gradient(135deg,#ffe09a,#e9a73d);border-color:#e7aa50;color:#351607}
.primary:hover {background:linear-gradient(135deg,#ffedbe,#ffc35f)}
.ghost {border-color:#8d6745;color:#ffe2bc}
.ghost:hover {border-color:#ffc86d}
.player-card,.streams,.fixtures,.tip,.member-panel,.chat-panel,.admin-chat-desk {background:#1b1311;border-color:#5b3d2c}
.stream-item.selected {background:#34241c;border-color:#d9a652}
.status-dot.live {background:#a82422;color:#fff}
.tip-tag,.watch-link,.mini-status,.stream-item strong,.foot b {color:#ffce7c}
.logo,.hero h1,.section-title h2 {text-shadow:0 1px 16px rgba(221,124,47,.08)}
.hero-promotions .promo-main {border:1px solid #bf8036!important;box-shadow:0 16px 55px #0009,0 0 25px #bc661524;background:#160d08!important}
.hero-promotions .promo-main img {object-fit:contain!important;object-position:center!important;background:#150d0b!important}
/* The new poster is 4:~6.5 portrait. Never crop its content. */
@media(min-width:781px){.hero {min-height:700px;padding-right:46%}.hero-side.hero-promotions {width:min(38%,390px);height:auto;aspect-ratio:852/1280}.hero-promotions .promo-main {width:100%;height:100%}}
@media(max-width:780px){.hero {padding-bottom:36px}.hero-side.hero-promotions {position:static!important;width:100%!important;transform:none!important;height:auto!important;aspect-ratio:auto!important;display:block!important;margin-top:26px}.hero-promotions .promo-main {aspect-ratio:852/1280!important;width:min(100%,410px)!important;height:auto!important;max-width:100%;margin-inline:auto}.hero-promotions .promo-main img {width:100%;height:100%;object-fit:contain!important}}


/* 云飞独立版 · 曜紫鎏金视觉主题。仅覆盖外观，不触碰 V3.24 功能逻辑。 */
:root{--bg:#170e10;--panel:#231719;--panel2:#27192d;--line:#51405c;--mint:#f8c96c;--text:#fff8ef;--muted:#c4adc8}
body{background:radial-gradient(ellipse at 82% 0%,#35203a 0%,transparent 37%),linear-gradient(180deg,#1a1012,#140c0e 65%);color:var(--text)}
.head{background:#190f11ef;border-bottom:1px solid #684967}.logo,.foot b{color:#fff5e6}.logo-icon,.logo span:last-child{color:#ffd071}.head nav{color:#f4e6dc}
.head nav a:hover{color:#ffcf65}.hero{background:radial-gradient(ellipse at 35% 42%,#48234091,transparent 56%),radial-gradient(ellipse at 70% 30%,#7a451a44,transparent 45%);border-bottom:1px solid #694568}
.hero::before{content:"";position:absolute;left:-16%;top:-65%;width:520px;height:520px;pointer-events:none;border:1px solid #fac66b24;border-radius:50%;box-shadow:0 0 130px #b55b8b22}
.hero h1{color:#fff7e9;text-shadow:0 5px 28px #13050c99}.hero h1 em{background:linear-gradient(95deg,#fff1b8,#ffc46d,#ed8ba8);background-clip:text;-webkit-background-clip:text;color:transparent}
.hero p{color:#e7ccd3}.eyebrow,.overline,.accent{color:#ffce83}.pulse{background:#ffd16a;box-shadow:0 0 15px #ffb85e}
.primary,.tabbar button.active,.adminnav button.active{background:linear-gradient(120deg,#ffe09a,#f1aa54);color:#311321;border-color:#ffd17a}.primary:hover{background:#ffe3ac}
.ghost{border-color:#997095;color:#fff0e6}.ghost:hover{border-color:#ffce83}
.player-card,.streams,.fixtures,.tip,.chat-panel,.member-panel{background:#221719;border-color:#5a3e57}
.player{background:radial-gradient(circle at center,#42213d,#160c0e 66%)}
.stream-item{background:#2a1b2e}.stream-item.selected{border-color:#e6b762;background:#432739}
.modal-panel{background:#26181b;border-color:#9b6f75}.modal input,.modal textarea,.modal select{background:#1c1012;border-color:#6d4a67}
.hero-promotions .promo-main img{background:#160f1b;box-shadow:0 18px 68px #0008,0 0 0 1px #ecba705c;border-radius:16px}
@media(min-width:781px){.hero{min-height:670px}.hero-side.hero-promotions{width:min(34%,395px);aspect-ratio:3 / 4}}
@media(max-width:780px){.hero{height:auto!important;min-height:0!important;padding:38px 0 25px!important;display:flex!important;flex-direction:column!important;align-items:stretch!important}.hero h1{font-size:clamp(37px,9vw,55px)}.hero-side.hero-promotions{position:relative!important;right:auto!important;top:auto!important;width:100%!important;opacity:1!important;height:auto!important;transform:none!important;margin-top:22px}.hero-promotions .promo-main{width:min(100%,380px)!important;height:auto!important;aspect-ratio:3 / 4!important}.hero-promotions .promo-main img{max-height:none!important}}

/* 林淼 LIVE 独立红金版 */
:root{--accent:#d43753;--primary:#c62a46;--highlight:#e4be7d;}
body{background:#fbf6ee!important;color:#461d24!important;}
.head{background:linear-gradient(110deg,#4b101b,#902034)!important;border-bottom:2px solid #e2ba76!important;}
.head a,.head nav a{color:#fcf8f2!important;}
.hero{background:linear-gradient(125deg,#57131f,#b3263f 60%,#fbf6ee)!important;}
.hero h1,.hero p{color:#fdfbf7!important;}
.primary{background:linear-gradient(100deg,#cc2b48,#e1b76f)!important;border-color:#cd3b55!important;}
.studio-channel-pick{display:block;margin:10px 0;padding:12px;border:1px solid #dab16b;border-radius:12px;background:#fbf6ed;color:#6c222f;font-weight:800;}
.studio-channel-pick select{display:block;width:100%;padding:11px;margin-top:8px;border:1px solid #c5586b;border-radius:8px;}
.member-overview{margin:18px 0;padding:15px;border:1px solid #dec08d;border-radius:14px;background:#fcf8f2;}
.member-overview .member-row{border-bottom:1px solid #efe0c8;padding:10px 0;}
.member-overview .member-actions{display:flex;gap:6px;flex-wrap:wrap;}


/* 校长 V1.2 · 红金布局统一、适配移动端；仅修改当前独立项目 */
:root{--bg:#fbf6ee;--panel:#fbf6ee;--panel2:#f8eedd;--line:#e7d2ad;--mint:#b72c45;--text:#511822;--muted:#87555e}
body{background:linear-gradient(155deg,#fcf9f3,#f9f0e2 55%,#f5e7cf)!important;color:#5c202b!important}
.hero{padding-left:clamp(24px,5vw,82px)!important;background:linear-gradient(120deg,#52111d,#911f33 57%,#e1b974)!important}
.hero>.eyebrow,.hero>h1,.hero>p,.hero>.hero-actions{position:relative;left:0;max-width:680px;text-align:center;margin-left:auto;margin-right:auto}
.hero>.hero-actions{display:flex;justify-content:center;gap:15px;flex-wrap:wrap}
.hero-side.hero-promotions{right:0!important}
.hero-promotions .promo-main{aspect-ratio:1086/1448!important;height:auto!important;border:2px solid #ebd0a2!important;background:#fbf6ee!important;box-shadow:0 16px 48px #69162590!important}
.hero-promotions .promo-main img{object-fit:contain!important;background:#fbf6ee!important}
.section-title h2,.section-title h2 span,.section-title .accent{color:#781a2b!important}
.player-card,.streams,.fixtures,.manual-fixtures,.tip,.member-panel,.chat-panel,.admin-chat-desk{background:linear-gradient(155deg,#fefcf9,#f6ead5)!important;border:1px solid #dec08c!important;color:#6a1d2b!important;box-shadow:0 10px 26px #a4364a19!important}
.player-top,.side-heading,.player-meta,.interact-header{background:linear-gradient(100deg,#681625,#a4233a)!important;color:#fff!important}
.stream-item,.fixture-row,.official-row,.tip{background:#fcf8f2!important;border-color:#e6d2af!important;color:#661c2a!important}
.stream-item.selected{background:#f5e7cf!important;border-color:#bd314a!important}
.stream-item strong,.teams,.teams b,.team-name,.fixture-row .league,.f-time,.note,.footnote,.side-note,.subdued,.range-controls span,.schedule-meta #realUpdated{color:#762533!important}
.player,.interact-screen{background:radial-gradient(circle at center,#862133,#2e0b11 80%)!important;color:#fff!important}
.player .play-empty,.player .play-empty *{color:#fbf6ed!important}
.ghost,.league-pills button,.range-controls button,.refresh-score,.tabbar button{background:#fcf8f0!important;color:#801b2d!important;border:1px solid #e2c695!important}
.primary,.tabbar button.active,.league-pills button.active{background:linear-gradient(110deg,#c42c47,#e0b56c)!important;color:#fff!important;border-color:#c02b46!important}
.watch-grid .streams .side-heading,.chat-panel .side-heading{background:transparent!important;color:#7a1b2c!important}
.chat-message,.chat-message b,.member-panel h3,.member-panel strong,.member-panel small,.chat-composer,.chat-composer input{color:#721b2b!important}
.chat-composer input,.member-panel input,.name-box input{background:#fff!important;border:1px solid #dfc598!important;color:#5d1d29!important}
.foot{background:#641523!important;color:#fbf5ea!important}
.modal-panel{background:linear-gradient(160deg,#681725,#aa243c 62%,#e8c891)!important;border:1px solid #ebd0a2!important;color:#fff!important}
.modal-title h3,.modal-title small,.modal-panel .note,.modal-panel label,.modal-panel h3,.modal-panel h4{color:#fdfbf7!important}
.adminnav{display:flex!important;flex-wrap:wrap;gap:9px;padding:8px 0 15px!important}
.adminnav button{background:#6c1b2a!important;color:#fff!important;border:1px solid #e3bc79!important;border-radius:9px!important;padding:10px 13px!important}
.adminnav button.active{background:linear-gradient(120deg,#ffe5ab,#ffbc5a)!important;color:#581d28!important;border-color:#ffe0a1!important}
.xz-admin-home-label{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#fff;font-weight:800;font-size:21px;padding:9px 3px}
.xz-admin-home-label span{font-size:12px;font-weight:400;color:#f3e2c5}
#memberOverview{order:0!important;background:linear-gradient(135deg,#fefcf9,#f8eedd)!important;border:1px solid #e4c692!important;border-radius:18px!important;color:#5d1e29!important;box-shadow:0 12px 30px #54121e2c!important;margin:8px 0 20px!important;padding:20px!important}
#memberOverview h3{color:#651b28!important;font-size:23px;margin:0 0 10px}
#memberOverview .note{color:#81585f!important}
#memberOverviewList{max-height:400px;overflow:auto}
#memberOverviewList .member-row{display:grid;grid-template-columns:minmax(170px,1fr) minmax(0,2fr);align-items:center;gap:12px;padding:12px 5px;border-bottom:1px solid #eadcc3}
#memberOverviewList .member-identity{color:#69202d!important}
#memberOverviewList .member-identity small{color:#81535b!important}
#memberOverviewList .member-actions{display:flex;flex-wrap:wrap;gap:7px;justify-content:flex-end}
#memberOverviewList .member-actions button,#refreshMemberOverview{background:#fdfaf5!important;color:#7e1b2d!important;border:1px solid #ccb388!important;border-radius:8px;padding:8px 12px;cursor:pointer}
#memberOverviewList [data-overview-action="ban"],#memberOverviewList [data-overview-action="kick"]{background:#fff3f2!important;color:#a82234!important;border-color:#e7b0b7!important}
#memberOverviewList [data-overview-private]{background:#f8efdf!important;color:#901f33!important}
#studio,.adminform{background:#faf3e8!important;color:#64212d!important;border:1px solid #e6cea4!important;border-radius:12px;padding:18px}
#studio h3,#studio p,#studio label,.adminform h4{color:#772836!important}
.modal input,.modal textarea,.modal select,.adminform input,.adminform textarea,.adminform select{background:#fff!important;color:#611d2a!important;border:1px solid #d6bb8c!important}
@media(min-width:781px){.hero{padding-right:42%!important}.hero-side.hero-promotions{width:min(34%,410px)!important;aspect-ratio:1086/1448!important}}
@media(max-width:780px){.hero{padding:40px 18px!important}.hero>.hero-actions{justify-content:center}.hero-side.hero-promotions{width:100%!important}.hero-promotions .promo-main{width:min(100%,380px)!important;aspect-ratio:1086/1448!important}#memberOverviewList .member-row{grid-template-columns:1fr}#memberOverviewList .member-actions{justify-content:flex-start}.xz-admin-home-label{font-size:16px}}

/* 校长 V1.3：首页布局与红金视觉微调 */
@media(min-width:781px){
 .hero.shell{padding-left:clamp(28px,4vw,70px)!important;padding-right:44%!important;min-height:710px!important;}
 .hero>.eyebrow,.hero>h1,.hero>p,.hero>.hero-actions{left:0!important;margin-left:0!important;margin-right:0!important;text-align:center!important;max-width:650px!important;}
 .hero>h1{font-size:clamp(46px,5vw,76px)!important;line-height:1.15!important;white-space:normal!important;}
 .hero-side.hero-promotions{right:5.5%!important;width:min(34%,410px)!important;top:50%!important;}
}
@media(max-width:780px){
 .hero>h1{line-height:1.2!important;overflow-wrap:break-word!important;}
}
/* 后台会员名单保持在编辑区顶部，表格与其他内容使用红金配色 */
.admin-route #memberOverview{background:#fcf8f1!important;border-color:#e9cb99!important;}

#legacyFixtureRuntime{display:none!important}

/* V1.5 林淼版首屏修正：大标题不折行；海报整体往页面中部 */
@media(min-width:1100px){
 .hero.shell{padding-left:5%!important;padding-right:42%!important;min-height:710px!important;}
 .hero>h1{font-size:clamp(48px,4.2vw,70px)!important;white-space:nowrap!important;max-width:none!important;line-height:1.18!important;word-break:keep-all!important;overflow-wrap:normal!important;}
 .hero-side.hero-promotions{right:10%!important;width:min(33%,420px)!important;top:50%!important;}
}
@media(min-width:781px) and (max-width:1099px){
 .hero>h1{font-size:clamp(36px,5vw,55px)!important;white-space:nowrap!important;max-width:none!important;}
 .hero-side.hero-promotions{right:5%!important;}
}
#memberManage #memberOverview{margin-bottom:22px!important}
#memberManage .xz-admin-home-label{margin-top:12px!important}

/* 林淼球报 V1.6：手机端横向溢出修复。覆盖旧版桌面优先的多次样式追加。 */
html,body{width:100%;max-width:100%;}
body{overflow-x:clip;}
@media (max-width: 790px){
  html,body{width:100%;max-width:100%;overflow-x:hidden!important;}
  body{position:relative;}
  .shell{width:calc(100% - 28px)!important;max-width:100%!important;margin-inline:auto!important;min-width:0!important;}
  .head,.head-inner,.head nav,main,footer,.section,.hero,.watch-grid,.channel-extras{min-width:0!important;max-width:100%!important;}
  .head-inner{display:flex!important;flex-wrap:wrap!important;align-content:center!important;height:auto!important;min-height:70px!important;padding:10px 0!important;gap:6px 12px!important;}
  .head-inner .logo{flex:0 1 auto;font-size:clamp(17px,4.9vw,22px)!important;min-width:0!important;}
  .head nav{order:3!important;flex:1 1 100%!important;display:flex!important;justify-content:flex-start!important;gap:15px!important;overflow-x:auto!important;overscroll-behavior-x:contain;white-space:nowrap!important;-webkit-overflow-scrolling:touch;scrollbar-width:none;}
  .head nav::-webkit-scrollbar{display:none;}
  .head nav a{flex:0 0 auto!important;}
  .head .linkbtn{margin-left:auto;flex:0 0 auto;}
  .hero.shell{width:calc(100% - 28px)!important;max-width:100%!important;height:auto!important;min-height:0!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important;align-items:stretch!important;padding:26px 14px!important;overflow:hidden!important;}
  .hero>.eyebrow,.hero>h1,.hero>p,.hero>.hero-actions{position:relative!important;left:auto!important;right:auto!important;width:100%!important;max-width:100%!important;min-width:0!important;margin-left:0!important;margin-right:0!important;transform:none!important;text-align:center!important;}
  .hero>h1{white-space:normal!important;overflow-wrap:break-word!important;word-break:normal!important;font-size:clamp(35px,9vw,54px)!important;letter-spacing:-1.5px!important;line-height:1.2!important;}
  .hero>.eyebrow{justify-content:center!important;font-size:11px!important;letter-spacing:1px!important;}
  .hero>p{font-size:14px!important;}
  .hero>.hero-actions{display:flex!important;flex-wrap:wrap!important;gap:10px!important;justify-content:center!important;}
  .hero>.hero-actions>a{max-width:100%;}
  .hero-side.hero-promotions{position:static!important;inset:auto!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;transform:none!important;opacity:1!important;width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;aspect-ratio:auto!important;margin:20px auto 0!important;display:flex!important;justify-content:center!important;align-items:center!important;}
  .hero-promotions .promo-main{display:block!important;width:min(100%,360px)!important;max-width:100%!important;height:auto!important;aspect-ratio:auto!important;margin:0 auto!important;min-width:0!important;}
  .hero-promotions .promo-main img{width:100%!important;max-width:100%!important;height:auto!important;object-fit:contain!important;display:block!important;}
  .watch-grid,.channel-extras{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;width:100%!important;}
  .watch-grid>* ,.channel-extras>* ,.player-card,.streams,.chat-panel,.member-panel,#livePlayerCard,#channelChatPanel{min-width:0!important;max-width:100%!important;width:100%!important;}
  .watch-grid>.player-card{order:1!important;}
  .watch-grid>.streams{order:2!important;}
  .channel-extras>.chat-panel{order:1!important;}
  .channel-extras>.member-panel{order:2!important;}
  .player-top,.player-meta,.side-heading,.interact-header,.interact-tools{min-width:0!important;max-width:100%!important;flex-wrap:wrap!important;overflow-wrap:anywhere;}
  #player,#cameraStage,.camera-stage,.player,.interact-screen,#roomVideo{max-width:100%!important;min-width:0!important;}
  .chat-composer,.member-buttons{display:flex!important;max-width:100%!important;min-width:0!important;}
  .chat-composer input,.chat-composer textarea,.member-login input{min-width:0!important;max-width:100%!important;box-sizing:border-box!important;font-size:16px!important;}
  .chat-composer input{flex:1 1 0!important;width:0!important;}
  .chat-composer button{flex:0 0 auto!important;}
  .section-title,.schedule-toolbar,.schedule-meta,.league-pills,.range-controls,.tabbar{min-width:0!important;max-width:100%!important;}
  .fixture-row,.real-fixture-row{min-width:0!important;max-width:100%!important;}
  .teams,.league,.f-time,.fixture-row>*{min-width:0!important;overflow-wrap:anywhere;}
  .modal{max-width:100vw!important;overflow-x:hidden!important;padding:10px!important;}
  .modal-panel{width:100%!important;max-width:100%!important;min-width:0!important;padding:16px!important;overflow-x:hidden!important;}
  .adminnav{max-width:100%!important;min-width:0!important;}
  .formfields{grid-template-columns:minmax(0,1fr)!important;}
  .formfields>*,.adminform,.admin-chat-grid,.admin-actions{min-width:0!important;max-width:100%!important;}
  .stats-table-wrap{max-width:100%!important;overflow-x:auto!important;}
  .foot,.foot>*{min-width:0!important;max-width:100%!important;overflow-wrap:anywhere;}
}
/* 仅对非全屏播放器生效，保持原有横屏全屏定位规则 */
@media(max-width:790px){
  #livePlayerCard:not(.landscape-mode):not(:fullscreen){width:100%!important;max-width:100%!important;}
}

/* V1.7 手机端：海报按真实 1086x1448 比例展示，导航均分三列 */
@media (max-width: 780px) {
  .hero-side.hero-promotions {padding:0!important;align-items:flex-start!important;}
  .hero-promotions .promo-main {
    display:block!important;
    width:min(100%,430px)!important;
    max-width:100%!important;
    height:auto!important;
    aspect-ratio:1086 / 1448!important;
    padding:0!important;
    margin:0 auto!important;
    border:0!important;
    border-radius:12px!important;
    background:transparent!important;
    overflow:hidden!important;
    line-height:0!important;
  }
  .hero-promotions .promo-main img {
    display:block!important;
    width:100%!important;
    height:100%!important;
    max-width:100%!important;
    max-height:none!important;
    object-fit:fill!important;
    object-position:center!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    border-radius:12px!important;
    background:transparent!important;
    box-shadow:none!important;
    vertical-align:top!important;
  }
  .head-inner {width:calc(100% - 28px)!important;max-width:100%!important;min-width:0!important;}
  .head nav {
    width:100%!important;
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:7px!important;
    padding:8px 0 13px!important;
    margin:0!important;
    flex-wrap:nowrap!important;
    align-items:stretch!important;
  }
  .head nav a {
    display:flex!important;
    min-width:0!important;
    width:100%!important;
    min-height:42px!important;
    padding:9px 3px!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    border:1px solid rgba(165,210,255,.45)!important;
    border-radius:9px!important;
    background:rgba(255,255,255,.09)!important;
    color:#fff!important;
    font-size:clamp(12px,3.5vw,16px)!important;
    font-weight:700!important;
    white-space:nowrap!important;
  }
}


/* 校长后台可读性修复：浅蓝编辑表单使用深色标签，不影响其他页面 */
.admin-route .modal-panel #adminForms .adminform,
.admin-route .modal-panel #adminForms .adminform label {
  color:#5b1f2a!important;
}
.admin-route .modal-panel #adminForms .adminform label {
  font-weight:700!important;
  font-size:13px!important;
}
.admin-route .modal-panel #adminForms .adminform h4 {color:#5b1f2a!important;}
.admin-route .modal-panel #adminForms .adminform input,
.admin-route .modal-panel #adminForms .adminform select,
.admin-route .modal-panel #adminForms .adminform textarea {
  background:#fff!important;
  color:#471d25!important;
  border:1px solid #dbba82!important;
}
.admin-route .modal-panel #adminForms .adminform input:focus,
.admin-route .modal-panel #adminForms .adminform select:focus,
.admin-route .modal-panel #adminForms .adminform textarea:focus {
  outline:2px solid #b73b51!important;
  outline-offset:1px;
}
.admin-route .modal-panel #adminForms .adminform input::placeholder,
.admin-route .modal-panel #adminForms .adminform textarea::placeholder {
  color:#89646a!important;
  opacity:1;
}
/* 校长会员社区：独立于直播聊天布局，PC/手机自适应 */
.forum-section{scroll-margin-top:95px}.forum-help,.forum-status{color:var(--muted,#b5ab99);line-height:1.7}.forum-status{padding:14px 18px;border:1px solid rgba(150,150,150,.2);border-radius:12px;margin:18px 0;background:rgba(145,145,145,.06)}
.forum-editor,.forum-post{border:1px solid rgba(160,160,160,.2);border-radius:14px;padding:20px;margin:15px 0;background:rgba(145,145,145,.05)}
.forum-editor h3,.forum-toolbar h3{margin:0 0 12px}.forum-editor input,.forum-editor textarea,.forum-comment-editor textarea{box-sizing:border-box;width:100%;display:block;margin:12px 0;padding:12px;border:1px solid rgba(175,175,175,.28);border-radius:8px;background:var(--card,#201618);color:inherit;font:inherit}
.forum-editor button,.forum-comment-editor button{min-height:40px}.forum-toolbar,.forum-post-meta,.forum-post-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.forum-toolbar{justify-content:space-between;margin-top:28px}.forum-post-meta time,.forum-comment time{font-size:12px;opacity:.65}.forum-post h3{margin:14px 0}.forum-post-body,.forum-comment p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65}.forum-post-actions{margin-top:16px}.forum-post-actions button,.forum-comment button{cursor:pointer;border:1px solid rgba(150,150,150,.28);border-radius:8px;padding:8px 12px;background:transparent;color:inherit}.forum-post-actions .forum-danger{color:#ff8989}.forum-comments{margin-top:16px;border-top:1px solid rgba(160,160,160,.2);padding-top:15px}.forum-comment{padding:12px;border-bottom:1px solid rgba(160,160,160,.16)}.forum-comment button{float:right;font-size:12px}.forum-comment p{margin:8px 0}.forum-comment-editor{margin-top:12px}
@media(max-width:640px){.forum-editor,.forum-post{padding:13px}.forum-toolbar{align-items:center}}


/* 校长清爽导航版：独立路由视图，避免四个栏目向下堆积 */
body[data-xz-page] #live[hidden],body[data-xz-page] #insights[hidden],body[data-xz-page] #forum[hidden],body[data-xz-page] #schedule[hidden]{display:none!important}
body[data-xz-page]:not([data-xz-page="home"]) .hero,body[data-xz-page]:not([data-xz-page="home"]) #xzHomeMember{display:none!important}
body[data-xz-page="home"] .hero>.eyebrow,body[data-xz-page="home"] .hero>h1,body[data-xz-page="home"] .hero>p,body[data-xz-page="home"] .hero>.hero-actions{display:none!important}
body[data-xz-page="home"] main#home{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(300px,.95fr);gap:25px;max-width:1160px;width:calc(100% - 40px);margin:30px auto 12px;align-items:start}
body[data-xz-page="home"] main#home>.hero{grid-column:1;position:relative;display:block!important;width:100%!important;height:auto!important;min-height:0!important;padding:0!important;margin:0!important;overflow:visible!important;border:0!important;background:transparent!important}
body[data-xz-page="home"] .hero-side.hero-promotions{position:relative!important;top:auto!important;right:auto!important;left:auto!important;width:100%!important;max-width:490px!important;height:auto!important;aspect-ratio:1086 / 1448!important;margin:0 auto!important;opacity:1!important;transform:none!important;display:block!important}
body[data-xz-page="home"] .hero-promotions .promo-main{width:100%!important;height:100%!important;aspect-ratio:1086 / 1448!important;margin:0!important;overflow:hidden!important}
body[data-xz-page="home"] .hero-promotions .promo-main img{width:100%!important;height:100%!important;object-fit:contain!important;display:block!important}
body[data-xz-page="home"] #xzHomeMember{grid-column:2;min-width:0;display:block!important}
body[data-xz-page="home"] #xzHomeMember .member-panel{width:100%!important;max-width:none!important;margin:0!important;position:static!important;display:block!important}
body[data-xz-page="home"] footer{display:none!important}
.head nav a.xz-active{color:#ffcf65!important;font-weight:800;border-bottom:2px solid currentColor;padding-bottom:6px}
body[data-xz-page]:not([data-xz-page="home"]) main#home{min-height:55vh}
body[data-xz-page]:not([data-xz-page="home"]) #live,body[data-xz-page]:not([data-xz-page="home"]) #insights,body[data-xz-page]:not([data-xz-page="home"]) #schedule{padding-top:25px!important}
body[data-xz-page="forum"] #forum{padding-top:25px!important}
@media(max-width:780px){
 body[data-xz-page="home"] main#home{display:flex!important;flex-direction:column!important;width:calc(100% - 24px)!important;gap:14px!important;margin:16px auto!important}
 body[data-xz-page="home"] .hero-side.hero-promotions{width:min(100%,340px)!important;aspect-ratio:1086 / 1448!important;margin:auto!important}
 body[data-xz-page="home"] #xzHomeMember{width:100%!important}
 body[data-xz-page="home"] #xzHomeMember .member-panel{padding:16px!important}
 .head nav{gap:10px!important;flex-wrap:wrap!important;justify-content:center!important}
 .head nav a{font-size:12px!important;white-space:nowrap}
}

/* 校长后台论坛管理 */
.forum-admin-desk{max-width:100%;}.forum-admin-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:16px 0}.forum-admin-toolbar input{flex:1;min-width:190px;background:#fff;color:#391b21;border:1px solid #dfc394;border-radius:9px;padding:11px}.forum-admin-item{background:#faf4ea;color:#471f26;padding:18px;margin:14px 0;border:1px solid #ebcfa0;border-radius:13px}.forum-admin-meta{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}.forum-admin-meta small{opacity:.75}.forum-admin-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.forum-admin-buttons{display:flex;gap:8px;flex-wrap:wrap}.forum-admin-buttons button,.forum-admin-comment button{border:1px solid #ceb283;border-radius:8px;background:#fff;color:#601e2a;padding:8px 12px;cursor:pointer}.forum-admin-buttons .forum-admin-danger,.forum-admin-comment button{border-color:#f3a7a7;color:#9a2424}.forum-admin-comments{margin-top:12px;border-top:1px solid #e3d2b6;padding-top:10px}.forum-admin-comment{padding:12px 0;border-bottom:1px solid #e7dac4}.forum-admin-comment small{margin-left:10px;opacity:.65}.forum-admin-comment p{white-space:pre-wrap;overflow-wrap:anywhere}.forum-admin-desk .feedback{min-height:20px}


/* 校长 2026-11-05 页面修复：严格隔离分栏，清理论坛多余空白 */
body[data-xz-page] main#home{min-height:0!important;}
body[data-xz-page] main#home > section[hidden]{display:none!important;}
body[data-xz-page] main#home > section:not([hidden]){display:block;}
body[data-xz-page="forum"] #forum{padding:20px 0 35px!important;min-height:0!important;margin:0 auto!important;}
body[data-xz-page="forum"] .forum-section .section-title{margin-bottom:14px!important;}
body[data-xz-page="forum"] .forum-help{margin:4px 0 12px!important;}
body[data-xz-page="forum"] footer{margin-top:14px!important;}
/* 页面导航栏：宽屏四项一排，小屏改为2x2，避免拥挤 */
@media(max-width:790px){
 .head nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;overflow:visible!important;}
 .head nav a{display:flex!important;justify-content:center!important;align-items:center!important;white-space:normal!important;min-height:42px!important;}
}
/* 直播页：左视频右聊天，赛程与频道列于下方；不出现注册窗口 */
body[data-xz-page="live"] .watch-grid{display:grid!important;grid-template-columns:minmax(0,1.8fr) minmax(295px,1fr)!important;gap:16px!important;align-items:stretch!important;}
body[data-xz-page="live"] .watch-grid>#livePlayerCard{grid-column:1!important;grid-row:1!important;}
body[data-xz-page="live"] .watch-grid>#channelChatPanel{grid-column:2!important;grid-row:1!important;display:flex!important;flex-direction:column!important;height:auto!important;max-height:700px!important;min-width:0!important;}
body[data-xz-page="live"] #chatMessages{flex:1 1 250px!important;min-height:220px!important;overflow-y:auto!important;}
body[data-xz-page="live"] .channel-extras{display:none!important;}
body[data-xz-page="live"] .xz-manual-schedule{margin:17px 0 10px!important;}
body[data-xz-page="live"] .xz-manual-schedule h3{color:#792232;margin:0 0 13px;font-size:21px;}
body[data-xz-page="live"] .xz-manual-schedule #fixtures{background:#fefcf8;border:1px solid #ebdabe;border-radius:12px;overflow:hidden;}
body[data-xz-page="live"] .xz-manual-schedule #fixtureTabs{display:flex;gap:8px;margin:0 0 10px;flex-wrap:wrap;}
body[data-xz-page="live"] .xz-manual-schedule #fixtureTabs button{background:#faf4e9;color:#7c2333;border:1px solid #eedcbf;padding:8px 13px;border-radius:8px;}
body[data-xz-page="live"] .xz-manual-schedule #fixtureTabs button.active{background:#b4384f;color:#fff;}
body[data-xz-page="live"] .streams{margin-top:15px!important;min-height:0!important;}
@media(max-width:790px){
 body[data-xz-page="live"] .watch-grid{display:flex!important;flex-direction:column!important;gap:12px!important;}
 body[data-xz-page="live"] .watch-grid>#livePlayerCard,body[data-xz-page="live"] .watch-grid>#channelChatPanel{width:100%!important;max-width:100%!important;grid-column:auto!important;grid-row:auto!important;}
 body[data-xz-page="live"] .watch-grid>#channelChatPanel{height:auto!important;max-height:none!important;min-height:300px!important;}
 body[data-xz-page="live"] #chatMessages{min-height:220px!important;max-height:340px!important;}
 body[data-xz-page="live"] .xz-manual-schedule{margin-top:15px!important;}
 body[data-xz-page="live"] .xz-manual-schedule .fixture-row{grid-template-columns:minmax(50px,85px) minmax(0,1fr) minmax(63px,80px)!important;}
 body[data-xz-page="live"] .xz-manual-schedule .watch-link{display:none!important;}
}
/* 论坛：浅色输入框，高对比度，无黑块；手机端始终直接渲染。 */
#forum,#forum *{min-width:0;}
#forum .forum-editor,#forum .forum-post{background:linear-gradient(145deg,#ffffff,#fcf8f0)!important;border:1px solid #e8dbc4!important;border-radius:14px!important;color:#66222f!important;box-shadow:0 5px 16px #962c3f10!important;}
#forum .forum-editor input,#forum .forum-editor textarea,#forum .forum-comment-editor textarea{background:#fff!important;color:#5e202b!important;border:1px solid #e3d2b5!important;border-radius:10px!important;box-shadow:none!important;opacity:1!important;-webkit-text-fill-color:#5e202b!important;}
#forum .forum-editor input::placeholder,#forum .forum-editor textarea::placeholder,#forum .forum-comment-editor textarea::placeholder{color:#a0787f!important;-webkit-text-fill-color:#a0787f!important;opacity:1!important;}
#forum .forum-editor input:focus,#forum .forum-editor textarea:focus,#forum .forum-comment-editor textarea:focus{outline:2px solid #c3455c!important;outline-offset:1px!important;}
#forum .forum-status{background:#faf4e9!important;color:#752e3b!important;border:1px solid #e9dac2!important;}
#forum .forum-editor button.primary,#forum .forum-comment-editor button.primary{background:#bc3951!important;border-color:#bc3951!important;color:#fff!important;-webkit-text-fill-color:#fff!important;}
#forum .forum-post-body,#forum .forum-comment p{color:#68313b!important;}
#forum #forumPosts{min-height:35px;color:#752e3b;}
@media(max-width:790px){
 body[data-xz-page="forum"] #forum{width:calc(100% - 24px)!important;margin:0 auto!important;padding:16px 0 20px!important;}
 #forum .forum-editor,#forum .forum-post{padding:14px!important;}
 #forum .forum-editor textarea{min-height:110px!important;}
 #forum .section-title h2{font-size:clamp(23px,6vw,32px)!important;}
}
/* 页脚与页面浅蓝底统一。 不再输出“林淼球报 LIVE”旧标识。 */
body footer{background:transparent!important;color:#884a55!important;border:0!important;padding:15px 0 20px!important;min-height:0!important;}
body footer .foot{background:linear-gradient(115deg,#fefdfa,#f8efe0)!important;border:1px solid #e7d9c0!important;border-radius:14px!important;padding:16px 20px!important;box-shadow:0 4px 18px #8d2a3c12!important;}
body footer .foot b{color:#6f2532!important;font-size:17px!important;}
body footer .foot small,body footer .foot span{color:#925c66!important;}
@media(max-width:650px){body footer .foot{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:8px!important;padding:13px 15px!important;}}
/* 后台管理固定顺序：两行四列，不丢失任何已有控制台 */
#editPane .adminnav{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:9px!important;padding:8px 0 18px!important;}
#editPane .adminnav button{min-width:0!important;min-height:50px!important;text-align:center!important;white-space:normal!important;line-height:1.3!important;}
@media(max-width:560px){#editPane .adminnav{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}

/* 聊天窗口已由 channel-extras 移入 watch-grid，补齐原容器样式 */
body[data-xz-page="live"] .watch-grid>#channelChatPanel{background:linear-gradient(155deg,#fefcf9,#f8efdf)!important;border:1px solid #dec08c!important;border-radius:13px!important;padding:17px!important;color:#722231!important;overflow:hidden!important;}
body[data-xz-page="live"] .watch-grid>#channelChatPanel .chat-composer{display:flex!important;gap:7px!important;}
body[data-xz-page="live"] .watch-grid>#channelChatPanel #chatInput{min-width:0!important;flex:1!important;}
body[data-xz-page="live"] .watch-grid>#channelChatPanel #sendChat{flex:0 0 auto!important;}


/* 校长后台修复：聊天室浅色背景与文本统一高对比，避免旧深色样式覆盖 */
.admin-route #adminChatDesk{background:#fbf6ee!important;border:1px solid #e2cba3!important;color:#60202c!important;}
.admin-route #adminChatDesk h3,.admin-route #adminChatDesk h4,.admin-route #adminChatDesk .admin-chat-head,
.admin-route #adminChatDesk .admin-msg,.admin-route #adminChatDesk .admin-user-row,
.admin-route #adminChatDesk .footnote{color:#60202c!important;-webkit-text-fill-color:#60202c!important;opacity:1!important;}
.admin-route #adminChatDesk #adminChatConnection{color:#7d2333!important;-webkit-text-fill-color:#7d2333!important;font-weight:700!important;}
.admin-route #adminChatDesk .admin-chat-feed,.admin-route #adminChatDesk .admin-online-users{background:#fff!important;border:1px solid #dfcdae!important;color:#5c1f2a!important;}
.admin-route #adminChatDesk .admin-msg strong,.admin-route #adminChatDesk .admin-user-row strong,
.admin-route #adminChatDesk .admin-msg span,.admin-route #adminChatDesk .admin-user-row span{color:#6c212f!important;-webkit-text-fill-color:#6c212f!important;}
.admin-route #adminChatDesk .admin-msg small,.admin-route #adminChatDesk .admin-user-row small{color:#7f585f!important;-webkit-text-fill-color:#7f585f!important;opacity:1!important;}
.admin-route #adminChatDesk .admin-msg,.admin-route #adminChatDesk .admin-user-row{border-color:#f1e8da!important;}
.admin-route #adminChatDesk #adminChatInput{background:#fff!important;color:#5b212c!important;-webkit-text-fill-color:#5b212c!important;border:1px solid #d8bf95!important;}
.admin-route #adminChatDesk #adminChatInput::placeholder{color:#936b72!important;-webkit-text-fill-color:#936b72!important;}
.admin-route #adminChatDesk .admin-msg button,.admin-route #adminChatDesk .admin-user-row button{background:#faf2e5!important;color:#6d202e!important;-webkit-text-fill-color:#6d202e!important;border:1px solid #decaa8!important;border-radius:6px!important;cursor:pointer;}
.admin-route #adminChatDesk .admin-msg button:hover,.admin-route #adminChatDesk .admin-user-row button:hover{background:#f5e7cf!important;}
/* 直播频道控制台：明确显示仅针对所选频道的麦克风与挂图工具 */
.admin-route #studioMount #studio{background:linear-gradient(140deg,#fefcf9,#f9f0e2)!important;color:#66202d!important;border:2px solid #dbc092!important;display:block;}
.admin-route #studioMount #studio.section-hidden,.admin-route #studioMount #studio.hidden{display:none!important;}
.admin-route #studioMount #studio label,.admin-route #studioMount #studio p,.admin-route #studioMount #studio h3,.admin-route #studioMount #studio .footnote{color:#732b38!important;-webkit-text-fill-color:#732b38!important;}
.admin-route #studioMount #studio input[type=file],.admin-route #studioMount #studio select{background:#fff!important;color:#681f2c!important;-webkit-text-fill-color:#681f2c!important;border:1px solid #d8bd8e!important;}
.admin-route #studioMount #studio button{cursor:pointer;}

/* 校长 2026-11-05 修复：后台访问统计浅蓝白卡片，替代深黑统计块 */
#visitStats .stats-cards{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:17px 0 25px;}
#visitStats .stats-cards>div{background:linear-gradient(145deg,#fff 5%,#faf3e6 100%)!important;border:1px solid #e4d0ae!important;border-radius:14px!important;padding:18px 15px!important;box-shadow:0 5px 16px rgba(20,83,143,.12)!important;min-width:0;}
#visitStats .stats-cards small{color:#894f5a!important;-webkit-text-fill-color:#894f5a!important;font-weight:650!important;font-size:12px!important;line-height:1.6;opacity:1!important;}
#visitStats .stats-cards strong{color:#a4283f!important;-webkit-text-fill-color:#a4283f!important;font-size:clamp(25px,3vw,34px)!important;font-weight:850!important;letter-spacing:-.5px;}
#visitStats .stats-table-wrap{background:#fff!important;border:1px solid #e7d9c0;border-radius:12px;overflow:auto;}
#visitStats .stats-table{background:#fff;color:#6a2733!important;}
#visitStats .stats-table th{background:#f8eede!important;color:#6a212e!important;border-bottom:1px solid #e7d9c0!important;}
#visitStats .stats-table td{color:#72313d!important;border-bottom:1px solid #f2ebde!important;}
#visitStats .stats-table tr:nth-child(even) td{background:#fdf9f3!important;}
#visitStats #statsMessage{color:#f8efe0!important;opacity:1!important;}
@media(max-width:800px){#visitStats .stats-cards{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:430px){#visitStats .stats-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}}

/* 校长直播页：聊天室与播放器同一行；频道在赛程上面，电脑和手机顺序一致。 */
body[data-xz-page="live"] #live .watch-grid{display:grid!important;grid-template-columns:minmax(0,1.8fr) minmax(285px,1fr)!important;gap:16px!important;align-items:stretch!important;}
body[data-xz-page="live"] #live .watch-grid>#livePlayerCard{grid-column:1!important;grid-row:1!important;min-width:0!important;}
body[data-xz-page="live"] #live .watch-grid>#channelChatPanel{display:flex!important;visibility:visible!important;grid-column:2!important;grid-row:1!important;min-width:0!important;min-height:440px!important;margin:0!important;opacity:1!important;}
body[data-xz-page="live"] #live>.streams{margin:18px 0 12px!important;background:linear-gradient(135deg,#fefdfb,#faf3e7)!important;border:1px solid #e7d6b9!important;border-radius:16px!important;box-shadow:0 5px 18px #8b203312!important;padding:19px!important;min-height:0!important;}
body[data-xz-page="live"] #live>.streams>.side-heading{background:transparent!important;color:#732230!important;padding:0 0 12px!important;border:0!important;margin-bottom:0!important;}
body[data-xz-page="live"] #live>.streams>.side-heading strong{color:#732230!important;font-size:20px;}
body[data-xz-page="live"] #live>.streams>.side-heading span{color:#925b65!important;font-size:12px;}
body[data-xz-page="live"] #live>.streams #streamsList{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px;}
body[data-xz-page="live"] #live>.streams .stream-item{background:linear-gradient(135deg,#fff,#fbf6ee)!important;border:1px solid #e8d9bf!important;border-radius:12px!important;color:#6e2230!important;padding:16px!important;margin:0!important;box-shadow:none!important;}
body[data-xz-page="live"] #live>.streams .stream-item.selected{background:linear-gradient(135deg,#fcf8f0,#f8eede)!important;border-color:#c04a5f!important;box-shadow:0 0 0 1px #c04a5f30!important;}
body[data-xz-page="live"] #live>.streams .stream-item strong{color:#6e2230!important;}
body[data-xz-page="live"] #live>.streams .stream-item small{color:#9b6c74!important;}
body[data-xz-page="live"] #live>.streams .mini-status{color:#b57f18!important;}
body[data-xz-page="live"] #live>.streams .mini-status.live{color:#b73535!important;}
body[data-xz-page="live"] #live>.streams .side-note{color:#935a64!important;margin:13px 0 0!important;}
body[data-xz-page="live"] #live>.xz-manual-schedule{margin-top:15px!important;}
@media(max-width:790px){
 body[data-xz-page="live"] #live .watch-grid{display:flex!important;flex-direction:column!important;gap:12px!important;}
 body[data-xz-page="live"] #live .watch-grid>#livePlayerCard{order:1!important;width:100%!important;}
 body[data-xz-page="live"] #live .watch-grid>#channelChatPanel{order:2!important;min-height:300px!important;width:100%!important;max-height:none!important;}
 body[data-xz-page="live"] #live>.streams{margin:14px 0 10px!important;padding:15px!important;}
 body[data-xz-page="live"] #live>.streams #streamsList{grid-template-columns:1fr!important;}
}

/* 校长导航：注册/登录入口，点击返回首页并定位会员表单 */
.head nav a.xz-auth-nav{display:inline-flex!important;align-items:center!important;justify-content:center!important;background:linear-gradient(120deg,#ffe09a,#ffbd55)!important;border:1px solid #f4c56a!important;color:#5d1e29!important;border-radius:10px!important;padding:10px 16px!important;font-weight:800!important;box-shadow:0 3px 10px #5f1b2820!important;text-decoration:none!important;white-space:nowrap!important;min-height:40px!important;}
.head nav a.xz-auth-nav:hover,.head nav a.xz-auth-nav:focus-visible{background:#fff0c5!important;color:#501621!important;outline:2px solid #fff1b0!important;outline-offset:2px;}
.head nav a.xz-auth-nav.xz-active{border-bottom:1px solid #f4c56a!important;}
#xzHomeMember{scroll-margin-top:110px;}
@media(max-width:790px){
 .head nav a.xz-auth-nav{grid-column:1 / -1!important;min-height:42px!important;width:100%!important;font-size:13px!important;padding:10px!important;}
 #xzHomeMember{scroll-margin-top:16px;}
}

/* 校长 V3.26: mobile landscape/fullscreen — keep the whole viewport black,
   never let responsive live-page layout override the detached player card. */
html.landscape-open,body.landscape-open{overflow:hidden!important;overscroll-behavior:none!important}
body>#livePlayerCard.landscape-mode,
body>#livePlayerCard.landscape-mode:fullscreen{
 position:fixed!important;inset:0!important;z-index:2147482000!important;
 width:100vw!important;height:100dvh!important;min-width:0!important;max-width:none!important;
 margin:0!important;padding:0!important;border:0!important;border-radius:0!important;
 background:#000!important;display:flex!important;flex-direction:column!important;
 justify-content:center!important;overflow:hidden!important;
}
body>#livePlayerCard.landscape-mode #player:not(.hidden),
body>#livePlayerCard.landscape-mode #cameraStage:not(.hidden){
 flex:1 1 auto!important;width:100%!important;height:100%!important;
 min-height:0!important;max-height:none!important;aspect-ratio:auto!important;
 position:relative!important;overflow:hidden!important;background:#000!important;
}
body>#livePlayerCard.landscape-mode #player video,
body>#livePlayerCard.landscape-mode #player iframe,
body>#livePlayerCard.landscape-mode #cameraStage video{
 position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
 max-width:none!important;max-height:none!important;object-fit:contain!important;
}
body>#livePlayerCard.landscape-mode .danmu-layer{z-index:80!important;pointer-events:none!important}
body>#livePlayerCard.landscape-mode .viewer-controls{z-index:120!important}
@media(orientation:portrait){
 body>#livePlayerCard.landscape-mode.landscape-rotated:not(:fullscreen){
  inset:auto!important;top:0!important;left:100vw!important;right:auto!important;bottom:auto!important;
  width:100dvh!important;height:100vw!important;max-width:none!important;
  transform:rotate(90deg)!important;transform-origin:top left!important;
 }
}

/* 校长首页新宣传海报：保持原图完整显示，不裁切文字；电脑、手机自适应。 */
.hero-promotions .promo-main img{object-fit:contain;object-position:center;background:transparent}
@media(max-width:780px){.hero-promotions .promo-main{aspect-ratio:3/4}.hero-promotions .promo-main img{object-fit:contain}}

/* Linmiao V3: intrinsic poster dimensions, no empty portrait frame. */
body[data-xz-page="home"] .hero-side.hero-promotions,body[data-xz-page="home"] .hero-promotions .promo-main{aspect-ratio:auto!important;height:auto!important;min-height:0!important;max-height:none!important;}
body[data-xz-page="home"] .hero-promotions .promo-main img{width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;display:block!important;}
body[data-xz-page="home"]{background:radial-gradient(ellipse at top,#702033 0%,#260e16 52%,#180c12 100%)!important;}
body[data-xz-page="home"] main#home{align-items:start;}
