/* Panel editor based on the supplied dark desktop and phone layouts. */
#panel-settings.cabinet-setting-panel{position:relative;left:50%;transform:translateX(-50%);box-sizing:border-box;width:min(1480px,calc(100vw - 28px));max-width:none!important;margin:16px 0 32px!important;padding:25px!important;border:1px solid var(--theme-border,var(--line,#dce4e8))!important;border-radius:22px!important;background:var(--theme-surface,var(--r44-theme-surface,#fff))!important;color:var(--theme-text,var(--ink,#192533))!important;box-shadow:none!important}
#panel-settings *{box-sizing:border-box}
#panel-settings .section-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:19px}
#panel-settings .eyebrow{color:var(--theme-text,var(--ink,#192533))!important;font-size:11px;letter-spacing:.13em}
#panel-settings .section-head h2{margin:2px 0 3px!important;color:var(--theme-text,var(--ink,#192533))!important;font-size:clamp(23px,2.4vw,31px)!important}
#panel-settings .section-head p,#panel-settings p{color:var(--theme-text,var(--ink,#192533))!important}
#panel-settings .section-head p{margin:0;font-size:14px}
#panel-settings .nav-preview-switch{flex:none;border:1px solid var(--theme-border,var(--line,#dce4e8));background:var(--theme-surface-2,var(--theme-bg,#f5f7fa))}
#panel-settings .nav-preview-switch button{color:var(--theme-text,var(--ink,#192533))}
#panel-settings .nav-preview-switch button.active{background:var(--theme-surface-2,var(--theme-bg,#f5f7fa));color:var(--theme-text,var(--ink,#192533))}
#panel-settings .panel-config-layout{grid-template-columns:minmax(0,.99fr) minmax(0,1.01fr);gap:20px}
#panel-settings .panel-config-controls{gap:14px}
#panel-settings .nav-builder-section,#panel-settings .panel-live-preview{padding:16px;border:1px solid #214064;border-radius:16px;background:#0b203c;color:#eff5ff;box-shadow:inset 0 1px #ffffff08}
#panel-settings .nav-builder-section h3{margin:0 0 10px;color:#f5f8ff;font-size:18px}
#panel-settings .nav-builder-section>p{margin:0 0 9px;font-size:12px}
#panel-settings .nav-variant-grid,#panel-settings .nav-device-options .nav-pc-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:9px!important}
#panel-settings .nav-variant-card{min-height:93px!important;padding:8px!important;gap:5px!important;border:1px solid #2b486c!important;border-radius:11px!important;background:#091a32!important;color:#dce9fa!important}
#panel-settings .nav-variant-card:has(input:checked){background:#112c5d!important;border-color:#4c8bff!important;box-shadow:0 0 0 2px #3076ff66!important}
#panel-settings .nav-variant-card input[type=radio]{width:15px!important;height:15px!important;inset:7px 7px auto auto!important}
#panel-settings .nav-variant-card .mini-nav-preview{height:51px!important;padding:7px 21px 7px 7px!important;border:1px solid #29476f;border-radius:7px!important;background:#0f2a51;color:#8dbaf7;font-size:11px}
#panel-settings .nav-variant-card .mini-nav-preview i{width:19%;height:14px;border-radius:4px;background:#397cc7}
#panel-settings .nav-variant-card .mini-nav-preview:before{content:'';position:absolute;left:6px;top:6px;width:6px;height:6px;border-radius:50%;background:#f76672;box-shadow:9px 0 #f5c65a,18px 0 #35c991}
#panel-settings .nav-variant-card .mini-nav-preview i:first-child{background:#397df3}
#panel-settings .nav-variant-card>b{font-size:11px!important;line-height:1.15!important;font-weight:650;min-height:23px}
#panel-settings .more-pc-variants{margin:10px 0}
#panel-settings .more-pc-variants summary{padding:7px 2px;color:#89baff;font-size:12px;font-weight:700;cursor:pointer}
#panel-settings .more-pc-variants>.nav-variant-grid{margin-top:7px}
#panel-settings .nav-variant-card .mini-mobile{width:72px!important;max-width:100%;margin:auto!important;border:2px solid #4780c8!important;border-radius:10px!important;align-items:end!important}
#panel-settings .mini-mobile i{height:13px!important}
#panel-settings .drawer-style-options{display:flex;flex-wrap:wrap;gap:8px}
#panel-settings .drawer-style-card{padding:8px;border-color:#2b486c;background:#0c203d;color:#e9f3ff}
#panel-settings .drawer-style-card:has(input:checked){border-color:#4e8bff;background:#12366f}
#panel-settings .nav-builder-columns{gap:10px}
#panel-settings .nav-builder-columns>div{padding:11px;background:#0a1c34;border:1px solid #29466c;border-radius:13px}
#panel-settings .nav-builder-columns h4{font-size:14px;color:#f3f7ff}
#panel-settings .menu-builder-list{max-height:223px;min-height:66px;margin:8px 0;padding:4px;gap:5px;overflow-y:auto;scrollbar-color:#2e5c98 transparent;border:0;border-radius:8px;background:#07182e}
#panel-settings .menu-builder-row{grid-template-columns:16px 17px 23px minmax(66px,1fr) minmax(78px,105px) 23px;min-height:37px;gap:4px;padding:4px 5px;border:1px solid #244064;border-radius:8px;background:#102948;color:#e8f3ff}
#panel-settings .menu-builder-row>b{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#panel-settings .menu-drag{font-size:15px;color:#b2c6e8}
#panel-settings .menu-enabled input{width:15px;height:15px;accent-color:#4288ff}
#panel-settings .menu-row-icon{font-size:17px;color:#c4ddff}
#panel-settings .menu-destination-select{width:100%;min-width:0;min-height:27px;padding:3px 13px 3px 6px;border:1px solid #315078;border-radius:6px;background:#173454;color:#eaf3ff;font-size:11px}
#panel-settings .menu-order-controls{display:flex;flex-direction:column;gap:1px}
#panel-settings .menu-order-controls button{height:14px;line-height:11px;padding:0;border:1px solid #315078;border-radius:4px;background:#193a62;color:#d9eaff;cursor:pointer}
#panel-settings .custom-menu-row{grid-template-columns:16px 17px 21px minmax(60px,1fr) minmax(70px,1fr) 22px}
#panel-settings .custom-menu-row input:not([type=checkbox]):not([type=hidden]){width:100%;min-width:0;min-height:28px;padding:3px 6px;border:1px solid #315078;border-radius:6px;background:#173454;color:#fff;font-size:11px}
#panel-settings .add-menu-item{padding:5px 8px;background:#122d50;border:1px solid #3c6291;color:#cde3ff;font-size:11px}
#panel-settings .custom-menu-entry-fields{display:grid;grid-template-columns:1fr 1.3fr auto;gap:7px}
#panel-settings .custom-menu-entry-fields input{min-width:0;min-height:36px;padding:7px 10px;border:1px solid #36547a;border-radius:8px;background:#112b4c;color:#fff}
#panel-settings .custom-menu-entry-fields .button{padding:7px 12px;background:#397cf5;color:#fff}
#panel-settings .custom-menu-entry p{margin:7px 0 0;font-size:11px}
#panel-settings .panel-extra-options{display:flex;flex-wrap:wrap;gap:9px 17px;padding:10px 16px}
#panel-settings .panel-extra-options .check{display:flex;align-items:center;gap:7px;margin:0;color:#d7e7fb!important;font-size:12px}
#panel-settings .panel-extra-options input{width:17px;height:17px;accent-color:#4288ff}
#panel-settings form>button.button{margin-top:16px;padding:11px 25px;background:#3478f4;color:#fff}
#panel-settings form>button.ghost{margin-top:16px;padding:11px 25px;background:#132b4b;color:#d5e5fa;border:1px solid #456086}
#panel-settings .panel-live-preview{position:sticky;top:18px;padding:16px}
#panel-settings .panel-live-preview>h3{color:#f5f9ff;font-size:18px}
#panel-settings .panel-live-preview>h3 span{color:#3cd69b;font-size:11px}
#panel-settings .preview-browser{border-color:#35557a;border-radius:17px;background:#06162c;color:#ecf4ff;box-shadow:0 20px 38px #0209137d}
#panel-settings .preview-browser-bar{height:37px;padding:0 12px;background:#071729;border-bottom-color:#233c5f}
#panel-settings .preview-browser-bar span{flex:1;margin-left:7px;padding:5px 12px;background:#162941;color:#9fb8d8}
#panel-settings .preview-app-head{min-height:55px;padding:8px 12px;background:#061a32;color:#f2f7ff;border-bottom-color:#243b5e}
#panel-settings .preview-app-head>b{font-size:15px}
#panel-settings .preview-app-head>div{flex:none}
#panel-settings .preview-app-head .preview-search{flex:1;padding:8px 11px;border:1px solid #2d486b;border-radius:22px;background:#102b4c;color:#9cbbdf;font-size:10px;overflow:hidden;white-space:nowrap}
#panel-settings .preview-avatar{display:grid;place-items:center;flex:none;width:28px;height:28px;border-radius:50%;background:#e8ad86;color:#233e5d;font-weight:800}
#panel-settings .preview-nav-item{border-radius:7px;background:#14345c;color:#e1edff;font-size:10px}
#panel-settings .preview-nav-item>span{margin-right:4px;font-size:13px}
#panel-settings .preview-nav-item>small{font-size:inherit;color:inherit}
#panel-settings .preview-body{min-height:420px;grid-template-columns:clamp(110px,25%,165px) minmax(0,1fr);gap:10px;padding:9px;background:#071a33}
#panel-settings .preview-body>nav:not([hidden]){padding:9px 5px;border:1px solid #27466c;border-radius:12px;background:#0e294b}
#panel-settings .preview-body>nav .preview-nav-item{display:block;padding:8px 5px;background:transparent;color:#e6f0ff;font-size:11px}
#panel-settings .preview-feed{min-width:0}
#panel-settings .preview-feed-tabs{display:flex;gap:15px;align-items:center;min-height:30px;padding:0 6px;color:#a7b9d3;font-size:11px}
#panel-settings .preview-feed-tabs b{color:#69a5ff;border-bottom:2px solid #3f83f6;padding:6px}
#panel-settings .preview-compose{padding:12px;margin:8px 0;border:1px solid #2b4568;border-radius:9px;background:#102a4b;color:#b7cce8;font-size:11px}
#panel-settings .preview-body article{padding:12px;border-color:#29466a;background:#0f294b;color:#edf5ff}
#panel-settings .preview-body article>small{color:#c6daf5;font-size:10px}
#panel-settings .preview-body article h3{margin:12px 0 4px;color:#edf5ff;font-size:13px}
#panel-settings .preview-body article p{color:#c5d8f2;font-size:11px}
#panel-settings .preview-photo{height:165px;min-height:0;background:url('themes/night-hero-scene.jpg') center/cover;border-radius:7px}
#panel-settings .preview-reactions{padding:8px 2px;color:#afc8ea;font-size:10px}
#panel-settings .preview-reactions span{float:right}
#panel-settings .preview-bottom:not([hidden]){display:flex;justify-content:space-around;gap:3px;padding:8px;border-top:1px solid #28476d;background:#061b34;overflow:hidden}
#panel-settings .preview-bottom .preview-nav-item{background:transparent;color:#dceaff}
#panel-settings .preview-hint{margin-top:12px;padding:12px;border:1px solid #365399;border-radius:10px;background:#172453;color:#c2d5f5;font-size:12px}
#panel-settings .panel-live-preview[data-view=mobile] .preview-browser{width:min(100%,350px);margin:auto;border:5px solid #20385b;border-radius:29px;overflow:hidden}
#panel-settings .panel-live-preview[data-view=mobile] .preview-browser-bar{display:none}
#panel-settings .panel-live-preview[data-view=mobile] .preview-app-head{height:58px}
#panel-settings .panel-live-preview[data-view=mobile] .preview-app-head>b{font-size:12px}
#panel-settings .panel-live-preview[data-view=mobile] .preview-app-head .preview-search{display:none}
#panel-settings .panel-live-preview[data-view=mobile] .preview-app-head .preview-nav-item{padding:4px}
#panel-settings .panel-live-preview[data-view=mobile] .preview-app-head .preview-nav-item>span{font-size:18px;margin:0}
#panel-settings .panel-live-preview[data-view=mobile] .preview-app-head .preview-nav-item>small{display:none}
#panel-settings .panel-live-preview[data-view=mobile] .preview-body{display:block;height:450px;min-height:0;overflow:auto;padding:8px}
#panel-settings .panel-live-preview[data-view=mobile] .preview-body>nav{display:none}
#panel-settings .panel-live-preview[data-view=mobile] .preview-feed-tabs{gap:10px}
#panel-settings .panel-live-preview[data-view=mobile] .preview-photo{height:145px}
#panel-settings .panel-live-preview[data-view=mobile] .preview-bottom .preview-nav-item{font-size:9px}
#panel-settings .preview-menu-hidden #previewDrawerItems{display:none!important}
body.menu-button-hidden #appMoreBtn,body.menu-button-hidden #desktopDrawerBtn{display:none!important}
@media(min-width:761px){
 body.pc-nav-v12 .desktop-section-nav{display:none!important}
 body.pc-nav-v12 .desktop-drawer-btn{display:inline-flex!important}
 body.pc-nav-v12 .app-shell-overlay:not([hidden]){position:fixed!important;display:block!important;inset:0!important;background:#02091a99!important;z-index:1200!important}
 body.pc-nav-v12 .app-shell-menu{position:fixed!important;display:flex!important;flex-direction:column!important;top:0!important;bottom:0!important;left:0!important;right:auto!important;width:320px!important;max-width:85vw!important;height:100dvh!important;padding:0!important;overflow:hidden!important;transform:translateX(-105%)!important;transition:transform .22s ease;background:#081c39!important;color:#fff!important;z-index:1210!important}
 body.pc-nav-v12 .app-shell-menu.open{transform:translateX(0)!important}
 body.pc-nav-v12 .app-shell-menu-hero{padding:19px!important;background:#113c78!important}
 body.pc-nav-v12 .app-shell-menu-head,body.pc-nav-v12 .app-shell-menu-profile{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important}
 body.pc-nav-v12 .app-shell-menu-head button{border:0;background:#24588e;color:#fff;border-radius:8px;font-size:24px}
 body.pc-nav-v12 .app-shell-list{display:flex!important;flex-direction:column!important;overflow:auto!important;padding:14px!important}
 body.pc-nav-v12 .app-shell-list>a{display:flex!important;align-items:center!important;gap:11px!important;padding:11px!important;border-radius:9px!important;color:#edf5ff!important;text-decoration:none!important}
 body.pc-nav-v12 .app-shell-list>a:hover{background:#16437e!important}
 body.pc-nav-v13 .desktop-section-nav{position:fixed;left:0;top:75px;bottom:0;width:92px;z-index:35;display:flex;align-content:flex-start;justify-content:flex-start;flex-direction:column;flex-wrap:nowrap;overflow:auto;padding:12px 6px;background:#081e3c;border-radius:0}
 body.pc-nav-v13 .desktop-section-link{display:flex;flex-direction:column;white-space:normal;gap:2px;width:100%;text-align:center;font-size:11px}
 body.pc-nav-v13 main.wrap{margin-left:max(92px,calc((100vw - 1320px)/2))}
 body.pc-nav-v14{padding-bottom:76px}
 body.pc-nav-v14 .desktop-section-nav{position:fixed;left:50%;bottom:10px;transform:translateX(-50%);z-index:90;margin:0;width:max-content;max-width:calc(100vw - 20px);padding:6px 10px;background:#071b38;border:1px solid #376199;border-radius:18px;box-shadow:0 12px 34px #020b20aa;flex-wrap:nowrap;overflow:auto}
 body.pc-nav-v14 .desktop-section-link{background:transparent;color:#ecf4ff;border:0;border-radius:12px}
 body.pc-nav-v14 .desktop-section-link.active{background:#2367cf;color:#fff}
 body.pc-nav-v16 .top{background:#f5f8ff!important;color:#102a52!important}
 body.pc-nav-v16 .desktop-section-nav{background:#f7faff;border-color:#d4e4fa}
 body.pc-nav-v16 .desktop-section-link{background:#edf4ff;color:#183f75;border:0}
}
@media(max-width:1050px){#panel-settings .panel-config-layout{grid-template-columns:1fr}#panel-settings .panel-live-preview{position:static}#panel-settings .preview-body{min-height:340px}}
@media(max-width:650px){#panel-settings.cabinet-setting-panel{padding:14px!important}#panel-settings .section-head{align-items:flex-start;flex-direction:column}#panel-settings .nav-variant-grid,#panel-settings .nav-device-options .nav-pc-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}#panel-settings .nav-builder-columns{grid-template-columns:1fr}#panel-settings .nav-builder-columns>div:last-child{grid-column:auto}#panel-settings .custom-menu-entry-fields{grid-template-columns:1fr}#panel-settings .panel-live-preview>h3 span{white-space:normal}}

/* Entertainment cards and the two additional local games. */
.entertainment-media-open{display:block;text-decoration:none;color:#fff}
.entertainment-media-open:focus-visible{outline:3px solid #83bbff;outline-offset:-4px}
.entertainment-media-card:nth-child(4n+2) .entertainment-media-art{background:radial-gradient(circle at 72% 18%,#9d5aff99,transparent 43%),linear-gradient(125deg,#111342,#273d88)}
.entertainment-media-card:nth-child(4n+3) .entertainment-media-art{background:radial-gradient(circle at 72% 18%,#2bc5ae99,transparent 43%),linear-gradient(125deg,#072c3b,#115871)}
.entertainment-media-card:nth-child(4n+4) .entertainment-media-art{background:radial-gradient(circle at 72% 18%,#fe9a4988,transparent 43%),linear-gradient(125deg,#2c173f,#763c68)}
.entertainment-media-card.media-type-movie .entertainment-media-art{background:linear-gradient(90deg,#06152bc9,#082c5799),url('themes/night-hero-scene.jpg') center/cover}
.entertainment-media-card.media-type-tv .entertainment-media-art{background:linear-gradient(90deg,#06152bc9,#092a5088),url('themes/prague-night-clean.perf-20261010.webp') center/cover}
.entertainment-action-label{display:inline-block;margin-top:6px;color:#3488f5;font-size:13px;font-weight:800}
.entertainment-admin-tools{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:10px 0 15px}
.entertainment-admin-tools small{color:var(--muted)}
.memory-board{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;width:min(100%,260px);margin:10px 0}
.memory-board button{height:55px;border:1px solid #789de2;border-radius:10px;background:#174988;color:#fff;font-size:25px;cursor:pointer}
.memory-board button.flipped,.memory-board button.matched{background:#dfeeff;color:#163b70}
.memory-board button.matched{border-color:#25b779}
.word-letters{display:flex;flex-wrap:wrap;gap:5px;margin:10px 0}
.word-letters span{display:grid;place-items:center;width:37px;height:41px;border-radius:8px;background:#1a65ca;color:white;font-size:20px;font-weight:800}
.word-form{display:flex;flex-wrap:wrap;gap:7px}
.word-form input{min-width:100px;max-width:170px;padding:8px;border:1px solid var(--line);border-radius:8px}
.word-form button{padding:8px;border:0;border-radius:8px;background:#1674ec;color:#fff}
.entertainment-radio-search{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 17px;color:var(--ink);font-weight:750}
.entertainment-radio-search input{flex:1;min-width:200px;max-width:400px;padding:10px 14px;border:1px solid var(--line);border-radius:12px;background:var(--card,#fff);color:var(--ink)}
.entertainment-media-card[hidden]{display:none!important}
.entertainment-games{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:980px){.entertainment-games{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.entertainment-games{grid-template-columns:1fr}}
.entertainment-audio-dock{position:fixed;z-index:1200;left:50%;bottom:18px;transform:translateX(-50%);display:flex;align-items:center;gap:14px;width:min(760px,calc(100vw - 24px));padding:11px 14px;border:1px solid #4b83d5;border-radius:18px;background:#091e3a;box-shadow:0 14px 46px #0008;color:#f5faff}
.entertainment-audio-dock[hidden]{display:none!important}
.entertainment-audio-icon{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:13px;background:#286df0;color:white;font-size:25px}
.entertainment-audio-meta{display:flex;flex-direction:column;gap:2px;min-width:120px;flex:1}
.entertainment-audio-meta strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.entertainment-audio-meta small{color:#9ac4ff;font-size:12px}
.entertainment-audio-dock audio{width:min(350px,46%);height:40px;flex:none}
.entertainment-audio-dock>button{border:0;background:#1d3e67;border-radius:9px;color:white;width:36px;height:36px;font-size:24px;cursor:pointer}
@media(max-width:620px){.entertainment-audio-dock{bottom:8px;flex-wrap:wrap;gap:8px}.entertainment-audio-meta{min-width:0}.entertainment-audio-dock audio{order:2;width:100%;height:36px}.entertainment-audio-dock>button{margin-left:auto}}

/* Entertainment app home, desktop shelves and phone-first controls. */
body[data-page=entertainment] .entertainment-page{width:min(1460px,calc(100% - 36px));max-width:1460px;padding:26px 0 105px;color:#edf4ff}
body[data-page=entertainment]{background:#071426}
.entertainment-app-heading{margin:0 0 16px}.entertainment-app-heading h1{margin:4px 0;font-size:clamp(28px,3.2vw,40px);color:#f6f9ff}.entertainment-app-heading p{margin:0;color:#aebfda}
.entertainment-featured{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(260px,.85fr);align-items:stretch;gap:22px;min-height:320px;margin:0 0 18px;padding:25px;overflow:hidden;border:1px solid #26476d;border-radius:22px;background:#07182a;box-shadow:0 15px 50px #0005}
.entertainment-featured-image{position:absolute;z-index:-1;inset:0;width:100%;height:100%;object-fit:cover;opacity:.75}
.entertainment-featured:after{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,#061327f2 0%,#07162bd9 40%,#07172ab5 67%,#07172be8 100%)}
.entertainment-featured-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;max-width:570px;padding:8px 0}
.entertainment-overline{color:#8fbcff;font-size:12px;font-weight:800;letter-spacing:.13em}
.entertainment-featured-copy h2{max-width:520px;margin:12px 0 9px;color:#fff;font-size:clamp(28px,3vw,42px);line-height:1.06}
.entertainment-featured-copy p{max-width:510px;margin:0 0 20px;color:#d3def0;font-size:15px;line-height:1.55}
.entertainment-primary-action,.entertainment-secondary-action{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin:0 8px 8px 0;padding:0 19px;border-radius:24px;text-decoration:none;font-weight:750;cursor:pointer}
.entertainment-primary-action{border:1px solid #5795ff;background:linear-gradient(110deg,#1683ff,#345cff);color:#fff;box-shadow:0 8px 24px #176bff55}
.entertainment-secondary-action{border:1px solid #4b6385;background:#081b31cc;color:#e7f0ff}
.entertainment-feature-player{position:relative;align-self:center;width:100%;min-height:220px;aspect-ratio:16/9;padding:0;overflow:hidden;border:1px solid #3c5a7c;border-radius:16px;background:#071426;color:white;cursor:pointer;box-shadow:0 15px 40px #0007}
.entertainment-feature-player img{display:block;width:100%;height:100%;min-height:220px;object-fit:cover;position:absolute;inset:0}
.entertainment-feature-player:after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,#061326d9)}
.entertainment-feature-player i{position:absolute;z-index:1;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:60px;height:60px;border:1px solid #ffffff88;border-radius:50%;background:#071b34b8;font-size:24px;font-style:normal}
.entertainment-feature-player small{position:absolute;z-index:1;left:14px;bottom:13px;right:14px;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap;color:white;font-size:13px;font-weight:750}
.entertainment-app-tabs{align-items:center;gap:10px;margin:0 0 15px;padding:1px 1px 10px;border-bottom:1px solid #203652;scrollbar-width:none}
.entertainment-app-tabs a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 18px;border-color:#2e4564;background:#0d2037;color:#d9e7fa;font-size:14px}
.entertainment-app-tabs a.active{border-color:#4083ff;background:#287cf4;color:white;box-shadow:0 6px 18px #1c72ed45}
.entertainment-more{position:relative;margin-left:auto;flex:none;color:#dbe7f7}.entertainment-more summary{cursor:pointer;list-style:none;padding:9px 12px;border:1px solid #2f496c;border-radius:10px;background:#0c2038}.entertainment-more summary::-webkit-details-marker{display:none}.entertainment-more>a{position:relative;display:block;padding:9px 12px;color:#dbe7f7;background:#102640;text-decoration:none}.entertainment-more[open]{z-index:5}.entertainment-more[open]>a:nth-of-type(1){border-radius:0 0 10px 10px}.entertainment-more[open]{background:#102640;border:1px solid #2c4669;border-radius:10px}
.entertainment-search-box{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(380px,1.2fr);gap:10px 20px;align-items:center;margin:14px 0 20px;padding:18px 20px;border:1px solid #294362;border-radius:16px;background:linear-gradient(135deg,#112945,#0b1c31)}
.entertainment-search-box h2{margin:0 0 4px;color:#f4f8ff;font-size:19px}.entertainment-search-box p{margin:0;color:#aabfda;font-size:13px}.entertainment-search-box>small{grid-column:1/-1;color:#8fa7c5}
.entertainment-catalog-search{display:flex;align-items:end;gap:9px;min-width:0}.entertainment-catalog-search label{display:grid;gap:5px;min-width:0;color:#d8e6fa;font-size:12px}.entertainment-catalog-search label>input,.entertainment-catalog-search select{min-height:42px;padding:9px 12px;border:1px solid #385270;border-radius:9px;background:#091a2d;color:#eef5ff}.entertainment-catalog-search select{min-width:165px}.entertainment-catalog-search .entertainment-query{flex:1}.entertainment-catalog-search button{min-height:42px;flex:none;padding:0 17px;border:1px solid #5d8eff;border-radius:9px;background:#347eff;color:white;font-weight:700;cursor:pointer}
.entertainment-catalog-message{padding:12px 15px;border:1px solid #955f56;border-radius:10px;background:#3b2021;color:#ffe2df}
.entertainment-shelf{margin:20px 0 22px;min-width:0}.entertainment-shelf>header,.entertainment-radio-app>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 11px}.entertainment-shelf>header h2,.entertainment-radio-app>header h2{margin:0;color:#f2f6ff;font-size:19px}.entertainment-shelf>header>a,.entertainment-radio-app>header>a{color:#8dbbff;text-decoration:none;font-size:13px;font-weight:700}
.entertainment-shelf-track{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(155px,1fr);grid-template-rows:auto;gap:13px;overflow-x:auto;padding:2px 2px 9px;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-color:#305274 transparent}
.entertainment-shelf-track>.entertainment-media-card{min-width:0;max-width:225px;scroll-snap-align:start}
.entertainment-media-card{border:1px solid #203854!important;border-radius:12px!important;background:#0a192a!important;color:#eff5ff!important;box-shadow:0 7px 22px #0003;transition:transform .16s,border-color .16s}
.entertainment-media-card:hover{transform:translateY(-3px);border-color:#4c82c5!important}
.entertainment-media-open{height:clamp(115px,13vw,188px);border-radius:11px 11px 0 0;background:#10243b}
.entertainment-shelf-track .entertainment-media-open{height:clamp(130px,12vw,180px)}
.entertainment-media-open>img{display:block}
.entertainment-media-copy{padding:11px 12px 13px}.entertainment-media-copy .chip{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#98b4d6;font-size:10px}.entertainment-media-copy h3{display:-webkit-box;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:2.55em;margin:6px 0 4px;color:#f3f7ff;font-size:14px;line-height:1.3}.entertainment-media-copy p{margin:0 0 4px;color:#a8bad1;font-size:12px}.entertainment-action-label{color:#70aaff;font-size:11px}.entertainment-license{display:block;margin:6px 0;color:#aac8ed;font-size:10px;line-height:1.4}
.entertainment-radio-app{margin:23px 0 0;padding:17px;border:1px solid #203a58;border-radius:16px;background:linear-gradient(110deg,#0b1c31,#0b2139)}
.entertainment-radio-chips{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.entertainment-station{display:grid;grid-template-columns:38px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;column-gap:9px;min-width:0;padding:10px;border:1px solid #243e5c;border-radius:12px;background:#10243c;color:#e9f2ff;text-align:left;cursor:pointer}.entertainment-station>span{grid-row:1/3;display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#204b85;color:#9ec9ff;font-size:22px}.entertainment-station>b,.entertainment-station>small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.entertainment-station>b{font-size:12px}.entertainment-station>small{color:#96aed0;font-size:10px}
.entertainment-radio-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.entertainment-radio-grid .entertainment-media-open{height:140px}.entertainment-radio-search{width:min(100%,760px);margin:8px 0 15px;color:#e0ecfa}.entertainment-radio-search input{border-color:#385270;background:#0d2036;color:#f0f5ff}.entertainment-admin-tools small{color:#9eb4d1}.entertainment-api-settings{margin:12px 0 16px;padding:12px 15px;border:1px solid #294466;border-radius:12px;background:#0c1f34;color:#eaf2ff}.entertainment-api-settings>summary{cursor:pointer;font-weight:700}.entertainment-api-settings form{padding-top:12px}.entertainment-api-settings small,.entertainment-api-settings .muted{color:#9db2ce}.entertainment-api-settings button{margin-top:12px}
.entertainment-games{grid-template-columns:repeat(4,minmax(0,1fr))}.entertainment-game-card{border:1px solid #273f5d;border-radius:15px;background:#0d2035;color:#ebf3ff}.entertainment-game-card p,.entertainment-game-card .muted{color:#a9bdd7}
.entertainment-audio-dock{bottom:calc(78px + env(safe-area-inset-bottom));background:#07182b;border-color:#35567b}
body[data-page=entertainment] .entertainment-player-dialog{width:min(100%,1000px)}
.entertainment-music-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(255px,.8fr);align-items:stretch;gap:14px;min-width:0}
.entertainment-music-layout .entertainment-shelf-track{min-width:0}
.entertainment-music-feature{display:flex;align-items:center;gap:13px;min-width:0;min-height:185px;padding:14px;border:1px solid #274467;border-radius:16px;background:linear-gradient(140deg,#102a48,#0b1b31 72%);color:#edf4ff;text-align:left;cursor:pointer}
.entertainment-music-cover{position:relative;display:grid;place-items:center;flex:none;width:94px;height:110px;overflow:hidden;border-radius:12px;background:linear-gradient(145deg,#edb83a,#1b67b1 50%,#152b48);box-shadow:0 8px 20px #0006}
.entertainment-music-cover img{width:100%;height:100%;object-fit:cover}.entertainment-music-cover i{font-size:45px;font-style:normal;color:#fff}
.entertainment-music-details{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}.entertainment-music-details>small{color:#8dbdff;font-size:9px;font-weight:800;letter-spacing:.08em}.entertainment-music-details>b,.entertainment-music-details>span:not(.entertainment-waveform):not(.entertainment-music-controls){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.entertainment-music-details>b{font-size:14px}.entertainment-music-details>span:not(.entertainment-waveform):not(.entertainment-music-controls){color:#a8bbd6;font-size:11px}
.entertainment-waveform{display:flex;align-items:center;gap:3px;height:31px;margin:3px 0 0}.entertainment-waveform i{width:3px;height:var(--bar);max-height:28px;border-radius:4px;background:linear-gradient(#66c9ff,#3270ec)}.entertainment-music-controls{display:flex;align-items:center;justify-content:space-between;gap:6px;color:#bacbe1;font-size:13px}.entertainment-music-controls strong{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:linear-gradient(130deg,#318cff,#3858ed);color:white;font-size:14px}
@media(max-width:900px){.entertainment-featured{grid-template-columns:minmax(0,1fr) minmax(230px,.75fr);min-height:290px;padding:20px}.entertainment-radio-chips{grid-template-columns:repeat(3,minmax(0,1fr))}.entertainment-radio-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){
 body[data-page=entertainment] .entertainment-page{width:calc(100% - 24px);padding:18px 0 120px}
 .entertainment-app-heading{margin-bottom:10px}.entertainment-app-heading h1{font-size:29px}.entertainment-app-heading p{font-size:13px;line-height:1.45}
 .entertainment-featured{display:flex;min-height:365px;flex-direction:column;align-items:stretch;justify-content:flex-end;gap:13px;padding:17px;margin-bottom:13px;border-radius:18px}
 .entertainment-featured-image{object-position:66% center;opacity:.8}.entertainment-featured:after{background:linear-gradient(180deg,#05162b26 0%,#06162c44 25%,#06142be8 73%,#061328 100%)}
 .entertainment-featured-copy{position:relative;z-index:1;order:2;padding:0}.entertainment-featured-copy h2{margin:6px 0;font-size:25px}.entertainment-featured-copy p{margin:0 0 10px;font-size:13px}.entertainment-primary-action,.entertainment-secondary-action{min-height:40px;padding:0 14px;font-size:12px}
 .entertainment-feature-player{position:absolute;inset:0 0 auto;width:100%;height:215px;min-height:0;aspect-ratio:auto;border:0;border-radius:17px 17px 0 0;box-shadow:none;background:transparent}
 .entertainment-feature-player img{height:215px;min-height:0;object-fit:cover;object-position:center 39%;opacity:.92}.entertainment-feature-player:after{inset:55% 0 0;background:linear-gradient(transparent,#07172aaf)}.entertainment-feature-player i{top:47%;width:50px;height:50px}
 .entertainment-feature-player small{display:none}.entertainment-overline{font-size:10px}
 .entertainment-app-tabs{gap:7px;margin-bottom:12px;padding-bottom:10px}.entertainment-app-tabs a{flex:1;min-width:max-content;min-height:39px;padding:0 10px;font-size:12px}.entertainment-more{display:none}
 .entertainment-search-box{grid-template-columns:1fr;gap:11px;padding:14px;border-radius:14px}.entertainment-search-box>small{grid-column:auto;font-size:10px;line-height:1.45}.entertainment-search-box h2{font-size:17px}
 .entertainment-catalog-search{flex-wrap:wrap;align-items:stretch}.entertainment-catalog-search label{flex:1 1 100%;font-size:11px}.entertainment-catalog-search select,.entertainment-catalog-search label>input{width:100%;min-height:42px}.entertainment-catalog-search button{flex:1}
 .entertainment-shelf{margin:17px 0 19px}.entertainment-shelf>header h2,.entertainment-radio-app>header h2{font-size:16px}.entertainment-shelf-track{grid-auto-columns:43vw;gap:9px;padding-bottom:8px}.entertainment-shelf-track>.entertainment-media-card{max-width:none}.entertainment-shelf-track .entertainment-media-open{height:clamp(125px,38vw,175px)}.entertainment-media-copy{padding:9px}.entertainment-media-copy h3{font-size:12px}.entertainment-media-copy p{font-size:10px}.entertainment-action-label{font-size:10px}
 .entertainment-radio-app{margin-top:17px;padding:13px}.entertainment-radio-chips{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.entertainment-station{grid-template-columns:32px minmax(0,1fr);padding:8px}.entertainment-station>span{width:30px;height:30px;font-size:17px}.entertainment-station>b{font-size:10px}.entertainment-station>small{font-size:9px}
 .entertainment-music-layout{grid-template-columns:1fr;gap:9px}.entertainment-music-feature{min-height:125px;padding:10px}.entertainment-music-cover{width:82px;height:92px}.entertainment-music-details>b{font-size:12px}
 .entertainment-media-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.entertainment-media-grid .entertainment-media-open{height:clamp(110px,38vw,180px)}.entertainment-media-grid.entertainment-radio-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.entertainment-games{grid-template-columns:1fr}.entertainment-game-card{padding:14px}.entertainment-radio-search{align-items:stretch;gap:6px;font-size:12px}.entertainment-radio-search input{flex-basis:100%;max-width:none;min-height:42px}
 .entertainment-audio-dock{bottom:calc(70px + env(safe-area-inset-bottom));left:12px;right:12px;transform:none;width:auto;padding:8px 10px;border-radius:14px}.entertainment-audio-dock audio{width:100%}.entertainment-player{padding:8px}.entertainment-player-stage{min-height:210px}.entertainment-player-stage iframe,.entertainment-player-stage video{min-height:210px}
}

/* Match the page surfaces to the user's selected theme. */
body[data-page=entertainment]{background:var(--theme-bg,var(--cream));color:var(--theme-text,var(--ink))}
body[data-page=entertainment].theme-powder .entertainment-page,body[data-page=entertainment].theme-love .entertainment-page{color:#573e4c}
body[data-page=entertainment].theme-powder .entertainment-app-heading h1,body[data-page=entertainment].theme-love .entertainment-app-heading h1{color:#503646}
body[data-page=entertainment].theme-powder .entertainment-app-heading p,body[data-page=entertainment].theme-love .entertainment-app-heading p{color:#816a77}
body[data-page=entertainment].theme-powder .entertainment-featured,body[data-page=entertainment].theme-love .entertainment-featured{border-color:#edc9d9;background:#fff4f8}
body[data-page=entertainment].theme-powder .entertainment-featured:after,body[data-page=entertainment].theme-love .entertainment-featured:after{background:linear-gradient(90deg,#fff7fbed 0%,#fff2f8dd 52%,#fff5f5cc 100%)}
body[data-page=entertainment].theme-powder .entertainment-featured-copy h2,body[data-page=entertainment].theme-love .entertainment-featured-copy h2{color:#593348}
body[data-page=entertainment].theme-powder .entertainment-featured-copy p,body[data-page=entertainment].theme-love .entertainment-featured-copy p{color:#795d70}
body[data-page=entertainment].theme-powder .entertainment-overline,body[data-page=entertainment].theme-love .entertainment-overline{color:#bd4f82}
body[data-page=entertainment].theme-powder .entertainment-secondary-action,body[data-page=entertainment].theme-love .entertainment-secondary-action{border-color:#e4bfd0;background:#fffafd;color:#774461}
body[data-page=entertainment].theme-powder .entertainment-app-tabs,body[data-page=entertainment].theme-love .entertainment-app-tabs{border-color:#edcfdd}
body[data-page=entertainment].theme-powder .entertainment-app-tabs a,body[data-page=entertainment].theme-love .entertainment-app-tabs a{border-color:#ebcddd;background:#fffafd;color:#6b4b5c}
body[data-page=entertainment].theme-powder .entertainment-app-tabs a.active,body[data-page=entertainment].theme-love .entertainment-app-tabs a.active{background:#d86c98;border-color:#d86c98;color:#fff}
body[data-page=entertainment].theme-powder .entertainment-search-box,body[data-page=entertainment].theme-love .entertainment-search-box,body[data-page=entertainment].theme-powder .entertainment-radio-app,body[data-page=entertainment].theme-love .entertainment-radio-app{border-color:#edcada;background:linear-gradient(135deg,#fffafd,#fff2f7)}
body[data-page=entertainment].theme-powder .entertainment-search-box h2,body[data-page=entertainment].theme-love .entertainment-search-box h2,body[data-page=entertainment].theme-powder .entertainment-shelf>header h2,body[data-page=entertainment].theme-love .entertainment-shelf>header h2,body[data-page=entertainment].theme-powder .entertainment-radio-app>header h2,body[data-page=entertainment].theme-love .entertainment-radio-app>header h2{color:#573e4c}
body[data-page=entertainment].theme-powder .entertainment-search-box p,body[data-page=entertainment].theme-love .entertainment-search-box p,body[data-page=entertainment].theme-powder .entertainment-search-box>small,body[data-page=entertainment].theme-love .entertainment-search-box>small{color:#886e7d}
body[data-page=entertainment].theme-powder .entertainment-catalog-search label,body[data-page=entertainment].theme-love .entertainment-catalog-search label{color:#60495a}
body[data-page=entertainment].theme-powder .entertainment-catalog-search input,body[data-page=entertainment].theme-love .entertainment-catalog-search input,body[data-page=entertainment].theme-powder .entertainment-catalog-search select,body[data-page=entertainment].theme-love .entertainment-catalog-search select,body[data-page=entertainment].theme-powder .entertainment-radio-search input,body[data-page=entertainment].theme-love .entertainment-radio-search input{border-color:#e4c8d5;background:#fffdfd;color:#503646}
body[data-page=entertainment].theme-powder .entertainment-media-card,body[data-page=entertainment].theme-love .entertainment-media-card{border-color:#e7ceda!important;background:#fffafd!important;color:#553d4c!important}
body[data-page=entertainment].theme-powder .entertainment-media-copy h3,body[data-page=entertainment].theme-love .entertainment-media-copy h3{color:#503646}
body[data-page=entertainment].theme-powder .entertainment-media-copy p,body[data-page=entertainment].theme-love .entertainment-media-copy p,body[data-page=entertainment].theme-powder .entertainment-media-copy .chip,body[data-page=entertainment].theme-love .entertainment-media-copy .chip{color:#816a77}
body[data-page=entertainment].theme-powder .entertainment-station,body[data-page=entertainment].theme-love .entertainment-station,body[data-page=entertainment].theme-powder .entertainment-game-card,body[data-page=entertainment].theme-love .entertainment-game-card,body[data-page=entertainment].theme-powder .entertainment-api-settings,body[data-page=entertainment].theme-love .entertainment-api-settings{border-color:#e7ceda;background:#fffafd;color:#573e4c}
body[data-page=entertainment].theme-powder .entertainment-station>small,body[data-page=entertainment].theme-love .entertainment-station>small,body[data-page=entertainment].theme-powder .entertainment-game-card .muted,body[data-page=entertainment].theme-love .entertainment-game-card .muted{color:#886e7d}
body[data-page=entertainment].theme-powder .entertainment-music-feature,body[data-page=entertainment].theme-love .entertainment-music-feature{border-color:#e7cada;background:linear-gradient(140deg,#fff0f6,#fffafd 72%);color:#573e4c}
body[data-page=entertainment].theme-powder .entertainment-music-details>small,body[data-page=entertainment].theme-love .entertainment-music-details>small{color:#b74f7e}
body[data-page=entertainment].theme-powder .entertainment-music-details>span:not(.entertainment-waveform):not(.entertainment-music-controls),body[data-page=entertainment].theme-love .entertainment-music-details>span:not(.entertainment-waveform):not(.entertainment-music-controls){color:#806b78}
.entertainment-player-dialog>header>div,.entertainment-mini-head>div{display:flex;gap:7px}
.entertainment-mini-player{position:fixed;z-index:1201;right:18px;bottom:calc(92px + env(safe-area-inset-bottom));width:min(390px,calc(100vw - 28px));padding:9px;border:1px solid #4b83d5;border-radius:15px;background:#07182b;color:#f5faff;box-shadow:0 14px 46px #0009}
.entertainment-mini-player[hidden]{display:none!important}
.entertainment-mini-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:2px 2px 8px}
.entertainment-mini-head strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
.entertainment-mini-head button{width:32px;height:30px;border:0;border-radius:8px;background:#1d3e67;color:white;font-size:19px;cursor:pointer}
.entertainment-mini-stage{width:100%;aspect-ratio:16/9;overflow:hidden;border-radius:9px;background:#02060d}
.entertainment-mini-stage iframe,.entertainment-mini-stage video{width:100%;height:100%;border:0;object-fit:contain}
#snakeCanvas{display:block;width:min(100%,300px);height:auto;aspect-ratio:1;border-radius:12px;background:#08182a;touch-action:none}
.snake-controls,.game-2048-controls{display:grid;grid-template-columns:repeat(3,42px);gap:5px;align-items:center;justify-content:center}
.snake-controls button,.game-2048-controls button{padding:0;width:42px;height:38px;border:0;border-radius:9px;background:#235287;color:white;font-size:21px}
.snake-controls #snakePause,.snake-controls #snakeReset{grid-column:1/-1;width:100%;min-width:0;box-sizing:border-box;padding:0 10px;font:inherit;font-size:14px;font-weight:650;line-height:1.2;white-space:nowrap}
.snake-controls [data-snake-dir="up"],.game-2048-controls [data-2048-dir="up"]{grid-column:2}
.snake-controls [data-snake-dir="left"],.game-2048-controls [data-2048-dir="left"]{grid-column:1}
.snake-controls [data-snake-dir="down"],.game-2048-controls [data-2048-dir="down"]{grid-column:2}
.snake-controls [data-snake-dir="right"],.game-2048-controls [data-2048-dir="right"]{grid-column:3}
.game-2048-top{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;font-size:13px}
.game-2048-board{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;width:min(100%,290px);aspect-ratio:1;padding:8px;border-radius:12px;background:#675b51}
.game-2048-cell{display:grid;place-items:center;min-width:0;border-radius:8px;background:#cbbfb1;color:#594f47;font-size:clamp(17px,5vw,27px);font-weight:850}
.game-2048-cell[data-value="2"]{background:#eee4da}
.game-2048-cell[data-value="4"]{background:#ede0c8}
.game-2048-cell[data-value="8"]{background:#f2b179;color:#fff}
.game-2048-cell[data-value="16"]{background:#f59563;color:#fff}
.game-2048-cell[data-value="32"]{background:#f67c5f;color:#fff}
.game-2048-cell[data-value="64"]{background:#f65e3b;color:#fff}
.game-2048-cell[data-value="128"],.game-2048-cell[data-value="256"],.game-2048-cell[data-value="512"],.game-2048-cell[data-value="1024"],.game-2048-cell[data-value="2048"]{background:#edcf72;color:#fff;font-size:clamp(15px,4vw,23px)}
@media(max-width:650px){.entertainment-mini-player{right:12px;bottom:calc(150px + env(safe-area-inset-bottom));width:min(300px,calc(100vw - 24px))}.entertainment-mini-stage{aspect-ratio:16/9}.entertainment-mini-head strong{font-size:12px}}
body[data-page=entertainment].theme-light .entertainment-page{color:var(--ink)}
body[data-page=entertainment].theme-light .entertainment-app-heading h1{color:var(--ink)}
body[data-page=entertainment].theme-light .entertainment-app-heading p{color:var(--muted)}
body[data-page=entertainment].theme-light .entertainment-featured{border-color:#d9e4ef;background:#eef5fc}
body[data-page=entertainment].theme-light .entertainment-featured:after{background:linear-gradient(90deg,#f5f9fdef 0%,#f2f7fbe0 52%,#edf5facc 100%)}
body[data-page=entertainment].theme-light .entertainment-featured-copy h2{color:#173555}
body[data-page=entertainment].theme-light .entertainment-featured-copy p{color:#405974}
body[data-page=entertainment].theme-light .entertainment-overline{color:#2769b6}
body[data-page=entertainment].theme-light .entertainment-secondary-action{border-color:#c7d8e8;background:#fff;color:#274a70}
body[data-page=entertainment].theme-light .entertainment-app-tabs{border-color:#dce5ed}
body[data-page=entertainment].theme-light .entertainment-app-tabs a{border-color:#d3dfeb;background:#fff;color:#34506b}
body[data-page=entertainment].theme-light .entertainment-app-tabs a.active{background:#287cf4;border-color:#287cf4;color:#fff}
body[data-page=entertainment].theme-light .entertainment-search-box,body[data-page=entertainment].theme-light .entertainment-radio-app{border-color:#d5e0eb;background:linear-gradient(135deg,#fff,#f1f6fb)}
body[data-page=entertainment].theme-light .entertainment-search-box h2,body[data-page=entertainment].theme-light .entertainment-shelf>header h2,body[data-page=entertainment].theme-light .entertainment-radio-app>header h2{color:#203d5b}
body[data-page=entertainment].theme-light .entertainment-search-box p,body[data-page=entertainment].theme-light .entertainment-search-box>small{color:#637b93}
body[data-page=entertainment].theme-light .entertainment-catalog-search label{color:#304d68}
body[data-page=entertainment].theme-light .entertainment-catalog-search input,body[data-page=entertainment].theme-light .entertainment-catalog-search select,body[data-page=entertainment].theme-light .entertainment-radio-search input{border-color:#cfdae5;background:#fff;color:#23394e}
body[data-page=entertainment].theme-light .entertainment-media-card{border-color:#d4dfeb!important;background:#fff!important;color:#20344b!important}
body[data-page=entertainment].theme-light .entertainment-media-copy h3{color:#213c59}
body[data-page=entertainment].theme-light .entertainment-media-copy p,body[data-page=entertainment].theme-light .entertainment-media-copy .chip{color:#687f96}
body[data-page=entertainment].theme-light .entertainment-station,body[data-page=entertainment].theme-light .entertainment-game-card,body[data-page=entertainment].theme-light .entertainment-api-settings{border-color:#d3dfeb;background:#fff;color:#263c52}
body[data-page=entertainment].theme-light .entertainment-station>small,body[data-page=entertainment].theme-light .entertainment-game-card .muted{color:#687f96}
body[data-page=entertainment].theme-light .entertainment-music-feature{border-color:#d1deea;background:linear-gradient(140deg,#f2f8ff,#fff 72%);color:#263d56}
body[data-page=entertainment].theme-light .entertainment-music-details>small{color:#286bb7}
body[data-page=entertainment].theme-light .entertainment-music-details>span:not(.entertainment-waveform):not(.entertainment-music-controls){color:#687f96}


/* v15.41.02: provider-free native artwork for media cards. */
.entertainment-media-art{position:relative;isolation:isolate;display:flex!important;align-items:center!important;justify-content:center!important;width:100%;height:100%;overflow:hidden;background:radial-gradient(circle at 72% 20%,rgba(67,150,255,.62),transparent 42%),linear-gradient(145deg,#071832,#164f8a)}
.entertainment-media-art:before{content:"";position:absolute;inset:-35%;z-index:-1;background:repeating-linear-gradient(115deg,rgba(255,255,255,.055) 0 2px,transparent 2px 24px);transform:rotate(-5deg)}
.entertainment-media-art>i{position:absolute;left:14px;top:12px;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:rgba(4,16,38,.58);font-size:21px;font-style:normal;backdrop-filter:blur(6px)}
.entertainment-media-art>b{font-size:clamp(42px,5vw,70px);line-height:1;color:#fff;text-shadow:0 8px 28px rgba(0,0,0,.35);text-transform:uppercase}
.entertainment-media-art>small{position:absolute;right:12px;bottom:11px;padding:5px 8px;border:1px solid rgba(255,255,255,.24);border-radius:999px;background:rgba(5,18,42,.62);color:#eaf4ff;font-size:9px;font-weight:900;letter-spacing:.12em}
.entertainment-media-card.media-type-music .entertainment-media-art{background:radial-gradient(circle at 76% 20%,rgba(184,82,255,.68),transparent 40%),linear-gradient(145deg,#17143e,#34328b)}
.entertainment-media-card.media-type-radio .entertainment-media-art{background:radial-gradient(circle at 74% 18%,rgba(33,214,188,.58),transparent 43%),linear-gradient(145deg,#072936,#0b6971)}
.entertainment-media-card.media-type-radio .entertainment-media-art>small{background:#b91432;color:#fff;border-color:#ed7185}
.entertainment-media-card.media-type-movie .entertainment-media-art,.entertainment-media-card.media-type-tv .entertainment-media-art{background:radial-gradient(circle at 75% 20%,rgba(67,150,255,.62),transparent 42%),linear-gradient(145deg,#071832,#164f8a)}
.entertainment-media-open{appearance:none;text-align:inherit;color:inherit}
.entertainment-player[hidden],.entertainment-player[aria-hidden="true"]{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important}
.entertainment-player:not(.is-open){display:none!important;pointer-events:none!important}
.entertainment-player:not(.is-open) .entertainment-player-backdrop{display:none!important;opacity:0!important;pointer-events:none!important}
html:not(.entertainment-player-open) .entertainment-player-backdrop,body:not(.entertainment-player-open) .entertainment-player-backdrop{pointer-events:none!important}

/* v15.41.03: keep the player above its backdrop, including mobile GPU layers. */
html body #entertainmentPlayer.is-open:not([hidden]){
 display:grid!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;
 position:fixed!important;inset:0!important;z-index:2147483000!important;isolation:isolate;
 box-sizing:border-box;overflow:auto;align-items:center;justify-items:center;
}
#entertainmentPlayer>.entertainment-player-backdrop{
 position:absolute;inset:0;z-index:0;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
#entertainmentPlayer>.entertainment-player-dialog{
 position:relative!important;z-index:1!important;display:block!important;visibility:visible!important;
 opacity:1!important;pointer-events:auto!important;box-sizing:border-box;min-width:0;
 width:min(100%,960px);max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);
 overflow:auto;background:#0a1425!important;color:#f5f7fc!important;
}
#entertainmentPlayer .entertainment-player-dialog>header{position:relative;z-index:2;display:flex;flex-wrap:wrap}
#entertainmentPlayer .entertainment-player-dialog>header h2{flex:1;min-width:0;overflow-wrap:anywhere}
#entertainmentPlayerStage{position:relative;min-width:0;width:100%;}
#entertainmentPlayerStage video{display:block;width:100%;height:100%;min-height:0;object-fit:contain;}

/* v15.41.05: a closed reference44 drawer must never retain its shade. */
html body:not(.r44-menu-open) #r44Shade,html body #r44Shade[hidden]{
 display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;
 backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}

/* v15.41.60 — editor follows the selected theme, without a preview column. */
#panel-settings .panel-config-layout{grid-template-columns:minmax(0,1fr)!important}
#panel-settings .nav-preview-switch button.active,
#panel-settings form>button.button,
#panel-settings .custom-menu-entry-fields .button{background:var(--theme-accent,var(--blue2,#354b83))!important;color:#fff!important;border-color:var(--theme-accent,var(--blue2,#354b83))!important}
#panel-settings .nav-variant-card:has(input:checked),
#panel-settings .drawer-style-card:has(input:checked){border-color:var(--theme-accent,var(--blue2,#354b83))!important;background:var(--theme-surface-2,var(--theme-bg,#f5f7fa))!important}
#panel-settings .eyebrow,#panel-settings .more-pc-variants summary{color:var(--theme-accent,var(--blue2,#354b83))!important}
#panel-settings .section-head p,#panel-settings p{color:var(--theme-muted,var(--muted,#627080))!important}
