/* V18 — student tabs, gold Credit badges and conditional video play */
.credit-badge{background:linear-gradient(135deg,#ffe477,#f5b92f)!important;color:#402c00!important;border:1px solid #fff0a8!important;box-shadow:0 7px 18px #5a360052!important;text-shadow:none!important;font-weight:800!important}.video-play{position:absolute;inset:50% auto auto 50%;z-index:4;transform:translate(-50%,-50%);width:64px;height:64px;border-radius:50%;display:grid;place-items:center;background:#071a14a8;border:1px solid #ffffffa8;box-shadow:0 10px 32px #0007;backdrop-filter:blur(7px);transition:transform .24s,background .24s,box-shadow .24s;pointer-events:none}.video-play:before{content:"";position:absolute;inset:-8px;border:1px solid #ffffff42;border-radius:50%}.video-play i{font-style:normal;color:#fff;font-size:23px;margin-left:4px}.thumb:hover .video-play{transform:translate(-50%,-50%) scale(1.1);background:#173d30e8;box-shadow:0 12px 36px #0009}.thumb>.play{display:none!important}

.student-shell{transition:max-width .25s,padding .25s}.student-tabs{position:sticky;top:10px;z-index:30;display:flex;gap:6px;margin:24px 0;padding:7px;border:1px solid #dce5dd;border-radius:18px;background:#fffffff0;box-shadow:0 12px 35px #17362912;backdrop-filter:blur(16px);overflow-x:auto}.student-tabs button{flex:1;min-width:max-content;border:0;border-radius:12px;background:transparent;color:#68756f;padding:12px 14px;font-size:12px;font-weight:700;white-space:nowrap}.student-tabs button span{font-size:16px;margin-right:7px}.student-tabs button:hover{background:#f0f5ed;color:var(--ink)}.student-tabs button.active{background:var(--ink);color:#fff;box-shadow:0 7px 18px #142b2430}.student-tabs button.active span{color:var(--green)}.student-tab-panel{animation:studentTabIn .24s ease}.student-tab-panel[hidden]{display:none!important}@keyframes studentTabIn{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}.student-tab-panel>.student-panel:first-child{margin-top:0}.student-account-help>p{color:var(--muted);line-height:1.8}.student-page #student-player>.close{position:sticky;float:right;top:8px;right:8px;z-index:50;cursor:pointer;pointer-events:auto}.student-page #student-player>.close:hover{background:var(--green);transform:scale(1.05)}.student-page #student-player{padding-top:18px}

body.student-page[data-content-width="full"] .student-shell{max-width:none;width:100%}body.student-page[data-content-width="custom"] .student-shell{max-width:var(--custom-max-width);width:100%}body.student-page[data-content-width="boxed"] .student-shell{max-width:1180px}
@media(max-width:760px){.video-play{width:54px;height:54px}.student-tabs{top:6px;margin:16px 0;border-radius:14px}.student-tabs button{padding:11px 12px}.student-tabs button span{display:block;margin:0 0 2px}.student-page[data-content-width] .student-shell{padding-left:var(--mobile-gutter,14px);padding-right:var(--mobile-gutter,14px)}.student-page #student-player>.close{top:4px;right:4px}}
@media(prefers-reduced-motion:reduce){.student-tab-panel,.video-play,.student-shell{animation:none;transition:none}}
