:root{--nav:#032b62;--nav2:#001f4d;--blue:#0d8cff;--line:#1373cb;--ink:#071b39;--bg:#eef7fe}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:62px}body{margin:0;background:var(--bg);font:14px Arial,Helvetica,sans-serif;color:var(--ink);overflow-x:hidden}.site-nav{height:62px;background:linear-gradient(#06366f,#012557);color:#fff;border-bottom:1px solid #1286ef;position:sticky;top:0;z-index:50}.nav-inner{height:100%;padding:0 4vw;display:flex;align-items:center}.nav-brand{height:61px;width:210px;overflow:hidden;display:block;flex:0 0 210px}.nav-brand img{width:100%;height:100%;object-fit:cover;object-position:left center}.site-nav nav{display:flex;height:100%;flex:1}.site-nav nav a{color:#fff;text-decoration:none;display:flex;align-items:center;gap:8px;padding:0 20px;font-size:12px}.site-nav nav a.active,.site-nav nav a:hover{background:#0d85f6}.social-top{display:flex;gap:16px;font-size:18px}.social-top a{color:#fff;text-decoration:none}.mobile-menu{display:none}.hero-banner{width:100%;aspect-ratio:1672/250;background:url('/assets/banner-v6.jpg') center/cover no-repeat}.dashboard{width:calc(100% - 44px);margin:10px 22px 14px;display:grid;grid-template-columns:1.05fr 1.05fr .9fr;grid-template-areas:'stream news map' 'tours youtube guest';gap:10px}.panel{background:#fff;border:1px solid var(--line);border-radius:7px;overflow:hidden;box-shadow:0 2px 8px #044b8d24}.stream-panel{grid-area:stream}.news-panel{grid-area:news}.map-panel{grid-area:map}.tours-panel{grid-area:tours}.youtube-panel{grid-area:youtube}.guest-panel{grid-area:guest}.panel-title{height:34px;background:linear-gradient(90deg,#07346f,#06305f);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 12px}.panel-title h2{font-size:14px;margin:0}.panel-title a,.text-btn,.guest-open{background:none;border:0;color:#10a5ff;font-size:10px;cursor:pointer}.guest-open{background:#0b8af5;color:#fff;padding:6px 10px;border-radius:4px}.live-dot{display:inline-block;width:12px;height:12px;border-radius:50%;background:red;margin-right:8px}.badge{font-size:9px;background:#667386;color:#fff;padding:4px 10px;border-radius:4px}.badge.purple{background:#7b20e7}.badge.green{background:#31b315}.twitch-frame{height:330px;background:#18181b}.twitch-frame>div,.twitch-frame iframe{width:100%!important;height:100%!important;border:0}.stream-bottom{height:48px;display:flex;align-items:center;justify-content:space-between;padding:6px 12px}.twitch-copy{display:flex;gap:8px;align-items:center}.twitch-copy b{display:block;color:#0d7fe2}.twitch-copy small{display:block;font-size:9px}.twitch-icon{color:#7a22eb;font-size:25px}.primary-btn,.map-follow{background:#0c86f4;color:#fff;border:0;border-radius:4px;text-decoration:none;font-weight:bold;padding:10px 18px;font-size:10px;cursor:pointer}.news-list{height:378px}.news-row{appearance:none;width:100%;height:126px;border:0;border-bottom:1px solid #d8e6f2;background:white;display:grid;grid-template-columns:65px 1fr 120px;gap:14px;align-items:center;padding:9px 14px;text-align:left;cursor:pointer}.news-row:hover{background:#f4faff}.news-row time{background:#0a88ff;color:#fff;border-radius:6px;height:58px;display:grid;place-items:center;align-content:center}.news-row time b{font-size:20px}.news-row time span{font-size:10px}.news-copy h3{font-size:15px;margin:0 0 5px}.news-copy p{font-size:11px;margin:0;line-height:1.35}.news-thumb{width:120px;height:68px;object-fit:cover;border-radius:4px}.placeholder{background:linear-gradient(#69b6df 0 36%,#0c2633 36% 64%,#f2a344 64%)}.map-panel #mapCanvas{height:238px}.map-stats{height:56px;background:#07366d;color:#fff;display:grid;grid-template-columns:repeat(3,1fr)}.map-stats div{padding:8px 12px;border-right:1px solid #1a5b92;display:grid;grid-template-columns:24px 1fr;grid-template-rows:1fr 1fr}.map-stats span{grid-row:1/3;font-size:18px}.map-stats small{font-size:8px}.map-stats b{font-size:11px}.map-follow{display:block;width:calc(100% - 16px);margin:8px;height:37px}.lower-panel{min-height:255px}.tour-grid,.playlist-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:9px}.tour-card,.playlist-card{color:inherit;text-decoration:none;border:1px solid #dce7f0;border-radius:4px;overflow:hidden;background:#fff}.tour-image{display:block;width:100%;height:125px;object-fit:cover}.tour-card h3,.playlist-card h3{font-size:11px;margin:8px 8px 4px}.tour-card time,.playlist-card small{font-size:9px;color:#42617c;margin:0 8px;display:block}.chips{padding:6px 8px}.chips span{background:#d9edff;font-size:8px;padding:5px 7px;border-radius:4px}.playlist-grid{grid-template-columns:repeat(4,1fr)}.playlist-image{height:125px;position:relative;background:#16394c}.playlist-image img{width:100%;height:100%;object-fit:cover}.playlist-image span{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:34px;height:34px;border-radius:50%;background:#000a;color:#fff;display:grid;place-items:center;font-size:16px}.guest-list{padding:3px 10px}.guest-list article{height:59px;display:flex;align-items:center;gap:9px;border-bottom:1px solid #d9e4ed}.avatar{width:31px;height:31px;border-radius:50%;background:#0c8df4;color:#fff;display:grid;place-items:center;font-weight:bold}.guest-main{flex:1}.guest-main>div{display:flex;gap:12px;align-items:center}.guest-main b{font-size:10px}.guest-main time{font-size:8px;color:#7790a6}.guest-main p{font-size:9px;margin:3px 0}.guest-all{width:100%;border:0;background:#fff;color:#0789e8;font-weight:bold;font-size:9px;padding:8px;cursor:pointer}.empty-state{padding:24px;color:#6d879c;font-size:11px}.yt-empty{grid-column:1/-1}.modal{position:fixed;inset:0;background:#00172fc9;display:none;align-items:center;justify-content:center;padding:20px;z-index:100}.modal.open{display:flex}.dialog{width:min(520px,100%);max-height:85vh;overflow:auto;background:#fff;border-radius:8px;border:1px solid #2588df;padding:24px;position:relative;box-shadow:0 20px 60px #0007}.dialog.wide{width:min(850px,100%)}.modal-close{position:absolute;right:12px;top:10px;border:0;background:none;font-size:28px;cursor:pointer}.dialog label{display:block;font-weight:bold;margin:12px 0 5px}.dialog input,.dialog textarea{width:100%;padding:10px;border:1px solid #bad7eb}.modal-list article,.news-list-link{display:block;width:100%;text-align:left;padding:12px 0;border:0;border-bottom:1px solid #dce8f1;background:#fff}.modal-list time{font-size:10px;color:#789}.modal-list p{margin:5px 0}.news-list-link b,.news-list-link span{display:block}.news-list-link span{font-size:11px;color:#557087;margin-top:4px}.modal-news-img{width:100%;max-height:270px;object-fit:cover;border-radius:5px;margin-bottom:12px}.news-body{white-space:pre-wrap;line-height:1.55}.success{background:#dff7e6;color:#126a2f;padding:10px}footer{height:43px;background:#052b5f;color:#fff;display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;padding:0 3vw;font-size:10px}.footer-social{text-align:center;font-size:16px}footer>div:last-child{text-align:right}footer a{color:#fff;text-decoration:none}footer span{margin:0 8px}@media(min-width:1900px){.site-nav{height:65px}.nav-inner{padding:0 3vw}.nav-brand{width:230px;flex-basis:230px}.site-nav nav a{font-size:13px;padding:0 24px}.dashboard{width:calc(100% - 58px);margin:10px 29px}.twitch-frame{height:365px}.news-list{height:413px}.news-row{height:137px}.map-panel #mapCanvas{height:274px}.lower-panel{min-height:278px}.tour-image,.playlist-image{height:143px}}@media(max-width:1200px){.social-top{display:none}.site-nav nav a{padding:0 10px}.dashboard{grid-template-columns:1fr 1fr;grid-template-areas:'stream news' 'map map' 'tours youtube' 'guest guest'}}@media(max-width:780px){.mobile-menu{display:block;margin-left:auto;background:#0d85f6;color:#fff;border:0;padding:9px}.site-nav nav{display:none;position:absolute;top:62px;left:0;right:0;background:#032b62;height:auto;grid-template-columns:1fr 1fr}.site-nav nav.open{display:grid}.nav-brand{width:170px;flex-basis:170px}.hero-banner{aspect-ratio:1672/250}.dashboard{width:calc(100% - 12px);margin:6px;grid-template-columns:1fr;grid-template-areas:'stream' 'news' 'map' 'tours' 'youtube' 'guest'}.playlist-grid{grid-template-columns:repeat(2,1fr)}footer{height:auto;grid-template-columns:1fr;text-align:center;gap:7px;padding:12px}footer>div:last-child{text-align:center}}

/* V7 fixes */
.brand-css{display:flex!important;align-items:center;gap:10px;background:transparent!important;padding:0!important;color:#fff;text-decoration:none}.mt-mark{font:900 italic 38px/1 Arial,sans-serif;letter-spacing:-5px;color:#16a8ff;text-shadow:2px 2px 0 #001a40}.brand-words{display:flex;flex-direction:column;line-height:.88;font-size:16px;font-style:italic}.brand-words b{white-space:nowrap}.social-top a{width:22px;height:22px;display:grid;place-items:center}.social-top img{width:19px;height:19px;display:block;filter:brightness(0) invert(1)}
.map-placeholder{height:100%;min-height:238px;background:linear-gradient(135deg,#eaf5fd,#d5e9f7);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:28px;color:#315a78}.map-placeholder:before{content:'⌖';font-size:42px;color:#0c82df;margin-bottom:10px}.map-placeholder b{font-size:18px;color:#0b3965}.map-placeholder span{max-width:360px;font-size:11px;line-height:1.5;margin-top:7px}.tour-card{appearance:none;width:100%;padding:0;text-align:left;cursor:pointer;font:inherit}.tour-card:hover{transform:translateY(-2px);box-shadow:0 7px 18px #075d9c22}.modal{display:flex;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s ease,visibility .2s ease}.modal.open{opacity:1;visibility:visible;pointer-events:auto}.dialog{transform:translateY(18px) scale(.94);opacity:0;transition:transform .28s cubic-bezier(.2,.8,.2,1),opacity .22s ease}.modal.open .dialog{transform:translateY(0) scale(1);opacity:1}.modal-open{overflow:hidden}.tour-dialog{width:min(780px,100%)}.modal-tour-img{display:block;width:100%;max-height:390px;object-fit:cover;border-radius:6px;margin-bottom:15px}.tour-meta{display:flex;gap:14px;color:#5b7892;font-size:11px}.tour-body{white-space:pre-wrap;line-height:1.6;margin:10px 0 20px}.tour-youtube{display:inline-flex}.captcha-box{margin:14px 0}.toast{position:fixed;right:22px;bottom:22px;z-index:200;padding:13px 18px;border-radius:6px;color:#fff;background:#1679bd;box-shadow:0 10px 30px #001d3e55;transition:opacity .3s,transform .3s}.toast.success{background:#218b4a}.toast.error{background:#b74040}.toast.hide{opacity:0;transform:translateY(12px);pointer-events:none}
@media(min-width:1900px){.map-placeholder{min-height:274px}.mt-mark{font-size:42px}.brand-words{font-size:18px}}

/* V8: Twitch, navigation inlays, legal/contact and correct social icons */
.twitch-brand-icon{width:28px;height:28px;display:block}.twitch-slot,.twitch-slot iframe{width:100%;height:100%;border:0}.twitch-unavailable{height:100%;min-height:250px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px;background:#18181b;color:#fff;gap:10px}.twitch-unavailable img{width:46px;height:46px}.twitch-unavailable b{font-size:18px}.twitch-unavailable span{max-width:560px;font-size:11px;line-height:1.55;color:#c8c8d0}.twitch-unavailable a{background:#9147ff;color:#fff;text-decoration:none;font-weight:bold;padding:9px 14px;border-radius:4px}.twitch-unavailable.compact{min-height:180px}.feature-dialog{width:min(1500px,96vw);height:min(860px,92vh);max-height:92vh;padding:22px;overflow:auto}.feature-view{display:none}.feature-view.active{display:block}.feature-view>h2,.feature-head h2{font-size:27px;color:#07366d;margin:0 0 18px}.large-live-grid{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(300px,.8fr);gap:12px;height:min(720px,75vh)}.large-player,.large-chat{background:#18181b;border:1px solid #1b75bd;border-radius:6px;overflow:hidden}.large-player>.twitch-slot,.large-chat iframe{width:100%;height:100%;border:0}.feature-news-list{display:grid;grid-template-columns:1fr 1fr;gap:0 22px}.feature-tour-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.feature-tour-grid .tour-image{height:190px}#largeMapCanvas{height:min(680px,72vh);border:1px solid #1b75bd;border-radius:6px;overflow:hidden}.feature-head{display:flex;align-items:center;justify-content:space-between;gap:15px}.contact-form{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.contact-form label:nth-of-type(3),.contact-form label:nth-of-type(4),.contact-form .primary-btn{grid-column:1/-1}.contact-form .hp{position:absolute;left:-9999px}.legal-copy{line-height:1.65;color:#294a64}.footer-social{display:flex;align-items:center;justify-content:center;gap:20px}.footer-social a{display:grid;place-items:center}.footer-social img{width:19px;height:19px;filter:brightness(0) invert(1)}.footer-link{border:0;background:none;color:#fff;font:inherit;cursor:pointer;padding:0}.footer-link:hover{text-decoration:underline}.social-top img{filter:none}.social-top a:first-child img{filter:none}.social-top a:nth-child(2) img{filter:none}.social-top a:nth-child(3) img{filter:none}.social-top a:nth-child(4) img{filter:none}
@media(max-width:950px){.large-live-grid{grid-template-columns:1fr;height:auto}.large-player{height:52vw;min-height:320px}.large-chat{height:500px}.feature-news-list{grid-template-columns:1fr}.feature-tour-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.feature-dialog{width:98vw;height:94vh;padding:14px}.feature-tour-grid{grid-template-columns:1fr}.contact-form{grid-template-columns:1fr}.contact-form label,.contact-form label:nth-of-type(3),.contact-form label:nth-of-type(4),.contact-form .primary-btn{grid-column:1}.large-player{min-height:260px}.large-chat{height:420px}}


/* V9: modal stacking, Leaflet isolation and cleaner modal headers */
.modal{z-index:10000!important;isolation:isolate}
.modal .dialog{z-index:10001}
.leaflet-pane{z-index:1!important}.leaflet-top,.leaflet-bottom{z-index:10!important}.leaflet-control{z-index:10!important}
body.modal-open .dashboard .leaflet-container{pointer-events:none}
.dialog>h2,.feature-head{padding-right:54px}
.modal-close{z-index:4;right:16px;top:14px;width:36px;height:36px;display:grid;place-items:center;line-height:1;border-radius:5px;background:#f5f8fb;color:#0a2745;font-size:27px}
.modal-close:hover{background:#e4f2fc}
.feature-head{min-height:42px;align-items:flex-start}.feature-head .primary-btn{margin-right:2px;white-space:nowrap}
#largeMapCanvas .leaflet-container,#largeMapCanvas{position:relative;z-index:1}
@media(max-width:600px){.feature-head{display:grid;grid-template-columns:1fr;gap:8px;padding-right:48px}.feature-head .primary-btn{justify-self:start}.dialog>h2{padding-right:48px}}

/* V10: Stream expand control + in-site YouTube playlist viewer */
.stream-actions{display:flex;align-items:center;gap:7px}
.expand-btn{width:36px;height:36px;border:1px solid #087ee6;background:#fff;color:#087ee6;border-radius:4px;display:grid;place-items:center;font-size:22px;line-height:1;cursor:pointer;transition:.18s ease}
.expand-btn:hover{background:#eaf6ff;transform:translateY(-1px)}
.playlist-card{appearance:none;width:100%;padding:0;text-align:left;cursor:pointer;font:inherit}
.playlist-card:hover{transform:translateY(-2px);box-shadow:0 7px 18px #075d9c22}
.playlist-dialog{width:min(1180px,96vw);padding:22px}
.playlist-modal-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-right:46px;margin-bottom:14px}
.playlist-modal-head h2{margin:2px 0 0}
.playlist-kicker{font-size:10px;font-weight:800;letter-spacing:.09em;color:#0b86e8}
.youtube-embed-wrap{position:relative;width:100%;aspect-ratio:16/9;background:#000;border-radius:7px;overflow:hidden}
.youtube-embed-wrap iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
@media(max-width:700px){.playlist-modal-head{align-items:flex-start;flex-direction:column;padding-right:40px}.playlist-dialog{padding:14px}.stream-actions{gap:5px}.expand-btn{width:34px;height:34px}}

/* V11: labelled Twitch expand button + large YouTube playlist browser */
.expand-btn{width:auto;min-width:112px;height:36px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 12px;font-size:11px;font-weight:800;white-space:nowrap}
.expand-btn .expand-icon{font-size:19px;line-height:1}.expand-btn .expand-label{line-height:1}
.playlist-dialog-v11{width:min(1540px,97vw);height:min(900px,94vh);max-height:94vh;display:flex;flex-direction:column;overflow:hidden}
.playlist-dialog-v11 .playlist-modal-head{flex:0 0 auto}
.playlist-viewer{min-height:0;flex:1;display:grid;grid-template-columns:minmax(0,2.15fr) minmax(330px,.85fr);gap:14px}
.playlist-player-column{min-width:0;display:flex;flex-direction:column;gap:9px}
.playlist-player-column .youtube-embed-wrap{flex:1;min-height:420px;aspect-ratio:auto}
.playlist-current{min-height:38px;border:1px solid #d5e4ef;background:#f6fbff;color:#083766;border-radius:5px;padding:10px 12px;font-size:12px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.playlist-video-panel{min-height:0;border:1px solid #bfd9eb;border-radius:6px;background:#f7fbfe;overflow:hidden;display:flex;flex-direction:column}
.playlist-video-head{height:48px;flex:0 0 48px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 14px;background:#073d77;color:#fff;font-size:12px}
.playlist-video-head span{font-size:10px;color:#bfe4ff}
.playlist-video-list{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:6px;background:#fff}
.playlist-video-row{appearance:none;width:100%;display:grid;grid-template-columns:28px 120px minmax(0,1fr);align-items:center;gap:9px;padding:7px;border:0;border-bottom:1px solid #e0ebf3;background:#fff;text-align:left;cursor:pointer;color:#10283b}
.playlist-video-row:hover{background:#eef8ff}.playlist-video-row.active{background:#deeffd;box-shadow:inset 3px 0 0 #0d8cf5}
.playlist-video-row img{display:block;width:120px;aspect-ratio:16/9;object-fit:cover;border-radius:4px;background:#0b1d2b}
.playlist-index{font-size:10px;color:#71899a;text-align:center}.playlist-video-title{font-size:11px;line-height:1.35;font-weight:700;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.playlist-loading{padding:24px 14px;text-align:center;font-size:11px;color:#627d91}.playlist-error{color:#a33}
@media(max-width:1050px){.playlist-dialog-v11{height:94vh}.playlist-viewer{grid-template-columns:1fr;grid-template-rows:minmax(360px,1.1fr) minmax(220px,.7fr)}.playlist-player-column .youtube-embed-wrap{min-height:320px}.playlist-video-row{grid-template-columns:26px 105px minmax(0,1fr)}.playlist-video-row img{width:105px}}
@media(max-width:650px){.expand-btn{min-width:104px;padding:0 10px}.playlist-dialog-v11{width:98vw;height:96vh}.playlist-viewer{gap:8px}.playlist-player-column .youtube-embed-wrap{min-height:260px}.playlist-video-row{grid-template-columns:22px 88px minmax(0,1fr);padding:6px}.playlist-video-row img{width:88px}.playlist-modal-head .primary-btn{font-size:10px}}

/* V12: richer News presentation */
.feature-kicker{display:block;font-size:10px;font-weight:800;letter-spacing:.14em;color:#0c8fe8;margin-bottom:3px}.feature-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.feature-news-card{appearance:none;border:1px solid #cfe2ef;background:#fff;border-radius:9px;overflow:hidden;padding:0;text-align:left;cursor:pointer;box-shadow:0 4px 16px rgba(5,65,108,.07);transition:transform .18s ease,box-shadow .18s ease;color:#10283b}.feature-news-card:hover{transform:translateY(-3px);box-shadow:0 10px 26px rgba(5,65,108,.13)}.feature-news-card>img,.feature-news-placeholder{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;background:linear-gradient(135deg,#128fe1,#8dd9ff)}.feature-news-card>div{padding:14px}.feature-news-card time{font-size:10px;color:#6a8599}.feature-news-card h3{font-size:18px;line-height:1.2;margin:6px 0 7px;color:#07366d}.feature-news-card p{font-size:11px;line-height:1.5;color:#4e6b80;margin:0 0 12px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.feature-news-card span{font-size:10px;font-weight:800;color:#0b86e8}.news-dialog{width:min(980px,96vw);padding:0;overflow:hidden}.news-dialog .modal-close{background:#fff;box-shadow:0 3px 12px #002d5722}.modal-news-img{width:100%;height:auto;max-height:none;aspect-ratio:16/9;object-fit:cover;border-radius:0;margin:0;background:#e8f3fa}.news-dialog>time,.news-dialog>h2,.news-dialog>.news-body{display:block;margin-left:34px;margin-right:34px}.news-dialog>time{margin-top:24px;color:#0b86e8;font-size:11px;font-weight:700}.news-dialog>h2{font-size:30px;line-height:1.15;color:#07366d;margin-top:7px;margin-bottom:15px}.news-dialog>.news-body{font-size:14px;line-height:1.75;color:#294b64;margin-bottom:34px;white-space:pre-wrap}.news-dialog>.news-body:first-letter{font-size:1em}.news-row .news-thumb{background:#eaf3f8}@media(max-width:1050px){.feature-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.feature-news-grid{grid-template-columns:1fr}.news-dialog>time,.news-dialog>h2,.news-dialog>.news-body{margin-left:18px;margin-right:18px}.news-dialog>h2{font-size:24px}.news-dialog>.news-body{font-size:13px;margin-bottom:22px}}

/* V13: slim navigation, compact tours + Shorts, matched action buttons */
.site-nav nav{justify-content:flex-start}
.stream-actions>.expand-btn,.stream-actions>.primary-btn{width:128px;min-width:128px;height:36px;padding:0 10px;display:inline-flex;align-items:center;justify-content:center;gap:7px}
.map-actions{display:grid;grid-template-columns:1fr;gap:7px;padding:8px 10px 10px;background:#fff}
.map-actions .map-follow{margin:0;width:100%}
.map-expand{height:36px;width:100%;border:1px solid #0d8cff;background:#fff;color:#0879dc;border-radius:4px;font-size:11px;font-weight:800;display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;transition:.16s ease}
.map-expand:hover{background:#eaf6ff}
.map-expand span:last-child{font-size:18px;line-height:1}

.dashboard{grid-template-columns:repeat(12,minmax(0,1fr));grid-template-areas:none}
.stream-panel{grid-area:auto;grid-column:1/5;grid-row:1}
.news-panel{grid-area:auto;grid-column:5/9;grid-row:1}
.map-panel{grid-area:auto;grid-column:9/13;grid-row:1}
.tours-panel{grid-area:auto;grid-column:1/3;grid-row:2}
.shorts-panel{grid-area:auto;grid-column:3/5;grid-row:2}
.youtube-panel{grid-area:auto;grid-column:5/9;grid-row:2}
.guest-panel{grid-area:auto;grid-column:9/13;grid-row:2}

.tours-panel .tour-grid{grid-template-columns:1fr;gap:6px;padding:7px;max-height:250px;overflow:auto}
.tours-panel .tour-card{display:grid;grid-template-columns:82px minmax(0,1fr);grid-template-rows:auto auto auto;column-gap:8px;align-items:start;padding:0;min-height:70px;border-radius:5px;overflow:hidden}
.tours-panel .tour-card .tour-image{grid-column:1;grid-row:1/4;width:82px;height:70px;object-fit:cover}
.tours-panel .tour-card h3{grid-column:2;margin:7px 6px 1px 0;font-size:10px;line-height:1.2}
.tours-panel .tour-card time{grid-column:2;margin:0 6px 2px 0;font-size:8px}
.tours-panel .tour-card .chips{grid-column:2;margin:0 6px 6px 0;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tours-panel .tour-card .chips span{font-size:8px;padding:3px 5px}

.shorts-panel{min-width:0}
.short-preview{appearance:none;width:100%;height:250px;border:0;background:#fff;padding:8px;display:flex;flex-direction:column;gap:7px;text-align:left;cursor:pointer;color:#10283b}
.short-preview-media{min-height:0;flex:1;border-radius:6px;overflow:hidden;background:linear-gradient(135deg,#082b55,#0d8cff);position:relative;display:grid;place-items:center}
.short-preview-media img{width:100%;height:100%;object-fit:cover;display:block}
.short-preview-media:after{content:'▶';position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:rgba(0,0,0,.62);border:2px solid #fff;color:#fff;font-size:18px;padding-left:2px}
.short-loading{font-size:10px;color:#fff;text-align:center;padding:14px}.short-preview-copy{display:flex;flex-direction:column;gap:2px}.short-preview-copy b{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.short-preview-copy span{font-size:9px;color:#648195}

.shorts-dialog{width:min(1180px,96vw);height:min(920px,94vh);max-height:94vh;display:flex;flex-direction:column;overflow:hidden;padding:20px}
.shorts-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-right:46px;margin-bottom:10px;flex:0 0 auto}
.shorts-head h2{margin:2px 0 4px;font-size:24px;color:#07366d}.shorts-head p{margin:0;font-size:11px;color:#61798a}
.shorts-feed{min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain;scroll-snap-type:y mandatory;background:#071728;border-radius:8px;padding:12px}
.short-feed-item{height:100%;min-height:650px;scroll-snap-align:start;scroll-snap-stop:always;display:grid;grid-template-columns:minmax(330px,430px) minmax(220px,1fr);gap:24px;align-items:center;justify-content:center;padding:18px 5vw;border-bottom:1px solid rgba(255,255,255,.08)}
.short-player{height:min(78vh,720px);aspect-ratio:9/16;justify-self:center;background:#000;border-radius:10px;overflow:hidden;box-shadow:0 14px 40px rgba(0,0,0,.35)}
.short-player iframe{width:100%;height:100%;border:0;display:block}.short-info{color:#fff}.short-info h3{font-size:20px;line-height:1.3;margin:0 0 10px}.short-info time{font-size:10px;color:#9fc6e3}.short-info a{display:inline-flex;margin-top:18px;color:#fff;background:#0d8cff;padding:10px 13px;border-radius:5px;text-decoration:none;font-size:10px;font-weight:800}.shorts-loading{display:grid;place-items:center;height:100%;min-height:420px;color:#fff;font-size:12px}

@media(max-width:1150px){
 .dashboard{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:none}
 .stream-panel,.news-panel,.map-panel,.tours-panel,.shorts-panel,.youtube-panel,.guest-panel{grid-area:auto;grid-column:auto;grid-row:auto}
 .map-panel{grid-column:1/-1}.youtube-panel,.guest-panel{grid-column:auto}
 .short-feed-item{grid-template-columns:minmax(280px,380px) 1fr;min-height:620px}
}
@media(max-width:760px){
 .dashboard{grid-template-columns:1fr}
 .stream-panel,.news-panel,.map-panel,.tours-panel,.shorts-panel,.youtube-panel,.guest-panel{grid-column:1}
 .shorts-head{flex-direction:column;padding-right:42px}.shorts-dialog{width:98vw;height:96vh;padding:13px}
 .short-feed-item{grid-template-columns:1fr;min-height:92vh;padding:12px;gap:12px}.short-player{height:min(70vh,650px)}.short-info{max-width:430px;margin:auto;width:100%}
 .stream-actions>.expand-btn,.stream-actions>.primary-btn{width:116px;min-width:116px}
}


/* V15: Shorts player lifecycle + clean metadata layout */
.shorts-dialog{width:min(1320px,97vw);height:min(940px,95vh)}
.short-feed-item{grid-template-columns:minmax(360px,470px) minmax(300px,1fr);gap:34px;padding:22px 6vw}
.short-player{position:relative}
.short-poster{width:100%;height:100%;object-fit:cover;display:block}
.short-player:not(:has(iframe))::after{content:'▶';position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:58px;height:58px;border-radius:50%;background:rgba(0,0,0,.64);border:2px solid #fff;color:#fff;display:grid;place-items:center;font-size:24px;padding-left:3px}
.short-player iframe+.short-poster,.short-player.playing .short-poster{display:none}
.short-info{align-self:center;min-width:0;max-width:520px}
.short-info h3{font-size:22px;line-height:1.35;margin:0 0 18px;overflow-wrap:anywhere}
.short-meta{display:flex;align-items:center;gap:18px;flex-wrap:wrap;border-top:1px solid rgba(255,255,255,.12);padding-top:14px}
.short-meta time{display:block;min-width:88px;font-size:11px;color:#a8cee8}
.short-meta a{margin:0!important;display:inline-flex!important;flex:0 0 auto}
.short-feed-item.playing{background:linear-gradient(90deg,rgba(13,140,255,.08),transparent 55%)}
@media(max-width:900px){.short-feed-item{grid-template-columns:minmax(280px,390px) minmax(220px,1fr);gap:22px;padding:16px 3vw}.short-info h3{font-size:18px}}
@media(max-width:650px){.short-feed-item{grid-template-columns:1fr;gap:12px}.short-meta{gap:10px}.short-info h3{margin-bottom:10px}.short-meta a{width:100%;justify-content:center}}

/* V18: Shorts next button + automatic next playback */
.shorts-head-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:flex-end}
.short-next-btn{height:36px;border:0;border-radius:5px;background:#073b72;color:#fff;font-size:10px;font-weight:800;padding:0 15px;display:inline-flex;align-items:center;gap:9px;cursor:pointer;box-shadow:0 4px 14px rgba(0,45,95,.14);transition:background .16s ease,transform .16s ease}
.short-next-btn:hover{background:#0b5ca8;transform:translateY(-1px)}
.short-next-btn span{font-size:18px;line-height:1}
.short-player-mount,.short-player-mount iframe{width:100%!important;height:100%!important;border:0;display:block}
.short-feed-item.autoplay-blocked .short-player:after{content:'Zum Starten tippen';position:absolute;left:50%;bottom:18px;transform:translateX(-50%);background:rgba(0,0,0,.72);color:#fff;padding:7px 10px;border-radius:4px;font-size:10px;z-index:3}
@media(max-width:760px){.shorts-head-actions{width:100%;justify-content:flex-start}.short-next-btn,.shorts-head-actions .primary-btn{flex:1;justify-content:center}}


/* V19: Dark Mode */
.theme-switch-wrap{display:flex;align-items:center;margin-left:auto;margin-right:18px}.theme-switch{height:34px;display:flex;align-items:center;gap:7px;padding:0 8px;border:1px solid rgba(255,255,255,.28);border-radius:999px;background:rgba(0,19,47,.34);color:#fff;cursor:pointer;transition:.2s ease}.theme-switch:hover{background:rgba(13,140,255,.2);border-color:#36a7ff}.theme-switch-icon{font-size:13px;line-height:1;opacity:.65;transition:.2s ease}.theme-switch-track{width:34px;height:18px;border-radius:999px;background:#c8d7e5;position:relative;display:block;transition:.22s ease}.theme-switch-knob{position:absolute;width:14px;height:14px;left:2px;top:2px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #0004;transition:transform .22s ease}html[data-theme="dark"] .theme-switch-track{background:#0d8cff}html[data-theme="dark"] .theme-switch-knob{transform:translateX(16px)}html[data-theme="dark"] .theme-sun{opacity:.4}html:not([data-theme="dark"]) .theme-moon{opacity:.4}
html[data-theme="dark"]{--ink:#e9f4ff;--bg:#07131f;--line:#155d96;color-scheme:dark}html[data-theme="dark"] body{background:#07131f;color:#e9f4ff}html[data-theme="dark"] .panel,html[data-theme="dark"] .dialog{background:#0c1e2e;color:#e9f4ff;border-color:#155d96}html[data-theme="dark"] .panel{box-shadow:0 2px 12px #0007}html[data-theme="dark"] .news-row,html[data-theme="dark"] .tour-card,html[data-theme="dark"] .playlist-card,html[data-theme="dark"] .short-preview,html[data-theme="dark"] .guest-all,html[data-theme="dark"] .modal-list article,html[data-theme="dark"] .news-list-link{background:#0c1e2e;color:#e9f4ff;border-color:#173b57}html[data-theme="dark"] .news-row:hover,html[data-theme="dark"] .tour-card:hover,html[data-theme="dark"] .playlist-card:hover{background:#112a40}html[data-theme="dark"] .news-copy p,html[data-theme="dark"] .tour-card time,html[data-theme="dark"] .playlist-card small,html[data-theme="dark"] .guest-main time,html[data-theme="dark"] .short-preview-copy span,html[data-theme="dark"] .modal-list time,html[data-theme="dark"] .news-list-link span{color:#94b5cc}html[data-theme="dark"] .guest-list article{border-color:#173b57}html[data-theme="dark"] .chips span{background:#123653;color:#d9efff}html[data-theme="dark"] .map-actions{background:#0c1e2e}html[data-theme="dark"] .map-expand{background:#10283b;color:#aedaff;border-color:#17679e}html[data-theme="dark"] .map-expand:hover{background:#163754}html[data-theme="dark"] .map-placeholder{background:linear-gradient(135deg,#0b2032,#102a40);color:#94b5cc}html[data-theme="dark"] .map-placeholder b{color:#dcefff}html[data-theme="dark"] .dialog input,html[data-theme="dark"] .dialog textarea,html[data-theme="dark"] .dialog select{background:#071722;color:#eef8ff;border-color:#275675}html[data-theme="dark"] .dialog input::placeholder,html[data-theme="dark"] .dialog textarea::placeholder{color:#7898ae}html[data-theme="dark"] .modal-close{color:#dcefff}html[data-theme="dark"] .news-body{color:#e9f4ff}html[data-theme="dark"] .success{background:#123b28;color:#bff0cf}html[data-theme="dark"] .playlist-dialog,html[data-theme="dark"] .shorts-dialog{background:#0c1e2e}html[data-theme="dark"] .playlist-video-row{background:#102536;color:#e9f4ff;border-color:#214762}html[data-theme="dark"] .playlist-video-row:hover,html[data-theme="dark"] .playlist-video-row.active{background:#153754}html[data-theme="dark"] .feature-view{color:#e9f4ff}html[data-theme="dark"] .news-card,html[data-theme="dark"] .tour-detail-card{background:#102536;color:#e9f4ff;border-color:#214762}html[data-theme="dark"] .footer-link{color:#fff}html[data-theme="dark"] .theme-switch{background:#061525;border-color:#2a73a8}@media(max-width:1200px){.theme-switch-wrap{margin-left:auto;margin-right:10px}}@media(max-width:780px){.theme-switch-wrap{margin-left:8px;margin-right:8px}.theme-switch{padding:0 7px}.theme-switch-icon{display:none}}

/* V20: Dark-mode polish, centered social icons, touch-friendly mobile nav */
html[data-theme="dark"] .modal-close{
  background:#132a3d;
  color:#eaf6ff;
  border:1px solid #28506c;
  box-shadow:0 2px 10px #0005;
}
html[data-theme="dark"] .modal-close:hover{
  background:#1b3c56;
  color:#fff;
  border-color:#3c79a4;
}
html[data-theme="dark"] .shorts-head h2,
html[data-theme="dark"] .playlist-modal-head h2,
html[data-theme="dark"] .feature-view>h2,
html[data-theme="dark"] .feature-head h2,
html[data-theme="dark"] .dialog>h2,
html[data-theme="dark"] #newsModalTitle,
html[data-theme="dark"] #tourModalTitle{
  color:#f2f8ff;
}
html[data-theme="dark"] .shorts-head p,
html[data-theme="dark"] .playlist-current,
html[data-theme="dark"] .legal-copy{
  color:#a9c2d5;
}
html[data-theme="dark"] .playlist-kicker,
html[data-theme="dark"] .feature-kicker{
  color:#38a8ff;
}

/* Desktop social media group centered in the navigation bar */
@media(min-width:1201px){
  .nav-inner{position:relative}
  .social-top{
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    display:flex;
    align-items:center;
    justify-content:center;
    gap:13px;
    z-index:4;
    padding:5px 11px;
    border-radius:999px;
    background:rgba(0,20,55,.24);
    border:1px solid rgba(255,255,255,.08);
  }
  .social-top a{
    width:36px;
    height:36px;
    border-radius:10px;
    display:grid;
    place-items:center;
    transition:transform .16s ease,background .16s ease,box-shadow .16s ease;
  }
  .social-top a:hover{
    transform:translateY(-2px) scale(1.07);
    background:rgba(255,255,255,.12);
    box-shadow:0 5px 14px #001b3f66;
  }
  .social-top img{width:25px;height:25px;display:block}
  .theme-switch-wrap{margin-left:auto;margin-right:0;z-index:5}
}

/* Tablet keeps social icons visible but compact instead of dropping them */
@media(min-width:781px) and (max-width:1200px){
  .social-top{display:flex;gap:8px;margin-left:10px}
  .social-top a{width:30px;height:30px}
  .social-top img{width:22px;height:22px}
}

/* Mobile: large finger-friendly burger menu and menu rows */
@media(max-width:780px){
  .site-nav{height:64px}
  .nav-inner{padding:0 10px;position:relative}
  .mobile-menu{
    display:grid;
    place-items:center;
    min-width:48px;
    min-height:48px;
    margin-left:auto;
    padding:0;
    border-radius:8px;
    font-size:25px;
    line-height:1;
  }
  .site-nav nav{
    top:64px;
    grid-template-columns:1fr;
    max-height:calc(100vh - 64px);
    overflow-y:auto;
    padding:8px;
    gap:4px;
    box-shadow:0 12px 28px #00162f88;
  }
  .site-nav nav a{
    min-height:54px;
    padding:0 18px;
    border-radius:7px;
    font-size:16px;
    font-weight:700;
    letter-spacing:.01em;
    gap:12px;
  }
  .site-nav nav a b{font-size:16px}
  .site-nav nav a:active{background:#1597ff}
  .theme-switch-wrap{margin-left:8px;margin-right:4px}
  .theme-switch{height:40px;min-width:52px;justify-content:center}
  .theme-switch-track{width:38px;height:20px}
  .theme-switch-knob{width:16px;height:16px}
  html[data-theme="dark"] .theme-switch-knob{transform:translateX(18px)}
  .social-top{display:none}
}

/* V21: complete dark playlist surfaces + real-color social icons */
html[data-theme="dark"] .playlist-player-column,
html[data-theme="dark"] .playlist-video-panel,
html[data-theme="dark"] .playlist-video-list,
html[data-theme="dark"] .playlist-current{
  background:#0b1d2b;
  color:#eaf5ff;
  border-color:#285675;
}
html[data-theme="dark"] .playlist-video-panel{box-shadow:inset 0 0 0 1px rgba(255,255,255,.015)}
html[data-theme="dark"] .playlist-video-list{scrollbar-color:#3d6f91 #0b1d2b}
html[data-theme="dark"] .playlist-video-row{background:#102536;color:#eaf5ff;border-bottom-color:#214762}
html[data-theme="dark"] .playlist-video-row:hover{background:#163754}
html[data-theme="dark"] .playlist-video-row.active{background:#194263;box-shadow:inset 3px 0 0 #19a2ff}
html[data-theme="dark"] .playlist-index{color:#84a8bf}
html[data-theme="dark"] .playlist-loading{color:#94b5cc;background:#0b1d2b}
html[data-theme="dark"] .playlist-error{color:#ff9e9e;background:#0b1d2b}

/* SVG files already contain the platform brand colors; never recolor them. */
.social-top img,.footer-social img{filter:none!important}
.social-top a[aria-label="Twitch"]{background:rgba(145,70,255,.12)}
.social-top a[aria-label="YouTube"]{background:rgba(255,0,51,.10)}
.social-top a[aria-label="Instagram"]{background:rgba(211,0,197,.10)}
.social-top a[aria-label="TikTok"]{background:rgba(37,244,238,.08)}
.social-top a:hover{background:rgba(255,255,255,.16)}

.detail-actions,.playlist-head-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.short-meta{display:flex;gap:12px;align-items:center;flex-wrap:wrap}

/* V24 unified modal toolbar alignment */
.tour-dialog>.modal-close,.playlist-dialog>.modal-close,.shorts-dialog>.modal-close{position:static}.playlist-modal-head,.shorts-head{align-items:flex-start}.playlist-head-actions,.shorts-head-actions{padding-top:0}.tour-dialog{padding-top:0}.tour-dialog>.dialog-actionbar+img{margin-top:8px}


/* V29 – mobile community actions */
.mobile-only{display:none!important}
@media(max-width:780px){
 .site-nav nav .mobile-community-link{display:flex!important;align-items:center;gap:12px;width:100%;min-height:56px;padding:0 18px;border:0;border-radius:7px;background:transparent;color:#fff;text-align:left;font-size:16px;font-weight:700;cursor:pointer;font-family:inherit}
 .site-nav nav .mobile-community-link:hover,.site-nav nav .mobile-community-link:active{background:#0d85f6}
 .site-nav nav .mobile-community-link b{font-size:16px}
 .community-nav-user{display:none!important}
}


/* V30: Twitch brand icon stays readable in both themes */
.twitch-brand-icon{width:30px!important;height:30px!important;display:block!important;object-fit:contain!important;border-radius:7px;background:#9147ff;padding:5px;box-shadow:0 2px 7px rgba(145,71,255,.24)}
html[data-theme="dark"] .twitch-brand-icon{background:#9147ff;box-shadow:0 2px 9px rgba(145,71,255,.34)}

/* V31 – Twitch mark visibility in both themes */
.twitch-brand-icon{background:#9147ff!important;border:1px solid rgba(255,255,255,.7)!important;box-sizing:border-box!important;filter:none!important}
html:not([data-theme="dark"]) .twitch-brand-icon{box-shadow:0 2px 8px rgba(52,20,91,.25)!important}
html[data-theme="dark"] .twitch-brand-icon{border-color:rgba(255,255,255,.24)!important;box-shadow:0 2px 8px rgba(145,71,255,.32)!important}

/* V33: Twitch brand mark in livestream card */
.twitch-brand-icon{width:32px!important;height:32px!important;display:grid!important;place-items:center!important;background:transparent!important;border:0!important;padding:0!important;border-radius:8px!important;box-shadow:none!important;overflow:visible!important;flex:0 0 32px}
.twitch-brand-icon svg{width:32px;height:32px;display:block;overflow:visible}
.twitch-brand-icon .tw-bg{fill:#9147ff}
.twitch-brand-icon .tw-cut{fill:#fff}
.twitch-brand-icon .tw-eye{fill:#9147ff}
html[data-theme="dark"] .twitch-brand-icon,html:not([data-theme="dark"]) .twitch-brand-icon{background:transparent!important;border:0!important;box-shadow:none!important;filter:none!important}

/* V35 mobile readability + scrollable article dialogs */
@media(max-width:650px){
  #newsModal{padding:8px;align-items:flex-start;overflow:hidden}
  #newsModal .news-dialog{width:100%;max-height:calc(100dvh - 16px);height:auto;overflow-y:auto!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;padding-bottom:24px}
  #newsModal .dialog-actionbar{position:sticky;top:0;z-index:8;background:inherit;padding-top:8px;padding-bottom:8px}
  .news-dialog>h2{font-size:27px;line-height:1.18}
  .news-dialog>.news-body{font-size:16px;line-height:1.65}
  .news-dialog>time{font-size:12px}
  .news-row{height:auto;min-height:132px;grid-template-columns:56px minmax(0,1fr) 92px;gap:10px;padding:12px 10px}
  .news-row time{height:54px}.news-row time b{font-size:18px}
  .news-copy h3{font-size:17px;line-height:1.25;margin-bottom:7px}
  .news-copy p{font-size:13px;line-height:1.45}
  .news-thumb{width:92px;height:62px}
  .panel-title{height:40px}.panel-title h2{font-size:16px}
  .community-mini-head>b{font-size:14px!important}.community-mini-head .text-btn{font-size:12px!important}
  .guest-main b{font-size:13px}.guest-main time{font-size:10px}.guest-main p{font-size:12px;line-height:1.4}
  .guest-list article{height:auto;min-height:72px;padding:8px 0;align-items:flex-start}
  .new-member-copy b{font-size:13px!important}.new-member-copy small{font-size:11px!important;line-height:1.35}
  .new-member-card{min-height:58px!important;padding:9px!important}
  .empty-state{font-size:13px}
}

/* V37: News modal must remain fully readable on desktop too. */
#newsModal{overflow:hidden}
#newsModal .news-dialog{
  max-height:calc(100dvh - 40px);
  overflow-y:auto;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  scrollbar-gutter:stable;
}
#newsModal .modal-news-img{
  max-height:min(52vh,520px);
  aspect-ratio:auto;
  object-fit:cover;
}
#newsModal .news-actionbar{
  position:sticky;
  top:0;
  margin-left:auto;
  width:max-content;
  z-index:10;
}
@media(max-width:650px){
  #newsModal .modal-news-img{max-height:42vh}
}


/* V38 – top Twitch icon + clean News action header */
.social-top .social-twitch-inline{display:grid;place-items:center}
.social-twitch-svg{width:23px;height:23px;display:block}
.social-twitch-svg svg{width:100%;height:100%;display:block}
.social-twitch-svg .tw-bg{fill:#9147ff}
.social-twitch-svg .tw-cut{fill:#fff}
.social-twitch-svg .tw-eye{fill:#9147ff}

#newsModal .news-actionbar{
  position:sticky!important;
  top:0!important;
  right:auto!important;
  width:100%!important;
  min-height:58px;
  margin:0 0 12px 0!important;
  padding:10px 8px!important;
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:9px;
  background:rgba(255,255,255,.97);
  border-bottom:1px solid rgba(13,140,255,.22);
  z-index:20;
  backdrop-filter:blur(8px);
}
#newsModal .news-actionbar .modal-close,
#newsModal .news-actionbar .comment-button{
  position:static!important;
  margin:0!important;
  flex:0 0 auto;
}
#newsModal .modal-news-img{display:block;clear:both;margin-top:0!important}
html[data-theme="dark"] #newsModal .news-actionbar{
  background:rgba(9,27,41,.97);
  border-bottom-color:rgba(37,154,224,.28);
}
@media(max-width:650px){
  #newsModal .news-actionbar{min-height:56px;padding:8px 6px!important;margin-bottom:10px!important}
}


/* V41 – eigener Twitch-Chat; bestehende V38/V39 Styles bleiben vollständig erhalten */
.mt-chat{min-width:0;display:grid!important;grid-template-rows:auto minmax(0,1fr) auto auto auto;overflow:hidden;background:#f7fbfe;border:1px solid #b9d9ec;border-radius:8px;color:#10283b}
.mt-chat-head{min-height:45px;padding:0 12px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #d5e7f2;background:#edf7fd;font-size:12px}.mt-chat-head>div{display:flex;align-items:center;gap:7px}.mt-chat-head>span{font-size:10px;color:#658398}.mt-chat-live-dot{width:8px;height:8px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 3px #22c55e20}
.mt-chat-list{overflow:auto;padding:10px 10px 14px;scrollbar-width:thin;overscroll-behavior:contain}.mt-chat-empty{display:grid;place-items:center;min-height:100%;text-align:center;color:#718b9d;font-size:12px;padding:20px}.mt-chat-message{position:relative;padding:5px 28px 5px 4px;border-radius:5px}.mt-chat-message:hover{background:#e9f5fc}.mt-chat-line{display:block;line-height:1.45;font-size:12px;word-break:break-word}.mt-chat-badge{width:18px;height:18px;object-fit:contain;vertical-align:-4px;margin-right:3px}.mt-chat-name{color:var(--chat-name,#159cff);font-weight:900;margin:0 5px 0 1px}.mt-chat-name::after{content:":"}.mt-twitch-emote,.mt-7tv-emote{height:28px;max-width:72px;object-fit:contain;vertical-align:-8px;margin:0 2px}.mt-chat-reply-btn{position:absolute;right:3px;top:4px;border:0;background:transparent;color:#6a879a;opacity:0;cursor:pointer}.mt-chat-message:hover .mt-chat-reply-btn{opacity:1}
.mt-chat-reply{padding:7px 10px;background:#e6f4fd;border-top:1px solid #cbe2ef;font-size:11px;color:#4a6d83}.mt-chat-reply button{border:0;background:none;float:right;cursor:pointer;color:inherit;font-size:16px}.mt-chat-gate{margin:auto 12px;padding:16px;border:1px solid #c6dfed;border-radius:9px;background:#eef8fd;display:grid;gap:8px;text-align:center}.mt-chat-gate[hidden]{display:none!important}.mt-chat-gate b{font-size:13px}.mt-chat-gate span{font-size:11px;color:#67879a;line-height:1.45}.mt-chat-gate .primary-btn{justify-self:center;text-decoration:none}.mt-chat-compose{display:flex;gap:7px;padding:9px;border-top:1px solid #d5e7f2;background:#edf7fd}.mt-chat-compose[hidden]{display:none!important}.mt-chat-compose input{min-width:0;flex:1;height:38px;border:1px solid #bad7e8;border-radius:7px;padding:0 10px;background:#fff;color:#10283b}.mt-chat-compose button{border:0;border-radius:999px;background:#9147ff;color:#fff;font-weight:900;padding:0 14px;cursor:pointer}.mt-chat-compose button:disabled{opacity:.55}
html[data-theme="dark"] .mt-chat{background:#0b1721;border-color:#254a63;color:#e9f4ff}html[data-theme="dark"] .mt-chat-head,html[data-theme="dark"] .mt-chat-compose{background:#101f2b;border-color:#23445c}html[data-theme="dark"] .mt-chat-message:hover{background:#132737}html[data-theme="dark"] .mt-chat-empty{color:#8ca9bb}html[data-theme="dark"] .mt-chat-reply{background:#10283a;border-color:#23445c;color:#a8c4d5}html[data-theme="dark"] .mt-chat-gate{background:#101f2b;border-color:#2a536d}html[data-theme="dark"] .mt-chat-gate span{color:#9ab6c7}html[data-theme="dark"] .mt-chat-compose input{background:#07131c;border-color:#2b536d;color:#eef8ff}
@media(max-width:850px){.large-live-grid{grid-template-columns:1fr!important}.mt-chat{min-height:390px}.mt-chat-line{font-size:14px}.mt-chat-head{font-size:14px}.mt-chat-badge{width:20px;height:20px}}
