.search-profile-avatar-fallback[hidden]{display:none!important}.dv56-media-preview{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:6px;margin:12px 0;max-height:340px;overflow:hidden}.dv56-media-preview .gallery-tile{position:relative;min-width:0;min-height:120px;border-radius:10px;overflow:hidden;background:#eff3f9}.dv56-media-preview img,.dv56-media-preview video{width:100%;height:100%;max-height:320px;object-fit:contain;display:block}.search-post-result .dv56-media-preview{max-width:600px}.admin-local-nav [hidden]{display:none!important}.dv56-admin-filter{display:block;max-width:440px;margin:15px 0}.dv56-admin-filter input,.dv56-directory input{padding:12px;border:1px solid #d7e0ee;border-radius:10px;font:inherit;width:100%;box-sizing:border-box}.dv56-directory{padding:20px;margin:20px 0}.dv56-directory form{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.dv56-directory label{display:grid;gap:8px;flex:1;min-width:180px}.dv56-user-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dv56-user{display:flex;gap:12px;align-items:center;border:1px solid #e0e6f1;border-radius:12px;padding:12px;color:inherit;text-decoration:none;min-width:0}.dv56-user img,.dv56-user-initial{width:44px;height:44px;object-fit:cover;border-radius:50%;background:#eef3ff;display:flex;align-items:center;justify-content:center;flex:none}.dv56-user>span:nth-child(2){min-width:0;flex:1}.dv56-user small{display:block;overflow-wrap:anywhere;color:#708098}.dv56-pages{display:flex;gap:15px;align-items:center;margin-top:20px}.moments-highlights{box-sizing:border-box;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:thin;padding:14px 10px!important;background:var(--m-surface,#fff);border:1px solid var(--m-border,#e0e6f1);border-radius:18px;margin:16px 0!important;gap:14px!important}.moments-hl{scroll-snap-align:start;flex:0 0 84px!important;min-width:84px}.moments-hl-label{max-width:84px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}.moments-hl[aria-label]{cursor:pointer}#momentsViewer.moments-own31 #momentReactBtn,#momentsViewer.moments-own31 #momentCommentInput,#momentsViewer.moments-own31 #momentSendBtn{display:none!important}.moments-tag-picker{display:grid;gap:8px;padding:10px;border:1px solid #e0e6f1;border-radius:12px}.moments-tag-results{max-height:180px;overflow:auto}.moments-tag-person{display:flex;gap:8px;align-items:center;min-height:42px}.moments-tag-person input{width:auto!important}.moments-tag-chips{display:flex;gap:6px;flex-wrap:wrap}.moments-tag-chips button{border:0;border-radius:20px;padding:7px 10px;background:#eaf0ff;color:#254b9b}.moments-tag-links{display:flex;gap:7px;flex-wrap:wrap;margin-top:6px}.moments-tag-links a{color:inherit;text-decoration:underline}@media(max-width:600px){.dv56-user-list{grid-template-columns:1fr}.dv56-directory{padding:14px}.dv56-media-preview{max-height:260px}}

/* ========================================================================== */
/* DIVI visual vitality layer — 2026-11-26                                   */
/* Global additive visual-only polish. No layout/behavior/database changes.    */
/* ========================================================================== */
body.divi-modern {
  --dv-accent:#245bdd;
  --dv-accent-2:#6b5cff;
  --dv-accent-soft:#edf2ff;
  --dv-cyan-soft:#eaf9ff;
  --dv-mint-soft:#edf9f3;
  --dv-warm-soft:#fff7ec;
  --dv-rose-soft:#fff1f5;
  --dv-text:#172033;
  --dv-muted:#66758d;
  --dv-border:#dfe6f1;
  --dv-surface:#ffffff;
  --dv-shadow:0 8px 28px rgba(32,51,84,.08);
  --dv-shadow-hover:0 14px 36px rgba(32,51,84,.13);
  background:
    radial-gradient(circle at 12% 0%,rgba(84,132,255,.08),transparent 28rem),
    radial-gradient(circle at 92% 18%,rgba(119,92,255,.055),transparent 24rem),
    linear-gradient(180deg,#f7f9fd 0%,#f3f6fb 46%,#f7f9fc 100%);
  color:var(--dv-text);
}

/* Header / main navigation */
.divi-modern .site-header {
  background:rgba(255,255,255,.92);
  border-bottom:1px solid rgba(218,226,239,.9);
  box-shadow:0 6px 22px rgba(34,54,88,.055);
  backdrop-filter:saturate(145%) blur(14px);
  -webkit-backdrop-filter:saturate(145%) blur(14px);
}
.divi-modern .main-nav a,
.divi-modern .main-nav button,
.divi-modern .nav-item {
  transition:background-color .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.divi-modern .main-nav a:hover,
.divi-modern .main-nav button:hover {
  background:var(--dv-accent-soft);
  color:var(--dv-accent);
}

/* Shared surfaces */
.divi-modern :is(.post-card,.composer-card,.social-section,.settings-card,.app-card,.search-profile-card,.friend-card,.about-card,.profile-content-section,.business-review-card,.business-user-picker,.dv56-directory,.moments-highlights) {
  border-color:var(--dv-border);
  box-shadow:var(--dv-shadow);
}
.divi-modern :is(.post-card,.composer-card,.social-section,.settings-card,.app-card,.search-profile-card,.friend-card,.about-card,.profile-content-section,.business-review-card) {
  background:linear-gradient(180deg,#fff 0%,#fff 76%,#fcfdff 100%);
}
@media (hover:hover) {
  .divi-modern :is(.post-card,.friend-card,.search-profile-card,.app-card) {
    transition:box-shadow .2s ease,border-color .2s ease,transform .2s ease;
  }
  .divi-modern :is(.friend-card,.search-profile-card,.app-card):hover {
    border-color:#cfd9ec;
    box-shadow:var(--dv-shadow-hover);
    transform:translateY(-1px);
  }
}

/* Composer: more inviting, more obvious as the starting action */
.divi-modern .composer-card {
  position:relative;
  overflow:visible;
  border-color:#d9e3f5;
  box-shadow:0 10px 30px rgba(36,91,221,.085);
}
.divi-modern .composer-card::before {
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:4px;
  border-radius:20px 0 0 20px;
  background:linear-gradient(180deg,var(--dv-accent),var(--dv-accent-2));
  pointer-events:none;
}
.divi-modern .composer-toolbar :is(button,.media-picker-trigger,.divi-context-button,.sl-composer-button,.ls-golive-btn) {
  box-shadow:0 2px 8px rgba(25,49,88,.04);
}
.divi-modern .composer-toolbar :is(button,.media-picker-trigger,.divi-context-button):hover {
  border-color:#cdd9ef;
  background:#eef3ff;
}

/* Buttons: keep hierarchy, improve life/feedback */
.divi-modern .btn-primary,
.divi-modern button.btn-primary,
.divi-modern input[type=submit].btn-primary {
  background:linear-gradient(135deg,#245bdd,#4f6ff0);
  border-color:#245bdd;
  box-shadow:0 6px 16px rgba(36,91,221,.22);
}
.divi-modern .btn-primary:hover,
.divi-modern button.btn-primary:hover {
  box-shadow:0 8px 20px rgba(36,91,221,.28);
  filter:saturate(1.05);
}
.divi-modern .btn-light,
.divi-modern .post-action,
.divi-modern .media-picker-trigger {
  transition:background-color .16s ease,color .16s ease,border-color .16s ease,transform .16s ease;
}
.divi-modern .post-action:hover {
  background:#edf2fb;
  color:#34557f;
}
.divi-modern .post-action.liked,
.divi-modern .post-action[aria-pressed=true] {
  background:#eef3ff;
  color:var(--dv-accent);
}

/* Form controls */
.divi-modern :is(input[type=text],input[type=search],input[type=email],input[type=password],input[type=url],input[type=tel],input[type=number],select,textarea,.form-control) {
  border-color:#d8e1ee;
  background:#fbfcff;
  transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease;
}
.divi-modern :is(input[type=text],input[type=search],input[type=email],input[type=password],input[type=url],input[type=tel],input[type=number],select,textarea,.form-control):focus {
  background:#fff;
  border-color:#88a8f8;
  box-shadow:0 0 0 4px rgba(36,91,221,.10);
  outline:none;
}

/* Feed rhythm and content hierarchy */
.divi-modern .feed-heading h2,
.divi-modern .settings-card h2,
.divi-modern .social-section h2 {
  color:#17243a;
  letter-spacing:-.015em;
}
.divi-modern .post-header time,
.divi-modern .comment-bubble time,
.divi-modern small,
.divi-modern .text-muted {
  color:var(--dv-muted);
}
.divi-modern .post-card .post-content {
  color:#26354c;
}
.divi-modern .comments-area {
  background:linear-gradient(180deg,#fbfcfe,#f8faff);
}
.divi-modern .comment-bubble {
  background:#edf2f8;
  border:1px solid #e4eaf3;
}

/* Search / directory / cards */
.divi-modern .search-profile-card:nth-child(4n+1),
.divi-modern .friend-card:nth-child(4n+1) { background:linear-gradient(180deg,#fff,#f8fbff); }
.divi-modern .search-profile-card:nth-child(4n+2),
.divi-modern .friend-card:nth-child(4n+2) { background:linear-gradient(180deg,#fff,#fbf9ff); }
.divi-modern .search-profile-card:nth-child(4n+3),
.divi-modern .friend-card:nth-child(4n+3) { background:linear-gradient(180deg,#fff,#f8fcfa); }
.divi-modern .search-profile-card:nth-child(4n+4),
.divi-modern .friend-card:nth-child(4n+4) { background:linear-gradient(180deg,#fff,#fffaf4); }

/* Profile / business identity surfaces */
.divi-modern .profile-hero {
  box-shadow:0 12px 36px rgba(30,48,79,.10);
  border:1px solid rgba(218,226,239,.9);
}
.divi-modern :is(.profile-tabs,.settings-tabs) {
  background:rgba(255,255,255,.78);
  border-radius:14px;
  padding:5px;
}
.divi-modern :is(.profile-tabs,.settings-tabs) a:hover {
  background:#eef3ff;
  color:var(--dv-accent);
}
.divi-modern :is(.profile-tabs,.settings-tabs) a.active,
.divi-modern :is(.profile-tabs,.settings-tabs) a[aria-current=page] {
  background:linear-gradient(135deg,#eaf0ff,#f0edff);
  color:#224fbf;
}
.divi-modern .account-pill.business,
.divi-modern .divi-business-rating {
  box-shadow:0 2px 8px rgba(23,119,73,.08);
}

/* Empty states should feel intentional, not dead */
.divi-modern :is(.empty-state,.search-hint,.business-user-empty) {
  border:1px dashed #d5dfed;
  background:linear-gradient(135deg,#f8fbff,#fbf9ff);
  color:#62728a;
}

/* Moments / highlights add visual energy */
.divi-modern .moments-highlights {
  background:linear-gradient(135deg,#fff 0%,#f8fbff 48%,#fbf9ff 100%);
}
.divi-modern .moments-hl img,
.divi-modern .moments-hl .avatar-circle {
  box-shadow:0 0 0 2px #fff,0 0 0 4px rgba(79,111,240,.28);
}

/* Desktop rail and auxiliary navigation */
.divi-modern .divi-rail,
.divi-modern .divi-discover {
  background:rgba(255,255,255,.72);
  border-color:rgba(218,226,239,.9);
  box-shadow:0 8px 26px rgba(34,54,88,.04);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
.divi-modern .divi-chat-shortcut:hover { background:#edf3ff; }

/* Mobile bottom nav */
@media(max-width:760px){
  body.divi-modern {
    background:linear-gradient(180deg,#f7f9fd 0%,#f2f5fb 55%,#f7f9fc 100%);
  }
  .divi-modern .mobile-bottom-nav {
    background:rgba(255,255,255,.96);
    border-top-color:#dce4f0;
    box-shadow:0 -8px 28px rgba(27,45,76,.10);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
  }
  .divi-modern .mobile-bottom-nav__item[aria-current=page],
  .divi-modern .mobile-bottom-nav__item.is-active {
    background:linear-gradient(135deg,#edf2ff,#f1edff);
    color:#245bdd;
  }
  .divi-modern .post-card,
  .divi-modern .composer-card,
  .divi-modern .social-section,
  .divi-modern .settings-card {
    box-shadow:0 7px 22px rgba(32,51,84,.075);
  }
}

/* Dark-mode preference: avoid glaring cards if a future/OS wrapper enables it. */
@media (prefers-color-scheme: dark) {
  body.divi-modern.divi-auto-dark {
    --dv-text:#eef3fb;
    --dv-muted:#aab7ca;
    --dv-border:#2c3748;
    --dv-surface:#18202c;
    background:#111823;
  }
}

/* Accessibility: animation stays gentle and fully disabled when requested. */
@media (prefers-reduced-motion:reduce){
  .divi-modern :is(.post-card,.friend-card,.search-profile-card,.app-card,.btn-primary,.post-action) {
    transition:none!important;
    transform:none!important;
  }
}

/* r56.1 — Desktop left rail simplification: profile first, then only primary destinations. */
@media (min-width:1100px){
  .divi-modern .divi-rail{
    padding:12px 10px 10px;
    overflow-y:auto;
    scrollbar-width:thin;
    scrollbar-color:transparent transparent;
  }
  .divi-modern .divi-rail:hover{scrollbar-color:#c8d2e1 transparent}
  .divi-modern .divi-rail::-webkit-scrollbar{width:6px}
  .divi-modern .divi-rail::-webkit-scrollbar-track{background:transparent}
  .divi-modern .divi-rail::-webkit-scrollbar-thumb{background:transparent;border-radius:99px}
  .divi-modern .divi-rail:hover::-webkit-scrollbar-thumb{background:#c8d2e1}

  .divi-modern .divi-rail-profile-card{
    display:flex;
    align-items:center;
    gap:11px;
    min-height:64px;
    padding:10px 10px;
    margin:0 0 12px;
    border:1px solid #dce5f2;
    border-radius:16px;
    color:#26354c;
    background:linear-gradient(135deg,#fff 0%,#f5f8ff 100%);
    box-shadow:0 6px 18px rgba(39,64,105,.07);
    text-decoration:none;
    transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease;
  }
  .divi-modern .divi-rail-profile-card:hover{
    border-color:#cbd9f2;
    box-shadow:0 9px 22px rgba(39,64,105,.11);
    transform:translateY(-1px);
  }
  .divi-modern .divi-rail-profile-card[aria-current=page]{
    border-color:#bfd0ff;
    background:linear-gradient(135deg,#edf3ff,#f7f9ff);
    box-shadow:0 6px 18px rgba(36,91,221,.11);
  }
  .divi-modern .divi-rail-profile-avatar{
    width:42px;
    height:42px;
    flex:0 0 42px;
    display:grid;
    place-items:center;
    overflow:hidden;
    border-radius:50%;
    background:linear-gradient(135deg,#e9efff,#f3efff);
    color:#245bdd;
    box-shadow:0 0 0 3px #fff,0 0 0 4px #dce5f4;
  }
  .divi-modern .divi-rail-profile-avatar img{width:100%;height:100%;object-fit:cover;display:block}
  .divi-modern .divi-rail-profile-avatar .divi-icon{width:21px;height:21px}
  .divi-modern .divi-rail-profile-copy{min-width:0;flex:1}
  .divi-modern .divi-rail-profile-copy strong{
    display:block;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:13px;
    line-height:1.35;
    font-weight:750;
    color:#25344b;
  }
  .divi-modern .divi-rail-profile-copy small{display:block;margin-top:3px;font-size:9.5px;color:#75849b}
  .divi-modern .divi-rail-profile-chevron,.divi-modern .divi-rail-link-chevron{color:#9aa8ba;font-size:20px;line-height:1}

  .divi-modern .divi-rail-section-label{
    padding:4px 10px 7px;
    color:#8996aa;
    font-size:9px;
    line-height:1;
    font-weight:750;
    letter-spacing:.08em;
    text-transform:uppercase;
  }
  .divi-modern .divi-rail-section-label--inside{margin:8px 0 0;padding-top:10px;border-top:1px solid #edf1f6}
  .divi-modern .divi-rail-links{gap:4px}
  .divi-modern .divi-rail-links>a{
    min-height:54px;
    padding:8px 9px;
    gap:10px;
    border-radius:13px;
    color:#526079;
  }
  .divi-modern .divi-rail-links>a:hover{background:#f0f4fb;color:#334760}
  .divi-modern .divi-rail-links>a[aria-current=page]{
    background:linear-gradient(135deg,#e9f0ff,#f0f2ff);
    border-color:#d7e1fa;
    color:#184fc5;
    box-shadow:inset 3px 0 0 #4f6ff0;
  }
  .divi-modern .divi-rail-icon{
    width:34px;
    height:34px;
    flex:0 0 34px;
    border-radius:10px;
    background:#f8faff;
    color:#58708e;
    border:1px solid #edf1f6;
  }
  .divi-modern .divi-rail-links>a:hover .divi-rail-icon,
  .divi-modern .divi-rail-links>a[aria-current=page] .divi-rail-icon{
    background:#fff;
    color:#245bdd;
    border-color:#dbe5fb;
  }
  .divi-modern .divi-rail-icon .divi-icon{width:19px;height:19px}
  .divi-modern .divi-rail-link-copy{min-width:0;flex:1}
  .divi-modern .divi-rail-links strong{font-size:12.5px;font-weight:700;line-height:1.35}
  .divi-modern .divi-rail-links small{
    margin-top:2px;
    font-size:9px;
    line-height:1.35;
    color:#8794a7;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .divi-modern .divi-rail-footer{
    gap:6px 10px;
    padding:14px 10px 4px;
    margin-top:14px;
    font-size:9.5px;
  }
  .divi-modern .divi-rail-footer>span{margin-top:2px;font-size:9px}
}


/* r56.2 — Compact polished desktop rail: all primary destinations visible without an inner scrollbar. */
@media (min-width:1100px){
  .divi-modern .divi-rail{
    padding:9px 9px 8px;
    max-height:none;
    overflow:visible;
    scrollbar-width:none;
  }
  .divi-modern .divi-rail::-webkit-scrollbar{display:none!important}

  .divi-modern .divi-rail-profile-card{
    min-height:54px;
    padding:7px 8px;
    margin-bottom:8px;
    border-radius:14px;
    gap:9px;
  }
  .divi-modern .divi-rail-profile-avatar{
    width:36px;
    height:36px;
    flex-basis:36px;
  }
  .divi-modern .divi-rail-profile-avatar .divi-icon{width:18px;height:18px}
  .divi-modern .divi-rail-profile-copy strong{font-size:12.5px}
  .divi-modern .divi-rail-profile-copy small{margin-top:1px;font-size:8.8px}
  .divi-modern .divi-rail-profile-chevron{font-size:18px}

  .divi-modern .divi-rail-section-label{
    padding:3px 8px 5px;
    font-size:8.5px;
  }
  .divi-modern .divi-rail-section-label--inside{
    margin:5px 0 0;
    padding-top:7px;
  }
  .divi-modern .divi-rail-links{gap:2px}
  .divi-modern .divi-rail-links>a{
    min-height:45px;
    padding:5px 7px;
    gap:8px;
    border-radius:11px;
  }
  .divi-modern .divi-rail-icon{
    width:30px;
    height:30px;
    flex-basis:30px;
    border-radius:9px;
  }
  .divi-modern .divi-rail-icon .divi-icon{width:17px;height:17px}
  .divi-modern .divi-rail-links strong{font-size:11.8px;line-height:1.25}
  .divi-modern .divi-rail-links small{
    margin-top:1px;
    font-size:8.4px;
    line-height:1.25;
  }
  .divi-modern .divi-rail-link-chevron{font-size:16px}

  .divi-modern .divi-rail-footer{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:4px 8px;
    padding:8px 8px 2px;
    margin-top:8px;
    border-top:1px solid #edf1f6;
    font-size:8.5px;
    line-height:1.25;
  }
  .divi-modern .divi-rail-footer>span{
    width:100%;
    margin-top:0;
    font-size:8px;
    opacity:.78;
  }
}

/* Keep the rail inside smaller desktop viewports without bringing back an inner scrollbar. */
@media (min-width:1100px) and (max-height:720px){
  .divi-modern .divi-rail{top:82px;transform:scale(.92);transform-origin:top left}
}

/* ========================================================================== */
/* r56.3 — Calm hierarchy / cognitive-load polish — 2026-11-26              */
/* Screenshot-driven visual-only refinements. No behavior or data changes.    */
/* ========================================================================== */
body.divi-modern{
  --dv-accent:#2f63d9;
  --dv-accent-strong:#2454c6;
  --dv-accent-soft:#eef3ff;
  --dv-text:#1f2937;
  --dv-muted:#718096;
  --dv-border:#e4e9f2;
  --dv-surface:#fff;
  --dv-shadow:0 4px 18px rgba(31,42,68,.045);
  --dv-shadow-hover:0 8px 24px rgba(31,42,68,.075);
  background:
    radial-gradient(circle at 18% -8%,rgba(73,112,209,.045),transparent 30rem),
    linear-gradient(180deg,#f8fafc 0%,#f5f7fb 52%,#f8fafc 100%);
  color:var(--dv-text);
}

/* Header: calm, stable anchor instead of another competing card. */
.divi-modern .site-header{
  background:rgba(255,255,255,.965);
  border-bottom-color:#e7ebf2;
  box-shadow:0 2px 10px rgba(31,42,68,.035);
}
.divi-modern .global-user-search{
  background:#f8fafc;
  border-color:#e2e8f0;
  box-shadow:none;
}
.divi-modern .global-user-search:focus-within{
  background:#fff;
  border-color:#a9bdec;
  box-shadow:0 0 0 3px rgba(47,99,217,.08);
}

/* Center content owns the visual focus. */
@media(min-width:1100px){
  .divi-modern.divi-has-rail .page-container.feed-container{max-width:760px!important}
  .divi-modern .page-container:not(.feed-container){max-width:1080px}
}

/* Shared cards: less framing, more whitespace, clearer hierarchy. */
.divi-modern :is(.post-card,.composer-card,.social-section,.settings-card,.app-card,.search-profile-card,.friend-card,.about-card,.profile-content-section,.business-review-card,.moments-highlights){
  border-color:#e5eaf1;
  box-shadow:var(--dv-shadow);
}
.divi-modern :is(.post-card,.composer-card,.social-section,.settings-card,.profile-content-section,.about-card){
  background:#fff;
}
.divi-modern .post-card{margin-bottom:18px}
.divi-modern .social-section{margin-bottom:18px}
.divi-modern .post-card:hover{box-shadow:0 5px 20px rgba(31,42,68,.055)}

/* Composer is the first clear action, but without a loud blue stripe. */
.divi-modern .composer-card{
  border-color:#dde5f1;
  box-shadow:0 5px 18px rgba(37,84,198,.055);
}
.divi-modern .composer-card::before{
  width:3px;
  background:linear-gradient(180deg,#4d78dc,#6e85d8);
  opacity:.76;
}
.divi-modern .composer-card :is(input,textarea){background:#fbfcfe}

/* Left rail: informative but intentionally quieter than the feed. */
@media(min-width:1100px){
  .divi-modern .divi-rail{
    background:rgba(250,251,253,.88);
    border:1px solid rgba(229,234,241,.88);
    box-shadow:0 3px 16px rgba(31,42,68,.025);
  }
  .divi-modern .divi-rail-profile-card{
    background:#fff;
    border-color:#e2e7ef;
    box-shadow:0 2px 8px rgba(31,42,68,.035);
  }
  .divi-modern .divi-rail-profile-card:hover{transform:none;box-shadow:0 4px 12px rgba(31,42,68,.05)}
  .divi-modern .divi-rail-links>a{
    color:#526176;
    transition:background-color .15s ease,color .15s ease;
  }
  .divi-modern .divi-rail-links>a:hover{background:#f2f5f9;color:#31425a}
  .divi-modern .divi-rail-links>a[aria-current=page]{
    background:#edf3ff;
    border-color:#dae5fb;
    box-shadow:inset 2px 0 0 #4d73d6;
    color:#2454c6;
  }
  .divi-modern .divi-rail-icon{background:#fbfcfe;border-color:#edf1f5;color:#65758b}
  .divi-modern .divi-rail-links>a[aria-current=page] .divi-rail-icon{background:#fff;color:#2f63d9}
}

/* Right discovery rail becomes supportive, not a competing primary panel. */
@media(min-width:1380px){
  .divi-modern .divi-discover{
    opacity:.94;
    background:transparent;
    box-shadow:none;
    border:0;
  }
  .divi-modern .divi-discover-card{
    border-color:#e6eaf0;
    box-shadow:0 3px 14px rgba(31,42,68,.03);
  }
  .divi-modern .divi-discover-feature{
    background:linear-gradient(150deg,#f2f5fd,#fafbfe 72%)!important;
    border-color:#e0e7f3!important;
  }
  .divi-modern .divi-discover-feature h2{color:#26344a}
  .divi-modern .divi-discover-feature p{color:#738096}
  .divi-modern .divi-discover-cta{
    background:#2f63d9;
    box-shadow:none;
  }
}

/* Feed typography: stronger semantic steps, quieter metadata. */
.divi-modern .feed-heading h2{font-size:20px;color:#26344a;font-weight:760;letter-spacing:-.02em}
.divi-modern .feed-heading>span{background:#eef1f6;color:#7a8799;padding:4px 10px}
.divi-modern .post-header time,
.divi-modern .post-header small,
.divi-modern .text-muted{color:#7b8798}
.divi-modern .post-card .post-content{color:#2e3b4f;line-height:1.62}

/* Moments: keep identity, reduce visual noise from many equally-loud circles. */
.divi-modern .moments-highlights{
  background:#fff;
  border-color:#e5eaf1;
  box-shadow:0 3px 14px rgba(31,42,68,.035);
}
.divi-modern .moments-hl img,
.divi-modern .moments-hl .avatar-circle{
  box-shadow:0 0 0 2px #fff,0 0 0 3px rgba(79,111,240,.22);
}

/* Profile: identity first, actions second, statistics third. */
.divi-modern .profile-hero{
  border-color:#e3e8ef;
  box-shadow:0 5px 20px rgba(31,42,68,.055);
}
.divi-modern .profile-name-row{
  background:rgba(255,255,255,.97);
  border-color:rgba(235,238,244,.98);
  box-shadow:0 3px 12px rgba(31,42,68,.06);
}
.divi-modern .profile-name-row h1{color:#1d2939;letter-spacing:-.02em}
.divi-modern .profile-actions .btn{
  background:#f7f9fc;
  border-color:#e2e7ef;
  color:#394960;
  box-shadow:none;
}
.divi-modern .profile-actions .btn:hover{background:#eef3f9;border-color:#d8e0eb;color:#263a55}
.divi-modern .profile-actions .btn-primary{
  background:#2f63d9;
  border-color:#2f63d9;
  color:#fff;
  box-shadow:0 4px 12px rgba(47,99,217,.16);
}
.divi-modern .profile-summary-bar{background:#fbfcfe;border-top-color:#edf0f4}
.divi-modern .profile-summary-bar>div{border-right-color:#edf0f4}
.divi-modern .profile-summary-bar strong{color:#26344a;font-weight:760}
.divi-modern .profile-summary-bar span{color:#7d899b}
.divi-modern .profile-tabs{
  background:#fbfcfe;
  border:1px solid #e7ebf1;
  padding:5px;
}
.divi-modern .profile-tabs a{color:#68758a}
.divi-modern .profile-tabs a:hover{background:#f0f3f7;color:#3f5069}
.divi-modern .profile-tabs a.active,
.divi-modern .profile-tabs a[aria-current=page]{background:#eef3ff;color:#2454c6;box-shadow:none}

/* Information cards: fewer borders, easier scanning. */
.divi-modern .profile-content-section{box-shadow:0 3px 14px rgba(31,42,68,.035)}
.divi-modern .about-card{
  box-shadow:none;
  border-color:#e7ebf1;
  background:#fcfdff;
}
.divi-modern .about-card h3{color:#34445b}

/* Button hierarchy: one primary, calm secondary. */
.divi-modern .btn-light,
.divi-modern .post-action,
.divi-modern .media-picker-trigger{
  background:#f8fafc;
  border-color:#e4e9ef;
  color:#536176;
}
.divi-modern .btn-light:hover,
.divi-modern .post-action:hover,
.divi-modern .media-picker-trigger:hover{background:#f0f3f7;color:#33445e;border-color:#dbe2eb}
.divi-modern .btn-primary,
.divi-modern button.btn-primary,
.divi-modern input[type=submit].btn-primary{
  background:#2f63d9;
  border-color:#2f63d9;
  box-shadow:0 4px 12px rgba(47,99,217,.16);
}
.divi-modern .btn-primary:hover,
.divi-modern button.btn-primary:hover{background:#2859c8;box-shadow:0 5px 14px rgba(47,99,217,.20);filter:none}

/* Inputs: quieter idle state, clearer focus state. */
.divi-modern :is(input[type=text],input[type=search],input[type=email],input[type=password],input[type=url],input[type=tel],input[type=number],select,textarea,.form-control){
  background:#fbfcfe;
  border-color:#e0e5ed;
}
.divi-modern :is(input[type=text],input[type=search],input[type=email],input[type=password],input[type=url],input[type=tel],input[type=number],select,textarea,.form-control):focus{
  border-color:#9ab1e7;
  box-shadow:0 0 0 3px rgba(47,99,217,.08);
}

/* Avoid motion fatigue: hover feedback stays subtle. */
@media(hover:hover){
  .divi-modern :is(.friend-card,.search-profile-card,.app-card):hover{
    transform:none;
    box-shadow:0 6px 18px rgba(31,42,68,.06);
  }
}

@media(max-width:760px){
  body.divi-modern{background:#f7f9fc}
  .divi-modern .post-card,
  .divi-modern .composer-card,
  .divi-modern .social-section,
  .divi-modern .settings-card{box-shadow:0 3px 12px rgba(31,42,68,.04)}
  .divi-modern .profile-actions .btn{min-height:42px}
}

/* ========================================================================== */
/* r56.4 — Gentle scale-up / readability polish — 2026-11-26                */
/* Slightly larger desktop UI without changing interaction or data behavior. */
/* ========================================================================== */
@media (min-width:1100px){
  /* Give the center column a little more visual presence without becoming wide. */
  .divi-modern.divi-has-rail .page-container.feed-container{max-width:800px!important}
  .divi-modern .page-container:not(.feed-container){max-width:1140px}

  /* Header/search readability. */
  .divi-modern .global-user-search{min-height:46px}
  .divi-modern .global-user-search input{font-size:15px}
  .divi-modern .main-nav a,
  .divi-modern .main-nav button{min-width:42px;min-height:42px}

  /* Left rail: 5–7% more comfortable, still compact enough to fit. */
  .divi-modern .divi-rail{width:244px}
  .divi-modern .divi-rail-profile-card{padding:10px 11px;min-height:58px}
  .divi-modern .divi-rail-profile-card img,
  .divi-modern .divi-rail-profile-avatar{width:40px;height:40px}
  .divi-modern .divi-rail-profile-name{font-size:13px;line-height:1.25}
  .divi-modern .divi-rail-profile-subtitle{font-size:10px;line-height:1.25}
  .divi-modern .divi-rail-section-title{font-size:9px;letter-spacing:.08em;margin:10px 8px 5px}
  .divi-modern .divi-rail-links>a{min-height:45px;padding:7px 9px;gap:9px;border-radius:10px}
  .divi-modern .divi-rail-icon{width:34px;height:34px;min-width:34px;border-radius:9px}
  .divi-modern .divi-rail-link-title{font-size:13px;line-height:1.22}
  .divi-modern .divi-rail-link-subtitle{font-size:9.5px;line-height:1.25}
  .divi-modern .divi-rail-link-chevron{font-size:15px}

  /* Primary content cards get more breathing room. */
  .divi-modern :is(.post-card,.composer-card,.social-section,.settings-card,.profile-content-section,.about-card){
    border-radius:18px;
  }
  .divi-modern .post-card{margin-bottom:20px}
  .divi-modern .composer-card{padding-top:4px;padding-bottom:4px}
  .divi-modern .feed-heading h2{font-size:21px}
  .divi-modern .post-card .post-content{font-size:15.5px;line-height:1.66}
  .divi-modern .post-header strong,
  .divi-modern .post-author-name{font-size:14.5px}
  .divi-modern .post-header time,
  .divi-modern .post-header small{font-size:12px}
  .divi-modern .post-action{min-height:42px;padding-left:13px;padding-right:13px}

  /* Profile: clearer identity and larger touch/click targets. */
  .divi-modern .profile-name-row h1{font-size:30px;line-height:1.12}
  .divi-modern .profile-actions .btn{min-height:43px;padding:9px 14px;font-size:14px}
  .divi-modern .profile-summary-bar strong{font-size:17px}
  .divi-modern .profile-summary-bar span{font-size:12px}
  .divi-modern .profile-tabs a{min-height:44px;padding:10px 14px;font-size:14px}
  .divi-modern .about-card{padding:20px}
  .divi-modern .about-card h3{font-size:17px}

  /* Forms/buttons: a little easier on the eyes and hands. */
  .divi-modern :is(input[type=text],input[type=search],input[type=email],input[type=password],input[type=url],input[type=tel],input[type=number],select,textarea,.form-control){
    font-size:15px;
  }
  .divi-modern :is(.btn-primary,.btn-light,button.btn-primary,.media-picker-trigger){min-height:42px}

  /* Moments/highlights scale gently with the rest. */
  .divi-modern .moments-highlights{padding-top:16px!important;padding-bottom:16px!important}
  .divi-modern .moments-hl{flex-basis:88px!important;min-width:88px}
  .divi-modern .moments-hl-label{max-width:88px;font-size:12px}
}

/* Smaller laptops: keep the enlarged system but prevent rail overflow. */
@media (min-width:1100px) and (max-height:760px){
  .divi-modern .divi-rail{width:232px}
  .divi-modern .divi-rail-profile-card{min-height:54px;padding:8px 9px}
  .divi-modern .divi-rail-links>a{min-height:42px;padding-top:6px;padding-bottom:6px}
  .divi-modern .divi-rail-icon{width:32px;height:32px;min-width:32px}
}

/* Mobile was already balanced; only improve legibility slightly. */
@media (max-width:760px){
  .divi-modern .post-card .post-content{font-size:15px;line-height:1.62}
  .divi-modern .feed-heading h2{font-size:20px}
}

/* ========================================================================== */
/* r56.5 — Desktop side panels readability scale-up — 2026-11-26             */
/* Larger left/right rails without changing center content or mobile layout.  */
/* ========================================================================== */
@media (min-width:1100px){
  /* Left navigation: easier to scan and read. */
  .divi-modern .divi-rail{width:258px}
  .divi-modern .divi-rail-profile-card{padding:11px 12px;min-height:62px;border-radius:13px}
  .divi-modern .divi-rail-profile-card img,
  .divi-modern .divi-rail-profile-avatar{width:42px;height:42px}
  .divi-modern .divi-rail-profile-name,
  .divi-modern .divi-rail-profile-copy strong{font-size:14px;line-height:1.28}
  .divi-modern .divi-rail-profile-subtitle,
  .divi-modern .divi-rail-profile-copy small{font-size:10.5px;line-height:1.35}
  .divi-modern .divi-rail-section-title,
  .divi-modern .divi-rail-section-label{font-size:9.8px;letter-spacing:.07em}
  .divi-modern .divi-rail-links>a{min-height:48px;padding:8px 10px;gap:10px;border-radius:11px}
  .divi-modern .divi-rail-icon{width:36px;height:36px;min-width:36px;border-radius:10px}
  .divi-modern .divi-rail-icon .divi-icon{width:19px;height:19px}
  .divi-modern .divi-rail-link-title,
  .divi-modern .divi-rail-links strong{font-size:13.8px;line-height:1.28}
  .divi-modern .divi-rail-link-subtitle,
  .divi-modern .divi-rail-links small{font-size:10.2px;line-height:1.35}
  .divi-modern .divi-rail-link-chevron{font-size:16px}
  .divi-modern .divi-rail-footer{font-size:9.5px;line-height:1.4}

  /* Right discovery panel: larger type and calmer, roomier click targets. */
  .divi-modern .divi-discover{width:286px}
  .divi-modern .divi-discover-card{padding:20px;border-radius:18px}
  .divi-modern .divi-discover-feature{padding:22px}
  .divi-modern .divi-discover-feature .divi-eyebrow{font-size:10.5px;letter-spacing:.08em}
  .divi-modern .divi-discover-feature h2{font-size:22px;line-height:1.28;margin-top:18px}
  .divi-modern .divi-discover-feature p{font-size:13.5px;line-height:1.65}
  .divi-modern .divi-discover-cta{min-height:44px;padding:11px 14px;font-size:13px;border-radius:10px}
  .divi-modern .divi-discover-card>h2{font-size:18px;line-height:1.3;margin-bottom:12px}
  .divi-modern .divi-quick-link{min-height:58px;padding:10px 6px;gap:10px}
  .divi-modern .divi-quick-link>span:first-child{font-size:20px}
  .divi-modern .divi-quick-link>span:nth-child(2){font-size:13.5px;line-height:1.3}
  .divi-modern .divi-quick-link small{font-size:10.5px;line-height:1.35;margin-top:3px}
  .divi-modern .divi-discover-note{font-size:10.5px;line-height:1.45}
}

/* Short desktop viewports: retain readability without reintroducing rail scrolling. */
@media (min-width:1100px) and (max-height:760px){
  .divi-modern .divi-rail{width:246px}
  .divi-modern .divi-rail-profile-card{min-height:56px;padding:8px 10px}
  .divi-modern .divi-rail-profile-card img,
  .divi-modern .divi-rail-profile-avatar{width:38px;height:38px}
  .divi-modern .divi-rail-links>a{min-height:43px;padding:6px 9px}
  .divi-modern .divi-rail-icon{width:32px;height:32px;min-width:32px}
  .divi-modern .divi-rail-link-title,
  .divi-modern .divi-rail-links strong{font-size:13px}
  .divi-modern .divi-rail-link-subtitle,
  .divi-modern .divi-rail-links small{font-size:9.5px}
  .divi-modern .divi-discover{width:270px}
  .divi-modern .divi-discover-card{padding:16px}
  .divi-modern .divi-discover-feature{padding:18px}
  .divi-modern .divi-discover-feature h2{font-size:20px;margin-top:13px}
  .divi-modern .divi-discover-feature p{font-size:12.8px}
  .divi-modern .divi-quick-link{min-height:52px;padding:8px 5px}
}

/* ========================================================================== */
/* r56.6 — Left rail structural repair / right-panel visual parity — 2026-11-26 */
/* Keeps every row inside the rail and mirrors the calm right-card geometry.   */
/* ========================================================================== */
@media (min-width:1100px){
  .divi-modern .divi-rail{
    width:276px;
    padding:14px;
    border:1px solid #e6eaf0;
    border-radius:18px;
    background:#fff;
    box-shadow:0 3px 14px rgba(31,42,68,.035);
    overflow:visible;
    max-height:none;
    box-sizing:border-box;
  }
  .divi-modern.divi-has-rail > main{padding-left:318px}

  .divi-modern .divi-rail *,
  .divi-modern .divi-rail *::before,
  .divi-modern .divi-rail *::after{box-sizing:border-box}

  .divi-modern .divi-rail-profile-card{
    width:100%;
    max-width:100%;
    min-width:0;
    min-height:62px;
    margin:0 0 12px;
    padding:9px 10px;
    gap:10px;
    border:1px solid #e6eaf0;
    border-radius:14px;
    background:#fbfcfe;
    box-shadow:none;
    overflow:hidden;
  }
  .divi-modern .divi-rail-profile-card:hover{
    background:#f6f8fc;
    border-color:#dce3ed;
    box-shadow:none;
  }
  .divi-modern .divi-rail-profile-avatar{
    width:40px;
    height:40px;
    flex:0 0 40px;
  }
  .divi-modern .divi-rail-profile-copy{
    flex:1 1 auto;
    min-width:0;
    overflow:hidden;
  }
  .divi-modern .divi-rail-profile-copy strong{
    display:block;
    max-width:100%;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:14px;
    line-height:1.3;
  }
  .divi-modern .divi-rail-profile-copy small{
    display:block;
    max-width:100%;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:10px;
    line-height:1.35;
  }
  .divi-modern .divi-rail-profile-chevron{
    flex:0 0 16px;
    width:16px;
    text-align:center;
    margin-left:auto;
  }

  .divi-modern .divi-rail-section-label{
    width:100%;
    padding:3px 6px 7px;
    margin:0;
    font-size:9.5px;
    line-height:1.2;
    color:#8996aa;
  }
  .divi-modern .divi-rail-section-label--inside{
    margin:8px 0 4px;
    padding:10px 6px 5px;
    border-top:1px solid #eef1f5;
  }

  .divi-modern .divi-rail-links{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:4px;
    width:100%;
    min-width:0;
  }
  .divi-modern .divi-rail-links>a{
    display:grid;
    grid-template-columns:36px minmax(0,1fr) 16px;
    align-items:center;
    width:100%;
    max-width:100%;
    min-width:0;
    min-height:56px;
    padding:8px 8px;
    gap:10px;
    margin:0;
    border:1px solid transparent;
    border-radius:12px;
    overflow:hidden;
  }
  .divi-modern .divi-rail-links>a:hover{
    background:#f7f9fc;
    border-color:#edf1f5;
  }
  .divi-modern .divi-rail-links>a[aria-current=page]{
    background:#eef3ff;
    border-color:#dce6fb;
    box-shadow:none;
  }
  .divi-modern .divi-rail-icon{
    grid-column:1;
    width:36px;
    height:36px;
    min-width:36px;
    flex:none;
    border-radius:10px;
    justify-self:start;
  }
  .divi-modern .divi-rail-link-copy{
    grid-column:2;
    min-width:0;
    width:100%;
    overflow:hidden;
  }
  .divi-modern .divi-rail-links strong{
    display:block;
    width:100%;
    max-width:100%;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:13.5px;
    line-height:1.3;
  }
  .divi-modern .divi-rail-links small{
    display:block;
    width:100%;
    max-width:100%;
    margin-top:2px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:9.8px;
    line-height:1.35;
  }
  .divi-modern .divi-rail-link-chevron{
    grid-column:3;
    width:16px;
    min-width:16px;
    margin:0;
    text-align:center;
    justify-self:end;
    font-size:16px;
  }
  .divi-modern .divi-rail-footer{
    width:100%;
    max-width:100%;
    display:flex;
    flex-wrap:wrap;
    gap:5px 10px;
    margin:10px 0 0;
    padding:10px 6px 0;
    border-top:1px solid #eef1f5;
    overflow:hidden;
    font-size:9px;
    line-height:1.35;
  }
  .divi-modern .divi-rail-footer a{white-space:nowrap}
  .divi-modern .divi-rail-footer>span{
    width:100%;
    margin:0;
    font-size:8.5px;
  }
}

/* Short desktop screens: compact rows instead of scaling the whole rail. */
@media (min-width:1100px) and (max-height:760px){
  .divi-modern .divi-rail{
    width:266px;
    padding:10px;
    transform:none;
    top:88px;
  }
  .divi-modern.divi-has-rail > main{padding-left:304px}
  .divi-modern .divi-rail-profile-card{min-height:54px;margin-bottom:8px;padding:6px 8px}
  .divi-modern .divi-rail-profile-avatar{width:36px;height:36px;flex-basis:36px}
  .divi-modern .divi-rail-links>a{min-height:46px;padding:5px 7px}
  .divi-modern .divi-rail-icon{width:32px;height:32px;min-width:32px}
  .divi-modern .divi-rail-links{gap:2px}
  .divi-modern .divi-rail-section-label--inside{margin-top:4px;padding-top:6px}
  .divi-modern .divi-rail-footer{margin-top:6px;padding-top:6px}
}
