/* BETRA NEXUS — local-first private platform surfaces */
:root {
  --nexus-night: #0a0908;
  --nexus-carbon: #11100e;
  --nexus-graphite: #191714;
  --nexus-elevated: #211e1a;
  --nexus-paper: #f2eee4;
  --nexus-muted: rgba(242,238,228,.62);
  --nexus-faint: rgba(242,238,228,.34);
  --nexus-line: rgba(244,236,220,.10);
  --nexus-line-strong: rgba(244,236,220,.18);
  --nexus-ember: #d8a86e;
  --nexus-sky: #a8d8df;
  --nexus-moss: #9ab89a;
  --nexus-danger: #d99988;
  --nexus-radius: 22px;
  --nexus-shadow: 0 28px 80px rgba(0,0,0,.36), inset 0 1px rgba(255,255,255,.035);
}

.nexus-mark { display:inline-grid; place-items:center; width:42px; height:42px; color:var(--nexus-paper); flex:none; }
.nexus-mark svg { width:100%; height:100%; fill:none; stroke:currentColor; stroke-width:1.3; stroke-linecap:round; stroke-linejoin:round; overflow:visible; }
.nexus-mark--large { width:66px; height:66px; }
.nexus-mark--hero { width:clamp(92px,12vw,152px); height:clamp(92px,12vw,152px); }
.nexus-mark--cloud { color:#e2c59d; }
.nexus-mark--bobflix { color:#eee1ca; }

/* Public launch moment */
.nexus-home-reveal { position:relative; overflow:hidden; min-height:min(980px,92vh); display:grid; align-items:center; background:linear-gradient(180deg,#0b0a09 0%,#11100e 52%,#0a0908 100%); isolation:isolate; }
.nexus-home-reveal__light { position:absolute; inset:0; pointer-events:none; z-index:-1; }
.nexus-home-reveal__light i,.nexus-home-reveal__light b { position:absolute; border-radius:50%; filter:blur(80px); opacity:.22; }
.nexus-home-reveal__light i:first-child { width:42vw;height:42vw;left:-12vw;top:20%;background:#845d35; }
.nexus-home-reveal__light i:nth-child(2) { width:34vw;height:34vw;right:-8vw;top:7%;background:#22424b; }
.nexus-home-reveal__light b { width:48vw;height:34vw;left:30%;bottom:-22%;background:#7b684b;opacity:.12; }
.nexus-home-reveal__inner { display:grid; grid-template-columns:minmax(0,.8fr) minmax(500px,1.2fr); gap:clamp(48px,8vw,130px); align-items:center; padding-block:clamp(110px,13vw,190px); }
.nexus-home-reveal header h2 { margin:.18em 0 .34em; font-size:clamp(3.6rem,7vw,8.5rem); line-height:.86; letter-spacing:-.07em; font-weight:540; }
.nexus-home-reveal header>p:not(.eyebrow) { max-width:580px; color:var(--nexus-muted); font-size:clamp(1.08rem,1.4vw,1.34rem); line-height:1.62; }
.nexus-home-reveal .button-row { margin-top:34px; }
.nexus-convergence { position:relative; min-height:620px; border:1px solid var(--nexus-line); border-radius:46% 54% 48% 52%/50% 46% 54% 50%; background:radial-gradient(circle at 50% 50%,rgba(225,188,137,.1),transparent 23%),radial-gradient(circle at 60% 30%,rgba(137,195,206,.08),transparent 35%),rgba(255,255,255,.012); box-shadow:inset 0 1px rgba(255,255,255,.05),0 50px 120px rgba(0,0,0,.35); }
.nexus-convergence svg { position:absolute;inset:12%;width:76%;height:76%;fill:none;stroke:rgba(234,222,199,.16);stroke-width:1;stroke-dasharray:5 10; }
.nexus-convergence__plane,.nexus-convergence__core { position:absolute;display:flex;align-items:center;gap:14px;padding:16px 18px;border:1px solid var(--nexus-line);background:rgba(20,18,15,.76);backdrop-filter:blur(18px);box-shadow:0 18px 50px rgba(0,0,0,.32); }
.nexus-convergence__plane span { display:grid;gap:3px; }
.nexus-convergence__plane small { font-size:.75rem;letter-spacing:.16em;color:var(--nexus-faint); }
.nexus-convergence__plane strong { font-size:.9rem;letter-spacing:.04em; }
.nexus-convergence__plane--cloud { left:2%;top:10%;border-radius:18px 34px 18px 32px;animation:nexus-float 8s ease-in-out infinite; }
.nexus-convergence__plane--astrid { right:1%;top:13%;border-radius:34px 18px 30px 18px;animation:nexus-float 9s -2s ease-in-out infinite; }
.nexus-convergence__plane--bobflix { right:4%;bottom:8%;border-radius:18px 32px 18px 30px;animation:nexus-float 8.5s -4s ease-in-out infinite; }
.nexus-convergence__core { left:50%;top:50%;transform:translate(-50%,-50%);width:150px;height:150px;justify-content:center;flex-direction:column;border-radius:50%;background:radial-gradient(circle,rgba(216,168,110,.16),rgba(17,15,13,.96) 66%); }
.nexus-convergence__core span { letter-spacing:.22em;font-size:.75rem;color:var(--nexus-muted); }
.nexus-home-reveal footer { grid-column:1/-1;display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin-top:10px; }
.nexus-home-reveal footer span { display:flex;align-items:center;gap:8px;padding:10px 14px;border-top:1px solid var(--nexus-line);font-size:.75rem;letter-spacing:.12em;color:var(--nexus-muted); }
.nexus-home-reveal footer i { width:5px;height:5px;border-radius:50%;background:var(--nexus-ember);box-shadow:0 0 14px rgba(216,168,110,.55); }
@keyframes nexus-float { 50%{transform:translateY(-9px)} }

/* Shared private application shell */
.page--nexus-app { min-height:100dvh; background:var(--nexus-night); color:var(--nexus-paper); }
.page--nexus-app ~ .betra-footer,.page--nexus-app .betra-footer { display:none; }
.nexus-app-shell { min-height:100dvh; display:grid; grid-template-columns:76px minmax(0,1fr); position:relative; overflow:clip; background:radial-gradient(circle at 65% -10%,rgba(198,166,119,.07),transparent 36%),linear-gradient(145deg,#0b0a09,#0f0e0c 52%,#0a0908); }
.nexus-app-rail { position:sticky;top:0;height:100dvh;z-index:20;display:flex;flex-direction:column;align-items:center;padding:18px 10px 16px;border-right:1px solid var(--nexus-line);background:rgba(11,10,9,.88);backdrop-filter:blur(18px); }
.nexus-app-rail__brand { display:grid;place-items:center;width:52px;height:52px;border-radius:18px;color:var(--nexus-paper); }
.nexus-app-rail__brand .betra-logo__mark { width:29px;height:29px; }
.nexus-app-rail__brand>span { display:none; }
.nexus-app-rail nav,.nexus-app-rail__bottom { display:grid;gap:7px;width:100%; }
.nexus-app-rail nav { margin:auto 0; }
.nexus-app-rail__bottom { margin-top:auto; }
.nexus-app-rail a,.nexus-app-rail button { position:relative;display:grid;place-items:center;width:54px;height:52px;margin:auto;border:0;border-radius:16px;background:transparent;color:var(--nexus-faint);transition:background .2s,color .2s,transform .2s; }
.nexus-app-rail a span,.nexus-app-rail button span { position:absolute;left:62px;top:50%;translate:0 -50%;padding:7px 10px;border:1px solid var(--nexus-line);border-radius:10px;background:#191714;color:var(--nexus-paper);font-size:.8125rem;white-space:nowrap;opacity:0;pointer-events:none;transform:translateX(-5px);transition:.18s;box-shadow:0 14px 34px rgba(0,0,0,.4); }
.nexus-app-rail a:hover span,.nexus-app-rail button:hover span,.nexus-app-rail a:focus-visible span,.nexus-app-rail button:focus-visible span { opacity:1;transform:none; }
.nexus-app-rail a:hover,.nexus-app-rail button:hover,.nexus-app-rail .is-active { background:rgba(239,230,212,.075);color:var(--nexus-paper); }
.nexus-app-rail .is-active:after { content:"";position:absolute;left:-10px;width:2px;height:20px;border-radius:2px;background:var(--nexus-ember); }
.nexus-app-rail__bottom i { position:absolute;right:5px;top:3px;min-width:16px;height:16px;padding:0 4px;border-radius:10px;background:var(--nexus-danger);color:#170c08;font-size:.75rem;font-style:normal;display:grid;place-items:center; }
.nexus-app-main { min-width:0;display:grid;grid-template-rows:auto minmax(0,1fr);height:100dvh;overflow:hidden; }
.nexus-app-topbar { position:relative;z-index:15;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px clamp(24px,3vw,52px);border-bottom:1px solid rgba(244,236,220,.075);background:linear-gradient(180deg,rgba(12,11,9,.94),rgba(12,11,9,.72));backdrop-filter:blur(20px); }
.nexus-app-topbar>div:first-child { display:grid;grid-template-columns:auto 1fr;column-gap:12px;align-items:center; }
.nexus-app-topbar p { grid-column:2;color:var(--nexus-muted);font-size:.875rem;letter-spacing:.13em;text-transform:uppercase; }
.nexus-app-topbar h1 { grid-column:2;font-size:1.12rem;line-height:1.1;font-weight:560;letter-spacing:-.02em; }
.nexus-app-topbar__actions { display:flex;align-items:center;gap:8px; }
.nexus-app-topbar__actions>button,.nexus-app-topbar__actions>a { min-height:44px;padding:0 14px;border:1px solid var(--nexus-line);border-radius:13px;background:rgba(255,255,255,.025);color:var(--nexus-muted);display:flex;align-items:center;gap:8px; }
.nexus-app-topbar__actions>button:hover { color:var(--nexus-paper);border-color:var(--nexus-line-strong); }
.nexus-mobile-menu-button { display:none;width:42px;height:42px;border:1px solid var(--nexus-line);border-radius:13px;background:transparent;color:var(--nexus-paper); }
.nexus-service-dot { display:flex;align-items:center;gap:7px;padding:0 10px;height:40px;color:var(--nexus-muted);font-size:.75rem;letter-spacing:.06em; }
.nexus-service-dot i { width:7px;height:7px;border-radius:50%;background:#958f86; }
.nexus-service-dot.is-ok i { background:var(--nexus-moss);box-shadow:0 0 12px rgba(154,184,154,.55); }
.nexus-service-dot.is-degraded i { background:var(--nexus-ember); }
.nexus-app-content { min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:clamp(28px,4vw,56px); }
.nexus-mobile-nav { display:none; }
.nexus-mobile-drawer,.nexus-notification-sheet { position:fixed;inset:0;z-index:120; }
.nexus-mobile-drawer[hidden],.nexus-notification-sheet[hidden] { display:none; }
.nexus-mobile-drawer__scrim,.nexus-notification-sheet>div { position:absolute;inset:0;background:rgba(0,0,0,.62);backdrop-filter:blur(6px); }
.nexus-mobile-drawer>section,.nexus-notification-sheet>section { position:absolute;right:0;top:0;bottom:0;width:min(420px,92vw);padding:calc(18px + env(safe-area-inset-top)) 22px calc(24px + env(safe-area-inset-bottom));background:linear-gradient(160deg,#1a1815,#0e0d0b);border-left:1px solid var(--nexus-line);box-shadow:-28px 0 80px rgba(0,0,0,.5);overflow:auto; }
.nexus-mobile-drawer header,.nexus-notification-sheet header { display:flex;justify-content:space-between;align-items:center;padding-bottom:20px;border-bottom:1px solid var(--nexus-line); }
.nexus-mobile-drawer header button,.nexus-notification-sheet header button { width:44px;height:44px;border:1px solid var(--nexus-line);border-radius:14px;background:transparent;color:var(--nexus-paper); }
.nexus-mobile-drawer nav { display:grid;margin-top:18px; }
.nexus-mobile-drawer nav a { display:flex;justify-content:space-between;align-items:center;min-height:58px;border-bottom:1px solid rgba(255,255,255,.055);color:var(--nexus-muted);font-size:1.03rem; }
.nexus-notification-sheet>section { width:min(480px,94vw); }
.nexus-notification-sheet header p { font-size:.875rem;letter-spacing:.13em;color:var(--nexus-faint); }
.nexus-notification-sheet header h2 { margin-top:4px;font-size:1.55rem; }
.nexus-notification-list { display:grid;margin-top:10px; }
.nexus-notification-list a { min-width:0;padding:15px 4px;display:grid;grid-template-columns:9px minmax(0,1fr);gap:12px;border-bottom:1px solid rgba(255,255,255,.065);color:var(--nexus-paper); }
.nexus-notification-list a>i { width:8px;height:8px;margin-top:5px;border-radius:50%;background:var(--nexus-ember);box-shadow:0 0 12px rgba(216,168,110,.34); }
.nexus-notification-list a:not(.is-unread)>i { opacity:.25;box-shadow:none; }
.nexus-notification-list a>span { min-width:0;display:grid;gap:5px; }
.nexus-notification-list strong { font-size:.9rem;line-height:1.35; }
.nexus-notification-list p { color:var(--nexus-muted);font-size:.82rem;line-height:1.5; }
.nexus-notification-list time { color:rgba(242,238,228,.58);font-size:.75rem; }
[data-notifications-read-all] { width:100%;min-height:44px;margin-top:14px;border:1px solid var(--nexus-line);border-radius:13px;background:rgba(255,255,255,.025);color:var(--nexus-muted); }
[data-notifications-read-all]:hover,[data-notifications-read-all]:focus-visible { color:var(--nexus-paper);border-color:var(--nexus-line-strong); }
.nexus-skeleton-list { display:grid;gap:10px;padding:18px 0; }
.nexus-skeleton-list i,.nexus-card-skeleton,.cloud-loading i { display:block;min-height:64px;border-radius:16px;background:linear-gradient(100deg,rgba(255,255,255,.025),rgba(255,255,255,.065),rgba(255,255,255,.025));background-size:220% 100%;animation:nexus-skeleton 1.4s linear infinite; }
@keyframes nexus-skeleton { to{background-position:-220% 0} }

/* Auth / setup */
.page--nexus-auth { min-height:100dvh;background:#090807;color:var(--nexus-paper);position:relative;overflow:hidden; }
.nexus-auth-ambient { position:fixed;inset:0;pointer-events:none; }
.nexus-auth-ambient i,.nexus-auth-ambient b { position:absolute;border-radius:50%;filter:blur(90px); }
.nexus-auth-ambient i:first-child { width:48vw;height:48vw;left:-16vw;top:-14vw;background:rgba(142,99,53,.22); }
.nexus-auth-ambient i:nth-child(2) { width:42vw;height:42vw;right:-12vw;bottom:-15vw;background:rgba(54,104,114,.14); }
.nexus-auth-ambient b { width:1px;height:80vh;left:50%;top:10%;background:linear-gradient(transparent,rgba(238,220,193,.2),transparent);filter:none; }
.nexus-setup,.nexus-login { position:relative;z-index:1;width:min(1120px,calc(100% - 32px));min-height:100dvh;margin:auto;display:grid;align-content:center;padding:42px 0; }
.nexus-setup>header,.nexus-login>header { display:flex;align-items:center;justify-content:space-between;margin-bottom:28px; }
.nexus-setup>header>span,.nexus-login>header>span { font-size:.75rem;letter-spacing:.15em;color:var(--nexus-faint); }
.nexus-setup__progress { display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin-bottom:12px; }
.nexus-setup__progress span { position:relative;display:flex;align-items:center;gap:9px;padding:10px 12px;color:var(--nexus-faint);font-size:.75rem; }
.nexus-setup__progress span:after { content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:var(--nexus-line); }
.nexus-setup__progress .is-active { color:var(--nexus-paper); }
.nexus-setup__progress .is-active:after { background:var(--nexus-ember);box-shadow:0 0 12px rgba(216,168,110,.45); }
.nexus-setup__progress i { width:22px;height:22px;border:1px solid var(--nexus-line);border-radius:50%;display:grid;place-items:center;font-style:normal;font-size:.75rem; }
.nexus-setup__card { min-height:590px;padding:clamp(32px,5vw,72px);border:1px solid var(--nexus-line);border-radius:32px;background:linear-gradient(145deg,rgba(31,28,24,.93),rgba(14,13,11,.96));box-shadow:var(--nexus-shadow); }
.nexus-setup__step { display:none;max-width:760px;margin:auto;animation:nexus-step-in .4s cubic-bezier(.2,.7,.2,1); }
.nexus-setup__step.is-active { display:block; }
@keyframes nexus-step-in { from{opacity:0;transform:translateY(12px)} }
.nexus-setup__step h1,.nexus-setup__step h2 { margin:.18em 0 .3em;font-size:clamp(2.5rem,6vw,5.3rem);line-height:.94;letter-spacing:-.055em;font-weight:520; }
.nexus-setup__step h2 { font-size:clamp(2.2rem,4vw,4rem); }
.nexus-setup__step>p:not(.eyebrow) { max-width:650px;color:var(--nexus-muted);font-size:1.03rem;line-height:1.65; }
.nexus-setup__visual { display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:38px 0; }
.nexus-setup__visual>span { min-height:116px;padding:16px;display:grid;place-items:center;gap:8px;border:1px solid var(--nexus-line);border-radius:20px;background:rgba(255,255,255,.018); }
.nexus-setup__visual b { font-size:.75rem;letter-spacing:.14em;color:var(--nexus-faint); }
.nexus-form-grid { display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:30px; }
.nexus-form-grid__wide { grid-column:1/-1; }
.nexus-form-grid label,.nexus-login label { display:grid;gap:8px; }
.nexus-form-grid label span,.nexus-login label span { color:var(--nexus-muted);font-size:.8125rem; }
.nexus-form-grid em { color:var(--nexus-faint);font-style:normal; }
.nexus-form-grid input,.nexus-login input { width:100%;height:54px;padding:0 16px;border:1px solid var(--nexus-line);border-radius:15px;background:rgba(0,0,0,.22);color:var(--nexus-paper);outline:none; }
.nexus-form-grid input:focus,.nexus-login input:focus { border-color:rgba(216,168,110,.48);box-shadow:0 0 0 4px rgba(216,168,110,.08); }
.nexus-form-error { margin-top:15px;padding:12px 14px;border:1px solid rgba(217,153,136,.25);border-radius:13px;background:rgba(120,38,25,.12);color:#e6b7aa;font-size:.84rem; }
.nexus-step-actions { display:flex;justify-content:space-between;align-items:center;margin-top:34px; }
.nexus-step-actions>button:not(.button) { border:0;background:transparent;color:var(--nexus-muted);padding:12px 0; }
.nexus-checklist { display:grid;gap:10px;margin:30px 0; }
.nexus-checklist>div,.nexus-service-setup article { display:flex;align-items:center;gap:14px;padding:16px;border:1px solid var(--nexus-line);border-radius:17px;background:rgba(255,255,255,.018); }
.nexus-checklist>div>i { width:10px;height:10px;border:1px solid var(--nexus-faint);border-radius:50%; }
.nexus-checklist>div.is-ok>i { background:var(--nexus-moss);border-color:var(--nexus-moss); }
.nexus-checklist span,.nexus-service-setup article>div { display:grid;gap:3px; }
.nexus-checklist em,.nexus-service-setup em { color:var(--nexus-faint);font-size:.76rem;font-style:normal; }
.nexus-service-setup { display:grid;gap:10px;margin-top:30px; }
.nexus-service-setup article>span { width:54px;display:grid;place-items:center; }
.nexus-service-setup article>button { margin-left:auto;height:40px;padding:0 14px;border:1px solid var(--nexus-line);border-radius:12px;background:transparent;color:var(--nexus-paper); }
.nexus-setup__note { margin-top:18px!important;font-size:.82rem!important;color:var(--nexus-faint)!important; }
.nexus-ready-grid { display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:34px; }
.nexus-ready-grid a { min-height:180px;padding:24px;display:grid;align-content:end;gap:8px;border:1px solid var(--nexus-line);border-radius:24px;background:rgba(255,255,255,.02);color:var(--nexus-paper); }
.nexus-ready-grid a span { color:var(--nexus-muted);display:flex;align-items:center;gap:8px; }
.nexus-setup>footer { display:flex;justify-content:space-between;padding-top:18px;color:var(--nexus-faint);font-size:.75rem; }
.nexus-login { width:min(520px,calc(100% - 32px)); }
.nexus-login>section { padding:42px;border:1px solid var(--nexus-line);border-radius:30px;background:linear-gradient(145deg,rgba(31,28,24,.94),rgba(14,13,11,.96));box-shadow:var(--nexus-shadow); }
.nexus-login__mark { margin-bottom:26px; }
.nexus-login h1 { font-size:clamp(3rem,8vw,5rem);line-height:.92;letter-spacing:-.06em;font-weight:520;margin:.15em 0 .25em; }
.nexus-login>section>p:not(.eyebrow) { color:var(--nexus-muted);line-height:1.6; }
.nexus-login form { display:grid;gap:16px;margin-top:30px; }
.nexus-login form .button { width:100%;justify-content:center;margin-top:5px; }
.nexus-password-field { position:relative;display:block;color:inherit!important;font-size:inherit!important; }
.nexus-password-field input { padding-right:72px; }
.nexus-password-field button { position:absolute;right:7px;top:50%;min-width:54px;min-height:40px;padding:0 10px;transform:translateY(-50%);border:0;border-radius:11px;background:transparent;color:var(--nexus-muted);font:inherit;cursor:pointer; }
.nexus-password-field button:hover,.nexus-password-field button:focus-visible { background:rgba(255,255,255,.06);color:var(--nexus-paper);outline:none; }
.nexus-login form[aria-busy="true"] { cursor:progress; }
.nexus-login form .button:disabled { cursor:wait;opacity:.72; }
.nexus-login section footer { display:flex;justify-content:space-between;gap:16px;margin-top:24px;padding-top:20px;border-top:1px solid var(--nexus-line);font-size:.78rem;color:var(--nexus-faint); }
.nexus-login section footer span:last-child { color:var(--nexus-muted); }

/* My Betra */
.my-betra-welcome { display:flex;align-items:end;justify-content:space-between;gap:30px;max-width:1520px;margin:0 auto 34px; }
.my-betra-welcome p { color:var(--nexus-ember);font-size:.875rem;letter-spacing:.1em;text-transform:uppercase; }
.my-betra-welcome h2 { margin:.18em 0 .12em;font-size:clamp(2.6rem,5vw,5.8rem);line-height:.9;letter-spacing:-.06em;font-weight:500; }
.my-betra-welcome span { color:var(--nexus-muted); }
.my-betra-welcome>button { min-width:240px;height:52px;padding:0 16px;border:1px solid var(--nexus-line);border-radius:16px;background:rgba(255,255,255,.025);color:var(--nexus-muted);display:flex;align-items:center;gap:10px; }
.my-betra-welcome kbd { margin-left:auto;color:var(--nexus-faint);font:inherit;font-size:.75rem; }
.my-betra-primary-grid { max-width:1520px;margin:auto;display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:14px; }
.my-betra-card { position:relative;min-height:340px;padding:26px;border:1px solid var(--nexus-line);border-radius:26px;background:linear-gradient(150deg,rgba(35,31,27,.72),rgba(17,15,13,.85));box-shadow:inset 0 1px rgba(255,255,255,.025);overflow:hidden;display:flex;flex-direction:column; }
.my-betra-card { transition:transform .24s ease,border-color .24s ease,box-shadow .24s ease; }
.my-betra-card:hover,.my-betra-card:focus-within { transform:translateY(-3px);border-color:var(--nexus-line-strong);box-shadow:inset 0 1px rgba(255,255,255,.035),0 20px 50px rgba(0,0,0,.16); }
.my-betra-card:before { content:"";position:absolute;inset:auto -20% -55% 0;height:70%;background:radial-gradient(circle,rgba(216,168,110,.1),transparent 65%);pointer-events:none; }
.my-betra-card--astrid { background:radial-gradient(circle at 75% 10%,rgba(89,146,158,.13),transparent 34%),linear-gradient(145deg,#17191a,#11100f); }
.my-betra-card--cloud { background:radial-gradient(circle at 75% 5%,rgba(216,168,110,.12),transparent 35%),linear-gradient(145deg,#1c1915,#11100e); }
.my-betra-card--bobflix { background:radial-gradient(circle at 80% 5%,rgba(154,104,68,.14),transparent 35%),linear-gradient(145deg,#1a1512,#0f0d0b); }
.my-betra-card header { display:flex;align-items:center;gap:11px;color:var(--nexus-muted);font-size:.75rem;letter-spacing:.12em; }
.my-betra-card h3 { margin:auto 0 10px;font-size:clamp(1.8rem,3vw,3.2rem);line-height:1;letter-spacing:-.04em;font-weight:520; }
.my-betra-card>p,.my-betra-card [data-my-cloud] p,.my-betra-card [data-my-bobflix] p { color:var(--nexus-muted);line-height:1.5;max-width:410px; }
.my-betra-card>a { margin-top:22px;display:flex;align-items:center;gap:8px;color:var(--nexus-paper);font-size:.84rem; }
.my-betra-card>a:hover { color:#f6e7ce; }
.my-betra-mini-files { display:grid;gap:7px;margin-top:13px; }
.my-betra-mini-files span { min-width:0;display:grid;grid-template-columns:20px minmax(0,1fr);align-items:center;gap:8px;color:var(--nexus-muted); }
.my-betra-mini-files svg { color:var(--nexus-ember); }
.my-betra-mini-files b { overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.82rem;font-weight:560; }
.my-betra-media-mini { margin-top:14px;display:grid;grid-template-columns:minmax(88px,42%) minmax(0,1fr);align-items:center;gap:14px; }
.my-betra-media-mini img { width:100%;aspect-ratio:2/3;max-height:250px;object-fit:cover;border-radius:16px;background:#201711;box-shadow:0 18px 38px rgba(0,0,0,.28); }
.my-betra-media-mini span { min-width:0; }
.my-betra-media-mini strong { display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;font-size:1rem;line-height:1.35; }
.my-betra-media-mini p { margin-top:7px; }
.my-betra-stat { margin:auto 0 8px;display:flex;align-items:end;gap:10px; }
.my-betra-stat strong { font-size:3.2rem;line-height:.8;letter-spacing:-.05em; }
.my-betra-stat span { color:var(--nexus-faint);font-size:.75rem; }
.my-betra-resume { margin:auto 0 4px;display:grid;grid-template-columns:92px 1fr;gap:13px;align-items:center; }
.my-betra-resume img { width:92px;aspect-ratio:16/10;object-fit:cover;border-radius:13px;background:#29231d; }
.my-betra-resume strong,.my-betra-resume span { display:block; }
.my-betra-resume span { color:var(--nexus-faint);font-size:.75rem;margin-top:5px; }
.my-betra-lower { max-width:1520px;margin:14px auto 0;display:grid;grid-template-columns:1.5fr 1fr;gap:14px; }
.my-betra-lower>article { min-height:300px;padding:25px;border:1px solid var(--nexus-line);border-radius:24px;background:rgba(255,255,255,.018); }
.my-betra-lower>article>header { display:flex;justify-content:space-between;align-items:end;margin-bottom:18px; }
.my-betra-lower header p { font-size:.875rem;letter-spacing:.14em;color:var(--nexus-faint); }
.my-betra-lower header h3 { margin-top:6px;font-size:1.35rem; }
.my-betra-lower header a { color:var(--nexus-muted);font-size:.8125rem; }
.nexus-activity-list { display:grid; }
.nexus-activity-row { display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 0;border-top:1px solid rgba(255,255,255,.055); }
.nexus-activity-row>i { width:34px;height:34px;border-radius:11px;background:rgba(216,168,110,.08);display:grid;place-items:center;color:var(--nexus-ember);font-style:normal; }
.nexus-activity-row span { display:grid;gap:3px; }
.nexus-activity-row em,.nexus-activity-row time { color:var(--nexus-faint);font-size:.75rem;font-style:normal; }
.nexus-health-stack { display:grid;gap:8px; }
.nexus-health-row { display:flex;align-items:center;justify-content:space-between;padding:13px 14px;border:1px solid rgba(255,255,255,.055);border-radius:14px;background:rgba(0,0,0,.12); }
.nexus-health-row span { display:flex;align-items:center;gap:9px; }
.nexus-health-row i { width:7px;height:7px;border-radius:50%;background:var(--nexus-moss); }
.nexus-health-row.is-warning i { background:var(--nexus-ember); }
.nexus-health-row.is-error i { background:var(--nexus-danger);box-shadow:0 0 12px rgba(217,153,136,.28); }
.nexus-health-row.is-neutral i { background:var(--nexus-faint); }
.nexus-health-row em { font-style:normal;color:rgba(242,238,228,.58);font-size:.75rem; }
.nexus-product-error { display:grid;grid-template-columns:auto minmax(0,1fr);gap:16px;align-items:start;padding:22px;border:1px solid rgba(217,153,136,.16);border-radius:20px;background:linear-gradient(145deg,rgba(217,153,136,.055),rgba(255,255,255,.018));color:var(--nexus-paper); }
.nexus-product-error>span { width:44px;height:44px;border:1px solid rgba(217,153,136,.2);border-radius:14px;display:grid;place-items:center;color:var(--nexus-danger);background:rgba(217,153,136,.06); }
.nexus-product-error strong { display:block;font-size:1.05rem;letter-spacing:-.015em; }
.nexus-product-error p { margin:7px 0 0;color:var(--nexus-muted);line-height:1.55; }
.nexus-product-error footer { display:flex;flex-wrap:wrap;gap:8px;margin-top:18px; }
.nexus-product-error footer a,.nexus-product-error footer button { min-height:42px;padding:0 15px;border:1px solid var(--nexus-line-strong);border-radius:13px;background:rgba(255,255,255,.045);color:var(--nexus-paper);display:inline-flex;align-items:center;justify-content:center; }
.nexus-product-error small { display:block;margin-top:14px;color:var(--nexus-faint);font-size:.7rem;letter-spacing:.04em; }

/* Cloud application */
.page--cloud .nexus-app-content { padding:0;overflow:hidden; }
.cloud-app { height:100%;display:grid;grid-template-columns:210px minmax(0,1fr) minmax(0,0fr);background:radial-gradient(circle at 54% 0%,rgba(178,138,86,.06),transparent 32%); }
.cloud-navigation { min-width:0;padding:24px 14px;border-right:1px solid var(--nexus-line);background:rgba(12,11,9,.72);overflow:auto; }
.cloud-navigation__brand { display:flex;align-items:center;gap:11px;padding:0 8px 24px; }
.cloud-navigation__brand span { display:grid;gap:2px; }
.cloud-navigation__brand small { font-size:.75rem;letter-spacing:.13em;color:var(--nexus-faint); }
.cloud-navigation__brand strong { font-size:.82rem;letter-spacing:.04em; }
.cloud-upload-primary { width:100%;height:46px;margin-bottom:22px;border:1px solid rgba(226,197,157,.18);border-radius:15px;background:rgba(226,197,157,.09);color:var(--nexus-paper);display:flex;align-items:center;justify-content:center;gap:9px; }
.cloud-navigation nav { display:grid;gap:4px; }
.cloud-navigation nav button { width:100%;height:43px;padding:0 12px;border:0;border-radius:12px;background:transparent;color:var(--nexus-muted);display:flex;align-items:center;gap:10px;text-align:left; }
.cloud-navigation nav button:hover,.cloud-navigation nav button.is-active { background:rgba(255,255,255,.055);color:var(--nexus-paper); }
.cloud-navigation__storage { margin-top:28px;padding:12px;display:grid;gap:8px;border-top:1px solid var(--nexus-line); }
.cloud-navigation__storage>span { height:4px;border-radius:4px;background:rgba(255,255,255,.08);overflow:hidden; }
.cloud-navigation__storage i { display:block;width:var(--storage-used,0%);height:100%;background:linear-gradient(90deg,var(--nexus-ember),#d8c5a9); }
.cloud-navigation__storage small { color:var(--nexus-faint);font-size:.75rem; }
.cloud-workspace { position:relative;min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain; }
.cloud-toolbar { position:sticky;top:0;z-index:12;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 20px;border-bottom:1px solid var(--nexus-line);background:rgba(14,13,11,.9);backdrop-filter:blur(20px); }
.cloud-breadcrumbs { display:flex;align-items:center;gap:5px;min-width:0;overflow:hidden; }
.cloud-breadcrumbs button { max-width:180px;height:40px;padding:0 10px;border:0;border-radius:10px;background:transparent;color:var(--nexus-muted);display:flex;align-items:center;gap:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
.cloud-breadcrumbs button:hover { background:rgba(255,255,255,.04);color:var(--nexus-paper); }
.cloud-breadcrumbs>span { color:var(--nexus-faint); }
.cloud-toolbar__actions { display:flex;align-items:center;gap:6px; }
.cloud-toolbar__actions>button { height:40px;padding:0 12px;border:1px solid var(--nexus-line);border-radius:12px;background:rgba(255,255,255,.02);color:var(--nexus-muted);display:flex;align-items:center;gap:7px; }
.cloud-search { width:min(300px,28vw);height:40px;padding:0 12px;display:flex;align-items:center;gap:8px;border:1px solid var(--nexus-line);border-radius:12px;background:rgba(0,0,0,.15);color:var(--nexus-faint); }
.cloud-search input { width:100%;border:0;outline:0;background:transparent;color:var(--nexus-paper); }
.cloud-selection-bar { position:sticky;top:71px;z-index:11;margin:12px 18px 0;padding:10px 12px;border:1px solid rgba(216,168,110,.22);border-radius:15px;background:rgba(37,31,24,.93);display:flex;align-items:center;justify-content:space-between;box-shadow:0 12px 35px rgba(0,0,0,.35); }
.cloud-selection-bar>div { display:flex;gap:5px; }
.cloud-selection-bar button { min-height:38px;padding:0 10px;border:0;border-radius:10px;background:transparent;color:var(--nexus-muted);display:flex;align-items:center;gap:6px; }
.cloud-selection-bar button:hover { background:rgba(255,255,255,.05);color:var(--nexus-paper); }
.cloud-context-header { padding:32px 28px 20px;display:flex;align-items:end;justify-content:space-between;gap:20px; }
.cloud-context-header p { color:var(--nexus-ember);font-size:.875rem;letter-spacing:.14em; }
.cloud-context-header h2 { margin:.16em 0 .12em;font-size:clamp(2rem,3.6vw,4rem);line-height:.95;letter-spacing:-.05em;font-weight:510; }
.cloud-context-header span { color:var(--nexus-faint);font-size:.78rem; }
.cloud-context-header>div:last-child { display:flex;gap:7px; }
.cloud-context-header button { height:42px;padding:0 13px;border:1px solid var(--nexus-line);border-radius:12px;background:transparent;color:var(--nexus-muted);display:flex;align-items:center;gap:7px; }
.cloud-content { padding:0 20px 60px; }
.cloud-loading { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px; }
.cloud-loading i { min-height:150px; }
.cloud-grid { display:grid;grid-template-columns:repeat(auto-fill,minmax(168px,1fr));gap:10px; }
.cloud-list { display:grid; }
.cloud-item { position:relative;min-width:0;border:1px solid transparent;background:transparent;color:var(--nexus-paper);text-align:left;transition:.16s; }
.cloud-grid .cloud-item { min-height:164px;padding:16px;border-color:rgba(255,255,255,.055);border-radius:18px;background:rgba(255,255,255,.017);display:grid;grid-template-rows:1fr auto; }
.cloud-grid .cloud-item:hover,.cloud-grid .cloud-item:focus-visible,.cloud-grid .cloud-item.is-selected { border-color:rgba(226,197,157,.22);background:rgba(226,197,157,.045);transform:translateY(-2px);box-shadow:0 16px 38px rgba(0,0,0,.16); }
.cloud-list .cloud-item { min-height:58px;padding:0 12px;display:grid;grid-template-columns:minmax(0,1.4fr) minmax(100px,.7fr) 110px 44px;align-items:center;border-bottom:1px solid rgba(255,255,255,.055); }
.cloud-list .cloud-item:hover,.cloud-list .cloud-item.is-selected { background:rgba(255,255,255,.035); }
.cloud-item__visual { display:grid;place-items:center;min-height:85px;overflow:hidden;border-radius:13px;background:linear-gradient(145deg,rgba(255,255,255,.025),rgba(0,0,0,.14)); }
.cloud-item__visual img { width:100%;height:100%;object-fit:cover; }
.cloud-item__visual svg { width:36px;height:36px;color:#d9c2a1; }
.cloud-item__copy { min-width:0;display:grid;gap:4px; }
.cloud-item__copy strong { white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.86rem; }
.cloud-item__copy small { color:rgba(242,238,228,.58);font-size:.75rem; }
.cloud-item__meta { color:rgba(242,238,228,.58);font-size:.75rem; }
.cloud-item__more { position:absolute;right:7px;top:7px;width:36px;height:36px;border:0;border-radius:10px;background:rgba(10,9,8,.62);color:var(--nexus-muted);opacity:0; }
.cloud-item:hover .cloud-item__more,.cloud-item:focus-within .cloud-item__more,.cloud-item.is-selected .cloud-item__more { opacity:1; }
.cloud-list .cloud-item__visual { min-height:0;width:36px;height:36px;grid-row:1;grid-column:1;justify-self:start; }
.cloud-list .cloud-item__copy { grid-column:1;padding-left:48px;grid-row:1; }
.cloud-list .cloud-item__meta:nth-of-type(1) { grid-column:2; }
.cloud-list .cloud-item__meta:nth-of-type(2) { grid-column:3; }
.cloud-list .cloud-item__more { position:static;grid-column:4;opacity:1;background:transparent; }
.cloud-empty { min-height:420px;display:grid;place-items:center;text-align:center; }
.cloud-empty>div { max-width:420px; }
.cloud-empty h3 { margin:18px 0 8px;font-size:2rem;letter-spacing:-.04em; }
.cloud-empty p { color:var(--nexus-muted);line-height:1.55; }
.cloud-empty .button-row { display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:22px; }
.cloud-empty .button-row button { min-height:44px;padding:0 15px;border:1px solid var(--nexus-line-strong);border-radius:13px;background:rgba(255,255,255,.035);color:var(--nexus-paper); }
.cloud-empty .button-row button:first-child { background:#e3d5bf;color:#17110d;border-color:transparent; }
.cloud-empty .button-row button:hover,.cloud-empty .button-row button:focus-visible { transform:translateY(-1px);border-color:rgba(226,197,157,.38); }
.cloud-drop-overlay { position:fixed;z-index:100;inset:76px 0 0 76px;padding:24px;background:rgba(10,9,8,.7);backdrop-filter:blur(12px); }
.cloud-drop-overlay>div { height:100%;display:grid;place-items:center;align-content:center;border:1px dashed rgba(226,197,157,.42);border-radius:28px;background:radial-gradient(circle,rgba(216,168,110,.09),transparent 45%);text-align:center; }
.cloud-drop-overlay h3 { margin-top:18px;font-size:2.4rem;letter-spacing:-.04em; }
.cloud-drop-overlay p { color:var(--nexus-muted); }
.cloud-detail { width:370px;min-width:370px;border-left:1px solid var(--nexus-line);background:rgba(17,15,13,.94);overflow:auto; }
.cloud-detail[hidden] { display:none; }
.cloud-detail header { position:sticky;top:0;z-index:3;padding:20px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--nexus-line);background:rgba(17,15,13,.94); }
.cloud-detail header p { font-size:.875rem;letter-spacing:.13em;color:var(--nexus-faint); }
.cloud-detail header h2 { margin-top:4px;font-size:1.15rem;max-width:260px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
.cloud-detail header button { width:40px;height:40px;border:1px solid var(--nexus-line);border-radius:12px;background:transparent;color:var(--nexus-paper); }
.cloud-detail__preview { aspect-ratio:4/3;margin:16px;border-radius:18px;overflow:hidden;background:#0d0c0b;display:grid;place-items:center; }
.cloud-detail__preview img,.cloud-detail__preview video,.cloud-detail__preview iframe { width:100%;height:100%;object-fit:contain;border:0; }
.cloud-detail__text { width:100%;height:100%;padding:16px;overflow:auto;white-space:pre-wrap;font:12px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace;color:#ddd2c0; }
.cloud-detail__actions { display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:0 16px 16px; }
.cloud-detail__actions button,.cloud-detail__actions a { min-height:42px;padding:0 10px;border:1px solid var(--nexus-line);border-radius:12px;background:rgba(255,255,255,.02);color:var(--nexus-muted);display:flex;align-items:center;justify-content:center;gap:6px; }
.cloud-detail dl { padding:0 16px 22px; }
.cloud-detail dl div { display:flex;justify-content:space-between;gap:20px;padding:11px 0;border-top:1px solid rgba(255,255,255,.055);font-size:.76rem; }
.cloud-detail dt { color:var(--nexus-faint); }
.cloud-detail dd { max-width:210px;text-align:right;word-break:break-word; }
.cloud-upload-manager { position:fixed;z-index:80;right:22px;bottom:22px;width:min(410px,calc(100vw - 32px));border:1px solid var(--nexus-line);border-radius:19px;background:#1b1814;box-shadow:0 22px 70px rgba(0,0,0,.48);overflow:hidden; }
.cloud-upload-manager header { height:52px;padding:0 15px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--nexus-line); }
.cloud-upload-manager header div { display:grid;gap:2px; }
.cloud-upload-manager header span { font-size:.75rem;color:var(--nexus-faint); }
.cloud-upload-manager header button { border:0;background:transparent;color:var(--nexus-muted); }
.cloud-upload-row { padding:12px 14px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;border-top:1px solid rgba(255,255,255,.045); }
.cloud-upload-row strong { white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.78rem; }
.cloud-upload-row small { color:var(--nexus-faint);font-size:.75rem; }
.cloud-upload-row>span { grid-column:1/-1;height:3px;border-radius:4px;background:rgba(255,255,255,.08);overflow:hidden; }
.cloud-upload-row>span i { display:block;height:100%;width:var(--progress,0%);background:var(--nexus-ember); }
.cloud-upload-row button { width:32px;height:32px;border:0;background:transparent;color:var(--nexus-muted); }
.cloud-action-sheet,.cloud-dialog { position:fixed;inset:0;z-index:130; }
.cloud-action-sheet[hidden],.cloud-dialog[hidden] { display:none; }
.cloud-action-sheet>div,.cloud-dialog>div { position:absolute;inset:0;background:rgba(0,0,0,.65);backdrop-filter:blur(7px); }
.cloud-action-sheet>section,.cloud-dialog>section { position:absolute;left:50%;top:50%;translate:-50% -50%;width:min(520px,calc(100% - 28px));max-height:min(720px,calc(100dvh - 32px));overflow:auto;border:1px solid var(--nexus-line);border-radius:24px;background:#1b1815;box-shadow:var(--nexus-shadow); }
.cloud-action-sheet header,.cloud-dialog header { display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid var(--nexus-line); }
.cloud-action-sheet header button,.cloud-dialog header button { width:40px;height:40px;border:0;border-radius:12px;background:rgba(255,255,255,.04);color:var(--nexus-paper); }
.cloud-action-list { display:grid;padding:8px; }
.cloud-action-list button,.cloud-action-list a { min-height:50px;padding:0 12px;border:0;border-radius:12px;background:transparent;color:var(--nexus-muted);display:flex;align-items:center;gap:11px;text-align:left; }
.cloud-action-list button:hover,.cloud-action-list a:hover { background:rgba(255,255,255,.05);color:var(--nexus-paper); }
.cloud-dialog form>div { padding:22px; }
.cloud-dialog label { display:grid;gap:8px;color:var(--nexus-muted);font-size:.8125rem; }
.cloud-dialog input,.cloud-dialog textarea,.cloud-dialog select { width:100%;min-height:50px;padding:12px 14px;border:1px solid var(--nexus-line);border-radius:13px;background:#100f0d;color:var(--nexus-paper); }
.cloud-dialog footer { display:flex;justify-content:flex-end;gap:8px;padding:14px 20px;border-top:1px solid var(--nexus-line); }
.cloud-dialog footer>button:not(.button) { border:0;background:transparent;color:var(--nexus-muted);padding:0 15px; }
.cloud-mobile-fab { display:none; }
.storage-dashboard { display:grid;grid-template-columns:1.2fr 1fr;gap:14px; }
.storage-dashboard>article { padding:24px;border:1px solid var(--nexus-line);border-radius:22px;background:rgba(255,255,255,.018); }
.storage-ring { width:170px;aspect-ratio:1;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--nexus-ember) var(--used-angle,0deg),rgba(255,255,255,.06) 0);position:relative; }
.storage-ring:before { content:"";position:absolute;inset:12px;border-radius:50%;background:#151310; }
.storage-ring span { position:relative;text-align:center;display:grid; }
.storage-ring strong { font-size:1.4rem; }
.storage-ring small { color:var(--nexus-faint); }

/* Current Cloud cards, storage dashboard and details. */
.cloud-item__select { position:absolute;z-index:4;left:9px;top:9px;width:28px;height:28px;padding:0;border:1px solid rgba(244,236,220,.2);border-radius:9px;background:rgba(10,9,8,.74);opacity:0;color:var(--nexus-paper); }
.cloud-item__select i { display:block;width:10px;height:6px;margin:7px auto 0;border-left:2px solid currentColor;border-bottom:2px solid currentColor;rotate:-45deg;opacity:0; }
.cloud-item:hover .cloud-item__select,.cloud-item:focus-within .cloud-item__select,.cloud-item.is-selected .cloud-item__select { opacity:1; }
.cloud-item.is-selected .cloud-item__select { border-color:rgba(226,197,157,.55);background:#dfcba9;color:#17110d; }
.cloud-item.is-selected .cloud-item__select i { opacity:1; }
.cloud-item__star { position:absolute;right:9px;bottom:9px;width:27px;height:27px;border-radius:9px;display:grid;place-items:center;background:rgba(10,9,8,.74);color:#e1bd85; }
.cloud-folder-object { position:relative;width:62px;height:45px;border:1px solid rgba(230,202,161,.38);border-radius:7px 11px 11px 11px;background:linear-gradient(145deg,rgba(222,190,143,.24),rgba(151,112,69,.12));box-shadow:inset 0 1px rgba(255,255,255,.09),0 12px 25px rgba(0,0,0,.2); }
.cloud-folder-object:before { content:"";position:absolute;left:6px;top:-9px;width:26px;height:10px;border:1px solid rgba(230,202,161,.38);border-bottom:0;border-radius:7px 7px 0 0;background:rgba(192,151,100,.2); }
.cloud-folder-object i,.cloud-folder-object b { position:absolute;left:8px;right:8px;height:1px;background:rgba(237,215,181,.22); }
.cloud-folder-object i { top:17px; }
.cloud-folder-object b { top:25px; }
.cloud-file-object { display:grid;place-items:center;gap:6px;color:#dcc39e; }
.cloud-file-object svg { width:31px;height:31px; }
.cloud-file-object span { color:rgba(242,238,228,.58);font-size:.72rem;letter-spacing:.08em; }
.cloud-item__copy > span { color:var(--nexus-faint);font-size:.78rem;line-height:1.45; }
.cloud-list .cloud-item__select { position:relative;left:auto;top:auto;grid-column:1;grid-row:1;margin-left:2px; }
.cloud-list .cloud-item__visual { margin-left:38px; }
.cloud-list .cloud-item__copy { padding-left:84px; }
.cloud-action-sheet [data-cloud-action-body] { display:grid;padding:8px; }
.cloud-action-sheet [data-cloud-action-body] > button { min-height:58px;padding:8px 12px;border:0;border-radius:13px;background:transparent;color:var(--nexus-muted);display:flex;align-items:center;gap:12px;text-align:left; }
.cloud-action-sheet [data-cloud-action-body] > button:hover,.cloud-action-sheet [data-cloud-action-body] > button:focus-visible { background:rgba(255,255,255,.05);color:var(--nexus-paper); }
.cloud-action-sheet [data-cloud-action-body] > button > span { display:grid;gap:3px; }
.cloud-action-sheet [data-cloud-action-body] em { color:var(--nexus-faint);font-size:.78rem;font-style:normal; }
.cloud-detail-preview { min-height:270px;margin:16px;border-radius:18px;overflow:hidden;background:#0d0c0b;display:grid;place-items:center; }
.cloud-detail-preview img,.cloud-detail-preview video,.cloud-detail-preview iframe { width:100%;height:100%;min-height:270px;object-fit:contain;border:0; }
.cloud-detail-preview audio { width:calc(100% - 28px); }
.cloud-detail-image { width:100%;height:100%;padding:0;border:0;background:transparent; }
.cloud-detail-folder,.cloud-detail-unknown { min-height:240px;display:grid;place-items:center;align-content:center;gap:17px;text-align:center;padding:24px; }
.cloud-detail-folder .cloud-folder-object { scale:1.35; }
.cloud-detail-unknown p { color:var(--nexus-faint);line-height:1.55; }
.cloud-detail-actions { display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:0 16px 16px; }
.cloud-detail-actions button,.cloud-detail-actions a { min-height:43px;padding:7px 10px;border:1px solid var(--nexus-line);border-radius:12px;background:rgba(255,255,255,.02);color:var(--nexus-muted);display:flex;align-items:center;justify-content:center;gap:6px;text-align:center; }
.cloud-detail-actions button:hover,.cloud-detail-actions a:hover { border-color:var(--nexus-line-strong);color:var(--nexus-paper); }
.cloud-detail-facts { padding:0 16px 22px; }
.cloud-detail-facts div { display:flex;justify-content:space-between;gap:20px;padding:11px 0;border-top:1px solid rgba(255,255,255,.055);font-size:.78rem; }
.cloud-detail-facts dt { color:var(--nexus-faint); }
.cloud-detail-facts dd { max-width:210px;text-align:right;overflow-wrap:anywhere; }
.cloud-detail-facts code { font-size:.72rem; }
.cloud-tags { padding:0 16px 24px; }
.cloud-tags header { position:static;padding:12px 0;border-top:1px solid var(--nexus-line);border-bottom:0;background:transparent; }
.cloud-tags header button { width:auto;height:36px;padding:0 10px;border:0;color:var(--nexus-ember); }
.cloud-tags > div { display:flex;flex-wrap:wrap;gap:6px; }
.cloud-tags span { padding:6px 9px;border:1px solid var(--nexus-line);border-radius:9px;color:var(--nexus-muted);font-size:.75rem; }
.cloud-tags em { color:var(--nexus-faint);font-size:.78rem;font-style:normal; }
.cloud-text-loading { width:100%;min-height:270px;padding:16px;display:grid;align-content:start;gap:12px; }
.cloud-text-loading pre { margin:0;white-space:pre-wrap;overflow-wrap:anywhere;color:#ddd2c0;font:12px/1.62 ui-monospace,SFMono-Regular,Consolas,monospace; }
.cloud-text-loading button { justify-self:start;min-height:40px;padding:0 12px;border:1px solid var(--nexus-line);border-radius:11px;background:rgba(255,255,255,.035);color:var(--nexus-paper); }
.cloud-upload-manager article { padding:13px 14px;display:grid;gap:9px;border-top:1px solid rgba(255,255,255,.045); }
.cloud-upload-manager article > div:first-child { min-width:0;display:flex;align-items:center;gap:10px; }
.cloud-upload-manager article > div:first-child > span { min-width:0;display:grid;gap:2px; }
.cloud-upload-manager article strong { overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.82rem; }
.cloud-upload-manager article em { color:var(--nexus-faint);font-size:.75rem;font-style:normal; }
.cloud-upload-progress { height:4px;border-radius:4px;background:rgba(255,255,255,.08);overflow:hidden; }
.cloud-upload-progress i { display:block;height:100%;background:var(--nexus-ember); }
.cloud-upload-manager article footer { display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--nexus-faint);font-size:.75rem; }
.cloud-upload-manager article footer div { display:flex;gap:4px; }
.cloud-upload-manager article footer button { min-height:34px;padding:0 8px;border:0;border-radius:9px;background:rgba(255,255,255,.04);color:var(--nexus-muted); }
.cloud-upload-manager.is-collapsed [data-cloud-upload-list] { display:none; }
.cloud-upload-manager.is-collapsed [data-cloud-upload-collapse] { rotate:180deg; }
.storage-overview { grid-row:span 2;display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center; }
.storage-overview header span,.storage-overview footer,.storage-breakdown > p,.storage-largest > p { color:var(--nexus-faint);line-height:1.5; }
.storage-overview footer { grid-column:1/-1;padding-top:14px;border-top:1px solid var(--nexus-line); }
.storage-ring { background:conic-gradient(var(--nexus-ember) calc(var(--storage,0) * 3.6deg),rgba(255,255,255,.06) 0); }
.storage-ring strong { position:relative;z-index:1; }
.storage-breakdown,.storage-largest { display:grid;align-content:start;gap:4px; }
.storage-breakdown header,.storage-largest header { margin-bottom:10px; }
.storage-breakdown > div,.storage-largest > button { min-height:43px;padding:8px 0;border:0;border-top:1px solid rgba(255,255,255,.055);background:transparent;color:var(--nexus-muted);display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left; }
.storage-breakdown > div > span,.storage-largest > button > span { min-width:0;display:flex;align-items:center;gap:8px; }
.storage-largest b { overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.storage-largest em { color:var(--nexus-faint);font-size:.78rem;font-style:normal; }
.storage-color { width:8px;height:8px;border-radius:50%;background:var(--nexus-ember); }

@media (min-width:1101px) {
  .cloud-app:has(> .cloud-detail:not([hidden])) { grid-template-columns:210px minmax(0,1fr) 370px; }
  .cloud-app:has(> .cloud-detail:not([hidden])) .cloud-upload-manager { right:392px; }
}

/* Bobflix */
.page--bobflix .nexus-app-content { padding:0;overflow:hidden; }
.bobflix-app { min-height:100%;background:#090706;color:#f3eadb;overflow:auto;position:relative; }
.bobflix-header { position:sticky;top:0;z-index:20;height:68px;padding:0 clamp(18px,3vw,44px);display:flex;align-items:center;justify-content:space-between;background:linear-gradient(180deg,rgba(8,6,5,.94),rgba(8,6,5,.68));backdrop-filter:blur(20px);border-bottom:1px solid rgba(255,255,255,.05); }
.bobflix-wordmark { display:flex;align-items:center;gap:9px;color:#f3eadb;letter-spacing:.08em; }
.bobflix-wordmark .nexus-mark { width:32px;height:32px; }
.bobflix-header nav { display:flex;gap:4px; }
.bobflix-header nav button { height:40px;padding:0 13px;border:0;border-radius:12px;background:transparent;color:rgba(243,234,219,.55); }
.bobflix-header nav button:hover,.bobflix-header nav button.is-active { background:rgba(255,255,255,.055);color:#f3eadb; }
.bobflix-header>div { display:flex;gap:6px; }
.bobflix-header>div button { width:42px;height:42px;border:0;border-radius:13px;background:rgba(255,255,255,.035);color:#f3eadb; }
.bobflix-loading { padding:28px;display:grid;grid-template-columns:repeat(6,1fr);gap:11px; }
.bobflix-loading>div { grid-column:1/-1;min-height:430px;border-radius:26px;background:linear-gradient(100deg,#17120e,#2a2018,#17120e);background-size:220% 100%;animation:nexus-skeleton 1.4s linear infinite; }
.bobflix-loading i { aspect-ratio:2/3;border-radius:17px;background:linear-gradient(100deg,#17120e,#251d17,#17120e);background-size:220% 100%;animation:nexus-skeleton 1.4s linear infinite; }
.bobflix-app [data-bobflix-content]>.nexus-product-error { min-height:calc(100dvh - 68px);grid-template-columns:1fr;place-content:center;justify-items:center;text-align:center;padding:clamp(42px,8vw,110px) 24px;border:0;border-radius:0;background:radial-gradient(circle at 50% 38%,rgba(146,92,55,.16),transparent 23%),radial-gradient(circle at 50% 45%,rgba(228,197,154,.045),transparent 44%),linear-gradient(180deg,#0b0807,#080605);overflow:hidden; }
.bobflix-app [data-bobflix-content]>.nexus-product-error>span { width:76px;height:76px;border-radius:50%;color:#e4c59a;border-color:rgba(228,197,154,.22);background:radial-gradient(circle,rgba(228,197,154,.1),rgba(228,197,154,.025));box-shadow:0 0 70px rgba(181,118,71,.13); }
.bobflix-app [data-bobflix-content]>.nexus-product-error>span svg { width:30px;height:30px; }
.bobflix-app [data-bobflix-content]>.nexus-product-error>div { max-width:620px; }
.bobflix-app [data-bobflix-content]>.nexus-product-error strong { margin-top:10px;font-family:var(--font-display,inherit);font-size:clamp(2.5rem,5vw,5.4rem);font-weight:500;line-height:.92;letter-spacing:-.055em; }
.bobflix-app [data-bobflix-content]>.nexus-product-error p { max-width:520px;margin:20px auto 0;color:rgba(243,234,219,.58);font-size:clamp(.95rem,1.2vw,1.08rem); }
.bobflix-app [data-bobflix-content]>.nexus-product-error footer { justify-content:center;margin-top:28px; }
.bobflix-app [data-bobflix-content]>.nexus-product-error footer a:first-child { background:#eee2cf;color:#17110d;border-color:#eee2cf; }
.bobflix-app [data-bobflix-content]>.nexus-product-error small { margin-top:22px;color:rgba(243,234,219,.24); }
.bobflix-hero { position:relative;min-height:min(720px,72vh);display:grid;align-items:end;padding:70px clamp(24px,5vw,78px);overflow:hidden;isolation:isolate; }
.bobflix-hero__backdrop { position:absolute;inset:0;z-index:-2;background-size:cover;background-position:center 25%;filter:saturate(.72) contrast(1.03); }
.bobflix-hero__backdrop:after { content:"";position:absolute;inset:0;background:linear-gradient(90deg,#090706 2%,rgba(9,7,6,.86) 28%,rgba(9,7,6,.18) 70%),linear-gradient(0deg,#090706 0%,transparent 55%,rgba(9,7,6,.35)); }
.bobflix-hero__copy { width:min(630px,90%); }
.bobflix-hero__copy>span { color:#ddb987;font-size:.75rem;letter-spacing:.15em; }
.bobflix-hero h2 { margin:.18em 0 .18em;font-size:clamp(3.2rem,6vw,7.5rem);line-height:.88;letter-spacing:-.06em;font-weight:540; }
.bobflix-hero p { color:rgba(243,234,219,.7);font-size:clamp(.95rem,1.15vw,1.1rem);line-height:1.55;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden; }
.bobflix-hero__meta { display:flex;gap:12px;margin:18px 0;color:rgba(243,234,219,.5);font-size:.76rem; }
.bobflix-hero__actions { display:flex;gap:8px;margin-top:24px; }
.bobflix-hero__actions button { min-height:46px;padding:0 18px;border:1px solid rgba(255,255,255,.12);border-radius:14px;background:rgba(255,255,255,.07);color:#f3eadb;display:flex;align-items:center;gap:9px; }
.bobflix-hero__actions button:first-child { background:#eee2cf;color:#17110d;border-color:#eee2cf; }
.bobflix-home-sections { position:relative;z-index:2;margin-top:-28px;padding:0 clamp(18px,3.5vw,54px) 80px; }
.bobflix-row { margin-bottom:30px; }
.bobflix-row>header { display:flex;align-items:center;justify-content:space-between;margin-bottom:12px; }
.bobflix-row h3 { font-size:1.25rem;letter-spacing:-.02em; }
.bobflix-row header button { border:0;background:transparent;color:rgba(243,234,219,.48); }
.bobflix-row__track { display:grid;grid-auto-flow:column;grid-auto-columns:minmax(170px,14.5vw);gap:10px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;padding-bottom:8px;scrollbar-width:none; }
.bobflix-row__track::-webkit-scrollbar { display:none; }
.bobflix-tile { scroll-snap-align:start;min-width:0;border:0;background:transparent;color:#f3eadb;text-align:left; }
.bobflix-tile__art { position:relative;aspect-ratio:2/3;border-radius:16px;overflow:hidden;background:#1d1712;box-shadow:0 14px 35px rgba(0,0,0,.28); }
.bobflix-tile--wide .bobflix-tile__art { aspect-ratio:16/9; }
.bobflix-tile__art img { width:100%;height:100%;object-fit:cover;transition:transform .4s cubic-bezier(.2,.7,.2,1),filter .3s; }
.bobflix-tile:hover img,.bobflix-tile:focus-visible img { transform:scale(1.035);filter:brightness(1.08); }
.bobflix-tile__art>span { position:absolute;left:7px;right:7px;bottom:6px;height:3px;background:rgba(0,0,0,.5);border-radius:4px;overflow:hidden; }
.bobflix-tile__art>span i { display:block;height:100%;width:var(--media-progress,0%);background:#e4c59a; }
.bobflix-tile__art>button { position:absolute;right:8px;bottom:10px;width:39px;height:39px;border:0;border-radius:50%;background:rgba(10,7,5,.76);color:#fff;display:grid;place-items:center;opacity:0;transform:translateY(4px);transition:.2s; }
.bobflix-tile:hover .bobflix-tile__art>button,.bobflix-tile:focus-within .bobflix-tile__art>button { opacity:1;transform:none; }
.bobflix-tile__copy { display:grid;gap:4px;padding:9px 2px; }
.bobflix-tile__copy strong { white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.82rem; }
.bobflix-tile__copy span { color:rgba(243,234,219,.42);font-size:.75rem; }
.bobflix-empty { min-height:70dvh;display:grid;place-items:center;text-align:center;padding:32px; }
.bobflix-empty>div { max-width:500px; }
.bobflix-empty h2 { font-size:clamp(2.3rem,5vw,5rem);line-height:.93;letter-spacing:-.055em;margin:18px 0 12px; }
.bobflix-empty p { color:rgba(243,234,219,.6);line-height:1.6; }
.bobflix-empty a { display:inline-flex;margin-top:22px; }
.bobflix-mobile-nav { display:none; }
.bobflix-search-sheet,.bobflix-detail-sheet { position:fixed;inset:0;z-index:140; }
.bobflix-search-sheet[hidden],.bobflix-detail-sheet[hidden] { display:none; }
.bobflix-search-sheet>div,.bobflix-detail-sheet>div { position:absolute;inset:0;background:rgba(0,0,0,.7);backdrop-filter:blur(8px); }
.bobflix-search-sheet>section { position:absolute;left:50%;top:8%;translate:-50% 0;width:min(820px,calc(100% - 28px));max-height:84dvh;overflow:auto;padding:24px;border:1px solid rgba(255,255,255,.09);border-radius:26px;background:#17120f;box-shadow:0 30px 90px rgba(0,0,0,.55); }
.bobflix-search-sheet header { display:flex;justify-content:space-between;align-items:center;margin-bottom:20px; }
.bobflix-search-sheet header>div { display:flex;align-items:center;gap:12px; }
.bobflix-search-sheet header button,.bobflix-detail-sheet>section>button { width:44px;height:44px;border:1px solid rgba(255,255,255,.09);border-radius:14px;background:transparent;color:#f3eadb; }
.bobflix-search-sheet>section>label { height:56px;padding:0 16px;display:flex;align-items:center;gap:10px;border:1px solid rgba(255,255,255,.1);border-radius:16px;background:#0e0b09; }
.bobflix-search-sheet input { width:100%;border:0;outline:0;background:transparent;color:#f3eadb;font-size:1rem; }
.bobflix-search-results { display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:18px; }
.bobflix-detail-sheet>section { position:absolute;right:0;top:0;bottom:0;width:min(720px,96vw);overflow:auto;background:#100c09;border-left:1px solid rgba(255,255,255,.09);box-shadow:-30px 0 80px rgba(0,0,0,.5); }
.bobflix-detail-sheet>section>button { position:sticky;top:14px;z-index:5;margin:14px;float:right;background:rgba(10,7,5,.66); }
.bobflix-detail-hero { position:relative;min-height:430px;padding:220px 30px 30px;clear:both;background-size:cover;background-position:center; }
.bobflix-detail-hero:before { content:"";position:absolute;inset:0;background:linear-gradient(0deg,#100c09 8%,rgba(16,12,9,.3) 70%),linear-gradient(90deg,rgba(16,12,9,.85),transparent); }
.bobflix-detail-hero>* { position:relative; }
.bobflix-detail-hero h2 { font-size:clamp(2.5rem,5vw,5rem);line-height:.9;letter-spacing:-.05em; }
.bobflix-detail-body { padding:0 30px 50px; }
.bobflix-detail-body>p { color:rgba(243,234,219,.64);line-height:1.65; }
.bobflix-detail-actions { display:flex;gap:8px;margin:20px 0; }
.bobflix-detail-actions button { min-height:44px;padding:0 16px;border:1px solid rgba(255,255,255,.11);border-radius:13px;background:rgba(255,255,255,.05);color:#f3eadb;display:flex;align-items:center;gap:8px; }
.bobflix-detail-actions button:first-child { background:#eee2cf;color:#17110d; }
.bobflix-episode-list { display:grid;gap:8px;margin-top:24px; }
.bobflix-episode { display:grid;grid-template-columns:130px 1fr auto;gap:14px;align-items:center;padding:10px;border:1px solid rgba(255,255,255,.06);border-radius:15px;background:rgba(255,255,255,.02); }
.bobflix-episode img { width:130px;aspect-ratio:16/9;object-fit:cover;border-radius:10px; }
.bobflix-episode p { color:rgba(243,234,219,.48);font-size:.875rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; }

/* Current Bobflix data markup. */
.bobflix-hero { background-image:var(--bobflix-backdrop);background-size:cover;background-position:center 25%; }
.bobflix-hero__veil { position:absolute;inset:0;z-index:0;background:linear-gradient(90deg,#090706 2%,rgba(9,7,6,.88) 32%,rgba(9,7,6,.2) 72%),linear-gradient(0deg,#090706 0%,transparent 58%,rgba(9,7,6,.38)); }
.bobflix-hero > div:last-child { position:relative;z-index:1;width:min(650px,92%); }
.bobflix-hero > div:last-child > p:first-child { color:#ddb987;font-size:.78rem;letter-spacing:.15em;text-transform:uppercase; }
.bobflix-home-sections { position:relative;z-index:2;margin-top:-28px;padding:0 clamp(18px,3.5vw,54px) 80px; }
.bobflix-row > header > span { color:rgba(243,234,219,.48);font-size:.78rem; }
.bobflix-row__track { grid-auto-columns:clamp(165px,14.5vw,235px); }
.bobflix-tile { display:grid;align-content:start;gap:4px;padding:0 0 10px;overflow:hidden; }
.bobflix-tile > div:first-child { position:relative;width:100%;aspect-ratio:2/3;margin-bottom:6px;border-radius:16px;overflow:hidden;background:linear-gradient(145deg,#251d16,#120e0b);box-shadow:0 14px 35px rgba(0,0,0,.28); }
.bobflix-tile > div:first-child > img { position:absolute;z-index:2;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .4s cubic-bezier(.2,.7,.2,1),filter .3s; }
.bobflix-tile:hover > div:first-child > img,.bobflix-tile:focus-visible > div:first-child > img { transform:scale(1.035);filter:brightness(1.08); }
.bobflix-tile:focus-visible { outline:0; }
.bobflix-tile:focus-visible > div:first-child { box-shadow:0 0 0 2px rgba(238,226,207,.88),0 18px 42px rgba(0,0,0,.4); }
.bobflix-tile__fallback { position:absolute;z-index:1;inset:0;display:grid;place-items:center;color:rgba(243,234,219,.28);background:radial-gradient(circle,rgba(221,185,135,.1),transparent 55%); }
.bobflix-tile > div:first-child > i { position:absolute;z-index:3;left:0;bottom:0;height:4px;background:#e4c59a;box-shadow:0 0 14px rgba(228,197,154,.28); }
.bobflix-tile > strong { padding-inline:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.9rem;line-height:1.35; }
.bobflix-tile > span:last-child { padding-inline:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:rgba(243,234,219,.48);font-size:.78rem;line-height:1.4; }
.bobflix-library { min-height:100%;padding:clamp(30px,5vw,70px) clamp(18px,4vw,58px) 80px; }
.bobflix-library > header { margin-bottom:30px; }
.bobflix-library > header p,.bobflix-profile-select > p { color:#ddb987;font-size:.78rem;letter-spacing:.15em; }
.bobflix-library > header h2,.bobflix-profile-select h2 { margin:.2em 0;font-size:clamp(3rem,6vw,6.5rem);line-height:.9;letter-spacing:-.055em;font-weight:520; }
.bobflix-library > div { display:grid;grid-template-columns:repeat(auto-fill,minmax(165px,1fr));gap:18px 11px; }
.bobflix-profile-select { min-height:70dvh;padding:clamp(40px,7vw,90px);display:grid;align-content:center; }
.bobflix-profile-select > div { display:flex;flex-wrap:wrap;gap:10px;margin-top:28px; }
.bobflix-profile-select button { min-width:150px;padding:16px;border:1px solid rgba(255,255,255,.08);border-radius:18px;background:rgba(255,255,255,.025);color:#f3eadb;display:flex;align-items:center;gap:12px; }
.bobflix-profile-select button > span { width:42px;height:42px;border-radius:14px;background:rgba(229,194,146,.1);display:grid;place-items:center;color:#e5c292; }
.bobflix-library-empty { padding:24px 0;color:rgba(243,234,219,.55); }
.bobflix-search-results .bobflix-tile { min-width:0; }
.bobflix-detail { min-height:100%; }
.bobflix-detail__hero { position:relative;min-height:440px;clear:both;padding:190px 30px 30px;display:grid;grid-template-columns:170px minmax(0,1fr);gap:24px;align-items:end;background-image:linear-gradient(0deg,#100c09 3%,rgba(16,12,9,.25) 68%),linear-gradient(90deg,rgba(16,12,9,.92),rgba(16,12,9,.18)),var(--detail-backdrop);background-size:cover;background-position:center; }
.bobflix-detail__hero > img { width:170px;aspect-ratio:2/3;object-fit:cover;border-radius:16px;background:#201811;box-shadow:0 20px 50px rgba(0,0,0,.4); }
.bobflix-detail__hero > div { min-width:0; }
.bobflix-detail__hero > div > p { color:#ddb987;font-size:.75rem;letter-spacing:.14em;text-transform:uppercase; }
.bobflix-detail__hero h2 { margin:.12em 0 .18em;font-size:clamp(2.8rem,5vw,5.3rem);line-height:.9;letter-spacing:-.055em;font-weight:530;overflow-wrap:anywhere; }
.bobflix-detail__hero > div > div { display:flex;flex-wrap:wrap;gap:10px;color:rgba(243,234,219,.55);font-size:.78rem; }
.bobflix-detail__hero button { min-height:44px;margin:18px 6px 0 0;padding:0 15px;border:1px solid rgba(255,255,255,.11);border-radius:13px;background:rgba(255,255,255,.06);color:#f3eadb;display:inline-flex;align-items:center;gap:8px; }
.bobflix-detail__hero [data-bobflix-detail-play] { background:#eee2cf;color:#17110d;border-color:#eee2cf; }
.bobflix-detail > section { padding:0 30px 28px; }
.bobflix-detail > section > p { color:rgba(243,234,219,.68);font-size:1rem;line-height:1.68; }
.bobflix-genres { display:flex;flex-wrap:wrap;gap:6px;margin-top:16px; }
.bobflix-genres span { padding:6px 9px;border:1px solid rgba(255,255,255,.08);border-radius:9px;color:rgba(243,234,219,.55);font-size:.75rem; }
.bobflix-seasons h3,.bobflix-people h3,[data-bobflix-episodes] h3 { margin-bottom:12px;font-size:1.2rem; }
.bobflix-seasons > div { display:grid;grid-auto-flow:column;grid-auto-columns:130px;gap:9px;overflow-x:auto;padding-bottom:6px; }
.bobflix-seasons button { padding:0;border:0;background:transparent;color:#f3eadb;text-align:left; }
.bobflix-seasons img { width:100%;aspect-ratio:2/3;object-fit:cover;border-radius:12px;background:#201811; }
.bobflix-seasons strong { display:block;margin-top:7px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.bobflix-episode-list > button { width:100%;min-height:94px;padding:9px;border:1px solid rgba(255,255,255,.06);border-radius:15px;background:rgba(255,255,255,.02);color:#f3eadb;display:grid;grid-template-columns:130px minmax(0,1fr);gap:14px;align-items:center;text-align:left; }
.bobflix-episode-list > button img { width:130px;aspect-ratio:16/9;object-fit:cover;border-radius:10px;background:#201811; }
.bobflix-episode-list > button > span { min-width:0;position:relative;display:grid;gap:4px;padding-bottom:6px; }
.bobflix-episode-list small { color:#ddb987;font-size:.72rem;letter-spacing:.1em; }
.bobflix-episode-list p { color:rgba(243,234,219,.5);font-size:.82rem;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; }
.bobflix-episode-list i { position:absolute;left:0;bottom:0;height:3px;background:#e4c59a; }
.bobflix-people > div { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px; }
.bobflix-people span { padding:12px;border:1px solid rgba(255,255,255,.06);border-radius:12px;display:grid;gap:3px; }
.bobflix-people em { color:rgba(243,234,219,.48);font-size:.75rem;font-style:normal; }
.bobflix-player { position:fixed;inset:0;z-index:200;background:#000; }
.bobflix-player[hidden] { display:none; }
.bobflix-player__stage { width:100%;height:100%;position:relative;display:grid;place-items:center;overflow:hidden; }
.bobflix-player video { width:100%;height:100%;object-fit:contain;background:#000; }
.bobflix-player__shade { position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.65),transparent 28%,transparent 65%,rgba(0,0,0,.75));opacity:1;transition:.35s;pointer-events:none; }
.bobflix-player.is-idle .bobflix-player__shade,.bobflix-player.is-idle header,.bobflix-player.is-idle footer,.bobflix-player.is-idle .bobflix-player__center { opacity:0; }
.bobflix-player header { position:absolute;left:0;right:0;top:0;padding:calc(18px + env(safe-area-inset-top)) 22px 18px;display:flex;align-items:center;gap:14px;transition:.3s; }
.bobflix-player header button { width:48px;height:48px;border:0;border-radius:50%;background:rgba(15,12,10,.65);color:#fff; }
.bobflix-player header div { display:grid;gap:2px; }
.bobflix-player header span { color:rgba(255,255,255,.55);font-size:.75rem; }
.bobflix-player__center { position:absolute;display:flex;align-items:center;gap:22px;transition:.3s; }
.bobflix-player__center button { width:58px;height:58px;border:0;border-radius:50%;background:rgba(15,12,10,.52);color:#fff;display:grid;place-items:center;position:relative; }
.bobflix-player__center [data-player-toggle] { width:76px;height:76px;background:rgba(238,226,207,.92);color:#15100d; }
.bobflix-player__center button span { position:absolute;font-size:.8125rem;font-weight:700; }
.bobflix-player footer { position:absolute;left:0;right:0;bottom:0;padding:18px 24px calc(22px + env(safe-area-inset-bottom));transition:.3s; }
.bobflix-player footer>input { width:100%;accent-color:#e4c59a; }
.bobflix-player footer>div { display:flex;justify-content:space-between;align-items:center;margin-top:10px; }
.bobflix-player footer>div>div { display:flex;align-items:center;gap:7px; }
.bobflix-player footer button { width:42px;height:42px;border:0;border-radius:12px;background:transparent;color:#fff; }
.bobflix-player [data-player-volume] { width:100px;accent-color:#e4c59a; }
.bobflix-player__error { position:absolute;inset:0;display:grid;place-items:center;padding:32px;background:#0b0806;color:#f3eadb;text-align:center; }
.bobflix-player__error { pointer-events:none; }
.bobflix-player__error button { pointer-events:auto; }

/* Search, account, settings, system */
.private-search,.nexus-settings-layout,.system-dashboard { width:min(1380px,100%);margin:auto; }
.private-search>header { max-width:900px;margin:5vh auto 40px;text-align:center; }
.private-search>header p { color:var(--nexus-ember);font-size:.875rem;letter-spacing:.14em; }
.private-search h2 { margin:.16em 0 .3em;font-size:clamp(3rem,7vw,7rem);line-height:.9;letter-spacing:-.06em;font-weight:510; }
.private-search label { height:64px;padding:0 20px;margin-top:30px;display:flex;align-items:center;gap:12px;border:1px solid var(--nexus-line-strong);border-radius:20px;background:rgba(255,255,255,.03); }
.private-search input { width:100%;border:0;outline:0;background:transparent;color:var(--nexus-paper);font-size:1.1rem; }
.private-search-empty { min-height:360px;display:grid;place-items:center;align-content:center;text-align:center; }
.private-search-empty h3 { margin:18px 0 8px;font-size:1.8rem; }
.private-search-empty p { max-width:500px;color:var(--nexus-muted);line-height:1.55; }
.private-search-partial { margin:22px 0 6px;padding:14px 16px;border:1px solid color-mix(in srgb,var(--nexus-ember) 42%,transparent);border-radius:14px;background:color-mix(in srgb,var(--nexus-ember) 8%,transparent); }
.private-search-partial strong { color:var(--nexus-paper); }
.private-search-partial p { margin:4px 0 0;color:var(--nexus-muted);font-size:.9rem;line-height:1.45; }
.cloud-shared { display:grid;gap:38px; }
.cloud-shared>section>header { margin-bottom:14px; }
.cloud-shared>section>header p { color:var(--nexus-ember);font-size:.76rem;letter-spacing:.14em; }
.cloud-shared>section>header h3 { margin:4px 0 0;font-size:1.35rem;font-weight:520; }
.cloud-share-list { display:grid;border-top:1px solid var(--nexus-line); }
.cloud-share-row { min-height:78px;padding:12px 4px;display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;border-bottom:1px solid var(--nexus-line); }
.cloud-share-row>span { width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:rgba(255,255,255,.04);color:var(--nexus-ember); }
.cloud-share-row>div { min-width:0;display:grid;gap:3px; }
.cloud-share-row p,.cloud-share-row small { margin:0;color:var(--nexus-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
.cloud-share-row small { color:var(--nexus-faint);font-size:.76rem; }
.cloud-share-row button { min-height:38px;padding:0 14px;border:1px solid var(--nexus-line-strong);border-radius:12px;color:var(--nexus-paper); }
.cloud-share-row.is-inactive { opacity:.62; }
.cloud-share-row em { color:var(--nexus-faint);font-size:.7rem;letter-spacing:.13em; }
@media (max-width:600px) { .cloud-share-row { grid-template-columns:38px minmax(0,1fr); }.cloud-share-row>button,.cloud-share-row>em { grid-column:2;justify-self:start; }.cloud-share-row p,.cloud-share-row small { white-space:normal; } }
.private-search-group { margin-top:28px; }
.private-search-group header { display:flex;align-items:end;justify-content:space-between;padding-bottom:10px;border-bottom:1px solid var(--nexus-line); }
.private-search-group header p { color:var(--nexus-faint);font-size:.875rem;letter-spacing:.14em; }
.private-search-group__items { display:grid; }
.private-search-result { min-height:64px;padding:10px 4px;display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:12px;align-items:center;border-bottom:1px solid rgba(255,255,255,.05);color:var(--nexus-paper); }
.private-search-result>span:first-child { width:38px;height:38px;border-radius:12px;background:rgba(255,255,255,.04);display:grid;place-items:center;color:var(--nexus-ember); }
.private-search-result div { display:grid;gap:3px; }
.private-search-result small { color:var(--nexus-faint); }
.nexus-settings-layout { min-width:0;display:grid;grid-template-columns:220px minmax(0,1fr);gap:48px;padding-top:20px; }
.nexus-settings-layout>div,.nexus-settings-layout>div>section { min-width:0; }
.nexus-settings-layout>nav { display:grid;align-content:start;gap:4px;position:sticky;top:0; }
.nexus-settings-layout>nav button { min-height:44px;padding:0 13px;border:0;border-radius:12px;background:transparent;color:var(--nexus-muted);text-align:left; }
.nexus-settings-layout>nav button:hover,.nexus-settings-layout>nav button.is-active { background:rgba(255,255,255,.05);color:var(--nexus-paper); }
.nexus-settings-layout>div>section { max-width:820px; }
.nexus-settings-layout h2 { margin:.18em 0 .45em;font-size:clamp(2.5rem,5vw,5rem);line-height:.92;letter-spacing:-.055em;font-weight:510; }
.appearance-options,.notification-settings { display:grid;gap:9px;margin-top:28px; }
.appearance-options label,.notification-settings label { display:flex;align-items:center;gap:13px;padding:17px;border:1px solid var(--nexus-line);border-radius:16px;background:rgba(255,255,255,.016); }
.appearance-options label:has(input:checked) { border-color:rgba(216,168,110,.28);background:rgba(216,168,110,.06); }
.appearance-options input { accent-color:var(--nexus-ember); }
.appearance-options span { display:grid;gap:4px; }
.appearance-options em { color:var(--nexus-faint);font-size:.75rem;font-style:normal; }
.settings-service-panel { margin:24px 0;padding:20px;border:1px solid var(--nexus-line);border-radius:18px;background:rgba(255,255,255,.018); }
.account-profile-card { width:100%;min-width:0;box-sizing:border-box;display:flex;align-items:center;gap:16px;margin:28px 0;padding:22px;border:1px solid var(--nexus-line);border-radius:20px;background:rgba(255,255,255,.018); }
.account-profile-card>span { flex:none;width:62px;height:62px;border-radius:22px;background:linear-gradient(145deg,#d9c3a1,#92704c);color:#17110d;display:grid;place-items:center;font-size:1.6rem;font-weight:700; }
.account-profile-card div { min-width:0;display:grid;gap:4px; }
.account-profile-card strong,.account-profile-card em { min-width:0;overflow-wrap:anywhere; }
.account-profile-card em { color:var(--nexus-muted);font-style:normal; }
.account-edit-form,.account-facts,.account-session-list,.nexus-security-notes { width:100%;min-width:0;box-sizing:border-box; }
.account-facts { display:grid; }
.account-facts div { display:flex;justify-content:space-between;padding:14px 0;border-top:1px solid var(--nexus-line); }
.account-facts dt { color:var(--nexus-faint); }
.account-session-list { display:grid;gap:8px;margin-top:25px; }
.account-session-row { padding:16px;border:1px solid var(--nexus-line);border-radius:15px;display:grid;grid-template-columns:1fr auto;gap:4px 14px; }
.account-session-row small { color:var(--nexus-faint); }
.account-session-row button { grid-column:2;grid-row:1/3;border:0;background:transparent;color:var(--nexus-danger); }
.nexus-security-notes { display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:28px; }
.nexus-security-notes article { padding:20px;border:1px solid var(--nexus-line);border-radius:17px;background:rgba(255,255,255,.018); }
.nexus-security-notes p { margin-top:8px;color:var(--nexus-muted);font-size:.875rem;line-height:1.5; }
.system-dashboard>header { display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:28px; }
.system-dashboard>header p { color:var(--nexus-ember);font-size:.875rem;letter-spacing:.14em; }
.system-dashboard>header h2 { margin:.16em 0 .1em;font-size:clamp(2.7rem,5vw,5.5rem);line-height:.9;letter-spacing:-.06em;font-weight:500; }
.system-dashboard>header span { color:var(--nexus-muted); }
.system-dashboard>header>div:last-child { display:flex;gap:8px; }
.system-dashboard>header button { height:44px;padding:0 14px;border:1px solid var(--nexus-line);border-radius:13px;background:rgba(255,255,255,.025);color:var(--nexus-muted);display:flex;align-items:center;gap:7px; }
.system-overview { display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:14px; }
.system-stat { min-height:130px;padding:20px;border:1px solid var(--nexus-line);border-radius:19px;background:rgba(255,255,255,.018);display:grid;align-content:space-between; }
.system-stat small { color:var(--nexus-faint);font-size:.75rem;letter-spacing:.12em; }
.system-stat strong { font-size:1.65rem;letter-spacing:-.03em; }
.system-stat em { color:var(--nexus-muted);font-style:normal;font-size:.75rem; }
.system-dashboard,.system-overview,.system-grid,.system-grid>article,.system-audit { min-width:0;box-sizing:border-box; }
.system-grid { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px; }
.system-grid>article,.system-audit { width:100%;padding:22px;border:1px solid var(--nexus-line);border-radius:21px;background:rgba(255,255,255,.018); }
.system-grid header p,.system-audit header p { color:var(--nexus-faint);font-size:.875rem;letter-spacing:.13em; }
.system-grid header h3,.system-audit header h3 { margin-top:5px;font-size:1.25rem; }
.system-metric-list { display:grid;margin-top:16px; }
.system-metric-list div { min-width:0;display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding:11px 0;border-top:1px solid rgba(255,255,255,.055);font-size:.78rem; }
.system-metric-list span { color:var(--nexus-muted); }
.system-metric-list em { min-width:0;font-style:normal;text-align:right;overflow-wrap:anywhere; }
.system-audit { margin-top:12px; }
.system-audit-row { display:grid;grid-template-columns:minmax(0,1fr) 110px 150px;gap:12px;padding:11px 0;border-top:1px solid rgba(255,255,255,.055);font-size:.75rem; }
.system-audit-row span,.system-audit-row time { color:var(--nexus-faint); }

/* Public Cloud / Bobflix product pages */
.page--cloud-product,.page--bobflix-product { background:#0a0908;color:var(--nexus-paper); }
.cloud-product-hero,.bobflix-product-hero { position:relative;min-height:94dvh;display:grid;align-items:center;overflow:hidden;isolation:isolate; }
.cloud-product-hero__ambient,.bobflix-product-hero__light { position:absolute;inset:0;z-index:-1; }
.cloud-product-hero__ambient i,.cloud-product-hero__ambient b,.bobflix-product-hero__light i { position:absolute;border-radius:50%;filter:blur(90px); }
.cloud-product-hero__ambient i:first-child { width:40vw;height:40vw;left:-10%;top:7%;background:rgba(166,117,65,.16); }
.cloud-product-hero__ambient i:nth-child(2) { width:34vw;height:34vw;right:-8%;bottom:4%;background:rgba(68,125,133,.12); }
.cloud-product-hero__ambient b { width:1px;height:75%;left:53%;top:12%;background:linear-gradient(transparent,rgba(235,216,188,.2),transparent);filter:none; }
.cloud-product-hero__layout,.bobflix-product-hero__layout { display:grid;grid-template-columns:1fr .9fr;gap:clamp(50px,8vw,130px);align-items:center;padding-block:80px; }
.cloud-product-hero h1,.bobflix-product-hero h1 { margin:.18em 0 .28em;font-size:clamp(4rem,8.5vw,10rem);line-height:.82;letter-spacing:-.075em;font-weight:520; }
.cloud-product-hero p:not(.eyebrow),.bobflix-product-hero p:not(.eyebrow) { max-width:650px;color:var(--nexus-muted);font-size:clamp(1rem,1.35vw,1.3rem);line-height:1.62; }
.cloud-product-signals,.bobflix-product-truth { display:flex;flex-wrap:wrap;gap:6px;margin-top:30px; }
.cloud-product-signals span,.bobflix-product-truth span { padding:8px 10px;border-top:1px solid var(--nexus-line);color:var(--nexus-faint);font-size:.75rem;letter-spacing:.12em; }
.cloud-product-hero__object { position:relative;min-height:600px;display:grid;place-items:center;border:1px solid var(--nexus-line);border-radius:48% 52% 45% 55%;background:radial-gradient(circle,rgba(216,168,110,.1),transparent 34%),rgba(255,255,255,.012); }
.cloud-product-hero__object i,.cloud-product-hero__object b { position:absolute;border:1px solid rgba(226,197,157,.14);border-radius:40%; }
.cloud-product-hero__object i:first-of-type { inset:13%;transform:rotate(12deg); }
.cloud-product-hero__object i:nth-of-type(2) { inset:25%;transform:rotate(-15deg); }
.cloud-product-hero__object b { inset:38%;border-radius:50%; }
.cloud-product-hero__object>span { position:absolute;bottom:12%;font-size:.75rem;letter-spacing:.15em;line-height:1.5;color:var(--nexus-faint);text-align:center; }
.cloud-product-story { background:#11100e; }
.cloud-product-story header { max-width:900px;margin-bottom:55px; }
.cloud-product-story h2,.cloud-product-rpi h2,.bobflix-product-story h2 { margin:.18em 0 .25em;font-size:clamp(3rem,6vw,7rem);line-height:.88;letter-spacing:-.065em;font-weight:510; }
.cloud-product-story__grid { display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--nexus-line); }
.cloud-product-story__grid article { min-height:320px;padding:26px;background:#11100e; }
.cloud-product-story__grid article>strong { color:var(--nexus-ember);font-size:.75rem; }
.cloud-product-story__grid h3 { margin-top:120px;font-size:1.8rem; }
.cloud-product-story__grid p { margin-top:10px;color:var(--nexus-muted);line-height:1.55; }
.cloud-product-rpi>.container { display:grid;grid-template-columns:1.2fr .8fr;gap:80px;align-items:center; }
.cloud-product-rpi p:not(.eyebrow) { color:var(--nexus-muted);max-width:650px;line-height:1.65; }
.cloud-product-rpi dl { border-top:1px solid var(--nexus-line); }
.cloud-product-rpi dl div { display:flex;justify-content:space-between;padding:18px 0;border-bottom:1px solid var(--nexus-line); }
.cloud-product-rpi dt { color:var(--nexus-faint); }
.bobflix-product-hero { background:#080604; }
.bobflix-product-hero__light i:first-child { width:46vw;height:46vw;right:-13%;top:-8%;background:rgba(137,74,42,.18); }
.bobflix-product-hero__light i:nth-child(2) { width:36vw;height:36vw;left:-10%;bottom:-12%;background:rgba(150,111,61,.1); }
.bobflix-product-frame { min-height:600px;border:1px solid rgba(255,255,255,.08);border-radius:30px;background:linear-gradient(145deg,#251a13,#0c0907);box-shadow:0 50px 110px rgba(0,0,0,.5);display:grid;place-items:center;position:relative;overflow:hidden; }
.bobflix-product-frame>span { position:absolute;inset:12%;border:1px solid rgba(255,255,255,.08);border-radius:22px; }
.bobflix-product-frame>span i { position:absolute;inset:14%;border:1px solid rgba(229,194,146,.12);border-radius:16px; }
.bobflix-product-frame>em { position:absolute;bottom:9%;font-style:normal;color:rgba(243,234,219,.4);font-size:.75rem;letter-spacing:.15em; }
.bobflix-product-story { background:linear-gradient(180deg,#0d0907,#15100c); }
.bobflix-product-story header { max-width:930px; }
.bobflix-product-story header>p:last-child { color:rgba(243,234,219,.63);max-width:700px;line-height:1.65; }
.bobflix-product-story .container>div:last-child { display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:50px; }
.bobflix-product-story article { min-height:270px;padding:25px;border:1px solid rgba(255,255,255,.075);border-radius:22px;background:rgba(255,255,255,.018); }
.bobflix-product-story article>span { width:50px;height:50px;border-radius:16px;background:rgba(229,194,146,.08);display:grid;place-items:center;color:#e5c292; }
.bobflix-product-story article strong { display:block;margin-top:82px;font-size:1.3rem; }
.bobflix-product-story article p { margin-top:9px;color:rgba(243,234,219,.58);line-height:1.55; }

/* Public share */
.page--shared-file { min-height:100dvh;background:#0a0908;color:var(--nexus-paper);position:relative;overflow:hidden; }
.shared-file-ambient { position:fixed;inset:0;pointer-events:none; }
.shared-file-ambient i { position:absolute;border-radius:50%;filter:blur(100px); }
.shared-file-ambient i:first-child { width:48vw;height:48vw;left:-15%;top:-20%;background:rgba(157,110,59,.15); }
.shared-file-ambient i:nth-child(2) { width:40vw;height:40vw;right:-12%;bottom:-17%;background:rgba(62,112,121,.11); }
.page--shared-file .shared-file-main { position:relative;width:min(1100px,calc(100% - 32px));min-height:100dvh;margin:auto;display:grid;grid-template-rows:auto 1fr auto;padding:28px 0; }
.page--shared-file .shared-file-main>header { display:flex;justify-content:space-between;align-items:center; }
.page--shared-file .shared-file-main>header>span { color:var(--nexus-faint);font-size:.75rem;letter-spacing:.14em; }
.page--shared-file .shared-file-main>section { display:grid;place-items:center;padding:40px 0; }
.shared-file-loading { text-align:center; }
.shared-file-loading h1 { margin-top:20px;font-size:clamp(2.5rem,6vw,5.8rem);letter-spacing:-.06em; }
.shared-file-card { width:min(760px,100%);padding:30px;border:1px solid var(--nexus-line);border-radius:26px;background:rgba(26,23,20,.84);box-shadow:var(--nexus-shadow); }
.shared-file-card__preview { min-height:360px;border-radius:19px;background:#0c0b09;display:grid;place-items:center;overflow:hidden; }
.shared-file-card__preview img,.shared-file-card__preview video,.shared-file-card__preview iframe { max-width:100%;max-height:70dvh;border:0; }
.shared-file-card header { display:flex;justify-content:space-between;gap:20px;margin-top:20px; }
.shared-file-card h1 { font-size:1.7rem; }
.shared-file-card p { color:var(--nexus-faint); }
.page--shared-file .shared-file-main>footer { color:var(--nexus-faint);font-size:.75rem;text-align:center; }

/* Toasts injected by Nexus */
.nexus-toast-stack { position:fixed;right:18px;bottom:18px;z-index:260;display:grid;gap:8px;pointer-events:none; }
.nexus-toast { width:min(380px,calc(100vw - 32px));padding:13px 15px;border:1px solid var(--nexus-line);border-radius:15px;background:#201c18;color:var(--nexus-paper);box-shadow:0 18px 50px rgba(0,0,0,.45);display:grid;grid-template-columns:auto 1fr;gap:10px;animation:nexus-toast-in .3s cubic-bezier(.2,.8,.2,1); }
.nexus-toast i { width:8px;height:8px;margin-top:5px;border-radius:50%;background:var(--nexus-moss); }
.nexus-toast.is-error i { background:var(--nexus-danger); }
.nexus-toast strong { font-size:.82rem; }
.nexus-toast p { margin-top:3px;color:var(--nexus-muted);font-size:.875rem; }
@keyframes nexus-toast-in { from{opacity:0;transform:translateY(10px) scale(.98)} }

@media (max-width: 1100px) {
  .nexus-home-reveal__inner { grid-template-columns:1fr; }
  .nexus-convergence { width:min(700px,100%);margin:auto; }
  .my-betra-primary-grid { grid-template-columns:1fr 1fr; }
  .my-betra-card--astrid { grid-column:1/-1;min-height:300px; }
  .cloud-app { grid-template-columns:190px minmax(0,1fr); }
  .cloud-detail { position:fixed;z-index:90;right:0;top:0;bottom:0;width:min(390px,94vw); }
  .cloud-loading { grid-template-columns:repeat(3,1fr); }
  .bobflix-loading { grid-template-columns:repeat(4,1fr); }
  .cloud-product-hero__layout,.bobflix-product-hero__layout { grid-template-columns:1fr; }
  .cloud-product-hero__object,.bobflix-product-frame { min-height:480px; }
  .cloud-product-story__grid { grid-template-columns:1fr 1fr; }
}

@media (max-width: 900px) {
  .nexus-app-shell { grid-template-columns:1fr; }
  .nexus-app-rail { display:none; }
  .nexus-app-main { height:100dvh;padding-bottom:calc(67px + env(safe-area-inset-bottom)); }
  .nexus-app-topbar { min-height:64px;padding:calc(9px + env(safe-area-inset-top)) 14px 9px; }
  .nexus-mobile-menu-button { display:grid;place-items:center;grid-row:1/3; }
  .nexus-app-topbar p { font-size:.875rem; }
  .nexus-app-topbar h1 { font-size:1rem; }
  .nexus-app-topbar__actions>button span,.nexus-service-dot b { display:none; }
  .nexus-app-content { padding:24px 16px; }
  .nexus-mobile-nav { position:fixed;z-index:80;left:0;right:0;bottom:0;height:calc(64px + env(safe-area-inset-bottom));padding:5px 8px env(safe-area-inset-bottom);display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid var(--nexus-line);background:rgba(15,13,11,.94);backdrop-filter:blur(20px); }
  .nexus-mobile-nav a,.nexus-mobile-nav button { border:0;border-radius:13px;background:transparent;color:rgba(242,238,228,.6);display:grid;place-items:center;align-content:center;gap:3px;font-size:.8125rem; }
  .nexus-mobile-nav .is-active { color:var(--nexus-paper);background:rgba(255,255,255,.045); }
  .nexus-home-reveal { min-height:auto; }
  .nexus-home-reveal__inner { padding-block:90px; }
  .nexus-home-reveal header h2 { font-size:clamp(3.2rem,15vw,6rem); }
  .nexus-convergence { min-height:520px; }
  .nexus-convergence__plane { padding:12px; }
  .nexus-convergence__plane span { display:none; }
  .my-betra-welcome { align-items:start; }
  .my-betra-welcome>button { display:none; }
  .my-betra-welcome h2 { font-size:clamp(2.8rem,12vw,5rem); }
  .my-betra-primary-grid,.my-betra-lower { grid-template-columns:1fr; }
  .my-betra-card--astrid { grid-column:auto; }
  .cloud-app { grid-template-columns:1fr;height:100%; }
  .cloud-navigation { display:none; }
  .cloud-toolbar { padding:9px 12px;top:0; }
  .cloud-search { width:42px;padding:0;justify-content:center; }
  .cloud-search input { position:fixed;left:12px;right:12px;top:calc(70px + env(safe-area-inset-top));z-index:90;width:calc(100% - 24px);height:50px;padding:0 16px;border:1px solid var(--nexus-line);border-radius:14px;background:#1b1815;display:none; }
  .cloud-search:focus-within input { display:block; }
  .cloud-toolbar__actions>button span { display:none; }
  .cloud-context-header { padding:24px 16px 16px;align-items:start; }
  .cloud-context-header h2 { font-size:2.2rem; }
  .cloud-context-header>div:last-child { display:none; }
  .cloud-content { padding:0 12px 90px; }
  .cloud-grid { grid-template-columns:repeat(2,minmax(0,1fr));gap:8px; }
  .cloud-grid .cloud-item { min-height:145px;padding:12px; }
  .cloud-list .cloud-item { grid-template-columns:minmax(0,1fr) 42px; }
  .cloud-list .cloud-item__meta { display:none; }
  .cloud-list .cloud-item__more { grid-column:2; }
  .cloud-selection-bar { top:59px;margin:8px 10px 0; }
  .cloud-selection-bar>div button:not(:last-child) span { display:none; }
  .cloud-mobile-fab { position:fixed;right:17px;bottom:calc(80px + env(safe-area-inset-bottom));z-index:70;width:56px;height:56px;border:1px solid rgba(226,197,157,.24);border-radius:19px;background:#e3d5bf;color:#17110d;display:grid;place-items:center;box-shadow:0 18px 48px rgba(0,0,0,.4); }
  .cloud-drop-overlay { inset:0; }
  .cloud-action-sheet>section,.cloud-dialog>section { left:0;right:0;bottom:0;top:auto;translate:0 0;width:100%;max-height:84dvh;border-radius:25px 25px 0 0;padding-bottom:env(safe-area-inset-bottom);animation:nexus-sheet-up .3s cubic-bezier(.2,.8,.2,1); }
  @keyframes nexus-sheet-up { from{transform:translateY(100%)} }
  .cloud-upload-manager { right:8px;bottom:calc(72px + env(safe-area-inset-bottom));width:calc(100% - 16px); }
  .cloud-detail { position:fixed;z-index:115;inset:0 0 calc(64px + env(safe-area-inset-bottom));width:100%;min-width:0;border-left:0;background:#11100e; }
  .cloud-detail-preview { min-height:300px; }
  .cloud-detail-preview img,.cloud-detail-preview video,.cloud-detail-preview iframe { min-height:300px; }
  .bobflix-header { height:58px;padding:0 14px; }
  .bobflix-header nav { display:none; }
  .bobflix-header>div button:last-child { display:none; }
  .bobflix-mobile-nav { position:sticky;z-index:40;left:0;right:0;bottom:0;height:calc(62px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid rgba(255,255,255,.07);background:rgba(12,9,7,.95);backdrop-filter:blur(18px); }
  .bobflix-mobile-nav button { border:0;background:transparent;color:rgba(243,234,219,.62);display:grid;place-items:center;align-content:center;gap:3px;font-size:.8125rem; }
  .bobflix-mobile-nav .is-active { color:#f3eadb; }
  .bobflix-hero { min-height:66dvh;padding:100px 18px 48px; }
  .bobflix-hero__copy,.bobflix-hero > div:last-child { width:100%; }
  .bobflix-hero h2 { font-size:clamp(3rem,15vw,5rem); }
  .bobflix-home-sections { margin-top:-18px;padding:0 14px 30px; }
  .bobflix-row__track { grid-auto-columns:42vw; }
  .bobflix-row__track .bobflix-tile--wide { min-width:70vw; }
  .bobflix-search-sheet>section { left:0;top:0;translate:0 0;width:100%;height:100dvh;max-height:none;border:0;border-radius:0;padding:calc(16px + env(safe-area-inset-top)) 14px calc(18px + env(safe-area-inset-bottom)); }
  .bobflix-search-results { grid-template-columns:repeat(2,1fr); }
  .bobflix-detail-sheet>section { width:100%; }
  .bobflix-detail-hero { min-height:390px;padding:210px 18px 24px; }
  .bobflix-detail-body { padding:0 18px 40px; }
  .bobflix-episode { grid-template-columns:110px 1fr; }
  .bobflix-episode>button { display:none; }
  .bobflix-detail__hero { min-height:410px;padding:165px 18px 24px;grid-template-columns:116px minmax(0,1fr);gap:15px; }
  .bobflix-detail__hero > img { width:116px;border-radius:13px; }
  .bobflix-detail__hero h2 { font-size:clamp(2.2rem,10vw,3.5rem); }
  .bobflix-detail > section { padding-inline:18px; }
  .bobflix-episode-list > button { grid-template-columns:110px minmax(0,1fr);gap:11px; }
  .bobflix-episode-list > button img { width:110px; }
  .bobflix-library { padding:32px 14px 76px; }
  .bobflix-library > div { grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 8px; }
  .bobflix-profile-select { padding:32px 18px 76px; }
  .bobflix-player footer { padding-inline:14px; }
  .bobflix-player [data-player-volume] { display:none; }
  .nexus-settings-layout { width:100%;min-width:0;grid-template-columns:minmax(0,1fr);gap:22px;padding-bottom:calc(72px + env(safe-area-inset-bottom)); }
  .nexus-settings-layout>div,.nexus-settings-layout>div>section { width:100%;min-width:0;max-width:100%; }
  .nexus-settings-layout>nav { position:static;display:flex;overflow-x:auto;padding-bottom:4px;scrollbar-width:none; }
  .nexus-settings-layout>nav button { white-space:nowrap; }
  .nexus-security-notes { grid-template-columns:1fr; }
  .system-overview,.system-grid { grid-template-columns:1fr 1fr; }
  .system-dashboard>header { align-items:start; }
  .system-dashboard>header h2 { font-size:3rem; }
  .nexus-health-row { min-width:0;gap:12px; }
  .nexus-health-row span,.nexus-health-row em { min-width:0; }
  .nexus-health-row em { text-align:right;overflow-wrap:anywhere; }
  .cloud-product-hero,.bobflix-product-hero { min-height:auto;padding-top:70px; }
  .cloud-product-hero h1,.bobflix-product-hero h1 { font-size:clamp(3.7rem,16vw,6.4rem); }
  .cloud-product-hero__object,.bobflix-product-frame { min-height:420px; }
  .cloud-product-story__grid,.bobflix-product-story .container>div:last-child { grid-template-columns:1fr 1fr; }
  .cloud-product-rpi>.container { grid-template-columns:1fr;gap:40px; }
}

@media (max-width: 620px) {
  .nexus-setup,.nexus-login { align-content:start;padding-top:calc(20px + env(safe-area-inset-top)); }
  .nexus-setup__progress b { display:none; }
  .nexus-setup__progress span { justify-content:center;padding:8px; }
  .nexus-setup__card { min-height:calc(100dvh - 125px);padding:27px 20px;border-radius:24px; }
  .nexus-setup__visual { grid-template-columns:1fr 1fr; }
  .nexus-form-grid { grid-template-columns:1fr; }
  .nexus-form-grid__wide { grid-column:auto; }
  .nexus-ready-grid { grid-template-columns:1fr; }
  .nexus-setup>footer { display:none; }
  .nexus-login>section { padding:30px 21px; }
  .nexus-app-content { padding:20px 13px; }
  .my-betra-welcome h2 { font-size:3.4rem; }
  .my-betra-card { min-height:280px;padding:21px; }
  .my-betra-card h3 { font-size:2.25rem; }
  .nexus-convergence { min-height:410px;border-radius:30px; }
  .nexus-convergence__core { width:116px;height:116px; }
  .nexus-convergence__plane { padding:9px; }
  .nexus-convergence__plane .nexus-mark,.nexus-convergence__plane .product-mark { width:32px;height:32px; }
  .nexus-home-reveal__inner { padding-block:72px; }
  .nexus-home-reveal footer { justify-content:start; }
  .cloud-breadcrumbs button:not(:first-child):not(:last-child) { display:none; }
  .cloud-breadcrumbs button:not(:first-child):before { content:'… /';margin-right:5px;color:var(--nexus-faint); }
  .cloud-toolbar__actions>button:nth-last-child(-n+2) { display:none; }
  .cloud-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .cloud-grid .cloud-item { min-height:132px; }
  .cloud-item__visual { min-height:70px; }
  .storage-dashboard { grid-template-columns:1fr; }
  .storage-overview { grid-row:auto;grid-template-columns:1fr; }
  .storage-ring { width:145px;justify-self:center; }
  .bobflix-row__track { grid-auto-columns:44vw; }
  .bobflix-hero p { -webkit-line-clamp:3; }
  .bobflix-hero__actions button { padding:0 14px; }
  .bobflix-player__center { gap:10px; }
  .bobflix-player__center button { width:48px;height:48px; }
  .bobflix-player__center [data-player-toggle] { width:66px;height:66px; }
  .bobflix-detail__hero { min-height:390px;padding-top:145px; }
  .bobflix-detail__hero > img { width:102px; }
  .bobflix-detail__hero { grid-template-columns:102px minmax(0,1fr); }
  .bobflix-detail__hero button { margin-top:12px;padding-inline:11px; }
  .bobflix-people > div { grid-template-columns:1fr; }
  .system-overview,.system-grid { grid-template-columns:1fr; }
  .system-dashboard>header { display:grid; }
  .system-dashboard>header>div:last-child { min-width:0;margin-top:8px;display:flex;flex-wrap:wrap; }
  .system-grid>article,.system-audit { padding:18px; }
  .system-audit-row { grid-template-columns:1fr auto; }
  .system-audit-row time { grid-column:1/-1; }
  .cloud-product-hero__layout,.bobflix-product-hero__layout { padding-block:45px; }
  .cloud-product-hero__object,.bobflix-product-frame { min-height:330px; }
  .cloud-product-story__grid,.bobflix-product-story .container>div:last-child { grid-template-columns:1fr; }
  .cloud-product-story__grid article { min-height:240px; }
  .cloud-product-story__grid h3 { margin-top:70px; }
  .shared-file-card { padding:18px; }
  .shared-file-card__preview { min-height:260px; }
}

@media (max-width: 370px) {
  .nexus-app-topbar__actions>button { padding:0 9px; }
  .my-betra-welcome h2 { font-size:2.9rem; }
  .cloud-grid { grid-template-columns:1fr 1fr;gap:6px; }
  .cloud-grid .cloud-item { min-height:122px;padding:9px; }
  .cloud-item__copy strong { font-size:.75rem; }
  .cloud-folder-object { scale:.88; }
  .bobflix-row__track { grid-auto-columns:47vw; }
  .bobflix-detail__hero { grid-template-columns:1fr;padding-top:170px; }
  .bobflix-detail__hero > img { display:none; }
  .nexus-home-reveal header h2 { font-size:3.1rem; }
}

@media (orientation: landscape) and (max-height: 600px) and (max-width: 1000px) {
  .nexus-app-topbar { min-height:52px;padding-block:5px; }
  .nexus-mobile-nav { height:54px;grid-template-columns:repeat(5,72px);justify-content:center; }
  .nexus-app-main { padding-bottom:54px; }
  .bobflix-player header { padding-top:8px; }
  .bobflix-player footer { padding-bottom:8px; }
  .bobflix-player__center [data-player-toggle] { width:58px;height:58px; }
}

@media (prefers-reduced-motion: reduce) {
  .nexus-convergence__plane,.nexus-skeleton-list i,.nexus-card-skeleton,.cloud-loading i,.bobflix-loading>* { animation:none!important; }
  .cloud-item,.bobflix-tile img { transition:none!important; }
}

/* Nexus account, storage configuration, and administrator actions */
.account-edit-form,
.settings-cloud-form,
.settings-astrid-form {
  display:grid;
  gap:14px;
  max-width:620px;
  margin:24px 0;
  padding:20px;
  border:1px solid rgba(239,226,201,.1);
  border-radius:20px;
  background:linear-gradient(145deg,rgba(255,255,255,.035),rgba(255,255,255,.018));
  box-shadow:inset 0 1px rgba(255,255,255,.035);
}
.account-edit-form label,
.settings-cloud-form label:not(.nexus-checkbox),
.settings-astrid-form label { display:grid; gap:7px; }
.account-edit-form label > span,
.settings-cloud-form label > span,
.settings-astrid-form label > span { color:rgba(244,237,224,.56); font-size:.8125rem; letter-spacing:.06em; }
.account-edit-form input,
.settings-cloud-form input[type="text"],
.settings-cloud-form input:not([type]),
.settings-astrid-form input,
.settings-astrid-form select { width:100%; min-height:46px; padding:0 13px; border:1px solid rgba(255,255,255,.09); border-radius:13px; outline:0; color:#f4ede0; background:rgba(0,0,0,.22); font:inherit; }
.account-edit-form input:focus,
.settings-cloud-form input:focus,
.settings-astrid-form input:focus,
.settings-astrid-form select:focus { border-color:rgba(225,194,140,.36); box-shadow:0 0 0 4px rgba(225,194,140,.07); }
.system-action-state { min-height:0; margin:-2px 0 18px; padding:0 2px; color:rgba(244,237,224,.54); font-size:.78rem; transition:color .2s ease; }
.system-action-state:empty { display:none; }
.system-action-state[data-tone="success"] { color:#a9c7aa; }
.system-action-state[data-tone="warning"] { color:#e1c28f; }
.system-action-state[data-tone="error"] { color:#e4a59b; }
.system-dashboard > header > div:last-child { flex-wrap:wrap; }
.system-dashboard [data-system-maintenance].is-active { border-color:rgba(226,187,119,.3); color:#edd8af; background:rgba(210,160,88,.095); }
@media(max-width:760px){
  .account-edit-form,.settings-cloud-form,.settings-astrid-form { margin:18px 0; padding:16px; border-radius:17px; }
  .system-dashboard > header > div:last-child { display:grid; grid-template-columns:1fr 1fr; width:100%; }
  .system-dashboard > header > div:last-child button { min-height:44px; justify-content:center; }
}
