/* Shared geometry: three strokes grow out of the central Z. Existing theme colors remain. */
.rise-wordmark{display:inline-flex!important;align-items:center;gap:.12em;position:relative;isolation:isolate;white-space:nowrap;color:var(--gold);font-weight:900;letter-spacing:-.035em;line-height:1.2;vertical-align:middle}
body>header .brand .rise-wordmark{margin:0;color:var(--gold)}
.rise-wordmark>span{color:inherit!important;margin:0!important;display:inline-block;will-change:transform,opacity}
.rise-gen{animation:rise-gen 8s both infinite}.rise-vid{animation:rise-vid 8s both infinite}.rise-z{animation:rise-z 8s both infinite}
.rise-stroke{position:absolute;display:block;height:.055em;background:currentColor;border-radius:1em;left:50%;width:.5em;pointer-events:none;transform-origin:center;animation:rise-line 8s both infinite}
.rise-top{top:.04em;--line-x:-100%;--line-rotate:0deg}.rise-bottom{bottom:.04em;--line-x:0%;--line-rotate:0deg}.rise-diagonal{top:50%;--line-x:-50%;--line-rotate:-48deg;animation-name:rise-middle}
@keyframes rise-gen{0%,8%{opacity:0;transform:translateY(-.65em)}22%,90%,100%{opacity:1;transform:translateY(0)}}
@keyframes rise-vid{0%,8%{opacity:0;transform:translateY(.65em)}22%,90%,100%{opacity:1;transform:translateY(0)}}
@keyframes rise-z{0%,7%{opacity:0}18%,100%{opacity:1}}
@keyframes rise-line{0%{opacity:0;width:.12em;transform:translateX(-50%)}4%{opacity:1;width:.5em;transform:translateX(-50%)}12%{opacity:1;width:2.6em;transform:translateX(var(--line-x))}28%,100%{opacity:0;width:2.6em;transform:translateX(var(--line-x))}}
@keyframes rise-middle{0%{opacity:0;transform:translateX(-50%) rotate(-48deg) scaleX(.2)}4%,12%{opacity:1;transform:translateX(-50%) rotate(-48deg) scaleX(1)}22%,100%{opacity:0;transform:translateX(-50%) rotate(-48deg)}}
#splash .rise-wordmark{font-size:clamp(36px,10vw,72px)}#splash .rise-wordmark>*{animation-duration:3s;animation-iteration-count:1}#splash.hide{display:flex;animation:rise-dismiss 3.1s forwards;pointer-events:none}#splash.hide .rise-wordmark{animation:none}
@keyframes rise-dismiss{0%,85%{opacity:1;visibility:visible}100%{opacity:0;visibility:hidden}}
.library-hub .you-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px}.library-studio-icon{color:var(--gold);display:flex;align-items:center;gap:8px}.library-studio-icon svg{width:25px;height:25px;filter:drop-shadow(0 0 6px #edc76f66)}
.library-hub .you-library{display:flex;flex-direction:column;gap:18px}.library-hub .you-library>button,.library-collection{display:flex;align-items:center;gap:18px;width:100%;padding:12px;text-align:left;background:transparent;border:0}.library-cover{width:clamp(100px,32vw,220px);aspect-ratio:16/9;border-radius:14px;background:linear-gradient(130deg,#36312b,#1c1b27);display:grid;place-items:center;font-size:34px;color:var(--gold);flex-shrink:0}.library-cover img{width:100%;height:100%;object-fit:cover;border-radius:inherit}.library-hub .you-library b{font-size:18px;display:block}.library-hub .you-library small{display:block;margin-top:7px}.library-hub .you-history{display:flex;overflow:auto;gap:16px}.library-hub .you-history .card{min-width:220px;max-width:280px}.library-hub .you-history .card h3{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#short-chat-bubble{position:fixed;z-index:45;right:16px;bottom:calc(85px + env(safe-area-inset-bottom));width:min(390px,calc(100vw - 24px));height:min(520px,65dvh);border:1px solid #edc76f66;border-radius:22px;box-shadow:0 12px 60px #000a;overflow:hidden;background:var(--panel);display:flex;flex-direction:column}#short-chat-bubble #inbox-thread{min-height:0;display:flex;flex-direction:column;flex:1;overflow:hidden}#short-chat-bubble .chat-heading{position:static!important;height:auto;padding:8px;gap:5px;flex-shrink:0}#short-chat-bubble .chat-heading a{font-size:12px}#short-chat-bubble .inbox-avatar{width:28px;height:28px}#short-chat-bubble #chat-messages{height:auto!important;min-height:80px;flex:1;overflow:auto;padding:12px}#short-chat-bubble #chat-send{position:static!important;padding:7px;flex-shrink:0}#short-chat-bubble #chat-notice{display:none}#short-chat-bubble #chat-send textarea{min-height:36px;max-height:80px}#short-chat-bubble .bubble-toolbar{display:flex;align-items:center;justify-content:space-between;padding:6px 12px;border-bottom:1px solid var(--line)}#short-chat-bubble .bubble-toolbar button{padding:6px 10px}#short-chat-bubble .chat-heading .inbox-call-buttons{display:none}#short-chat-bubble #chat-media-settings,#short-chat-bubble #plus-history{display:none}.reel-side-actions [data-reel-chat][hidden]{display:none!important}
@media(prefers-reduced-motion:reduce){.rise-wordmark>span{animation:none!important;opacity:1;transform:none}.rise-stroke{display:none!important}#splash.hide{animation:none;display:none}}

#splash{position:fixed!important;inset:0;min-height:100dvh}#short-chat-bubble .bubble-toolbar{color:var(--gold)}
/* Studio actions stay on one scrollable line on phone and desktop. */
.studio-single-toolbar .adv-studio-nav{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;max-width:100%;gap:9px;padding:8px 2px 14px;scrollbar-width:thin;overscroll-behavior-x:contain}.studio-single-toolbar .adv-studio-nav>button{flex:0 0 auto;white-space:nowrap;min-height:44px}.studio-single-toolbar .studio-nav{display:none!important}.studio-single-toolbar .studio-layout{display:block!important}.studio-single-toolbar .studio-layout[hidden]{display:none!important}.studio-single-toolbar #studio-body{min-width:0;width:100%}
#zen-phone-nav [data-phone-nav="you"] svg{display:block!important;width:25px!important;height:25px!important;stroke:currentColor;opacity:1;overflow:visible}
#zen-phone-nav button[data-phone-nav="create"],body>header #create{border-color:#7562ff!important;box-shadow:0 0 0 3px #5643c9,0 4px 26px #6c5ce74d!important;background:linear-gradient(140deg,#3a237d,#31238c 65%,#233c9b)!important}body>header #account{border-color:#697aff!important;background:linear-gradient(135deg,#3545b7,#203392 65%,#15255f)!important;box-shadow:0 2px 16px #344dd944!important}body>header #account::before{background:#e0e7ff!important}body>header #account:focus-visible{outline-color:#9faaff!important}#zen-phone-nav [data-phone-nav="create"]:after{background:conic-gradient(from 0deg,#5740d2,#2378b5,#9064ed,#5740d2)!important}
/* Whole player shell: keep loading, source media and IMA together. */
#exp-miniplayer.whole-player-mini{width:min(390px,calc(100vw - 20px));max-width:calc(100vw - 20px);z-index:90}
.whole-player-mini .exp-mini-media{aspect-ratio:auto!important;overflow:hidden;min-height:150px;background:#000}
.whole-player-mini .watch-player{position:relative!important;top:auto!important;left:auto!important;width:100%!important;height:auto!important;aspect-ratio:16/9;min-height:0;border-radius:0;overflow:hidden}
.whole-player-mini .watch-player iframe,.whole-player-mini .watch-player>video{display:block;width:100%!important;height:100%!important;aspect-ratio:16/9;max-height:none!important;border-radius:0}
.whole-player-mini #adv-player-drag{display:none!important}.whole-player-mini .ima-ad-slot,.whole-player-mini .ima-start-gate{top:0!important}.whole-player-mini .ima-ad-label{top:7px!important;font-size:9px}
.whole-player-mini .exp-buffer{position:absolute;inset:0;pointer-events:none}.whole-player-mini .whole-mini-timeline{position:relative;flex:1;min-width:0;height:25px}.whole-mini-timeline progress{position:absolute;inset:10px 0 auto;width:100%;height:4px;accent-color:#a8a3bb}.whole-mini-timeline input{position:absolute;inset:0;width:100%;margin:0;background:transparent!important;padding:0!important;accent-color:var(--gold)}.whole-mini-timeline progress::-webkit-progress-bar{background:#353142}.whole-mini-timeline progress::-webkit-progress-value{background:#a8a3bb}
[data-refresh-plus]{transition:filter .5s,transform .5s;filter:drop-shadow(0 0 5px #b5a5ff88)}[data-refresh-plus].create-glyph-change{animation:create-glyph-bloom .65s ease-out}
@keyframes create-glyph-bloom{0%{opacity:.15;transform:scale(.55) rotate(-18deg);filter:drop-shadow(0 0 14px #00cec9)}70%{opacity:1;transform:scale(1.13) rotate(3deg)}100%{transform:scale(1)}}
#zen-phone-nav [data-phone-nav="create"][data-create-glyph]{background:linear-gradient(140deg,#4a2490,#263e9d 55%,#08758b)!important;box-shadow:0 0 0 3px #6950dc,0 0 25px #8c58f55c!important}
@media(prefers-reduced-motion:reduce){[data-refresh-plus].create-glyph-change{animation:none}}
/* Full labels, one scrollable action row; Shorts keeps its vertical controls. */
body:not(.polish-shorts-mode):not(.zen-reels-open) main.watch-page .watch-actions{display:flex!important;flex-wrap:nowrap!important;grid-template-columns:none!important;gap:9px!important;overflow-x:auto!important;overflow-y:hidden;width:100%!important;max-width:100%;min-width:0;padding:10px 12px 14px!important;scrollbar-width:thin;overscroll-behavior-x:contain;align-items:center;justify-content:flex-start!important}
body:not(.polish-shorts-mode):not(.zen-reels-open) main.watch-page .watch-actions>button,body:not(.polish-shorts-mode):not(.zen-reels-open) main.watch-page .watch-actions>.watch-rating{flex:0 0 auto!important;width:auto!important;min-width:max-content!important;max-width:none!important;white-space:nowrap!important;margin:0!important}
body:not(.polish-shorts-mode):not(.zen-reels-open) main.watch-page .watch-actions>button{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;padding:11px 17px!important;min-height:44px!important;font-size:14px!important;line-height:1.2!important}
main.watch-page .watch-actions svg{flex-shrink:0;width:22px;height:22px}main.watch-page .watch-actions>button>span{white-space:nowrap;overflow:visible}body:not(.polish-shorts-mode):not(.zen-reels-open) main.watch-page .watch-rating{display:inline-flex!important;align-items:center}body:not(.polish-shorts-mode):not(.zen-reels-open) main.watch-page .watch-rating button{flex:0 0 auto!important;white-space:nowrap;padding:10px 14px!important;min-height:44px;font-size:14px!important}
.watch-feed-filters{display:flex;flex-flow:row nowrap;gap:8px;overflow-x:auto;overflow-y:hidden;max-width:100%;padding:8px 0 12px;scrollbar-width:thin;overscroll-behavior-x:contain}.watch-feed-filters button{flex:0 0 auto;white-space:nowrap;min-height:40px;border-radius:10px;padding:9px 15px;font-weight:600}.watch-feed-filters button[aria-pressed="true"]{background:var(--gold);color:#191327;border-color:var(--gold)}.watch-feed-status{font-size:12px;color:var(--muted);margin:3px 0 12px}.watch-feed-status:empty{display:none}
@media(max-width:1100px){#watch-related>.watch-feed-filters{margin:0 -12px;padding-left:12px;padding-right:12px;max-width:calc(100% + 24px)}body:not(.polish-shorts-mode):not(.zen-reels-open) main.watch-page .watch-actions>button{font-size:13px!important;padding:10px 14px!important}}
