/* VICTIDEOUS V41 — Calm Premium UX. Consistent, readable, accessible and responsive. */
:root{color-scheme:dark;--v40-bg:#101722;--v40-surface:#182334;--v40-surface2:#202d40;--v40-ink:#f5f7fa;--v40-muted:#c5d1df;--v40-border:#516176;--v40-violet:#a58cd4;--v40-blue:#91b9f4;--v41-focus:#b4dcff;--v41-soft:#a58cd4}
html{scroll-padding-top:85px}html,body{max-width:100%;overflow-x:clip}
body.v40-private{background:radial-gradient(ellipse at 80% 0%,#253450 0%,transparent 42%),#101722!important;color:#f5f7fa!important;font-family:system-ui,-apple-system,'Segoe UI',Arial,sans-serif;line-height:1.55;letter-spacing:.005em;padding-bottom:calc(90px + env(safe-area-inset-bottom))!important}
body.v40-private :where(h1,h2,h3){letter-spacing:-.018em;line-height:1.2;text-wrap:balance}
body.v40-private :where(p,li,label,.small,.muted,.fine){line-height:1.6}
body.v40-private :where(.muted,.small,.fine,.handle,.empty){color:#c5d1df!important}
body.v40-private >header{background:#151e2c!important;border-bottom:1px solid #435269!important;box-shadow:0 4px 20px #0004!important;min-height:65px}
body.v40-private >header .brand{color:#f5f7fa;text-shadow:none}
body.v40-private :where(.card,.panel,.dialog,.editor,.profile,.v39-panel,.social-panel,.post-composer,.message-history,.section,.box){background:#182334!important;border:1px solid #435269!important;border-radius:18px;box-shadow:0 5px 16px #0003!important}
body.v40-private :where(button,.btn,[role="button"],input[type="submit"],input[type="button"],.action,.primary){background:linear-gradient(180deg,#334663,#233149)!important;border:1px solid #778ba9!important;border-radius:13px!important;color:#f8faff!important;text-shadow:none!important;box-shadow:inset 0 1px #ffffff25,0 3px 8px #0005!important;min-height:44px;line-height:1.25;white-space:normal;overflow-wrap:anywhere;transition:background .16s,transform .16s,border-color .16s}
body.v40-private :where(button,.btn,[role="button"],.action,.primary):hover:not(:disabled){background:linear-gradient(180deg,#425a7f,#2b3d5d)!important;border-color:#c0d5f2!important;transform:translateY(-1px);box-shadow:0 5px 13px #0005!important}
body.v40-private :where(button,.btn,[role="button"],.action,.primary):active:not(:disabled){transform:translateY(1px)}
body.v40-private :where(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),textarea,select){background:#121b29!important;border:1px solid #71839b!important;color:#f5f7fa!important;box-shadow:none!important;line-height:1.5;font-size:16px;max-width:100%}
body.v40-private :where(input,textarea)::placeholder{color:#aebdd0!important;opacity:1}
body.v40-private :where(a,button,input,textarea,select,[tabindex]):focus-visible{outline:3px solid var(--v41-focus)!important;outline-offset:3px!important}
body.v40-private .v40-network-dock{position:fixed;bottom:calc(8px + env(safe-area-inset-bottom));background:#1b2638f7;border:1px solid #64748b;box-shadow:0 6px 24px #0009;backdrop-filter:blur(12px);border-radius:17px;max-width:540px}
body.v40-private .v40-network-dock a{font-size:11px;color:#dce4f0;min-height:54px;gap:3px}
body.v40-private .v40-network-dock a[aria-current="page"]{background:#394a70;color:#fff;box-shadow:inset 0 0 0 1px #8c9bc0}
body.v40-private .v40-network-dock svg{width:21px;height:21px}
/* Image posts: a single clean media surface, no stacked borders, no forced crops. */
body.v40-private :where(.post-media,.profile-media,.post-media-wrap,.media-container){width:100%;max-width:100%;min-width:0;overflow:hidden;border-radius:14px;background:#0d1420!important;box-shadow:none!important}
body.v40-private :where(.post-media,.profile-media,.post-media-wrap,.media-container) :where(img,video){display:block;width:100%;max-width:100%;height:auto;max-height:min(75vh,760px);object-fit:contain;margin-inline:auto;border:0;box-shadow:none}
body.v40-private :where(.post,.post-card,.feed-post){max-width:100%;min-width:0;overflow-wrap:anywhere;box-shadow:none}
body.v40-private .profile-media img,body.v40-private .profile-media video{margin-top:0;border-radius:12px}
/* Profile stats and buttons: preserve spacing and separate labels. */
body.v40-private .stats{gap:12px;align-items:start}
body.v40-private .stats>div{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0}
body.v40-private .stats strong{display:block;line-height:1.2}
body.v40-private .stats span{display:block;line-height:1.35}
body.v40-private .actions{gap:10px}
body.v40-private .actions button{flex:1 1 135px}
body.v40-private :where(main,article,section){min-width:0}
body.v40-private :where(.v39-enter,.v23-enter){background:linear-gradient(160deg,#e4e8f4,#6878a5 23%,#34335d 50%,#171d35 70%,#6f62a8)!important;border:2px solid #d4c8f5!important;box-shadow:inset 0 2px 3px #fff7,0 5px 0 #10131f,0 10px 24px #6453ae80!important;color:white!important}
@media(max-width:680px){body.v40-private main{padding-left:clamp(14px,4vw,20px);padding-right:clamp(14px,4vw,20px);padding-bottom:115px}body.v40-private :where(h1){font-size:clamp(27px,7vw,36px)}body.v40-private :where(.post,.post-card,.feed-post){padding-left:12px;padding-right:12px}body.v40-private .v40-network-dock{width:calc(100% - 20px)}body.v40-private .stats{padding:22px 0}body.v40-private .profile{gap:12px}body.v40-private .avatar{width:88px;height:88px}body.v40-private .name{font-size:clamp(20px,5vw,26px)}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}body.v40-private *,body.v40-private *::before,body.v40-private *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
