/* Workbook 15: web controls, creator layout and account interactions. */
@media(min-width:768px){
 #md-desktop-bar{gap:18px;padding-inline:18px}
 #md-desktop-bar .md-desktop-search{width:min(600px,calc(100vw - 560px))}
 #md-desktop-bar .md-top-actions{flex:none;margin-left:auto;gap:10px;height:100%}
 #md-desktop-bar .md-top-tool{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:34px;height:46px;padding:0;background:none;border:0;color:#a9aab2;text-decoration:none}
 #md-desktop-bar .md-top-tool:hover{color:#fff}#md-desktop-bar .md-top-tool img{display:block;width:19px;height:19px;object-fit:contain;filter:brightness(0) invert(1);opacity:.75}#md-desktop-bar .md-top-tool:hover img{opacity:1}
 #md-desktop-bar .md-top-tool svg{display:block;width:19px;height:19px}
 #md-desktop-bar .md-top-tool span{display:block;font:10px/1.2 sans-serif;white-space:nowrap}
 #md-desktop-bar .md-top-login{display:flex;align-items:center;justify-content:center;gap:7px;min-width:42px;max-width:120px;height:36px;padding:5px 9px;font-size:13px;white-space:nowrap}
 #md-desktop-bar .md-top-login span{display:block;overflow:hidden;text-overflow:ellipsis;font:12px/1.5 sans-serif}
 #md-desktop-bar .md-top-avatar{width:25px;height:25px;object-fit:cover;border-radius:50%;flex:none}
 .md-profile-content>.md-tools{display:none!important}
}
@media(min-width:768px) and (max-width:1100px){#md-desktop-bar{gap:10px;padding-inline:12px}#md-desktop-bar .md-desktop-search{width:min(600px,calc(100vw - 408px))}#md-desktop-bar .md-top-actions{gap:4px}#md-desktop-bar .md-top-login{width:42px;padding:5px}#md-desktop-bar .md-top-login .md-top-avatar+span{display:none}}
.md-desktop-search[hidden]{display:none!important}
.md-forgot-password{display:block;margin:16px auto;background:none;border:0;color:#c0c6d4;text-decoration:underline;cursor:pointer}
.md-profile-stats>button[data-profile-stat]{border:0;padding:0;background:none;color:inherit;font:inherit;cursor:pointer}
.md-profile-tabs [data-profile-tab="2"]{display:none!important}.md-profile-history-heading{display:block;font-size:15px;margin:8px 0 15px}
.md-profile-card .md-card-title{display:block;white-space:normal;overflow:visible;line-height:1.6}.md-card-expand{display:none!important}
.md-profile-top{background-position:center;background-size:cover}
.md-feed-author .md-author-avatar{display:block;width:38px!important;height:38px!important;border:0!important;padding:0!important;background:transparent!important;border-radius:50%!important;overflow:hidden;clip-path:circle(50%)}
.md-feed-author .md-author-avatar img{width:100%!important;height:100%!important;margin:0;object-fit:cover;display:block;border-radius:50%}
.md-feed-actions .md-feed-author{position:relative;width:50px;max-width:50px;align-items:center;gap:0;padding:0 0 10px}
.md-feed-author strong{display:none!important}
.md-feed-author button[data-feature=follow]{position:absolute;left:50%;bottom:0;transform:translateX(-50%);display:flex!important;align-items:center;justify-content:center;width:20px;height:20px;min-width:20px!important;box-sizing:border-box;border:0!important;border-radius:50%!important;background:#ff3260!important;padding:0!important;font-size:0!important;line-height:1}
.md-feed-author button[data-feature=follow]:before,.md-feed-author button[data-feature=follow]:after{content:'';display:block;position:absolute;left:50%;top:50%;width:10px;height:2px;background:#fff;border-radius:1px;transform:translate(-50%,-50%);pointer-events:none}.md-feed-author button[data-feature=follow]:after{width:2px;height:10px}
.md-feed-author button[data-feature=follow][hidden]{display:none!important}
.md-feed-actions{width:50px;right:12px!important;gap:14px!important;align-items:center!important}
.md-feed-actions>button{box-sizing:border-box;width:50px!important;min-width:50px!important;padding:0!important;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px}
.md-feed-actions b{display:flex;align-items:center;justify-content:center}.md-feed-actions svg{width:28px!important;height:28px!important;margin:0!important}.md-feed-actions span{font:12px/18px sans-serif!important}
.md-player-seek{touch-action:pan-x;min-height:22px;height:22px!important;background:transparent;cursor:pointer}
.md-mobile-feed-meta>[data-feature=report]{box-sizing:border-box;width:50px;min-width:50px;justify-self:end}
.md-feed-actions [data-feature=feed-mute]{order:5}
.md-feed-actions [data-feature=like] svg,.md-feed-actions [data-feature=collect] svg,.md-feed-actions [data-feature=share] svg,#md-native-actions [data-native-action=like] svg,#md-native-actions [data-native-action=collect] svg,#md-native-actions [data-native-action=share] svg{fill:currentColor}
.md-author-works{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.md-author-work{min-width:0;border:0;padding:0;background:none;color:inherit;text-align:left;font-size:12px}.md-author-work img{display:block;width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:8px}.md-author-work span{display:block;margin-top:6px;line-height:1.5}.md-author-more{display:block;margin:15px auto;padding:8px 18px}.md-author-more[hidden]{display:none}
#md-native-actions{position:fixed;right:12px;bottom:130px;width:56px;display:flex;flex-direction:column;align-items:center;gap:16px;z-index:10016;color:#fff;transition:opacity .18s,visibility .18s}
#md-native-actions[hidden],#md-native-toolbar[hidden]{display:none!important}
#md-native-actions button{width:56px;min-height:49px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;background:none;border:0;padding:0;color:inherit;cursor:pointer;text-shadow:0 1px 4px #000}
#md-native-actions svg{width:28px;height:28px;flex-shrink:0}#md-native-actions span{font:12px/18px sans-serif}#md-native-actions [aria-pressed=true]{color:#ff607e}#md-native-actions [aria-pressed=true] svg{fill:currentColor}/* Short landscape viewports must fit all five actions above the playback bar. */@media (orientation:landscape) and (max-height:500px){ #md-native-actions{bottom:calc(88px + env(safe-area-inset-bottom))!important;gap:6px} #md-native-actions button{height:40px;min-height:40px;gap:3px} #md-native-actions svg{width:22px;height:22px} #md-native-actions span{font-size:11px;line-height:13px}}
body.md-native-player .video-player .right-container,body.md-native-player .video-footer{display:none!important}
body.md-native-player .control-box uni-image{display:none!important}
#md-native-toolbar{position:fixed;bottom:12px;left:12px;right:12px;z-index:10016;display:flex;align-items:center;gap:10px;background:#111b;color:#fff;border-radius:8px;padding:8px 12px;box-sizing:border-box;transition:opacity .18s,visibility .18s}
#md-native-toolbar button{background:none;border:0;color:inherit;padding:4px;min-width:28px;cursor:pointer}#md-native-toolbar input{flex:1;width:20px;min-width:30px;min-height:26px;accent-color:#ddd;touch-action:pan-x}#md-native-toolbar select{background:#222;color:#fff;border:0;border-radius:4px;padding:4px}#md-native-toolbar .md-native-time{font:11px/1.5 sans-serif;white-space:nowrap;font-variant-numeric:tabular-nums}
.md-watch-hidden #md-native-toolbar,.md-watch-hidden #md-native-actions{opacity:0!important;visibility:hidden!important;pointer-events:none!important}
#md-account-layer{position:fixed;inset:0;background:#000b;z-index:24000;display:flex;align-items:center;justify-content:center;padding:16px;box-sizing:border-box}#md-account-layer[hidden]{display:none}#md-account-layer>section{position:relative;box-sizing:border-box;width:min(500px,100%);max-height:90dvh;overflow:auto;border-radius:16px;padding:25px;background:#202127;color:#eee}#md-account-layer h2{font-size:20px;margin:0 0 20px}#md-account-layer [data-account-close]{float:right;background:none;color:inherit;border:0;font-size:25px;cursor:pointer}#md-account-layer form{display:grid;gap:12px}#md-account-layer label{display:grid;gap:6px;font:14px/1.6 sans-serif}#md-account-layer input,#md-account-layer textarea,#md-account-layer select{box-sizing:border-box;width:100%;border:1px solid #ffffff25;border-radius:6px;background:#15161a;color:#eee;padding:10px;font:14px/1.6 sans-serif}#md-account-layer p,#md-account-layer small{font:13px/1.7 sans-serif}#md-account-layer [role=alert]{color:#ffb2be;margin:0}#md-account-layer form>button{border:0;padding:10px;border-radius:8px;cursor:pointer}#md-account-layer .md-primary{background:#c1d8d2;color:#18332d}#md-account-layer .md-account-row{display:flex;align-items:center;width:100%;gap:12px;padding:12px 0;border:0;border-bottom:1px solid #ffffff15;background:none;color:inherit;text-align:left;cursor:pointer}#md-account-layer .md-account-row img{width:48px;height:48px;border-radius:50%;object-fit:cover}#md-account-layer .md-account-row small{display:block;color:#aaa}.md-account-more{display:block;margin:20px auto}.md-account-more[hidden]{display:none}
@media(min-width:768px){
 #md-shell[data-feature=creators]{display:flex;flex-direction:column;padding-bottom:15px}
 .md-mobile-feed-header{display:flex;align-items:center;justify-content:space-between;position:relative;flex:none;min-height:44px;padding:0 80px 10px 0;color:#eee}
 .md-mobile-feed-header nav{display:flex;gap:25px}.md-mobile-feed-header nav button{border:0;background:none;color:#999;font-size:15px;cursor:pointer}.md-mobile-feed-header nav button.active{color:#fff;font-weight:600}.md-mobile-feed-brand{border:0;background:none;color:#eee;display:flex;align-items:center;gap:5px;cursor:pointer}.md-mobile-feed-brand img{width:25px;height:25px}.md-mobile-feed-brand strong{font-size:11px}
 #md-shell[data-feature=creators]>.md-feature-tabs{display:none!important}#md-shell[data-feature=creators]>.md-feature-tabs.is-mobile-open{display:flex!important;position:absolute;top:50px;z-index:20;background:#222;border-radius:9px;padding:12px}
 .md-feed-workspace{display:flex;flex-direction:column;gap:0}.md-feed-stage{width:100%;height:auto!important;flex:1;min-height:220px}.md-feed-video{position:absolute;inset:0;width:100%;height:100%}.md-feed-workspace>.md-mobile-feed-meta{display:grid;grid-template-columns:minmax(0,1fr) 50px;gap:12px;align-items:center;padding:10px 12px;color:#eee;flex:none}.md-mobile-feed-meta .md-feed-caption{position:static!important;max-width:none;text-shadow:none}.md-feed-byline{display:block;font-size:13px}.md-mobile-feed-meta h2{font-size:15px;margin:6px 0}.md-mobile-feed-meta .md-feed-caption p{display:none}.md-mobile-feed-meta>[data-feature=report]{display:flex;flex-direction:column;align-items:center;gap:4px;background:none;border:0;color:#eee;font-size:12px}.md-mobile-feed-meta>[data-feature=report] svg{width:28px;height:28px}.md-feed-workspace>.md-player-toolbar{position:static;flex:none;height:40px;width:100%;padding:0 12px;box-sizing:border-box}.md-player-toolbar [data-feature=feed-mute]{display:flex;align-items:center;padding:0!important;width:22px}.md-player-toolbar [data-feature=feed-mute] svg{width:18px!important;height:18px!important}.md-player-toolbar [data-feature=feed-mute] span{display:none}
 .md-feed-actions [data-feature=like]{order:1}.md-feed-actions [data-feature=collect]{order:2}.md-feed-actions [data-feature=comments]{order:3}.md-feed-actions [data-feature=share]{order:4}
 body.md-app-ui #md-native-toolbar{left:calc(var(--md-sidebar) + 12px);bottom:12px}#md-native-actions{right:24px;bottom:95px}
}
@media(max-width:767px){#md-native-toolbar{gap:6px;bottom:calc(8px + env(safe-area-inset-bottom));padding:6px 8px}body.md-native-player.md-app-ui #md-native-toolbar{bottom:calc(83px + env(safe-area-inset-bottom))}body.md-native-player.md-app-ui #md-native-details{bottom:150px!important}#md-native-toolbar select{max-width:58px;font-size:11px}#md-native-actions{bottom:140px}.md-mobile-feed-meta{padding-right:12px}.md-feed-actions{right:12px!important}.md-feed-stage:fullscreen .md-feed-video{height:100%}}

.md-preview-controls [data-preview-action=mute] svg{display:block;width:20px;height:20px}#md-shell .md-lead-player .md-preview-controls.md-progress-managed > [data-preview-action=mute]{display:grid!important;place-items:center;position:absolute;right:0;bottom:32px;width:34px;height:34px;padding:7px;box-sizing:border-box;border:1px solid #ffffff24;border-radius:50%;background:#1118;color:#fff;pointer-events:auto;}
.md-feed-actions [data-feature=feed-mute] span,#md-native-actions [data-native-action=mute] span{display:none}
