/* DIVI production interface. Shared tokens; feature handlers and media sizing stay owned by modules. */
:root{--dv23-ink:#17243d;--dv23-muted:#61718b;--dv23-line:#e1e7f0;--dv23-blue:#245bdd;--dv23-ring:0 0 0 3px rgba(36,91,221,.2)}
html{scroll-padding-top:92px}
body.divi-modern{background:#f4f6fa;color:var(--dv23-ink);font-size:14px;line-height:1.65}
.divi-modern .site-header{background:#fff;border-bottom:1px solid var(--dv23-line);box-shadow:0 3px 20px rgba(27,46,82,.035)}
.divi-modern .global-user-search{background:#f5f7fb;border:1px solid #e1e7f0;border-radius:14px}
.divi-modern .post-card,.divi-modern .settings-card,.divi-modern .social-section,.divi-modern .composer-card,.divi-modern .friend-card,.divi-modern .group-card{border-color:var(--dv23-line);box-shadow:0 3px 16px rgba(25,45,80,.025);border-radius:18px}
.divi-modern .post-card{margin-bottom:20px}
.divi-modern .post-header{padding-top:18px;padding-bottom:14px}
.divi-modern .post-author-name{font-weight:700;line-height:1.4}
.divi-modern .post-time,.divi-modern .text-muted{color:var(--dv23-muted)}
.divi-modern .post-actions{border-top:1px solid #edf0f5;padding-top:7px;padding-bottom:7px;gap:4px}
.divi-modern .post-actions>button,.divi-modern .post-actions>a{border-radius:10px;min-height:44px;transition:background .15s}
.divi-modern .post-actions>button:hover,.divi-modern .post-actions>a:hover{background:#eef3fd}
.divi-modern .composer-title{font-size:18px;letter-spacing:-.3px}
.divi-modern .composer-textarea{min-height:116px;background:#f8fafd;border-color:#e1e7f0;border-radius:14px;line-height:1.7}
.divi-modern .post-composer-tools,.divi-modern .composer-actions,.divi-modern .post-submit-row{min-width:0;gap:8px;flex-wrap:wrap}
.divi-modern .composer-mention-hint{font-size:11px;background:#f8faff;border-color:#e1e8f5}
.divi-modern .btn{min-height:44px;border-radius:11px;font-size:13px;line-height:1.4;letter-spacing:0}
.divi-modern button:focus-visible,.divi-modern a:focus-visible,.divi-modern input:focus-visible,.divi-modern textarea:focus-visible,.divi-modern select:focus-visible,.divi-modern [contenteditable]:focus-visible{outline:2px solid #245bdd;outline-offset:3px;box-shadow:var(--dv23-ring)}
.divi-modern .settings-card input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.divi-modern .settings-card select,.divi-modern .settings-card textarea{max-width:100%;min-width:0;border-radius:11px;min-height:44px}
.divi-modern .admin-hero{background:linear-gradient(115deg,#edf3ff,#f8faff);border:1px solid #dce6fb;border-radius:20px;padding:28px;margin-bottom:20px}
.divi-modern .admin-hero h2{font-size:26px;line-height:1.4;letter-spacing:-.6px;margin:6px 0 10px}
.divi-modern .admin-hero p{color:var(--dv23-muted);margin:0 0 14px}
.divi-modern .admin-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.divi-modern .admin-card{min-width:0;padding:20px;align-items:flex-start;min-height:132px;border-radius:16px}
.divi-modern .admin-card-body{min-width:0}
.divi-modern .admin-card-body strong{font-size:14px;line-height:1.6}
.divi-modern .admin-card-body small{display:block;font-size:12px;line-height:1.7;margin-top:7px;color:var(--dv23-muted)}
.divi-modern .admin-card-icon{background:#eef3ff;border-radius:12px;width:42px;height:42px;display:grid;place-items:center;flex:none;font-size:22px}
.divi-modern .admin-local-nav{max-width:100%;scrollbar-width:thin}
.divi-modern .admin-local-nav a{min-height:44px;display:inline-flex;align-items:center}
.divi-modern .dv19-stats{gap:12px;margin:18px 0 24px}
.divi-modern .dv19-stats>div{padding:20px;border-radius:15px;border:1px solid var(--dv23-line);background:#fff}
.divi-modern .dv19-stats strong{font-size:26px;color:#245bdd;line-height:1.3}
.divi-modern .dv19-stats span{font-size:12px;color:var(--dv23-muted)}
.divi-modern .admin-catalog-page,.divi-modern .admin-shell,.divi-modern .commerce-page{min-width:0;max-width:100%}
.divi-modern .settings-card pre{max-width:100%;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}
.divi-modern .comment-input{min-width:0}
.dus-overlay{overscroll-behavior:contain}
#diviUniversalShare .dus-panel{height:680px!important;height:min(680px,88vh)!important;height:min(680px,88dvh)!important;max-height:88vh;border:1px solid #e1e7f0;background:#fff;color:#17243d;box-shadow:0 25px 90px rgba(11,24,48,.24)}
#diviUniversalShare .dus-head{font-size:19px}
#diviUniversalShare .dus-head button{width:40px;height:40px;padding:0;text-align:center;font-size:26px;line-height:1}
#diviUniversalShare .dus-search{border:1px solid #dce4f0;background:#f7f9fd;color:#17243d;padding:12px 14px;box-sizing:border-box}
#diviUniversalShare .dus-actions{gap:8px}
#diviUniversalShare .dus-action{min-height:44px;border:1px solid #e0e7f2;background:#f8faff}
#diviUniversalShare .dus-head .dus-action{border:0;background:#f1f4f9}
#diviUniversalShare .dus-person:hover{background:#f2f6ff}
#diviUniversalShare .dus-send{background:#245bdd}
#diviUniversalShare .dus-list{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
@media(min-width:761px) and (max-width:1099px){.divi-modern .admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.divi-modern .site-header .header-inner{gap:10px}.divi-modern .page-container{width:100%}}
@media(max-width:760px){
 html{scroll-padding-top:72px}
 .divi-modern .page-container{padding-top:14px}
 .divi-modern .composer-card{padding:18px 14px}
 .divi-modern .composer-title{font-size:16px}
 .divi-modern .composer-textarea{font-size:16px;min-height:104px}
 .divi-modern input,.divi-modern textarea,.divi-modern select{font-size:16px}
 .divi-modern .post-context-controls{display:flex;flex-wrap:wrap;gap:8px}
 .divi-modern .post-card{border-radius:15px;margin-bottom:14px}
 .divi-modern .post-header{padding:15px 12px}
 .divi-modern .post-actions>button,.divi-modern .post-actions>a{font-size:12px;padding-left:6px;padding-right:6px}
 .divi-modern .admin-hero{padding:20px 16px;border-radius:16px}
 .divi-modern .admin-hero h2{font-size:21px}
 .divi-modern .admin-grid{grid-template-columns:minmax(0,1fr);gap:12px}
 .divi-modern .admin-card{min-height:104px;padding:17px}
 .divi-modern .dv19-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .divi-modern .dv19-stats>div{padding:14px}
 .divi-modern .admin-local-nav{flex-wrap:nowrap;overflow-x:auto}
 .divi-modern .admin-local-nav a{white-space:nowrap;flex:none}
 #diviUniversalShare .dus-panel{height:88vh!important;height:88dvh!important;max-height:88vh!important;max-height:88dvh!important;padding:16px 14px calc(14px + env(safe-area-inset-bottom,0px))!important;border-radius:22px 22px 0 0}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}.divi-modern *{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Keep the color palette on one row without shrinking tap targets. */
.divi-modern .post-background-picker{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;gap:7px;scrollbar-width:thin}
.divi-modern .post-bg-swatch{flex:0 0 30px}
.divi-modern .post-background-label{flex:none;white-space:nowrap}
.divi-modern .post-rich-editor{min-height:112px}
@media(max-width:760px){.divi-modern .post-rich-editor{min-height:96px;font-size:16px}.divi-modern .post-background-picker{padding:10px 8px}.divi-modern .post-bg-swatch{flex-basis:28px;width:28px;height:30px}.divi-modern .composer-mention-hint{line-height:1.65;margin-top:10px}}

.divi-modern .admin-grid .admin-card[hidden]{display:none!important}

/* Shared application surfaces and intentional game controls. */
.divi-modern .admin-card-icon .divi-icon{width:24px;height:24px;color:#3158c8}
.divi-modern .media-picker-trigger{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px}
.divi-modern .media-picker-trigger .divi-icon{width:19px;height:19px;flex:none}
.divi-modern .apps-hero{background:linear-gradient(115deg,#eaf1ff,#f8faff);border:1px solid #dce5f5;border-radius:22px;padding:30px}
.divi-modern .apps-grid{gap:18px}
.divi-modern .app-card{border:1px solid #e1e7f0;border-radius:18px;box-shadow:0 3px 16px rgba(25,45,80,.025);display:flex;flex-direction:column;align-items:flex-start}
.divi-modern .app-card>a{margin-top:auto;min-height:44px;display:inline-flex;align-items:center}
.divi-modern .dg-hero{background:linear-gradient(115deg,#183c9f,#365bd0 63%,#7960c7);box-shadow:none;border-radius:22px}
.divi-modern .dg-card{border:1px solid #e1e7f0;border-radius:18px;box-shadow:0 3px 16px rgba(25,45,80,.035);overflow:hidden;transition:transform .16s,box-shadow .16s}
.divi-modern .dg-card:hover{transform:translateY(-3px);box-shadow:0 10px 24px rgba(25,45,80,.09)}
.divi-modern .dg-card .dg-cover img{transition:transform .2s}
.divi-modern .dg-card:hover .dg-cover img{transform:scale(1.025)}
.divi-modern .dg-btn{border-radius:11px;min-height:44px;font-weight:650}
.divi-modern .dg-primary{background:#245bdd;border-color:#245bdd}
.divi-modern .dg-card .dg-favorite{min-width:44px;min-height:44px}
.divi-modern .dg-player-shell{border-radius:20px;border:1px solid #dbe3f0;box-shadow:0 8px 30px rgba(25,45,80,.07)}
.divi-modern .dg-player-toolbar{gap:10px;flex-wrap:wrap;padding:12px;background:#fff}
.divi-modern .dg-tabs a{min-height:48px}
.divi-modern .dg-player-toolbar>div{display:flex;flex-wrap:wrap;gap:8px}
.divi-modern .dg-status:empty{display:none}
.divi-modern .dg-page input,.divi-modern .dg-page select{max-width:100%}
.divi-modern #messengerDropdown{border:1px solid #dfe6f2;border-radius:18px;box-shadow:0 18px 55px rgba(20,40,80,.13)}
.divi-modern #messengerDropdown .messenger-dropdown-head{gap:10px;align-items:center}
.divi-modern #messengerDropdown input{min-width:0;background:#f6f8fc;border:1px solid #e0e6ef;border-radius:12px}
.divi-modern .floating-chat-box .chat-popup-header{border-bottom:1px solid #e4eaf3}
.divi-modern .floating-chat-box .chat-popup-footer{border-top:1px solid #e4eaf3}
@media(max-width:760px){
 .divi-modern .apps-hero{padding:22px 18px;border-radius:18px}
 .divi-modern .apps-grid{gap:12px}
 .divi-modern .dg-page{padding:16px 8px}
 .divi-modern .dg-hero{padding:24px 20px;border-radius:18px;min-height:180px}
 .divi-modern .dg-hero h1{font-size:28px;line-height:1.4}
 .divi-modern .dg-hero-art{min-width:80px;width:90px;height:90px}
 .divi-modern .dg-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}
 .divi-modern .dg-filters .dg-search{grid-column:1/-1;min-width:0}
 .divi-modern .dg-filters select{max-width:100%;font-size:16px}
 .divi-modern .dg-filters>button{grid-column:1/-1}
 .divi-modern .dg-player-toolbar{padding:10px}
 .divi-modern .dg-player-toolbar>div{width:100%;justify-content:flex-end}
 .divi-modern .dg-player-shell.is-expanded{border-radius:0}
}
.divi-modern .dc-panel,.divi-modern .dc-bank-settings,.divi-modern .dc-studio-row{border-color:#e1e7f0;border-radius:18px;box-shadow:none}
.divi-modern .dc-nav a,.divi-modern .dc-admin-tabs a,.divi-modern .dc-btn{min-height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:11px}
.divi-modern .dc-primary{background:#245bdd;border-color:#245bdd}
.divi-modern .dc-form-grid{align-items:start}
.divi-modern .dc-form input:not([type=checkbox]):not([type=radio]),.divi-modern .dc-form select,.divi-modern .dc-form textarea{min-width:0;max-width:100%;border-radius:11px}
.divi-modern .dc-heading h1{font-size:28px;letter-spacing:-.4px}
.divi-modern .dc-film-card{border:1px solid #e1e7f0;border-radius:18px;overflow:hidden}
@media(max-width:760px){.divi-modern .dc-page{padding:16px 8px}.divi-modern .dc-heading h1{font-size:23px}.divi-modern .dc-form input,.divi-modern .dc-form select,.divi-modern .dc-form textarea{font-size:16px}.divi-modern .dc-admin-tabs{gap:8px}}
/* Current Messenger 7 dock must sit above navigation, never cover it. */
@media(max-width:760px){
 html body.divi-modern #multiChatContainer>.floating-chat-box.chat-minimized,
 html body.divi-modern #multiChatContainer>.floating-chat-box.chat-minimized.m70-mobile-inactive,
 html body.divi-modern #multiChatContainer>.floating-chat-box.chat-minimized.m70-stage7-active{
  position:fixed!important;inset:auto 8px auto 8px!important;
  top:var(--m70-minimized-dock-top,calc(var(--divi-window-height,100vh) - 130px))!important;
  bottom:auto!important;left:8px!important;right:8px!important;
  height:54px!important;min-height:54px!important;max-height:54px!important;
  width:auto!important;max-width:none!important;min-width:0!important;pointer-events:auto!important;
 }
 html body.divi-modern #multiChatContainer>.floating-chat-box.chat-minimized>.chat-popup-header{
  height:54px!important;min-height:54px!important;max-height:54px!important;box-sizing:border-box;padding:6px 10px!important;
 }
}

/* v24 cinema hierarchy: viewing first, secondary actions below. */
.dc-film-page>.dc-nav,.dc-film-page>.dc-heading{display:none}
.dc-film-page .dc-film-heading{margin:0 0 16px}.dc-film-page .dc-film-heading h2{font-size:clamp(24px,4vw,36px);line-height:1.2;margin:12px 0 6px}
.dc-film-page .dc-film-heading p{color:#66738b;margin:0}.dc-film-page .dc-version-form{display:flex;align-items:end;flex-wrap:wrap;gap:10px;margin:12px 0}
.dc-film-page .dc-film-player{width:100%;background:#090d14;border-radius:18px;overflow:hidden}.dc-film-page .dc-film-player video{display:block;width:100%;max-height:76vh;aspect-ratio:16/9;object-fit:contain}
.dc-film-page .dc-share-actions{padding:16px 0;border-bottom:1px solid #e4e9f1;margin:0 0 20px}
.dc-films .dc-film{border:1px solid #e3e9f2;border-radius:18px;background:var(--card-bg,#fff);box-shadow:0 4px 18px #24355508}
.dc-films .dc-film>div{padding:16px}.dc-films .dc-film h3{margin:3px 0;font-size:18px}.dc-films .dc-film p{margin:0;color:#67758c;font-size:13px}
.dc-films .dc-film-action{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}.dc-films .dc-film-action .dc-btn{border-radius:12px;min-height:44px;padding:10px 12px;font-size:13px}
.security-older-devices{width:100%}.security-older-devices>summary{cursor:pointer;padding:14px;font-weight:600;color:#315dcc}
.profile-about-grid>.life20-settings{grid-column:1/-1;width:100%;min-width:0;box-sizing:border-box}
@media(max-width:560px){.dc-films{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.dc-films .dc-film>div{padding:10px}.dc-films .dc-film-action{grid-template-columns:1fr}.dc-films .dc-film h3{font-size:15px}.dc-film-page .dc-share-actions .dc-btn{flex:1;justify-content:center}.dc-film-page .dc-film-player{border-radius:12px}}

[data-profile-upload-choice]{position:absolute;right:0;top:100%;z-index:20;min-width:240px;padding:14px;border:1px solid #dce4f0;border-radius:14px;box-shadow:0 12px 36px #16274326;background:#fff;color:#182741}[data-profile-upload-choice][hidden]{display:none}[data-profile-upload-choice] label{display:flex!important;align-items:center;gap:8px;font-size:13px;width:auto!important;height:auto!important;background:none!important}[data-profile-upload-choice] .btn{margin-top:10px;width:100%}

.divi-memories-card{margin:16px 0;padding:20px;border:1px solid #e0e6f1;border-radius:18px;background:linear-gradient(120deg,#f0f4ff,#fff);color:#20324c}.divi-memories-card h3{margin:0 0 6px}.divi-memories-card>p{font-size:13px;color:#64718a}.divi-memory-item{display:flex;flex-wrap:wrap;gap:8px 14px;padding:14px 0;border-top:1px solid #e0e6f1;color:inherit;text-decoration:none}.divi-memory-item time{font-size:12px;color:#61708b}.divi-memory-item strong{flex:1;min-width:130px}.divi-memory-item>span{font-size:12px;color:#315dcc}

.dc-catalog-page>.dc-heading{display:none}.dc-cinema-hero h1{font-size:clamp(24px,4vw,36px);line-height:1.25;margin:10px 0}.dc-catalog-page .dc-film-action .dc-share-result:empty{display:none}
