.youtube-page{max-width:1080px;margin:0 auto;padding-bottom:100px}
.youtube-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:20px}
.youtube-page-head h1{margin:5px 0 10px;font-size:clamp(32px,4vw,58px);letter-spacing:-.05em}
.youtube-page-head .muted{max-width:58ch;line-height:1.55}
.youtube-page .youtube-preview-form{margin:0;padding:20px;border:1px solid #eae6eb;border-radius:22px;background:#fff;box-shadow:0 14px 35px #33142e0a}
.youtube-page .youtube-search-row input{min-height:52px;font-size:16px}
.youtube-page .youtube-search-row .button{min-height:52px}
.youtube-page .youtube-status{min-height:23px;margin:12px 3px 18px;font-size:13px}
.youtube-page .youtube-status.error{color:#ad294a}
.youtube-now:not([hidden]){display:grid;grid-template-columns:minmax(150px,260px) minmax(0,1fr);align-items:center;gap:clamp(20px,4vw,48px);margin:18px 0 34px;padding:clamp(17px,3vw,28px);border:1px solid #e9e4e9;border-radius:27px;background:linear-gradient(115deg,#fff,#fbf8fb);box-shadow:0 18px 50px #3d17430f}
.youtube-now>img{display:block;width:100%;aspect-ratio:1;object-fit:cover;border-radius:19px;background:#f0edf1;box-shadow:0 16px 32px #1e122233}
.youtube-now-detail{min-width:0}
.youtube-now-detail h2{margin:7px 0 8px;font-size:clamp(24px,3vw,38px);line-height:1.1;letter-spacing:-.035em;overflow-wrap:anywhere}
.youtube-now-detail>.muted{margin:0 0 3px}
.youtube-now-detail>small{color:#857983}
.youtube-now-detail audio{display:block;width:100%;height:45px;margin:16px 0 12px}
.youtube-now-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.youtube-now-actions .button{min-height:42px}
.youtube-now-actions .youtube-download-button{margin:0 0 0 auto}
.youtube-results-head{margin-top:18px}
.youtube-results{display:grid;gap:8px}
.youtube-result{display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:14px;width:100%;min-height:74px;padding:8px 14px 8px 8px;border:1px solid #e9e6eb;border-radius:15px;background:#fff;color:#26222a;text-align:left;cursor:pointer;transition:background .18s,border-color .18s,transform .18s}
.youtube-result:hover,.youtube-result:focus-visible{background:#fff8fa;border-color:#efb9c9;transform:translateY(-1px)}
.youtube-result.active{border-color:#ec9ab4;background:#fff4f7}
.youtube-result img{width:58px;height:58px;object-fit:cover;border-radius:10px;background:#f0edf1}
.youtube-result-copy{display:grid;gap:4px;min-width:0}
.youtube-result-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}
.youtube-result-copy small,.youtube-result-duration{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#827b84;font-size:12px}
.youtube-home-entry{display:flex;align-items:center;gap:15px;width:100%;margin:20px 0 30px;padding:17px 19px;border:1px solid #eadce3;border-radius:19px;background:linear-gradient(110deg,#fff8fa,#f7f5fa);color:#29232a;text-align:left;cursor:pointer;box-shadow:0 12px 29px #4f14310c}
.youtube-home-entry>span:first-child{display:grid;gap:3px;min-width:0}
.youtube-home-entry strong{font-size:17px}.youtube-home-entry small{color:#77707a;font-size:12px;line-height:1.3}
.youtube-home-arrow{margin-left:auto;color:#ac435e;font-size:20px}
.youtube-downloads-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;border:1px solid #eae5ea;border-radius:17px;background:#fff}
.youtube-downloads-summary h3{margin:3px 0 5px;font-size:19px}
.youtube-downloads-summary .muted{margin:0;line-height:1.4}
.youtube-mini-player:not([hidden]){position:fixed;z-index:19;right:24px;bottom:22px;display:flex;align-items:center;gap:7px;width:min(390px,calc(100vw - 32px));min-height:65px;padding:7px 9px;border:1px solid #f5ced7;border-radius:17px;background:#292e39f5;color:#fff;box-shadow:0 15px 40px #15151b40;backdrop-filter:blur(18px)}
.youtube-mini-open{display:flex;align-items:center;gap:9px;min-width:0;flex:1;border:0;background:none;color:inherit;text-align:left;cursor:pointer}
.youtube-mini-open img{width:45px;height:45px;flex:none;object-fit:cover;border-radius:9px}
.youtube-mini-open span{display:grid;gap:4px;min-width:0}.youtube-mini-open strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.youtube-mini-open small{color:#c8c3ca;font-size:10px}
.youtube-mini-player>button:not(.youtube-mini-open){display:grid;place-items:center;flex:none;width:34px;height:34px;border:0;border-radius:50%;background:#fff;color:#a82046;font-size:17px;cursor:pointer}
.youtube-mini-player>button:focus-visible,.youtube-result:focus-visible,.youtube-home-entry:focus-visible{outline:3px solid #fa8daa;outline-offset:2px}
body.tv-mode .youtube-result{min-height:92px;grid-template-columns:72px minmax(0,1fr) auto}body.tv-mode .youtube-result img{width:72px;height:72px}body.tv-mode .youtube-result-copy strong{font-size:18px}
@media(max-width:760px){
  .mobile-bottom-nav{grid-template-columns:repeat(5,minmax(0,1fr))}
  .mobile-bottom-nav button small{font-size:8px}
  .youtube-page-head{display:block}.youtube-page-head h1{font-size:34px}.youtube-page .youtube-preview-form{padding:15px;border-radius:18px}
  .youtube-now:not([hidden]){grid-template-columns:1fr;gap:17px}.youtube-now>img{width:min(65vw,250px);margin:auto}
  .youtube-now-actions .youtube-download-button{width:100%;margin:5px 0 0}
  .youtube-mini-player:not([hidden]){right:max(10px,env(safe-area-inset-right));left:max(10px,env(safe-area-inset-left));bottom:calc(72px + env(safe-area-inset-bottom));width:auto}
  .youtube-downloads-summary{align-items:flex-start;flex-direction:column}
}
@media(max-width:500px){.youtube-page .youtube-search-row{display:flex}.youtube-page .youtube-search-row .button{width:auto;padding-inline:13px;font-size:12px}.youtube-result{grid-template-columns:48px minmax(0,1fr) auto;gap:9px;min-height:66px}.youtube-result img{width:48px;height:48px}.youtube-result-copy strong{font-size:12px}}

/* YouTube Music browsing surface */
.youtube-page .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.youtube-page .youtube-now-actions button:disabled{opacity:.35;cursor:default}
.youtube-page{--yt-muted:#a8a9af;animation:none;position:relative;max-width:none;min-height:calc(100vh - 150px);padding:clamp(20px,3vw,38px) clamp(20px,3vw,38px) 170px;border-radius:28px;background:#111216;color:#f8f8fa;box-shadow:0 22px 55px #14131812}
.youtube-page [hidden]{display:none!important}.youtube-page .eyebrow{color:#b7a6ac;letter-spacing:.14em}
.youtube-page .youtube-page-head{display:flex;align-items:center;justify-content:space-between;gap:22px;margin:0}
.youtube-page-brand{display:flex;align-items:center;gap:14px;min-width:0}.youtube-brand-icon{display:grid;place-items:center;flex:none;width:52px;height:38px;border-radius:13px;background:#ff2343;color:#fff;font-size:18px;box-shadow:0 9px 22px #ff234344}.youtube-page-brand .eyebrow{margin:0 0 2px;font-size:10px}.youtube-page-head h1{margin:0;font-size:clamp(25px,3vw,34px);letter-spacing:-.055em;white-space:nowrap}
.youtube-page .youtube-preview-form{display:flex;align-items:center;gap:10px;width:min(410px,100%);height:48px;margin:0;padding:5px 5px 5px 17px;border:1px solid #45464c;border-radius:28px;background:#25262b;box-shadow:none}.youtube-preview-form>span{font-size:25px;color:#c2c3c8;line-height:1}.youtube-preview-form input{flex:1;min-width:0;border:0;outline:0;background:none;color:#fff;font-size:16px}.youtube-preview-form input::placeholder{color:#a6a6ac}.youtube-preview-form button{flex:none;height:36px;padding:0 16px;border:0;border-radius:20px;background:#f2f2f4;color:#18191b;font-weight:700;cursor:pointer}
.youtube-subnav{display:flex;gap:9px;margin:29px 0 20px;overflow-x:auto}.youtube-subnav button{padding:10px 18px;border:1px solid #33343a;border-radius:22px;background:#28292e;color:#e2e2e5;font-size:13px;font-weight:700;white-space:nowrap;cursor:pointer}.youtube-subnav button.active{border-color:#f1f1f3;background:#f1f1f3;color:#16171a}.youtube-subnav button:hover:not(.active){background:#38393f}
.youtube-page .youtube-status{min-height:0;margin:0 0 8px;color:#b8b9bd;font-size:13px}.youtube-page .youtube-status:empty{display:none}.youtube-page .youtube-status.error{color:#ff8ca0}.youtube-page .youtube-download-progress{margin:0 0 20px;padding:12px 15px;border:1px solid #484044;border-radius:13px;background:#292126;color:#fff}.youtube-page .youtube-download-progress strong,.youtube-page .youtube-download-progress span{display:block}
.youtube-page .youtube-download-progress{padding-right:48px}.youtube-page .youtube-notice-close{border-color:#686069;background:#3b343d;color:#fff}.youtube-page .youtube-notice-close:hover{background:#514751}
.youtube-featured{margin:4px 0 27px}.youtube-featured-card{display:flex;align-items:center;gap:clamp(20px,4vw,54px);width:100%;min-height:240px;padding:25px clamp(25px,4vw,50px);border:1px solid #5a3c45;border-radius:22px;background:radial-gradient(circle at 18% 50%,#87444d 0,#43232d 28%,#211a23 62%,#17171b 100%);color:#fff;text-align:left;cursor:pointer;overflow:hidden}.youtube-featured-card img{flex:none;width:clamp(145px,19vw,230px);aspect-ratio:1;object-fit:cover;border-radius:14px;box-shadow:0 24px 42px #08060c85;transform:rotate(-4deg)}.youtube-featured-copy{display:grid;gap:12px;max-width:490px}.youtube-featured-copy small{color:#ffd6dc;font-size:11px;font-weight:800;letter-spacing:.14em}.youtube-featured-copy strong{font-size:clamp(27px,4.5vw,54px);line-height:1.03;letter-spacing:-.055em}.youtube-featured-copy span{color:#eadce0;font-size:14px}.youtube-featured-copy em{justify-self:start;padding:10px 18px;border-radius:20px;background:#fff;color:#19191c;font-size:13px;font-style:normal;font-weight:800}
.youtube-rail{margin:27px 0 34px;min-width:0}.youtube-rail-head{display:flex;align-items:baseline;gap:12px;margin-bottom:15px}.youtube-rail-head h2{margin:0;color:#f8f8fa;font-size:21px;letter-spacing:-.035em}.youtube-rail-head small{color:#92939a;font-size:12px}.youtube-rail-items{display:grid;grid-auto-flow:column;grid-auto-columns:clamp(150px,17vw,205px);gap:16px;overflow-x:auto;scroll-snap-type:x proximity;padding:3px 2px 12px;scrollbar-color:#515159 transparent}.youtube-card{display:grid;align-content:start;gap:7px;min-width:0;padding:0;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer;scroll-snap-align:start}.youtube-card img{display:block;width:100%;aspect-ratio:1;object-fit:cover;border-radius:12px;background:#303138;box-shadow:0 10px 20px #07070a4d;transition:transform .2s,filter .2s}.youtube-card:hover img,.youtube-card:focus-visible img{transform:scale(1.025);filter:brightness(1.1)}.youtube-card strong{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;color:#f5f5f7;font-size:14px;line-height:1.25}.youtube-card small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--yt-muted);font-size:12px}
.youtube-section-intro{margin:17px 0 23px}.youtube-section-intro h2{margin:4px 0;color:#fff;font-size:clamp(26px,3vw,35px);letter-spacing:-.05em}.youtube-page .youtube-results{display:grid;gap:24px}.youtube-results .youtube-rail{margin:0}.youtube-results .youtube-rail-items{grid-auto-columns:clamp(150px,17vw,205px)}.youtube-empty{padding:30px 18px;border:1px solid #34353a;border-radius:14px;color:#b8b9be;text-align:center}
.youtube-detail-back{margin:3px 0 22px;padding:8px 0;border:0;background:none;color:#dedee1;font-size:14px;cursor:pointer}.youtube-detail-hero{display:flex;align-items:end;gap:clamp(22px,3vw,40px);padding:25px;border-radius:20px;background:linear-gradient(120deg,#492a34,#27232b 45%,#18191d)}.youtube-detail-hero>img{width:clamp(145px,21vw,245px);aspect-ratio:1;object-fit:cover;border-radius:12px;background:#303137;box-shadow:0 16px 30px #0a0a0d6b}.youtube-detail-hero h2{margin:8px 0 8px;font-size:clamp(30px,4vw,50px);line-height:1.04;letter-spacing:-.05em}.youtube-detail-hero p{color:#c7c5c9}.youtube-detail-hero #youtube-detail-description{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-width:60ch;font-size:13px}.youtube-detail-play{margin-top:8px;padding:11px 21px;border:0;border-radius:23px;background:#ff354f;color:#fff;font-weight:800;cursor:pointer}.youtube-detail-list-head{display:flex;align-items:baseline;justify-content:space-between;margin:26px 2px 12px}.youtube-detail-list-head h3{margin:0;font-size:20px}.youtube-detail-list-head span{color:#aaaab0;font-size:12px}.youtube-detail-tracks{display:grid;gap:2px}.youtube-track{display:grid;grid-template-columns:28px 48px minmax(0,1fr) auto;align-items:center;gap:13px;width:100%;padding:9px 12px;border:0;border-radius:10px;background:none;color:#fff;text-align:left;cursor:pointer}.youtube-track:hover,.youtube-track.active{background:#2a2b31}.youtube-track>span:first-child{color:#a5a5aa;text-align:center;font-size:12px}.youtube-track img{width:48px;height:48px;object-fit:cover;border-radius:6px;background:#303136}.youtube-track-copy{display:grid;gap:3px;min-width:0}.youtube-track-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.youtube-track-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#a5a5ad;font-size:11px}.youtube-track-duration{color:#aaaab0;font-size:12px}
.youtube-detail-actions{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin-top:12px}.youtube-detail-actions .youtube-detail-play{margin:0}.youtube-detail-download{min-height:40px;padding:9px 17px;border:1px solid #ffffff8a;border-radius:23px;background:#ffffff18;color:#fff;font-size:13px;font-weight:750;cursor:pointer}.youtube-detail-download:hover{background:#ffffff2e}.youtube-detail-download:disabled{opacity:.45;cursor:default}
@media(max-width:760px){.youtube-detail-actions{gap:7px}.youtube-detail-actions .youtube-detail-play,.youtube-detail-download{min-height:36px;padding:8px 12px;font-size:12px}}
.youtube-page .youtube-now:not([hidden]){position:fixed;z-index:20;left:calc(236px + clamp(24px,4.4vw,62px));right:clamp(24px,4.4vw,62px);bottom:18px;display:grid;grid-template-columns:54px minmax(120px,1fr) minmax(220px,1.45fr) auto;align-items:center;gap:14px;max-width:1196px;min-height:84px;margin:auto;padding:10px 14px;border:1px solid #52535a;border-radius:18px;background:#24252cf5;color:#fff;box-shadow:0 16px 50px #09090c7a;backdrop-filter:blur(20px)}.youtube-page .youtube-now>img{width:54px;height:54px;object-fit:cover;border-radius:8px;background:#363740;box-shadow:none}.youtube-page .youtube-now-detail{min-width:0}.youtube-page .youtube-now-detail h2{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0 0 5px;font-size:13px}.youtube-page .youtube-now-detail p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0;color:#b8b8be;font-size:11px}.youtube-now audio{display:none}.youtube-now-center{display:grid;gap:5px;min-width:0}.youtube-page .youtube-now-actions{display:flex;align-items:center;justify-content:center;gap:18px;flex-wrap:nowrap}.youtube-now-actions button{display:grid;place-items:center;width:30px;height:30px;padding:0;border:0;border-radius:50%;background:none;color:#f0f0f3;font-size:18px;cursor:pointer}.youtube-now-actions .youtube-play-pause{width:33px;height:33px;background:#f5f5f7;color:#1d1d21;font-size:18px}.youtube-timeline{display:flex;align-items:center;gap:8px;color:#bbbcc1;font-size:10px}.youtube-timeline input{flex:1;min-width:0;accent-color:#f7f7f9;height:16px}.youtube-page .youtube-now .youtube-download-button{width:auto;min-height:0;margin:0;padding:10px 13px;border:1px solid #575861;border-radius:19px;background:#35363d;color:#f4f4f6;font-size:12px;font-weight:700;white-space:nowrap;cursor:pointer}.youtube-page .youtube-now .youtube-download-button:hover{background:#46474e}
.youtube-page button:focus-visible,.youtube-mini-player button:focus-visible{outline:3px solid #ff6d82;outline-offset:3px}
@media(max-width:1080px){.youtube-page .youtube-now:not([hidden]){left:238px;right:30px}.youtube-page .youtube-now .youtube-download-button span{display:none}}
@media(max-width:760px){.youtube-page{min-height:calc(100vh - 150px);margin:-29px -18px -105px;padding:22px 18px 230px;border-radius:0}.youtube-page .youtube-page-head{display:grid;gap:20px}.youtube-page-brand{gap:10px}.youtube-brand-icon{width:44px;height:32px;font-size:14px}.youtube-page-head h1{font-size:25px}.youtube-page .youtube-preview-form{width:100%;height:45px}.youtube-preview-form button{height:34px}.youtube-subnav{margin:19px 0}.youtube-featured-card{min-height:185px;padding:17px;gap:16px}.youtube-featured-card img{width:34vw;max-width:150px}.youtube-featured-copy{gap:6px}.youtube-featured-copy strong{font-size:clamp(21px,6vw,29px)}.youtube-featured-copy span{font-size:11px}.youtube-featured-copy em{padding:8px 12px;font-size:11px}.youtube-rail{margin:22px 0}.youtube-rail-items{grid-auto-columns:148px;gap:12px;margin-right:-18px}.youtube-card strong{font-size:12px}.youtube-detail-hero{align-items:start;gap:16px;padding:17px}.youtube-detail-hero>img{width:35vw}.youtube-detail-hero h2{font-size:25px}.youtube-detail-hero #youtube-detail-description{display:none}.youtube-page .youtube-now:not([hidden]){left:max(10px,env(safe-area-inset-left));right:max(10px,env(safe-area-inset-right));bottom:calc(70px + env(safe-area-inset-bottom));grid-template-columns:41px minmax(0,1fr) auto;gap:9px;min-height:96px;padding:8px 10px 31px;border-radius:15px}.youtube-page .youtube-now>img{width:41px;height:41px}.youtube-now-center{grid-column:3;grid-row:1}.youtube-page .youtube-now-actions{gap:3px}.youtube-now-actions button{width:26px;height:26px;font-size:14px}.youtube-now-actions .youtube-play-pause{width:29px;height:29px;font-size:14px}.youtube-timeline{position:absolute;left:10px;right:10px;bottom:8px}.youtube-timeline input{height:13px}.youtube-page .youtube-now .youtube-download-button{grid-column:2;grid-row:2;justify-self:start;padding:4px 8px;font-size:11px}.youtube-page .youtube-now .youtube-download-button span{display:inline}.youtube-mini-player:not([hidden]){right:max(10px,env(safe-area-inset-right));left:max(10px,env(safe-area-inset-left));bottom:calc(72px + env(safe-area-inset-bottom));width:auto}.youtube-downloads-summary{align-items:flex-start;flex-direction:column}}
@media(max-width:420px){.youtube-featured-card img{width:31vw}.youtube-featured-copy strong{font-size:22px}.youtube-page .youtube-now .youtube-download-button span{display:none}.youtube-track{grid-template-columns:20px 40px minmax(0,1fr) auto;gap:8px;padding:7px}.youtube-track img{width:40px;height:40px}}
body.tv-mode .youtube-card{scroll-snap-align:center}body.tv-mode .youtube-card strong{font-size:17px}body.tv-mode .youtube-rail-items{grid-auto-columns:220px}body.tv-mode .youtube-subnav button{font-size:18px;padding:13px 23px}body.tv-mode .youtube-track{min-height:70px}body.tv-mode .youtube-page .youtube-now:not([hidden]){bottom:26px}

/* Transport controls follow the primary music player. */
.youtube-page .youtube-now:not([hidden]){grid-template-columns:62px minmax(120px,1fr) minmax(225px,1.3fr) auto;gap:16px;min-height:106px;padding:13px 18px}
.youtube-page .youtube-now>img{width:62px;height:62px;border-radius:10px}
.youtube-page .youtube-now-detail h2{font-size:15px;line-height:1.25}
.youtube-page .youtube-now-detail p{font-size:12px}
.youtube-page .youtube-now-actions{gap:clamp(10px,1.5vw,18px)}
.youtube-page .youtube-now-actions button{width:42px;height:42px;flex:none;border:1px solid #fff3f5;background:linear-gradient(155deg,#fff,#ffe8ee);color:#ba2448;box-shadow:0 5px 14px #05020745,inset 0 1px #fff;transition:transform .18s,box-shadow .18s}
.youtube-page .youtube-now-actions button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 20px #05020765}
.youtube-page .youtube-now-actions button:active:not(:disabled){transform:scale(.95)}
.youtube-page .youtube-now-actions button svg{display:block;width:22px;height:22px;fill:currentColor}
.youtube-page .youtube-now-actions .youtube-play-pause{width:52px;height:52px;color:#ba2448;background:linear-gradient(155deg,#fff,#ffe8ee);box-shadow:0 8px 25px #05020760,0 0 0 3px #ec527426,inset 0 1px #fff}
.youtube-page .youtube-now-actions .youtube-play-pause svg{width:25px;height:25px}
.youtube-play-pause .youtube-play-shape{display:none}.youtube-play-pause.is-paused .youtube-play-shape{display:block}.youtube-play-pause.is-paused .youtube-pause-shape{display:none}
.youtube-timeline{gap:10px;font-size:11px}.youtube-timeline input{appearance:none;-webkit-appearance:none;min-height:20px;background:transparent;cursor:pointer}.youtube-timeline input::-webkit-slider-runnable-track{height:4px;border-radius:6px;background:#797a82}.youtube-timeline input::-webkit-slider-thumb{-webkit-appearance:none;width:16px;height:16px;margin-top:-6px;border:0;border-radius:50%;background:#fff;box-shadow:0 1px 6px #0007}.youtube-timeline input::-moz-range-track{height:4px;border-radius:6px;background:#797a82}.youtube-timeline input::-moz-range-thumb{width:16px;height:16px;border:0;border-radius:50%;background:#fff}
@media(max-width:760px){
  .youtube-page .youtube-now:not([hidden]){grid-template-columns:54px minmax(0,1fr) auto;grid-template-rows:auto auto;gap:9px 12px;min-height:0;padding:12px 14px 10px}
  .youtube-page .youtube-now>img{width:54px;height:54px}
  .youtube-page .youtube-now-detail{grid-column:2;grid-row:1}
  .youtube-page .youtube-now-detail h2{font-size:15px}
  .youtube-page .youtube-now-detail p{font-size:12px}
  .youtube-now-center{grid-column:1/-1;grid-row:2;display:grid;gap:4px}
  .youtube-page .youtube-now-actions{gap:14px}
  .youtube-page .youtube-now-actions button{width:44px;height:44px}
  .youtube-page .youtube-now-actions .youtube-play-pause{width:56px;height:56px}
  .youtube-timeline{position:static;gap:10px;padding:0 2px}
  .youtube-timeline input{min-height:24px;height:24px}
  .youtube-page .youtube-now .youtube-download-button{grid-column:3;grid-row:1;align-self:center;justify-self:end;width:auto;min-height:40px;padding:8px 12px;font-size:12px}
}
@media(max-width:420px){
  .youtube-page .youtube-now:not([hidden]){grid-template-columns:48px minmax(0,1fr) auto;gap:8px 10px;padding:10px 11px 9px}
  .youtube-page .youtube-now>img{width:48px;height:48px}
  .youtube-page .youtube-now-actions{gap:11px}
  .youtube-page .youtube-now-actions button{width:42px;height:42px}
  .youtube-page .youtube-now-actions .youtube-play-pause{width:54px;height:54px}
}
body.tv-mode .youtube-page .youtube-now-actions button{min-width:58px;min-height:58px}body.tv-mode .youtube-page .youtube-now-actions .youtube-play-pause{min-width:68px;min-height:68px}

/* Discovery navigation stays reachable while the document scrolls naturally. */
.youtube-page .youtube-subnav{position:sticky;top:76px;z-index:12;display:grid;grid-template-columns:minmax(0,1fr);align-items:center;gap:14px;margin:22px -10px 18px;padding:10px;border:1px solid #303137;border-radius:18px;background:#15161b;box-shadow:0 10px 30px #090a0f35;overflow:visible}
.youtube-subnav-tabs{display:flex;align-items:center;gap:8px;min-width:0;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch}.youtube-subnav-tabs::-webkit-scrollbar{display:none}
.youtube-page .youtube-subnav button{flex:none;margin:0}
.youtube-rail-head{justify-content:space-between}.youtube-rail-controls{display:flex;gap:6px}.youtube-rail-controls button{display:grid;place-items:center;width:32px;height:32px;padding:0;border:1px solid #4a4b53;border-radius:50%;background:#28292f;color:#f5f5f7;font-size:24px;line-height:1;cursor:pointer}.youtube-rail-controls button:hover{background:#3c3d44}
.youtube-rail-items{max-width:100%;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}
.youtube-page .youtube-now-actions .youtube-radio-toggle{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;width:58px;height:42px;border-color:#565760;background:#33343b;color:#bfc0c8;box-shadow:none}.youtube-page .youtube-now-actions .youtube-radio-toggle span{font-size:21px;line-height:19px}.youtube-page .youtube-now-actions .youtube-radio-toggle small{font-size:9px;line-height:11px;font-weight:700}.youtube-page .youtube-now-actions .youtube-radio-toggle.active{border-color:#ee8da3;background:#4a2734;color:#ffe6ec}
#youtube-radio-rail[hidden]{display:none!important}
.youtube-recommendations{margin:12px 0 27px;padding:14px 18px 3px;border:1px solid #393a40;border-radius:18px;background:#1c1d23}
.youtube-recommendations .youtube-rail{margin:0 0 12px}
.youtube-recommendations .youtube-rail-head h2{font-size:19px}
.youtube-recommendations-loading{margin:4px 0 16px;color:#b9bac1;font-size:13px}
@media(max-width:760px){.youtube-recommendations{margin:10px 0 23px;padding:14px 13px 2px;border-radius:15px}}
@media(max-width:760px){.youtube-page .youtube-subnav{top:0;margin:16px -8px 14px;padding:8px;gap:8px;border-radius:14px}.youtube-subnav-tabs{width:100%}.youtube-rail-controls{display:none}.youtube-rail-items{margin-right:0;scrollbar-width:none}.youtube-rail-items::-webkit-scrollbar{display:none}.youtube-page .youtube-now-actions .youtube-radio-toggle{width:48px;height:40px}.youtube-page .youtube-now-actions .youtube-radio-toggle small{font-size:8px}}
@media(max-width:420px){.youtube-page .youtube-now-actions{gap:7px}.youtube-page .youtube-now-actions .youtube-radio-toggle{width:43px;height:38px}.youtube-page .youtube-now-actions .youtube-radio-toggle span{font-size:18px}}
body.tv-mode .youtube-page .youtube-subnav{top:88px}body.tv-mode .youtube-rail-controls button{width:45px;height:45px;font-size:32px}

/* The vehicle and compact desktop browsers have less room than their landscape shape suggests. */
@media (min-width:761px) and (max-width:1000px){
  body:not(.tv-mode) .youtube-page{padding-inline:24px}
  body:not(.tv-mode) .youtube-page .youtube-page-head{flex-wrap:wrap;gap:14px}
  body:not(.tv-mode) .youtube-page .youtube-preview-form{flex:1 1 300px;width:auto;max-width:410px;min-width:0}
  body:not(.tv-mode) .youtube-page .youtube-now:not([hidden]){left:172px;right:24px;grid-template-columns:52px minmax(0,1fr) minmax(220px,1.15fr) auto;gap:10px;min-height:88px;padding:9px 11px}
  body:not(.tv-mode) .youtube-page .youtube-now>img{width:52px;height:52px}
  body:not(.tv-mode) .youtube-page .youtube-now-actions{gap:8px}
  body:not(.tv-mode) .youtube-page .youtube-now-actions button{width:36px;height:36px}
  body:not(.tv-mode) .youtube-page .youtube-now-actions .youtube-play-pause{width:44px;height:44px}
  body:not(.tv-mode) .youtube-page .youtube-now-actions .youtube-radio-toggle{width:43px;height:39px}
}
@media (min-width:761px) and (max-width:900px){
  body:not(.tv-mode) .youtube-page .youtube-subnav{gap:8px}
}

.youtube-personal-rails:not([hidden]){margin:4px 0 28px;padding:5px 18px;border:1px solid #383941;border-radius:18px;background:#1b1c22}
.youtube-personal-rails .youtube-rail{margin:18px 0 23px}
.youtube-page .youtube-now-actions .youtube-favorite.active svg path{fill:currentColor}
.youtube-page .youtube-now-actions .youtube-queue-toggle[aria-expanded="true"]{background:#f7dce5;border-color:#f9b0c2}
.youtube-detail .youtube-track.active{background:#343139;box-shadow:inset 3px 0 #ff708e}
.youtube-detail .youtube-track.active>span:first-child,.youtube-detail .youtube-track.active .youtube-track-duration{color:#ffb1c3;font-weight:800}

/* Search results stay visible as a list or grid instead of hiding in rails. */
.youtube-search-filters{display:flex;gap:8px;margin:0 0 23px;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:none}
.youtube-search-filters::-webkit-scrollbar{display:none}
.youtube-search-filters button{flex:none;padding:9px 16px;border:1px solid #45464e;border-radius:999px;background:#25262d;color:#e5e5e9;font-size:13px;font-weight:700;cursor:pointer}
.youtube-search-filters button.active{border-color:#f3f3f5;background:#f3f3f5;color:#17181c}
.youtube-search-filters button:hover:not(.active){background:#393a42}
.youtube-search-section{min-width:0}
.youtube-search-section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 13px}
.youtube-search-section-head h3{margin:0;color:#fafafd;font-size:20px}
.youtube-search-section-head button{padding:7px 0;border:0;background:none;color:#ff9caf;font-size:13px;font-weight:750;cursor:pointer;white-space:nowrap}
.youtube-search-section-head small{color:#a8a9af;font-size:12px}
.youtube-search-song-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr));gap:7px}
.youtube-search-song-list .youtube-card{grid-template-columns:54px minmax(0,1fr);grid-template-rows:auto auto;align-content:center;column-gap:12px;row-gap:2px;min-height:68px;padding:7px;border-radius:11px;background:#202127}
.youtube-search-song-list .youtube-card:hover,.youtube-search-song-list .youtube-card:focus-visible{background:#303138}
.youtube-search-song-list .youtube-card img{grid-row:1/3;width:54px;height:54px;border-radius:8px;box-shadow:none}
.youtube-search-song-list .youtube-card strong{align-self:end;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}
.youtube-search-song-list .youtube-card small{align-self:start;font-size:12px}
.youtube-search-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:18px}
.youtube-search-card-grid .youtube-card img{width:100%}
.youtube-detail-more{display:block;width:100%;margin:13px 0 21px;padding:12px;border:1px solid #484951;border-radius:13px;background:#25262d;color:#f2f2f5;font-weight:750;cursor:pointer}
.youtube-detail-more:hover{background:#34353d}
.youtube-search-more{display:block;width:100%;margin:22px 0 0;padding:13px;border:1px solid #55565d;border-radius:13px;background:#292a31;color:#f5f5f7;font-size:14px;font-weight:750;cursor:pointer}
.youtube-search-more:hover{background:#383940}
@media(max-width:760px){.youtube-search-section-head h3{font-size:18px}.youtube-search-card-grid{grid-template-columns:repeat(auto-fill,minmax(115px,1fr));gap:13px}.youtube-search-song-list{grid-template-columns:1fr}}
body.tv-mode .youtube-search-filters button{padding:13px 21px;font-size:17px}
.youtube-queue-panel:not([hidden]){position:fixed;right:clamp(24px,4.4vw,62px);bottom:145px;z-index:22;display:flex;flex-direction:column;width:min(410px,calc(100vw - 28px));max-height:min(62vh,670px);padding:16px 10px 10px;border:1px solid #54555d;border-radius:20px;background:#24252cf8;color:#f7f7f9;box-shadow:0 20px 60px #0009;backdrop-filter:blur(24px)}
.youtube-queue-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:0 8px 13px;border-bottom:1px solid #44454b}
.youtube-queue-head .eyebrow{margin:0 0 4px;font-size:10px}.youtube-queue-head h2{margin:0;font-size:22px}
.youtube-queue-head button{display:grid;place-items:center;width:34px;height:34px;border:1px solid #5d5e67;border-radius:50%;background:#363740;color:#fff;font-size:24px;line-height:1;cursor:pointer}
.youtube-queue-tools{display:flex;gap:8px;padding:11px 8px 4px}
.youtube-queue-tools button{padding:7px 10px;border:1px solid #55565f;border-radius:18px;background:#34353d;color:#e9e9ed;font-size:12px;font-weight:700;cursor:pointer}
.youtube-queue-tools button:hover,.youtube-queue-tools button.active{border-color:#e88ca2;background:#4c303c;color:#ffe4ec}
#youtube-queue-items{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#73747c transparent}
#youtube-queue-items h3{margin:15px 8px 7px;color:#b8b9c1;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
#youtube-queue-items p{margin:8px;color:#b9bac1;font-size:13px}
.youtube-queue-track{display:grid;grid-template-columns:46px minmax(0,1fr);align-items:center;gap:10px;width:100%;padding:7px 8px;border:0;border-radius:10px;background:transparent;color:#fff;text-align:left;cursor:pointer}
.youtube-queue-track:hover,.youtube-queue-track:focus-visible{background:#383942}
.youtube-queue-track img{width:46px;height:46px;object-fit:cover;border-radius:7px;background:#363740}
.youtube-queue-track span{display:grid;min-width:0;gap:3px}.youtube-queue-track strong,.youtube-queue-track small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.youtube-queue-track strong{font-size:13px}.youtube-queue-track small{color:#afb0b8;font-size:11px}
@media(max-width:1080px){.youtube-queue-panel:not([hidden]){right:26px}}
@media(max-width:760px){.youtube-personal-rails:not([hidden]){margin:0 0 23px;padding:1px 13px}.youtube-queue-panel:not([hidden]){right:10px;bottom:calc(225px + env(safe-area-inset-bottom));max-height:calc(100dvh - 290px)}.youtube-page .youtube-now-actions{gap:7px}}
@media(max-width:420px){.youtube-page .youtube-now-actions{gap:6px}.youtube-page .youtube-now-actions button{width:37px;height:37px}.youtube-page .youtube-now-actions .youtube-play-pause{width:48px;height:48px}.youtube-page .youtube-now-actions .youtube-radio-toggle{width:39px;height:37px}}
body.tv-mode .youtube-queue-panel:not([hidden]){right:28px;bottom:165px;width:510px}
@media(min-width:761px) and (max-width:1000px){body:not(.tv-mode) .youtube-page .youtube-now:not([hidden]){grid-template-columns:52px minmax(0,1fr) minmax(270px,1.4fr) 40px}}


/* Compact listening catalog: let the music and results take the space. */
.youtube-home-entry{gap:10px;margin:14px 0 22px;padding:12px 16px;border-radius:15px}
.youtube-home-entry strong{font-size:15px}
.youtube-home-entry small{font-size:11px}
.youtube-home-arrow{font-size:18px}
.youtube-page .youtube-page-head{gap:14px}
.youtube-page .youtube-page-head h1{font-size:clamp(21px,2.2vw,27px);white-space:normal}
.youtube-page .youtube-preview-form{width:min(390px,100%);height:43px;padding:4px 4px 4px 13px}
.youtube-preview-form>span{font-size:21px}
.youtube-preview-form input{font-size:14px}
.youtube-preview-form button{height:33px;padding:0 12px;font-size:12px}
.youtube-page .youtube-subnav{gap:10px;margin:14px -6px 13px;padding:6px;border-radius:14px}
.youtube-subnav-tabs{gap:5px}
.youtube-page .youtube-subnav button{min-height:34px;padding:7px 12px;font-size:12px}
.youtube-featured{margin:2px 0 20px}
.youtube-featured-card{min-height:174px;gap:clamp(16px,3vw,32px);padding:17px clamp(18px,3vw,30px)}
.youtube-featured-card img{width:clamp(116px,15vw,166px)}
.youtube-featured-copy{gap:8px}
.youtube-featured-copy strong{font-size:clamp(23px,3.1vw,37px)}
.youtube-featured-copy span{font-size:12px}
.youtube-featured-copy em{padding:8px 13px;font-size:12px}
.youtube-rail{margin:20px 0 26px}
.youtube-rail-head{margin-bottom:11px}
.youtube-rail-head h2{font-size:18px}
.youtube-rail-items,.youtube-results .youtube-rail-items{grid-auto-columns:clamp(128px,15vw,180px);gap:12px}
.youtube-card strong{font-size:13px}
.youtube-card small{font-size:11px}
.youtube-section-intro{margin:12px 0 16px}
.youtube-section-intro h2{font-size:clamp(21px,2.3vw,28px)}
.youtube-search-filters{gap:5px;margin-bottom:15px}
.youtube-search-filters button{min-height:34px;padding:6px 11px;font-size:12px}
.youtube-page .youtube-results{gap:16px}
.youtube-search-section-head{margin-bottom:10px}
.youtube-search-section-head h3{font-size:17px}
.youtube-search-section-head button{font-size:12px}
.youtube-search-song-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:6px}
.youtube-search-song-list .youtube-card{grid-template-columns:44px minmax(0,1fr);column-gap:9px;min-height:58px;padding:6px}
.youtube-search-song-list .youtube-card img{width:44px;height:44px}
.youtube-search-song-list .youtube-card strong{font-size:13px}
.youtube-search-song-list .youtube-card small{font-size:11px}
.youtube-search-card-grid{grid-template-columns:repeat(auto-fill,minmax(124px,1fr));gap:12px}
.youtube-search-card-grid .youtube-card strong{font-size:12px}
.youtube-search-card-grid .youtube-card small{font-size:11px}

@media(max-width:760px){
  .youtube-page{padding-top:16px}
  .youtube-page .youtube-page-head{gap:11px}
  .youtube-page .youtube-page-head h1{font-size:22px}
  .youtube-page .youtube-preview-form{height:42px}
  .youtube-preview-form input{font-size:16px}
  .youtube-page .youtube-subnav{gap:6px;margin:11px -6px 12px;padding:6px}
  .youtube-subnav-tabs{width:auto}
  .youtube-featured-card{min-height:142px;gap:14px;padding:14px}
  .youtube-featured-card img{width:min(28vw,116px)}
  .youtube-featured-copy strong{font-size:clamp(18px,5vw,25px)}
  .youtube-featured-copy span{font-size:11px}
  .youtube-featured-copy em{padding:7px 10px;font-size:11px}
  .youtube-rail-items,.youtube-results .youtube-rail-items{grid-auto-columns:126px;gap:10px}
  .youtube-search-card-grid{grid-template-columns:repeat(auto-fill,minmax(105px,1fr));gap:10px}
  .youtube-search-song-list{grid-template-columns:1fr}
}
@media(max-width:420px){
  .youtube-page .youtube-subnav button{padding-inline:7px;font-size:11px}
}
body.tv-mode .youtube-page .youtube-subnav button{min-height:44px;padding:10px 16px;font-size:16px}
body.tv-mode .youtube-rail-items,body.tv-mode .youtube-results .youtube-rail-items{grid-auto-columns:190px}
body.tv-mode .youtube-card strong{font-size:15px}
body.tv-mode .youtube-search-filters button{padding:10px 16px;font-size:15px}

/* Artist and album navigation uses separate controls from playback. */
.youtube-track-relations{display:flex;align-items:center;gap:3px;min-width:0;overflow:hidden;color:#afb0b8;font-size:11px;white-space:nowrap}
.youtube-catalog-link{display:inline-block;min-width:0;max-width:100%;padding:3px 0;border:0;border-radius:3px;background:transparent;color:inherit;font:inherit;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}
.youtube-catalog-link:hover{color:#fff;text-decoration:underline}
.youtube-page .youtube-catalog-link:focus-visible,.youtube-page .youtube-track-title:focus-visible{outline:2px solid #ff93a7;outline-offset:2px}
.youtube-now-relations{min-width:0;margin-top:4px;font-size:12px;color:#b8b8be}
.youtube-song-card{min-width:0;display:flex;flex-direction:column;gap:2px}
.youtube-song-card>.youtube-card{width:100%}
.youtube-song-card>.youtube-track-relations{padding:0 3px}
.youtube-search-song-list .youtube-song-card{position:relative;min-height:64px}
.youtube-search-song-list .youtube-song-card>.youtube-card{min-height:64px}
.youtube-search-song-list .youtube-song-card>.youtube-track-relations{position:absolute;left:60px;right:6px;bottom:7px;padding:0}
.youtube-search-song-list .youtube-song-card>.youtube-card strong{align-self:start;margin-top:3px}
.youtube-track-title{display:block;width:100%;min-width:0;padding:0;border:0;background:transparent;color:inherit;font:inherit;font-size:13px;font-weight:700;line-height:1.4;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}
.youtube-track .youtube-track-relations{margin-top:1px}
.youtube-artist-nav:not([hidden]){display:flex;flex-wrap:wrap;gap:7px;margin:20px 0 16px}
.youtube-artist-nav button{min-height:38px;padding:8px 15px;border:1px solid #45464f;border-radius:20px;background:#292a31;color:#d9d9df;font:inherit;font-size:12px;cursor:pointer}
.youtube-artist-nav button.active{background:#f3f3f6;border-color:#f3f3f6;color:#202127}
.youtube-artist-nav button:disabled{opacity:.4;cursor:default}
body.tv-mode .youtube-track-title{font-size:16px}
body.tv-mode .youtube-track-relations{font-size:13px}
body.tv-mode .youtube-artist-nav button{min-height:46px;padding:10px 20px;font-size:16px}
@media(max-width:760px){.youtube-artist-nav:not([hidden]){gap:6px;margin:16px 0 13px}.youtube-artist-nav button{min-height:38px;padding:8px 13px}.youtube-track .youtube-catalog-link{padding-block:4px}}

/* Podcast browsing is scoped to its own view. */
#youtube-podcasts-view{min-width:0}
#youtube-podcasts-view .youtube-podcast-intro{margin-bottom:18px}
#youtube-podcasts-view .youtube-podcast-intro>p:last-child{max-width:58ch;margin:7px 0 0;color:#b8b9c1;font-size:14px;line-height:1.55}
#youtube-podcast-categories,#youtube-podcast-type-filters{display:flex;align-items:center;gap:8px;min-width:0;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch}
#youtube-podcast-categories::-webkit-scrollbar,#youtube-podcast-type-filters::-webkit-scrollbar{display:none}
#youtube-podcast-categories{flex-wrap:wrap;overflow:visible;padding:2px 1px 7px}
#youtube-podcast-categories button,#youtube-podcast-type-filters button,#youtube-podcast-book-genres button{flex:none;min-height:44px;padding:9px 16px;border:1px solid #45464e;border-radius:22px;background:#25262d;color:#e5e5e9;font:inherit;font-size:13px;font-weight:700;white-space:nowrap;cursor:pointer}
#youtube-podcast-categories button.active,#youtube-podcast-type-filters button.active,#youtube-podcast-book-genres button.active{border-color:#f3f3f5;background:#f3f3f5;color:#17181c}
#youtube-podcast-categories button:hover:not(.active),#youtube-podcast-type-filters button:hover:not(.active),#youtube-podcast-book-genres button:hover:not(.active){background:#393a42}
#youtube-podcast-book-genres:not([hidden]){display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0;margin:3px 0 4px;padding:0 1px}
.youtube-podcast-book-label{margin-right:3px;color:#aaaab2;font-size:12px;font-weight:750;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}
.youtube-podcast-tools{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;margin:13px 0 23px;min-width:0}
#youtube-podcast-search-form{width:100%;height:48px;margin:0;padding:4px 5px 4px 14px;border:1px solid #45464c;border-radius:25px;background:#25262b;box-shadow:none}
#youtube-podcast-search-form>span{font-size:22px;color:#c2c3c8;line-height:1}
#youtube-podcast-search-form input{flex:1;min-width:0;border:0;outline:0;background:none;color:#fff;font-size:14px}
#youtube-podcast-search-form input::placeholder{color:#a6a6ac}
#youtube-podcast-search-form button{flex:none;min-height:38px;padding:0 13px;border:0;border-radius:20px;background:#f2f2f4;color:#18191b;font-size:12px;font-weight:700;white-space:nowrap;cursor:pointer}
#youtube-podcast-type-filters{justify-content:flex-end}
#youtube-podcast-rails,#youtube-podcast-results{min-width:0;max-width:100%}
#youtube-podcast-results{display:grid;gap:20px}
#youtube-podcast-results h2{margin:0 0 2px;color:#f8f8fa;font-size:21px;letter-spacing:-.035em}
.youtube-podcast-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(12px,1.6vw,20px);min-width:0}
.youtube-podcast-section{margin:20px 0 28px}
.youtube-podcast-section>h2{margin:0 0 12px;font-size:20px}
.youtube-podcast-grid .youtube-card{align-content:start;gap:7px;min-width:0;padding:0;scroll-snap-align:none}
.youtube-podcast-grid .youtube-card img{display:block;width:100%;aspect-ratio:1;object-fit:cover;border-radius:12px}
.youtube-podcast-grid .youtube-card strong{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal;line-height:1.28}
.youtube-podcast-grid .youtube-card small{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal;line-height:1.35}
#youtube-podcast-search-more{display:block;width:100%;min-height:44px;margin:22px 0 0;padding:10px 13px;border:1px solid #55565d;border-radius:13px;background:#292a31;color:#f5f5f7;font-size:14px;font-weight:750;cursor:pointer}
#youtube-podcast-search-more:hover{background:#383940}
#youtube-podcasts-view :is(button,input,select):focus-visible{outline:3px solid #ff6d82;outline-offset:3px}
#youtube-detail.youtube-detail-podcast .youtube-detail-hero{display:grid;grid-template-columns:clamp(92px,12vw,150px) minmax(0,1fr);align-items:center;gap:clamp(14px,2vw,24px);padding:clamp(14px,2vw,22px);background:linear-gradient(120deg,#40262f,#27232b 52%,#18191d)}
#youtube-detail.youtube-detail-podcast .youtube-detail-hero>img{width:100%;max-width:150px;box-shadow:0 12px 25px #0a0a0d55}
#youtube-detail.youtube-detail-podcast .youtube-detail-hero h2{font-size:clamp(24px,3vw,38px);overflow-wrap:anywhere}
#youtube-detail.youtube-detail-podcast .youtube-detail-hero #youtube-detail-description{-webkit-line-clamp:3}
#youtube-detail.youtube-detail-podcast .youtube-detail-play{min-height:44px;margin:0;padding:10px 19px}
#youtube-detail.youtube-detail-podcast .youtube-detail-list-head{gap:10px;align-items:center}
#youtube-podcast-episode-search:not([hidden]){flex:1;min-width:140px;max-width:270px;min-height:44px;margin-left:auto;padding:0 14px;border:1px solid #45464c;border-radius:23px;background:#25262b;color:#f5f5f7;font:inherit;font-size:13px}
#youtube-podcast-episode-search::placeholder{color:#a6a6ac}
#youtube-podcast-more-anchor:not([hidden]){height:1px}

/* Episode-only controls appear when the shared player marks a spoken episode. */
#youtube-now.youtube-podcast-playing .youtube-now-actions{flex-wrap:wrap;gap:clamp(5px,.8vw,11px)}
.youtube-page .youtube-now-actions .youtube-episode-seek{display:grid;place-items:center;flex:none;width:42px;height:42px;padding:0}
.youtube-page .youtube-now-actions .youtube-episode-seek svg{display:block;width:24px;height:24px;overflow:visible;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.youtube-page .youtube-now-actions .youtube-episode-seek svg text{fill:currentColor;stroke:none;font-family:inherit;font-size:7px;font-weight:800}
.youtube-page #youtube-episode-speed:not([hidden]){justify-self:center;min-width:78px;max-width:96px;min-height:42px;padding:0 10px;border:1px solid #575861;border-radius:19px;background:#35363d;color:#f4f4f6;font:inherit;font-size:13px;font-weight:700;cursor:pointer}
#youtube-page.youtube-podcasts-active{padding-bottom:210px}
@media(max-width:760px){
  .youtube-podcast-tools{grid-template-columns:minmax(0,1fr);gap:10px;margin:12px 0 20px}
  #youtube-podcast-search-form{height:54px}
  #youtube-podcast-search-form button{min-height:44px}
  #youtube-podcast-type-filters{justify-content:flex-start}
  #youtube-podcast-categories button,#youtube-podcast-type-filters button,#youtube-podcast-book-genres button{min-height:44px}
  #youtube-podcast-book-genres:not([hidden]){gap:7px;padding:0}
  .youtube-podcast-book-label{width:100%;margin:0 0 1px}
  .youtube-podcast-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 11px}
  .youtube-podcast-grid .youtube-card strong{font-size:13px}
  .youtube-podcast-grid .youtube-card small{font-size:11px}
  #youtube-detail.youtube-detail-podcast .youtube-detail-hero{grid-template-columns:82px minmax(0,1fr);align-items:start;gap:12px;padding:13px}
  #youtube-detail.youtube-detail-podcast .youtube-detail-hero>img{width:82px}
  #youtube-detail.youtube-detail-podcast .youtube-detail-hero h2{margin:4px 0 6px;font-size:clamp(21px,6vw,29px)}
  #youtube-detail.youtube-detail-podcast .youtube-detail-hero #youtube-detail-description{display:none}
  #youtube-detail.youtube-detail-podcast .youtube-detail-play{min-height:44px}
  #youtube-detail.youtube-detail-podcast .youtube-detail-list-head{flex-wrap:wrap}
  #youtube-podcast-episode-search:not([hidden]){flex-basis:100%;max-width:none;order:3;margin:2px 0 0}
  #youtube-page.youtube-podcasts-active .youtube-subnav{grid-template-columns:minmax(0,1fr);align-items:stretch}
  #youtube-page.youtube-podcasts-active .youtube-subnav-tabs{width:100%}
  #youtube-now.youtube-podcast-playing .youtube-now-actions{justify-content:center;gap:6px}
  #youtube-now.youtube-podcast-playing .youtube-now-actions button{width:44px;height:44px;min-width:44px;min-height:44px}
  #youtube-now.youtube-podcast-playing .youtube-now-actions .youtube-play-pause{width:54px;height:54px;min-width:54px;min-height:54px}
  .youtube-page .youtube-now-actions .youtube-episode-seek{width:44px;height:44px}
  .youtube-page #youtube-episode-speed:not([hidden]){min-height:44px}
  #youtube-page.youtube-podcasts-active{padding-bottom:300px}
}
body.tv-mode #youtube-podcast-categories button,body.tv-mode #youtube-podcast-type-filters button,body.tv-mode #youtube-podcast-book-genres button{min-height:52px;padding:12px 20px;font-size:16px}
body.tv-mode .youtube-podcast-book-label{font-size:14px}
body.tv-mode .youtube-podcast-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:22px}
@media(min-width:1400px){body.tv-mode .youtube-podcast-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
body.tv-mode .youtube-podcast-grid .youtube-card strong{font-size:18px}
body.tv-mode .youtube-podcast-grid .youtube-card small{font-size:14px}
body.tv-mode #youtube-podcast-search-form{height:62px}
body.tv-mode #youtube-podcast-search-form button{min-height:52px;padding-inline:18px;font-size:15px}
body.tv-mode #youtube-podcast-search-more{min-height:52px;font-size:17px}
body.tv-mode #youtube-detail.youtube-detail-podcast .youtube-detail-hero{grid-template-columns:clamp(132px,12vw,190px) minmax(0,1fr);gap:28px;padding:24px}
body.tv-mode #youtube-detail.youtube-detail-podcast .youtube-detail-hero>img{max-width:190px}
body.tv-mode #youtube-detail.youtube-detail-podcast .youtube-detail-hero h2{font-size:clamp(34px,3vw,48px)}
body.tv-mode #youtube-detail.youtube-detail-podcast .youtube-detail-play{min-height:52px;padding-inline:24px;font-size:17px}
body.tv-mode #youtube-podcast-episode-search:not([hidden]){min-height:52px;font-size:16px}
body.tv-mode #youtube-now.youtube-podcast-playing .youtube-now-actions button{width:58px;height:58px;min-width:58px;min-height:58px}
body.tv-mode #youtube-now.youtube-podcast-playing .youtube-now-actions .youtube-play-pause{width:68px;height:68px;min-width:68px;min-height:68px}
body.tv-mode .youtube-page #youtube-episode-speed:not([hidden]){min-height:52px;min-width:88px;font-size:16px}
body.tv-mode #youtube-page.youtube-podcasts-active{padding-bottom:230px}

/* Listening catalogue: the same page rhythm and palette as the library.
   Browsing only; playback surfaces and their controls remain independent. */
:root body.authenticated #youtube-page{min-width:0;max-width:100%;margin:0;padding-top:0;padding-inline:0;border-radius:0;background:transparent;color:var(--media-text);box-shadow:none;--yt-muted:var(--media-muted)}
:root body.authenticated #youtube-page .youtube-page-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 20px;margin:0 0 11px}
:root body.authenticated #youtube-page .youtube-page-brand{min-width:0;max-width:100%;flex:1 1 260px}
:root body.authenticated #youtube-page .youtube-page-head h1{margin:0;font-size:clamp(25px,2.8vw,34px);line-height:1.15;letter-spacing:-.045em;white-space:normal;color:var(--media-text)}
:root body.authenticated #youtube-page #youtube-search-form{flex:1 1 340px;width:auto;min-width:min(100%,240px);max-width:100%;height:38px;padding:3px 4px 3px 11px;gap:8px;border:1px solid var(--media-line);border-radius:10px;background:var(--aero-field,var(--media-input));box-shadow:none}
:root body.authenticated #youtube-page #youtube-search-form>svg{width:19px;height:19px;flex:none;fill:none;stroke:var(--media-muted);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
:root body.authenticated #youtube-page #youtube-search-form input{min-width:0;min-height:30px;background:transparent;color:var(--media-text);font-size:14px}
:root body.authenticated #youtube-page #youtube-search-form input::placeholder{color:var(--media-faint)}
:root body.authenticated #youtube-page #youtube-search-form button{height:30px;padding:0 10px;border-radius:7px;background:var(--media-primary);color:var(--media-on-primary);font:inherit;font-size:12px;font-weight:650}
:root body.authenticated #youtube-page #youtube-search-form:focus-within{border-color:var(--media-accent);box-shadow:0 0 0 2px var(--media-accent-soft)}
:root body.authenticated #youtube-page #youtube-search-form:has(>button:focus){border-color:var(--media-line);box-shadow:none;outline:none}
:root body.authenticated #youtube-page #youtube-search-form > #youtube-search-input:focus{outline:none;box-shadow:none}
@media(forced-colors:active){
  :root body.authenticated #youtube-page #youtube-search-form:focus-within{outline:2px solid Highlight}
}
:root body.authenticated #youtube-page .youtube-subnav{position:relative;top:auto;z-index:1;display:flex;flex-wrap:wrap;align-items:center;gap:4px 18px;overflow:visible;margin:0 0 14px;padding:2px 0 5px;border:0;border-bottom:1px solid var(--media-line);border-radius:0;background:var(--aero-chrome,var(--media-panel));box-shadow:none}
:root body.authenticated #youtube-page .youtube-subnav-tabs{display:flex;flex:1 1 325px;flex-wrap:wrap;align-items:center;gap:4px clamp(12px,1.6vw,22px);min-width:0;max-width:100%;width:auto;padding:0 2px;overflow:visible}
:root body.authenticated #youtube-page .youtube-subnav .youtube-subnav-tabs button{min-height:34px;padding:6px 1px;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:var(--media-muted);font:inherit;font-size:13px;font-weight:600;line-height:1.4}
:root body.authenticated #youtube-page .youtube-subnav .youtube-subnav-tabs button.active{background-image:linear-gradient(var(--media-accent),var(--media-accent));background-repeat:no-repeat;background-size:100% 2px;background-position:center bottom;color:var(--media-accent);font-weight:700}
:root body.authenticated #youtube-page .youtube-subnav .youtube-subnav-tabs button:hover:not(.active){background-color:transparent;color:var(--media-text)}
:root body.authenticated #youtube-page .youtube-subnav .youtube-spoken-tab{margin-inline-start:5px}
:root body.authenticated #youtube-page .youtube-status{color:var(--media-muted)}
:root body.authenticated #youtube-page .youtube-status.error{color:var(--media-error)}
:root body.authenticated #youtube-page .youtube-browse-view :is(.youtube-rail-head h2,.youtube-card strong,.youtube-section-intro h2,.youtube-podcast-section>h2,#youtube-podcast-results h2){color:var(--media-text)}
:root body.authenticated #youtube-page .youtube-browse-view :is(.youtube-rail-head small,.youtube-card small,.youtube-podcast-intro>p:last-child,.youtube-podcast-book-label){color:var(--media-muted)}
:root body.authenticated #youtube-page .youtube-browse-view .youtube-section-intro .eyebrow{color:var(--media-faint)}
:root body.authenticated #youtube-page .youtube-browse-view .youtube-empty{border-color:var(--media-line);color:var(--media-muted)}
:root body.authenticated #youtube-page .youtube-browse-view :is(.youtube-personal-rails,.youtube-search-song-list .youtube-card){border-color:var(--media-line);background:var(--aero-panel,var(--media-surface))}
:root body.authenticated #youtube-page .youtube-browse-view .youtube-search-song-list .youtube-card:hover,:root body.authenticated #youtube-page .youtube-browse-view .youtube-search-song-list .youtube-card:focus-visible{background:var(--media-hover)}
:root body.authenticated #youtube-page .youtube-browse-view .youtube-search-section-head h3{color:var(--media-text)}
:root body.authenticated #youtube-page .youtube-browse-view .youtube-search-section-head small,:root body.authenticated #youtube-page .youtube-browse-view .youtube-track-relations{color:var(--media-muted)}
:root body.authenticated #youtube-page .youtube-browse-view :is(.youtube-search-section-head button,.youtube-catalog-link:hover){color:var(--media-accent)}
:root body.authenticated #youtube-page :is(.youtube-browse-view,#youtube-radio-rail) .youtube-rail-controls button{border-color:var(--media-line);background:var(--media-surface);color:var(--media-text)}
:root body.authenticated #youtube-page #youtube-radio-rail{border-color:var(--media-line);background:var(--aero-panel,var(--media-surface))}
:root body.authenticated #youtube-page #youtube-radio-rail :is(.youtube-rail-head h2,.youtube-card strong){color:var(--media-text)}
:root body.authenticated #youtube-page #youtube-radio-rail :is(.youtube-rail-head small,.youtube-card small,.youtube-recommendations-loading){color:var(--media-muted)}
:root body.authenticated #youtube-page #youtube-detail .youtube-detail-back{color:var(--media-accent)}
:root body.authenticated #youtube-page #youtube-detail .youtube-detail-hero{color:#fff}
:root body.authenticated #youtube-page #youtube-detail :is(.youtube-detail-list-head h3,.youtube-track){color:var(--media-text)}
:root body.authenticated #youtube-page #youtube-detail :is(.youtube-detail-list-head span,.youtube-track>span:first-child,.youtube-track-copy small,.youtube-track-duration,.youtube-track-relations){color:var(--media-muted)}
:root body.authenticated #youtube-page #youtube-detail :is(.youtube-track:hover,.youtube-track.active){background:var(--media-hover)}
:root body.authenticated #youtube-page #youtube-detail-tracks .youtube-catalog-link:hover{color:var(--media-accent)}
:root body.authenticated #youtube-page #youtube-detail .youtube-artist-nav button{border-color:var(--media-line);background:var(--aero-panel,var(--media-surface));color:var(--media-text)}
:root body.authenticated #youtube-page #youtube-detail .youtube-artist-nav button.active{border-color:var(--media-accent-border);background:var(--media-accent-soft);color:var(--media-accent)}
:root body.authenticated #youtube-page #youtube-detail #youtube-podcast-episode-search{border-color:var(--media-line);background:var(--aero-field,var(--media-input));color:var(--media-text)}
:root body.authenticated #youtube-page #youtube-detail #youtube-podcast-episode-search::placeholder{color:var(--media-faint)}
:root body.authenticated #youtube-page #youtube-detail-rails :is(.youtube-rail-head h2,.youtube-card strong){color:var(--media-text)}
:root body.authenticated #youtube-page #youtube-detail-rails :is(.youtube-rail-head small,.youtube-card small){color:var(--media-muted)}
:root body.authenticated #youtube-page .youtube-browse-view :is(.youtube-search-filters button,#youtube-podcast-categories button,#youtube-podcast-type-filters button,#youtube-podcast-book-genres button,#youtube-podcast-search-more){border-color:var(--media-line);background:var(--aero-panel,var(--media-surface));color:var(--media-text)}
:root body.authenticated #youtube-page .youtube-browse-view :is(.youtube-search-filters button,#youtube-podcast-categories button,#youtube-podcast-type-filters button,#youtube-podcast-book-genres button).active{border-color:var(--media-accent-border);background:var(--media-accent-soft);color:var(--media-accent)}
:root body.authenticated #youtube-page .youtube-browse-view :is(.youtube-search-filters button,#youtube-podcast-categories button,#youtube-podcast-type-filters button,#youtube-podcast-book-genres button):hover:not(.active){background:var(--media-hover)}
:root body.authenticated #youtube-page #youtube-podcast-search-form{border-color:var(--media-line);border-radius:13px;background:var(--aero-field,var(--media-input))}
:root body.authenticated #youtube-page #youtube-podcast-search-form input{color:var(--media-text)}
:root body.authenticated #youtube-page #youtube-podcast-search-form input::placeholder{color:var(--media-faint)}
:root body.authenticated #youtube-page #youtube-podcast-search-form>span{color:var(--media-muted)}
:root body.authenticated #youtube-page #youtube-podcast-search-form button{border-radius:9px;background:var(--media-primary);color:var(--media-on-primary)}
:root body.authenticated #youtube-page :is(.youtube-subnav button,#youtube-search-form button):focus-visible{outline:2px solid var(--media-focus);outline-offset:3px}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  :root[data-glass=true] body.authenticated #youtube-page .youtube-subnav{-webkit-backdrop-filter:none;backdrop-filter:none}
}
@media(max-width:760px){
  :root body.authenticated #youtube-page .youtube-page-head{display:grid;grid-template-columns:minmax(0,1fr);gap:15px;margin-bottom:10px}
  :root body.authenticated #youtube-page .youtube-page-head h1{font-size:25px}
  :root body.authenticated #youtube-page #youtube-search-form{width:100%;min-width:0;height:48px}
  :root body.authenticated #youtube-page #youtube-search-form input{font-size:16px}
  :root body.authenticated #youtube-page #youtube-search-form button{min-height:40px}
  :root body.authenticated #youtube-page .youtube-subnav{gap:6px;margin:0 0 14px;padding:3px 0 6px;top:0}
  :root body.authenticated #youtube-page .youtube-subnav-tabs{flex-basis:100%;gap:1px clamp(10px,4vw,19px)}
  :root body.authenticated #youtube-page .youtube-subnav .youtube-subnav-tabs button{min-height:42px;font-size:13px}
}
:root body.authenticated.tv-mode #youtube-page .youtube-page-head{gap:28px}
:root body.authenticated.tv-mode #youtube-page #youtube-search-form{height:56px;flex-basis:470px;width:min(470px,48%)}
:root body.authenticated.tv-mode #youtube-page #youtube-search-form input{font-size:18px}
:root body.authenticated.tv-mode #youtube-page #youtube-search-form button{height:46px;font-size:15px}
:root body.authenticated.tv-mode #youtube-page .youtube-subnav .youtube-subnav-tabs button{min-height:52px;padding-block:12px;font-size:17px}
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more){
  :root body.authenticated #youtube-page .youtube-subnav{background:var(--media-panel);-webkit-backdrop-filter:none;backdrop-filter:none}
  :root body.authenticated #youtube-page :is(#youtube-search-form,#youtube-podcast-search-form){background:var(--media-input)}
}

/* Real catalogue cards must shrink with the remaining column, including long titles. */
:root body.authenticated #youtube-page .youtube-featured-copy{flex:1 1 0;min-width:0;max-width:100%}
:root body.authenticated #youtube-page .youtube-featured-copy :is(strong,span){min-width:0;overflow-wrap:anywhere}

/* Home shelves use the catalogue column, including when the sidebar is open. */
#youtube-home-view .youtube-rail{margin:0 0 clamp(17px,3.1vh,28px)}
#youtube-home-view .youtube-rail-head{align-items:center;gap:10px;margin-bottom:9px}
#youtube-home-view .youtube-rail-head h2{font-size:clamp(17px,2vw,22px)}
#youtube-home-view .youtube-rail-items{grid-auto-columns:clamp(114px,22%,166px);gap:clamp(9px,1.35vw,16px);margin-inline:0;padding:4px 4px 9px}
#youtube-home-view .youtube-card{gap:6px}
#youtube-home-view .youtube-card img{border-radius:10px}
#youtube-home-view .youtube-card strong{min-block-size:2.55em;font-size:clamp(13px,1.35vw,16px);line-height:1.275;overflow-wrap:anywhere}
#youtube-home-view .youtube-track-relations{padding:0}
.youtube-track-credit{min-width:0;overflow:hidden;text-overflow:ellipsis}
#youtube-home-view .youtube-rail-controls button{width:36px;height:36px}
#youtube-home-retry{margin-bottom:16px}
body.tv-mode #youtube-home-view .youtube-rail-items{grid-auto-columns:clamp(160px,17%,206px)}
body.tv-mode #youtube-home-view .youtube-rail-controls button{width:45px;height:45px}

/* Spotlight in the home flow, sized like a row of the catalogue. */
:root body.authenticated #youtube-page .youtube-featured{margin:0 0 clamp(18px,3.1vh,28px)}
:root body.authenticated #youtube-page .youtube-featured-card{min-height:0;gap:14px;padding:11px 14px;border-radius:14px;border-color:var(--media-line);background:var(--aero-panel,var(--media-surface));color:var(--media-text)}
:root body.authenticated #youtube-page .youtube-featured-card:hover{background:var(--media-hover)}
:root body.authenticated #youtube-page .youtube-featured-card img{width:64px;max-width:24%;border-radius:9px;transform:none;box-shadow:none}
:root body.authenticated #youtube-page .youtube-featured-copy{grid-template-columns:minmax(0,1fr) auto;gap:4px 12px}
:root body.authenticated #youtube-page .youtube-featured-copy small{grid-column:1/-1;color:var(--media-muted);font-size:11px;letter-spacing:normal}
:root body.authenticated #youtube-page .youtube-featured-copy strong{grid-column:1;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:clamp(15px,1.6vw,19px);line-height:1.25;letter-spacing:-.025em}
:root body.authenticated #youtube-page .youtube-featured-copy span{grid-column:1;grid-row:3;align-self:center;color:var(--media-muted);font-size:12px;line-height:1.3}
:root body.authenticated #youtube-page .youtube-featured-copy em{grid-column:2;grid-row:2/span 2;align-self:center;padding:4px 0;white-space:nowrap;border-radius:0;background:transparent;color:var(--media-accent);font-size:12px;font-weight:650}
@media(max-width:760px){
  #youtube-home-view .youtube-rail-items{grid-auto-columns:clamp(104px,35%,140px)}
  :root body.authenticated #youtube-page .youtube-featured-card{gap:10px;padding:10px 11px}
  :root body.authenticated #youtube-page .youtube-featured-card img{width:54px}
}

#youtube-page .youtube-discovery-header {
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 16px;margin:0 0 10px;
}
#youtube-page .youtube-discovery-header h2 {margin:0;font-size:clamp(19px,2vw,24px)}
.youtube-discovery-switches {display:flex;flex-wrap:wrap;gap:4px}
.youtube-discovery-switches button {
  min-height:32px;padding:4px 9px;border:1px solid transparent;border-radius:7px;
  background:transparent;color:var(--media-muted);font:inherit;font-size:12px;font-weight:650;cursor:pointer;
}
.youtube-discovery-switches button:hover {color:var(--media-text);background:var(--media-hover)}
.youtube-discovery-switches button.active {
  border-color:var(--media-accent-border);background:var(--media-accent-soft);color:var(--media-accent);
}
.youtube-country-controls {
  display:flex;align-items:center;gap:8px;width:fit-content;max-width:100%;margin:0 0 10px;
}
.youtube-country-label {color:var(--media-muted);font-size:13px;font-weight:650;cursor:pointer}
.youtube-country-controls select {
  width:220px;max-width:100%;min-width:0;min-height:34px;padding:4px 24px 4px 9px;
  border:1px solid var(--media-line);border-radius:7px;background:var(--aero-field,var(--media-input));
  color:var(--media-text);font:inherit;font-size:13px;cursor:pointer;
}
.youtube-explore-filter {
  display:block;width:min(100%,220px);min-height:32px;margin:0 0 7px;padding:5px 9px;border:1px solid var(--media-line);
  border-radius:7px;background:var(--aero-field,var(--media-input));color:var(--media-text);font:inherit;font-size:13px;
}
.youtube-explore-filter::placeholder {color:var(--media-faint)}
.youtube-explore-shortcuts {
  display:flex;gap:5px;min-width:0;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;
  padding:3px 4px 6px;margin:0 0 10px;scrollbar-width:thin;-webkit-overflow-scrolling:touch;
}
.youtube-explore-shortcuts button {
  flex:none;min-height:30px;padding:4px 9px;border:1px solid var(--media-line);border-radius:7px;
  background:transparent;color:var(--media-muted);font:inherit;font-size:12px;font-weight:650;white-space:nowrap;cursor:pointer;
}
.youtube-explore-shortcuts button:is(:hover,:focus-visible) {
  border-color:var(--media-accent-border);background:var(--media-hover);color:var(--media-text);
}
.youtube-explore-shortcuts button[aria-pressed="true"] {
  border-color:var(--media-accent-border);background:var(--media-accent-soft);color:var(--media-accent);
}
#youtube-explore-previews {--youtube-explore-cover:clamp(96px,12vw,128px);min-width:0}
#youtube-explore-local-heading {margin:24px 0 10px;font-size:clamp(17px,2vw,22px)}
.youtube-explore-preview {min-width:0;margin:0 0 15px}
.youtube-explore-preview .youtube-rail {margin:0}
.youtube-explore-preview .youtube-rail-head {align-items:center;gap:8px;margin:0 0 4px}
.youtube-explore-preview .youtube-rail-head :is(h2,h3) {
  margin:0;color:var(--media-text);font-size:clamp(15px,1.6vw,18px);line-height:1.3;
}
.youtube-explore-preview .youtube-genre-open {
  min-height:26px;padding:2px 3px;border:0;border-radius:4px;background:transparent;color:inherit;
  font:inherit;font-weight:750;text-align:start;cursor:pointer;
}
.youtube-explore-preview .youtube-genre-open:hover {color:var(--media-accent)}
.youtube-explore-preview .youtube-rail-items {
  grid-auto-columns:var(--youtube-explore-cover);gap:9px;margin-inline:0;padding:4px 4px 7px;
  scroll-padding-inline:4px;
}
.youtube-explore-preview .youtube-card {gap:5px}
.youtube-explore-preview .youtube-card img {border-radius:8px}
.youtube-explore-preview .youtube-card strong {font-size:13px;overflow-wrap:anywhere}
.youtube-explore-preview .youtube-rail-controls {gap:4px}
.youtube-explore-preview .youtube-rail-controls button {width:27px;height:27px;font-size:20px}
.youtube-explore-placeholder {
  display:grid;grid-auto-flow:column;grid-auto-columns:var(--youtube-explore-cover);gap:9px;
  min-height:calc(var(--youtube-explore-cover) + 2.5rem);align-items:start;justify-content:start;
  overflow:hidden;padding:4px 4px 7px;
}
.youtube-explore-placeholder > span {
  aspect-ratio:1;border-radius:8px;background:var(--media-hover);
}
.youtube-explore-preview-error {min-height:30px;margin:4px 0;color:var(--media-muted);font-size:12px}
#youtube-page .youtube-genre-page-status {
  display:flex;align-items:center;gap:7px;min-height:21px;padding:1px 4px;
  color:var(--media-muted);font-size:12px;
}
#youtube-page .youtube-genre-page-status button {font-size:12px;color:var(--media-accent)}
#youtube-page .youtube-explore-selection {margin:0 0 14px}
#youtube-page .youtube-explore-selection h3 {margin:3px 0 0;color:var(--media-text);font-size:clamp(19px,2.4vw,27px)}
#youtube-page :is(#youtube-explore-back,.youtube-world-songs) {color:var(--media-accent)}
#youtube-page .youtube-world-songs {display:inline-block;margin:0 0 8px;font-size:13px;text-decoration:none}
#youtube-page .youtube-world-songs:hover {text-decoration:underline}
#youtube-page :is(.youtube-world-songs,.youtube-explore-filter,.youtube-country-controls select,a.youtube-card):focus-visible {outline:2px solid var(--media-focus);outline-offset:3px}
#youtube-explore-rails .youtube-rail-head {align-items:center;flex-wrap:wrap}
#youtube-explore-rails .youtube-rail-controls {display:flex}
#youtube-page #youtube-explore-rails .youtube-rail-expand {
  display:inline-block;width:auto;min-height:32px;height:auto;padding:6px 9px;border-radius:8px;font:inherit;font-size:12px;font-weight:650;
}
#youtube-explore-rails .youtube-rail-expanded {
  grid-auto-flow:row;grid-template-columns:repeat(auto-fill,minmax(min(100%,135px),1fr));overflow-x:visible;
}
@media(max-width:760px){
  .youtube-discovery-switches button,.youtube-explore-shortcuts button {min-height:40px}
  .youtube-explore-filter {min-height:40px;font-size:16px}
  .youtube-country-controls select {min-height:44px;font-size:16px}
  .youtube-explore-preview .youtube-genre-open {min-height:38px}
  #youtube-explore-previews {--youtube-explore-cover:clamp(92px,28vw,114px)}
  #youtube-explore-rails .youtube-rail-controls button:not(.youtube-rail-expand) {display:none}
}
@media (pointer:coarse) and (min-width:761px){
  :root body.authenticated #youtube-page .youtube-subnav .youtube-subnav-tabs button,
  .youtube-discovery-switches button,.youtube-explore-shortcuts button {min-height:42px}
  .youtube-explore-filter,.youtube-country-controls select {min-height:42px;font-size:16px}
}
.youtube-chart-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,244px),1fr));gap:8px}
.youtube-chart-grid .youtube-card {
  display:grid;grid-template-columns:2.5ch 45px minmax(0,1fr);grid-template-rows:1fr 1fr;align-items:center;gap:1px 10px;
  min-height:65px;padding:8px 9px;border:1px solid var(--media-line);border-radius:10px;background:var(--aero-panel,var(--media-surface));
}
.youtube-chart-grid .youtube-card:is(:hover,:focus-visible) {background:var(--media-hover)}
.youtube-chart-grid .youtube-chart-rank {
  grid-column:1;grid-row:1/3;color:var(--media-accent);font-size:15px;font-weight:750;font-variant-numeric:tabular-nums;text-align:center;
}
.youtube-chart-grid .youtube-card img {
  grid-column:2;grid-row:1/3;width:45px;aspect-ratio:1;object-fit:cover;border-radius:7px;box-shadow:none;transform:none;
}
.youtube-chart-grid .youtube-card strong {grid-column:3;grid-row:1;align-self:end;font-size:14px;overflow-wrap:anywhere}
.youtube-chart-grid .youtube-card small {grid-column:3;grid-row:2;align-self:start}
#youtube-charts-rails a.youtube-card {text-decoration:none}
body.tv-mode .youtube-discovery-switches button {min-height:49px;font-size:16px}
body.tv-mode .youtube-country-controls select {min-height:48px;font-size:16px}
body.tv-mode .youtube-explore-shortcuts button {min-height:45px;padding-inline:13px;font-size:16px}
body.tv-mode .youtube-explore-filter {min-height:45px;font-size:16px}
body.tv-mode #youtube-explore-previews {--youtube-explore-cover:clamp(132px,12vw,176px)}
body.tv-mode .youtube-explore-preview .youtube-card strong {font-size:16px}
body.tv-mode .youtube-explore-preview .youtube-rail-controls {display:flex}
body.tv-mode .youtube-explore-preview .youtube-rail-controls button {width:42px;height:42px;font-size:27px}
body.tv-mode .youtube-explore-preview .youtube-genre-open {min-height:40px;font-size:19px}
body.tv-mode .youtube-chart-grid .youtube-card strong {font-size:16px}

.youtube-online-library {
  color: var(--media-text);
}
.youtube-online-library :is(h2,h3) {
  margin: 0;
  color: var(--media-text);
  letter-spacing: -.025em;
}
.youtube-online-library h3 {
  font-size: 17px;
}
#youtube-online-library-overview > section + section {
  margin-top: 24px;
}
.youtube-online-library-header,
.youtube-online-library-actions,
.youtube-online-library-feedback {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
}
.youtube-online-library-header {
  justify-content: space-between;
  margin-block: 10px;
}
.youtube-online-library-actions {
  gap: 7px;
}
.youtube-online-library-feedback .youtube-status {
  margin: 8px 0;
}
.youtube-online-library #youtube-online-playlist-back {
  color: var(--media-accent);
}
#youtube-online-playlist-count {
  margin: 4px 0 0;
}
.youtube-online-playlists {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px;
}
.youtube-online-playlists > .youtube-empty {
  grid-column: 1 / -1;
}
.youtube-online-track-list {
  display: grid;
  gap: 4px;
}
.youtube-online-track {
  display: flex;
  align-items: center;
  gap: 3px;
  min-width: 0;
  padding-inline-end: 5px;
  border-bottom: 1px solid var(--media-line);
}
.youtube-online-playlist-card,
.youtube-online-track-play {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
  padding: 6px 8px;
  color: var(--media-text);
  text-align: start;
  font: inherit;
  cursor: pointer;
}
.youtube-online-playlist-card {
  min-height: 58px;
  border: 1px solid var(--media-line);
  border-radius: 10px;
  background: var(--aero-panel, var(--media-surface));
}
.youtube-online-track-play {
  flex: 1;
  min-height: 48px;
  border: 0;
  border-radius: 7px;
  background: transparent;
}
.youtube-online-library :is(.youtube-online-playlist-card,.youtube-online-track-play,.youtube-online-track-remove):hover {
  background: var(--media-hover);
}
.youtube-online-library :is(.youtube-online-playlist-card,.youtube-online-track-play) img {
  flex: none;
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
}
.youtube-online-library .youtube-online-track-play img {
  width: 34px;
  height: 34px;
}
.youtube-online-entry-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
  font-size: 14px;
}
.youtube-online-entry-copy small {
  color: var(--media-muted);
  font-size: 12px;
}
.youtube-online-entry-copy :is(strong,small) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.youtube-online-track-remove,
.youtube-save-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--media-muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.online-player-extras #youtube-favorite.active svg path {
  fill: currentColor;
}

.youtube-save-dialog {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  z-index: 100;
  width: min(360px, calc(100vw - 28px));
  max-height: min(520px, calc(100vh - 32px));
  max-height: min(520px, calc(100dvh - 32px));
  margin: auto;
  padding: 14px 16px 16px;
  overflow: auto;
  border: 1px solid var(--media-line);
  border-radius: 15px;
  background: var(--media-panel);
  box-shadow: 0 18px 60px #08030d4e;
  color: var(--media-text);
}
.youtube-save-dialog::backdrop {
  background: #0a081567;
}
.youtube-save-header {
  display: flex;
  align-items: center;
  gap: 8px;
}
.youtube-save-header h2 {
  flex: 1;
  margin: 0;
  color: inherit;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -.025em;
}
.youtube-save-dialog :is(.youtube-save-track,.youtube-save-status,.youtube-save-delete p) {
  margin: 4px 0 9px;
  color: var(--media-muted);
  overflow-wrap: anywhere;
  font-size: 13px;
}
.youtube-save-options {
  display: grid;
  gap: 5px;
}
.youtube-save-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 42px;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--media-text);
  font: inherit;
  text-align: start;
  cursor: pointer;
}
.youtube-save-option svg {
  flex: none;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--media-accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.youtube-save-option span {
  overflow-wrap: anywhere;
}
.youtube-save-playlist-option {
  justify-content: space-between;
  border-color: var(--media-line);
}
.youtube-save-playlist-option small {
  color: var(--media-muted);
}
.youtube-save-dialog :is(.youtube-save-option,.youtube-save-icon):hover {
  background: var(--media-hover);
}
.youtube-save-form {
  display: grid;
  gap: 7px;
  margin-top: 8px;
}
.youtube-save-form label {
  color: var(--media-muted);
  font-size: 13px;
}
.youtube-save-form input {
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--media-line);
  border-radius: 8px;
  background: var(--media-input);
  color: var(--media-text);
  font: inherit;
  font-size: 16px;
}
.youtube-save-form button,
.youtube-save-options > #youtube-save-retry {
  justify-self: start;
}
.youtube-save-dialog .youtube-save-status {
  margin: 8px 0 0;
}
.youtube-save-dialog .youtube-save-status.error {
  color: var(--media-danger, var(--media-accent));
}
:is(.youtube-online-library,.youtube-save-dialog) :is(button,input):focus-visible {
  outline: 2px solid var(--media-focus);
  outline-offset: 2px;
}
body.tv-mode .youtube-save-dialog {
  width: min(430px, calc(100vw - 48px));
}
body.tv-mode :is(.youtube-online-track-play,.youtube-online-track-remove,.youtube-save-option,.youtube-save-icon) {
  min-height: 48px;
}
