/* Geometry and colors matched to the user's 1920x1080 Edge theater reference. */
.app-header, body.streaming-active .app-header { height: 70px; padding: 0 30px; gap: 26px; }
.app-header > .mt-icon-button { width: 30px; padding: 0; }
.app-header h1 { width: 138px; position: relative; flex-shrink: 0; }
.app-header h1 img { width: 116px; height: 25px; }
.app-header h1 sup { position: absolute; top: -7px; right: 0; font-size: 12px; color: #aaa; }
.mt-search { width: min(40vw, 750px); height: 50px; margin-left: auto; margin-right: 0; }
.mt-search input { font-size: 20px; padding-left: 20px; border-radius: 28px 0 0 28px; }
.mt-search button { width: 80px; border-radius: 0 28px 28px 0; }
.mt-search button svg { width: 28px; height: 28px; }
.mt-mic { background: #272727; width: 50px; height: 50px; margin-left: -14px; margin-right: auto; }
.mt-signin { border: 1px solid #3f3f3f; border-radius: 28px; height: 50px; background: transparent; color: #3ea6ff; font-size: 18px; padding: 0 18px; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.mt-signin svg { width: 28px; height: 28px; }
.app-header .header-actions, .app-header #instance-menu { display: none !important; }
#mt-navigation { top: 70px; }
#mt-idle-stage, body.streaming-active .stream-overlay { height: calc(100vh - 210px) !important; min-height: 360px; max-height: calc(100vw * .5625); }
#mt-idle-stage { margin-right: 0; }
.mt-idle-center .mt-connect { width: 76px; height: 54px; border-radius: 12px; background: #f03; color: white; padding: 8px; }
.mt-idle-center .mt-connect svg { width: 40px; height: 40px; }
.mt-idle-controls { height: 78px; left: 15px; right: 15px; border-top: 5px solid #f03; gap: 28px; padding: 0 12px; color: #f1f1f1; }
.mt-idle-controls svg { width: 30px; height: 30px; }
.mt-idle-live { font-size: 16px; }
.mt-chapter { font-size: 16px; font-weight: 600; margin-left: 16px; }
#mt-watch-meta { max-width: none; width: calc(100% - 56px); margin: 16px 28px 24px; grid-template-columns: minmax(0, 2.12fr) minmax(330px, 1fr); gap: 20px; }
#mt-watch-title { font-size: 24px; font-weight: 700; margin-bottom: 12px; line-height: 1.25; }
.mt-channel-row { gap: 16px; height: 56px; margin-bottom: 16px; }
.mt-avatar { width: 50px; height: 50px; object-fit: cover; }
.mt-channel-copy { gap: 4px; }
.mt-channel-copy strong { font-size: 20px; display: flex; align-items: center; gap: 5px; }
.mt-channel-copy > span { font-size: 14px; }
.mt-verified { display: inline-grid; place-items: center; background: #aaa; color: #161616; width: 13px; height: 13px; border-radius: 50%; font: bold 10px Arial; }
.mt-subscribe { font-size: 16px; height: 50px; padding: 0 22px; margin-left: 18px; border-radius: 28px; }
.mt-subscribed { background: #272727; color: #f1f1f1; }
.mt-reactions { display: flex; align-items: center; height: 50px; border-radius: 28px; background: #272727; }
.mt-reactions button { display: flex; align-items: center; gap: 10px; color: #f1f1f1; border: 0; background: transparent; padding: 0 18px; height: 30px; font-size: 18px; font-weight: 600; }
.mt-reactions button + button { border-left: 1px solid #555; padding-left: 16px; }
.mt-reactions svg { width: 28px; height: 28px; }
.mt-round { width: 50px; height: 50px; border-radius: 50%; background: #272727; border: 1px solid #363636; color: white; display: inline-grid; place-items: center; padding: 10px; font-size: 20px; flex-shrink: 0; }
.mt-round svg { width: 29px; height: 29px; }
.mt-selected { color: #3ea6ff !important; }
.mt-description { font-size: 16px; line-height: 1.5; padding: 16px; }
.mt-up-next { display: flex; flex-direction: column; gap: 12px; padding: 14px 0 0; }
.mt-chips { display: flex; gap: 8px; margin: 0 0 5px; }
.mt-chips span { padding: 9px 12px; font-size: 14px; background: #272727; border-radius: 8px; }
.mt-chips span:first-child { color: #111; background: #f1f1f1; }
.mt-recommendation { display: flex; width: 100%; gap: 14px; background: transparent; color: #f1f1f1; border: 0; text-align: left; padding: 0; }
.mt-thumb { width: 56%; max-width: 360px; aspect-ratio: 16/9; position: relative; flex-shrink: 0; }
.mt-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.mt-thumb > span { position: absolute; bottom: 5px; right: 6px; background: #000c; border-radius: 4px; padding: 2px 4px; font-size: 13px; }
.mt-rec-copy { display: flex; flex-direction: column; gap: 4px; padding-top: 2px; }
.mt-rec-copy strong { font-size: 17px; line-height: 1.4; margin-bottom: 2px; }
.mt-rec-copy > span { color: #aaa; font-size: 14px; }
.mt-rec-more { font-size: 26px; margin-left: auto; }
.mt-comments { margin-top: 26px; }
.mt-comments h3 { font-size: 20px; text-transform: none; letter-spacing: 0; }
.mt-comments h3 span { font-size: 15px; margin-left: 26px; }
.mt-comment-input { display: flex; gap: 16px; align-items: center; margin: 20px 0; }
.mt-comment-input input { flex: 1; min-width: 0; border: 0; border-bottom: 1px solid #555; color: #f1f1f1; background: transparent; padding: 10px 0; font-size: 14px; }
.mt-comment-input button { border: 0; color: #111; background: #3ea6ff; border-radius: 24px; padding: 12px 16px; }
.mt-notes { font-size: 15px; }
#mt-notice { position: fixed; bottom: 24px; left: 24px; z-index: 10000; background: #f1f1f1; color: #111; padding: 16px 24px; border-radius: 5px; box-shadow: 0 2px 10px #0007; font-size: 14px; }
.stream-overlay .stream-header { position: absolute; bottom: 0; left: 0; right: 0; height: 78px; padding: 0 20px; z-index: 50; background: linear-gradient(transparent, #000c); }
.stream-overlay .stream-canvas-area { height: 100%; flex: 1; }
.mt-player-controls { height: 78px; gap: 18px; }
.mt-player-controls .mt-icon-button { width: 40px; height: 40px; }
.mt-player-controls .mt-icon-button svg { width: 30px; height: 30px; }
.mt-live-line { height: 5px; }
.mt-live-label { font-size: 16px; }
.mt-live-label::before { display: none; }
.stream-quit-btn { padding: 8px !important; width: 40px; height: 40px; background: transparent !important; }
.stream-quit-btn svg { width: 28px; height: 28px; }
body.mt-standard-player .stream-overlay { width: 72%; margin: 24px auto 0; max-height: 65vh; }
#main-content { max-width: none; width: calc(100% - 56px); }
body.streaming-active .stream-overlay:fullscreen, :fullscreen .stream-overlay, body.streaming-active .stream-overlay.stream-css-fs { height: 100vh !important; max-height: none; width: 100%; margin: 0; }
@media (min-width: 1500px) { .mt-chips { display: none; } }
@media (max-width: 1100px) {
    .app-header, body.streaming-active .app-header { padding: 0 18px; gap: 16px; height: 56px; }
    .app-header h1 { width: 116px; }.app-header h1 img { width: 93px; height: 20px; }
    .mt-search { height: 40px; }.mt-search input { font-size: 16px; }.mt-mic { width: 40px; height: 40px; }
    .mt-signin { height: 40px; font-size: 14px; padding: 0 12px; }
    #mt-watch-meta { grid-template-columns: minmax(0,1fr) 320px; margin: 16px 24px; width: calc(100% - 48px); }
    .mt-channel-row { gap: 10px; flex-wrap: wrap; height: auto; }.mt-reactions { margin-left: auto; }
    .mt-channel-copy strong { font-size: 16px; }.mt-subscribe { margin-left: 0; height: 40px; }
    .mt-round, .mt-avatar { width: 40px; height: 40px; }.mt-reactions { height: 40px; }
    .mt-rec-copy strong { font-size: 14px; }.mt-rec-copy > span { font-size: 12px; }
}
@media (max-width: 800px) {
    #mt-watch-meta { grid-template-columns: 1fr; margin: 14px; width: calc(100% - 28px); }
    .mt-search { display: none; }.mt-mic { margin-left: auto; margin-right: 0; }
    .mt-up-next { display: flex; }.mt-thumb { width: 42%; }.mt-rec-copy strong { font-size: 16px; }
    #mt-idle-stage, body.streaming-active .stream-overlay { height: 56vw !important; min-height: 240px; max-height: none; }
    .mt-share { display: inline-grid; }.mt-channel-copy > span { font-size: 12px; }
    #mt-watch-title { font-size: 20px; }.mt-description { font-size: 14px; }
    .mt-chapter { display: none; }.mt-idle-controls { gap: 12px; height: 48px; }
    .mt-idle-controls svg { width: 20px; height: 20px; }
    .mt-player-controls, .stream-overlay .stream-header { height: 48px; }
    .mt-player-controls { gap: 5px; }.mt-live-label { font-size: 12px; }
}
.mt-preview-screen { text-align:center; color:#aaa; padding:32px; } .mt-preview-screen span { font-size:14px; letter-spacing:3px; text-transform:uppercase; } .mt-preview-screen h2 { font:500 28px Arial; color:#eee; margin:20px 0 12px; } .mt-preview-screen p { font-size:14px; }
#app { height: auto !important; min-height: 100vh; overflow: visible; } .app-header, #mt-idle-stage, .stream-overlay, #mt-watch-meta { flex-shrink: 0 !important; } .mt-preview-screen h2 { text-transform: none; letter-spacing: 0; }
.discord-fab, .app-footer { display: none !important; }
