:root{--bg:#13120e;--panel:#1e1c17;--panel2:#26231c;--line:#38342b;--mint:#e6c680;--text:#f6f4f0;--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 #9A771E;position:sticky;z-index:20;top:0;background:#080808ef;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:#FFFFFF;font-size:14px;}.head nav a:hover,.linkbtn:hover{color:var(--mint);}.linkbtn{background:none;border:0;color:#FFFFFF;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:#D1D1D1;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);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;color:#080808!important;-webkit-text-fill-color:#080808!important;}.primary:hover{background:#151515;}.ghost{background:transparent;color:#FFFFFF;border:1px solid #9A771E;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:#FFD700;text-shadow:0 0 85px #0000004a;transform:rotate(-16deg);}.hero-side span{font-size:10px;color:#D1D1D1;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:#D1D1D1;}.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:#FFFFFF;}.status-dot{background:#202020;border-radius:5px;font-weight:700;padding:5px 10px;color:#FFFFFF;}.status-dot.live{background:#df544b;color:white;}.player{aspect-ratio:16/9;background:radial-gradient(circle at center,#202020 0,#080808 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:#080808;}.play-empty{display:flex;align-items:center;flex-direction:column;gap:13px;color:#FFFFFF;text-align:center;}.play-empty small{color:#D1D1D1;}.play-ring{border:1px solid #9A771E;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 #9A771E;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:#D1D1D1;}.stream-item{display:block;width:100%;background:#080808;border:1px solid transparent;border-radius:8px;text-align:left;color:#FFFFFF;padding:16px;margin-bottom:10px;}.stream-item.selected{border-color:#9A771E;background:#202020;}.stream-item strong{display:block;font-size:14px;margin:9px 0;}.stream-item small{color:#D1D1D1;}.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 #9A771E;background:#080808;color:#D1D1D1;border-radius:6px;font-size:12px;}.tabbar button.active,.adminnav button.active{background:var(--mint);border-color:var(--mint);font-weight:800;color:#080808!important;-webkit-text-fill-color:#080808!important;}.fixture-row{display:grid;grid-template-columns:140px 1fr 120px 80px;align-items:center;gap:12px;padding:18px 24px;border-bottom:1px solid #9A771E;}.fixture-row:last-child{border:0;}.league{font-size:12px;color:#D1D1D1;}.teams{display:flex;align-items:center;justify-content:center;gap:15px;font-weight:750;}.vs{color:#D1D1D1;font-size:12px;}.f-time{text-align:center;font-size:12px;color:#FFFFFF;}.f-time small{display:block;color:#D1D1D1;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:#D1D1D1;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:#D1D1D1;font-size:11px;gap:7px;}.last{padding-bottom:75px;}footer{border-top:1px solid #9A771E;padding:28px 0;color:#D1D1D1;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:#D1D1D1;}.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:#080808bb;}.modal-panel{position:relative;background:#080808;border:1px solid #9A771E;border-radius:15px;padding:24px;width:min(760px,100%);max-height:91vh;overflow:auto;box-shadow:0 20px 100px #00000099;}.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:#FFFFFF;background:none;border:0;font-size:20px;}.note{color:#D1D1D1;font-size:12px;line-height:1.9;}.modal label{display:block;color:#FFFFFF;font-size:12px;margin:10px 0;}.modal input,.modal textarea,.modal select{margin-top:6px;background:#080808;border:1px solid #9A771E;border-radius:6px;color:#FFFFFF;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:#080808;border:1px solid #9A771E;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 #9A771E;border-radius:10px;background:#080808;color:#FFFFFF;padding:9px 13px;cursor:pointer;font:inherit;}.league-pills button.active,.league-pills button:hover{background:#FFD700;border-color:#9A771E;color:#080808!important;-webkit-text-fill-color:#080808!important;}.range-controls span{font-size:13px;color:#FFFFFF;white-space:nowrap;}.schedule-meta{margin:12px 0;}.schedule-meta #realUpdated{color:#D1D1D1;font-size:13px;}.official-row .source-mark{font-size:11px;color:#D1D1D1;}.official-teams .team-name{display:inline-flex;align-items:center;gap:6px;}.team-crest{width:22px;height:22px;object-fit:contain;}.score-live{color:#FFD700!important;font-weight:700;}.manual-fixtures{margin-top:24px;border-top:1px solid #9A771E;padding-top:18px;}.manual-fixtures summary{color:#D1D1D1;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:#080808;border:1px solid #9A771E;border-radius:14px;padding:7px;box-shadow:0 18px 48px #00000066;overflow:hidden;min-width:0;}
.promo-card img{display:block;width:100%;height:100%;object-fit:contain;border-radius:9px;background:#151515;}
.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:#080808;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:#FFFFFF;}.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:#080808;border:1px solid #9A771E;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:#202020;color:#FFFFFF;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 #9A771E;}
.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:#080808;
}
@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:#080808;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 #9A771E;border-radius:10px;background:#080808;}#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:#FFFFFF;}.studio-volumes input{width:min(100%,350px);accent-color:#e9ca84;}.studio-volumes output{min-width:45px;color:#FFD700;}#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 #9A771E;border-radius:12px;}
.overlay-layout-controls label{display:grid;gap:8px;color:#FFFFFF;}
.overlay-layout-controls input[type=range]{width:100%;accent-color:#e9ca84;}
.overlay-layout-controls select{width:100%;padding:10px;background:#080808;color:#FFFFFF;border:1px solid #9A771E;border-radius:8px;}

/* V3.7 会员聊天登录 */
.member-login{padding:12px;border:1px solid #9A771E;border-radius:12px;margin:12px 0;display:grid;gap:8px;}.member-login small{color:#FFFFFF;}.member-login #memberAuth{display:grid;gap:7px;}.member-login input{min-width:0;width:100%;box-sizing:border-box;padding:9px;background:#080808;color:#FFFFFF;border:1px solid #9A771E;border-radius:7px;}.member-buttons{display:flex;gap:8px;flex-wrap:wrap;}.member-buttons button,.member-login button{padding:8px 12px;background:#FFD700;border:0;border-radius:8px;cursor:pointer;color:#080808!important;-webkit-text-fill-color:#080808!important;}.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:#202020;color:#FFFFFF;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:#080808;position:relative;z-index:11;}
.viewer-controls button{border:1px solid #9A771E;border-radius:7px;background:#202020;color:#FFD700;padding:8px 13px;cursor:pointer;font-size:13px;}
.viewer-controls button[aria-pressed="true"]{background:#FFD700;color:#080808!important;-webkit-text-fill-color:#080808!important;}
#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:#FFFFFF;text-shadow:0 1px 3px #00000055,0 0 6px #00000055;background:#08080866;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:#080808;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:#08080888;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 #9A771E;border-radius:14px;margin:18px 0;padding:15px;background:#080808;color:#FFFFFF;}.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 #9A771E;border-radius:9px;padding:9px;background:#080808;}.admin-msg,.admin-user-row{border-bottom:1px solid #9A771E;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:#080808!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:#08080899!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:#080808!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:#080808;border:1px solid #9A771E;border-radius:9px;}.stats-cards small{display:block;color:#D1D1D1;font-size:12px;}.stats-cards strong{font-size:27px;color:#FFD700;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 #9A771E;}.stats-table th{position:sticky;top:0;background:#080808;}

/* V3.15: show guest composer as read-only, not unclickable. */
#chatInput[readonly]{cursor:text;opacity:1;background:#080808;color:#FFFFFF;}
#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:#080808;color:#FFD700;border:1px solid #9A771E;border-radius:14px;z-index:99999;box-shadow:0 16px 60px #00000099;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:#202020;color:white;font-size:22px;border-radius:6px;padding:2px 12px;}.gl-private-history{flex:1;overflow:auto;border-block:1px solid #9A771E;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:#080808;color:white;border:1px solid #9A771E;padding:10px;border-radius:7px;font-size:16px;}.gl-private-compose button{background:#FFD700;border:0;border-radius:7px;padding:8px 12px;color:#080808!important;-webkit-text-fill-color:#080808!important;}.gl-private small{color:#FFFFFF;}
#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 #9A771E;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:#151515;box-shadow:0 0 0 2px #00000055;}.member-presence.is-online{background:#FFD700;box-shadow:0 0 0 2px #00000055,0 0 10px #00000088;}.member-actions button[data-private-member]{background:#FFD700;border-color:#9A771E;font-weight:700;color:#080808!important;-webkit-text-fill-color:#080808!important;}.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:#080808;}
.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:#202020;color:#FFFFFF;border:1px solid #9A771E;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%),#080808;}
.head {background:#080808f2;border-bottom:1px solid #9A771E;}
.head nav a:hover,.linkbtn:hover {color:#FFD700;}
.logo span:last-child,.logo-icon {color:#FFD700;}
.hero {background:linear-gradient(110deg,rgba(106,24,18,.13),transparent 55%);}
.hero h1 em {color:#FFD700;text-shadow:0 4px 30px #00000033;}
.eyebrow,.overline {color:#FFD700;}
.pulse {background:#FFD700;box-shadow:0 0 12px #00000055;}
.primary,.tabbar button.active,.adminnav button.active,.member-buttons button,.member-login button {background:linear-gradient(135deg,#FFD700,#FFD700);border-color:#9A771E;color:#080808!important;-webkit-text-fill-color:#080808!important;}
.primary:hover {background:linear-gradient(135deg,#151515,#FFD700);color:#080808!important;-webkit-text-fill-color:#080808!important;}
.ghost {border-color:#9A771E;color:#FFD700;}
.ghost:hover {border-color:#9A771E;}
.player-card,.streams,.fixtures,.tip,.member-panel,.chat-panel,.admin-chat-desk {background:#080808;border-color:#9A771E;}
.stream-item.selected {background:#202020;border-color:#9A771E;}
.status-dot.live {background:#a82422;color:#FFFFFF;}
.tip-tag,.watch-link,.mini-status,.stream-item strong,.foot b {color:#FFD700;}
.logo,.hero h1,.section-title h2 {text-shadow:0 1px 16px rgba(221,124,47,.08);}
.hero-promotions .promo-main {border:1px solid #9A771E!important;box-shadow:0 16px 55px #00000099,0 0 25px #00000024;background:#080808!important;}
.hero-promotions .promo-main img {object-fit:contain!important;object-position:center!important;background:#080808!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:#17140e;--panel:#242016;--panel2:#27192d;--line:#51405c;--mint:#f8c96c;--text:#fff8ef;--muted:#c4adc8;}
body{background:radial-gradient(ellipse at 82% 0%,#202020 0%,transparent 37%),linear-gradient(180deg,#080808,#080808 65%);color:var(--text);}
.head{background:#080808ef;border-bottom:1px solid #9A771E;}.logo,.foot b{color:#FFD700;}.logo-icon,.logo span:last-child{color:#FFD700;}.head nav{color:#FFFFFF;}
.head nav a:hover{color:#FFD700;}.hero{background:radial-gradient(ellipse at 35% 42%,#20202091,transparent 56%),radial-gradient(ellipse at 70% 30%,#20202044,transparent 45%);border-bottom:1px solid #9A771E;}
.hero::before{content:"";position:absolute;left:-16%;top:-65%;width:520px;height:520px;pointer-events:none;border:1px solid #9A771E24;border-radius:50%;box-shadow:0 0 130px #00000022;}
.hero h1{color:#FFD700;text-shadow:0 5px 28px #00000099;}.hero h1 em{background:linear-gradient(95deg,#151515,#FFD700,#151515);background-clip:text;-webkit-background-clip:text;color:transparent;}
.hero p{color:#FFFFFF;}.eyebrow,.overline,.accent{color:#FFD700;}.pulse{background:#FFD700;box-shadow:0 0 15px #00000055;}
.primary,.tabbar button.active,.adminnav button.active{background:linear-gradient(120deg,#FFD700,#FFD700);border-color:#9A771E;color:#080808!important;-webkit-text-fill-color:#080808!important;}.primary:hover{background:#151515;}
.ghost{border-color:#9A771E;color:#FFFFFF;}.ghost:hover{border-color:#9A771E;}
.player-card,.streams,.fixtures,.tip,.chat-panel,.member-panel{background:#080808;border-color:#9A771E;}
.player{background:radial-gradient(circle at center,#202020,#080808 66%);}
.stream-item{background:#080808;}.stream-item.selected{border-color:#9A771E;background:#202020;}
.modal-panel{background:#080808;border-color:#9A771E;}.modal input,.modal textarea,.modal select{background:#080808;border-color:#9A771E;}
.hero-promotions .promo-main img{background:#080808;box-shadow:0 18px 68px #00000088,0 0 0 1px #0000005c;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:#e4aa27;--primary:#d09920;--highlight:#eec873;}
body{background:#151515!important;color:#FFD700!important;}
.head{background:linear-gradient(110deg,#202020,#202020)!important;border-bottom:2px solid #9A771E!important;}
.head a,.head nav a{color:#FFD700!important;}
.hero{background:#151515!important;}
.hero h1,.hero p{color:#FFD700!important;}
.primary{background:linear-gradient(100deg,#FFD700,#FFD700)!important;border-color:#9A771E!important;color:#080808!important;-webkit-text-fill-color:#080808!important;}
.studio-channel-pick{display:block;margin:10px 0;padding:12px;border:1px solid #9A771E;border-radius:12px;background:#151515;color:#FFD700;font-weight:800;}
.studio-channel-pick select{display:block;width:100%;padding:11px;margin-top:8px;border:1px solid #9A771E;border-radius:8px;}
.member-overview{margin:18px 0;padding:15px;border:1px solid #9A771E;border-radius:14px;background:#151515;}
.member-overview .member-row{border-bottom:1px solid #9A771E;padding:10px 0;}
.member-overview .member-actions{display:flex;gap:6px;flex-wrap:wrap;}


/* 校长 V1.2 · 蓝银布局统一、适配移动端；仅修改当前独立项目 */
:root{--bg:#fdf8ec;--panel:#fdf8ec;--panel2:#f9f0dc;--line:#e9d6ab;--mint:#bd8e26;--text:#544015;--muted:#897853;}
body{background:linear-gradient(155deg,#151515,#151515 55%,#151515)!important;color:#FFD700!important;}
.hero{padding-left:clamp(24px,5vw,82px)!important;background:#151515!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 #9A771E!important;background:#151515!important;box-shadow:0 16px 48px #00000090!important;}
.hero-promotions .promo-main img{object-fit:contain!important;background:#151515!important;}
.section-title h2,.section-title h2 span,.section-title .accent{color:#FFD700!important;}
.player-card,.streams,.fixtures,.manual-fixtures,.tip,.member-panel,.chat-panel,.admin-chat-desk{background:linear-gradient(155deg,#151515,#151515)!important;border:1px solid #9A771E!important;color:#FFD700!important;box-shadow:0 10px 26px #00000019!important;}
.player-top,.side-heading,.player-meta,.interact-header{background:#151515!important;color:#FFFFFF!important;}
.stream-item,.fixture-row,.official-row,.tip{background:#151515!important;border-color:#9A771E!important;color:#FFD700!important;}
.stream-item.selected{background:#151515!important;border-color:#9A771E!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:#FFD700!important;}
.player,.interact-screen{background:radial-gradient(circle at center,#202020,#080808 80%)!important;color:#FFFFFF!important;}
.player .play-empty,.player .play-empty *{color:#FFD700!important;}
.ghost,.league-pills button,.range-controls button,.refresh-score,.tabbar button{background:#151515!important;color:#FFD700!important;border:1px solid #9A771E!important;}
.primary,.tabbar button.active,.league-pills button.active{background:linear-gradient(110deg,#FFD700,#FFD700)!important;border-color:#9A771E!important;color:#080808!important;-webkit-text-fill-color:#080808!important;}
.watch-grid .streams .side-heading,.chat-panel .side-heading{background:transparent!important;color:#FFD700!important;}
.chat-message,.chat-message b,.member-panel h3,.member-panel strong,.member-panel small,.chat-composer,.chat-composer input{color:#FFD700!important;}
.chat-composer input,.member-panel input,.name-box input{background:#151515!important;border:1px solid #9A771E!important;color:#FFD700!important;}
.foot{background:#202020!important;color:#FFD700!important;}
.modal-panel{background:#151515!important;border:1px solid #9A771E!important;color:#FFFFFF!important;}
.modal-title h3,.modal-title small,.modal-panel .note,.modal-panel label,.modal-panel h3,.modal-panel h4{color:#FFD700!important;}
.adminnav{display:flex!important;flex-wrap:wrap;gap:9px;padding:8px 0 15px!important;}
.adminnav button{background:#202020!important;color:#FFFFFF!important;border:1px solid #9A771E!important;border-radius:9px!important;padding:10px 13px!important;}
.adminnav button.active{background:#FFD700!important;border-color:#9A771E!important;color:#080808!important;-webkit-text-fill-color:#080808!important;}
.xz-admin-home-label{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#FFFFFF;font-weight:800;font-size:21px;padding:9px 3px;}
.xz-admin-home-label span{font-size:12px;font-weight:400;color:#FFD700;}
#memberOverview{order:0!important;background:linear-gradient(135deg,#151515,#151515)!important;border:1px solid #9A771E!important;border-radius:18px!important;color:#FFD700!important;box-shadow:0 12px 30px #0000002c!important;margin:8px 0 20px!important;padding:20px!important;}
#memberOverview h3{color:#FFD700!important;font-size:23px;margin:0 0 10px;}
#memberOverview .note{color:#D1D1D1!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 #9A771E;}
#memberOverviewList .member-identity{color:#FFD700!important;}
#memberOverviewList .member-identity small{color:#D1D1D1!important;}
#memberOverviewList .member-actions{display:flex;flex-wrap:wrap;gap:7px;justify-content:flex-end;}
#memberOverviewList .member-actions button,#refreshMemberOverview{background:#151515!important;color:#FFD700!important;border:1px solid #9A771E!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:#151515!important;color:#FFD700!important;}
#studio,.adminform{background:#151515!important;color:#FFD700!important;border:1px solid #9A771E!important;border-radius:12px;padding:18px;}
#studio h3,#studio p,#studio label,.adminform h4{color:#FFD700!important;}
.modal input,.modal textarea,.modal select,.adminform input,.adminform textarea,.adminform select{background:#151515!important;color:#FFD700!important;border:1px solid #9A771E!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:#151515!important;border-color:#9A771E!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:481 / 618!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:#FFFFFF!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:#FFD700!important;
}
.admin-route .modal-panel #adminForms .adminform label {
  font-weight:700!important;
  font-size:13px!important;
}
.admin-route .modal-panel #adminForms .adminform h4 {color:#FFD700!important;}
.admin-route .modal-panel #adminForms .adminform input,
.admin-route .modal-panel #adminForms .adminform select,
.admin-route .modal-panel #adminForms .adminform textarea {
  background:#151515!important;
  color:#FFD700!important;
  border:1px solid #9A771E!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 #9A771E!important;
  outline-offset:1px;
}
.admin-route .modal-panel #adminForms .adminform input::placeholder,
.admin-route .modal-panel #adminForms .adminform textarea::placeholder {
  color:#D1D1D1!important;
  opacity:1;
}
/* 校长会员社区：独立于直播聊天布局，PC/手机自适应 */
.forum-section{scroll-margin-top:95px;}.forum-help,.forum-status{color:var(--muted,#D1D1D1);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,#080808);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:481 / 618!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:481 / 618!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:#FFD700!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:481 / 618!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:#151515;color:#FFD700;border:1px solid #9A771E;border-radius:9px;padding:11px;}.forum-admin-item{background:#151515;color:#FFD700;padding:18px;margin:14px 0;border:1px solid #9A771E;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 #9A771E;border-radius:8px;background:#151515;color:#FFD700;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 #9A771E;padding-top:10px;}.forum-admin-comment{padding:12px 0;border-bottom:1px solid #9A771E;}.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:#FFD700;margin:0 0 13px;font-size:21px;}
body[data-xz-page="live"] .xz-manual-schedule #fixtures{background:#151515;border:1px solid #9A771E;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:#151515;color:#FFD700;border:1px solid #9A771E;padding:8px 13px;border-radius:8px;}
body[data-xz-page="live"] .xz-manual-schedule #fixtureTabs button.active{background:#FFD700;color:#080808!important;-webkit-text-fill-color:#080808!important;}
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,#151515,#151515)!important;border:1px solid #9A771E!important;border-radius:14px!important;color:#FFD700!important;box-shadow:0 5px 16px #00000010!important;}
#forum .forum-editor input,#forum .forum-editor textarea,#forum .forum-comment-editor textarea{background:#151515!important;color:#FFD700!important;border:1px solid #9A771E!important;border-radius:10px!important;box-shadow:none!important;opacity:1!important;-webkit-text-fill-color:#FFD700!important;}
#forum .forum-editor input::placeholder,#forum .forum-editor textarea::placeholder,#forum .forum-comment-editor textarea::placeholder{color:#D1D1D1!important;-webkit-text-fill-color:#D1D1D1!important;opacity:1!important;}
#forum .forum-editor input:focus,#forum .forum-editor textarea:focus,#forum .forum-comment-editor textarea:focus{outline:2px solid #9A771E!important;outline-offset:1px!important;}
#forum .forum-status{background:#151515!important;color:#FFD700!important;border:1px solid #9A771E!important;}
#forum .forum-editor button.primary,#forum .forum-comment-editor button.primary{background:#FFD700!important;border-color:#9A771E!important;color:#080808!important;-webkit-text-fill-color:#080808!important;}
#forum .forum-post-body,#forum .forum-comment p{color:#FFD700!important;}
#forum #forumPosts{min-height:35px;color:#FFD700;}
@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:#FFD700!important;border:0!important;padding:15px 0 20px!important;min-height:0!important;}
body footer .foot{background:linear-gradient(115deg,#151515,#151515)!important;border:1px solid #9A771E!important;border-radius:14px!important;padding:16px 20px!important;box-shadow:0 4px 18px #00000012!important;}
body footer .foot b{color:#FFD700!important;font-size:17px!important;}
body footer .foot small,body footer .foot span{color:#D1D1D1!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,#151515,#151515)!important;border:1px solid #9A771E!important;border-radius:13px!important;padding:17px!important;color:#FFD700!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:#151515!important;border:1px solid #9A771E!important;color:#FFD700!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:#FFD700!important;-webkit-text-fill-color:#FFD700!important;opacity:1!important;}
.admin-route #adminChatDesk #adminChatConnection{color:#FFD700!important;-webkit-text-fill-color:#FFD700!important;font-weight:700!important;}
.admin-route #adminChatDesk .admin-chat-feed,.admin-route #adminChatDesk .admin-online-users{background:#151515!important;border:1px solid #9A771E!important;color:#FFD700!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:#FFD700!important;-webkit-text-fill-color:#FFD700!important;}
.admin-route #adminChatDesk .admin-msg small,.admin-route #adminChatDesk .admin-user-row small{color:#D1D1D1!important;-webkit-text-fill-color:#D1D1D1!important;opacity:1!important;}
.admin-route #adminChatDesk .admin-msg,.admin-route #adminChatDesk .admin-user-row{border-color:#9A771E!important;}
.admin-route #adminChatDesk #adminChatInput{background:#151515!important;color:#FFD700!important;-webkit-text-fill-color:#FFD700!important;border:1px solid #9A771E!important;}
.admin-route #adminChatDesk #adminChatInput::placeholder{color:#D1D1D1!important;-webkit-text-fill-color:#D1D1D1!important;}
.admin-route #adminChatDesk .admin-msg button,.admin-route #adminChatDesk .admin-user-row button{background:#151515!important;color:#FFD700!important;-webkit-text-fill-color:#FFD700!important;border:1px solid #9A771E!important;border-radius:6px!important;cursor:pointer;}
.admin-route #adminChatDesk .admin-msg button:hover,.admin-route #adminChatDesk .admin-user-row button:hover{background:#151515!important;}
/* 直播频道控制台：明确显示仅针对所选频道的麦克风与挂图工具 */
.admin-route #studioMount #studio{background:linear-gradient(140deg,#151515,#151515)!important;color:#FFD700!important;border:2px solid #9A771E!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:#FFD700!important;-webkit-text-fill-color:#FFD700!important;}
.admin-route #studioMount #studio input[type=file],.admin-route #studioMount #studio select{background:#151515!important;color:#FFD700!important;-webkit-text-fill-color:#FFD700!important;border:1px solid #9A771E!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,#151515 5%,#151515 100%)!important;border:1px solid #9A771E!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:#FFD700!important;-webkit-text-fill-color:#FFD700!important;font-weight:650!important;font-size:12px!important;line-height:1.6;opacity:1!important;}
#visitStats .stats-cards strong{color:#FFD700!important;-webkit-text-fill-color:#FFD700!important;font-size:clamp(25px,3vw,34px)!important;font-weight:850!important;letter-spacing:-.5px;}
#visitStats .stats-table-wrap{background:#151515!important;border:1px solid #9A771E;border-radius:12px;overflow:auto;}
#visitStats .stats-table{background:#151515;color:#FFD700!important;}
#visitStats .stats-table th{background:#151515!important;color:#FFD700!important;border-bottom:1px solid #9A771E!important;}
#visitStats .stats-table td{color:#FFD700!important;border-bottom:1px solid #9A771E!important;}
#visitStats .stats-table tr:nth-child(even) td{background:#151515!important;}
#visitStats #statsMessage{color:#FFD700!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,#151515,#151515)!important;border:1px solid #9A771E!important;border-radius:16px!important;box-shadow:0 5px 18px #00000012!important;padding:19px!important;min-height:0!important;}
body[data-xz-page="live"] #live>.streams>.side-heading{background:transparent!important;color:#FFD700!important;padding:0 0 12px!important;border:0!important;margin-bottom:0!important;}
body[data-xz-page="live"] #live>.streams>.side-heading strong{color:#FFD700!important;font-size:20px;}
body[data-xz-page="live"] #live>.streams>.side-heading span{color:#D1D1D1!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,#151515,#151515)!important;border:1px solid #9A771E!important;border-radius:12px!important;color:#FFD700!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,#151515,#151515)!important;border-color:#9A771E!important;box-shadow:0 0 0 1px #00000030!important;}
body[data-xz-page="live"] #live>.streams .stream-item strong{color:#FFD700!important;}
body[data-xz-page="live"] #live>.streams .stream-item small{color:#D1D1D1!important;}
body[data-xz-page="live"] #live>.streams .mini-status{color:#FFD700!important;}
body[data-xz-page="live"] #live>.streams .mini-status.live{color:#b73535!important;}
body[data-xz-page="live"] #live>.streams .side-note{color:#D1D1D1!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,#FFD700,#FFD700)!important;border:1px solid #9A771E!important;border-radius:10px!important;padding:10px 16px!important;font-weight:800!important;box-shadow:0 3px 10px #00000020!important;text-decoration:none!important;white-space:nowrap!important;min-height:40px!important;color:#080808!important;-webkit-text-fill-color:#080808!important;}
.head nav a.xz-auth-nav:hover,.head nav a.xz-auth-nav:focus-visible{background:#151515!important;color:#FFD700!important;outline:2px solid #9A771E!important;outline-offset:2px;}
.head nav a.xz-auth-nav.xz-active{border-bottom:1px solid #9A771E!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:#080808!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:#080808!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;}}

/* Xiaoran V1.0 */
:root{--bg:#10100f;--panel:#1c1914;--panel2:#262016;--line:#4c3b20;--mint:#e9bd60;--text:#fff5df;--muted:#c1b39a;}body{background:#080808;}.head{background:#080808f5;border-color:#9A771E;}.hero-promotions .promo-main img{object-fit:contain!important;}.hero-promotions .promo-main{aspect-ratio:481/618!important;}

/* Xiaoran black gold identity */
:root{--bg:#090909;--panel:#191713;--panel2:#242018;--line:#514326;--mint:#dcb65d;--text:#f8efd9;--muted:#b8aa90;}body{background:#080808;}.head{background:#080808f5;border-bottom:1px solid #9A771E;}.hero.shell{border-radius:20px;background:radial-gradient(ellipse at 75% 20%,#20202055,transparent 65%),#080808;padding:24px;}.hero h1{color:#FFD700;letter-spacing:.06em;}.hero-promotions .promo-main{aspect-ratio:1108/1420!important;border:1px solid #9A771E!important;background:#080808!important;}.hero-promotions .promo-main img{object-fit:contain!important;}

/* Xiaoran V1.1 high contrast */
:root{--bg:#050505;--panel:#151515;--panel2:#202020;--line:#9a771e;--mint:#ffd700;--text:#fff;--muted:#d1d1d1;color-scheme:dark}
html,body{background:#050505!important;color:#fff!important;-webkit-text-fill-color:initial}
.head{background:#080808!important;border-bottom:2px solid #ffd700!important}.head .logo,.head .logo span,.head .logo-icon{color:#ffd700!important}.head nav a{color:#fff!important}.head nav a:hover,.head nav a.xz-active{color:#ffd700!important}.head nav a.xz-auth-nav,.primary,.tabbar button.active,.adminnav button.active,.league-pills button.active,body[data-xz-page="live"] .xz-manual-schedule #fixtureTabs button.active{background:#ffd700!important;border-color:#ffd700!important;color:#080808!important;-webkit-text-fill-color:#080808!important;}
.section-title h2,.section-title h2 span,.section-title .accent,.overline,.eyebrow{color:#ffd700!important;-webkit-text-fill-color:#ffd700!important}
input:not([type=checkbox]):not([type=radio]),textarea,select{background:#151515!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#9a771e!important}input::placeholder,textarea::placeholder{color:#bdbdbd!important;opacity:1}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #ffd700!important;outline-offset:2px}
.hero-promotions .promo-main,.hero-promotions .promo-main img{background:#050505!important}.hero-promotions .promo-main img{object-fit:contain!important}
body[data-xz-page="live"] #live>.streams .stream-item.selected{background:#29230e!important;border-color:#ffd700!important}

/* V1.2 contrast corrections */
.hero,.player-top,.side-heading,.player-meta,.interact-header,.modal-panel{background:#151515!important;}
.head nav a.xz-auth-nav:hover,.head nav a.xz-auth-nav:focus-visible{background:#151515!important;color:#FFD700!important;-webkit-text-fill-color:#FFD700!important;}
.primary:hover{background:#ffe45c!important;color:#080808!important;-webkit-text-fill-color:#080808!important;}
.hero h1 em{background:none!important;color:#FFD700!important;-webkit-text-fill-color:#FFD700!important;}
