/* Remaining eight reference screens, plus the compact reference Home layout. */
.reference-section-heading h1,.reference-page-title{font-size:29px;letter-spacing:-.7px;line-height:1.2;margin:4px 0 10px}.reference-section-heading p{font-size:14px;line-height:1.5;color:var(--muted);margin:0 0 20px}.reference-empty{padding:24px 12px;color:var(--muted)}
/* Home: stories, one primary filter row, then content. Extra filters stay in More. */
.reference-story-rail{display:flex!important;align-items:flex-start;gap:15px!important;overflow-x:auto;scrollbar-width:none;min-height:93px;padding:2px 0 13px!important;margin-bottom:3px}.reference-story-rail>a,.reference-my-story{display:flex!important;flex-direction:column;align-items:center;flex:0 0 65px;width:65px;padding:0!important;background:none!important;border:0!important;color:var(--text);text-decoration:none}.reference-my-story .magic-status-ring{position:relative;overflow:visible!important}.reference-my-story .magic-status-ring img{border-radius:50%;object-fit:cover}.reference-my-story i{position:absolute;bottom:-1px;right:-3px;background:linear-gradient(140deg,#9c5bff,#5d4fff);border:2px solid #0d0d23;color:#fff;border-radius:50%;width:23px;height:23px;font-size:19px;font-weight:400;font-style:normal;line-height:18px;display:grid;place-items:center}.reference-story-rail small{display:block;font-size:10px;line-height:1.4;margin-top:8px;white-space:nowrap;max-width:72px;overflow:hidden;text-overflow:ellipsis}.reference-home-filterbar{margin:0 0 14px;position:relative}.reference-home-filterbar>.magic-filters{display:flex;overflow-x:auto;flex-wrap:nowrap;gap:8px!important;margin:0;padding:0 0 4px;scrollbar-width:none}.reference-home-filterbar>.magic-filters>button{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:0 0 auto;white-space:nowrap;border:0!important;border-radius:18px;padding:11px 16px;font-size:13px;min-height:43px}.reference-home-filterbar>.magic-filters>button:first-child{background:linear-gradient(130deg,#b482ff,#9559ff)!important;color:#100b24!important;font-weight:650}.reference-home-filterbar>.magic-filters>button:first-child:not(.selected){background:#1d1c36!important;color:#e5dfff!important}.reference-home-filterbar svg{width:19px;height:19px}.reference-home-filterbar #reference-filter-drawer{margin:7px 0 12px;border:1px solid #7c5fa333;border-radius:16px;background:#15152cf5;padding:9px}.reference-home-filterbar #reference-filter-drawer[hidden]{display:none!important}.reference-home-filterbar #reference-filter-drawer .magic-filters{margin:0;padding:5px 0;display:flex;overflow-x:auto;flex-wrap:nowrap}.magic-home>.magic-feed .reference-channel-actions{position:absolute;right:1px;bottom:0;margin:0;font-size:0}.magic-home>.magic-feed .reference-channel-actions>summary{font-size:0;width:28px;height:21px;text-align:center}.magic-home>.magic-feed .reference-channel-actions>summary:after{font-size:12px;content:'⌄';color:#bdb3d6}.magic-home>.magic-feed .reference-channel-actions[open]{font-size:12px;bottom:auto;top:100%;min-width:min(320px,90vw);z-index:9;background:#19192e;border-radius:15px;border:1px solid #6c5e9344;box-shadow:0 12px 35px #0008;padding:10px}.magic-home>.magic-feed .reference-channel-actions[open]>summary{width:100%;font-size:11px;text-align:right}.magic-home>.magic-feed .reference-video-info{padding-bottom:13px}.magic-home>.magic-feed .reference-video-copy p{font-size:10px}.magic-home>.magic-feed .reference-video-copy .reference-byline{font-size:12px}.magic-home>.magic-feed .reference-video .thumb{border-radius:11px!important}.magic-home>.magic-feed .reference-video-info{gap:11px}.magic-home>.magic-feed .reference-avatar{flex-basis:38px;width:38px;height:38px}
/* Status: an actual selected source preview, not a fabricated playback meter. */
.reference-status-page .reference-home-filterbar{margin-bottom:9px}.reference-status-page .reference-home-filterbar>.magic-filters{display:none}.reference-status-page .reference-status-viewer{position:relative;isolation:isolate;width:100%;min-height:480px;height:calc(100dvh - 300px);max-height:850px;background:radial-gradient(ellipse at 50% 15%,#473562,#121325 65%);border-radius:20px;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;padding:18px;box-sizing:border-box}.reference-status-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.reference-status-viewer:after{content:'';position:absolute;inset:0;background:linear-gradient(#08091c88,transparent 35%,#06071588);z-index:-1;pointer-events:none}.reference-status-segments{display:flex;gap:5px;position:absolute;top:15px;left:16px;right:16px}.reference-status-segments button{flex:1;min-width:4px;height:4px;min-height:4px;padding:0;border:0;background:#ffffff66;border-radius:8px}.reference-status-segments button[aria-pressed=true]{background:#ad68ff;box-shadow:0 0 12px #a65affaa}.reference-status-author{position:absolute;left:17px;right:17px;top:34px;display:flex;align-items:center;gap:10px;text-shadow:0 1px 4px #000}.reference-status-author b{font-size:14px}.reference-status-author small{display:block;font-size:10px;color:#eee4f8;margin-top:4px}.reference-status-author .reference-avatar{border:1px solid #d8c1ff}.reference-status-open{display:inline-flex;align-items:center;gap:8px;padding:10px 17px;background:#1d1637b5;backdrop-filter:blur(10px);border:1px solid #b28ae880;border-radius:24px;color:white;font-size:13px}.reference-status-reply{margin-top:12px;width:100%;display:flex;align-items:center;justify-content:space-between;text-align:left;border:1px solid #c8a6ff66;border-radius:26px;background:#18172ed9;color:#e1d6f4;padding:13px 17px;font-size:13px}.reference-status-reply svg{color:#b37dff}.reference-status-empty{border:1px solid #b79be42b;background:#19162c;border-radius:20px;padding:36px 20px;text-align:center;min-height:200px}.reference-status-empty h2{font-size:21px}.reference-status-empty p{font-size:13px;color:var(--muted)}
/* Creator Studio: branded illustration, metric cards, actual latest video. */
.reference-studio-hero{position:relative;isolation:isolate;overflow:hidden;min-height:140px;margin:0 0 13px;padding:15px 10px!important;border-radius:18px;background:radial-gradient(ellipse at 90% 65%,#742fcb44,transparent 60%),#0e1024}.reference-studio-hero>div{z-index:2;position:relative;padding-bottom:20px;max-width:80%}.reference-studio-hero h1{font-size:30px;letter-spacing:-.9px;margin:0 0 9px;line-height:1.2}.reference-studio-hero p{color:#b6b0ca;font-size:14px;margin:0}.reference-studio-art{position:absolute;right:-15px;bottom:0;width:50%;max-width:270px;height:100%;opacity:.9;pointer-events:none}.reference-studio-hero #studio-new{position:absolute;left:11px;bottom:10px;z-index:3;padding:5px 10px;min-height:28px;font-size:11px;border-radius:11px}.studio-single-toolbar .adv-studio-nav{padding:5px 0 13px!important;margin:0 0 14px;border-bottom:1px solid #67518b33;gap:7px}.studio-single-toolbar .adv-studio-nav>button{border:0;background:transparent;min-height:38px;font-size:12px;padding:8px 13px;border-radius:21px}.studio-single-toolbar .adv-studio-nav>button.selected{background:linear-gradient(130deg,#b782ff,#8755ee)}.studio-single-toolbar .adv-studio-nav>button svg{width:16px;height:16px;flex-basis:16px}.studio-page #studio-body>h2{font-size:21px;margin:10px 0 14px}.studio-page .studio-stats{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px;margin:12px 0 17px}.studio-page .studio-stats article{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;min-width:0;min-height:139px;padding:13px 12px!important;border-radius:16px!important;border:1px solid #7761a344;background:linear-gradient(120deg,#1c1c36,#15162d)}.reference-metric-icon{display:block;margin-bottom:12px;font-style:normal;color:#a16aff}.reference-metric-icon svg{width:25px;height:25px}.studio-page .studio-stats article:nth-child(2) .reference-metric-icon{color:#6584ff}.studio-page .studio-stats article:nth-child(3) .reference-metric-icon{color:#b166ff}.studio-page .studio-stats article>span{font-size:11px;line-height:1.35;color:#c4bfd6}.studio-page .studio-stats article>b{font-size:27px!important;line-height:1.15;margin:8px 0 10px;overflow-wrap:anywhere}.studio-page .studio-stats article b small{display:block;font-size:10px;font-weight:400;margin-top:3px}.studio-page .studio-stats .cosmic-sparkline{width:100%;height:32px;margin-top:auto}.studio-page .studio-stats article:nth-child(2):after{content:'';width:100%;height:3px;margin-top:auto;background:#45c9df;border-radius:4px}.studio-page .studio-stats article.reference-metric-summary{grid-column:1/-1;min-height:0;display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:7px 12px!important;background:none;border:0}.studio-page .studio-stats article.reference-metric-summary b{font-size:14px!important;margin:0}.reference-studio-latest{padding:14px!important;margin-bottom:11px}.reference-studio-latest h3{font-size:18px;margin:0 0 12px}.reference-studio-latest>a{display:flex;align-items:center;gap:13px}.reference-studio-latest img,.reference-latest-fallback{display:grid;place-items:center;width:40%;max-width:220px;aspect-ratio:16/9;object-fit:cover;border-radius:12px;background:#27223d;flex-shrink:0}.reference-studio-latest b{font-size:14px}.reference-studio-latest small{display:block;font-size:11px;color:var(--muted);margin-top:8px}.reference-studio-create{width:100%;display:flex;align-items:center;gap:13px;text-align:left;padding:15px!important;margin:11px 0 20px;border-radius:17px;background:#1b1b32;border:1px solid #7d64a940}.reference-studio-create>span{width:47px;height:47px;display:grid;place-items:center;background:linear-gradient(130deg,#9c59ff,#6044e8);border-radius:50%;font-size:35px;line-height:1;color:#fff;flex-shrink:0}.reference-studio-create b{font-size:15px}.reference-studio-create small{display:block;font-size:11px;color:var(--muted);margin-top:6px}.reference-studio-create i{font-size:27px;font-style:normal;margin-left:auto}.studio-page .studio-panel{border-radius:16px!important;background:linear-gradient(125deg,#17172f,#111428);border:1px solid #8064a844}.reference-analytics-periods{display:flex;gap:9px;margin-bottom:13px}.reference-analytics-periods button{border:1px solid #77689755;background:#1c1b35;min-width:62px;padding:8px 14px;font-size:12px;border-radius:22px}.reference-analytics-periods button[aria-pressed=true]{background:linear-gradient(120deg,#b775ff,#864bf4);color:#10091c;border-color:transparent;font-weight:650}.reference-hourly-panel{padding:14px!important}.reference-hourly-panel h3{font-size:16px;margin:0}.reference-hourly-panel .studio-row{gap:8px}.reference-hourly-panel #studio-hours{font-size:11px;max-width:140px;padding:6px;border-radius:10px}.reference-analytics-chart{border:0;padding:2px!important;background:none;overflow:hidden}.reference-analytics-chart svg{display:block;width:100%;height:auto;min-height:125px;color:#b8accf}.reference-analytics-chart .studio-chart-labels{font-size:9px;color:#ada3c7}.reference-hourly-panel>details{font-size:11px;color:#a69ab9;margin-top:10px}.reference-chapter-metric{display:flex;align-items:center;gap:10px;padding:11px 0;border-top:1px solid #7e62952b}.reference-chapter-metric>img{width:63px;height:43px;object-fit:cover;border-radius:6px}.reference-chapter-metric>div{flex:1;min-width:0}.reference-chapter-metric b{display:block;font-size:12px}.reference-chapter-metric small{display:block;font-size:10px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.reference-chapter-metric progress{width:100%;height:5px;accent-color:#a566ff;display:block;margin-top:6px}.reference-chapter-metric>span{font-size:11px;flex-shrink:0;text-align:right}
/* Customization retains the original form and transaction; previews reflect its URL inputs. */
#dialog:has(.reference-customization){width:min(680px,calc(100vw - 20px));max-width:calc(100vw - 20px);border-radius:21px;padding:18px;box-sizing:border-box}.reference-customization .reference-section-heading h2{font-size:21px;margin:0 28px 8px 0}.reference-customization .reference-section-heading p{font-size:12px}.reference-customization #channel-edit-form{padding:14px;border:1px solid #75609e44;border-radius:17px;background:#16162ce8;max-width:100%;box-sizing:border-box}.reference-customization label{font-size:12px;font-weight:600;margin:13px 0 6px;display:block}.reference-customization input,.reference-customization textarea,.reference-customization select{box-sizing:border-box;width:100%;padding:10px 12px;border-radius:11px!important;border:1px solid #8174ac80!important;background:#23233b!important;color:#f3edff;font-size:13px;min-height:39px}.reference-customization textarea{line-height:1.5}.reference-branding-fields>small{display:block;font-size:11px;color:var(--muted);margin:0 0 8px}.reference-banner-preview{width:100%;aspect-ratio:3.6;border-radius:12px;overflow:hidden;display:grid;place-items:center;background:linear-gradient(130deg,#211439,#252654);font-size:23px;font-weight:750;letter-spacing:4px;color:#cbb5f6}.reference-banner-preview img{width:100%;height:100%;object-fit:cover}.reference-logo-preview{width:73px;height:73px;border-radius:50%;border:2px solid #a576ef;overflow:hidden;display:grid;place-items:center;color:#cba9ff;font-size:27px;background:#241b37;margin-top:8px}.reference-logo-preview img{width:100%;height:100%;object-fit:cover}.reference-customization .cloud-gallery-row{margin:7px 0 13px;align-items:center;flex-wrap:wrap}.reference-customization .cloud-gallery-row button{font-size:11px;padding:6px 11px;border-radius:15px;background:#7548c92b}.reference-customization .cloud-gallery-row small{font-size:10px}.reference-customization-actions{display:flex;gap:10px;margin-top:16px;align-items:stretch}.reference-customization-actions button{flex:1;min-width:0;border-radius:12px;padding:12px 8px;font-size:12px}.reference-customization-actions svg{width:17px;height:17px}.reference-customization-actions .gold{background:linear-gradient(120deg,#ba43f9,#6e3cff)!important;color:#fff}.reference-customization .exp-channel-home-settings{font-size:12px;margin:17px 0 0;border-radius:12px}.reference-customization-cover{width:100%;aspect-ratio:3.4;object-fit:cover;border-radius:13px;background:linear-gradient(120deg,#33214c,#243568);display:grid;place-items:center;color:#c8a8f7;font-size:23px;letter-spacing:4px}.reference-customization-overview .channel-avatar{width:70px;height:70px;flex-basis:70px}.reference-customization-overview .channel-identity{margin-top:13px}.reference-customization-overview h2{font-size:20px}
/* Collections use cover-led cards with all editor functions in each card's menu. */
.reference-collections-page .reference-collection-filters{display:flex;gap:9px;overflow-x:auto;scrollbar-width:none;margin:18px 0 15px;flex-wrap:nowrap}.reference-collection-filters button{display:flex;align-items:center;gap:7px;flex:0 0 auto;border:1px solid #7c6b9f66;border-radius:16px;padding:11px 14px;background:#141427;font-size:13px;white-space:nowrap}.reference-collection-filters svg{width:20px;height:20px}.reference-collection-filters button.selected{background:linear-gradient(130deg,#a24eff,#6235f5);border-color:#c083ff;color:white}.reference-collection-list{display:grid;grid-template-columns:1fr;gap:14px}.reference-collection-entry{position:relative;min-width:0;border-radius:17px;overflow:visible}.reference-collection-entry .magic-set{padding:0!important;border:1px solid #84709e55!important;border-radius:17px!important;background:#15142b;overflow:hidden}.reference-collection-entry .magic-set-art{height:auto!important;aspect-ratio:2.25;min-height:140px;background:radial-gradient(ellipse at 80% 20%,#7f3bb688,transparent 65%),linear-gradient(120deg,#1b1630,#263849);border-radius:0!important;position:relative;overflow:hidden}.reference-collection-entry .magic-set-art>img{width:100%;height:100%;object-fit:cover}.reference-collection-entry .magic-set-art>svg{width:65px;height:65px;color:#aa74ef}.reference-collection-entry .magic-set-art>span{position:absolute;left:12px;bottom:10px;background:#0b091eb3;font-size:11px;border-radius:7px;padding:5px 8px;color:#f2e8ff}.reference-collection-entry .magic-set h3{font-size:17px;line-height:1.3;margin:11px 60px 9px 14px;font-weight:650}.reference-collection-entry .magic-set-owner{display:block;padding:0 14px 12px;font-size:11px;color:#bbb0cd}.reference-collection-entry .exp-collection-description{margin:0 14px 10px;font-size:12px;line-height:1.5}.reference-collection-menu{position:absolute;right:11px;top:10px;z-index:3}.reference-collection-menu>summary{list-style:none;cursor:pointer;display:grid;place-items:center;font-size:24px;line-height:1;background:#131125a6;border-radius:11px;width:28px;height:35px;color:#fff}.reference-collection-menu>summary::-webkit-details-marker{display:none}.reference-collection-menu[open]>button{position:absolute;right:0;top:38px;width:190px;background:#25203d;color:#f5eaff;border:1px solid #8871a888;border-radius:12px;padding:12px;font-size:12px;text-align:left;box-shadow:0 8px 25px #0008}.reference-collection-play{position:absolute;right:13px;bottom:14px;width:34px;height:34px;display:grid;place-items:center;background:#1a153ac9;border:1px solid #ac80efaa;color:white;border-radius:50%;font-size:14px;z-index:2}.reference-new-collections{margin-top:28px}.reference-new-collections h2{font-size:18px}.reference-new-collections .refresh-collection-types{display:flex;overflow-x:auto;flex-wrap:nowrap;gap:8px}.reference-new-collections button{flex:0 0 auto;font-size:12px;padding:10px;white-space:nowrap}
/* Create sheet: three columns, neon icon discs and unchanged action keys. */
#dialog.cosmic-bottom-sheet:has(.refresh-create){background:linear-gradient(145deg,#201934f5,#111329fa);border:1px solid #a580ed60;border-bottom:0;box-shadow:0 -10px 50px #09021e88;backdrop-filter:blur(24px);padding:12px 16px 18px}.refresh-create>h2{font-size:22px;line-height:1.3;margin:0 0 5px}.refresh-create>p{font-size:12px;color:#b4a6ca;margin:0 0 13px}#dialog.cosmic-bottom-sheet .refresh-create-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px 8px;padding:5px 0}#dialog.cosmic-bottom-sheet .refresh-create-grid button{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;min-height:133px;padding:0 4px 7px;border:0;background:none!important;gap:9px;border-radius:13px}#dialog.cosmic-bottom-sheet .refresh-create-grid button>svg{box-sizing:content-box;flex-shrink:0;width:27px;height:27px;padding:14px;border-radius:50%;border:1px solid #a66bff;color:#aa6dff;background:#6c31ba22;box-shadow:0 0 14px #a244ff2b,inset 0 0 9px #b14bff14}#dialog.cosmic-bottom-sheet .refresh-create-grid button:nth-child(3n+1)>svg{color:#ff55c8;border-color:#ee46b1;background:#b90d811a;box-shadow:0 0 14px #f83fa52b}#dialog.cosmic-bottom-sheet .refresh-create-grid button:nth-child(3n+2)>svg{color:#11e0ed;border-color:#00d0df;background:#00b9d51a;box-shadow:0 0 14px #00d5e42b}#dialog.cosmic-bottom-sheet .refresh-create-grid b{font-size:12px;line-height:1.3;font-weight:600;color:#f8edff;display:block}#dialog.cosmic-bottom-sheet .refresh-create-grid small{display:block;font-size:10px;line-height:1.35;font-weight:400;color:#afa4c2;margin-top:4px}#dialog.cosmic-bottom-sheet .refresh-create-grid button:focus-visible{outline:2px solid #ba8bff;outline-offset:3px}
/* Chat: purple bubbles, real media and a restrained original doodle wallpaper. */
#chat-messages{background-color:#0b0c20!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='180' viewBox='0 0 160 180'%3E%3Cg fill='none' stroke='%23774bba' stroke-opacity='.2' stroke-width='1.4'%3E%3Cpath d='M14 18h23v17H24l-10 7zm77 35 9-9 9 9-9 9zm-42 76h25v19H59l-10 8zM16 85l7-12 7 12 14 3-11 9 1 14-11-7-12 7 2-14-10-9zM108 137c-14-15-24 5 0 19 24-14 14-34 0-19z'/%3E%3Ccircle cx='125' cy='18' r='10'/%3E%3Cpath d='m122 13 9 5-9 5zm6 81 12-6v16l-12-6zm-3-6h-15v16h15zM67 57c15-20 27 3 9 12s-31-3-9-12z'/%3E%3C/g%3E%3C/svg%3E")!important;background-size:160px 180px!important;background-attachment:local}.cosmic-custom-wallpaper#chat-messages{background-image:var(--cosmic-wallpaper)!important;background-size:cover!important}.chat-heading{background:linear-gradient(120deg,#1c1637,#10152a)!important;border-bottom:1px solid #73579833}.chat-heading .inbox-avatar{border:1px solid #bc8cf3;box-shadow:0 0 15px #9850d51a}.chat-heading #chat-presence{font-size:11px;color:#baafd0}.chat-heading #chat-presence.online{color:#66e6b3}.chat-bubble{background:linear-gradient(130deg,#29263e,#21243a)!important;color:#f7f2ff;border:1px solid #b995ef12;border-radius:4px 17px 17px 17px!important;box-shadow:0 3px 10px #0002;line-height:1.5;padding:10px 13px!important}.chat-bubble.mine{background:linear-gradient(135deg,#7440f0,#5734df)!important;border-radius:17px 4px 17px 17px!important;border-color:#b99aff35}.chat-bubble>p{font-size:14px;margin:0 0 4px;line-height:1.55}.chat-bubble>small{display:block;text-align:right;color:#b8aecf;font-size:10px;margin-top:2px}.chat-bubble.mine>small{color:#d1baff}.chat-bubble .message-quote{background:#0b0c202e!important;border-left-color:#b786ff!important;border-radius:8px;text-align:left;font-size:12px;padding:8px!important}.chat-media-content{border-radius:13px;overflow:hidden}.chat-media-content img,.chat-media-content video{border-radius:11px}.chat-media-content>button{border:0;background:#5a3b8544;border-radius:12px;min-height:65px;padding:13px;font-size:13px}.message-menu{color:#b8a7d7!important}#chat-send{gap:8px!important;align-items:flex-end;padding:10px 9px!important;background:#121329f5!important;border-top:1px solid #64528144}#chat-send textarea{background:#25243e!important;border:1px solid #7963a04d;border-radius:24px!important;padding:11px 14px!important;min-height:43px!important;font-size:14px!important;line-height:1.4}#chat-send #chat-record,#chat-send #chat-send-text,#chat-send #chat-attach{display:grid;place-items:center;min-height:42px;width:42px;flex:0 0 42px;border-radius:50%;padding:10px!important;border:1px solid #8f62ce55;background:#28213e;color:#d3b8fa}#chat-send #chat-record,#chat-send #chat-send-text{background:linear-gradient(135deg,#9852ff,#6033e5);color:white;border:0}#chat-send #chat-send-text{font-size:0!important}#chat-send #chat-send-text svg{display:block;width:21px;height:21px}#chat-send #plus-sticker{border:0;background:none;color:#c1a4ee;font-size:23px}
/* Call overlay keeps the actual remote/local video nodes and all call controls. */
.zen-call-overlay{background:radial-gradient(ellipse at 50% 25%,#3b225f,#0d1129 75%);padding-top:max(20px,env(safe-area-inset-top));padding-bottom:max(45px,env(safe-area-inset-bottom));isolation:isolate}.zen-call-overlay .reference-call-shade{position:absolute;inset:0;background:linear-gradient(#0b0b2422,transparent 35%,#0b071caa);z-index:1;pointer-events:none}.zen-call-overlay .zen-call-top small{color:#e3d3f9;letter-spacing:1.7px}.zen-call-overlay .zen-call-top span{background:#161323b8;border:1px solid #bda6df55;border-radius:24px;padding:7px 15px;font-size:16px;color:#fff}.zen-call-overlay .zen-call-top span:empty{display:none}.zen-call-overlay .zen-call-avatar{background:linear-gradient(135deg,#6940af,#354083);box-shadow:0 0 0 9px #b57bfa11,0 0 45px #9857e733;color:#e3c8ff}.zen-call-overlay .zen-call-identity p{color:#c5b2e1}.zen-call-overlay .zen-call-local{border:2px solid #e5d7f9bb;border-radius:13px;box-shadow:0 5px 25px #0005}.zen-call-overlay .zen-call-remote video{background:#0d1021;object-fit:cover}.zen-call-overlay .zen-call-actions{gap:16px;padding-top:20px}.zen-call-overlay .zen-call-actions button{background:#271b48d9;border:1px solid #b796efaa;backdrop-filter:blur(12px);width:59px;height:59px;margin-bottom:28px}.zen-call-overlay .zen-call-actions button>svg{width:26px;height:26px}.zen-call-overlay .zen-call-actions button small{top:65px;font-size:10px;color:#e5d6f7}.zen-call-overlay .zen-call-actions .danger{background:#f14356;border-color:#fd6a7a}.zen-call-overlay .zen-call-actions .accept{background:#8751f6;border-color:#b983ff}.zen-call-overlay .zen-call-actions .off{color:#2b1646;background:#d6c1f3}.zen-call-overlay #zen-call-mute{order:1}.zen-call-overlay #zen-call-camera{order:2}.zen-call-overlay #zen-call-end{order:3;width:69px;height:69px;margin-top:-5px}.zen-call-overlay #zen-call-listen{order:4}.reference-call-members{position:relative;z-index:4;display:flex;align-items:center;justify-content:center;gap:8px;background:#2c2447c9;border:1px solid #977ab844;backdrop-filter:blur(8px);border-radius:25px;color:#ddccef;font-size:12px;margin:14px 0 0;padding:9px 16px}.reference-call-members svg{width:19px;height:19px}
@media(max-width:1100px){main.magic-home{padding:7px 10px calc(85px + env(safe-area-inset-bottom))!important}.reference-story-rail{padding-top:4px!important}.reference-studio-hero h1{font-size:28px}.reference-studio-hero{min-height:134px}.studio-page .studio-columns{grid-template-columns:1fr!important}.studio-page .studio-stats article>b{font-size:24px!important}.studio-page .studio-stats article{padding:12px 10px!important;min-height:139px}.reference-collections-page{padding:16px 12px calc(85px + env(safe-area-inset-bottom))!important}.reference-collection-list{gap:13px}.reference-status-page .reference-story-rail{margin-bottom:4px}.reference-status-page .reference-status-viewer{min-height:410px;height:calc(100dvh - 300px)}body.zen-chat-open .chat-heading .inbox-avatar{width:40px;height:40px;flex-basis:40px}body.zen-chat-open .chat-heading{min-height:66px!important}body.zen-chat-open #chat-messages{padding:15px 12px!important;gap:12px}body.zen-chat-open #chat-send textarea{min-width:0}body.zen-chat-open #chat-send #chat-send-text{font-size:0!important;width:40px;height:40px;padding:10px!important}.zen-call-overlay .zen-call-local{top:70px;right:14px;width:103px}.zen-call-overlay .zen-call-actions{gap:14px}.reference-collection-entry .magic-set-art{aspect-ratio:2.1}.reference-customization #channel-edit-form{padding:12px}}
@media(min-width:1101px){.reference-collection-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.reference-studio-hero{min-height:185px}.reference-studio-hero h1{font-size:39px}.reference-studio-art{max-width:370px}.studio-page .studio-stats article{min-height:165px}.reference-status-viewer{max-width:560px;margin:0 auto}.reference-story-rail{max-width:100%}.reference-home-filterbar{max-width:100%}}
@media(max-width:360px){.reference-home-filterbar>.magic-filters>button{padding:10px 12px;font-size:12px}.reference-studio-hero h1{font-size:25px}.reference-customization-actions{flex-direction:column}.studio-page .studio-stats{gap:6px}.studio-page .studio-stats article{padding:10px 8px!important}.studio-page .studio-stats article>b{font-size:21px!important}#chat-send #chat-record,#chat-send #chat-send-text,#chat-send #chat-attach{width:35px;flex-basis:35px;min-height:35px;padding:7px!important}#chat-send{gap:4px!important}}
@media(prefers-reduced-motion:reduce){.reference-story-rail *,.reference-studio-hero *{scroll-behavior:auto}}
.reference-story-rail>.reference-status-choice{display:flex;flex-direction:column;align-items:center;flex:0 0 65px;width:65px;border:0;background:none;padding:0;color:var(--text)}.reference-status-page .reference-home-filterbar>.magic-filters{display:flex;justify-content:flex-end;padding-bottom:0}.reference-status-page .reference-home-filterbar>.magic-filters>button:not(#reference-more-filters){display:none}.reference-status-page #reference-more-filters{min-height:27px;padding:4px 10px;font-size:11px}.reference-status-page #reference-more-filters svg{width:13px;height:13px}
/* v24: match the supplied app interiors, with retained live data and handlers. */
.reference-story-rail>.reference-channel-shortcut .magic-status-ring{background:linear-gradient(#0b0c20,#0b0c20) padding-box,linear-gradient(140deg,#466fcc,#8c57d4) border-box!important}.reference-status-choice[aria-pressed=true] .magic-status-ring{box-shadow:0 0 0 2px #bc91ff,0 0 16px #9b66fa55}.reference-video-copy>p:empty{display:none}.magic-home>.magic-feed .reference-video-copy{position:relative}.magic-home>.magic-feed .reference-video-copy .reference-byline{display:inline-block;margin-right:4px;font-size:11px}.magic-home>.magic-feed .reference-video-copy>p{display:inline;font-size:11px;color:#a7a3bb;line-height:1.5}.magic-home>.magic-feed .reference-video-copy>p:not(:empty):before{content:' · ';margin-right:3px}.magic-home>.magic-feed .reference-video h3{font-weight:650;font-size:15px!important;line-height:1.4;margin-bottom:4px!important}.magic-home>.magic-feed .reference-video-info{padding-top:10px;padding-bottom:12px}.reference-home-filterbar>.magic-filters{padding-bottom:0}.reference-story-rail{margin-bottom:4px!important}.reference-home-filterbar{margin-bottom:13px}.reference-story-rail>.reference-channel-shortcut:hover .magic-status-ring{box-shadow:0 0 0 2px #b485f966}.reference-channel-actions summary{outline-offset:3px}
/* The first Studio viewport starts with Dashboard/Content/Analytics, not advanced tools. */
.studio-single-toolbar .adv-studio-nav>[data-studio-tab]{order:0}.studio-single-toolbar .adv-studio-nav>[data-adv-studio]{order:1}.studio-single-toolbar .adv-studio-nav>[data-studio-tab=dashboard]{margin-left:0}.studio-single-toolbar .adv-studio-nav>[data-adv-studio=legacy]{border-left:1px solid #8672ac66;padding-left:16px}.studio-page[data-studio-view=analytics] .reference-studio-hero{min-height:57px!important;margin-bottom:0;background:none;border-radius:0;overflow:visible;padding:4px 0 10px!important}.studio-page[data-studio-view=analytics] .reference-studio-hero>div{padding:0}.studio-page[data-studio-view=analytics] .reference-studio-hero h1{font-size:29px}.studio-page[data-studio-view=analytics] .reference-studio-hero p,.studio-page[data-studio-view=analytics] .reference-studio-art{display:none}.studio-page[data-studio-view=analytics] .reference-studio-hero #studio-new{left:auto;right:0;bottom:13px}.studio-page[data-studio-view=analytics] #studio-body>h2{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.studio-page[data-studio-view=analytics] .adv-studio-nav{margin-bottom:9px}.studio-page .studio-note{line-height:1.5;font-size:11px;max-width:100%}.studio-page .studio-stats article>b{letter-spacing:-.8px}
/* Banner/profile uploads use the real gallery handlers, with link inputs still accessible. */
.reference-branding-fields .reference-banner-preview,.reference-branding-fields .reference-logo-preview{position:relative;isolation:isolate}.reference-branding-fields .reference-banner-preview>.cloud-gallery-row,.reference-branding-fields .reference-logo-preview>.cloud-gallery-row{position:absolute;right:7px;bottom:7px;z-index:2;margin:0;display:block}.reference-branding-fields .reference-logo-preview>.cloud-gallery-row{right:0;bottom:0}.reference-branding-fields .cloud-gallery-row>button{display:grid;place-items:center;padding:8px!important;width:32px;height:32px;min-height:32px;border-radius:50%!important;background:#eee9ff!important;color:#272143!important;border:1px solid #c1b3e4!important;box-shadow:0 2px 8px #0005}.reference-branding-fields .cloud-gallery-row button svg{width:16px;height:16px}.reference-branding-fields .cloud-gallery-row>small{position:absolute;bottom:-22px;right:0;width:max-content;max-width:220px;background:#171329;color:#e9d8ff;font-size:9px;line-height:1.3;border-radius:6px}.reference-branding-fields .cloud-gallery-row>small:empty{display:none}.reference-image-link{margin:7px 0 12px;color:#a8a0bb;font-size:10px}.reference-image-link>summary{cursor:pointer;list-style:none;display:inline-flex;align-items:center;gap:4px;padding:3px 0}.reference-image-link>summary:after{content:'⌄';font-size:13px}.reference-image-link>label{font-size:10px;font-weight:400}.reference-image-link>input{font-size:11px}.reference-customization .reference-logo-preview{overflow:visible}.reference-customization .reference-logo-preview>img{border-radius:50%}.reference-customization .reference-logo-preview>span{width:100%;height:100%;display:grid;place-items:center;border-radius:50%}.reference-customization .reference-logo-preview>.cloud-gallery-row{transform:translate(4px,3px)}
/* Creation chooser and the original editor share one sheet, as in the reference. */
.reference-more-create{border-top:1px solid #87709e33;padding:9px 0 0;margin-top:8px}.reference-more-create>summary{font-size:11px;color:#c3b4d8;cursor:pointer;padding:4px 0}.reference-more-create .refresh-create-grid{padding-top:14px!important}.reference-upload-editor{border-top:1px solid #88729c55;margin-top:16px;padding-top:14px}.reference-upload-editor>h2{font-size:18px;margin:0 0 12px}.reference-upload-editor #publish{display:grid;grid-template-columns:1fr;gap:0;padding:0;background:transparent;border:0}.reference-upload-editor #publish>label{font-size:11px;font-weight:500;margin:10px 0 5px}.reference-upload-editor #publish>input,.reference-upload-editor #publish>textarea,.reference-upload-editor #publish>select{border-radius:10px;min-height:37px;padding:9px 11px;font-size:12px;border:1px solid #7c6d9966;background:#1b1b31;box-sizing:border-box;max-width:100%}.reference-upload-editor #publish .polish-upload-options{padding:10px;margin-bottom:8px;border:1px solid #7a669b33;border-radius:12px}.reference-upload-editor #publish .polish-upload-options label{font-size:11px}.reference-upload-editor #publish .polish-upload-options select{font-size:12px;border-radius:8px}.reference-upload-editor #publish>button.gold{background:linear-gradient(120deg,#a14cf9,#6c40f1);color:white;border:0;border-radius:12px;margin-top:15px}.reference-upload-editor #publish .cloud-gallery-row button{font-size:11px;padding:7px 10px}.refresh-create .reference-more-create[open]~*{display:block}
/* Real incoming channel avatars complete the chat row layout. */
#chat-messages .chat-bubble:not(.mine){margin-left:35px;max-width:calc(88% - 35px)!important}.reference-message-avatar{position:absolute;left:-37px;top:0;width:29px;height:29px;border-radius:50%;overflow:hidden;display:grid;place-items:center;font-size:14px;font-weight:650;background:linear-gradient(130deg,#7041a6,#324b83);border:1px solid #c7a4f777;box-shadow:0 1px 7px #0003}.reference-message-avatar img{width:100%;height:100%;object-fit:cover}.reference-message-avatar>span{display:grid;place-items:center;width:100%;height:100%}.reference-call-heading{display:flex;align-items:baseline;gap:12px}.reference-call-heading>b{font-size:22px;font-weight:750;letter-spacing:-.7px}.reference-call-heading em{font-style:normal;color:#9a68ff}.reference-call-heading small{font-size:10px!important;letter-spacing:0!important}.zen-call-overlay.video.has-remote #zen-call-timer{position:absolute;top:auto;bottom:180px;left:50%;transform:translateX(-50%);width:max-content;background:#181326b3;backdrop-filter:blur(8px);border-radius:22px;padding:7px 17px}
.reference-collection-entry .magic-set-art:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#07071c88,transparent 80%);pointer-events:none}.reference-collection-entry .magic-set-art>span{z-index:1}.reference-collection-entry .magic-set h3{position:absolute;z-index:1;left:15px;top:24%;width:68%;max-height:4.2em;margin:0;color:#fff;font-size:23px;font-weight:700;line-height:1.3;text-shadow:0 2px 12px #000a;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.reference-collection-entry .magic-set .magic-set-owner{padding-top:9px}.reference-collection-entry .magic-set .exp-collection-description{padding-top:5px}.reference-collection-entry .reference-collection-play{bottom:auto;top:calc(100% - 51px)}
@media(max-width:1100px){#dialog:has(.reference-customization){position:fixed;inset:var(--adv-header-height,60px) 0 calc(69px + env(safe-area-inset-bottom))!important;width:100%!important;max-width:100%!important;height:auto;max-height:none;margin:0;border:0;border-radius:0!important;padding:18px 13px 22px;background:#0b0c20!important;box-shadow:none}#dialog:has(.reference-customization)::backdrop{background:#0005}#dialog:has(.reference-customization)>.close{position:fixed;right:10px;top:calc(var(--adv-header-height,60px) + 6px);z-index:4;padding:6px 10px;background:#16162b;border:1px solid #6d567744;border-radius:50%}.reference-customization .reference-section-heading h2{font-size:20px}.reference-customization .reference-section-heading p{font-size:11px;margin-bottom:13px;max-width:90%}.reference-customization #channel-edit-form{padding:12px}.reference-branding-fields .reference-banner-preview{aspect-ratio:3.7}.reference-customization .reference-logo-preview{width:69px;height:69px}.reference-customization label{margin-top:11px}.reference-customization-actions{position:sticky;bottom:-12px;margin:15px -3px -3px;padding:10px 3px 3px;background:#16162cf2;backdrop-filter:blur(10px);z-index:3}.reference-customization .exp-channel-home-settings{margin-top:15px}.reference-studio-hero h1{font-size:29px}.reference-collection-entry .magic-set h3{font-size:24px}.reference-call-heading>b{font-size:21px}.reference-call-heading small{font-size:9px!important}#dialog.cosmic-bottom-sheet:has(.refresh-create){max-height:calc(100dvh - var(--adv-header-height,60px))!important}.reference-upload-editor{padding-top:11px}.magic-home>.magic-feed .reference-video .thumb{border-radius:10px!important}}
@media(max-width:360px){.reference-story-rail{gap:12px!important}.reference-story-rail .magic-status-ring{width:58px!important;height:58px!important}.reference-story-rail>a,.reference-my-story,.reference-story-rail>.reference-status-choice{flex-basis:60px;width:60px}.reference-home-filterbar>.magic-filters{gap:7px!important}.reference-home-filterbar>.magic-filters>button{font-size:12px;padding:10px 11px}.reference-home-filterbar>.magic-filters>button>svg{width:16px;height:16px}.reference-collection-entry .magic-set h3{font-size:21px}.reference-call-heading{gap:8px}.reference-call-heading>b{font-size:18px}}
