/* Shared spacing protects labels, focus rings and icons in compact layouts. */
.mini-device-box{height:auto;min-height:48px;padding:7px 10px;gap:12px;overflow:visible}
.mini-device-box>span{display:inline-flex;align-items:center;gap:7px;line-height:1.3;flex:none}
.mini-device-box>span .inline-icon{display:grid;place-items:center;width:18px;height:18px;margin:0;line-height:1}
.mini-device-box>span .tay-icon{display:block;width:17px;height:17px;margin:0;vertical-align:middle}
.mini-device-box .tay-select{flex:1;min-width:0}.quick-devices-row{gap:14px}.voice-bottom-bar{padding:16px 18px;gap:16px}.voice-dock{gap:12px;row-gap:12px}.screen-panel{padding:18px}.screen-panel .feature-heading{margin:0 0 18px}.screen-quality-row{gap:12px;row-gap:14px}
.user-profile-dialog .profile-contact-actions{display:flex;align-items:center;gap:12px;margin:18px 0 20px}.user-profile-dialog .profile-contact-actions button{flex:none;min-height:38px;padding:9px 14px}.profile-hero h2{margin:14px 0 8px}.profile-hero>p{margin:8px 0 12px}.profile-activity{margin:18px 0 24px;padding:18px}.user-profile-dialog>h3{margin:0 0 12px}.user-profile-dialog>p{line-height:1.6}.profile-trophies{margin-top:18px}
.xp-widget{min-width:138px;width:auto;padding:9px 12px;flex-shrink:0}.xp-top{gap:14px;justify-content:space-between;align-items:center;margin-bottom:8px;line-height:1.4}.xp-top>span{white-space:nowrap}.xp-bar-bg{height:5px;margin:0}
.option-content{padding:18px;gap:16px}.option-content>.setting-row,.option-content>.field{margin-bottom:16px}.option-content>.setting-row:last-child,.option-content>.field:last-child{margin-bottom:0}.setting-row{gap:14px}.feature-dialog form>.btn-modern+.btn-modern{margin-left:10px}.social-room-controls{gap:10px!important}.profile-contact-actions+.profile-activity{margin-top:0}
.music-studio-hero{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:24px;padding:28px;border:1px solid var(--border-bright);border-radius:22px;background:radial-gradient(ellipse at right,#d3639540,transparent 65%),linear-gradient(130deg,#7558ab22,#ab406b16)}
.music-studio-hero h1{font-size:clamp(24px,3vw,36px);letter-spacing:-1px;margin:10px 0}.music-studio-hero p{color:var(--text-dim);font-size:13px;line-height:1.6;max-width:520px}.music-studio-mark{display:grid;place-items:center;width:74px;height:74px;flex:none;border-radius:22px;background:#ef507322;color:#ef8098}.music-studio-mark .tay-icon{width:38px;height:38px;display:block;vertical-align:middle}
#music-app{gap:22px}.youtube-compose,.youtube-session,.youtube-queue{padding:24px;gap:16px}.youtube-compose form{display:grid;gap:12px;width:100%}.youtube-compose form .leisure-toolbar{margin:2px 0;gap:12px}.youtube-compose .leisure-toolbar .btn-modern{flex:1 1 170px;min-height:42px}.youtube-session .leisure-toolbar{gap:12px;margin:6px 0}
.youtube-queue{grid-column:1/-1;width:100%}.youtube-queue .feature-heading{margin:0}.youtube-queue h2{font-size:19px}.youtube-queue-count{font-size:12px}#youtube-queue-list{width:100%;display:grid;gap:12px}.youtube-queue-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:14px;border:1px solid var(--border-subtle);border-radius:12px;background:var(--bg-input)}.youtube-queue-row>span{flex:1;min-width:140px;font-size:12px;overflow-wrap:anywhere}.youtube-queue-row>.btn-modern{width:auto!important;min-height:34px;margin:0;font-size:11px}.youtube-queue-empty{padding:18px;border:1px dashed var(--border-bright);border-radius:12px;font-size:12px}
#youtube-detached{grid-column:1/-1}#youtube-player-shell{border-color:var(--border-bright);box-shadow:0 14px 50px #0005}#youtube-player-shell header{margin-bottom:14px}#youtube-player-shell .leisure-toolbar{gap:10px;margin:14px 0}#youtube-player-shell .pill-btn{min-height:36px;padding:8px 11px}.youtube-display-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding-top:12px;border-top:1px solid var(--border-subtle)}
.youtube-timeline{display:flex;align-items:center;gap:10px;margin:14px 0 10px;font-size:10px;font-variant-numeric:tabular-nums;color:var(--text-dim)}.youtube-timeline input{flex:1;min-width:0;width:100%;accent-color:var(--accent)}#youtube-player-shell.youtube-compact #youtube-player-status{display:none}#youtube-player-shell.youtube-compact #youtube-frame{height:200px}#youtube-player-shell.youtube-compact header{margin-bottom:10px}#youtube-player-shell.youtube-compact .leisure-toolbar{margin:8px 0}#youtube-player-shell.youtube-compact{padding:12px}
@media(min-width:650px) and (max-width:1199px){#youtube-player-shell.youtube-floating{grid-template-rows:auto auto auto auto}.youtube-timeline{grid-column:1;grid-row:2;margin:0}#youtube-player-status{grid-row:3!important}#youtube-player-shell .leisure-toolbar{grid-row:4!important;margin:0}.youtube-display-tools{grid-column:1/-1;grid-row:5}#youtube-frame{grid-row:1/5!important;align-self:center}}
@media(max-width:760px){.mini-device-box{gap:10px;padding:8px;min-height:50px}.quick-devices-row{grid-template-columns:1fr}.voice-bottom-bar{padding:14px}.profile-contact-actions{flex-wrap:wrap}.option-content{padding:14px}.music-studio-hero{padding:20px;gap:14px}.music-studio-mark{width:48px;height:48px;border-radius:14px}.music-studio-mark .tay-icon{width:26px;height:26px}.youtube-compose,.youtube-session,.youtube-queue{padding:18px}.feature-dialog form>.btn-modern+.btn-modern{margin-left:0;margin-top:10px}}

#tab-voz{scroll-padding:16px}.voice-intro{padding-top:8px;padding-bottom:16px}.music-studio-hero+.fold-panel{margin-top:0}

/* Reserve the disclosure arrow independently of title length and line wrapping. */
details:not(.nav-group)>summary{position:relative;display:block;list-style:none;padding-right:46px!important;min-height:44px;box-sizing:border-box}
details:not(.nav-group)>summary::after{content:''!important;position:absolute;float:none;right:19px;top:50%;width:8px;height:8px;margin:0!important;border:solid currentColor;border-width:0 2px 2px 0;transform:translateY(-70%) rotate(45deg);color:var(--accent);pointer-events:none}
details[open]:not(.nav-group)>summary::after{transform:translateY(-30%) rotate(225deg)}
.shop-pagination{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:14px;padding:18px 8px;flex:none;grid-column:1/-1}.shop-pagination span{font-size:12px;color:var(--text-dim)}
.shop-item-card{content-visibility:auto;contain-intrinsic-size:auto 390px}
body.tay-in-background *,body.tay-in-background *::before,body.tay-in-background *::after{animation-play-state:paused!important}
body.gaming-power:not(.cosmetics-force-motion) *,body.gaming-power:not(.cosmetics-force-motion) *::before,body.gaming-power:not(.cosmetics-force-motion) *::after{backdrop-filter:none!important;scroll-behavior:auto!important}
body.gaming-power:not(.cosmetics-force-motion) .orb,body.gaming-power:not(.cosmetics-force-motion) .bg-orb,body.gaming-power:not(.cosmetics-force-motion) .ambient-orb{display:none!important}
body.gaming-power:not(.cosmetics-force-motion) .shop-item-card,body.gaming-power:not(.cosmetics-force-motion) .avatar-portrait,body.gaming-power:not(.cosmetics-force-motion) .speaker-tile{box-shadow:none!important}
body.no-animations:not(.cosmetics-force-motion) [class*=cosmetic-edition413]{animation:none!important}
@media(prefers-reduced-motion:reduce){body:not(.cosmetics-force-motion) [class*=cosmetic-edition413]{animation:none!important}}

#youtube-player-shell.youtube-floating{display:block;width:min(360px,calc(100vw - 24px))}#youtube-player-shell>header{cursor:move;touch-action:none;user-select:none}#youtube-player-shell #youtube-frame{height:200px}#youtube-player-shell.youtube-compact .youtube-timeline,#youtube-player-shell.youtube-compact .leisure-toolbar{display:none}#youtube-player-shell .youtube-display-tools{gap:8px}#youtube-player-shell.youtube-compact{width:min(300px,calc(100vw - 24px))}

.screen-audio-choice{display:flex;gap:10px;align-items:center;margin:14px 0;font-size:12px}.screen-volume-label{display:inline-flex;gap:10px;align-items:center;margin:12px;font-size:12px}#screen-viewer{padding:16px;border:1px solid var(--border-bright);border-radius:16px;background:var(--bg-canvas)}#screen-viewer>button{margin:4px}#screen-viewer.screen-viewer-expanded,#screen-viewer:fullscreen{position:fixed;inset:12px;z-index:19000;background:#100e18;overflow:auto;box-shadow:0 0 0 100vmax #05040bdd}#screen-viewer:fullscreen{inset:0}#screen-viewer.screen-viewer-expanded #screen-video,#screen-viewer:fullscreen #screen-video{height:calc(100dvh - 180px);max-height:none;width:100%;object-fit:contain}#screen-video{cursor:default}.signal-trophy{background:radial-gradient(ellipse at 80% 20%,#7e22ce55,transparent),#141323;border-color:#bca0ff}.signal-trophy .founder-glyph{color:#c4b5fd}.box-result{position:relative}.box-result[data-phase=spinning] .roulette-window{border-color:#b8945f}.roulette-item{content-visibility:visible!important;contain:none!important}.scratch-progress{display:block;width:100%;height:5px;margin:12px 0;accent-color:var(--accent)}.reward-sparkles{position:absolute;inset:0;pointer-events:none;overflow:hidden}.reward-sparkles i{position:absolute;left:50%;top:50%;width:6px;height:6px;background:#ffdd8e;border-radius:2px;animation:tayRewardParticle .85s ease-out both;transform:rotate(var(--angle))}.reward-sparkles i:nth-child(2n){background:#ba96ff}@keyframes tayRewardParticle{from{opacity:1;transform:rotate(var(--angle)) translateX(0) scale(1)}to{opacity:0;transform:rotate(var(--angle)) translateX(var(--distance)) scale(.3)}}
body:not(.low-power:not(.cosmetics-force-motion)):not(.gaming-power:not(.cosmetics-force-motion)):not(.no-animations) dialog[open]{animation:tayViewEnter .18s ease-out}@keyframes tayViewEnter{from{opacity:.55}to{opacity:1}}@media(prefers-reduced-motion:reduce){.section-view.active,dialog[open],.reward-sparkles i{animation:none!important}}

.camera-panel{padding:18px;margin:16px 0;border:1px solid var(--border-bright);border-radius:16px}.camera-panel label{display:flex;gap:12px;align-items:center;font-size:12px}.camera-panel p{color:var(--text-dim);font-size:12px;line-height:1.6;margin:12px 0}#camera-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:14px}.camera-card{min-width:0;border:1px solid var(--border-bright);border-radius:14px;padding:12px;display:grid;gap:8px}.camera-card video,#camera-preview{width:100%;aspect-ratio:16/9;max-height:320px;object-fit:contain;border-radius:10px;background:#050509}#camera-preview{max-width:360px;margin-top:12px;transform:scaleX(-1)}.admin-economy-log{margin-top:18px}.admin-economy-log p{font-size:12px;line-height:1.6;color:var(--text-dim)}

.option-group>summary>strong{display:block;margin-bottom:4px}.option-group>summary>span{display:block;font-size:12px;color:var(--text-dim);line-height:1.5}.screen-volume-label input{accent-color:var(--accent)}
.tay-offscreen,.tay-offscreen *,.tay-offscreen::before,.tay-offscreen::after,.tay-offscreen *::before,.tay-offscreen *::after{animation-play-state:paused!important}

