:root{--bg:#100e13;--panel:#1a171e;--panel2:#211c26;--line:#312b38;--mint:#b37de9;--text:#f3f0f6;--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 #2a2530;position:sticky;z-index:20;top:0;background:#100d14ef;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:#cbc4d1;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:#1a1520;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:#d5b5f5}.ghost{background:transparent;color:#ebe7ee;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:#b37de9;text-shadow:0 0 85px #a662ea4a;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:#e1dde5}.status-dot{background:#444038;border-radius:5px;font-weight:700;padding:5px 10px;color:#d9d0e2}.status-dot.live{background:#df544b;color:white}.player{aspect-ratio:16/9;background:radial-gradient(circle at center,#2e2538 0,#0e0c11 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:#eeeaf3;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 #473c53;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:#211c27;border:1px solid transparent;border-radius:8px;text-align:left;color:#fff;padding:16px;margin-bottom:10px}.stream-item.selected{border-color:#9d74c6;background:#2b2433}.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 #3a3341;background:#1e1a22;color:#aba69c;border-radius:6px;font-size:12px}.tabbar button.active,.adminnav button.active{background:var(--mint);color:#150f1c;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 #332d3a}.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 #2e2736;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:#1c1820;border:1px solid #554961;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:#e0d9e6;font-size:12px;margin:10px 0}.modal input,.modal textarea,.modal select{margin-top:6px;background:#141018;border:1px solid #463d4f;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:#151119;border:1px solid #3a3342;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 #3e3746;border-radius:10px;background:#221c28;color:#e0dae7;padding:9px 13px;cursor:pointer;font:inherit}.league-pills button.active,.league-pills button:hover{background:#b582e9;color:#1b1621;border-color:#b582e9}.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:#b582e9!important;font-weight:700}.manual-fixtures{margin-top:24px;border-top:1px solid #3a3242;padding-top:18px}.manual-fixtures summary{color:#ac9ebb;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:#1c1821;border:1px solid #3d3149;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:#f2eff4}
.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:#060508;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:#c6becf}.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:#151119;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:#342c3d;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 #3d3149}
.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:#100e13;
}
@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:#0b080e;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 #4e425b;border-radius:10px;background:#151119}#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:#ded6e7}.studio-volumes input{width:min(100%,350px);accent-color:#b681ec}.studio-volumes output{min-width:45px;color:#b886ea}#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 #42354f;border-radius:12px}
.overlay-layout-controls label{display:grid;gap:8px;color:#ded6e7}
.overlay-layout-controls input[type=range]{width:100%;accent-color:#b681ec}
.overlay-layout-controls select{width:100%;padding:10px;background:#140f19;color:#ede8f2;border:1px solid #564665;border-radius:8px}

/* V3.7 会员聊天登录 */
.member-login{padding:12px;border:1px solid #433750;border-radius:12px;margin:12px 0;display:grid;gap:8px}.member-login small{color:#baaec6}.member-login #memberAuth{display:grid;gap:7px}.member-login input{min-width:0;width:100%;box-sizing:border-box;padding:9px;background:#18111f;color:#fff;border:1px solid #524560;border-radius:7px}.member-buttons{display:flex;gap:8px;flex-wrap:wrap}.member-buttons button,.member-login button{padding:8px 12px;background:#b07ee2;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:#2f2638;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:#1b1620;position:relative;z-index:11}
.viewer-controls button{border:1px solid #594d65;border-radius:7px;background:#2b2333;color:#dfcef0;padding:8px 13px;cursor:pointer;font-size:13px}
.viewer-controls button[aria-pressed="true"]{background:#b381e6;color:#170f1f}
#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:#070609;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 #443751;border-radius:14px;margin:18px 0;padding:15px;background:#151119;color:#eee9f2}.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 #42354f;border-radius:9px;padding:9px;background:#100c14}.admin-msg,.admin-user-row{border-bottom:1px solid #322a3a;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:#151119;border:1px solid #3a3342;border-radius:9px}.stats-cards small{display:block;color:#9aaa9b;font-size:12px}.stats-cards strong{font-size:27px;color:#b37de9;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:#1c1820}

/* V3.15: show guest composer as read-only, not unclickable. */
#chatInput[readonly]{cursor:text;opacity:1;background:#1c1722;color:#cfc9d5}
#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:#1a1321;color:#fbf7fe;border:1px solid #786190;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:#312a39;color:white;font-size:22px;border-radius:6px;padding:2px 12px}.gl-private-history{flex:1;overflow:auto;border-block:1px solid #483c55;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:#110c17;color:white;border:1px solid #6b6455;padding:10px;border-radius:7px;font-size:16px}.gl-private-compose button{background:#b37fe8;border:0;border-radius:7px;padding:8px 12px;color:#1a151f}.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 #b37de9;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 #2d2734}.member-presence.is-online{background:#a46ade;box-shadow:0 0 0 2px #392949,0 0 10px #a463e588}.member-actions button[data-private-member]{background:#b07ee2;color:#1a1420;border-color:#b07ee2;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:#0f0c13}
.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:#2d2535;color:#fff;border:1px solid #847396;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:#1d1526;--line:#462864;--mint:#b37aed;--text:#eee0fb;--muted:#ad93c7}
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 #512b77}
.head nav a:hover,.linkbtn:hover {color:#ba86ef}
.logo span:last-child,.logo-icon {color:#bd8bef}
.hero {background:linear-gradient(110deg,rgba(106,24,18,.13),transparent 55%)}
.hero h1 em {color:#ad6feb;text-shadow:0 4px 30px #b84a2633}
.eyebrow,.overline {color:#bc8aef}
.pulse {background:#ae71ec;box-shadow:0 0 12px #ae71ec}
.primary,.tabbar button.active,.adminnav button.active,.member-buttons button,.member-login button {background:linear-gradient(135deg,#cca6f3,#9341e5);border-color:#9b50e7;color:#1e0735}
.primary:hover {background:linear-gradient(135deg,#dec6f7,#af72ec)}
.ghost {border-color:#69438f;color:#ddc4f7}
.ghost:hover {border-color:#b67fed}
.player-card,.streams,.fixtures,.tip,.member-panel,.chat-panel,.admin-chat-desk {background:#1b1311;border-color:#432b5c}
.stream-item.selected {background:#281b35;border-color:#954fdc}
.status-dot.live {background:#a82422;color:#fff}
.tip-tag,.watch-link,.mini-status,.stream-item strong,.foot b {color:#bd8cef}
.logo,.hero h1,.section-title h2 {text-shadow:0 1px 16px rgba(221,124,47,.08)}
.hero-promotions .promo-main {border:1px solid #7a33c2!important;box-shadow:0 16px 55px #0009,0 0 25px #bc661524;background:#0f0816!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:#120e17;--panel:#1d1624;--panel2:#27192d;--line:#51405c;--mint:#b277ed;--text:#f7f1fd;--muted:#c4adc8}
body{background:radial-gradient(ellipse at 82% 0%,#35203a 0%,transparent 37%),linear-gradient(180deg,#150f1b,#100c14 65%);color:var(--text)}
.head{background:#130d1bef;border-bottom:1px solid #684967}.logo,.foot b{color:#f2e9fc}.logo-icon,.logo span:last-child{color:#b882ee}.head nav{color:#e8dbf5}
.head nav a:hover{color:#b277ed}.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:#f4ecfc;text-shadow:0 5px 28px #13050c99}.hero h1 em{background:linear-gradient(95deg,#dbc1f6,#b67fed,#ed8ba8);background-clip:text;-webkit-background-clip:text;color:transparent}
.hero p{color:#e7ccd3}.eyebrow,.overline,.accent{color:#c192f0}.pulse{background:#b47ced;box-shadow:0 0 15px #ae71ec}
.primary,.tabbar button.active,.adminnav button.active{background:linear-gradient(120deg,#cca6f3,#a25ce9);color:#311321;border-color:#bc8aef}.primary:hover{background:#d5b6f5}
.ghost{border-color:#997095;color:#f2e9fc}.ghost:hover{border-color:#c192f0}
.player-card,.streams,.fixtures,.tip,.chat-panel,.member-panel{background:#1c1623;border-color:#5a3e57}
.player{background:radial-gradient(circle at center,#42213d,#110c16 66%)}
.stream-item{background:#2a1b2e}.stream-item.selected{border-color:#a45fe9;background:#432739}
.modal-panel{background:#1f1727;border-color:#9b6f75}.modal input,.modal textarea,.modal select{background:#160f1d;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:#8529e2;--primary:#781dd3;--highlight:#b075ec;}
body{background:#f4edfc!important;color:#311a49!important;}
.head{background:linear-gradient(110deg,#2d0c4f,#581898)!important;border-bottom:2px solid #ac6deb!important;}
.head a,.head nav a{color:#f7f1fd!important;}
.hero{background:linear-gradient(125deg,#350e5c,#6c1cbd 60%,#f4edfc)!important;}
.hero h1,.hero p{color:#faf6fe!important;}
.primary{background:linear-gradient(100deg,#7b1ed9,#a866ea)!important;border-color:#8430d8!important;}
.studio-channel-pick{display:block;margin:10px 0;padding:12px;border:1px solid #a263e2;border-radius:12px;background:#f4ecfc;color:#471c72;font-weight:800;}
.studio-channel-pick select{display:block;width:100%;padding:11px;margin-top:8px;border:1px solid #8e50cd;border-radius:8px;}
.member-overview{margin:18px 0;padding:15px;border:1px solid #b588e3;border-radius:14px;background:#f7f1fd;}
.member-overview .member-row{border-bottom:1px solid #dbc6f1;padding:10px 0;}
.member-overview .member-actions{display:flex;gap:6px;flex-wrap:wrap;}


/* 校长 V1.2 · 蓝银布局统一、适配移动端；仅修改当前独立项目 */
:root{--bg:#f4edfc;--panel:#f4edfc;--panel2:#eadbfa;--line:#caa9eb;--mint:#7122c1;--text:#341356;--muted:#6e528a}
body{background:linear-gradient(155deg,#f8f2fd,#eee0fb 55%,#e2ccf8)!important;color:#3e1b61!important}
.hero{padding-left:clamp(24px,5vw,82px)!important;background:linear-gradient(120deg,#310c57,#58159b 57%,#aa6aeb)!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 #c69cf1!important;background:#f4edfc!important;box-shadow:0 16px 48px #3f0f7090!important}
.hero-promotions .promo-main img{object-fit:contain!important;background:#f4edfc!important}
.section-title h2,.section-title h2 span,.section-title .accent{color:#491280!important}
.player-card,.streams,.fixtures,.manual-fixtures,.tip,.member-panel,.chat-panel,.admin-chat-desk{background:linear-gradient(155deg,#fcf9fe,#e5d2f9)!important;border:1px solid #b586e4!important;color:#431770!important;box-shadow:0 10px 26px #6d27b319!important}
.player-top,.side-heading,.player-meta,.interact-header{background:linear-gradient(100deg,#3f0f6f,#6319ae)!important;color:#fff!important}
.stream-item,.fixture-row,.official-row,.tip{background:#f7f1fd!important;border-color:#caaaeb!important;color:#41176b!important}
.stream-item.selected{background:#e2ccf8!important;border-color:#7727c7!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:#4d1f7c!important}
.player,.interact-screen{background:radial-gradient(circle at center,#531a8d,#1c0831 80%)!important;color:#fff!important}
.player .play-empty,.player .play-empty *{color:#f4ecfc!important}
.ghost,.league-pills button,.range-controls button,.refresh-score,.tabbar button{background:#f6effd!important;color:#4d1388!important;border:1px solid #bb8fe8!important}
.primary,.tabbar button.active,.league-pills button.active{background:linear-gradient(110deg,#7821cf,#a662ea)!important;color:#fff!important;border-color:#7520cb!important}
.watch-grid .streams .side-heading,.chat-panel .side-heading{background:transparent!important;color:#4a1382!important}
.chat-message,.chat-message b,.member-panel h3,.member-panel strong,.member-panel small,.chat-composer,.chat-composer input{color:#461578!important}
.chat-composer input,.member-panel input,.name-box input{background:#fff!important;border:1px solid #bb93e4!important;color:#3d1862!important}
.foot{background:#3c1069!important;color:#f2e9fc!important}
.modal-panel{background:linear-gradient(160deg,#3f116e,#671ab4 62%,#bc8aef)!important;border:1px solid #c69cf1!important;color:#fff!important}
.modal-title h3,.modal-title small,.modal-panel .note,.modal-panel label,.modal-panel h3,.modal-panel h4{color:#faf6fe!important}
.adminnav{display:flex!important;flex-wrap:wrap;gap:9px;padding:8px 0 15px!important}
.adminnav button{background:#431671!important;color:#fff!important;border:1px solid #ae70ec!important;border-radius:9px!important;padding:10px 13px!important}
.adminnav button.active{background:linear-gradient(120deg,#d5b5f5,#ac6eeb)!important;color:#3a195c!important;border-color:#d0acf4!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:#dcc1f7}
#memberOverview{order:0!important;background:linear-gradient(135deg,#fcf9fe,#eadbfa)!important;border:1px solid #bb8de9!important;border-radius:18px!important;color:#3d1962!important;box-shadow:0 12px 30px #330c5a2c!important;margin:8px 0 20px!important;padding:20px!important}
#memberOverview h3{color:#40156b!important;font-size:23px;margin:0 0 10px}
#memberOverview .note{color:#6c5584!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 #d6c0ed}
#memberOverviewList .member-identity{color:#441b6e!important}
#memberOverviewList .member-identity small{color:#6a4f85!important}
#memberOverviewList .member-actions{display:flex;flex-wrap:wrap;gap:7px;justify-content:flex-end}
#memberOverviewList .member-actions button,#refreshMemberOverview{background:#f9f4fe!important;color:#4c1287!important;border:1px solid #aa83d1!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:#ecddfa!important;color:#57159a!important}
#studio,.adminform{background:#f1e6fc!important;color:#421c69!important;border:1px solid #c59feb!important;border-radius:12px;padding:18px}
#studio h3,#studio p,#studio label,.adminform h4{color:#4f237c!important}
.modal input,.modal textarea,.modal select,.adminform input,.adminform textarea,.adminform select{background:#fff!important;color:#3f1866!important;border:1px solid #b187db!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:#f6f0fd!important;border-color:#c192f0!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(210,176,244,.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:#3d1b5f!important;
}
.admin-route .modal-panel #adminForms .adminform label {
  font-weight:700!important;
  font-size:13px!important;
}
.admin-route .modal-panel #adminForms .adminform h4 {color:#3d1b5f!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:#321a4a!important;
  border:1px solid #ae7ce1!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 #7932c0!important;
  outline-offset:1px;
}
.admin-route .modal-panel #adminForms .adminform input::placeholder,
.admin-route .modal-panel #adminForms .adminform textarea::placeholder {
  color:#76638a!important;
  opacity:1;
}
/* 校长会员社区：独立于直播聊天布局，PC/手机自适应 */
.forum-section{scroll-margin-top:95px}.forum-help,.forum-status{color:var(--muted,#a79bb3);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,#1b1620);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:#b277ed!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:#2a193b;border:1px solid #ba8fe4;border-radius:9px;padding:11px}.forum-admin-item{background:#f2e8fc;color:#331c4a;padding:18px;margin:14px 0;border:1px solid #c59af1;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 #a87ed3;border-radius:8px;background:#fff;color:#3f1965;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 #ccb3e6;padding-top:10px}.forum-admin-comment{padding:12px 0;border-bottom:1px solid #d5c1ea}.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:#4d1c7f;margin:0 0 13px;font-size:21px;}
body[data-xz-page="live"] .xz-manual-schedule #fixtures{background:#fbf8fe;border:1px solid #d4bbee;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:#f2e7fc;color:#4f1d82;border:1px solid #d6bcf1;padding:8px 13px;border-radius:8px;}
body[data-xz-page="live"] .xz-manual-schedule #fixtureTabs button.active{background:#7630bc;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,#f6effd)!important;border:1px solid #d6c1eb!important;border-radius:14px!important;color:#441d6b!important;box-shadow:0 5px 16px #611da510!important;}
#forum .forum-editor input,#forum .forum-editor textarea,#forum .forum-comment-editor textarea{background:#fff!important;color:#3f1b63!important;border:1px solid #ccb2e6!important;border-radius:10px!important;box-shadow:none!important;opacity:1!important;-webkit-text-fill-color:#3f1b63!important;}
#forum .forum-editor input::placeholder,#forum .forum-editor textarea::placeholder,#forum .forum-comment-editor textarea::placeholder{color:#8c75a3!important;-webkit-text-fill-color:#8c75a3!important;opacity:1!important;}
#forum .forum-editor input:focus,#forum .forum-editor textarea:focus,#forum .forum-comment-editor textarea:focus{outline:2px solid #843ccc!important;outline-offset:1px!important;}
#forum .forum-status{background:#f2e8fb!important;color:#51297a!important;border:1px solid #d5c0eb!important;}
#forum .forum-editor button.primary,#forum .forum-comment-editor button.primary{background:#7a30c5!important;border-color:#7a30c5!important;color:#fff!important;-webkit-text-fill-color:#fff!important;}
#forum .forum-post-body,#forum .forum-comment p{color:#4c2c6d!important;}
#forum #forumPosts{min-height:35px;color:#51297a;}
@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:#69458d!important;border:0!important;padding:15px 0 20px!important;min-height:0!important;}
body footer .foot{background:linear-gradient(115deg,#fcfafe,#ecdefa)!important;border:1px solid #d3bdea!important;border-radius:14px!important;padding:16px 20px!important;box-shadow:0 4px 18px #5b1c9b12!important;}
body footer .foot b{color:#4a1f75!important;font-size:17px!important;}
body footer .foot small,body footer .foot span{color:#775896!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,#fcf9fe,#ecddfa)!important;border:1px solid #b586e4!important;border-radius:13px!important;padding:17px!important;color:#4a1d77!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:#f4edfc!important;border:1px solid #c29ee7!important;color:#401b65!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:#401b65!important;-webkit-text-fill-color:#401b65!important;opacity:1!important;}
.admin-route #adminChatDesk #adminChatConnection{color:#501d83!important;-webkit-text-fill-color:#501d83!important;font-weight:700!important;}
.admin-route #adminChatDesk .admin-chat-feed,.admin-route #adminChatDesk .admin-online-users{background:#fff!important;border:1px solid #c6abe2!important;color:#3d1a61!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:#461c71!important;-webkit-text-fill-color:#461c71!important;}
.admin-route #adminChatDesk .admin-msg small,.admin-route #adminChatDesk .admin-user-row small{color:#6b5582!important;-webkit-text-fill-color:#6b5582!important;opacity:1!important;}
.admin-route #adminChatDesk .admin-msg,.admin-route #adminChatDesk .admin-user-row{border-color:#e5d8f3!important;}
.admin-route #adminChatDesk #adminChatInput{background:#fff!important;color:#3e1d5f!important;-webkit-text-fill-color:#3e1d5f!important;border:1px solid #b690dd!important;}
.admin-route #adminChatDesk #adminChatInput::placeholder{color:#7f6995!important;-webkit-text-fill-color:#7f6995!important;}
.admin-route #adminChatDesk .admin-msg button,.admin-route #adminChatDesk .admin-user-row button{background:#f0e4fb!important;color:#461a73!important;-webkit-text-fill-color:#461a73!important;border:1px solid #c3a5e1!important;border-radius:6px!important;cursor:pointer;}
.admin-route #adminChatDesk .admin-msg button:hover,.admin-route #adminChatDesk .admin-user-row button:hover{background:#e2ccf8!important;}
/* 直播频道控制台：明确显示仅针对所选频道的麦克风与挂图工具 */
.admin-route #studioMount #studio{background:linear-gradient(140deg,#fcf9fe,#eee0fb)!important;color:#431b6b!important;border:2px solid #b68de0!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:#4f2678!important;-webkit-text-fill-color:#4f2678!important;}
.admin-route #studioMount #studio input[type=file],.admin-route #studioMount #studio select{background:#fff!important;color:#431a6d!important;-webkit-text-fill-color:#431a6d!important;border:1px solid #b388de!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%,#f0e5fb 100%)!important;border:1px solid #c9a9e9!important;border-radius:14px!important;padding:18px 15px!important;box-shadow:0 5px 16px rgba(81,20,143,.12)!important;min-width:0;}
#visitStats .stats-cards small{color:#6c4b8d!important;-webkit-text-fill-color:#6c4b8d!important;font-weight:650!important;font-size:12px!important;line-height:1.6;opacity:1!important;}
#visitStats .stats-cards strong{color:#6620ac!important;-webkit-text-fill-color:#6620ac!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 #d3bdea;border-radius:12px;overflow:auto;}
#visitStats .stats-table{background:#fff;color:#48226f!important;}
#visitStats .stats-table th{background:#ebdcfa!important;color:#451c6f!important;border-bottom:1px solid #d3bdea!important;}
#visitStats .stats-table td{color:#512c77!important;border-bottom:1px solid #e8dcf4!important;}
#visitStats .stats-table tr:nth-child(even) td{background:#f8f3fd!important;}
#visitStats #statsMessage{color:#ecdefa!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,#fcfbfe,#f0e5fc)!important;border:1px solid #d0b5eb!important;border-radius:16px!important;box-shadow:0 5px 18px #55159612!important;padding:19px!important;min-height:0!important;}
body[data-xz-page="live"] #live>.streams>.side-heading{background:transparent!important;color:#4a1c79!important;padding:0 0 12px!important;border:0!important;margin-bottom:0!important;}
body[data-xz-page="live"] #live>.streams>.side-heading strong{color:#4a1c79!important;font-size:20px;}
body[data-xz-page="live"] #live>.streams>.side-heading span{color:#765697!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,#f4edfc)!important;border:1px solid #d3bceb!important;border-radius:12px!important;color:#481c74!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,#f6effd,#ebdcfa)!important;border-color:#8541c9!important;box-shadow:0 0 0 1px #8539d130!important;}
body[data-xz-page="live"] #live>.streams .stream-item strong{color:#481c74!important;}
body[data-xz-page="live"] #live>.streams .stream-item small{color:#83699e!important;}
body[data-xz-page="live"] #live>.streams .mini-status{color:#6619b4!important;}
body[data-xz-page="live"] #live>.streams .mini-status.live{color:#b73535!important;}
body[data-xz-page="live"] #live>.streams .side-note{color:#765598!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,#cca6f3,#aa69eb)!important;border:1px solid #af72ec!important;color:#3d1962!important;border-radius:10px!important;padding:10px 16px!important;font-weight:800!important;box-shadow:0 3px 10px #3d126820!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:#e2ccf8!important;color:#331254!important;outline:2px solid #d7b9f6!important;outline-offset:2px;}
.head nav a.xz-auth-nav.xz-active{border-bottom:1px solid #af72ec!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}}

/* Dongfeng V1.0 */
:root{--bg:#10100f;--panel:#18141c;--panel2:#1e1626;--line:#361f4d;--mint:#a460e9;--text:#efe3fb;--muted:#ad99c2}body{background:#10100f}.head{background:#15120ff5;border-color:#361f4d}.hero-promotions .promo-main img{object-fit:contain!important}.hero-promotions .promo-main{aspect-ratio:481/618!important}

/* Dongfeng navy and emerald */
:root{--bg:#160b30;--panel:#231036;--panel2:#28123e;--line:#462864;--mint:#b47bed;--text:#f7f1fd;--muted:#c6b5d8}body{background:#160b30;color:var(--text)}.head{background:#1e0933f5;border-color:#462864}.hero-promotions .promo-main{aspect-ratio:1088/1394!important}.hero-promotions .promo-main img{object-fit:contain!important}

/* Dongfeng V1.0: silver surfaces, deep violet navigation */
.head{background:linear-gradient(110deg,#160b30,#321064,#51228b)!important;border-bottom:1px solid #b76cff!important}.head .logo,.head nav a:not(.xz-auth-nav){color:#f4f1ff!important}.head .logo span{color:#d4b5ff!important}.head nav a.xz-auth-nav{background:linear-gradient(120deg,#f1eaff,#c8a4ff)!important;color:#30105d!important;border-color:#d4b5ff!important}.hero-promotions .promo-main{aspect-ratio:1088/1394!important;border-color:#b76cff!important}.hero-promotions .promo-main img{object-fit:contain!important}.head nav a:hover{color:#d4b5ff!important}
