.msf-home .msf-library-main{padding-top:8px}.msf-home .msf-hero-shade{background:linear-gradient(0deg,#100c19,transparent 48%),linear-gradient(90deg,#100c19f5 0%,#100c19a0 40%,#100c1900 85%)}.msf-home .msf-hero-dots button[aria-current=true]:after{background:#d2bbf1}.msf-home-intro{display:flex;align-items:center;justify-content:space-between;gap:30px;margin:16px 0 20px}.msf-home-intro h3{font-size:clamp(24px,2.5vw,36px);letter-spacing:-.04em;margin:8px 0}.msf-home-intro p,.msf-shelf-description{color:#aaa0b8;font-size:13px;line-height:1.6}.msf-collection-totals{display:flex;gap:26px;flex-shrink:0}.msf-collection-totals span{display:flex;flex-direction:column;color:#a89ab6;font-size:11px;letter-spacing:.04em}.msf-collection-totals b{font-size:26px;font-weight:650;color:#f2e9ff;letter-spacing:-.03em}.msf-browse-shortcuts{display:flex;gap:10px;overflow:auto;padding:8px 5px;margin:10px -5px 28px}.msf-browse-shortcuts button{border:1px solid #ffffff30;border-radius:24px;background:#ffffff05;padding:10px 20px;color:#e0d3ef;font-size:13px;white-space:nowrap;min-height:44px}.msf-home [id^=msf-home-]{scroll-margin-top:35px}.msf-home .msf-shelf{margin-top:44px}.msf-shelf-controls{display:flex;gap:8px;flex-shrink:0}.msf-shelf-controls button{display:grid;place-items:center;width:44px;height:44px;border:1px solid #ffffff30;border-radius:50%;background:#ffffff08;color:white;font-size:28px;line-height:1}.msf-shelf-controls button:hover{background:#ffffff18}.msf-home button:focus-visible{outline:2px solid white;outline-offset:4px}.msf-ranked-track{display:flex;gap:25px;overflow-x:auto;padding:12px 6px 24px;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#6b577e transparent}.msf-ranked-card{flex:0 0 clamp(230px,22vw,320px);min-width:0;text-align:left;background:transparent;border:0;color:white;border-radius:10px;scroll-snap-align:start;transition:transform .2s}.msf-ranked-card:hover{transform:translateY(-5px)}.msf-ranked-art{display:flex;align-items:flex-end;height:clamp(225px,25vw,320px);position:relative}.msf-rank-number{font-family:Inter,Arial,sans-serif;font-size:clamp(150px,19vw,245px);font-weight:900;line-height:.84;letter-spacing:-.11em;color:#100c19;-webkit-text-stroke:2px #d3c7e2;flex-shrink:0;width:38%;margin-right:-12%;padding-bottom:3px;text-shadow:0 8px 25px #0005}.msf-ranked-poster{position:relative;width:74%;height:100%;overflow:hidden;border-radius:10px;z-index:1;background:#251d30;border:1px solid #ffffff1c;box-shadow:0 10px 30px #0005}.msf-ranked-poster:after{content:'';position:absolute;inset:50% 0 0;background:linear-gradient(transparent,#100c19c0);pointer-events:none}.msf-format-tag{position:absolute;top:12px;left:12px;background:#100c19c9;padding:4px 7px;border:1px solid #ffffff25;border-radius:4px;font-size:9px;font-weight:700;letter-spacing:.12em;z-index:2}.msf-ranked-play{position:absolute;right:14px;bottom:14px;font-size:22px;z-index:2;opacity:0;transition:opacity .2s}.msf-ranked-card:hover .msf-ranked-play,.msf-ranked-card:focus .msf-ranked-play{opacity:1}.msf-ranked-copy{padding:16px 2px 0 28%}.msf-ranked-copy h4{font-size:14px;font-weight:650;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.msf-ranked-copy p{font-size:11px;color:#a99bb9;margin-top:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.msf-home .msf-memory-card{border-radius:10px;border:1px solid #ffffff15;background:#1b1424}.msf-home .msf-memory-card .msf-card-copy p{font-size:11px;line-height:1.5;color:#afa0c0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.msf-home .msf-memory-card .msf-card-copy h4{font-size:14px}.msf-meta-dot{color:#756281}.msf-home .msf-section-heading{margin-bottom:14px}.msf-home .msf-section-heading h3{margin-bottom:6px}.msf-home .msf-shelf-track{padding:8px 6px 16px;margin:0 -6px;scroll-snap-type:x proximity}.msf-home .msf-shelf-track button{scroll-snap-align:start}.msf-home .msf-library-footer{border-top:1px solid #ffffff15;margin-top:40px;padding-top:28px}@media(max-width:800px){.msf-home-intro{align-items:flex-start;flex-direction:column;gap:16px}.msf-collection-totals{gap:28px}.msf-collection-totals span{flex-direction:row;align-items:baseline;gap:7px}.msf-collection-totals b{font-size:19px}.msf-ranked-track{gap:16px}.msf-ranked-card{flex-basis:220px}.msf-ranked-art{height:240px}.msf-rank-number{font-size:180px}.msf-ranked-copy h4{font-size:13px}.msf-home .msf-shelf{margin-top:32px}.msf-shelf-description{font-size:12px}.msf-shelf-controls{gap:5px}.msf-shelf-controls button{width:40px;height:44px}.msf-home .msf-section-heading{gap:12px}}@media(min-width:1600px){.msf-home-intro p,.msf-shelf-description{font-size:16px}.msf-home .msf-ranked-copy h4,.msf-home .msf-memory-card .msf-card-copy h4{font-size:18px}.msf-ranked-copy p,.msf-home .msf-memory-card .msf-card-copy p{font-size:14px}.msf-browse-shortcuts button{font-size:16px;padding:12px 24px}.msf-format-tag{font-size:12px}.msf-shelf-controls button{width:52px;height:52px}}@media(prefers-reduced-motion:reduce){.msf-ranked-card,.msf-ranked-play{transition:none}}


.msf-ranked-card{--rank-tile:clamp(230px,22vw,320px);--rank-size:clamp(150px,19vw,245px);--rank-extra:clamp(70px,7vw,100px);flex-basis:var(--rank-tile)}.msf-ranked-card[data-rank='10']{flex-basis:calc(var(--rank-tile) + var(--rank-extra))}.msf-ranked-card[data-rank='10'] .msf-rank-number{font-size:var(--rank-size);letter-spacing:-.11em;width:calc(var(--rank-tile)*.38 + var(--rank-extra));margin-right:calc(var(--rank-tile)*-.12)}.msf-ranked-card[data-rank='10'] .msf-ranked-poster{width:calc(var(--rank-tile)*.74);flex-shrink:0}.msf-ranked-card[data-rank='10'] .msf-ranked-copy{padding-left:calc(var(--rank-tile)*.28 + var(--rank-extra))}@media(max-width:800px){.msf-ranked-card{--rank-tile:220px;--rank-size:180px;--rank-extra:70px}}
.msf-library-dialog{position:fixed;inset:0;z-index:15000;background:#08060eea;display:flex;align-items:center;justify-content:center;padding:24px;overscroll-behavior:contain}.msf-library-dialog>section{background:#21172e;border:1px solid #ffffff30;border-radius:22px;padding:28px;width:min(900px,100%);max-height:90dvh;overflow:auto;color:#f5f0ff}.msf-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.msf-dialog-heading h2{font-size:24px}.msf-library-dialog p{color:#c3b5d4;font-size:14px;line-height:1.7}.msf-library-dialog button:focus,.msf-library-dialog input:focus,.msf-library-dialog select:focus{outline:2px solid white;outline-offset:3px}.msf-help-list{display:grid;grid-template-columns:180px 1fr;gap:16px;font-size:15px;line-height:1.6}.msf-help-list dt{color:#ddc6fa;font-weight:700}.msf-help-list dd{margin:0;color:#c3b5d4}.msf-room-banner{aspect-ratio:21/7;max-height:430px;overflow:hidden;background:#24182f}.msf-room-banner>img{width:100%;height:100%;object-fit:cover;display:block}.msf-room-banner>div{height:100%}.msf-banner-placeholder{background:linear-gradient(130deg,#352341,#151020)}.msf-room-details{display:flex;justify-content:space-between;align-items:center;gap:28px;padding:32px 5vw}.msf-room-details h1{font-size:clamp(30px,4vw,56px);line-height:1.2;letter-spacing:-.045em;margin:10px 0}.msf-room-details p{color:#c3b5d4;line-height:1.6;margin-bottom:14px}.msf-room-details span{font-size:12px;color:#a99ab9}.msf-room-detail-actions{display:flex;flex-wrap:wrap;gap:10px}.msf-room-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:25px}.msf-room-toolbar .msf-search{flex:1;min-width:200px;max-width:400px}.msf-room-toolbar label{display:flex;align-items:center;gap:10px;color:#bca9cd;font-size:12px}.msf-room-toolbar select{width:auto;min-height:44px}.msf-type-filters{display:flex;gap:7px}.msf-type-filters button,.msf-option-buttons button{padding:10px 16px;min-height:44px;border:1px solid #ffffff30;border-radius:10px;background:#ffffff08;color:white;font-size:13px}.msf-type-filters button[aria-pressed=true],.msf-option-buttons button[aria-pressed=true]{background:#d7c1f3;color:#150e20}.msf-option-buttons{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.msf-library-dialog label{display:block;margin:20px 0;color:#c9b8db}.msf-library-dialog select{margin-top:10px}.msf-upload-cover input{display:block;margin-top:10px}.msf-cover-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:20px}.msf-cover-grid button{min-width:0;text-align:left;background:#150e20;border-radius:10px;overflow:hidden}.msf-cover-grid img{aspect-ratio:16/10;object-fit:cover}.msf-cover-grid span{display:block;padding:8px;font-size:11px;overflow-wrap:anywhere}.msf-player-controls>div.flex{flex-wrap:wrap;row-gap:3px}@media(max-width:640px){.msf-room-banner{aspect-ratio:16/9}.msf-room-details{flex-direction:column;align-items:flex-start;padding:24px 5vw}.msf-help-list{grid-template-columns:1fr;gap:8px}.msf-help-list dd{margin-bottom:12px}.msf-library-dialog{padding:12px}.msf-library-dialog>section{padding:20px}.msf-cover-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.msf-room-toolbar .msf-search{width:100%;max-width:none;flex-basis:100%}}

/* Fix aspect-ratio/max-height shrinking the banner width on wide screens. */
.msf-room-banner{position:relative;width:100%;height:clamp(240px,30vw,430px);aspect-ratio:auto;max-height:none}.msf-room-banner>img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center 30%}.msf-room-banner>div{position:absolute;inset:0;width:100%;height:100%}@media(max-width:640px){.msf-room-banner{height:clamp(200px,56vw,320px);aspect-ratio:auto}.msf-room-banner>img{object-position:center 30%}}
.msf-favorite-item{min-width:0}.msf-favorite-item>.msf-memory-card{width:100%;text-align:left}.msf-remove-favorite{width:100%;padding:10px;font-size:12px;color:#c7b4df;background:#21162e;border-radius:0 0 8px 8px;min-height:44px}.msf-empty-favorites{padding:25px;border:1px dashed #ffffff30;border-radius:12px;color:#b5a4c7;font-size:14px}.msf-playlist-home{display:flex;align-items:center;gap:24px;justify-content:space-between;padding:28px;border:1px solid #ffffff20;background:#1d1427;border-radius:18px;margin:35px 0}.msf-playlist-home h3{font-size:24px;margin:5px 0}.msf-playlist-home p,.msf-playlist-home>span{font-size:13px;color:#b5a4c7}.msf-playlist-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 0;border-bottom:1px solid #ffffff20}.msf-playlist-row h3{font-size:20px;overflow-wrap:anywhere}.msf-playlist-row>div+div{display:flex;gap:8px;flex-wrap:wrap}.msf-playlist-row button,.msf-playlist-order button,.msf-playlist-pool button{padding:9px 14px;border:1px solid #ffffff30;border-radius:9px;min-height:44px;background:#ffffff08;color:#ede2fa;font-size:13px}.msf-playlist-order{padding-left:25px;max-height:280px;overflow:auto}.msf-playlist-order li{margin:15px 0;overflow-wrap:anywhere}.msf-playlist-order li>span{display:block;color:#ccb8df;margin-bottom:8px}.msf-playlist-order li>div{display:flex;gap:6px;flex-wrap:wrap}.msf-playlist-pool{max-height:230px;overflow:auto;padding:5px;display:grid;gap:7px}.msf-playlist-pool button{text-align:left;overflow-wrap:anywhere;display:flex;justify-content:space-between;gap:14px}.msf-focal-preview{position:relative;aspect-ratio:3/1;overflow:hidden;background:#140d1d;border-radius:12px;margin:15px 0}.msf-focal-preview>img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}.msf-library-dialog input[type=range]{display:block;width:100%;margin-top:10px;min-height:44px;accent-color:#c4a3ef}button:disabled{opacity:.5}@media(max-width:640px){.msf-playlist-home,.msf-playlist-row{flex-direction:column;align-items:flex-start}.msf-focal-preview{aspect-ratio:16/9}}
.msf-playlist-library .msf-room-grid{margin-top:20px}.msf-playlist-card .aspect-video{position:relative}.msf-playlist-badge{position:absolute;top:12px;left:12px;padding:5px 8px;border:1px solid #ffffff30;border-radius:5px;background:#160e24df;color:#e6d4ff;font-size:10px;letter-spacing:.12em;font-weight:700}.msf-playlist-placeholder{height:100%;display:grid;place-items:center;background:linear-gradient(130deg,#47305e,#1c1328)}.msf-playlist-placeholder svg{width:42px;height:42px;color:#c8a9f0}.msf-playlist-empty{margin-top:16px;border:1px dashed #bda0ed40;border-radius:18px;padding:30px;background:#1b1325}.msf-playlist-empty h4{font-size:21px;letter-spacing:-.025em}.msf-playlist-empty p{font-size:14px;color:#aa97c0;margin:10px 0 20px}.msf-editor-top-actions{position:sticky;top:-1px;z-index:2;background:#21172ef5;border-bottom:1px solid #ffffff20;padding:12px 0;margin:8px 0 24px}.msf-playlist-room-choices{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.msf-playlist-room-choices button{padding:12px 16px;min-height:48px;border:1px solid #ffffff30;border-radius:10px;background:#ffffff08;color:#e1d2f0}.msf-photo-options-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.msf-photo-option-panel{padding:22px;border:1px solid #ffffff25;border-radius:16px;background:#180f23}.msf-photo-option-panel h3{font-size:22px}.msf-photo-option-panel .msf-option-buttons{gap:10px;margin:16px 0}.msf-photo-option-panel button{min-height:52px;font-size:15px}.msf-pan-grid{display:grid;grid-template-columns:1fr 1fr}.msf-photo-remote-note{margin-top:18px}.msf-library-dialog[aria-label="Photo options"]>section{width:min(1100px,100%)}.msf-library-dialog[aria-label="My playlists"]>section{width:min(1050px,100%)}@media(min-width:1000px){.msf-playlist-card .msf-card-copy{padding:20px}.msf-playlist-card h4{font-size:20px}.msf-playlist-row button,.msf-playlist-order button{min-height:50px;font-size:15px}}@media(max-width:680px){.msf-photo-options-grid{grid-template-columns:1fr;gap:14px}.msf-photo-option-panel{padding:16px}.msf-photo-option-panel h3{font-size:19px}.msf-playlist-library .msf-section-heading{align-items:flex-start}.msf-playlist-library .msf-section-heading>button{padding:10px 12px;font-size:12px}.msf-playlist-empty{padding:22px}} 
/* Device setup: responsive dashboard and focused first-minute preparation. */
.msf-setup-page{min-height:calc(100dvh - 72px);max-width:none;padding:clamp(24px,4vw,64px)!important;background:radial-gradient(ellipse at 85% 10%,#55338a30,transparent 55%),#100c19}
.msf-setup-page>*{max-width:1280px;margin-left:auto;margin-right:auto}
.msf-setup-topline{display:flex;justify-content:space-between;align-items:center;gap:20px}
.msf-setup-device-tag{color:#c4b6d5;font-size:14px;border:1px solid #ffffff18;border-radius:40px;padding:9px 16px}
.msf-setup-heading{padding:24px 0 28px}.msf-setup-heading .msf-setup-eyebrow{margin:18px 0;font-size:11px}
.msf-setup-page .msf-setup-heading h2{font-size:clamp(32px,3.4vw,56px);font-weight:650;letter-spacing:-.045em;line-height:1.12;margin:0 0 20px;max-width:none}.msf-setup-heading h2 span{color:#cbbbeb}
.msf-setup-heading p{max-width:640px;line-height:1.65;color:#b9adc8;font-size:16px;margin:0}
.msf-setup-status-card{background:linear-gradient(120deg,#271b37,#171020)!important;border-color:#c4b5fd26!important;border-radius:20px!important;padding:26px!important;gap:24px!important;margin:0!important;box-shadow:0 18px 50px #0002}
.msf-setup-status{display:flex;align-items:center;gap:20px;flex:1;min-width:230px}.msf-setup-status-icon{display:grid;place-items:center;width:64px;height:64px;border-radius:20px;border:1px solid #c4b5fd30;background:#c4b5fd12;color:#e6d6ff;font-size:30px;flex-shrink:0}
.msf-setup-status h3{font-size:20px;letter-spacing:-.025em;font-weight:600;margin:0 0 8px}.msf-setup-status p{color:#b9adc8;font-size:14px;line-height:1.5;margin:0}.msf-setup-status small{display:block;color:#b9a6d4;font-size:12px;margin-top:10px}
.msf-setup-status-card>.flex{flex-wrap:wrap;align-items:center}.msf-setup-status-card button{min-height:52px}.msf-setup-status-card [role=status]{display:none}
.msf-setup-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:24px}.msf-setup-benefits article{padding:24px;border:1px solid #ffffff12;border-radius:16px;background:#ffffff03}.msf-setup-benefits article>span{font-size:12px;color:#ae91d7;letter-spacing:.1em}.msf-setup-benefits h3{font-size:18px;font-weight:600;margin:14px 0 8px}.msf-setup-benefits p{color:#b5a9c3;font-size:14px;line-height:1.6;margin:0}
.msf-setup-page .msf-setup-footnote{max-width:1280px;font-size:12px;color:#998ba9;line-height:1.6;margin-top:24px}
.msf-setup-overlay{background:#100c19ec;padding:24px}.msf-setup-overlay .msf-setup-dialog{max-height:calc(100dvh - 48px);overflow:auto;width:min(100%,720px);padding:32px 40px;background:radial-gradient(ellipse at top right,#42276165,transparent 60%),#191122;border-radius:26px}
.msf-setup-dialog .msf-setup-eyebrow{margin:0 0 20px}.msf-setup-orbit{width:72px;height:72px;border:1px solid #c8adf65c;border-radius:24px;margin-bottom:22px;display:grid;place-items:center;background:#b69ad112;position:relative}.msf-setup-orbit:after{content:'';position:absolute;inset:-6px;border:1px solid transparent;border-top-color:#d8bdf5;border-radius:30px;animation:msfSetupOrbit 3s linear infinite}.msf-setup-orbit span{font-size:36px;color:#dec7ff}
.msf-setup-dialog h2{font-size:clamp(26px,2.5vw,36px);font-weight:600;letter-spacing:-.04em}.msf-setup-dialog p[role=status]{font-size:14px;line-height:1.6;color:#c4b7d4;min-height:44px;overflow-wrap:anywhere}.msf-setup-meter-label{display:flex;justify-content:space-between;gap:16px;margin-top:22px;font-size:12px;color:#baa4d0}.msf-setup-meter-label strong{color:#e5d9f1;font-weight:500}.msf-setup-dialog .msf-setup-progress{margin:10px 0 18px;height:6px}.msf-setup-wait-note{font-size:13px;line-height:1.6}.msf-setup-dialog [role=alertdialog]{padding:20px;background:#ffffff06;border:1px solid #c4b5fd25;border-radius:14px;margin-top:16px;line-height:1.6;font-size:14px}.msf-setup-dialog button{min-height:52px}
@keyframes msfSetupOrbit{to{transform:rotate(360deg)}}
@media(max-width:680px){.msf-setup-page{padding:22px 18px!important}.msf-setup-topline{align-items:flex-start}.msf-setup-device-tag{font-size:11px;padding:8px 10px;max-width:45%;overflow-wrap:anywhere}.msf-setup-topline button{font-size:13px;padding:10px 12px}.msf-setup-heading{padding:18px 0 24px}.msf-setup-heading p{font-size:14px}.msf-setup-status-card{padding:20px!important}.msf-setup-status{gap:14px}.msf-setup-status-icon{width:48px;height:48px;border-radius:14px;font-size:24px}.msf-setup-status h3{font-size:18px}.msf-setup-status-card>.flex{width:100%}.msf-setup-status-card>.flex>button{flex:1}.msf-setup-benefits{grid-template-columns:1fr;gap:10px;margin-top:16px}.msf-setup-benefits article{padding:18px}.msf-setup-benefits h3{margin:8px 0 4px;font-size:16px}.msf-setup-overlay{padding:14px}.msf-setup-overlay .msf-setup-dialog{padding:24px;max-height:calc(100dvh - 28px);border-radius:20px}.msf-setup-dialog button{width:100%;margin-right:0}.msf-setup-orbit{width:56px;height:56px;margin-bottom:18px}}
@media(min-width:1000px) and (max-height:800px){.msf-setup-page{padding:24px 5vw!important}.msf-setup-heading{padding:8px 0 20px}.msf-setup-page .msf-setup-heading h2{font-size:38px;margin-bottom:12px}.msf-setup-benefits article{padding:18px}.msf-setup-status-card{padding:20px!important}.msf-setup-benefits{margin-top:18px}.msf-setup-overlay .msf-setup-dialog{padding:24px 36px}.msf-setup-orbit{width:52px;height:52px;margin-bottom:16px}.msf-setup-dialog .msf-setup-eyebrow{margin-bottom:14px}}
@media(prefers-reduced-motion:reduce){.msf-setup-orbit:after{animation:none}}
.msf-sort-control{display:flex;align-items:center;gap:12px;color:#c4b5fd;font-size:14px}.msf-sort-control>button{display:flex;justify-content:space-between;gap:24px;align-items:center;min-width:180px;min-height:48px;color:#fff}.msf-sort-options{display:grid;gap:12px;margin-top:24px}.msf-sort-options button{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;min-height:56px;border:1px solid #ffffff20;border-radius:12px;background:#ffffff05;color:#eee5f8;text-align:left}.msf-sort-options button[aria-pressed=true]{background:#c4b5fd20;border-color:#c4b5fd80}.msf-sort-options button:focus-visible{outline:2px solid white;outline-offset:3px}
.msf-library-dialog .msf-dialog-heading{position:sticky;top:0;z-index:2;background:#21172e;padding:4px 0 12px}.msf-library-dialog .msf-dialog-heading>button{min-width:48px;min-height:48px;flex-shrink:0}
/* Notification inbox and admin composer. */
[data-notification-slot]{min-width:48px;min-height:48px;display:flex;align-items:center;justify-content:center}.msf-notification-bell{min-width:48px;min-height:48px;position:relative;display:grid;place-items:center;border:1px solid #ffffff20;border-radius:14px;background:#c4b5fd08;color:#e9ddfb}.msf-notification-bell>span{position:absolute;right:-5px;top:-5px;min-width:20px;height:20px;border-radius:20px;padding:0 5px;background:#c4b5fd;color:#150c20;font-size:11px;display:grid;place-items:center}.msf-notification-fallback{position:fixed;right:24px;top:20px;z-index:55}.msf-notification-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:18px 0}.msf-notification-list{display:grid;gap:16px;margin-top:20px}.msf-notification-list article{padding:22px;background:#ffffff04;border:1px solid #ffffff15;border-radius:16px}.msf-notification-list time{font-size:11px;color:#aa98bc}.msf-notification-list h3{font-size:20px;margin:10px 0;line-height:1.4;overflow-wrap:anywhere}.msf-notification-list p{white-space:pre-wrap;overflow-wrap:anywhere}.msf-notification-list article>div{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}.msf-notification-list a{display:inline-flex;align-items:center;min-height:48px}.msf-notification-empty{padding:36px 0;color:#bcaccb;text-align:center}.msf-admin-notifications{max-width:1280px;margin:auto;padding:32px}.msf-admin-notifications>h2{font-size:32px;font-weight:600;letter-spacing:-.04em;margin-bottom:12px}.msf-admin-notifications p{font-size:14px;color:#bcaacb;line-height:1.7;overflow-wrap:anywhere;white-space:pre-wrap}.msf-notification-composer{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:32px;margin:28px 0}.msf-notification-composer form,.msf-notification-composer aside{background:#20162c;border:1px solid #ffffff20;border-radius:20px;padding:28px}.msf-notification-composer form>label{display:block;margin-bottom:20px;font-size:14px;color:#d4c3e2}.msf-notification-composer input:not([type=checkbox]),.msf-notification-composer textarea,.msf-notification-composer select{margin-top:8px}.msf-notification-composer textarea{min-height:120px;resize:vertical}.msf-notification-targets{display:flex;flex-wrap:wrap;gap:14px;margin:24px 0;padding:18px;border:1px solid #ffffff20;border-radius:14px}.msf-notification-targets legend{padding:0 6px;color:#d6c1ec;font-size:14px}.msf-notification-targets label{display:flex;align-items:center;gap:10px;min-height:44px;font-size:14px}.msf-notification-targets input{width:20px;height:20px;accent-color:#c4b5fd}.msf-notification-composer aside{align-self:start;position:sticky;top:90px}.msf-notification-composer aside>span:first-child{font-size:11px;letter-spacing:.2em;color:#ac90c7}.msf-notification-composer aside h3{font-size:24px;line-height:1.4;margin:20px 0 12px;overflow-wrap:anywhere}.msf-notification-composer aside>.msf-action-light{display:inline-flex;margin-top:14px}.msf-notification-admin-row{padding:20px;border:1px solid #ffffff18;border-radius:14px;margin:12px 0;background:#ffffff03}.msf-notification-admin-row h4{font-size:18px;margin-bottom:8px}.msf-notification-admin-row button{margin-top:10px}.msf-library-nav>[data-notification-slot]{margin-left:auto}.msf-library-nav .msf-nav-links{margin-left:auto}
@media(max-width:680px){.msf-notification-fallback{top:14px;right:14px}.msf-notification-list article{padding:18px}.msf-notification-list h3{font-size:18px}.msf-notification-actions>button{flex:1;min-height:48px}.msf-admin-notifications{padding:20px}.msf-notification-composer{grid-template-columns:1fr;gap:18px}.msf-notification-composer aside{position:static;order:-1}.msf-notification-composer form,.msf-notification-composer aside{padding:20px}.msf-library-nav>[data-notification-slot]{min-width:42px}.msf-library-nav .msf-notification-bell{min-width:42px;min-height:44px}}
.msf-firebase-settings{padding:20px;border:1px solid #ffffff20;border-radius:16px;background:#20162c;margin:22px 0}.msf-firebase-settings summary{cursor:pointer;font-size:16px;color:#d6c1ec}.msf-firebase-settings label{display:block;margin:18px 0}.msf-firebase-settings label input{margin-top:8px}.msf-firebase-settings form{max-width:720px}
.msf-profile-menu{position:fixed;max-height:calc(100dvh - 104px);max-width:90vw;overflow-y:auto;overscroll-behavior:contain;scroll-padding:8px}.msf-profile-menu button,.msf-profile-menu a{min-height:48px;display:flex;align-items:center}.msf-profile-menu :is(button,a):focus{outline:1.5px solid #fff;outline-offset:-2px;background:#ffffff10}
.msf-remove-favorite:focus{outline:1.5px solid #fff;outline-offset:2px;background:#ffffff14}.msf-remove-favorite{min-height:48px}
.msf-library-dialog:has(.msf-onboarding)>section{max-width:1050px}.msf-onboarding-brand{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:14px 0 24px}.msf-onboarding-brand img{width:180px;max-height:70px;object-fit:contain}.msf-onboarding-brand>span{font-size:10px;letter-spacing:.2em;color:#c4b5df}.msf-onboarding-steps{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-bottom:28px}.msf-onboarding-steps button{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-height:72px;padding:12px;border:1px solid #ffffff20;border-radius:12px;background:#ffffff04;color:#bcb0cf;font-size:13px}.msf-onboarding-steps button>span{font-size:11px;color:#ac8fcb}.msf-onboarding-steps button[aria-current=step]{background:#9b6de624;border-color:#dfcdfb;color:#fff}.msf-onboarding :is(button):focus{outline:1.5px solid #fff;outline-offset:3px}.msf-onboarding-body{display:grid;grid-template-columns:150px minmax(0,1fr);gap:28px;padding:28px;border:1px solid #ffffff15;border-radius:22px;background:radial-gradient(ellipse at top left,#7049a92e,transparent 65%),#110e19}.msf-onboarding-symbol{width:140px;height:140px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:18px;border:1px solid #d8b6ff30;border-radius:28px;background:linear-gradient(145deg,#a875ee24,#34213c14);color:#dcc4fa}.msf-onboarding-symbol svg{width:48px;height:48px}.msf-onboarding-symbol span{font-size:11px;letter-spacing:.18em}.msf-onboarding-body h3{font-size:clamp(25px,3vw,38px);line-height:1.15;letter-spacing:-.035em;margin:14px 0}.msf-onboarding-body p{font-size:16px;line-height:1.7;color:#d4c9e2}.msf-onboarding-body ul{padding-left:20px;margin:22px 0;list-style:disc}.msf-onboarding-body li{font-size:15px;line-height:1.65;color:#c6bcd5;margin-bottom:10px}.msf-onboarding-body button{min-height:48px;margin-top:4px}.msf-onboarding-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:24px 0 16px}.msf-onboarding-footer>span{font-size:12px;color:#beaecf}.msf-onboarding-reopen{font-size:12px;color:#a99cb9;text-align:center;line-height:1.5}@media(max-width:680px){.msf-onboarding-brand{align-items:flex-start;flex-direction:column;gap:12px}.msf-onboarding-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.msf-onboarding-steps button{min-height:64px}.msf-onboarding-body{grid-template-columns:1fr;padding:20px;gap:16px}.msf-onboarding-symbol{width:72px;height:72px;border-radius:18px;flex-direction:row;gap:8px}.msf-onboarding-symbol svg{width:28px;height:28px}.msf-onboarding-symbol span{font-size:9px}.msf-onboarding-footer{flex-wrap:wrap}.msf-onboarding-footer button{min-height:48px}.msf-onboarding-brand img{width:160px}.msf-onboarding-body li{font-size:14px}}@media(max-height:760px) and (min-width:1000px){.msf-onboarding-brand{padding:0 0 14px}.msf-onboarding-body{padding:20px}.msf-onboarding-body li{font-size:14px;margin-bottom:6px}.msf-onboarding-steps{margin-bottom:18px}.msf-onboarding-footer{margin-top:16px}}
.msf-guide-open .msf-edge-tab,.msf-guide-open .msf-edge-panel{display:none}.msf-guide-open .msf-library-dialog>section{max-width:1050px}.msf-onboarding-brand>:first-child{font-size:24px;font-weight:750;letter-spacing:-.04em}.msf-onboarding-brand>.msf-onboarding-tagline{font-size:10px;letter-spacing:.2em;font-weight:400}.msf-guide-open .msf-dialog-heading{position:sticky;top:0;background:#21182f;z-index:3}.msf-onboarding-footer{position:sticky;bottom:0;z-index:2;background:#21182ff5;padding:12px 0}

/* Onboarding: fixed chrome, a separate step panel, no overlapping footer. */
.msf-guide-open .msf-library-dialog>section{height:min(740px,calc(100dvh - 32px));max-height:calc(100dvh - 32px);display:flex;flex-direction:column;overflow:hidden;padding:20px 26px}
.msf-guide-open .msf-dialog-heading{position:static;flex-shrink:0;margin-bottom:8px}
.msf-guide-open .msf-dialog-heading h2{font-size:22px}
.msf-onboarding{display:flex;flex-direction:column;min-height:0;flex:1}
.msf-onboarding-brand{padding:4px 0 12px;flex-shrink:0}
.msf-onboarding-brand img{width:150px;max-height:40px}
.msf-onboarding-steps{margin-bottom:12px;flex-shrink:0}
.msf-onboarding-steps button{min-height:48px;flex-direction:row;align-items:center;padding:10px;gap:8px}
.msf-onboarding-body{min-height:0;overflow:auto;flex:1;padding:20px;gap:20px;grid-template-columns:90px minmax(0,1fr);align-content:start;scroll-padding:12px}
.msf-onboarding-symbol{width:80px;height:80px;border-radius:20px;gap:8px}
.msf-onboarding-symbol svg{width:32px;height:32px}
.msf-onboarding-body h3{font-size:28px;margin:8px 0}
.msf-onboarding-body p{font-size:15px;line-height:1.45;margin:8px 0}
.msf-onboarding-body ul{margin:12px 0}
.msf-onboarding-body li{font-size:14px;line-height:1.45;margin-bottom:7px}
.msf-onboarding-footer{position:static;flex-shrink:0;margin:12px 0 0;padding:0;background:transparent}
.msf-onboarding-reopen{flex-shrink:0;font-size:11px;margin:8px 0 0}
@media(max-width:680px){.msf-guide-open .msf-library-dialog>section{padding:16px;height:calc(100dvh - 24px);max-height:calc(100dvh - 24px)}.msf-onboarding-brand{flex-direction:row;align-items:center;gap:8px}.msf-onboarding-brand>.msf-onboarding-tagline{display:none}.msf-onboarding-steps{gap:5px}.msf-onboarding-steps button{font-size:12px;min-height:40px;padding:8px}.msf-onboarding-body{display:block;padding:16px}.msf-onboarding-symbol{display:none}.msf-onboarding-body h3{font-size:24px}.msf-onboarding-body .msf-eyebrow{font-size:10px}.msf-onboarding-body li{font-size:13px;line-height:1.4;margin-bottom:6px}.msf-onboarding-body p{font-size:14px}.msf-onboarding-footer button{padding:10px 14px}.msf-onboarding-reopen{display:none}}

/* Player dialogs use the rotated stage dimensions, not the portrait viewport. */
.msf-player-stage .msf-library-dialog{inset:0;width:100%;height:100%;padding:12px;overflow:hidden;box-sizing:border-box}.msf-player-stage .msf-library-dialog>section{width:min(900px,100%);max-width:100%;max-height:100%;min-height:0;overflow:auto;box-sizing:border-box}.msf-player-stage .msf-dialog-heading{position:sticky;top:0;z-index:2;background:#21182f}

/* v1.10.6: sync messages retain the full card width on phones. */
.msf-drive-connection-row{align-items:flex-start}.msf-drive-connection-actions{align-items:center;align-self:flex-start}.msf-sync-result{white-space:normal;overflow-wrap:anywhere;line-height:1.5}
@media(max-width:680px){.msf-drive-connection{padding:16px}.msf-drive-connection-row{flex-direction:column;gap:14px}.msf-drive-connection-info{width:100%;gap:12px}.msf-drive-connection-actions{width:100%;justify-content:flex-end}.msf-drive-connection-actions button{min-height:44px;flex:1}.msf-sync-result{margin-left:-60px}.msf-drive-connection-info>div:first-child{width:48px;height:48px}}
/* TV guide: one compact step, fixed footer, Left/Right changes steps. */
.msf-onboarding-tv .msf-onboarding-brand,.msf-onboarding-tv .msf-onboarding-reopen,.msf-onboarding-tv .msf-onboarding-symbol{display:none}.msf-onboarding-tv .msf-onboarding-body{grid-template-columns:1fr;padding:16px 22px;gap:0}.msf-onboarding-tv .msf-onboarding-body h3{font-size:26px;margin:4px 0 8px}.msf-onboarding-tv .msf-onboarding-body p{font-size:16px;margin:6px 0}.msf-onboarding-tv .msf-onboarding-body ul{margin:10px 0}.msf-onboarding-tv .msf-onboarding-body li{font-size:16px;line-height:1.4;margin-bottom:6px}.msf-onboarding-tv .msf-onboarding-steps{gap:6px}.msf-onboarding-tv .msf-onboarding-steps button{padding:8px;min-height:44px;font-size:14px}.msf-onboarding-tv .msf-onboarding-footer button{min-height:48px}.msf-onboarding-tv button:focus{outline:3px solid white;outline-offset:3px}
