/*
Theme Name: Yamatab
Description: Yamatab Türkçe oyun çevirileri için özel tema.
Version: 1.5.22
Text Domain: yamatab
*/
:root{--pink:#ff2855;--gutter:clamp(20px,4.45vw,78px);color-scheme:light}
html{scroll-behavior:smooth}body{margin:0;background:#1d1419;font-family:Geist,system-ui,-apple-system,"Segoe UI",sans-serif}.yt-wrap *,.yt-wrap{box-sizing:border-box}.yt-wrap a{color:inherit}.yt-wrap [hidden]{display:none!important}.yt-wrap :focus-visible{outline:2px solid var(--pink);outline-offset:4px}
#yt-hero{position:relative;background:#0e0c0e;color:#fff}.yt-slide{position:relative;isolation:isolate;display:flex;min-height:clamp(420px,48.4vw,750px);align-items:flex-end;padding:65px var(--gutter) clamp(72px,8vw,120px);overflow:hidden}
.yt-slide img{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover}.yt-slide:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#090709ec,transparent 85%),linear-gradient(0deg,#0b090bfa,transparent 80%)}.yt-slide h2{font-size:clamp(32px,5.5vw,78px);line-height:1.04;margin:0;max-width:19ch;text-wrap:balance}.yt-slide p{font-size:clamp(15px,1.5vw,21px);line-height:1.55;max-width:56ch;margin:16px 0 24px;color:#f4eaf1}.yt-cta{display:inline-block;background:var(--pink);color:#160b0e!important;text-decoration:none;font-size:14px;font-weight:800;padding:13px 19px;border-radius:5px}.yt-hero-controls{position:absolute;bottom:21px;right:var(--gutter);display:flex;gap:10px;align-items:center}.yt-hero-controls button,.yt-rail button{cursor:pointer;border:0;font:inherit}.yt-hero-controls button{width:40px;height:40px;color:#fff;background:#262026;border-radius:50%}
.yt-rail{background:#1d1419;color:#fff;padding:66px 0 58px;scroll-margin-top:80px;--gap:16px}.yt-rail .yt-heading{margin:0 var(--gutter)}.yt-rail h2{font-size:clamp(28px,3.12vw,42px);font-weight:500;line-height:1.2;letter-spacing:-.025em;margin:0}.yt-rail p{color:#ece4e9;font-size:clamp(16px,1.49vw,20px);line-height:1.4;margin:12px 0 0}.yt-carousel{position:relative;margin:38px 0 0 var(--gutter)}.yt-track{display:flex;gap:var(--gap);margin:0;padding:0 var(--gutter) 0 0;list-style:none;overflow:auto hidden;scrollbar-width:none;overscroll-behavior-x:contain;scroll-snap-type:x proximity}.yt-track::-webkit-scrollbar{display:none}
.yt-card{flex:0 0 clamp(220px,39vw,520px);position:relative;aspect-ratio:3/4;min-width:0;overflow:hidden;border-radius:8px;background:radial-gradient(ellipse at 78% 14%,#613044,transparent 70%),linear-gradient(145deg,#35212d,#130d12);scroll-snap-align:start}.yt-new .yt-card{flex-basis:clamp(210px,25.3vw,390px)}.yt-card-link,.yt-card img{display:block;width:100%;height:100%;text-decoration:none}.yt-card img{object-fit:cover}.yt-caption{position:absolute;inset:auto 0 0;padding:56px 18px 18px;background:linear-gradient(transparent,#0a0509ef);opacity:0;transition:opacity .2s ease}.yt-caption h3{margin:0;font-weight:550;line-height:1.15;font-size:clamp(17px,2.3vw,32px);text-wrap:balance}.yt-new .yt-caption h3{font-size:clamp(16px,1.65vw,24px)}.yt-card-link:focus-visible .yt-caption,.yt-new .yt-card.is-empty .yt-caption{opacity:1}.yt-card-link:focus-visible{outline-offset:-4px}.yt-badge{display:inline-block;padding:5px 8px;margin-top:8px;background:#ffffff29;border-radius:5px;font-size:13px}.yt-fav,.yt-arrow{display:grid;place-items:center;position:absolute;border-radius:50%}.yt-fav{top:15px;right:15px;width:42px;height:42px;background:#20161aaa;color:#fff;font-size:24px!important}.yt-fav[aria-pressed="true"]{background:var(--pink);color:#230812}.yt-arrow{z-index:1;top:50%;transform:translateY(-50%);width:48px;height:48px;background:#fff;color:#181016;font-size:26px!important}.yt-prev{left:15px}.yt-next{right:20px}.yt-dots{display:flex;justify-content:center;gap:8px;margin:28px var(--gutter) 0}.yt-dots button{height:26px;width:19px;padding:0;background:transparent;display:grid;place-items:center}.yt-dots button:before{content:"";width:19px;height:4px;border-radius:8px;background:#786d73}.yt-dots button[aria-current="true"]:before{background:var(--pink)}
#yt-footer{background:#0c0b0d;color:#fff;padding:50px var(--gutter) 24px}.yt-footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:32px}.yt-footer-grid h2{font-size:18px;margin:0 0 12px}.yt-footer-grid p,.yt-footer-grid ul{margin:10px 0;line-height:1.55;color:#e2d8df}.yt-footer-grid ul{padding:0;list-style:none}.yt-footer-grid li+li{margin-top:6px}.yt-footer-brand{font-size:25px;letter-spacing:.06em;text-decoration:none;font-weight:800}.yt-footer-grid form{display:flex;gap:6px}.yt-footer-grid input{min-width:0;width:100%;font:inherit;padding:8px;border:1px solid #73646e;border-radius:5px}.yt-footer-grid button{background:var(--pink);color:#160b0e;border:0;padding:8px;border-radius:5px;font-weight:750}.yt-footer-meta{margin-top:29px;padding-top:14px;border-top:1px solid #403840;display:flex;justify-content:space-between;gap:16px;color:#ddd;font-size:14px}
#yt-content{max-width:1240px;min-height:50vh;margin:0 auto;padding:46px var(--gutter) 58px;background:#fff;color:#191519;font:16px/1.65 system-ui,sans-serif;overflow-wrap:anywhere}#yt-content h1{margin:0 0 24px;font-size:clamp(28px,4.2vw,48px);line-height:1.16}#yt-content a{color:#92203e;text-underline-offset:3px}#yt-content img{max-width:100%;height:auto}#yt-content .yt-results{list-style:none;padding:0;display:grid;gap:12px}#yt-content .yt-results li{padding:18px;border:1px solid #e8dfe4;border-radius:8px}#yt-content .yt-results h2{margin:0;font-size:20px}#yt-content .yt-results p{margin:8px 0 0}
@media(hover:hover){.yt-card:hover .yt-caption{opacity:1}}@media(hover:none){.yt-new .yt-caption{opacity:1}}
@media(max-width:760px){.yt-slide{min-height:490px;padding-bottom:75px}.yt-slide:after{background:linear-gradient(0deg,#0b090bf5,transparent 100%)}.yt-rail{padding:45px 0 39px;--gap:12px}.yt-carousel{margin-top:24px}.yt-card{flex-basis:min(75vw,360px)}.yt-new .yt-card{flex-basis:clamp(138px,49vw,290px)}.yt-caption{padding:32px 12px 12px}.yt-fav{width:36px;height:36px;top:10px;right:10px}.yt-arrow{width:36px;height:36px}.yt-prev{left:8px}.yt-next{right:10px}.yt-footer-grid{grid-template-columns:1fr;gap:22px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.yt-caption{transition:none}}

#yt-content .yt-download-box{margin:24px 0 4px}#yt-content .yt-download-box .yt-cta{text-decoration:none}

/* Header dropdown and the same keyboard/touch controls on small screens. */
#yt-header .yt-cat{position:relative}
#yt-header .yt-cat summary{list-style:none;display:inline-flex;align-items:center;gap:8px;cursor:pointer;font:inherit;color:inherit;white-space:nowrap}
#yt-header .yt-cat summary::-webkit-details-marker{display:none}
#yt-header .yt-cat .yt-cat-chevron{font-size:13px;line-height:1}
#yt-header .yt-cat[open] .yt-cat-chevron{transform:rotate(180deg)}
#yt-header .yt-cat-panel{position:absolute;z-index:10;top:calc(100% + 19px);left:50%;transform:translateX(-50%);width:min(550px,calc(100vw - 40px));padding:16px 18px;background:#19151a;border:1px solid #393038;border-radius:11px;color:#fff;box-shadow:0 16px 48px #0804099c}
#yt-header .yt-cat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px}
#yt-header .yt-cat-panel a{padding:10px 8px;min-height:38px;display:flex;gap:12px;align-items:center;justify-content:space-between;border-radius:5px;text-decoration:none;color:#f6eef3;white-space:normal}
#yt-header .yt-cat-panel a:hover,#yt-header .yt-cat-panel a:focus-visible{background:#30222a;color:#fff}
#yt-header .yt-cat-panel a small{color:#bfb0bb;white-space:nowrap}
#yt-header .yt-cat-panel .yt-cat-all{border-top:1px solid #403440;color:#ff7996;margin-top:9px;border-radius:0}
@media(max-width:850px){
  #yt-header .yt-cat{align-self:stretch}#yt-header .yt-cat summary{padding:8px 0}#yt-header .yt-cat-panel{position:static;transform:none;width:100%;padding:10px 0 0;box-shadow:none;border:0;background:transparent}#yt-header .yt-cat-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:380px){#yt-header .yt-cat-grid{grid-template-columns:1fr}}

/* Poster stays undistorted; a softly blurred copy fills non-3:4 edges. */
#yt-new .yt-card.has-poster .yt-card-link{position:relative;isolation:isolate;overflow:hidden}
#yt-new .yt-poster-back{display:none}

#yt-new .yt-caption{z-index:1}
#yt-new .yt-fav{z-index:2}

/* Desktop and mobile footer, keeping links to real pages. */
#yt-footer{padding:0 var(--gutter) 24px;border-top:1px solid #292229;background:#0d0b0e}
#yt-footer .yt-footer-lead{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:32px 0;border-bottom:1px solid #332733}
#yt-footer .yt-footer-lead strong{display:block;font-size:clamp(22px,3.1vw,42px);line-height:1.1;letter-spacing:-.04em}
#yt-footer .yt-footer-lead p{margin:8px 0 0;color:#cabdc7}
#yt-footer .yt-footer-lead a{background:#ff2855;color:#1a0b12;font-weight:800;text-decoration:none;padding:12px 16px;border-radius:7px;white-space:nowrap}
#yt-footer .yt-footer-grid{padding-top:34px;gap:clamp(18px,4vw,62px)}
#yt-footer .yt-footer-brand{display:inline-flex;align-items:center;gap:10px}
#yt-footer .yt-footer-brand span{display:grid;place-items:center;width:38px;height:38px;border-radius:9px;background:#ff2855;color:#180810;letter-spacing:0;font-weight:900}
#yt-footer a:hover,#yt-footer a:focus-visible{color:#ff7996}
#yt-footer .yt-footer-lead a:hover{background:#ff7797;color:#180810}
#yt-footer .yt-footer-grid nav a{text-decoration:none}
#yt-footer .yt-footer-grid input{background:#201a21;color:#fff}
#yt-footer .yt-footer-meta{color:#bcaeb8}
@media(max-width:760px){#yt-footer .yt-footer-lead{align-items:flex-start;flex-direction:column;padding:25px 0}#yt-footer .yt-footer-grid{padding-top:25px;gap:24px}}

/* Reference carousel geometry; only Yamatab's own covers and text are used. */
main[aria-labelledby="yt-home-title"]:has(#yt-hero){margin-top:-101px}
#yt-hero{--hero-side:clamp(28px,4.75vw,82px);position:relative;height:max(560px,47.91667vw);overflow:hidden;background:#1d1319;color:#fff;border-radius:8px}
#yt-hero .yt-slide{min-height:0;height:100%;position:relative;display:flex;align-items:center;padding:0;isolation:isolate}
#yt-hero .yt-slide[hidden]{display:none}
#yt-hero .yt-slide>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-2}
#yt-hero .yt-slide::after{background:linear-gradient(90deg,rgba(0,0,0,.70),transparent 58%),linear-gradient(180deg,rgba(29,19,25,.8),transparent 50%),linear-gradient(0deg,#1d1319,transparent 28%)}
#yt-hero .yt-hero-copy{position:absolute;top:22%;bottom:calc(7% + 80px);left:var(--hero-side);display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:clamp(16px,2.38vw,32px);width:min(528px,53%);z-index:1}
#yt-hero .yt-hero-copy h2{font-size:clamp(45px,5.93vw,88px);font-weight:800;line-height:1.1;letter-spacing:-.045em;margin:0;max-width:none;overflow-wrap:anywhere;text-wrap:balance;text-shadow:0 2px 14px #10050d6b}
#yt-hero .yt-hero-copy h2.is-compact{font-size:clamp(39px,3.86vw,59px)}
#yt-hero .yt-hero-copy p{font-size:clamp(16px,1.49vw,20px);line-height:1.4;max-width:520px;margin:0;color:#fff}
#yt-hero .yt-hero-copy .yt-cta{display:inline-flex;align-items:center;justify-content:center;padding:0 20px;min-height:56px;border-radius:4px;background:#ff2f5c;color:#150b10!important;font-size:clamp(14px,1.35vw,18px);font-weight:750;letter-spacing:.005em}
#yt-hero .yt-hero-copy .yt-cta:hover{background:#ff7394}
#yt-hero .yt-hero-controls{position:absolute;left:var(--hero-side);right:auto;bottom:7%;display:flex;align-items:center;gap:10px;font-variant-numeric:tabular-nums}
#yt-hero .yt-hero-controls button{width:56px;height:56px;border-radius:5px;background:#ffffff1a;color:#fff;backdrop-filter:blur(10px);font-size:26px}
#yt-hero .yt-hero-controls button:hover:not(:disabled){background:#ffffff39}
#yt-hero .yt-hero-controls button:disabled{opacity:.38;cursor:default}
#yt-hero .yt-hero-controls [data-hero-count]{min-width:50px;text-align:center;font-size:14px}
#yt-hero .yt-hero-controls [data-hero-pause]{font-size:17px}
#yt-header .yt-cat summary{width:auto;height:auto;padding:9px 12px;background:transparent;border:0;border-radius:6px;font-size:16px;line-height:20px;font-weight:500}
#yt-header .yt-cat summary span,#yt-header .yt-cat-panel span{display:inline;padding:0;color:inherit;line-height:inherit;white-space:normal}
#yt-header .yt-cat-panel a[aria-current]::after{content:none}
#yt-header .yt-cat .yt-cat-panel a{white-space:normal}
@media(max-width:760px){
  main[aria-labelledby="yt-home-title"]:has(#yt-hero){margin-top:-72px}
  #yt-hero{height:auto;--hero-side:20px;padding-top:72px;border-radius:0}
  #yt-hero .yt-slide{height:auto;min-height:0;display:grid;grid-template-rows:minmax(330px,min(400px,69vh)) auto}
  #yt-hero .yt-slide>img{position:absolute;top:0;height:clamp(330px,69vh,400px);z-index:-2}
  #yt-hero .yt-slide::after{height:clamp(330px,69vh,400px);background:linear-gradient(0deg,#1d1319,transparent 43%)}
  #yt-hero .yt-hero-copy{position:static;grid-row:2;width:auto;text-align:center;align-items:center;gap:16px;padding:0 20px}
  #yt-hero .yt-hero-copy h2,#yt-hero .yt-hero-copy h2.is-compact{font-size:34px;line-height:1.12}
  #yt-hero .yt-hero-copy p{font-size:14px;line-height:1.6}
  #yt-hero .yt-hero-copy .yt-cta{width:100%;min-height:52px}
  #yt-hero .yt-hero-controls{position:static;justify-content:center;padding:20px 0 33px}
  #yt-hero .yt-hero-controls button{width:46px;height:46px}
}

#yt-header .yt-cat-panel{top:calc(100% + 12px);width:min(280px,calc(100vw - 36px));padding:12px;background:#20141a;border-radius:8px}
#yt-header .yt-cat-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:2px;max-height:230px;overflow-y:auto}
#yt-header .yt-cat-panel [hidden]{display:none!important}
#yt-header .yt-cat-search{display:block;width:100%;max-width:100%;padding:9px 10px;margin:0 0 8px;border:1px solid #493440;border-radius:5px;background:#140e13;color:#fff;font:inherit;font-size:14px}
#yt-header .yt-cat-empty{margin:8px 4px;color:#e9ceda;font-size:14px}
#yt-header .yt-cat-panel a small{font-size:12px}
#yt-header .yt-cat-panel a{font-size:14px;border:1px solid transparent}
#yt-header .yt-cat-panel a[aria-current]{border-color:#8c4d65}
@media(max-width:760px){#yt-header .yt-cat-panel{width:100%;background:#20141a}}

/* Poster artwork fills its frame at its native proportions. */
#yt-pop .yt-card-link{position:relative;isolation:isolate;overflow:hidden}
#yt-pop .yt-card-link>img,#yt-new .yt-card-link>img{position:relative;width:100%;height:100%;object-fit:cover;object-position:center}
#yt-pop .yt-caption,#yt-new .yt-caption{z-index:1}
#yt-pop .yt-fav,#yt-new .yt-fav{z-index:2}
@media(max-width:760px){
  #yt-hero .yt-slide{--yt-mobile-media:clamp(195px,62vw,400px);grid-template-rows:var(--yt-mobile-media) auto}
  #yt-hero .yt-slide>img{height:var(--yt-mobile-media);object-fit:cover;object-position:center top}
  #yt-hero .yt-slide::after{height:var(--yt-mobile-media)}
}

/* Keep media boxes independent of image loading and keep full cards in view on phones. */
#yt-pop .yt-card-link,#yt-new .yt-card-link{position:absolute;inset:0;display:block;isolation:isolate;overflow:hidden}
#yt-pop .yt-card-link>img,#yt-new .yt-card-link>img{position:absolute;inset:0;max-width:none;max-height:none}
@media(max-width:760px){
  #yt-hero .yt-slide{--yt-mobile-media:56.25vw}
  #yt-pop .yt-carousel{width:min(calc(100% - var(--gutter) * 2),320px);margin-inline:auto}
  #yt-new .yt-carousel{margin-inline:var(--gutter)}
  #yt-pop .yt-track,#yt-new .yt-track{padding-inline:0;scroll-snap-type:x mandatory}
  #yt-pop .yt-card{flex-basis:100%}
  #yt-new .yt-card{flex-basis:calc((100% - var(--gap)) / 2)}
}

/* Whole cards are visible at each scroll stop, also on desktop. */
@media(min-width:761px){
  #yt-pop .yt-carousel,#yt-new .yt-carousel{margin-inline:var(--gutter)}
  #yt-pop .yt-carousel{max-width:1056px}
  #yt-new .yt-carousel{max-width:1608px}
  #yt-pop .yt-track,#yt-new .yt-track{padding-inline:0;scroll-snap-type:x mandatory}
  #yt-pop .yt-card{flex-basis:calc((100% - var(--gap)) / 2)}
  #yt-new .yt-card{flex-basis:calc((100% - 2 * var(--gap)) / 3)}
}
@media(min-width:1100px){
  #yt-new .yt-card{flex-basis:calc((100% - 3 * var(--gap)) / 4)}
}

/* Mobile presentation. The desktop layout keeps its own design. */
@media(max-width:760px){
  :root{--gutter:16px}
  body #yt-header{padding:16px 16px 0}
  body #yt-header .yt-bar{min-height:59px;padding:0 10px 0 15px;background:#151116;color:#fff;border-color:#ffffff22;box-shadow:0 5px 16px #100c1055}
  body #yt-header .yt-logo{font-size:29px;letter-spacing:-.078em}
  body #yt-header .yt-tools{gap:0}
  body #yt-header .yt-tools summary,body #yt-header .yt-toggle{border:0;background:transparent;color:#fff}
  body #yt-header .yt-tools summary:hover,body #yt-header .yt-toggle:hover,body #yt-header nav a:hover{background:#ffffff19}
  body #yt-header .yt-toggle svg{display:none}
  body #yt-header .yt-toggle::before{content:"";width:24px;height:9px;border-block:2px solid currentColor}
  body #yt-header[data-menu="open"] .yt-toggle::before{height:0;transform:rotate(45deg);border-bottom:0}
  body #yt-header[data-menu="open"] .yt-toggle::after{content:"";position:absolute;width:24px;border-top:2px solid currentColor;transform:rotate(-45deg)}
  body #yt-header nav,body #yt-header .yt-search{padding:9px;background:#19141b;color:#fff;border-color:#57424e;box-shadow:0 12px 24px #100c1048}
  body #yt-header .yt-search{right:0;width:100%}
  body #yt-header .yt-search input{background:#fff;color:#1d1319;border-color:#b49ea9}
  body #yt-header .yt-search button{background:#bb1348;color:#fff;font-weight:700}
  body #yt-header nav a{min-height:44px}
  body #yt-header nav a[aria-current]::after{background:var(--pink)}
  body #yt-header :focus-visible{outline:2px solid #b61749;outline-offset:2px}

  main[aria-labelledby="yt-home-title"]:has(#yt-hero){margin-top:-75px}
  #yt-hero{--yt-hero-end:#1d1419;--hero-side:16px;padding-top:88px}
  #yt-hero .yt-slide{--yt-mobile-media:clamp(278px,103vw,400px);touch-action:pan-y pinch-zoom}
  #yt-hero .yt-slide>img{object-position:center 45%}
  #yt-hero .yt-slide::after{background:linear-gradient(0deg,#1d1419 0%,#1d141942 27%,transparent 63%,#1d141922 100%)}
  #yt-hero[data-yt-mobile-progress]::before{content:"";position:absolute;z-index:3;top:103px;left:32px;right:32px;height:3px;border-radius:3px;pointer-events:none;background:linear-gradient(90deg,var(--pink) 0 var(--yt-hero-progress,100%),#fcfafb33 var(--yt-hero-progress,100%) 100%)}
  #yt-hero .yt-hero-copy{gap:18px;padding:22px var(--hero-side) 0}
  #yt-hero .yt-hero-copy h2,#yt-hero .yt-hero-copy h2.is-compact{font-size:clamp(27px,8.72vw,34px);line-height:1.12;letter-spacing:-.025em}
  #yt-hero .yt-hero-copy p{margin:0;font-size:14px;line-height:1.58}
  #yt-hero .yt-hero-copy .yt-cta{margin-top:4px;border-radius:4px;background:#ca194c;color:#fff!important}
  #yt-hero .yt-hero-controls{position:relative;gap:4px;padding:7px 0 22px}
  #yt-hero .yt-hero-controls button{min-width:44px;width:44px;height:44px;border-radius:4px;background:none;backdrop-filter:none;font-size:25px}
  #yt-hero .yt-hero-controls button:hover:not(:disabled){background:#ffffff13}
  #yt-hero .yt-hero-controls [data-hero-count]{min-width:62px;font-size:16px;color:#e7dbe4}
  #yt-hero .yt-hero-controls [data-hero-pause]{position:absolute;right:14px;font-size:15px}

  #yt-pop,#yt-new{padding:56px 0 42px;--gap:14px}
  #yt-pop .yt-heading,#yt-new .yt-heading{margin-inline:var(--gutter)}
  #yt-pop .yt-heading h2,#yt-new .yt-heading h2{font-size:25px;line-height:1.18}
  #yt-pop .yt-heading p,#yt-new .yt-heading p{font-size:15px;line-height:1.48;margin-top:10px}
  #yt-pop .yt-carousel,#yt-new .yt-carousel{width:min(calc(100% - 2 * var(--gutter)),306px);margin:27px auto 0}
  #yt-pop .yt-card,#yt-new .yt-card{flex-basis:100%}
  #yt-pop .yt-fav,#yt-new .yt-fav{width:42px;height:42px}
  #yt-pop .yt-arrow,#yt-new .yt-arrow{width:44px;height:44px}
  #yt-pop .yt-dots,#yt-new .yt-dots{margin-top:22px}
}

/* Fade the hero into the exact surface colour used by the first rail. */
main #yt-hero,main #yt-hero + #yt-pop{background-color:#1d1419}
main #yt-hero + #yt-pop{padding-top:clamp(34px,4vw,56px)}
main #yt-hero .yt-slide::after{
 background:
  linear-gradient(0deg,#1d1419 0%,#1d1419 2%,rgba(29,20,25,.90) 10%,rgba(29,20,25,.58) 20%,rgba(29,20,25,.18) 34%,rgba(29,20,25,0) 48%),
  linear-gradient(90deg,rgba(0,0,0,.70),transparent 58%),
  linear-gradient(180deg,rgba(18,7,13,.8),transparent 50%);
}
@media(max-width:760px){
 main #yt-hero .yt-slide::after{
  background:linear-gradient(0deg,#1d1419 0%,#1d1419 2%,rgba(29,20,25,.87) 10%,rgba(29,20,25,.52) 20%,rgba(29,20,25,.16) 34%,rgba(29,20,25,0) 50%),
    linear-gradient(180deg,rgba(18,7,13,.42),transparent 55%);
 }
 main #yt-hero + #yt-pop{padding-top:34px}
 main #yt-hero .yt-hero-controls{padding-bottom:14px}
}

/* The departing hero overlaps the arriving one without moving the controls. */
main #yt-hero .yt-slide.yt-slide-leaving{
 position:absolute;inset:var(--yt-leave-top,0px) 0 auto;
 height:var(--yt-leave-height);margin:0;pointer-events:none;
}

/* The Popüler rail advances one poster per step, with three posters on desktop. */
#yt-pop{--yt-pop-visible:3}
#yt-pop .yt-carousel{max-width:1240px}
#yt-pop .yt-card{flex-basis:calc((100% - 2 * var(--gap)) / 3)}
#yt-pop[data-pop-enhanced] .yt-track{overflow:hidden;overflow:clip;padding:0;scroll-snap-type:none;touch-action:pan-y pinch-zoom}
#yt-pop[data-pop-enhanced] .yt-card{flex-basis:calc((100% - (var(--yt-pop-fit,3) - 1) * var(--gap)) / var(--yt-pop-fit,3));scroll-snap-align:none}
#yt-pop[data-pop-single] .yt-carousel{max-width:520px}
#yt-pop .yt-pop-toolbar{display:flex;align-items:center;justify-content:center;gap:13px;margin:18px auto 0;color:#e9dae3;font-size:.88rem;font-variant-numeric:tabular-nums}
@media(max-width:999px){
 #yt-pop{--yt-pop-visible:2}
 #yt-pop .yt-card{flex-basis:calc((100% - var(--gap)) / 2)}
}
@media(max-width:760px){
 #yt-pop{--yt-pop-visible:1}
 #yt-pop .yt-card{flex-basis:100%}
 #yt-pop .yt-pop-toolbar{margin-top:14px}
}


/* Fallback: the legacy WPCode hero control is not shown even before the script loads. */
#yt-hero [data-hero-pause]{display:none!important}

/* The catalog's accessible page title keeps the existing visual composition. */
.yt-home-title{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
#yt-hero .yt-hero-controls button.yt-slide-count,#yt-pop .yt-pop-toolbar button.yt-slide-count{
 border:0;border-radius:4px;background:transparent;color:inherit;padding:0 6px;
 font:inherit;font-variant-numeric:tabular-nums;line-height:1.3;cursor:pointer;
 backdrop-filter:none;
}
#yt-hero .yt-hero-controls button.yt-slide-count:is(:hover,:focus-visible),
#yt-pop .yt-pop-toolbar button.yt-slide-count:is(:hover,:focus-visible){text-decoration:underline;background:transparent}
#yt-hero .yt-hero-controls button.yt-slide-count:disabled,#yt-pop .yt-pop-toolbar button.yt-slide-count:disabled{opacity:1;cursor:default;text-decoration:none}
#yt-pop .yt-pop-toolbar button.yt-slide-count{min-height:34px}

/* Front page: full-bleed artwork, with one shared inset for the content. */
body.home{--yt-home-max:1792px;--yt-home-inset:max(64px,calc((100% - var(--yt-home-max))/2))}
body.home .yt-rail .yt-heading,
body.home #yt-pop .yt-carousel,
body.home #yt-new .yt-carousel{margin-inline:var(--yt-home-inset);max-width:none}
body.home #yt-pop[data-pop-single] .yt-carousel{max-width:520px;margin-inline:auto}
body.home #yt-footer{padding-inline:var(--yt-home-inset)}
main #yt-hero[data-yt-hero-ready]::before{
 content:"";position:absolute;z-index:4;top:max(116px,14.2%);left:var(--yt-home-inset);right:calc(var(--yt-home-inset) + 31px);
 height:3px;pointer-events:none;background:#fffcff28;border-radius:3px;
}
main #yt-hero .yt-hero-progress{
 position:absolute;z-index:4;top:max(116px,14.2%);left:var(--yt-home-inset);right:calc(var(--yt-home-inset) + 31px);
 height:3px;pointer-events:none;overflow:hidden;border-radius:3px;
}
main #yt-hero .yt-hero-progress > span{
 display:block;width:var(--yt-hero-segment,100%);height:100%;background:#ff2f61;
 transform:translateX(var(--yt-hero-step,0%));transition:transform .46s cubic-bezier(.22,.72,.24,1);
}
main #yt-hero .yt-hero-controls{gap:4px;z-index:5}
main #yt-hero .yt-hero-controls :is(button,span[data-hero-count]){
 min-height:44px;white-space:nowrap;
}
main #yt-hero .yt-hero-controls button[data-hero]{
 width:44px;height:44px;min-width:44px;background:none;backdrop-filter:none;font-size:25px;
}
main #yt-hero .yt-hero-controls button[data-hero]:hover:not(:disabled){background:#fff2}
main #yt-hero .yt-hero-controls [data-hero-count]{width:auto;min-width:80px;color:#d4c7d0;padding-inline:7px;font-size:17px;font-weight:650}
main #yt-hero .yt-hero-controls .yt-hero-current{color:#ff507b;font-weight:800}
main #yt-hero .yt-hero-copy .yt-cta{background:#c61749;color:white!important;min-height:49px}
main #yt-hero .yt-hero-copy .yt-cta:hover{background:#a7123c}
main #yt-hero .yt-hero-skip{
 position:absolute;z-index:5;bottom:clamp(16px,4.4vh,55px);left:50%;transform:translateX(-50%);
 display:grid;place-items:center;width:44px;height:44px;text-decoration:none;
 border-radius:50%;border:1px solid #fff6;background:#140d15a6;color:#fff;
}
main #yt-hero .yt-hero-skip:hover{background:#372032}
main #yt-hero .yt-hero-skip svg{width:18px;height:18px}
@media(min-width:761px){
 main #yt-hero{height:clamp(630px,47.91667vw,1250px);height:clamp(630px,min(100svh,max(80svh,47.91667vw)),1250px);--hero-side:var(--yt-home-inset)}
 main #yt-hero .yt-slide>img{object-position:center 20%}
 main #yt-hero .yt-slide::after{
  background:linear-gradient(0deg,#1d1419 1%,#1d1419da 10%,#1d141943 28%,transparent 47%),
             linear-gradient(90deg,#09060be8 0%,#09060bc4 23%,#09060b4d 58%,transparent 88%),
             linear-gradient(180deg,#0c080dd9,transparent 38%);
 }
 main #yt-hero .yt-hero-copy{top:22%;bottom:calc(7% + 80px);width:min(580px,calc((100% - 2 * var(--hero-side)) * .72));gap:clamp(16px,1.8vw,26px)}
 main #yt-hero .yt-hero-copy h2{font-size:clamp(43px,4vw,72px);line-height:1.12;letter-spacing:-.038em;text-wrap:wrap;overflow-wrap:break-word}
 main #yt-hero .yt-hero-copy h2.is-compact{font-size:clamp(38px,3.55vw,64px)}
 main #yt-hero .yt-hero-copy p{max-width:56ch;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
 main #yt-hero .yt-hero-controls{left:var(--hero-side);bottom:7%;gap:10px}
 main #yt-hero .yt-hero-controls button[data-hero]{width:56px;height:56px}
}
@media(max-width:760px){
 body.home{--yt-home-inset:16px}
 main #yt-hero[data-yt-hero-ready]::before,main #yt-hero .yt-hero-progress{top:103px;left:32px;right:32px}
 main #yt-hero .yt-hero-skip{display:none}
 main #yt-hero .yt-hero-controls{left:auto}
 main #yt-hero .yt-hero-copy p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
 body.home #yt-pop[data-pop-single] .yt-carousel{max-width:320px}
 body.home #yt-pop .yt-carousel{margin-inline:auto;max-width:320px}
}
@media(prefers-reduced-motion:reduce){
 main #yt-hero .yt-hero-progress>span{transition:none}
}
