/* Flux media + profiles (v3) — Conake blue/white theme */
.vexyori-app{--fx-blue:#1d63f0;--fx-hi:#4c9dff;--fx-sky:#8cc8ff;--fx-ice:#d9ecff;--fx-navy:#030d24;--fx-panel:#0a1a3d;--fx-line:#2f6be04d}
.flux-subnav{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.flux-subnav a{display:inline-flex;align-items:center;gap:6px;min-height:38px;padding:0 14px;border-radius:999px;border:1px solid #4c9dff66;color:#eef5ff;background:#0a245980;text-decoration:none;font-weight:700;font-size:14px;transition:background .2s,border-color .2s,transform .2s}
.flux-subnav a:hover,.flux-subnav a[aria-current=page]{background:#1d63f0;border-color:#8cc8ff;transform:translateY(-1px)}

/* avatars */
.flux-avatar{display:inline-grid;place-items:center;flex:none;border-radius:50%;overflow:hidden;background:linear-gradient(135deg,#1d63f0,#4c9dff);color:#fff;font-weight:800;letter-spacing:.02em;box-shadow:0 0 0 2px #030d24,0 0 0 3px #4c9dff66}
.flux-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.flux-avatar-sm{width:26px;height:26px;font-size:10px}
.flux-avatar-md{width:40px;height:40px;font-size:14px}
.flux-avatar-xl{width:clamp(88px,14vw,128px);height:clamp(88px,14vw,128px);font-size:clamp(28px,4vw,40px);box-shadow:0 0 0 4px #030d24,0 0 0 6px #4c9dff,0 10px 40px #1d63f066}
.vexyori-app a.flux-owner{display:inline-flex;align-items:center;gap:7px;text-decoration:none;color:#eef5ff}
.flux-owner b{font-weight:750}
.flux-owner span:last-child{color:#9fc7f5}
.vexyori-app a.flux-mention{color:#8cc8ff;font-weight:650;text-decoration:none}
.vexyori-app a.flux-mention:hover{text-decoration:underline}

/* inline video */
.flux-video{margin:12px 0 14px}
.flux-video video{display:block;width:100%;max-height:70vh;background:#000;border-radius:12px;border:1px solid #2f6be066;aspect-ratio:16/9;object-fit:contain}
.flux-video.is-short video{max-width:min(380px,100%);max-height:78vh;aspect-ratio:9/16;margin-inline:auto}
.flux-video-meta{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:8px;color:#9fc7f5;font-size:13px}
.flux-chip{padding:2px 9px;border-radius:999px;background:#1d63f0;color:#fff;font-weight:750;font-size:12px}

/* compose */
.flux-media-pick{display:flex;flex-wrap:wrap;gap:8px;border:0;padding:0;margin:0 0 12px}
.flux-media-pick legend{font-weight:700;margin-bottom:6px;padding:0}
.flux-media-pick label{display:inline-flex;align-items:center;gap:6px;min-height:38px;padding:0 14px;border:1px solid #4c9dff55;border-radius:999px;cursor:pointer;background:#08204f80}
.flux-media-pick label:has(input:checked){background:#1d63f0;border-color:#8cc8ff;color:#fff}
.flux-media-pick input{accent-color:#4c9dff}
#comm-title-optional{font-weight:400;color:#9fc7f5;font-size:12px}
.flux-video-input video{display:block;width:100%;max-height:360px;background:#000;border-radius:10px;margin:10px 0}
.flux-video-info{font-size:13px;color:#b9d6f7}
.flux-video-info.is-error{color:#ffb4b4;font-weight:700}
.flux-switch{display:flex!important;align-items:flex-start;gap:10px;margin:10px 0;cursor:pointer}
.flux-switch input{width:20px;height:20px;margin-top:2px;accent-color:#4c9dff}
.flux-switch small{display:block;color:#9fc7f5;font-weight:400}
.flux-upload{display:grid;grid-template-columns:1fr auto;gap:6px 12px;align-items:center;margin-top:12px}
.flux-upload progress{grid-column:1/-1;width:100%;height:10px;border-radius:999px;overflow:hidden;appearance:none;background:#08204f;border:1px solid #2f6be066}
.flux-upload progress::-webkit-progress-bar{background:#08204f}
.flux-upload progress::-webkit-progress-value{background:linear-gradient(90deg,#1d63f0,#4c9dff,#fff)}
.flux-upload progress::-moz-progress-bar{background:linear-gradient(90deg,#1d63f0,#4c9dff,#fff)}

/* profile */
.comm-panel.flux-profile{display:block;padding:0;overflow:hidden}
.flux-banner{height:clamp(120px,22vw,220px);background:linear-gradient(120deg,#030d24,#1d63f0 55%,#8cc8ff);position:relative;overflow:hidden}
.flux-banner img{width:100%;height:100%;object-fit:cover;display:block}
.flux-banner:not(:has(img))::after{content:'';position:absolute;inset:0;background:repeating-linear-gradient(118deg,transparent 0 40px,#ffffff14 41px 42px,transparent 43px 80px)}
.flux-profile-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;padding:0 clamp(14px,3vw,26px);margin-top:calc(clamp(88px,14vw,128px) / -2)}
.flux-profile-actions{margin:0;padding-bottom:4px}
.flux-profile-info{padding:10px clamp(14px,3vw,26px) 4px}
.flux-profile-info h2{margin:6px 0 0;font-size:clamp(24px,3.4vw,34px);line-height:1.1;color:#fff}
.flux-profile-handle{margin:2px 0 8px;color:#9fc7f5}
.flux-links{list-style:none;display:flex;flex-wrap:wrap;gap:8px;padding:0;margin:8px 0}
.flux-links a{display:inline-flex;padding:4px 11px;border-radius:999px;background:#08204f;border:1px solid #4c9dff55;color:#d9ecff;text-decoration:none;font-size:14px}
.flux-links a::before{content:'↗';margin-right:6px;color:#4c9dff}
.flux-stats{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px}
.flux-stat{background:none;border:0;padding:0;color:inherit;font:inherit;cursor:pointer;text-decoration:underline;text-decoration-color:#4c9dff66;text-underline-offset:3px}
.flux-stat b{color:#fff}
.flux-tabs{padding:0 clamp(14px,3vw,26px) 14px;margin-top:8px!important}
.flux-people{width:min(440px,92vw);max-height:80vh;border:1px solid #4c9dff66;border-radius:16px;background:#061638;color:#eef5ff;padding:0}
.flux-people::backdrop{background:#020a1fcc}
.flux-people-head{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border-bottom:1px solid #2f6be04d;position:sticky;top:0;background:#061638}
.flux-people-head h2{margin:0;font-size:19px}
.flux-people ul{list-style:none;margin:0;padding:8px 16px 16px;display:grid;gap:10px}
.flux-person{display:flex;align-items:center;gap:10px;color:#eef5ff;text-decoration:none}
.flux-person span{display:grid}
.flux-person span span{color:#9fc7f5;font-size:13px}
.flux-short-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.flux-short-tile{position:relative;display:block;aspect-ratio:9/16;border-radius:12px;overflow:hidden;background:linear-gradient(160deg,#08204f,#1d63f0);border:1px solid #2f6be066;color:#fff;text-decoration:none}
.flux-short-tile img{width:100%;height:100%;object-fit:cover;display:block}
.flux-short-tile-views{position:absolute;left:8px;bottom:8px;font-weight:800;font-size:13px;text-shadow:0 1px 4px #000}
.flux-short-tile-title{position:absolute;left:8px;right:8px;top:8px;font-size:13px;font-weight:700;text-shadow:0 1px 4px #000;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}

/* settings */
.flux-settings{max-width:760px;margin:28px auto 60px}
.flux-settings form{display:grid;gap:16px}
.flux-settings label{font-weight:700}
.flux-settings :is(input[type=text],input[type=url],textarea){display:block;width:100%;margin-top:6px;padding:10px 12px;border-radius:10px;border:1px solid #4c9dff55;background:#030d24;color:#eef5ff;font:inherit}
.flux-image-pick{display:grid;grid-template-columns:auto 1fr;gap:14px;align-items:center}
#avatar-preview{width:96px;height:96px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:linear-gradient(135deg,#1d63f0,#4c9dff);font-weight:800;font-size:30px}
#banner-preview,.flux-span{grid-column:1/-1}
#banner-preview{height:130px;border-radius:12px;overflow:hidden;display:grid;place-items:center;background:linear-gradient(120deg,#030d24,#1d63f0 55%,#8cc8ff);color:#d9ecff}
:is(#avatar-preview,#banner-preview) img{width:100%;height:100%;object-fit:cover}
.flux-link-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr) auto;gap:8px;align-items:center}
.flux-link-row input{margin:0!important}

/* shorts page */
.vexyori-shorts-page .studio-foot{display:none}
.flux-shorts-main{max-width:none;padding:0}
.flux-shorts-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px clamp(12px,3vw,28px);max-width:980px;margin:0 auto}
.flux-shorts-bar h1{margin:0;font-size:22px;color:#fff;letter-spacing:.02em}
.flux-shorts-bar a:not(.studio-button){color:#9fc7f5;text-decoration:none;font-weight:700}
.flux-shorts-status{text-align:center;color:#b9d6f7;margin:4px 0;min-height:1.2em}
.flux-shorts{height:calc(100svh - 150px);min-height:420px;overflow-y:auto;scroll-snap-type:y mandatory;overscroll-behavior:contain;scrollbar-width:none;max-width:520px;margin:0 auto;border-radius:18px}
.flux-shorts::-webkit-scrollbar{display:none}
.flux-short{position:relative;height:100%;scroll-snap-align:start;scroll-snap-stop:always;background:#000;display:grid;place-items:center;overflow:hidden;outline:none}
.flux-short+.flux-short{margin-top:10px}
.flux-short video{width:100%;height:100%;object-fit:contain;background:#000}
.flux-short-tap{position:absolute;inset:0;background:none;border:0;cursor:pointer;z-index:1}
.flux-short-badge{position:absolute;z-index:1;width:72px;height:72px;border-radius:50%;background:#0009;opacity:0;pointer-events:none;transition:opacity .2s}
.flux-short-badge::after{content:'';position:absolute;left:28px;top:20px;border-style:solid;border-width:16px 0 16px 26px;border-color:transparent transparent transparent #fff}
.flux-short.is-paused .flux-short-badge{opacity:1}
.flux-short-overlay{position:absolute;z-index:2;left:0;right:64px;bottom:0;padding:16px;background:linear-gradient(transparent,#000c 70%);color:#fff;pointer-events:none}
.flux-short-overlay :is(a,button){pointer-events:auto}
.flux-short-who{display:flex;align-items:center;gap:10px;margin-bottom:6px}
.flux-short-who .flux-person{color:#fff}
.flux-follow{min-height:32px;padding:0 14px;border-radius:999px;border:1px solid #fff;background:#1d63f0;color:#fff;font-weight:800;cursor:pointer}
.flux-follow[aria-pressed=true]{background:transparent}
.flux-short-title{margin:4px 0;font-size:17px}
.flux-short-caption{margin:0 0 6px;font-size:14px;max-height:5.4em;overflow:auto}
.flux-short-views{margin:0;font-size:12px;color:#d9ecff}
.flux-short-side{position:absolute;z-index:2;right:8px;bottom:18px;display:grid;gap:12px}
.flux-short-act{display:grid;justify-items:center;gap:2px;width:52px;background:none;border:0;color:#fff;cursor:pointer;text-decoration:none;font:inherit}
.flux-short-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#ffffff26;backdrop-filter:blur(6px);font-size:20px;transition:transform .15s,background .15s}
.flux-short-act:hover .flux-short-icon{background:#1d63f0}
.flux-short-act[aria-pressed=true] .flux-short-icon{background:#1d63f0;color:#fff}
.flux-short-count{font-size:12px;font-weight:750;text-shadow:0 1px 3px #000}
.flux-shorts-help{text-align:center;color:#9fc7f5;font-size:13px;margin:10px 16px 18px}
.flux-comments ul{max-height:50vh;overflow:auto}
.flux-comment p{margin:4px 0 0 50px}
.flux-comment-form{padding:0 16px 16px;display:grid;gap:8px}
.flux-comment-form textarea{width:100%;margin-top:6px;padding:9px;border-radius:10px;border:1px solid #4c9dff55;background:#030d24;color:#eef5ff;font:inherit}
.flux-comments > a{display:block;padding:0 16px 16px}
@media (max-width:640px){
  .flux-shorts{height:calc(100svh - 120px);border-radius:0}
  .flux-profile-head{flex-wrap:wrap}
  .flux-link-row{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){
  .flux-subnav a,.flux-short-icon,.flux-short-badge{transition:none}
  .flux-subnav a:hover{transform:none}
  .flux-shorts{scroll-behavior:auto}
}

.flux-links-field{border:0;padding:0;margin:0}
#links{display:grid;gap:8px;margin-top:8px}
.flux-short-icon svg{width:24px;height:24px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.flux-short-icon .flux-ico-more{stroke-width:3.4}
.flux-short-act[aria-pressed=true] .flux-ico-like{fill:#fff}

/* fixes: radio pills + inline styles the page CSP blocks */
.vexyori-app .comm-panel .flux-media-pick input[type=radio]{width:auto;min-width:0;height:auto;margin:0;padding:0;display:inline-block;box-shadow:none}
.flux-media-pick label{white-space:nowrap;font-weight:700}
.vexyori-app .comm-panel .flux-switch input[type=checkbox]{width:20px;min-width:20px;height:20px;margin:2px 0 0;padding:0;display:inline-block}
.vexyori-app .comm-panel ul.flux-links,.vexyori-app .flux-profile ul.flux-links{padding:0;margin:10px 0;list-style:none}
.flux-brand{gap:22px}
.flux-logo{display:block;width:clamp(210px,25vw,300px);max-width:44vw;height:auto;flex:none;object-fit:contain}
.flux-brand-copy{min-width:0}
.flux-brand-copy p{margin:0;max-width:48ch}
.flux-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:680px){.vexyori-hero-inner{align-items:flex-start;flex-wrap:wrap}.flux-brand{gap:10px;flex-wrap:wrap}.flux-logo{width:min(260px,72vw);max-width:100%}.flux-brand-copy{flex-basis:100%}}
html:not([data-flux-video]) [data-needs-video]{display:none!important}
@media (max-width:640px){.flux-shorts{height:calc(100svh - 175px)}}
.flux-shorts:empty{height:auto;min-height:0}
.flux-shorts-bar{display:grid;grid-template-columns:1fr auto 1fr}
.flux-shorts-bar>:last-child{justify-self:end}
.flux-profile-head{position:relative;z-index:1}

/* CONAKE_FLUX_BRAND_V1 ownership notices (footer, blue/white theme) */
.studio-foot-meta.conake-legal{display:grid;gap:4px;line-height:1.5}
.studio-foot-meta .flux-legal{color:#dbe9fa;font-size:12px}
.studio-foot-meta .site-legal{font-size:12px}
.flux-shorts-legal{text-align:center;color:#b8d4f3;font-size:12px;margin:0 16px 18px}
/* FLUX_OFFICIAL_V1: verified badge, Official tag, official post outline, Post-as picker */
@property --fxo-a{syntax:'<angle>';inherits:false;initial-value:0deg}
.flux-verified{display:inline-flex;flex:none;width:17px;height:17px;margin:0 1px;color:#1d63f0;vertical-align:-3px;filter:drop-shadow(0 0 3px #4c9dff8c)}
.flux-verified svg{display:block;width:100%;height:100%}
h2 .flux-verified{width:22px;height:22px;margin-left:7px;vertical-align:-2px}
.vexyori-app a.flux-owner .flux-handle,.flux-owner .flux-handle{color:#9fc7f5}
.flux-official-tag{display:inline-flex;align-items:center;gap:5px;padding:2px 9px 2px 7px;border-radius:999px;font-size:11px;font-weight:800;letter-spacing:.08em;line-height:1.55;text-transform:uppercase;white-space:nowrap;color:#eef5ff;background:linear-gradient(135deg,#1d63f0,#2f6be0 55%,#4c9dff);box-shadow:inset 0 0 0 1px #8cc8ff66,0 2px 12px #1d63f066}
.flux-official-tag::before{content:'';width:6px;height:6px;border-radius:50%;background:#d9ecff;box-shadow:0 0 6px #fff}
.flux-profile-info>.flux-official-tag{margin:2px 0 6px}
.comm-post.flux-official-post,body.fxu .comm-post.flux-official-post{position:relative;border-color:transparent;background:radial-gradient(120% 70% at 0 0,#1d63f02e,transparent 60%),linear-gradient(180deg,#0d2453,#0a1a3d);box-shadow:0 0 0 1px #1d63f026,0 0 28px -8px #1d63f0b3,0 14px 34px #0106134d}
.comm-post.flux-official-post::after{content:'';position:absolute;inset:-1px;border-radius:inherit;padding:2px;pointer-events:none;background:conic-gradient(from var(--fxo-a),#1d63f0,#4c9dff 18%,#d9ecff 26%,#4c9dff 34%,#1d63f0 50%,#08204f 70%,#2f6be0 86%,#1d63f0);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);mask-composite:exclude;animation:fxo-spin 7s linear infinite}
@keyframes fxo-spin{to{--fxo-a:360deg}}
@media (hover:hover){body.fxu .comm-post.flux-official-post.fxu-card:hover{border-color:transparent;box-shadow:0 0 0 1px #4c9dff40,0 0 36px -6px #1d63f0d9,0 18px 40px #0106135c}}
.comm-post.flux-official-post .flux-avatar{box-shadow:0 0 0 2px #4c9dff,0 0 10px #1d63f099}
.flux-official-profile .flux-avatar-xl{box-shadow:0 0 0 3px #1d63f0,0 0 26px #4c9dff80}
.flux-post-as{display:grid;gap:6px;margin:2px 0 14px}
.flux-post-as select{max-width:100%}
.flux-post-as-hint{margin:0;font-size:13px;color:#8cc8ff}
form.comm-panel.is-official{box-shadow:0 0 0 1px #4c9dff66,0 0 26px -8px #1d63f0cc}
@media (prefers-reduced-motion:reduce){.comm-post.flux-official-post::after{animation:none}}
:root[data-studio-motion=off] .comm-post.flux-official-post::after{animation:none}
@media (max-width:520px){.flux-official-tag{font-size:10px;padding:1px 7px 1px 6px;letter-spacing:.06em}.comm-post.flux-official-post::after{padding:1.5px}h2 .flux-verified{width:19px;height:19px}}
