:root{--bg:#0e1312;--panel:#171e1d;--panel2:#1c2624;--line:#2b3836;--mint:#7de9a8;--text:#f0f6f2;--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 #25302e;position:sticky;z-index:20;top:0;background:#0d1412ef;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:#d7d4ce;font-size:14px}.head nav a:hover,.linkbtn:hover{color:var(--mint)}.linkbtn{background:none;border:0;color:#c4d1c9;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:#15201e;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:#b2f8ce}.ghost{background:transparent;color:#e7eeea;border:1px solid #565146;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:#7de9a8;text-shadow:0 0 85px #9df05c4a;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:#dde5e0}.status-dot{background:#444038;border-radius:5px;font-weight:700;padding:5px 10px;color:#d0e2d7}.status-dot.live{background:#df544b;color:white}.player{aspect-ratio:16/9;background:radial-gradient(circle at center,#253835 0,#0c1110 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:#eaf3ee;text-align:center}.play-empty small{color:#979286}.play-ring{border:1px solid #827a67;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 #3c534f;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:#1c2725;border:1px solid transparent;border-radius:8px;text-align:left;color:#fff;padding:16px;margin-bottom:10px}.stream-item.selected{border-color:#74c695;background:#243331}.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 #33413f;background:#1a2221;color:#aba69c;border-radius:6px;font-size:12px}.tabbar button.active,.adminnav button.active{background:var(--mint);color:#0f1c1a;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 #2d3a38}.fixture-row:last-child{border:0}.league{font-size:12px;color:#b8b3a9}.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:#c4c0b8}.f-time small{display:block;color:#938e81;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:#b7b2a6;font-size:11px;gap:7px}.last{padding-bottom:75px}footer{border-top:1px solid #273634;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:#18201f;border:1px solid #49615c;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:#d9e6de;font-size:12px;margin:10px 0}.modal input,.modal textarea,.modal select{margin-top:6px;background:#101817;border:1px solid #3d4f4c;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:#111918;border:1px solid #334240;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 #374644;border-radius:10px;background:#1c2826;color:#dae7df;padding:9px 13px;cursor:pointer;font:inherit}.league-pills button.active,.league-pills button:hover{background:#82e9ab;color:#16211f;border-color:#82e9ab}.range-controls span{font-size:13px;color:#d1cdc5;white-space:nowrap}.schedule-meta{margin:12px 0}.schedule-meta #realUpdated{color:#aca79b;font-size:13px}.official-row .source-mark{font-size:11px;color:#958d7a}.official-teams .team-name{display:inline-flex;align-items:center;gap:6px}.team-crest{width:22px;height:22px;object-fit:contain}.score-live{color:#82e9ab!important;font-weight:700}.manual-fixtures{margin-top:24px;border-top:1px solid #32423f;padding-top:18px}.manual-fixtures summary{color:#9ebbaa;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:#182120;border:1px solid #314944;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:#eff4f1}
.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:#050808;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:#becfc5}.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:#111918;border:1px solid #4a463d;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:#2c3d3a;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 #314944}
.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:#0e1312;
}
@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:#080e0d;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 #425b56;border-radius:10px;background:#111918}#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:#d6e7dd}.studio-volumes input{width:min(100%,350px);accent-color:#81ecac}.studio-volumes output{min-width:45px;color:#86eaae}#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 #354f4a;border-radius:12px}
.overlay-layout-controls label{display:grid;gap:8px;color:#d6e7dd}
.overlay-layout-controls input[type=range]{width:100%;accent-color:#81ecac}
.overlay-layout-controls select{width:100%;padding:10px;background:#0f1917;color:#e8f2ec;border:1px solid #46655f;border-radius:8px}

/* V3.7 会员聊天登录 */
.member-login{padding:12px;border:1px solid #37504b;border-radius:12px;margin:12px 0;display:grid;gap:8px}.member-login small{color:#aec6b8}.member-login #memberAuth{display:grid;gap:7px}.member-login input{min-width:0;width:100%;box-sizing:border-box;padding:9px;background:#111f1d;color:#fff;border:1px solid #45605b;border-radius:7px}.member-buttons{display:flex;gap:8px;flex-wrap:wrap}.member-buttons button,.member-login button{padding:8px 12px;background:#7ee2a6;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:#263835;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:#16201e;position:relative;z-index:11}
.viewer-controls button{border:1px solid #4d6560;border-radius:7px;background:#233330;color:#cef0dc;padding:8px 13px;cursor:pointer;font-size:13px}
.viewer-controls button[aria-pressed="true"]{background:#81e6a9;color:#0f1f1c}
#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:#060909;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 #37514c;border-radius:14px;margin:18px 0;padding:15px;background:#111918;color:#e9f2ed}.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 #354f4a;border-radius:9px;padding:9px;background:#0c1413}.admin-msg,.admin-user-row{border-bottom:1px solid #2a3a37;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:#111918;border:1px solid #334240;border-radius:9px}.stats-cards small{display:block;color:#9aaa9b;font-size:12px}.stats-cards strong{font-size:27px;color:#7de9a8;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 #444036}.stats-table th{position:sticky;top:0;background:#18201f}

/* V3.15: show guest composer as read-only, not unclickable. */
#chatInput[readonly]{cursor:text;opacity:1;background:#172220;color:#c9d5ce}
#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:#13211f;color:#f7fefa;border:1px solid #619074;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:#2a3937;color:white;font-size:22px;border-radius:6px;padding:2px 12px}.gl-private-history{flex:1;overflow:auto;border-block:1px solid #3c5550;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:#0c1715;color:white;border:1px solid #6b6455;padding:10px;border-radius:7px;font-size:16px}.gl-private-compose button{background:#7fe8aa;border:0;border-radius:7px;padding:8px 12px;color:#151f1d}.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 #7de9a8;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 #273432}.member-presence.is-online{background:#6ade98;box-shadow:0 0 0 2px #294943,0 0 10px #63e57888}.member-actions button[data-private-member]{background:#7ee2a6;color:#14201e;border-color:#7ee2a6;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:#0c1312}
.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:#253532;color:#fff;border:1px solid #739681;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:#152623;--line:#286459;--mint:#73f4a7;--text:#dffceb;--muted:#93c7a8}
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 #2b7769}
.head nav a:hover,.linkbtn:hover {color:#80f5af}
.logo span:last-child,.logo-icon {color:#85f5b2}
.hero {background:linear-gradient(110deg,rgba(106,24,18,.13),transparent 55%)}
.hero h1 em {color:#67f39f;text-shadow:0 4px 30px #b84a2633}
.eyebrow,.overline {color:#84f5b1}
.pulse {background:#6af3a1;box-shadow:0 0 12px #6af3a1}
.primary,.tabbar button.active,.adminnav button.active,.member-buttons button,.member-login button {background:linear-gradient(135deg,#a2f7c4,#39ed81);border-color:#4ceb8c;color:#06362d}
.primary:hover {background:linear-gradient(135deg,#c3fad9,#6bf3a1)}
.ghost {border-color:#438f61;color:#c1fad8}
.ghost:hover {border-color:#78f4aa}
.player-card,.streams,.fixtures,.tip,.member-panel,.chat-panel,.admin-chat-desk {background:#1b1311;border-color:#2b5c53}
.stream-item.selected {background:#1b3530;border-color:#4fdc87}
.status-dot.live {background:#a82422;color:#fff}
.tip-tag,.watch-link,.mini-status,.stream-item strong,.foot b {color:#86f5b2}
.logo,.hero h1,.section-title h2 {text-shadow:0 1px 16px rgba(221,124,47,.08)}
.hero-promotions .promo-main {border:1px solid #33c26c!important;box-shadow:0 16px 55px #0009,0 0 25px #bc661524;background:#081614!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:#0e1716;--panel:#162422;--panel2:#27192d;--line:#51405c;--mint:#71f3a5;--text:#f0fef6;--muted:#c4adc8}
body{background:radial-gradient(ellipse at 82% 0%,#35203a 0%,transparent 37%),linear-gradient(180deg,#0f1b19,#0c1413 65%);color:var(--text)}
.head{background:#130d1bef;border-bottom:1px solid #684967}.logo,.foot b{color:#e8fdf0}.logo-icon,.logo span:last-child{color:#7cf4ac}.head nav{color:#dbf5e5}
.head nav a:hover{color:#71f3a5}.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:#ebfdf2;text-shadow:0 5px 28px #13050c99}.hero h1 em{background:linear-gradient(95deg,#bdfad5,#78f4aa,#ed8ba8);background-clip:text;-webkit-background-clip:text;color:transparent}
.hero p{color:#e7ccd3}.eyebrow,.overline,.accent{color:#8cf6b6}.pulse{background:#75f4a8;box-shadow:0 0 15px #6af3a1}
.primary,.tabbar button.active,.adminnav button.active{background:linear-gradient(120deg,#a2f7c4,#54f193);color:#311321;border-color:#84f5b1}.primary:hover{background:#b2f9ce}
.ghost{border-color:#997095;color:#e8fdf0}.ghost:hover{border-color:#8cf6b6}
.player-card,.streams,.fixtures,.tip,.chat-panel,.member-panel{background:#162321;border-color:#5a3e57}
.player{background:radial-gradient(circle at center,#42213d,#0c1614 66%)}
.stream-item{background:#2a1b2e}.stream-item.selected{border-color:#5fe996;background:#432739}
.modal-panel{background:#172724;border-color:#9b6f75}.modal input,.modal textarea,.modal select{background:#0f1d1b;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:#22e972;--primary:#1cd466;--highlight:#70f1a4;}
body{background:#ecfdf3!important;color:#1a4941!important;}
.head{background:linear-gradient(110deg,#0c4f43,#189881)!important;border-bottom:2px solid #68f09e!important;}
.head a,.head nav a{color:#f1fdf6!important;}
.hero{background:linear-gradient(125deg,#0e5c4e,#1cbd5c 60%,#ecfdf3)!important;}
.hero h1,.hero p{color:#f6fef9!important;}
.primary{background:linear-gradient(100deg,#1ed969,#61ef9a)!important;border-color:#30d873!important;}
.studio-channel-pick{display:block;margin:10px 0;padding:12px;border:1px solid #63e296;border-radius:12px;background:#ebfdf2;color:#1c7263;font-weight:800;}
.studio-channel-pick select{display:block;width:100%;padding:11px;margin-top:8px;border:1px solid #50cd82;border-radius:8px;}
.member-overview{margin:18px 0;padding:15px;border:1px solid #88e3ac;border-radius:14px;background:#f1fdf6;}
.member-overview .member-row{border-bottom:1px solid #c6f1d7;padding:10px 0;}
.member-overview .member-actions{display:flex;gap:6px;flex-wrap:wrap;}


/* 校长 V1.2 · 蓝银布局统一、适配移动端；仅修改当前独立项目 */
:root{--bg:#ecfdf3;--panel:#ecfdf3;--panel2:#dbfae7;--line:#a9ebc3;--mint:#22c162;--text:#13564a;--muted:#528a68}
body{background:linear-gradient(155deg,#f2fdf6,#dffceb 55%,#cafadd)!important;color:#1b6154!important}
.hero{padding-left:clamp(24px,5vw,82px)!important;background:linear-gradient(120deg,#0c5749,#149c84 57%,#66ef9d)!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 #98f5bd!important;background:#ecfdf3!important;box-shadow:0 16px 48px #073e7890!important}
.hero-promotions .promo-main img{object-fit:contain!important;background:#ecfdf3!important}
.section-title h2,.section-title h2 span,.section-title .accent{color:#11816d!important}
.player-card,.streams,.fixtures,.manual-fixtures,.tip,.member-panel,.chat-panel,.admin-chat-desk{background:linear-gradient(155deg,#f9fefb,#d1fae1)!important;border:1px solid #86e4ac!important;color:#177060!important;box-shadow:0 10px 26px #276db319!important}
.player-top,.side-heading,.player-meta,.interact-header{background:linear-gradient(100deg,#0d715f,#19ae55)!important;color:#fff!important}
.stream-item,.fixture-row,.official-row,.tip{background:#f1fdf6!important;border-color:#aaebc4!important;color:#176b5c!important}
.stream-item.selected{background:#cafadd!important;border-color:#27c767!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:#1f7c6b!important}
.player,.interact-screen{background:radial-gradient(circle at center,#1a8d78,#08312a 80%)!important;color:#fff!important}
.player .play-empty,.player .play-empty *{color:#ebfdf2!important}
.ghost,.league-pills button,.range-controls button,.refresh-score,.tabbar button{background:#effdf5!important;color:#118a74!important;border:1px solid #8fe8b3!important}
.primary,.tabbar button.active,.league-pills button.active{background:linear-gradient(110deg,#21cf67,#5eee98)!important;color:#fff!important;border-color:#20cb64!important}
.watch-grid .streams .side-heading,.chat-panel .side-heading{background:transparent!important;color:#13826e!important}
.chat-message,.chat-message b,.member-panel h3,.member-panel strong,.member-panel small,.chat-composer,.chat-composer input{color:#157866!important}
.chat-composer input,.member-panel input,.name-box input{background:#fff!important;border:1px solid #93e4b3!important;color:#186255!important}
.foot{background:#106959!important;color:#e9fcf1!important}
.modal-panel{background:linear-gradient(160deg,#116e5d,#1ab458 62%,#86f3b2)!important;border:1px solid #98f5bd!important;color:#fff!important}
.modal-title h3,.modal-title small,.modal-panel .note,.modal-panel label,.modal-panel h3,.modal-panel h4{color:#f6fef9!important}
.adminnav{display:flex!important;flex-wrap:wrap;gap:9px;padding:8px 0 15px!important}
.adminnav button{background:#167161!important;color:#fff!important;border:1px solid #6feda1!important;border-radius:9px!important;padding:10px 13px!important}
.adminnav button.active{background:linear-gradient(120deg,#b1f9ce,#66f39e)!important;color:#195c50!important;border-color:#a8f8c8!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:#c0f8d6}
#memberOverview{order:0!important;background:linear-gradient(135deg,#f9fefb,#dbfae7)!important;border:1px solid #8de9b2!important;border-radius:18px!important;color:#196255!important;box-shadow:0 12px 30px #052f612c!important;margin:8px 0 20px!important;padding:20px!important}
#memberOverview h3{color:#156b5c!important;font-size:23px;margin:0 0 10px}
#memberOverview .note{color:#558468!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 #c0edd2}
#memberOverviewList .member-identity{color:#1b6e5f!important}
#memberOverviewList .member-identity small{color:#4f8565!important}
#memberOverviewList .member-actions{display:flex;flex-wrap:wrap;gap:7px;justify-content:flex-end}
#memberOverviewList .member-actions button,#refreshMemberOverview{background:#f4fef8!important;color:#128772!important;border:1px solid #83d1a2!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:#dbfce8!important;color:#109f86!important}
#studio,.adminform{background:#e5fdef!important;color:#1c695b!important;border:1px solid #9febbd!important;border-radius:12px;padding:18px}
#studio h3,#studio p,#studio label,.adminform h4{color:#237c6c!important}
.modal input,.modal textarea,.modal select,.adminform input,.adminform textarea,.adminform select{background:#fff!important;color:#186658!important;border:1px solid #87dba9!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:#f0fdf5!important;border-color:#8ff3b7!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:#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:#1b5f53!important;
}
.admin-route .modal-panel #adminForms .adminform label {
  font-weight:700!important;
  font-size:13px!important;
}
.admin-route .modal-panel #adminForms .adminform h4 {color:#1b5f53!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:#1a4a41!important;
  border:1px solid #7ce1a4!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 #32c06b!important;
  outline-offset:1px;
}
.admin-route .modal-panel #adminForms .adminform input::placeholder,
.admin-route .modal-panel #adminForms .adminform textarea::placeholder {
  color:#638a73!important;
  opacity:1;
}
/* 校长会员社区：独立于直播聊天布局，PC/手机自适应 */
.forum-section{scroll-margin-top:95px}.forum-help,.forum-status{color:var(--muted,#9bb3a5);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,#16201e);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:#71f3a5!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:#fff;color:#193b35;border:1px solid #8fe4b1;border-radius:9px;padding:11px}.forum-admin-item{background:#e7fdf0;color:#1c4a42;padding:18px;margin:14px 0;border:1px solid #9af1bd;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 #7ed3a0;border-radius:8px;background:#fff;color:#196557;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 #b3e6c7;padding-top:10px}.forum-admin-comment{padding:12px 0;border-bottom:1px solid #c1ead1}.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:#1c7f6d;margin:0 0 13px;font-size:21px;}
body[data-xz-page="live"] .xz-manual-schedule #fixtures{background:#f8fefa;border:1px solid #bbeecf;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:#e6fdef;color:#1d8270;border:1px solid #bcf1d1;padding:8px 13px;border-radius:8px;}
body[data-xz-page="live"] .xz-manual-schedule #fixtureTabs button.active{background:#30bc68;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,#effdf5)!important;border:1px solid #c1ebd2!important;border-radius:14px!important;color:#1d6b5d!important;box-shadow:0 5px 16px #1d64a510!important;}
#forum .forum-editor input,#forum .forum-editor textarea,#forum .forum-comment-editor textarea{background:#fff!important;color:#1b6356!important;border:1px solid #b2e6c7!important;border-radius:10px!important;box-shadow:none!important;opacity:1!important;-webkit-text-fill-color:#1b6356!important;}
#forum .forum-editor input::placeholder,#forum .forum-editor textarea::placeholder,#forum .forum-comment-editor textarea::placeholder{color:#75a387!important;-webkit-text-fill-color:#75a387!important;opacity:1!important;}
#forum .forum-editor input:focus,#forum .forum-editor textarea:focus,#forum .forum-comment-editor textarea:focus{outline:2px solid #3ccc76!important;outline-offset:1px!important;}
#forum .forum-status{background:#e8fbf0!important;color:#297a6b!important;border:1px solid #c0ebd1!important;}
#forum .forum-editor button.primary,#forum .forum-comment-editor button.primary{background:#30c56c!important;border-color:#30c56c!important;color:#fff!important;-webkit-text-fill-color:#fff!important;}
#forum .forum-post-body,#forum .forum-comment p{color:#2c6d61!important;}
#forum #forumPosts{min-height:35px;color:#297a6b;}
@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:#458d62!important;border:0!important;padding:15px 0 20px!important;min-height:0!important;}
body footer .foot{background:linear-gradient(115deg,#fafefc,#dcfce9)!important;border:1px solid #bdeacf!important;border-radius:14px!important;padding:16px 20px!important;box-shadow:0 4px 18px #1c5b9b12!important;}
body footer .foot b{color:#1f7566!important;font-size:17px!important;}
body footer .foot small,body footer .foot span{color:#589671!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,#f9fefb,#dbfce8)!important;border:1px solid #86e4ac!important;border-radius:13px!important;padding:17px!important;color:#1d7767!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:#ecfdf3!important;border:1px solid #9ee7bb!important;color:#1b6558!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:#1b6558!important;-webkit-text-fill-color:#1b6558!important;opacity:1!important;}
.admin-route #adminChatDesk #adminChatConnection{color:#1d8371!important;-webkit-text-fill-color:#1d8371!important;font-weight:700!important;}
.admin-route #adminChatDesk .admin-chat-feed,.admin-route #adminChatDesk .admin-online-users{background:#fff!important;border:1px solid #abe2c1!important;color:#1a6154!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:#1c7162!important;-webkit-text-fill-color:#1c7162!important;}
.admin-route #adminChatDesk .admin-msg small,.admin-route #adminChatDesk .admin-user-row small{color:#558267!important;-webkit-text-fill-color:#558267!important;opacity:1!important;}
.admin-route #adminChatDesk .admin-msg,.admin-route #adminChatDesk .admin-user-row{border-color:#d8f3e3!important;}
.admin-route #adminChatDesk #adminChatInput{background:#fff!important;color:#1d5f53!important;-webkit-text-fill-color:#1d5f53!important;border:1px solid #90ddaf!important;}
.admin-route #adminChatDesk #adminChatInput::placeholder{color:#69957b!important;-webkit-text-fill-color:#69957b!important;}
.admin-route #adminChatDesk .admin-msg button,.admin-route #adminChatDesk .admin-user-row button{background:#e2fded!important;color:#1a7363!important;-webkit-text-fill-color:#1a7363!important;border:1px solid #a5e1bd!important;border-radius:6px!important;cursor:pointer;}
.admin-route #adminChatDesk .admin-msg button:hover,.admin-route #adminChatDesk .admin-user-row button:hover{background:#cafadd!important;}
/* 直播频道控制台：明确显示仅针对所选频道的麦克风与挂图工具 */
.admin-route #studioMount #studio{background:linear-gradient(140deg,#f9fefb,#dffceb)!important;color:#1b6b5d!important;border:2px solid #8de0ae!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:#267869!important;-webkit-text-fill-color:#267869!important;}
.admin-route #studioMount #studio input[type=file],.admin-route #studioMount #studio select{background:#fff!important;color:#1a6d5e!important;-webkit-text-fill-color:#1a6d5e!important;border:1px solid #88deaa!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%,#e3fded 100%)!important;border:1px solid #a9e9c3!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:#4b8d65!important;-webkit-text-fill-color:#4b8d65!important;font-weight:650!important;font-size:12px!important;line-height:1.6;opacity:1!important;}
#visitStats .stats-cards strong{color:#20ac58!important;-webkit-text-fill-color:#20ac58!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 #bdeacf;border-radius:12px;overflow:auto;}
#visitStats .stats-table{background:#fff;color:#226f61!important;}
#visitStats .stats-table th{background:#dafce8!important;color:#1c6f60!important;border-bottom:1px solid #bdeacf!important;}
#visitStats .stats-table td{color:#2c7769!important;border-bottom:1px solid #dcf4e6!important;}
#visitStats .stats-table tr:nth-child(even) td{background:#f3fdf7!important;}
#visitStats #statsMessage{color:#dcfce9!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,#fbfefc,#e4fdee)!important;border:1px solid #b5ebcb!important;border-radius:16px!important;box-shadow:0 5px 18px #11589a12!important;padding:19px!important;min-height:0!important;}
body[data-xz-page="live"] #live>.streams>.side-heading{background:transparent!important;color:#1c7968!important;padding:0 0 12px!important;border:0!important;margin-bottom:0!important;}
body[data-xz-page="live"] #live>.streams>.side-heading strong{color:#1c7968!important;font-size:20px;}
body[data-xz-page="live"] #live>.streams>.side-heading span{color:#569770!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,#ecfdf3)!important;border:1px solid #bcebcf!important;border-radius:12px!important;color:#1c7464!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,#effdf5,#dafce8)!important;border-color:#41c977!important;box-shadow:0 0 0 1px #398ed130!important;}
body[data-xz-page="live"] #live>.streams .stream-item strong{color:#1c7464!important;}
body[data-xz-page="live"] #live>.streams .stream-item small{color:#699e7e!important;}
body[data-xz-page="live"] #live>.streams .mini-status{color:#14b956!important;}
body[data-xz-page="live"] #live>.streams .mini-status.live{color:#b73535!important;}
body[data-xz-page="live"] #live>.streams .side-note{color:#559870!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,#a2f7c4,#62f29c)!important;border:1px solid #6bf3a1!important;color:#196255!important;border-radius:10px!important;padding:10px 16px!important;font-weight:800!important;box-shadow:0 3px 10px #123e6820!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:#c9fbdd!important;color:#125448!important;outline:2px solid #b6f9d1!important;outline-offset:2px;}
.head nav a.xz-auth-nav.xz-active{border-bottom:1px solid #6bf3a1!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}}

/* Luoke V1.0 */
:root{--bg:#10100f;--panel:#141c1b;--panel2:#162623;--line:#1f4d45;--mint:#5dec96;--text:#e1fdec;--muted:#99c2a9}body{background:#10100f}.head{background:#15120ff5;border-color:#1f4d45}.hero-promotions .promo-main img{object-fit:contain!important}.hero-promotions .promo-main{aspect-ratio:481/618!important}

/* Luoke navy and emerald */
:root{--bg:#061c29;--panel:#102d36;--panel2:#123c3e;--line:#286457;--mint:#83ef79;--text:#effff8;--muted:#b5d8d1}body{background:#061c29;color:var(--text)}.head{background:#092633f5;border-color:#286457}.hero-promotions .promo-main{aspect-ratio:1088/1394!important}.hero-promotions .promo-main img{object-fit:contain!important}
