/* UA One V5.6: one UA stylesheet after WoWonder functional base CSS. */
/* UA One V5 — single UA-owned visual layer. This stylesheet is intentionally last. */
:root{--ua5-blue:#0969e8;--ua5-deep:#073d9f;--ua5-sky:#14b4f1;--ua5-ink:#13234a;--ua5-muted:#62718c;--ua5-bg:#f4f8ff;--ua5-card:#fff;--ua5-line:#e1e9f5;--ua5-shadow:0 6px 26px rgba(19,55,118,.075);--ua5-radius:16px}
html[data-ua-theme="dark"],html[data-ua-theme="night"]{--ua5-bg:#0e1729;--ua5-card:#18253a;--ua5-ink:#f5f8ff;--ua5-muted:#bac7db;--ua5-line:#31445f;--ua5-shadow:0 8px 20px rgba(0,0,0,.17)}
html[data-ua-theme="blue"]{--ua5-bg:#e9f4ff;--ua5-card:#f8fcff;--ua5-ink:#11345a;--ua5-muted:#466f92;--ua5-line:#cde3f8}
body.ua-one,body.ua-one-hub-page{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ua5-ink);background:var(--ua5-bg)}
body.ua-one *,body.ua-one-hub-page *{box-sizing:border-box}
body.ua-one :is(button,input,select,textarea),body.ua-one-hub-page :is(button,input,select,textarea){font:inherit}
body.ua-one a,body.ua-one-hub-page a{transition:color .16s,background .16s,box-shadow .16s}
body.ua-one a:focus-visible,body.ua-one button:focus-visible,body.ua-one input:focus-visible,body.ua-one-hub-page a:focus-visible{outline:3px solid #56bafa;outline-offset:2px}
/* Strong, single icon family. Distinct semantic colours but identical geometry. */
.ua-one-icon{display:inline-grid!important;place-items:center;flex:0 0 auto;width:32px!important;height:32px!important;border-radius:10px;background:linear-gradient(145deg,#39b6ff,#0863dd);color:#fff!important;vertical-align:middle;box-shadow:0 3px 9px rgba(27,91,186,.15);overflow:hidden}
.ua-one-icon .ua-one-icon-glyph{width:19px!important;height:19px!important;display:block!important;fill:none!important;stroke:#fff!important;stroke-width:2!important}
.ua-one-icon--reels{background:linear-gradient(140deg,#f94eaa,#ac28d9)}
.ua-one-icon--market{background:linear-gradient(140deg,#a644ef,#f03bb2)}
.ua-one-icon--shop{background:linear-gradient(140deg,#ffc64a,#f46b27)}
.ua-one-icon--business,.ua-one-icon--jobs{background:linear-gradient(140deg,#1cb7e9,#195bd0)}
.ua-one-icon--messages{background:linear-gradient(140deg,#50a2ff,#4358d5)}
.ua-one-icon--community,.ua-one-icon--groups{background:linear-gradient(140deg,#21ced1,#0a83d0)}
.ua-one-icon--ai{background:linear-gradient(140deg,#bf74ff,#7147e7)}
.ua-one-icon--calendar,.ua-one-icon--events{background:linear-gradient(140deg,#bd67ff,#7b46ef)}
.ua-one-icon--notifications{background:linear-gradient(140deg,#ffc84b,#f4950c)}
.ua-one-icon--saved,.ua-one-icon--pages{background:linear-gradient(140deg,#ae6bec,#7239cc)}
.ua-one-icon--safety{background:linear-gradient(140deg,#26c8e6,#087ea9)}
.ua-one-icon--search,.ua-one-icon--menu,.ua-one-icon--add,.ua-one-icon--home{background:linear-gradient(140deg,#31bbff,#0b65ea)}
/* header: only one global Create action; messages + bell are right-side controls */
body.ua-one .navbar.navbar-default.navbar-fixed-top{background:linear-gradient(105deg,#0a3c9d,#0b72ef)!important;border:0!important;box-shadow:0 4px 18px rgba(16,68,155,.18);min-height:66px;z-index:1060}
body.ua-one .header-fixed1000>.container-fluid{display:flex;align-items:center;gap:14px;max-width:1600px;margin:auto;min-height:66px;padding:0 18px}
body.ua-one .wow_hdr_innr_left{display:flex;align-items:center;gap:12px;flex:0 0 auto}
body.ua-one .wow_hdr_innr_left>.nav.navbar-nav>li:first-child{display:none}
body.ua-one .header-brand img{max-width:156px;max-height:46px;object-fit:contain}
body.ua-one #wo_home_search{display:block!important;min-width:180px;flex:1;max-width:650px;margin:0 auto!important;padding:0}
body.ua-one #navbar-searchbox,body.ua-one #wo_home_search form{margin:0!important;padding:0!important;width:100%!important}
body.ua-one #wo_home_search .inner-addon{position:relative!important;display:flex;align-items:center;background:#f7faff!important;border:1px solid #d8e7fa!important;border-radius:999px!important;min-height:42px;width:100%!important;box-shadow:none!important}
body.ua-one #wo_home_search .inner-addon .ua-one-icon{box-shadow:none;width:29px!important;height:29px!important;margin:0 8px;}
body.ua-one #wo_home_search input.search-input,body.ua-one #wo_home_search input.form-control{background:transparent!important;color:#123358!important;-webkit-text-fill-color:#123358!important;border:0!important;box-shadow:none!important;min-width:0!important;width:100%!important;padding:8px 10px!important;min-height:40px!important;}
body.ua-one #wo_home_search input::placeholder{color:#657d9e!important;opacity:1}
body.ua-one #head_menu_rght{display:flex;align-items:center;gap:8px;margin:0!important;padding:0!important}
body.ua-one #head_menu_rght>li>a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;min-width:40px;color:#fff!important;padding:5px 7px!important;background:transparent}
body.ua-one #head_menu_rght .ua-one-icon{background:rgba(255,255,255,.13)!important;box-shadow:none;border:1px solid rgba(255,255,255,.2)}
body.ua-one #head_menu_rght .ua-one-icon svg{stroke:#fff!important}
body.ua-one .head_name_links>.dropdown-toggle{display:inline-flex!important;align-items:center;gap:7px;border-radius:999px;background:#fff!important;color:#0753ca!important;padding:5px 13px!important;min-height:42px}
body.ua-one .head_name_links>.dropdown-toggle .ua-one-icon{width:27px!important;height:27px!important;background:#0d6fe8!important;box-shadow:none}
body.ua-one .head_name_links>.dropdown-toggle span:not(.ua-one-icon){font-size:13px;font-weight:750}
body.ua-one .new-update-alert{border-radius:999px;border:2px solid #0a4bb8;background:#fa3976!important;font-weight:750;min-width:20px}
body.ua-one :is(.dropdown-menu,.notifications-dropdown){border-radius:14px!important;box-shadow:var(--ua5-shadow);border:1px solid var(--ua5-line)}
/* One desktop sidebar, with the same PHP nav component on mobile. */
body.ua-one .ua-one-sidebar{background:var(--ua5-card)!important;border:1px solid var(--ua5-line)!important;border-radius:var(--ua5-radius)!important;padding:12px 8px!important;box-shadow:var(--ua5-shadow)!important;min-width:0;width:100%}
body.ua-one .ua-one-sidebar .ua-one-menu-brand{display:flex;align-items:center;gap:10px;padding:8px 12px 12px;color:var(--ua5-ink)}
body.ua-one .ua-one-menu-brand strong{font-size:17px;color:var(--ua5-ink)}
body.ua-one .ua-one-menu-brand small{display:block;font-size:11px;color:var(--ua5-muted)}
body.ua-one .ua-one-brand-orbit{border-radius:12px;background:linear-gradient(135deg,#23b9fc,#085cdd);color:#fff;display:inline-flex;align-items:center;justify-content:center;width:39px;height:39px;font-size:22px;font-weight:850}
body.ua-one .ua-one-nav-profile{display:flex;gap:10px;padding:10px 12px;margin:0 4px 9px;border-radius:12px;background:var(--ua5-bg);color:var(--ua5-ink)}
body.ua-one .ua-one-nav-profile img{width:34px;height:34px;border-radius:50%;object-fit:cover}
body.ua-one .ua-one-nav-profile strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}
body.ua-one .ua-one-nav-profile small{display:block;font-size:10px;color:var(--ua5-muted)}
body.ua-one .ua-one-nav-heading{margin:12px 12px 6px!important;color:var(--ua5-muted);font-weight:800;font-size:10px;letter-spacing:.12em}
body.ua-one .ua-one-nav-links{list-style:none;padding:0!important;margin:0!important;display:block}
body.ua-one .ua-one-nav-links li{margin:2px 0;list-style:none!important}
body.ua-one .ua-one-nav-links li>a,body.ua-one .ua-one-more-links summary{display:flex!important;align-items:center;gap:10px;min-height:42px;padding:4px 11px!important;border-radius:11px;color:var(--ua5-ink)!important;font-size:13px;font-weight:650;text-decoration:none!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.ua-one .ua-one-nav-links li>a:hover,body.ua-one .ua-one-nav-row.is-current>a,body.ua-one .ua-one-more-links summary:hover{background:#dcecff!important;color:#064bad!important}
body.ua-one .ua-one-more-links summary{cursor:pointer;list-style:none}
body.ua-one .ua-one-more-links summary::-webkit-details-marker{display:none}
body.ua-one .ua-one-chevron{margin-left:auto}
body.ua-one .ua-one-nav-label{min-width:0;overflow:hidden;text-overflow:ellipsis}
/* Main social feed: correctly sizes the nested right sidebar wrapper. */
body.ua-one .ua30-social-home{max-width:1570px;margin:84px auto 28px!important;padding:0 14px!important;min-width:0}
body.ua-one .ua30-social-home>.row{display:grid!important;grid-template-columns:minmax(215px,250px) minmax(0,1fr) minmax(245px,280px);align-items:start;gap:17px;margin:0!important}
body.ua-one .ua30-social-home>.row>.leftcol,body.ua-one .ua30-social-home>.row>.middlecol,body.ua-one .ua30-social-home>.row>.rightcol{float:none!important;width:auto!important;max-width:none!important;min-width:0!important;padding:0!important;margin:0!important}
body.ua-one .ua30-social-home>.row>:last-child:not(.middlecol):not(.leftcol){min-width:0!important;width:100%!important}
body.ua-one .ua30-social-home :is(.rightcol,.rightcol>*,.rightcol .col-md-3,.rightcol .col-sm-3,.sidebar-container){max-width:100%!important;min-width:0!important}
body.ua-one .ua30-social-home .middlecol :is(.wow_content,.publisher-box,.post-container,.wo_post_activity,.post_prnt,.wow_home_stories){min-width:0!important;max-width:100%!important}
body.ua-one .ua30-social-home :is(.wow_content,.publisher-box,.post-container,.post_prnt,.wow_home_stories,.user-status-home){background:var(--ua5-card)!important;border:1px solid var(--ua5-line)!important;border-radius:var(--ua5-radius)!important;box-shadow:var(--ua5-shadow)!important;margin-bottom:14px}
body.ua-one .ua30-social-home .middlecol .ua-one-feed-hero{display:none!important}
body.ua-one .ua30-social-home .middlecol img{max-width:100%;height:auto}
body.ua-one :is(.navbar, .page-margin) .panel,body.ua-one .ua30-social-home .panel{border-radius:var(--ua5-radius)}
/* Default content surfaces: other routes keep their existing PHP behaviour. */
body.ua-one .page-margin:not(.ua30-social-home){max-width:1510px;margin-left:auto;margin-right:auto}
body.ua-one :is(.panel,.wow_content,.wow_content_full,.post-container){border-radius:var(--ua5-radius);border-color:var(--ua5-line);box-shadow:var(--ua5-shadow)}
body.ua-one :is(.btn-main,.btn-primary){background:linear-gradient(105deg,#148bf7,#075bd8)!important;color:white!important;border:0!important;border-radius:10px!important}
body.ua-one input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]),body.ua-one textarea{color:var(--ua5-ink);border-color:var(--ua5-line)}
/* Welcome is the only page with large hero artwork; no welcome banner in the signed-in feed. */
body.ua-one:has(.ua-one-welcome-shell){min-height:100dvh;background:linear-gradient(145deg,#e7f4ff,#f8fbff 55%,#eff4ff);color:#0d2756}
.ua-one-welcome-shell{max-width:1180px;width:calc(100% - 34px);margin:76px auto 18px;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(330px,.92fr);gap:18px;align-items:stretch;min-height:min(680px,calc(100dvh - 100px))}
.ua-one-welcome-hero{display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;position:relative;border-radius:22px;background:linear-gradient(135deg,#073d9e,#0d77ed 59%,#664cf3);color:white;padding:28px 32px 0;box-shadow:0 16px 38px rgba(21,65,156,.17)}
.ua-one-welcome-brand{display:flex;align-items:center;gap:12px;text-decoration:none!important;color:#fff!important;font-size:22px;font-weight:800}
.ua-one-welcome-brand .ua-mark{background:#fff;color:#0c5ad8;padding:8px 9px;border-radius:10px;font-size:21px;font-weight:900}
.ua-one-welcome-brand small{display:block;font-size:12px;font-weight:550;opacity:.9}
.ua-one-welcome-copy{margin-top:18px;position:relative;z-index:2}
.ua-one-welcome-copy h1{font-size:clamp(30px,3.4vw,49px);font-weight:850;line-height:1.12;color:#fff!important;margin:12px 0}
.ua-one-welcome-copy p{font-size:15px;color:#f1f7ff;margin-bottom:14px;max-width:560px}
.ua-one-feature-pills{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0;max-width:540px}
.ua-one-feature-pills span{font-weight:650;font-size:12px;border:1px solid rgba(255,255,255,.25);border-radius:999px;padding:7px 10px;background:rgba(255,255,255,.14)}
.ua-one-welcome-photo{position:relative;display:block;width:calc(100% + 64px);margin:0 -32px 0;height:clamp(175px,30dvh,290px);object-fit:cover;object-position:center 35%;border-top:1px solid rgba(255,255,255,.17)}
.ua-one-welcome-auth{min-width:0;align-self:stretch;border-radius:22px;padding:25px 30px 15px;background:#fff;border:1px solid #dae7f6;box-shadow:var(--ua5-shadow);overflow:auto;scrollbar-width:thin;max-height:calc(100dvh - 102px)}
.ua-one-welcome-auth .ua-one-sign-in-title{color:#102d61;font-size:25px;font-weight:850;margin:0 0 5px}
.ua-one-welcome-auth .ua-one-sign-in-intro{color:#65748b;font-size:13px;margin:0 0 13px}
.ua-one-welcome-auth .login_innre,.ua-one-welcome-auth .col-md-6{width:100%!important;float:none!important;padding:0!important;margin:0!important}
.ua-one-welcome-auth .title,.ua-one-welcome-auth .login_innre>.title{display:none!important}
.ua-one-welcome-auth form#login{width:100%!important;max-width:100%!important}
.ua-one-welcome-auth form#login .wow_form_fields{margin:10px 0!important}
.ua-one-welcome-auth form#login .wow_form_fields input{color:#14315c!important;background:#f5f9ff!important;border:1px solid #cddff5!important;border-radius:12px!important;width:100%!important;min-height:44px}
.ua-one-welcome-auth form#login .btn-main{width:100%;padding:12px 16px;min-height:44px}
.ua-one-welcome-auth :is(.footer,.random_users,.download_app,.app_buttons){display:none!important}
.ua-one-welcome-auth .forgot_password,.ua-one-welcome-auth .login_signup_combo{margin:10px 0!important}
.ua-one-welcome-auth .gc-kids-entry{font-size:11px;color:#556f93!important;margin:8px 0}
.ua-one-welcome-auth .ua-one-register-cta{margin-top:12px;padding-top:13px;border-top:1px solid #ebf0f8;text-align:center}
.ua-one-welcome-auth .ua-one-register-cta a{display:inline-flex;align-items:center;justify-content:center;min-height:41px;border-radius:10px;border:1px solid #0c6dec;padding:7px 17px;color:#075ce0;font-weight:800;text-decoration:none}
.ua-one-welcome-version{margin-top:12px;color:#6c7c96;font-size:11px;text-align:center}
/* UA Hub routes share the same visual controls, not the legacy Nova presentation. */
body.ua-one-hub-page{min-height:100vh;background:var(--ua5-bg)!important}
body.ua-one-hub-page .ua-top,html[data-ua-theme] body:has(.ua-side) .ua-top{background:linear-gradient(105deg,#0a3c9d,#0b72ef)!important;color:#fff!important;min-height:65px;padding:8px 25px;display:flex;align-items:center;gap:18px}
body.ua-one-hub-page .ua-top a{color:#fff!important}
body.ua-one-hub-page .ua-side{background:var(--ua5-card)!important;border:1px solid var(--ua5-line)!important;border-radius:var(--ua5-radius)!important;box-shadow:var(--ua5-shadow)}
body.ua-one-hub-page .ua-side nav a{display:flex;align-items:center;gap:10px;min-height:44px;border-radius:10px;color:var(--ua5-ink)!important}
body.ua-one-hub-page .ua-side nav a:hover,body.ua-one-hub-page .ua-side nav a[aria-current="page"]{background:#e1edff!important;color:#0b60d3!important}
body.ua-one-hub-page :is(.ua-panel,.ua-card,.ua-hero,.ua-gadget-tile){background:var(--ua5-card)!important;color:var(--ua5-ink)!important;border:1px solid var(--ua5-line)!important;border-radius:var(--ua5-radius)!important;box-shadow:var(--ua5-shadow)}
body.ua-one-hub-page .ua-hero.ua-nova-banner{display:none!important}
/* Standalone Shops / Guardian / Business retain their routes and original security controls. */
html[data-ua-theme] body:not(.ua-one) :is(.ua-top,.gc-top){background:linear-gradient(105deg,#083e9c,#0877ed)!important;color:#fff}
html[data-ua-theme] body:not(.ua-one) :is(.ua-panel,.gc-panel,.ua-card,.gc-wrap>.panel){border-radius:var(--ua5-radius)!important;border-color:var(--ua5-line)!important;box-shadow:var(--ua5-shadow)}
html[data-ua-theme] body:not(.ua-one) :is(.ua-btn,.gc-btn){border-radius:10px}
@media(min-width:900px){body.ua-one:has(.ua-one-welcome-shell){overflow-y:hidden}}
@media(max-width:1240px){body.ua-one .ua30-social-home>.row{grid-template-columns:210px minmax(0,1fr) 236px;gap:11px}body.ua-one .ua-one-sidebar .ua-one-nav-links li>a{font-size:12px}}
@media(max-width:1060px){body.ua-one .ua30-social-home>.row{grid-template-columns:220px minmax(0,1fr)!important}body.ua-one .ua30-social-home>.row>:last-child:not(.middlecol):not(.leftcol){display:none!important}body.ua-one #wo_home_search{max-width:none}}
@media(max-width:760px){body.ua-one .header-fixed1000>.container-fluid{padding:0 10px;gap:5px}body.ua-one .header-brand img{max-width:110px}body.ua-one .wow_hdr_innr_left{gap:4px}body.ua-one #wo_home_search{max-width:calc(100vw - 190px);min-width:0}body.ua-one #wo_home_search input{font-size:12px!important}body.ua-one #head_menu_rght{gap:0}body.ua-one #head_menu_rght .ua-one-icon{width:28px!important;height:28px!important}body.ua-one #head_menu_rght .user-menu-combination b{display:none}body.ua-one .ua30-social-home{margin-top:78px!important;padding:0 9px!important}body.ua-one .ua30-social-home>.row{display:block!important}body.ua-one .ua30-social-home>.row>.leftcol{display:none!important}body.ua-one .ua30-social-home>.row>.middlecol{width:100%!important}body.ua-one .ua-one-mobile-drawer .ua-one-sidebar{border-radius:0!important;box-shadow:none!important} .ua-one-welcome-shell{margin:66px auto 14px;display:flex;flex-direction:column;min-height:0;height:auto;width:calc(100% - 24px)} .ua-one-welcome-hero{padding:15px 17px 0;min-height:230px}.ua-one-welcome-copy h1{font-size:27px}.ua-one-welcome-photo{width:calc(100% + 34px);margin:0 -17px;height:145px}.ua-one-welcome-auth{max-height:none;overflow:visible;padding:20px}.ua-one-welcome-brand{font-size:18px}body.ua-one:has(.ua-one-welcome-shell){overflow-y:auto!important}}
@media(prefers-reduced-motion:reduce){body.ua-one *,body.ua-one-hub-page *{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
/* Register uses the same single UA layout; the complete registration form remains operable. */
.ua-one-register-shell .ua-one-welcome-auth form#register{width:100%;max-width:100%}
.ua-one-register-shell .ua-one-welcome-auth form#register .wow_form_fields{margin:9px 0}
.ua-one-register-shell .ua-one-welcome-auth form#register input:not([type="checkbox"]):not([type="radio"]){background:#f5f9ff!important;border:1px solid #d2e2f8!important;color:#153260!important;min-height:41px;border-radius:11px;max-width:100%}
.ua-one-register-shell .ua-one-welcome-auth form#register .btn-main{width:100%;min-height:43px}
.ua-one-register-shell .ua-one-welcome-auth .random_users{display:none}
.ua-one-welcome-auth #login .socialLogin svg,.ua-one-welcome-auth #login .social-login svg,.ua-one-welcome-auth #login .social_login svg{width:28px!important;height:28px!important;max-width:28px!important;max-height:28px!important}
.ua-one #head_menu_rght>li.wow_new_search_bbtn{display:none}
.ua-one-hub-page .ua-shell{display:grid!important;grid-template-columns:minmax(205px,240px) minmax(0,1fr);gap:20px;max-width:1440px;margin:18px auto;padding:0 18px;min-width:0}
.ua-one-hub-page .ua-shell>#ua-main{min-width:0}
.ua-one-hub-page .ua-side{padding:15px;align-self:start}
.ua-one-hub-page .ua-side a{padding:8px 11px;display:flex;gap:10px;align-items:center;text-decoration:none}
.ua-one-hub-page .ua-side .ua-one-icon{width:28px!important;height:28px!important}
.ua-one-hub-page .ua-panel{padding:20px!important;margin:0 0 16px}
.ua-one-hub-page .ua-page-heading{font-size:clamp(21px,3vw,32px);font-weight:800;color:var(--ua5-ink)}
.ua-one-hub-page .ua-mobile{display:none}
@media(max-width:760px){.ua-one-hub-page .ua-shell{display:block!important;margin:10px auto;padding:0 10px}.ua-one-hub-page .ua-shell>.ua-side{display:none!important}.ua-one-hub-page .ua-mobile{display:flex;align-items:center;justify-content:space-around;position:fixed;inset:auto 0 0;background:var(--ua5-card);padding:8px 12px;border-top:1px solid var(--ua5-line);z-index:1050}.ua-one-hub-page .ua-mobile a{display:flex;flex-direction:column;align-items:center;color:var(--ua5-ink);font-size:10px;gap:4px;text-decoration:none}.ua-one-hub-page .ua-mobile .ua-one-icon{width:25px!important;height:25px!important}.ua-one-hub-page #ua-main{padding-bottom:76px}.ua-one-register-shell .ua-one-welcome-auth{overflow:visible;max-height:none}}



/* UA One V5.2: unify sidebar-bearing page layouts across Pages, Groups, Saved, etc.
   This targets only page-level rows whose actual child sidebar renders the UA navigation. */
@media(min-width:961px){
body.ua-one .page-margin:not(.ua520-page):has(> .row > .leftcol .ua-one-sidebar){max-width:1470px!important;width:100%!important;min-width:0!important;margin-left:auto!important;margin-right:auto!important;padding:0 12px!important;}
body.ua-one .page-margin:not(.ua520-page):has(> .row > .leftcol .ua-one-sidebar) > .row{display:grid!important;grid-template-columns:minmax(205px,238px) minmax(0,1fr)!important;gap:16px!important;align-items:start!important;margin:0!important;min-width:0!important;}
body.ua-one .page-margin:not(.ua520-page):has(> .row > .leftcol .ua-one-sidebar) > .row:has(> .sidebar-conatnier){grid-template-columns:minmax(195px,232px) minmax(0,1fr) minmax(220px,265px)!important;}
body.ua-one .page-margin:not(.ua520-page):has(> .row > .leftcol .ua-one-sidebar) > .row > :is(.leftcol,.middlecol,.singlecol,.profile-lists,.sidebar-conatnier){min-width:0!important;max-width:none!important;width:auto!important;float:none!important;margin:0!important;padding:0!important;}
body.ua-one .page-margin:not(.ua520-page):has(> .row > .leftcol .ua-one-sidebar) > .row > .sidebar-conatnier :is(.rightcol,.col-md-3){float:none!important;width:100%!important;max-width:100%!important;min-width:0!important;}
}
@media(max-width:960px){
body.ua-one .page-margin:not(.ua520-page):has(> .row > .leftcol .ua-one-sidebar) > .row{display:block!important;margin:0!important;}
body.ua-one .page-margin:not(.ua520-page):has(> .row > .leftcol .ua-one-sidebar) > .row > .leftcol{display:none!important;}
body.ua-one .page-margin:not(.ua520-page):has(> .row > .leftcol .ua-one-sidebar) > .row > :is(.middlecol,.singlecol,.profile-lists){width:100%!important;max-width:100%!important;float:none!important;padding:0!important;}
}
/* Keep the navigation in its own scroll pane, instead of taking multiple screens of page height. */
@media(min-width:761px){body.ua-one .ua-one-sidebar:not(.ua-one-sidebar-mobile){position:sticky!important;top:78px!important;max-height:calc(100dvh - 93px)!important;overflow-y:auto!important;overscroll-behavior:contain!important;scrollbar-width:thin;}}
body.ua-one .ua-one-mobile-drawer .ua-one-sidebar{position:static!important;top:auto!important;max-height:none!important;overflow:visible!important;}
/* Avoid huge user-media images on the UA-owned hub feed. Original aspect ratio is preserved within the card. */
body.ua-one-hub-page .ua-live-post-photo{display:block!important;max-width:100%!important;overflow:hidden!important;border-radius:12px!important;}
body.ua-one-hub-page .ua-live-post-photo img{display:block!important;width:100%!important;max-width:100%!important;max-height:420px!important;height:auto!important;object-fit:contain!important;background:#e9eef6!important;margin:0 auto!important;}
body.ua-one-hub-page .ua-live-post{max-width:100%!important;min-width:0!important;overflow-wrap:anywhere!important;}
/* Shared header wordmark can remain clickable without adding a second Create or notifications icon. */
body.ua-one .ua520-wordmark{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;color:#fff!important;text-decoration:none!important;}
body.ua-one .ua520-wordmark-mark{display:inline-flex;align-items:center;justify-content:center;background:#fff;color:#0868df;font-size:21px;font-weight:900;letter-spacing:-.08em;width:44px;height:37px;border-radius:10px;}
body.ua-one .ua520-wordmark-label{display:inline-flex;flex-direction:column;line-height:1.05;gap:2px;font-size:17px;font-weight:850;}
body.ua-one .ua520-wordmark-label small{font-size:9px;font-weight:600;opacity:.9;letter-spacing:.02em;}
@media(max-width:760px){body.ua-one .ua520-wordmark-label small{display:none;}body.ua-one .ua520-wordmark-label{font-size:13px;}body.ua-one .ua520-wordmark-mark{width:35px;height:31px;font-size:17px;}}
/* Strong legibility in non-home inputs; the page shown on video must never get a black-on-black search box. */
body.ua-one #wo_home_search input.search-input{background:transparent!important;color:#173c71!important;-webkit-text-fill-color:#173c71!important;}
body.ua-one #wo_home_search .inner-addon{background:#f6faff!important;border-color:#b7d4f8!important;}

/* UA One V5.3 shared grid contract. */
/* UA One V5.3: one CSS layout contract shared by all sidebar-bearing templates.
   Identical classes are emitted by the actual page templates; no JavaScript or
   colour-only overlay is required to construct the column grid. */
body.ua-one .ua53-layout-row{display:grid!important;grid-template-columns:228px minmax(0,1fr)!important;gap:16px!important;align-items:start!important;float:none!important;margin:0!important;width:100%!important;max-width:100%!important;min-width:0!important;}
body.ua-one .ua53-layout-row>.ua53-sidebar-column{grid-column:1!important;min-width:0!important;width:228px!important;max-width:228px!important;float:none!important;padding:0!important;margin:0!important;}
body.ua-one .ua53-layout-row>:not(.ua53-sidebar-column){min-width:0!important;max-width:100%!important;width:auto!important;float:none!important;margin-left:0!important;margin-right:0!important;}
body.ua-one .ua53-layout-row>:is(.middlecol,.singlecol,.profile-lists){grid-column:2!important;max-width:100%!important;}
body.ua-one .ua53-layout-row>.ua53-sidebar-column>.ua-one-sidebar{display:block!important;box-sizing:border-box!important;width:100%!important;max-width:228px!important;height:auto!important;max-height:calc(100dvh - 94px)!important;position:sticky!important;top:82px!important;overflow-x:hidden!important;overflow-y:auto!important;scrollbar-width:thin!important;}
body.ua-one .ua53-layout-row .ua-one-nav-links li>a{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important;}
body.ua-one .ua53-layout-row .ua-one-icon{display:inline-grid!important;visibility:visible!important;opacity:1!important;flex:0 0 32px!important;width:32px!important;height:32px!important;}
body.ua-one .ua53-layout-row .ua-one-icon svg{display:block!important;visibility:visible!important;opacity:1!important;stroke:#fff!important;width:19px!important;height:19px!important;}
/* Additional legacy wrappers rendered by AJAX and older routes get the same
   treatment even before their page template is upgraded. */
body.ua-one .row:has(>.leftcol .ua-one-sidebar):not(.ua520-home):not(.ua53-layout-row){display:grid!important;grid-template-columns:228px minmax(0,1fr)!important;gap:16px!important;align-items:start!important;min-width:0!important;margin:0!important;}
body.ua-one .row:has(>.leftcol .ua-one-sidebar):not(.ua520-home):not(.ua53-layout-row)>.leftcol{min-width:0!important;max-width:228px!important;width:228px!important;float:none!important;padding:0!important;}
body.ua-one .row:has(>.leftcol .ua-one-sidebar):not(.ua520-home):not(.ua53-layout-row)>:not(.leftcol){min-width:0!important;max-width:100%!important;width:auto!important;float:none!important;}
@media(min-width:1260px){
 body.ua-one .ua53-layout-row:has(>.sidebar-conatnier){grid-template-columns:228px minmax(0,1fr) minmax(214px,264px)!important;}
 body.ua-one .ua53-layout-row:has(>.sidebar-conatnier)>.sidebar-conatnier{grid-column:3!important;min-width:0!important;}
 body.ua-one .ua53-layout-row:has(>.sidebar-conatnier)>.sidebar-conatnier :is(.rightcol,.col-md-3){width:100%!important;max-width:100%!important;float:none!important;}
}
@media(max-width:1259px){body.ua-one .ua53-layout-row>.sidebar-conatnier{display:none!important;}}
@media(max-width:960px){
 body.ua-one .ua53-layout-row,body.ua-one .row:has(>.leftcol .ua-one-sidebar):not(.ua520-home){display:block!important;width:100%!important;}
 body.ua-one .ua53-layout-row>.ua53-sidebar-column,body.ua-one .row:has(>.leftcol .ua-one-sidebar):not(.ua520-home)>.leftcol{display:none!important;}
 body.ua-one .ua53-layout-row>:is(.middlecol,.singlecol,.profile-lists),body.ua-one .row:has(>.leftcol .ua-one-sidebar):not(.ua520-home)>:not(.leftcol){display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;padding:0!important;}
}
/* Correct the separate UA-owned hub as well, without changing its routes. */
body.ua-one-hub-page .ua-shell{display:grid!important;grid-template-columns:228px minmax(0,1fr)!important;gap:18px!important;max-width:1440px!important;margin-left:auto!important;margin-right:auto!important;}
body.ua-one-hub-page .ua-shell>*{min-width:0!important;}
@media(max-width:760px){body.ua-one-hub-page .ua-shell{display:block!important;}body.ua-one-hub-page .ua-side{display:none!important;}}


/* Previous V5.5 home-grid fix retained */
/* UA One V5.5, scoped strictly to the logged-in Home layout.
   Critically: the outer .container may be only ~1100px even when the viewport is 1648px.
   Size columns from the available container width, not the viewport width. */
body.ua-one .ua520-page{box-sizing:border-box!important;inline-size:100%!important;max-inline-size:1500px!important;container-type:inline-size;}
body.ua-one #contnet #ua520-home{display:grid!important;grid-template-columns:minmax(0,228px) minmax(0,1fr) minmax(0,250px)!important;column-gap:16px!important;align-items:start!important;float:none!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0!important;}
body.ua-one #contnet #ua520-home>.ua520-left{display:block!important;grid-column:1!important;min-width:0!important;width:228px!important;max-width:228px!important;float:none!important;padding:0!important;margin:0!important;}
body.ua-one #contnet #ua520-home>.ua520-feed{display:block!important;grid-column:2!important;min-width:0!important;width:auto!important;max-width:none!important;float:none!important;padding:0!important;margin:0!important;}
body.ua-one #contnet #ua520-home>.ua520-right{grid-column:3!important;min-width:0!important;width:auto!important;max-width:none!important;float:none!important;padding:0!important;margin:0!important;}
body.ua-one #contnet #ua520-home>.ua520-left .ua-one-sidebar{box-sizing:border-box!important;display:block!important;width:100%!important;max-width:228px!important;max-height:calc(100dvh - 90px)!important;overflow-y:auto!important;}
body.ua-one #contnet #ua520-home>.ua520-right :is(.sidebar-conatnier,.rightcol,.col-md-3){width:100%!important;max-width:100%!important;float:none!important;margin:0!important;padding:0!important;}
@container (max-width:1250px){body.ua-one #contnet #ua520-home{grid-template-columns:minmax(0,228px) minmax(0,1fr)!important;}body.ua-one #contnet #ua520-home>.ua520-right{display:none!important;}}
@media(max-width:850px){body.ua-one #contnet #ua520-home{display:block!important;}body.ua-one #contnet #ua520-home>.ua520-left,body.ua-one #contnet #ua520-home>.ua520-right{display:none!important;}body.ua-one #contnet #ua520-home>.ua520-feed{display:block!important;width:100%!important;max-width:100%!important;}}


/* UA One V5.6, corrections grounded in 23-Nov-2026 screen recording.
   Scoped to UA theme only; no global reset of profile/avatar or media controls. */
body.ua-one #ua520-home>.ua520-feed,
body.ua-one #ua520-home>.ua520-feed>.posts_load,
body.ua-one #ua520-home>.ua520-feed #posts-laoded,
body.ua-one #ua520-home>.ua520-feed #posts,
body.ua-one #ua520-home>.ua520-feed .post-container,
body.ua-one #ua520-home>.ua520-feed .post,
body.ua-one #ua520-home>.ua520-feed .panel {min-width:0!important;max-width:100%!important;}
/* Restore the post-header contract: avatar (48px), flexible title, action menu. */
body.ua-one .post-container .post .post-heading{box-sizing:border-box!important;display:flex!important;align-items:flex-start!important;gap:12px!important;min-height:68px!important;max-width:100%!important;padding:14px 16px!important;float:none!important;}
body.ua-one .post-container .post .post-heading>.image{order:0!important;float:none!important;flex:0 0 48px!important;width:48px!important;max-width:48px!important;min-width:48px!important;margin:0!important;padding:0!important;overflow:hidden!important;}
body.ua-one .post-container .post .post-heading>.image .avatar{display:block!important;width:48px!important;height:48px!important;max-width:48px!important;min-width:48px!important;overflow:hidden!important;margin:0!important;border-radius:50%!important;}
body.ua-one .post-container .post .post-heading>.image .avatar img{display:block!important;width:48px!important;height:48px!important;max-width:48px!important;object-fit:cover!important;overflow:hidden!important;border-radius:50%!important;}
body.ua-one .post-container .post .post-heading img.blur_img{display:none!important;}
body.ua-one .post-container .post .post-heading>.meta{order:1!important;display:block!important;float:none!important;flex:1 1 0!important;min-width:0!important;max-width:100%!important;width:auto!important;margin:0!important;padding:0!important;overflow-wrap:anywhere;}
body.ua-one .post-container .post .post-heading>.meta .title{font-size:15px!important;line-height:1.35!important;margin:1px 0 4px!important;white-space:normal!important;overflow-wrap:anywhere!important;}
body.ua-one .post-container .post .post-heading>.meta .title a{margin-right:0!important;line-height:1.35!important;}
body.ua-one .post-container .post .post-heading>.meta .time{margin:3px 0 0!important;line-height:1.4!important;}
body.ua-one .post-container .post .post-heading>.pull-right,
body.ua-one .post-container .post .post-heading>[class~="pull-right"]{order:2!important;flex:0 0 auto!important;float:none!important;margin:0 0 0 auto!important;width:auto!important;position:relative!important;}
body.ua-one .post-container .post .post-description{padding:10px 16px!important;min-width:0!important;overflow-wrap:anywhere!important;}
body.ua-one .post-container .post .post-description p{margin-left:0!important;margin-right:0!important;padding:0!important;white-space:normal!important;line-height:1.5!important;color:var(--ua5-ink)!important;}
body.ua-one .post-container .post :is(.post-file,.post-image,.post-file img,.post-image img){max-width:100%!important;min-width:0!important;}
body.ua-one .post-container .post .post-footer{max-width:100%!important;min-width:0!important;}
/* The original media file may have been removed from server uploads. Provide a nonmisleading fallback. */
body.ua-one .ua56-media-unavailable{display:flex;align-items:center;justify-content:center;min-height:115px;padding:20px;margin:12px 0;background:#f2f5fb;border:1px dashed #b8c7dd;border-radius:12px;color:#60708b;font-weight:600;text-align:center;font-size:13px;}
body.ua-one .ua56-media-unavailable:before{content:'▧';display:block;font-size:28px;margin-right:10px;color:#5585c9;}
/* Post filter icons had no labels, so looked like a broken icon-only strip. */
body.ua-one #filterby-post{display:flex!important;flex-wrap:wrap;gap:6px!important;align-items:center!important;justify-content:flex-start!important;max-width:100%!important;padding:10px 12px!important;margin:10px 0 14px!important;border-radius:14px!important;background:var(--ua5-card)!important;box-shadow:var(--ua5-shadow)!important;}
body.ua-one #filterby-post>.filter-by-li{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;min-width:0!important;min-height:35px!important;width:auto!important;float:none!important;cursor:pointer!important;border:1px solid var(--ua5-line)!important;border-radius:8px!important;padding:5px 9px!important;margin:0!important;background:var(--ua5-bg)!important;}
body.ua-one #filterby-post>.filter-by-li svg{width:16px!important;height:16px!important;flex:none;}
body.ua-one #filterby-post>.filter-by-li .ua56-filter-label{display:inline!important;white-space:nowrap!important;font-size:12px!important;color:var(--ua5-ink)!important;font-weight:600;}
body.ua-one #filterby-post>.filter-by-li:focus-visible{outline:3px solid #4bbaf7!important;outline-offset:2px;}
/* Composer retains its post/editor functionality with only one global Create action. */
body.ua-one .ua-one-quick-links{display:none!important;}
body.ua-one #publisher-box-focus .ua56-open-composer{min-width:76px!important;min-height:37px!important;}
body.ua-one #publisher-box-focus .wo_pub_txtara_combo{min-width:0!important;display:flex;align-items:center;gap:10px;}
body.ua-one #publisher-box-focus .wo_pub_txtara_combo .post-avatar{flex:0 0 38px;width:38px!important;height:38px!important;max-width:38px!important;object-fit:cover;border-radius:50%;}
body.ua-one #publisher-box-focus .wo_pub_txtara_combo .postText{min-width:0!important;flex:1!important;}
/* Avatar and account labels: no broken-image alt text spills into the header. */
body.ua-one .head_name_links img,body.ua-one .ua-one-nav-profile img{max-width:40px!important;max-height:40px!important;object-fit:cover!important;vertical-align:middle!important;}
body.ua-one .head_name_links .dropdown-toggle{min-width:0;max-width:270px;}
body.ua-one .head_name_links .dropdown-toggle *{overflow-wrap:anywhere;}
/* Compact login with no nested scrollbar; the main page may scroll at short heights for accessibility. */
@media (min-width: 900px){
 body.ua-one:has(.ua-one-welcome-shell){overflow-y:auto!important;display:flow-root!important;}
 body.ua-one .ua-one-welcome-shell{min-height:0!important;max-width:1140px!important;align-items:stretch!important;margin-top:70px!important;margin-bottom:16px!important;}
 body.ua-one .ua-one-welcome-auth{overflow:visible!important;max-height:none!important;padding:16px 22px 12px!important;}
 body.ua-one .ua-one-welcome-copy{margin-top:10px!important;}
 body.ua-one .ua-one-welcome-copy h1{font-size:clamp(28px,3vw,40px)!important;margin:8px 0!important;}
 body.ua-one .ua-one-feature-pills{margin:10px 0!important;}
 body.ua-one .ua-one-welcome-photo{height:clamp(125px,21dvh,220px)!important;}
 body.ua-one .ua-one-welcome-auth form#login .wow_form_fields{margin:7px 0!important;}
}
@media(max-width:760px){
 body.ua-one .post-container .post .post-heading{padding:12px!important;gap:9px!important;}
 body.ua-one .post-container .post .post-heading>.image,
 body.ua-one .post-container .post .post-heading>.image .avatar,
 body.ua-one .post-container .post .post-heading>.image .avatar img{width:40px!important;min-width:40px!important;max-width:40px!important;height:40px!important;flex-basis:40px!important;}
 body.ua-one #filterby-post{flex-wrap:nowrap!important;overflow-x:auto!important;justify-content:flex-start!important;}
 body.ua-one #filterby-post>.filter-by-li{flex:0 0 auto!important;}
}
