body.world-teacher{margin:0;background:#f5f6fa!important;color:#172033;font-family:"Microsoft YaHei","PingFang SC",sans-serif}
.world-teacher .cloud{display:none!important}
.world-teacher .header-nav{position:sticky;top:0;z-index:20;width:100%;max-width:none;margin:0!important;padding:12px max(20px,calc((100vw - 1380px)/2));border:0;border-bottom:1px solid #e5e8f0;border-radius:0;background:rgba(255,255,255,.96);box-shadow:none;backdrop-filter:blur(12px)}
.world-teacher .page-title{color:#172033;text-shadow:none;font-size:17px;font-weight:900;letter-spacing:0}
.world-teacher .header-nav a,.world-teacher .header-nav button{min-height:38px;border-radius:9px;box-shadow:none;text-shadow:none}
.world-teacher .header-nav .feedback-btn{background:#fff;color:#5945d8;border:1px solid #ded9ff}
.world-teacher .header-nav .about-btn,.world-teacher .header-nav .back-btn{background:#fff;color:#5945d8;border:1px solid #e5e8f0}
.world-teacher .campaign-container{display:grid;grid-template-columns:258px minmax(0,1fr);gap:20px;align-items:start;width:min(1380px,calc(100% - 40px));max-width:none;margin:24px auto;padding:0}
.world-teacher .world-sidebar{position:sticky;top:86px;grid-column:1;padding:20px;border:1px solid #e5e8f0;border-radius:16px;background:#fff;box-shadow:0 16px 42px rgba(23,32,51,.07);max-height:calc(100vh - 106px);overflow:auto}
.world-sidebar h2{margin:0 0 12px;font-size:18px}.world-sidebar input{width:100%;min-height:42px;padding:10px 12px;border:1px solid #dce1ed;border-radius:10px;font:inherit;outline-color:#705cf6}.world-sidebar nav{display:grid;gap:6px;margin-top:14px}.world-sidebar button{width:100%;min-height:48px;padding:10px 12px;border:0;border-radius:10px;background:#fff;text-align:left;font:inherit;font-size:14px;cursor:pointer}.world-sidebar button:hover,.world-sidebar button.active{background:#efedff;color:#5945d8;font-weight:900}.world-sidebar small{display:block;margin-top:3px;color:#687187;font-size:11px;font-weight:500}.world-sidebar p{margin:12px 0 0;color:#687187;font-size:12px}
.world-teacher .world-main{grid-column:2;min-width:0}.world-teacher .world-overview{margin-bottom:18px;padding:28px;border:1px solid #e5e8f0;border-radius:16px;background:#fff;box-shadow:0 16px 42px rgba(23,32,51,.07)}.world-overview .eyebrow{margin:0 0 8px;color:#705cf6;font-size:12px;font-weight:900}.world-overview h1{margin:0;font-size:clamp(26px,3vw,38px);line-height:1.3}.world-overview p{color:#687187;line-height:1.7}.world-overview .overview-tags{display:flex;flex-wrap:wrap;gap:8px}.world-overview .overview-tags span{padding:7px 10px;border-radius:999px;background:#f3f1ff;color:#5945d8;font-size:12px;font-weight:800}
.world-teacher .world-main>.chapter-card{display:none;margin:0;border:1px solid #e5e8f0;border-radius:16px;background:#fff;box-shadow:0 16px 42px rgba(23,32,51,.07);transform:none}.world-teacher .world-main>.chapter-card.teacher-current{display:block}.world-teacher .chapter-header{padding:18px 24px;background:#fff!important;border-bottom:1px solid #e5e8f0}.world-teacher .chapter-header:hover{background:#f8f7ff!important}.world-teacher .chapter-title{font-size:18px;color:#172033;gap:0}.world-teacher .chapter-icon{display:none}.world-teacher .toggle-icon{color:#705cf6;box-shadow:none;background:#f3f1ff}.world-teacher .chapter-content{padding:16px 20px}.world-teacher .level-row,.world-teacher .level-row:nth-child(even){display:grid;grid-template-columns:104px minmax(0,1fr) auto;align-items:center;gap:16px;margin:0 0 10px;padding:15px;border:1px solid #e5e8f0;border-radius:12px;background:#fff;transform:none}.world-teacher .level-info{display:contents}.world-teacher .level-title{margin:0;padding:9px 8px;border-radius:9px;background:#f3f1ff;color:#5945d8;font-size:13px;text-align:center;white-space:nowrap}.world-teacher .level-desc{min-width:0;color:#687187;font-size:14px;line-height:1.55}.world-teacher .action-group{display:flex;justify-content:flex-end;gap:6px}.world-teacher .action-btn{min-height:38px;padding:7px 11px;border:1px solid #e5e8f0;border-radius:9px;background:#fff;color:#5945d8;font-size:13px;box-shadow:none;transform:none}.world-teacher .action-btn.btn-know{background:#705cf6;color:#fff;border-color:#705cf6}.world-teacher .action-btn:hover{filter:none;border-color:#705cf6}.world-teacher .level-row.teacher-filtered{display:none}.world-teacher .world-empty{display:none;padding:22px;color:#687187;text-align:center}
@media(max-width:950px){.world-teacher .campaign-container{grid-template-columns:1fr}.world-teacher .world-sidebar{position:static;grid-column:1;max-height:none}.world-sidebar nav{display:flex;overflow-x:auto}.world-sidebar button{flex:0 0 190px}.world-teacher .world-main{grid-column:1}}
@media(max-width:650px){.world-teacher .header-nav{padding:10px 14px;gap:8px}.world-teacher .header-nav .logo-img{display:none}.world-teacher .header-nav .left-area,.world-teacher .header-nav .right-area{width:auto;justify-content:center}.world-teacher .page-title{font-size:16px}.world-teacher .campaign-container{width:calc(100% - 24px);margin:12px auto}.world-teacher .world-sidebar,.world-teacher .world-overview{padding:16px}.world-teacher .chapter-content{padding:12px}.world-teacher .chapter-header{padding:14px}.world-teacher .level-row,.world-teacher .level-row:nth-child(even){grid-template-columns:1fr;gap:9px}.world-teacher .level-info{display:block}.world-teacher .level-title{width:max-content;max-width:100%;margin-bottom:7px}.world-teacher .action-group{justify-content:stretch}.world-teacher .action-btn{flex:1;justify-content:center}.world-teacher .header-nav .feedback-btn,.world-teacher .header-nav .about-btn,.world-teacher .header-nav .back-btn{font-size:12px;padding:8px}}
/* 清除原页面固定导航与页面内边距，避免粘性导航偏移。 */
body.world-teacher{display:block;padding:0!important;min-height:100vh;user-select:text;background-image:linear-gradient(135deg,#f5f6fa,#f9f8ff)!important;font-family:"Comic Sans MS","YouYuan","幼圆","Microsoft YaHei",sans-serif}
body.world-teacher .header-nav{left:auto;right:auto;top:0;transform:none;flex-direction:row;min-height:70px;gap:16px}
body.world-teacher .header-nav .left-area,body.world-teacher .header-nav .right-area{flex:1;min-width:0}
body.world-teacher .header-nav .page-title{flex:0 1 auto;min-width:0;margin:0;text-align:center;white-space:normal;line-height:1.25}
.world-teacher .world-sidebar{border-top:4px solid #8b72ed}.world-sidebar button{display:block}.world-sidebar button strong{display:block;color:#8571c5;font-size:12px;line-height:1.4}.world-sidebar button small{display:block;margin-top:3px;color:#172033;font-size:16px;font-weight:900;line-height:1.4}.world-sidebar button.active small{color:#5945d8}.world-teacher .world-overview{background:linear-gradient(135deg,#fff,#f4f0ff)}.world-teacher .world-overview h1{font-family:"Comic Sans MS","YouYuan","幼圆","Microsoft YaHei",sans-serif}.world-teacher .world-main>.chapter-card{border-top:4px solid #8b72ed}.world-teacher .chapter-header{background:#fcfaff!important}.world-teacher .level-row:nth-child(3n+1){border-left:3px solid #8b72ed}.world-teacher .level-row:nth-child(3n+2){border-left:3px solid #69bbab}.world-teacher .level-row:nth-child(3n){border-left:3px solid #f2b36f}
body.world-teacher.cpp-teacher{background-image:linear-gradient(135deg,#f5f8ff,#f7f8fc)!important}body.cpp-teacher .world-sidebar,body.cpp-teacher .world-main>.chapter-card{border-top-color:#5d91dc}body.cpp-teacher .world-sidebar button.active{background:#eaf3ff;color:#315da8}body.cpp-teacher .world-sidebar button.active small,body.cpp-teacher .world-overview .eyebrow{color:#315da8}body.cpp-teacher .world-overview{background:linear-gradient(135deg,#fff,#eaf3ff)}body.cpp-teacher .world-overview .overview-tags span,body.cpp-teacher .level-title{background:#eaf3ff;color:#315da8}body.cpp-teacher .action-btn.btn-know{background:#3978c9;border-color:#3978c9}
@media(max-width:1050px){body.world-teacher .header-nav{display:grid;grid-template-columns:1fr auto;gap:8px;min-height:0;padding:10px 14px}body.world-teacher .header-nav .left-area{grid-column:1;grid-row:1;justify-content:flex-start;width:auto}body.world-teacher .header-nav .page-title{grid-column:1/-1;grid-row:2;text-align:left;font-size:17px}body.world-teacher .header-nav .right-area{grid-column:2;grid-row:1;justify-content:flex-end;width:auto}body.world-teacher .header-nav .logo-img{display:none}body.world-teacher .header-nav a,body.world-teacher .header-nav button{font-size:12px;padding:7px 9px;white-space:nowrap}}
@media(max-width:420px){body.world-teacher .header-nav{position:relative}body.world-teacher .header-nav .right-area{gap:4px}body.world-teacher .header-nav a,body.world-teacher .header-nav button{font-size:11px;padding:6px}}
/* 中文界面使用清晰的无衬线字形，避免“游”等复杂笔画在幼圆字形中粘连。 */
body.world-teacher,body.world-teacher button,body.world-teacher input,body.world-teacher a,body.world-teacher .world-overview h1{font-family:"Microsoft YaHei UI","Microsoft YaHei","PingFang SC","Noto Sans SC",Arial,sans-serif}
.world-sidebar button small{font-size:16px;font-weight:800;letter-spacing:0;line-height:1.55;color:#1e293b;-webkit-font-smoothing:antialiased}
.world-sidebar button.active small{color:#4d3bc8}
.world-teacher .chapter-title{font-weight:800}
/* 桌面端让课程目录与正文分别承接滚轮；小屏继续自然纵向滚动。 */
@media(min-width:951px){
  body.world-teacher{height:100vh;overflow:hidden}
  body.world-teacher .header-nav{height:70px}
  body.world-teacher .campaign-container{height:calc(100vh - 70px);max-height:calc(100vh - 70px);margin:0 auto;padding:18px 0;overflow:hidden}
  body.world-teacher .world-sidebar{position:static;align-self:stretch;max-height:none;min-height:0;overflow-y:auto;overscroll-behavior:contain}
  body.world-teacher .world-main{height:100%;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 8px 18px 0}
}
@media(min-width:951px) and (max-width:1050px){
  body.world-teacher .header-nav{height:92px}
  body.world-teacher .campaign-container{height:calc(100vh - 92px);max-height:calc(100vh - 92px)}
}
