/* Compact mobile controls; the central brand shares the capsule row. */
@media(max-width:920px){
 body .topbar.mcv24b-mobile-header{--mcv27a-capsule:56px;height:calc(var(--mcv27a-capsule) + env(safe-area-inset-top,0px))!important;min-height:0!important;grid-template-columns:94px minmax(0,1fr) 70px 36px!important;grid-template-rows:56px!important;gap:4px!important;padding:env(safe-area-inset-top,0px) 8px 0!important;align-items:center!important}
 body .topbar.mcv24b-mobile-header>#mcv-mobile-brand-stack{grid-column:2!important;grid-row:1!important;align-self:center!important;gap:1px!important;width:100%!important;max-width:100%!important;min-width:0!important;height:56px!important;justify-content:center!important}
 body .topbar.mcv24b-mobile-header>#mcv-mobile-brand-stack img{width:40px!important;height:40px!important;flex:0 0 40px!important}
 body .topbar.mcv24b-mobile-header>#mcv-mobile-brand-stack span{font-size:14px!important;line-height:14px!important;letter-spacing:-.055em!important}
 body .mcv27-mobile-left{grid-column:1!important;grid-row:1!important;width:94px!important;height:56px!important;padding:4px!important;gap:4px!important}
 body .mcv27-mobile-avatar{width:36px!important;height:36px!important;flex:0 0 36px!important}
 body .mcv24b-mobile-menu{width:42px!important;min-width:0!important;height:44px!important}
 body .mcv24b-mobile-controls{grid-column:3!important;grid-row:1!important;width:70px!important;height:56px!important;justify-self:end!important}
 body .mcv24b-mobile-controls>button{width:34px!important;min-width:0!important;height:52px!important;padding:6px!important}
 body .mcv27-mobile-bell{grid-column:4!important;grid-row:1!important;width:36px!important;height:56px!important;padding:6px!important;justify-self:end!important}
 body .mcv24b-mobile-header svg{width:21px!important;height:21px!important}
}
@media(min-width:601px) and (max-width:920px){body .topbar.mcv24b-mobile-header{grid-template-columns:112px minmax(0,1fr) 88px 42px!important}.mcv27a-featured{max-width:760px}}
.mcv24a-feed-heading{padding-block:10px!important;min-height:0!important;margin-block:0 8px!important}
.mcv24a-feed-heading h1,.mcv24a-feed-heading h2{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:5px!important}
.mcv24a-feed-heading .mcv-music-signal{margin:0;display:inline-flex;height:24px;flex:none}
.mcv24a-feed-heading p{margin-block:3px!important}
.mcv24a-feed-heading h1{font-size:28px;line-height:1.17;letter-spacing:-.04em;margin:3px 0 5px}
@media(max-width:600px){.mcv24a-feed-heading h1{font-size:25px}}
.mcv27a-featured{margin:12px 0;min-width:0}.mcv27a-featured>h2{font-size:18px;margin:0 0 8px}
.profile-sections>div:first-child{display:flex;flex-direction:column}.mcv27a-biography{order:2;margin-top:18px}
.mcv-recovery{position:fixed;z-index:99999;bottom:20px;left:50%;transform:translateX(-50%);width:min(94vw,600px);background:#10271f;color:#f0f8ed;border:1px solid #b9dc7b;border-radius:15px;padding:18px;box-shadow:0 8px 50px #0008}
.mcv-recovery[hidden]{display:none!important}.mcv-recovery a,#mcv-static-welcome a{color:#d1f48d;text-decoration:underline}.mcv-recovery p{margin:8px 0}
.mcv27a-tags{border:1px solid #486747;border-radius:12px;padding:12px;margin:12px 0}.mcv27a-tags legend{padding:0 5px}.mcv27a-tag-options{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.mcv27a-tag-options label{display:flex;align-items:center;gap:6px;border:1px solid #526c4b;border-radius:100px;padding:8px 10px;min-height:40px;cursor:pointer}.mcv27a-tag-options label:has(input:checked){background:#294c30;border-color:#cef273}.mcv27a-tag-options input{width:18px!important;min-height:18px!important;accent-color:#bada72}.mcv27a-tag-options label[hidden]{display:none}
:focus-visible{outline:2px solid #dcff91;outline-offset:3px}#mcv-static-welcome{line-height:1.7}
.mcv27a-profile-name{font-size:clamp(24px,5vw,38px);line-height:1.15;margin:8px 0}
/* Network loading remains informative without hiding the platform introduction. */
#mcv17-loading{inset:auto 12px 82px auto!important;width:min(340px,calc(100vw - 24px));max-height:55vh;padding:0!important;background:none!important;display:block!important;pointer-events:none}
#mcv17-loading .mcv17-loading-card{padding:14px;gap:9px;pointer-events:auto}
#mcv17-loading .mcv17-loading-fact{display:none}
/* Rev2: preserve the approved central brand/header, slim only the control pills. */
@media(max-width:920px){
 body .mcv27-mobile-left,body .mcv24b-mobile-controls,body .mcv27-mobile-bell{height:40px!important;min-height:40px!important;align-self:center!important}
 body .mcv27-mobile-left{padding:3px!important;gap:5px!important}
 body .mcv27-mobile-avatar{width:30px!important;height:30px!important;flex:0 0 30px!important}
 body .mcv24b-mobile-menu{height:34px!important;min-height:34px!important;padding:5px!important}
 body .mcv24b-mobile-controls>button{height:36px!important;min-height:36px!important;padding:5px!important}
 body .mcv27-mobile-bell{padding:6px!important}
}
/* Rev2: the three desktop brand components grow by exactly 18%. */
@media(min-width:921px){
 body:not(.mcv24b-sidebar-compact) .side .brand{margin-inline:-8px;gap:8px!important}
 body:not(.mcv24b-sidebar-compact) .side .brand b{font-size:28.32px!important}
 body:not(.mcv24b-sidebar-compact) .side .brand small{font-size:7.67px!important;max-width:none}
 body:not(.mcv24b-sidebar-compact) .side .brand-mark-image{width:49.56px!important;height:49.56px!important;flex-basis:49.56px!important}
}
@media(min-width:921px) and (max-width:1180px){
 body:not(.mcv24b-sidebar-compact) .side .brand b{font-size:24.78px!important}
 body:not(.mcv24b-sidebar-compact) .side .brand small{font-size:6.844px!important}
 body:not(.mcv24b-sidebar-compact) .side .brand-mark-image{width:42.48px!important;height:42.48px!important;flex-basis:42.48px!important}
}
body.mcv-on-connect #screen.content{padding:20px clamp(16px,2.4vw,32px) 24px!important;width:100%;box-sizing:border-box}
.mcv27-connect .card,.mcv27-connect .v21-grid,.mcv27-connect .actions,.mcv27-connect .v21-widget{min-width:0;max-width:100%;box-sizing:border-box}
.mcv27-connect .actions>*{min-width:0;white-space:normal;overflow-wrap:anywhere}
@media(max-width:920px){body.mcv-on-connect #screen.content{padding:16px 14px 20px!important}}
@media(max-width:650px){.mcv27-connect>.v21-grid{grid-template-columns:minmax(0,1fr)!important}.mcv27-connect>.v21-grid>.card{grid-column:auto!important}}
#world-filter{padding:14px!important;margin-block:10px!important}#world-filter .form-row{gap:10px;margin-bottom:10px}#world-filter .field{margin-block:0}#world-filter input{min-height:42px}#world-filter>.button{min-height:40px;padding-block:8px}
.mcv-document-editor{border:1px solid #557744;border-radius:14px;padding:14px;margin-bottom:18px;display:grid;gap:12px}
.mcv-document-editor legend{font-weight:700;padding:0 8px}.mcv-document-editor label{display:grid;gap:5px}.mcv-document-editor input,.mcv-document-editor select{width:100%;min-width:0;box-sizing:border-box}
.mcv-document-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mcv-document-photo-preview{width:100%;max-width:220px;aspect-ratio:9/16;object-fit:cover;filter:grayscale(1);background:#10251c;border:1px solid #7ca060;border-radius:10px;display:block;margin:8px auto}
.mcv-document-editor[data-format="cv"] .mcv-document-photo-preview{width:150px;aspect-ratio:1;border-radius:50%}
.mcv-document-editor .mcv-document-check{display:flex;align-items:center;gap:8px}.mcv-document-check input{width:20px;min-height:20px}
@media(max-width:550px){.mcv-document-photos{grid-template-columns:1fr}.mcv-document-editor{padding:12px}}

.mcv-document-photo-preview[hidden]{display:none!important}

/* Rev3: source selection stays in the site; external navigation is explicit. */
.mcv27-listen-panel{display:grid;gap:14px;min-width:0}.mcv27-listen-panel>p{margin:0;line-height:1.6}
.mcv27-listen-sources{display:flex;gap:8px;flex-wrap:wrap}.mcv27-listen-sources .button{min-width:0;overflow-wrap:anywhere}
.mcv27-listen-current{container-type:inline-size;border:1px solid #587846;border-radius:16px;padding:16px;background:#0a1713;min-width:0;overflow:hidden;--ph1:#c6ee80}
.mcv27-listen-current h3{margin:0 0 12px}.mcv27-listen-current .poster{display:block;position:relative;min-height:330px;height:auto;width:100%;padding:0!important;aspect-ratio:auto!important;background:transparent}
.mcv27-listen-current .mcv24b-media{position:relative!important;inset:auto!important;width:100%;min-height:300px;justify-content:center;gap:12px}
.mcv27-listen-current .mcv24b-player{min-height:180px;max-height:none}.mcv27-listen-current .mcv24b-video{height:300px!important}
.mcv27-listen-current .mcv24b-meta-player{height:560px!important;min-height:360px;flex:none}
.mcv27-listen-current .mcv24b-provider-note,.mcv27-listen-current .mcv24b-play-note{font-size:13px;line-height:1.5;display:block;margin-block:10px}
.mcv27-listen-current .mcv24b-close,.mcv27-listen-current .mcv24b-player-help{font-size:12px;min-height:36px;padding:8px}
.mcv27-listen-current .mcv24b-play{font-size:16px;min-height:44px;padding:12px 20px}.mcv27-listen-external{margin-top:12px;font-size:13px;max-width:100%;white-space:normal}

.mcv27-listen-current .mcv24b-linkedin-player{height:650px!important;max-height:none;flex:none}

/* Rev4: readable documents and portrait players in the same returnable panel. */
.mcv27-listen-current .mcv42-document-player{height:min(75vh,760px)!important;min-height:480px;max-height:none;flex:none;background:#fff}
.mcv27-listen-current .mcv42-portrait-player{height:640px!important;max-height:none;flex:none}
.mcv42-preview-message{font-size:14px;line-height:1.6;padding:14px;border:1px solid #789658;border-radius:10px;background:#102219;color:#eef6e8}

/* Optional covers remain hidden until the specific cover preference is enabled. */
img[data-mcv-cover-src][hidden]{display:none!important}
