/* MapleCentral: more of your people, in less of your screen. */
.mn-profile-compact{--portrait:112px;--portrait-drop:32px;--profile-inset:20px;border-radius:20px;box-shadow:0 3px 0 #82173310,0 12px 28px #17283e0b;margin-bottom:12px}
.mn-profile-compact .mn-profile-cover-wrap{height:164px}
.mn-profile-compact .mn-profile-portrait{bottom:-32px;left:20px;width:112px;height:112px}
.mn-profile-compact .mn-profile-photo{width:112px;height:112px;min-width:112px;min-height:112px;border-width:5px;font-size:34px;box-shadow:0 5px 15px #101f3833,inset 0 0 0 2px #fff}
.mn-profile-compact .mn-profile-body{padding:13px 20px 12px}
.mn-profile-compact .mn-profile-identity{padding-left:132px;padding-right:105px;min-height:72px}
.mn-profile-compact .mn-live-label{font-size:7px;letter-spacing:1.3px;margin:0 0 3px;line-height:1.4}
.mn-profile-compact h1{font-size:27px;letter-spacing:-.8px;line-height:1.14;margin:0 0 4px}
.mn-profile-compact .mn-profile-work{font-size:11px;line-height:1.5;margin:0 0 3px!important;gap:5px}
.mn-profile-compact .mn-profile-work .icon{margin-top:1px}
.mn-profile-compact .mn-profile-meta{margin:0;gap:4px;line-height:1.4}
.mn-profile-compact .mn-profile-meta span{font-size:10px;line-height:1.5}
.mn-profile-compact .mn-profile-top-actions{top:13px;right:18px}
.mn-profile-compact .mn-profile-top-actions button{min-height:36px;padding:8px 10px;gap:5px;font-size:10px;border-radius:10px;box-shadow:0 3px 8px #8d153b20}
.mn-profile-compact .mn-profile-about{display:flex;align-items:flex-start;flex-wrap:wrap;gap:4px 14px;margin-top:8px}
.mn-profile-compact .mn-profile-bio{flex:1 1 100%;max-width:none;font-size:13px!important;line-height:1.6!important;margin:0}
.mn-profile-compact .mn-profile-website{min-height:28px;font-size:11px;gap:5px}
.mn-bio-details{flex-basis:100%;font-size:12px;color:var(--muted)}
.mn-bio-details summary{font-size:11px;font-weight:750;color:var(--red);padding:5px 0;cursor:pointer}
.mn-bio-details p{white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0;font-size:13px!important;line-height:1.6!important}
.mn-profile-compact .mn-personal-stats{display:flex;align-items:center;gap:20px;margin-top:9px;padding-top:8px}
.mn-profile-compact .mn-personal-stats>div{display:flex;align-items:baseline;gap:5px;text-align:left;border:0}
.mn-profile-compact .mn-personal-stats strong{font-size:17px;line-height:1.3}
.mn-profile-compact .mn-personal-stats span{font-size:10px}
.mn-profile-compact .mn-profile-private{margin-top:7px;padding-top:3px}
.mn-profile-compact .mn-profile-private summary{padding:4px 0;font-size:10px}
.mn-cover-branding{position:absolute;z-index:2;right:20px;left:156px;bottom:17px;display:flex;flex-direction:column;align-items:flex-end;gap:8px;pointer-events:none}
.mn-cover-branding .mn-cover-logo-link{pointer-events:auto;display:block;max-width:100%}
.mn-cover-branding .mn-cover-logo{display:block;width:auto;height:auto;max-width:154px;max-height:64px;object-fit:contain;background:transparent;filter:drop-shadow(0 2px 5px #071b3240)}
.mn-profile-compact .mn-cover-branding .mn-cover-caption{position:static;max-width:100%;margin:0;padding:7px 10px;color:#fff;font:750 17px/1.35 'Outfit',system-ui,sans-serif;letter-spacing:.03em;text-shadow:0 2px 6px #071326b3;background:#071a3459;border:1px solid #ffffff38;border-radius:9px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;overflow-wrap:anywhere;text-align:right;backdrop-filter:blur(4px)}
.mn-profile-overview{display:grid;grid-template-columns:1.1fr 1fr;align-items:start;gap:12px;margin:0 0 12px;min-width:0}
.mn-profile-overview>*{min-width:0;margin:0!important;height:100%;box-sizing:border-box}
.mn-profile-overview .fn-profile-section,.mn-profile-overview .mcal-profile{padding:14px;border-radius:16px;background:var(--white);border:1px solid var(--line);color:var(--ink)}
.mn-profile-overview .fn-profile-heading{gap:8px;margin:0 0 7px}
.mn-profile-overview .fn-profile-heading small{display:none}
.mn-profile-overview .fn-profile-heading h2{font-size:17px;margin:0;line-height:1.2;letter-spacing:-.5px}
.mn-profile-overview .fn-profile-heading>.btn{font-size:9px;min-height:30px;padding:6px 8px;white-space:nowrap}
.mn-profile-overview .fn-relationship{gap:4px;margin:4px 0}
.mn-profile-overview .fn-relationship-status{font-size:11px;line-height:1.5}
.mn-profile-overview .fn-text{padding:3px 0;min-height:24px;font-size:9px}
.mn-profile-overview .fn-profile-section>.mn-muted{font-size:10px;line-height:1.5;margin:5px 0}
.mn-profile-overview .fn-profile-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-top:8px}
.mn-profile-overview .fn-compact{padding:5px 2px;border:0;background:var(--soft);border-radius:10px;box-shadow:none}
.mn-profile-overview .fn-compact:before{display:none}
.mn-profile-overview .fn-compact .fn-avatar{width:38px;height:38px;border-width:2px;font-size:14px}
.mn-profile-overview .fn-compact .fn-person-open>strong{font-size:9px;line-height:1.4;margin:5px 0 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.mn-profile-overview .fn-compact .fn-person-open>span:last-child{display:none}
.fn-profile-quiet{font:400 11px/1.6 system-ui;color:var(--muted);margin:8px 0 2px;padding:10px;border-radius:10px;background:var(--soft)}
.fn-more-profile summary{padding:7px 0 0;color:var(--red);font-size:10px;font-weight:750;cursor:pointer}
.mn-profile-overview .fn-profile-actions{gap:4px;margin:7px 0}
.mn-profile-overview .fn-profile-actions>button{font-size:9px;min-height:30px;padding:6px 7px}
.mn-profile-overview .mcal-profile>header{flex-wrap:nowrap;align-items:center;gap:6px}
.mn-profile-overview .mcal-profile>header small{display:none}
.mn-profile-overview .mcal-profile h2{font:800 16px/1.2 'Outfit',system-ui;letter-spacing:-.4px;margin:0;color:var(--ink)}
.mn-profile-overview .mcal-profile>header .mcal-secondary{font-size:9px!important;white-space:nowrap;min-height:30px;padding:6px 8px}
.mcal-profile-privacy{font-size:10px;color:var(--muted);margin:5px 0}
.mcal-profile-privacy summary{font-size:9px;cursor:pointer;padding:3px 0}
.mcal-profile-privacy .mcal-zone-note{font-size:10px;line-height:1.5;margin:5px 0}
.mn-profile-overview .mcal-profile .mcal-event{padding:7px 0;gap:8px;min-height:0;animation:none}
.mn-profile-overview .mcal-profile .mcal-event-date{width:30px;flex-basis:30px}
.mn-profile-overview .mcal-profile .mcal-event-date strong{font-size:16px}
.mn-profile-overview .mcal-profile .mcal-event-date span{font-size:8px}
.mn-profile-overview .mcal-profile .mcal-event-main{min-width:0}
.mn-profile-overview .mcal-profile .mcal-event-main>button{font-size:11px;min-height:0;display:block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left}
.mn-profile-overview .mcal-profile .mcal-event-main>p{font-size:9px;line-height:1.4;margin:3px 0}
.mn-profile-overview .mcal-profile .mcal-tags{margin-top:3px}
.mn-profile-overview .mcal-profile .mcal-tags>span{font-size:8px;padding:2px 5px}
.mn-profile-overview .mcal-profile .mcal-open{min-width:28px;min-height:28px;padding:4px}
.mn-profile-overview .mcal-profile>.mcal-primary{font-size:10px!important;min-height:30px;padding:6px 9px;margin-top:7px}
.mn-profile-overview .mcal-profile .mcal-quiet{font-size:11px;padding:8px 0;margin:5px 0;line-height:1.5}
.mn-cover-logo-fields{margin:22px 0 12px;padding:16px;border:1px solid var(--line,#d4dce6);border-radius:14px;background:var(--soft,#f4f6f9)}
.mn-cover-logo-fields legend{font:800 14px/1.4 system-ui;padding:0 5px;color:var(--ink,#17283e)}
.mn-cover-logo-fields>small{font-size:11px;line-height:1.6;color:var(--muted,#52647b)}
.mn-cover-logo-preview:empty{display:none}
.mn-cover-logo-preview{display:flex;align-items:center;justify-content:center;min-height:88px;padding:12px;margin:12px 0;border:1px dashed #bcc9d6;border-radius:12px;background:repeating-conic-gradient(#ecf0f4 0 25%,#fff 0 50%) 0/16px 16px}
.mn-cover-logo-preview img{max-width:180px;max-height:80px;object-fit:contain}
/* Premium posts: depth and shine around the update, with clear readable content. */
body .card.mn-post{position:relative;isolation:isolate;overflow:hidden;padding:19px;border:1px solid #dca3b7;border-radius:20px;background:radial-gradient(ellipse at 100% 0,#ffe5ed66,transparent 55%),linear-gradient(145deg,var(--white,#fff),var(--white,#fff));box-shadow:0 4px 0 #7b15331a,0 12px 30px #32132b12;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;margin-bottom:18px;color:var(--ink)}
body .card.mn-post:before{content:'';position:absolute;top:0;left:16px;right:16px;height:3px;border-radius:0 0 4px 4px;background:linear-gradient(90deg,#aa163c,#f33b61 45%,#ffc27d 77%,#ed1743);box-shadow:0 2px 13px #ef3b5e3b;pointer-events:none}
body .card.mn-post:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(110deg,transparent 34%,#ffffff66 48%,transparent 62%);transform:translateX(-130%);pointer-events:none}
body .mn-post .mn-post-header{gap:10px;padding-bottom:12px;border-bottom:1px solid var(--line)}
body .mn-post .mn-post-header .mn-avatar{width:42px;height:42px;border:2px solid var(--white);border-radius:14px;box-shadow:0 0 0 1px #d9a9bb,0 4px 10px #7b15331a;background:linear-gradient(135deg,#ffe1eb,#f4ecff)}
body .mn-post .mn-post-header .mn-link{color:var(--ink);font-weight:800;font-size:14px}
body .mn-post .mn-post-header small{font-size:10px;line-height:1.6;margin-top:3px}
body .mn-post .mn-post-edit{min-height:30px;padding:6px 9px!important;border:1px solid var(--line)!important;border-radius:8px;font:700 10px/1.4 system-ui!important;background:var(--soft)!important}
body .mn-post .mn-post-body{font-size:15px;line-height:1.7;margin:15px 0;letter-spacing:.005em}
body .mn-post .mn-post-photo{border:1px solid var(--line);border-radius:14px;margin:12px 0;background:var(--soft)}
body .mn-post .mn-attachments video{border:1px solid var(--line);border-radius:14px;background:var(--soft)}
body .mn-post .mn-post-stats{display:flex;align-items:center;gap:8px;font:650 10px/1.6 system-ui;letter-spacing:.02em;color:var(--muted);margin:12px 0 9px}
body .mn-post .mn-post-tools{gap:6px;padding-top:10px}
body .mn-post .mn-post-tools button{position:relative;border:1px solid var(--line);border-radius:10px;background:linear-gradient(180deg,var(--white),var(--soft));box-shadow:0 2px 0 #17283e09;font:700 11px/1.4 system-ui;min-height:36px;padding:8px 10px;color:var(--ink);transition:background .18s ease,transform .18s ease,border-color .18s ease}
body .mn-post .mn-post-tools button:hover{border-color:#b5385a;background:var(--redlight,#fff0f4);transform:translateY(-1px)}
body .mn-post .mn-post-tools button[aria-pressed=true]{border-color:#bd5575;background:linear-gradient(130deg,#ffe6ed,#f9e4f5);color:#901535;box-shadow:inset 0 1px 0 #fff,0 2px 0 #8d153b20}
body .mn-post .mn-comment{border:1px solid var(--line);border-radius:12px;background:var(--soft);margin:10px 0;padding:10px 12px}
body .mn-post .mn-comment-form input{border-radius:11px;background:var(--soft);border-color:var(--line);min-height:40px}
body .mn-post .mn-comment-form>button{border:1px solid #a51f40;border-radius:11px;background:linear-gradient(120deg,#b51c46,#8d1839);color:white;font-size:11px;font-weight:750;padding:8px 12px;min-height:40px}
body .mn-post :focus-visible{outline:3px solid #c83c66;outline-offset:3px}
body.dark .card.mn-post{border-color:#794357;background:radial-gradient(ellipse at top right,#97294424,transparent 65%),var(--white);box-shadow:0 4px 0 #060b132e,0 14px 30px #060b132e}
body.dark .mn-post .mn-post-tools button[aria-pressed=true]{color:#ffe4ec;background:#5a2137;border-color:#af5373;box-shadow:none}
body.dark .mn-profile-overview .mcal-profile{background:var(--white);color:var(--ink)}
@media(min-width:736px){body:has(.mn-profile-compact) .shell{max-width:1240px!important;grid-template-columns:195px minmax(0,960px)!important;gap:20px!important}}
@media(max-width:1000px) and (min-width:736px){.mn-profile-overview{grid-template-columns:1fr}.mn-profile-compact .mn-profile-identity{padding-right:90px}.mn-profile-compact h1{font-size:24px}}
@media(max-width:735px){
 .mn-profile-compact{--portrait:90px;--portrait-drop:26px;--profile-inset:15px;border-radius:17px}
 .mn-profile-compact .mn-profile-cover-wrap{height:145px}
 .mn-profile-compact .mn-profile-portrait{width:90px;height:90px;left:15px;bottom:-26px}
 .mn-profile-compact .mn-profile-photo{width:90px;height:90px;min-width:90px;min-height:90px;border-width:4px;font-size:28px}
 .mn-profile-compact .mn-profile-body{padding:11px 15px}
 .mn-profile-compact .mn-profile-identity{padding:0;min-height:0;margin-top:33px}
 .mn-profile-compact .mn-profile-identity .mn-live-label{font-size:6px;letter-spacing:.7px}
 .mn-profile-compact h1{font-size:24px;line-height:1.1;margin-bottom:4px}
 .mn-profile-compact .mn-profile-top-actions{position:absolute;top:12px;right:15px;margin:0;padding:0}
 .mn-profile-compact .mn-profile-top-actions button{font-size:9px;padding:6px 8px;min-height:31px}
 .mn-profile-compact .mn-profile-about{clear:both;margin-top:8px}
 .mn-profile-compact .mn-profile-work{font-size:10px}
 .mn-profile-compact .mn-profile-meta span{font-size:9px}
 .mn-cover-branding{left:121px;right:13px;bottom:14px;gap:7px}
 .mn-cover-branding .mn-cover-logo{max-width:114px;max-height:46px}
 .mn-profile-compact .mn-cover-branding .mn-cover-caption{font-size:14px;line-height:1.35;letter-spacing:.02em;padding:6px 8px}
 .mn-profile-overview{grid-template-columns:1fr;gap:10px}
 .mn-profile-overview .fn-profile-section,.mn-profile-overview .mcal-profile{padding:13px}
 .mn-profile-overview .fn-profile-grid{gap:7px}
 .mn-profile-overview .fn-compact{padding:7px 3px}
 .mn-profile-overview .fn-compact .fn-avatar{width:40px;height:40px}
 .mn-profile-overview .fn-compact .fn-person-open>strong{font-size:10px}
 body .card.mn-post{padding:15px;border-radius:17px}
 body .mn-post .mn-post-tools{gap:5px}
 body .mn-post .mn-post-tools button{font-size:10px;min-height:40px;padding:8px}
 body .mn-post .mn-post-body{font-size:14px;line-height:1.7}
 .mn-profile-posts .mw-composer{padding:15px;gap:10px}
 .mn-profile-posts .mw-composer h3{font-size:19px}
 .mn-profile-posts .mw-composer p{font-size:11px;margin:6px 0}
}
@media(hover:hover) and (prefers-reduced-motion:no-preference){body .card.mn-post:hover{transform:translateY(-2px);box-shadow:0 5px 0 #7b15331a,0 18px 35px #32132b1c;border-color:#c46d8a}body .card.mn-post:hover:after{animation:mc-post-shine .85s ease-out both}}
@media(prefers-reduced-motion:no-preference){body .card.mn-post{animation:mc-post-arrive .3s ease-out both}@keyframes mc-post-arrive{from{opacity:.65;translate:0 6px}to{opacity:1;translate:0 0}}@keyframes mc-post-shine{from{transform:translateX(-130%)}to{transform:translateX(130%)}}}
@media(prefers-reduced-motion:reduce){.mn-profile-compact *,.mn-post,.mn-post *,.mn-post:after{animation:none!important;transition:none!important;transform:none!important}}
.mn-profile-posts .mw-wall-header{margin:16px 1px 12px;padding-bottom:10px}
.mn-profile-posts .mw-wall-header h2{font-size:23px;margin-top:4px}
.mn-profile-posts .mw-composer{grid-template-columns:36px 1fr;gap:12px;padding:16px;margin-bottom:12px;border-radius:16px;background:linear-gradient(125deg,var(--white),var(--soft));border-color:var(--line);color:var(--ink);box-shadow:0 3px 0 #8d153b0d}
.mn-profile-posts .mw-composer-mark{width:36px;height:36px;font-size:24px;border-radius:11px}
.mn-profile-posts .mw-composer h3{font-size:20px;margin:3px 0 5px;color:var(--ink)}
.mn-profile-posts .mw-composer p{margin:5px 0;font-size:11px;color:var(--muted);line-height:1.5}
.mn-profile-posts .mw-write{display:inline-flex;margin:9px 0;min-height:38px;font-size:11px;padding:9px 12px}
.mn-profile-posts .mw-composer-tools{font-size:9px;gap:7px 12px}
.mn-profile-posts .mw-allow{font-size:10px;margin:10px 0}
.feed-home .mf-entry:has(.mn-post){background:transparent;box-shadow:none;margin-bottom:18px}
.feed-home .mf-entry .card.mn-post{margin-bottom:0}
.feed-home .mf-entry:has(.mf-context) .card.mn-post{border-top-left-radius:0;border-top-right-radius:0}

/* Quiet owner identity control, kept inside Edit profile. */
.mn-profile-identity-control{margin:0 0 18px;padding:12px 14px;border:1px solid #e6c9cd;border-radius:12px;background:#fff8f9;min-width:0}
.mn-profile-identity-control legend{padding:0 5px;font-size:.78rem;font-weight:750;color:#9c1c32}
.mn-profile-identity-control label{margin-top:0!important;font-size:.82rem}
.mn-profile-identity-control select{width:100%;margin:6px 0 8px}
.mn-profile-identity-control small{display:block;line-height:1.45;color:#6f5560;font-size:.75rem}
.mn-posting-as{display:flex;align-items:center;gap:9px;font-size:.85rem;margin:0 0 12px;color:#604a50}
.mn-posting-as .mn-avatar{width:30px;height:30px;font-size:.7rem;flex-shrink:0}
.mn-official-label{display:inline-block!important;margin-left:6px;padding:2px 6px;border-radius:5px;background:#ffe5e9;color:#991d36!important;font-size:.65rem!important;vertical-align:middle}
