/* v14: final intrinsic layout layer, shared by both brands. */
body[data-brand] *,body[data-brand] *::before,body[data-brand] *::after{box-sizing:border-box}
body[data-brand] :is(.live-page,.hero-shell,.live-grid,.bonus-games-grid,.form-grid,.footer-main,.report-main,.admin-main){min-width:0;max-width:100%}
body[data-brand] :is(.card,.panel,.hero-copy,.stream-panel,.chat-sidebar,.bonus-game-card,.footer-links)>*{min-width:0}
body[data-brand] :is(img,video,canvas,svg){max-width:100%}
body[data-brand] :is(button,a,input,textarea,select){touch-action:manipulation}
body[data-brand] button{cursor:pointer}
body[data-brand] :is(a,button,input,select,textarea):focus-visible{outline:3px solid #278bab;outline-offset:3px}
body[data-brand] [hidden]{display:none!important}
.tracking-consent{position:fixed;inset:auto 16px max(16px,env(safe-area-inset-bottom));z-index:10000;max-width:680px;margin-inline:auto;padding:20px;border:1px solid #b8bfd6;border-radius:18px;background:#fff;color:#151a38;box-shadow:0 8px 35px #0004;display:flex;flex-wrap:wrap;gap:12px;font:14px/1.6 system-ui}
.tracking-consent p{flex-basis:100%;margin:0}.tracking-consent button,.tracking-preferences{padding:10px 20px;min-height:44px;border:1px solid currentColor;border-radius:8px;background:#fff;color:#151a38;font:inherit}.tracking-consent button{flex:1}.tracking-preferences{margin-top:16px}
body[data-brand] :is(.history-table-wrap,.standings-wrap){overflow-x:auto;max-width:100%;-webkit-overflow-scrolling:touch}
@media(max-width:1100px){
 body[data-brand] .header-main{display:flex!important;flex-wrap:wrap!important;gap:12px!important;width:100%!important}
 body[data-brand] .header-actions{margin-left:auto;flex-wrap:wrap;max-width:100%;gap:8px}
 body[data-brand] .live-nav{display:flex!important;position:static!important;order:5;flex:1 1 100%!important;width:100%!important;overflow-x:auto;white-space:nowrap;justify-content:flex-start!important;gap:18px;padding:4px 0!important}
 body[data-brand] .live-nav a{flex:none;font-size:13px;min-height:44px}
 body[data-brand] :is(.live-grid,.commentator-grid,.bonus-games-grid,.episode-section,.tv-inline-layout){grid-template-columns:minmax(0,1fr)!important}
 body[data-brand] .chat-sidebar{height:auto!important;min-height:0!important;max-height:none!important}
 body[data-brand] .chat-messages{height:320px!important;max-height:50dvh;overflow-y:auto}
}
@media(max-width:760px){
 html{scrollbar-gutter:auto}
 body[data-brand] .live-header{position:relative!important;top:auto!important}
 body[data-brand] .live-page{width:100%;padding:16px max(12px,env(safe-area-inset-right)) 32px max(12px,env(safe-area-inset-left))!important}
 body[data-brand] :is(.hero-shell,.hero-grid){display:flex!important;flex-direction:column!important;height:auto!important;min-height:0!important;gap:0!important}
 body[data-brand] .hero-copy{display:block!important;padding:24px 20px!important;width:100%!important;max-width:100%!important}
 body[data-brand] .hero-copy h1{font-size:clamp(28px,8vw,42px)!important;line-height:1.13!important;max-width:100%!important;margin:10px 0!important}
 body[data-brand] .hero-copy p{font-size:15px!important;line-height:1.6!important}
 body[data-brand] .hero-visual{display:none!important}
 body[data-brand] :is(.card,.growth-hub,.studio-game,.fan-card,.organic-card){padding:16px!important;border-radius:16px!important}
 body[data-brand] :is(.stream-head,.growth-section-head,.growth-title-row,.bottom-promos-head,.commentator-heading,.famelack-head,.social-hub){display:flex!important;flex-wrap:wrap;gap:12px}
 body[data-brand] :is(.stream-head h2,.growth-title-row h2,.famelack-head h2){font-size:24px!important;line-height:1.2}
 body[data-brand] :is(.player-shell,.last-episode-player,.episode-video,.tv-inline-player){width:100%!important;min-height:0!important;aspect-ratio:16/9;height:auto!important}
 body[data-brand] .player-shell :is(iframe,video){width:100%;height:100%;object-fit:contain}
 body[data-brand] :is(.social-actions,.footer-bottom,.studio-controls,.game-actions){display:flex;flex-wrap:wrap;gap:10px}
 body[data-brand] :is(.organic-tools,.fan-zone,.fixture-grid,.news-grid,.footer-main,.footer-links,.form-grid,.summary-grid){grid-template-columns:minmax(0,1fr)!important}
 body[data-brand] .live-footer{padding:28px 18px calc(30px + env(safe-area-inset-bottom))!important}
 body[data-brand] .mobile-live-dock{display:none!important}
 body[data-brand] :is(button,.primary-cta,.header-join,.social-chip){min-height:44px}
 body[data-brand] :is(input,textarea,select){font-size:16px!important;min-width:0;max-width:100%}
 body[data-brand] .chat-input-row{display:flex;flex-wrap:wrap}.chat-input-row textarea{flex:1 1 180px}
 body[data-brand] .wheel-machine{width:100%!important;max-width:340px!important;margin-inline:auto!important}
 body[data-brand] .fortune-wheel-canvas{width:100%!important;height:auto!important;aspect-ratio:1}
 body[data-brand] :is(.slot-machine,.slot-reels,.penalty-machine,.goal-box){max-width:100%!important;min-width:0!important}
 body[data-brand] .slot-reels{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}
 body[data-brand] .slot-symbol{font-size:clamp(20px,7vw,42px)!important;overflow-wrap:anywhere}
 body[data-brand] .sponsor-slide-copy{padding:20px!important}.sponsor-slide-copy a{max-width:100%}
 body[data-brand] .admin-header{position:static!important;flex-wrap:wrap!important;gap:12px;padding:12px!important;height:auto!important}
 body[data-brand] .admin-header nav{display:flex;flex-wrap:wrap;gap:8px}
 body[data-brand] .admin-layout{display:block!important}
 body[data-brand] #adminPageTabs{position:static!important;width:100%!important;max-width:100%!important;height:auto!important;display:flex!important;flex-direction:row!important;overflow-x:auto;gap:8px;padding:12px!important}
 body[data-brand] #adminPageTabs>a{flex:none;white-space:nowrap;min-height:44px;padding:12px!important}
 body[data-brand] .admin-command{display:none!important}
 body[data-brand] .admin-main{margin-left:0!important;padding:16px 12px 150px!important;width:100%!important}
 body[data-brand] :is(.fields,.fields.two,.fields.three,.studio-form-grid,.moderation-grid,.ban-row,.lottery-form,.operations-grid){display:grid!important;grid-template-columns:minmax(0,1fr)!important}
 body[data-brand] :is(.panel-head,.report-hero,.report-toolbar,.admin-toolbar,.moderation-actions,.export-buttons){flex-wrap:wrap!important;gap:12px}
 body[data-brand] .report-main{width:100%!important;padding:20px 12px!important}
 body[data-brand] .report-hero h1{font-size:30px!important}.report-toolbar label{min-width:0}
 body[data-brand] #mainSavebar{left:0!important;right:0!important;bottom:0!important;width:100%!important;max-width:100%!important;flex-wrap:wrap;gap:8px;padding:12px max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom))!important}
}
@media(max-width:360px){body[data-brand] .header-main .brand img{width:100px!important}.header-status,.header-viewers{font-size:11px!important}body[data-brand] .header-actions{flex-basis:100%;justify-content:space-between}body[data-brand] .studio-play-button{min-width:0!important;font-size:13px!important;padding:10px 16px!important;min-height:44px!important}body[data-brand] .report-toolbar{width:100%}}
@media(max-height:500px) and (orientation:landscape){body[data-brand] #mainSavebar{position:static!important}.tracking-consent{max-height:85dvh;overflow:auto}}
@media(horizontal-viewport-segments:2){.tracking-consent{max-width:calc(env(viewport-segment-width 0 0) - 24px);margin-left:0}}

body[data-brand] .famelack-frame-wrap{width:100%!important;max-width:100%!important;aspect-ratio:auto!important;min-width:0!important}

@media(max-width:760px){
 body[data-brand] .header-main{padding:8px 12px!important}
 body[data-brand] .waiting-overlay{padding:12px!important;overflow:auto!important;gap:6px!important}
 body[data-brand] .waiting-overlay h3{font-size:clamp(17px,5vw,23px)!important;line-height:1.15!important;margin:4px 0!important}
 body[data-brand] .waiting-overlay p{font-size:12px!important;line-height:1.4!important;margin:4px 0!important}
 body[data-brand] .waiting-pill{font-size:10px!important;padding:4px 9px!important}
}
