/* App collections share the dashboard width; the physical remote keeps its proportions. */
.tv-panel{--tv-ink:#edf5f8;--tv-muted:#a7bdc8;--tv-line:#b5d0de26;width:100%;max-width:none;margin:0 auto 32px;color:var(--tv-ink);font-family:inherit;container-type:inline-size}
.tv-panel *{box-sizing:border-box}.tv-panel [hidden]{display:none!important}.tv-panel button{font:inherit;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.tv-panel button:disabled{cursor:not-allowed;opacity:.4}.tv-panel button:focus-visible,.tv-panel input:focus-visible,.tv-panel summary:focus-visible{outline:3px solid #75d5ff;outline-offset:4px}.tv-panel svg{display:block;width:24px;height:24px;flex-shrink:0;pointer-events:none}.tv-sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.tv-remote-shell{position:relative;display:grid;grid-template-columns:minmax(0,1fr);min-width:0;align-items:start}
.tv-remote-controls{grid-row:1;width:min(100%,330px);justify-self:center;min-width:0}.tv-remote-header,.tv-control-body{width:100%;min-width:0;border:1px solid #425968;background:linear-gradient(110deg,#354955 0%,#233744 12%,#142733 58%,#253d4a 93%,#465864);box-shadow:inset 1px 0 1px #fff3,inset -2px 0 3px #08121c99}
.tv-remote-header{position:relative;display:grid;grid-template-columns:50px minmax(0,1fr) 50px;gap:0 10px;margin:0;padding:19px 21px 20px;border-radius:31px 31px 0 0;border-bottom:0}.tv-control-body{padding:0 21px 14px;border-radius:0 0 31px 31px;border-top:0;box-shadow:0 22px 42px -22px #122c4970,inset 1px 0 1px #fff3,inset -2px 0 3px #08121c99,inset 0 -3px 0 #07182366}
.tv-top-info{position:relative;z-index:1;grid-column:2;grid-row:1;min-width:0;margin:6px 0 0;min-height:44px;text-align:center;pointer-events:none}.tv-device-name{font-size:14px;line-height:1.3;font-weight:600;letter-spacing:-.2px;margin:0 0 3px;overflow-wrap:anywhere}.tv-connection-badge{display:block;font-size:10px;line-height:1.4;font-weight:400;color:var(--tv-muted)}.tv-connection-badge[data-status=connected]{color:#9ae5c4}.tv-connection-badge[data-status=error]{color:#ffd0c7}
.tv-activity-led{position:absolute;left:50%;top:10px;transform:translateX(-50%);width:7px;height:7px;border:1px solid #43697f;border-radius:50%;background:#19384b;box-shadow:inset 0 1px 2px #08131d}.tv-activity-led[data-active=true],.tv-activity-led[data-pulse=true]{background:#77d4ff;border-color:#c0efff;box-shadow:0 0 7px 2px #47bfff88,0 0 17px #4cc4ff55}
.tv-top-controls{display:grid;grid-column:1/-1;grid-row:1;grid-template-columns:50px minmax(0,1fr) 50px;align-items:start;justify-items:center;gap:10px;min-height:50px}.tv-top-controls .tv-key,.tv-power-button{width:50px;height:50px;min-height:50px;padding:10px;border-radius:50%}.tv-top-controls .tv-input-button{grid-column:3;display:flex;flex-direction:column;gap:2px;padding:6px;border-radius:16px}.tv-input-button svg{width:21px;height:21px}.tv-button-caption{font-size:9px;font-weight:600;letter-spacing:.03em}.tv-power-button{display:grid;place-items:center;flex-shrink:0;border:1px solid #8c6d7259;background:linear-gradient(#33414c,#182b36);color:#ef9093;box-shadow:0 3px 4px #07131f77,inset 0 1px 0 #ffffff17}.tv-power-button:not(:disabled):hover{background:#44545e}.tv-power-button[data-mode=wake]{color:#a0e2c9;border-color:#7bd5c155}.tv-microphone-button:disabled{opacity:.45}.tv-microphone-button:disabled svg{color:#8ea3af}
.tv-key{display:flex;align-items:center;justify-content:center;min-width:0;min-height:44px;padding:9px;border:1px solid #4b6170;border-radius:16px;background:linear-gradient(#344957,#203543);color:var(--tv-ink);font-size:14px;line-height:1.25;box-shadow:0 3px 4px #081b2966,inset 0 1px 0 #ffffff17}.tv-key:not(:disabled):hover{background:#405e71;border-color:#77a3b7}.tv-key:not(:disabled):active,.tv-power-button:not(:disabled):active{transform:translateY(1px);box-shadow:inset 0 2px 4px #07182355}
.tv-source-panel{position:absolute;z-index:5;top:calc(100% - 5px);right:12px;left:12px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:12px;border:1px solid #658ba0;border-radius:17px;background:#1c3342;box-shadow:0 12px 25px #07182399}.tv-source-button{font-size:12px;overflow-wrap:anywhere}
.tv-error{padding:10px 12px;margin:0 0 12px;border:1px solid #94636a;border-radius:12px;background:#603940;color:#ffded8;font-size:11px;line-height:1.5}.tv-message{position:absolute;bottom:3px;left:21px;right:21px;pointer-events:none;margin:0;text-align:center;color:#a7defa;font-size:11px;line-height:1.4}
.tv-apps,.tv-more-apps{min-width:0;padding:20px;background:#fff;border:1px solid #dce5ee!important;border-radius:22px;box-shadow:0 12px 28px #17354c07;color:#17354c;transition:border-color .18s ease,background .18s ease,box-shadow .18s ease}
.tv-app-collection{grid-row:3;min-width:0;margin-top:24px}.tv-device-selector:empty{display:none}.tv-device-selector:not(:empty){margin-bottom:16px}.tv-apps{margin:0}.tv-apps-heading{margin:0 0 18px;color:#17354c;font-size:17px;font-weight:600;line-height:1.3}.tv-app-grid{display:grid;min-width:0;gap:14px;justify-items:center}.tv-apps .tv-app-grid{grid-template-columns:repeat(auto-fill,minmax(min(144px,100%),1fr))}.tv-app-tile{position:relative;width:100%;min-width:0;max-width:176px;aspect-ratio:1;transform-origin:top left}.tv-app-button{position:relative;display:block;width:100%;height:100%;aspect-ratio:1;min-width:0;padding:0;overflow:hidden;border:1px solid #dce5ee;border-radius:18px;background:#e8eff5;color:#376882;box-shadow:0 4px 12px #17354c10;transform-origin:top left;transition:border-color .18s ease,box-shadow .18s ease,opacity .18s ease,filter .18s ease}.tv-app-button:not(:disabled):hover{border-color:#4c9aca;box-shadow:0 7px 20px #17354c24}.tv-app-button:not(:disabled):active{filter:brightness(.92)}.tv-app-mark{display:grid;place-items:center;width:100%;height:100%;min-width:0;min-height:0;overflow:hidden;pointer-events:none}.tv-app-mark img{display:block;width:100%;height:100%;min-width:0;min-height:0;object-fit:cover;object-position:center;pointer-events:none}.tv-app-mark[data-fallback=true]{background:linear-gradient(140deg,#eaf3f8,#cfdfeb)}.tv-app-mark[data-fallback=true] svg{width:52%;height:52%;color:#517994}.tv-app-button[data-active=true]{border-color:#5fbad9;box-shadow:0 0 0 3px #63bddb66,0 5px 14px #17354c17}.tv-app-button[data-active=true]:after{content:"";position:absolute;bottom:9px;left:9px;width:8px;height:8px;border:2px solid #fff;border-radius:50%;background:#278869;box-shadow:0 1px 4px #0004}
.tv-favorite-toggle{position:absolute;z-index:2;top:4px;right:4px;display:grid;place-items:center;width:44px;height:44px;padding:9px;border:1px solid #fff9;border-radius:50%;background:#12364ddd;color:#fff;box-shadow:0 2px 7px #0003;transition:opacity .18s ease,background .18s ease}.tv-favorite-toggle:hover{background:#1d5678}.tv-favorite-toggle[aria-pressed=true]{color:#ffda7b}.tv-favorite-toggle[aria-pressed=true] svg{fill:currentColor}.tv-panel .tv-favorite-toggle:focus-visible{outline-color:#258dbd;outline-offset:2px}
.tv-app-empty{min-height:110px;display:grid;place-items:center;padding:20px;margin:0;border:1px dashed #b9cedd;border-radius:15px;font-size:13px;line-height:1.5;text-align:center;color:#526f83}.tv-apps[data-drag-over=true],.tv-more-apps[data-drag-over=true]{background:#edf7fc;border-color:#258dbd!important;box-shadow:0 0 0 3px #258dbd35}.tv-app-button[data-dragging=true]{opacity:.4;filter:saturate(.6);box-shadow:0 0 0 3px #75d5ff}.tv-app-button[data-drop-position=before]{box-shadow:-5px 0 0 #258dbd}.tv-app-button[data-drop-position=after]{box-shadow:5px 0 0 #258dbd}.tv-panel[data-app-dragging=true] .tv-favorite-toggle{pointer-events:none;opacity:0}
.tv-navigation{margin:0;width:100%}.tv-key-row{display:flex;justify-content:center;gap:10px}.tv-key-row>.tv-key{flex:1}.tv-utility-row{display:grid;grid-template-columns:50px minmax(0,1fr) 50px;margin:auto;align-items:center;gap:10px}.tv-utility-row>.tv-key{width:50px;height:50px;justify-self:center;border-radius:50%}.tv-media{grid-column:2/-1;display:grid;grid-template-columns:minmax(0,1fr) 50px;justify-items:center;align-items:center;margin:0;gap:10px}.tv-media [data-tv-key=play],.tv-media .tv-play-pause{grid-column:1;grid-row:1}.tv-media [data-tv-key=pause]{grid-column:2;grid-row:1}.tv-media .tv-key{flex:0 0 50px;width:50px;height:50px;border-radius:50%}.tv-media svg{width:21px;height:21px}.tv-dpad{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);gap:3px;width:min(206px,100%);aspect-ratio:1;margin:20px auto;padding:12px;border:1px solid #90a5b5;border-radius:50%;background:radial-gradient(circle at 50% 48%,#20343f 0 25%,#5c7180 26%,#435866 62%,#738795 93%);box-shadow:0 5px 7px #05172399,inset 0 1px 2px #d6efff55}.tv-dpad .tv-key{min-height:0;padding:0;border:0;box-shadow:none;background:transparent;border-radius:50%}.tv-dpad .tv-key:not(:disabled):hover{background:#bbddf12b}.tv-dpad .tv-key svg{width:28px;height:28px}.tv-dpad-up{grid-area:1/2}.tv-dpad-left{grid-area:2/1}.tv-dpad-right{grid-area:2/3}.tv-dpad-down{grid-area:3/2}.tv-dpad .tv-dpad-ok{grid-area:2/2;border:1px solid #203644;border-radius:50%;background:linear-gradient(#233844,#10232f);color:#edf5f8;font-size:14px;font-weight:650;box-shadow:0 2px 4px #06192666,inset 0 1px 0 #ffffff17}.tv-dpad .tv-dpad-ok:not(:disabled):hover{background:#2b4759}.tv-nav-extras{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));justify-items:center;margin:auto;gap:10px}.tv-nav-extras .tv-key{border-radius:50%;width:50px;height:50px}.tv-nav-extras svg{width:23px;height:23px}
.tv-sound-channels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:14px;margin:24px 0 16px}.tv-adjustment-group{display:grid;grid-template-rows:22px 48px 48px 48px 38px;gap:8px;justify-items:center;align-items:center;min-width:0;padding:12px 10px;border:1px solid #5b7181;border-radius:25px;background:linear-gradient(110deg,#2b4250,#182e3c);box-shadow:0 3px 4px #081b2955,inset 0 1px 0 #ffffff12}.tv-adjustment-label{margin:0;font-size:12px;line-height:1.3;font-weight:600;letter-spacing:.03em;color:#c8dce5}.tv-adjustment-button{width:100%;height:48px;min-height:48px;border-radius:15px;font-size:26px}.tv-adjustment-button[data-tv-key$="-down"]{grid-row:4}.tv-reading{grid-row:5;position:relative;display:grid;place-items:center;width:100%;min-width:0;text-align:center;padding-top:4px}.tv-adjustment-group[data-pending=true] .tv-reading:after{content:"";position:absolute;right:6px;top:50%;width:5px;height:5px;border-radius:50%;background:#a7defa}.tv-current-value{display:block;font-size:28px;font-weight:600;line-height:1.15;font-variant-numeric:tabular-nums;color:#e6f7ff;overflow-wrap:anywhere}.tv-current-channel{font-size:28px}.tv-mute-button{grid-row:3;display:grid;place-items:center;width:48px;height:48px;min-height:48px;padding:11px;border-radius:50%;border-color:#557180;background:linear-gradient(#344957,#203543)}.tv-mute-button svg{width:24px;height:24px}.tv-key[data-muted=true]{border-color:#d2e9a3;background:#405334;color:#efffd7;box-shadow:0 0 0 1px #d2e9a344}.tv-channel-rocker svg{width:25px;height:25px}
.tv-panel details{margin-top:10px;border-top:1px solid var(--tv-line)}.tv-panel details>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;list-style:none;cursor:pointer;color:#b8cdd7;font-size:11px;font-weight:500}.tv-panel details>summary::-webkit-details-marker{display:none}.tv-panel details>summary:after{content:"+";font-size:17px;font-weight:400;color:#8fb4c3}.tv-panel details[open]>summary:after{content:"−"}.tv-number-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-width:252px;margin:7px auto 16px}.tv-number-grid .tv-key{height:49px;border-radius:50%;font-size:21px}.tv-number-grid .tv-key:last-child{grid-column:2}
.tv-panel .tv-adjustment-button{font-size:26px;font-weight:500}
.tv-panel .tv-more-apps{grid-row:4;margin:24px 0 0;padding-top:10px}.tv-panel .tv-more-apps>summary{min-height:46px;font-size:17px;font-weight:600;color:#17354c}.tv-panel .tv-more-apps>summary:after{color:#657e90}.tv-more-apps .tv-app-grid{grid-template-columns:repeat(auto-fill,minmax(min(94px,100%),1fr));gap:12px;margin:10px 0 0}.tv-more-apps .tv-app-tile{max-width:116px}.tv-more-apps .tv-app-button{border-radius:13px;box-shadow:none}.tv-more-apps .tv-app-empty{margin-top:10px}.tv-muted{font-size:11px;line-height:1.6;color:var(--tv-muted);margin:8px 0;overflow-wrap:anywhere}
.tv-content{grid-row:2;display:flex;align-items:center;gap:10px;width:min(100%,330px);justify-self:center;padding:10px;margin:16px 0 0;border:1px solid #dce5ee;border-radius:14px;background:#fff;color:#17354c}.tv-content-artwork{display:grid;place-items:center;flex:0 0 45px;width:45px;height:45px;border-radius:10px;overflow:hidden;background:#eaf3f7}.tv-content-artwork img{width:100%;height:100%;object-fit:cover}.tv-content-copy{min-width:0;flex:1}.tv-content-title{display:block;font-size:12px;line-height:1.4;overflow-wrap:anywhere}.tv-content-artist,.tv-content-hint{font-size:10px;line-height:1.4;color:#627c8e;margin:3px 0 0}.tv-content-progress{display:block;width:100%;height:5px;margin-top:7px;accent-color:#88d0f0}.tv-app-initials{display:grid;place-items:center;width:31px;height:31px;border-radius:8px;background:#d8e5ed;color:#284856;font-size:11px;font-weight:700}

@container (min-width:1140px){.tv-remote-shell{grid-template-columns:minmax(0,1fr) 330px minmax(0,1.3fr);gap:0 24px}.tv-remote-controls{grid-column:2;grid-row:1}.tv-app-collection{grid-column:1;grid-row:1/span 2;margin:0}.tv-panel .tv-more-apps{grid-column:3;grid-row:1/span 2;margin:0}.tv-content{grid-column:2;grid-row:2;width:100%;margin-top:16px}}
@media(max-width:480px){.tv-apps,.tv-more-apps{padding:16px;border-radius:18px}.tv-apps .tv-app-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tv-more-apps .tv-app-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.tv-apps-heading{margin-bottom:14px}.tv-remote-header{padding:19px 19px 20px}.tv-control-body{padding:0 19px 13px}.tv-device-name{font-size:13px}.tv-dpad{width:min(196px,100%);padding:10px;margin:20px auto}.tv-dpad .tv-key svg{width:25px;height:25px}.tv-sound-channels{margin:22px 0 14px;gap:12px}.tv-panel details{margin-top:7px}}
@media(hover:hover) and (pointer:fine){.tv-favorite-toggle{opacity:0}.tv-app-tile:hover .tv-favorite-toggle,.tv-app-tile:focus-within .tv-favorite-toggle{opacity:1}}
@media(prefers-reduced-motion:reduce){.tv-panel button,.tv-apps,.tv-more-apps{transition:none!important}.tv-panel button:active{transform:none!important}}
.tv-remote-shell[data-connected=false]{display:block}.tv-remote-shell[data-connected=false] .tv-remote-controls{width:100%}.tv-remote-shell[data-connected=false] .tv-remote-header{width:100%;background:none;border:0;box-shadow:none;padding:0;margin:0}.tv-remote-shell[data-connected=false] .tv-top-info{grid-column:1/-1;text-align:right}.tv-remote-shell[data-connected=false] .tv-top-controls{grid-row:2;margin-top:12px}.tv-remote-shell[data-connected=false] .tv-device-name{color:#17354c}.tv-remote-shell[data-connected=false] .tv-connection-badge{color:#657e90}.tv-remote-shell[data-connected=false] .tv-message{position:static;grid-column:1/-1;grid-row:3;text-align:right;margin-top:8px;color:#386a85}

/* Mobile keeps the picker first; desktop gives apps, remote and catalogue their own columns. */
/* Fixed transport slots retain the center and spacing when native play/pause
   switches to the connected player's toggle or a capability is unavailable. */
.tv-utility-row{display:grid;grid-template-columns:repeat(5,minmax(44px,1fr));justify-items:center;align-items:center;gap:6px}.tv-media{display:contents}.tv-utility-row>.tv-key,.tv-media .tv-key{flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;padding:8px;border-radius:50%}.tv-utility-row>[data-tv-key=menu]{grid-column:1;grid-row:1}.tv-media>[data-tv-media=previous]{grid-column:2;grid-row:1}.tv-media>[data-tv-key=play],.tv-media>.tv-play-pause{grid-column:3;grid-row:1}.tv-media>[data-tv-media=next]{grid-column:4;grid-row:1}.tv-media>[data-tv-key=pause]{grid-column:5;grid-row:1}.tv-media svg{width:20px;height:20px}
.tv-remote-column,.tv-catalog-column{display:contents}
.tv-panel{margin-bottom:20px}.tv-remote-shell{gap:16px}.tv-catalog-header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:10px;grid-column:1/-1;grid-row:1;min-width:0;width:100%}.tv-device-selector{min-width:0;width:100%}.tv-device-selector:not(:empty){margin:0}.tv-remote-controls{grid-column:1;grid-row:3}.tv-app-collection{grid-column:1;grid-row:4;margin:0}.tv-content{grid-column:1;grid-row:5;margin:0}.tv-panel .tv-more-apps{grid-column:1;grid-row:6;margin:0}
.tv-connection-panel{grid-column:1/-1;grid-row:2;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;border:1px solid #dce5ee;border-radius:14px;background:#fff;color:#17354c}.tv-connection-hint{min-width:0;margin:0;font-size:14px;line-height:1.5;color:#526b7f}.tv-reconnect-button{flex-shrink:0;min-height:44px;padding:10px 14px;border:1px solid #cbd8e1;border-radius:10px;background:#f5f8fa;color:#17354c}.tv-connection-badge[data-status=checking]{color:#b2e6ff}
.tv-connection-info{display:grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border:1px solid #cbd8e1;border-radius:12px;background:#fff;color:#17354c;font-size:19px!important;font-weight:700!important}.tv-connection-info:focus-visible{outline-color:#2689b5}
.tv-connection-dialog{width:min(560px,calc(100vw - 32px));max-height:calc(100dvh - 32px);margin:auto;padding:24px;border:1px solid #cbd8e1;border-radius:18px;background:#fff;color:#17354c;overflow:auto;box-shadow:0 20px 70px #17354c40}.tv-connection-dialog[open]{display:flex;flex-direction:column;gap:16px}.tv-connection-dialog::backdrop{background:#10283f80}.tv-connection-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:16px}.tv-connection-dialog-header h2{margin:0;font-size:20px;line-height:1.3}.tv-connection-dialog .tv-connection-close{flex-shrink:0;min-height:44px;padding:10px 14px}.tv-connection-dialog p{margin:0;font-size:14px;line-height:1.6;color:#526b7f}.tv-connection-dialog .tv-reconnect-button{align-self:flex-start}.tv-connection-dialog :focus-visible{outline:3px solid #2689b5;outline-offset:3px}.tv-last-check{font-variant-numeric:tabular-nums}
.tv-remote-header{padding-top:16px;padding-bottom:16px}.tv-dpad{width:min(184px,100%);margin:16px auto;padding:9px}.tv-dpad .tv-key{min-width:44px;min-height:44px}.tv-sound-channels{margin:18px 0 12px;gap:12px}.tv-adjustment-group{grid-template-rows:20px 44px 44px 44px 32px;gap:8px;padding:10px}.tv-adjustment-button{height:44px;min-height:44px}.tv-current-value{font-size:24px}.tv-mute-button{width:44px;height:44px;min-height:44px;padding:9px}
.tv-apps,.tv-more-apps{padding:16px;border-radius:16px}.tv-apps-heading{font-size:16px;margin-bottom:12px}.tv-apps .tv-app-grid{grid-template-columns:repeat(auto-fill,minmax(min(108px,100%),1fr));gap:12px}.tv-app-tile{max-width:140px}.tv-more-apps .tv-app-grid{grid-template-columns:repeat(auto-fill,minmax(min(82px,100%),1fr));gap:10px}.tv-more-apps .tv-app-tile{max-width:104px}.tv-app-empty{min-height:70px;padding:12px}
/* Keep the full favorite hit target clear of the launch / drag center on compact tiles. */
.tv-favorite-toggle{top:-8px;right:-8px}
.tv-remote-shell[data-connected=false]{display:grid;gap:12px}.tv-remote-shell[data-connected=false] .tv-remote-controls{grid-column:1/-1;grid-row:3}.tv-remote-shell[data-connected=false] .tv-top-info{text-align:left;margin:0;min-height:0}.tv-remote-shell[data-connected=false] .tv-top-controls{display:flex;justify-content:flex-start;margin-top:12px;min-height:44px}.tv-remote-shell[data-connected=false] .tv-message{text-align:left}
@container(min-width:680px){.tv-remote-shell{grid-template-columns:330px minmax(0,1fr);align-items:start;gap:16px 20px}.tv-remote-controls{grid-column:1;grid-row:3/span 3}.tv-app-collection{grid-column:2;grid-row:3}.tv-panel .tv-more-apps{grid-column:2;grid-row:4}.tv-content{grid-column:2;grid-row:5;width:100%;justify-self:stretch}.tv-remote-shell[data-connected=false] .tv-top-info{grid-column:1/-1}}
@container(min-width:960px){
  .tv-remote-shell{grid-template-columns:minmax(0,1fr) 330px minmax(0,1.25fr);gap:16px 20px}
  .tv-catalog-column{display:flex;flex-direction:column;gap:16px;grid-column:3;grid-row:1;min-width:0}
  .tv-remote-column{display:flex;flex-direction:column;gap:16px;grid-column:2;grid-row:1;min-width:0}
  .tv-remote-controls{width:100%;justify-self:stretch}
  .tv-content{width:100%;margin:0}
  .tv-app-collection{grid-column:1;grid-row:1;margin:0}
  .tv-panel .tv-more-apps{width:100%;margin:0}
  .tv-remote-shell[data-connected=false] .tv-remote-column{grid-column:1/-1;grid-row:3}
}
@media(max-width:480px){.tv-connection-panel{flex-wrap:wrap;padding:12px 14px;gap:10px}.tv-reconnect-button{width:100%}.tv-apps .tv-app-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.tv-apps .tv-app-tile{max-width:140px}.tv-dpad{width:min(184px,100%);margin:16px auto;padding:9px}.tv-sound-channels{margin:18px 0 12px}.tv-connection-dialog{padding:18px 16px}.tv-connection-dialog-header{gap:10px}.tv-connection-dialog-header h2{font-size:18px}}
.tv-spotify-connect{margin-top:12px}
.tv-content[data-mode=spotify]{display:grid;grid-template-columns:80px minmax(0,1fr);gap:14px;padding:18px;border-color:#32403c;border-radius:18px;background:#191414;color:#fff;box-shadow:0 8px 24px #12283d14}
.tv-content[data-mode=spotify] .tv-content-artwork{width:80px;height:80px;border-radius:4px;background:#29302d}
.tv-content[data-mode=spotify] .tv-content-artwork img{object-fit:contain}
.tv-content[data-mode=spotify] .tv-content-title{font-size:16px;font-weight:650;line-height:1.35}
.tv-content[data-mode=spotify] .tv-content-artist{font-size:12px;color:#d0d4d2;margin-top:5px}
.tv-content-eyebrow{margin:0 0 7px;color:#a5bcb0;font-size:10px;letter-spacing:.04em}
.tv-content[data-mode=spotify] .tv-content-hint{display:none}
.tv-content[data-mode=spotify] .tv-content-progress{height:4px;accent-color:#1ed760;margin:10px 0 0;cursor:default}
.tv-content-time{margin-top:5px;font-size:10px;color:#b9c6c0;font-variant-numeric:tabular-nums}
.tv-content-spotify-link{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;color:#d3ebdd;font-size:12px;text-decoration:none}.tv-content-spotify-link svg{width:22px;height:22px}.tv-content-spotify-link:hover{text-decoration:underline}.tv-content-spotify-link:focus-visible{outline:2px solid #1ed760;outline-offset:2px;border-radius:6px}
.tv-player-controls{grid-column:1/-1;display:flex;justify-content:center;gap:18px}
.tv-player-controls .tv-key{width:44px;height:44px;min-width:44px;min-height:44px;padding:10px;border-radius:50%;border-color:#52635b;background:#26372f;box-shadow:none;color:#fff}
.tv-player-controls .tv-key:nth-child(2){background:#1ed760;border-color:#1ed760;color:#10251b}
.tv-content-visualizer{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:4px;height:18px}
.tv-content-visualizer span{width:3px;height:4px;border-radius:2px;background:#1ed760;transform-origin:center;opacity:.5}
.tv-content[data-playing=true] .tv-content-visualizer span{animation:tv-player-pulse 1.2s ease-in-out infinite;opacity:1}
.tv-content-visualizer span:nth-child(2){animation-delay:-.25s!important}.tv-content-visualizer span:nth-child(3){animation-delay:-.7s!important}.tv-content-visualizer span:nth-child(4){animation-delay:-.45s!important}.tv-content-visualizer span:nth-child(5){animation-delay:-.9s!important}
@keyframes tv-player-pulse{0%,100%{transform:scaleY(1)}50%{transform:scaleY(3.5)}}
@media(prefers-reduced-motion:reduce){.tv-content[data-playing=true] .tv-content-visualizer span{animation:none;transform:scaleY(2)}}
@container(max-width:679px){.tv-remote-shell[data-media=true] .tv-content{grid-column:1;grid-row:3}.tv-remote-shell[data-media=true] .tv-remote-controls{grid-row:4}.tv-remote-shell[data-media=true] .tv-app-collection{grid-row:5}}
