/* One adult Home fold grid; no request handlers or advertising geometry. */
html body.page-home:not(.tv-mode) main.page-wrapper .main-layout>.container :is(.lazy-head[data-fold-key],#latest-news>summary,#premiere-disclosure>summary,#weekly-pick-disclosure>summary,#global-events>.global-events-fold>.global-events-summary,#swifties-spotify .swifties-fold,#ebook-matcher-root .ebook-fold>summary,#cooking-home>summary){
 display:grid!important;grid-template-columns:38px minmax(0,1fr) 34px!important;
 align-items:center!important;justify-content:stretch!important;gap:10px!important;
 width:100%!important;max-width:none!important;box-sizing:border-box!important;
 min-height:58px!important;height:auto!important;margin:0!important;padding:8px 16px!important;
 text-align:start!important;position:relative!important;list-style:none!important;
}
html body.page-home:not(.tv-mode) main.page-wrapper .main-layout>.container :is(.lazy-head[data-fold-key],#latest-news>summary,#premiere-disclosure>summary,#weekly-pick-disclosure>summary,#global-events>.global-events-fold>.global-events-summary,#swifties-spotify .swifties-fold,#ebook-matcher-root .ebook-fold>summary,#cooking-home>summary)::-webkit-details-marker{display:none!important}
html body.page-home:not(.tv-mode) main.page-wrapper .main-layout>.container :is(.lazy-head[data-fold-key],#latest-news>summary,#premiere-disclosure>summary,#weekly-pick-disclosure>summary,#global-events>.global-events-fold>.global-events-summary,#swifties-spotify .swifties-fold,#ebook-matcher-root .ebook-fold>summary,#cooking-home>summary)::before{
 grid-column:1!important;grid-row:1!important;justify-self:center!important;align-self:center!important;
 width:38px!important;height:38px!important;min-width:0!important;min-height:0!important;
 margin:0!important;padding:0!important;position:static!important;inset:auto!important;transform:none!important;
}
html body.page-home:not(.tv-mode) main.page-wrapper .main-layout>.container :is(.lazy-head[data-fold-key],#latest-news>summary,#premiere-disclosure>summary,#weekly-pick-disclosure>summary,#global-events>.global-events-fold>.global-events-summary,#swifties-spotify .swifties-fold,#ebook-matcher-root .ebook-fold>summary,#cooking-home>summary)::after{
 content:""!important;display:block!important;grid-column:3!important;grid-row:1!important;
 position:static!important;inset:auto!important;align-self:center!important;justify-self:center!important;
 width:34px!important;height:34px!important;min-width:0!important;min-height:0!important;
 margin:0!important;padding:0!important;box-sizing:border-box!important;border:1px solid #f3d39470!important;
 border-radius:11px!important;background:rgba(23,12,39,.26) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23ffe9ad' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 21px 21px no-repeat!important;
 transform:rotate(0deg)!important;transition:transform .18s ease!important;
}
html body.page-home:not(.tv-mode) main.page-wrapper .main-layout>.container :is(.lazy-head.is-open,#latest-news[open]>summary,#premiere-disclosure[open]>summary,#weekly-pick-disclosure[open]>summary,#global-events>.global-events-fold[open]>.global-events-summary,#swifties-spotify .swifties-fold[aria-expanded="true"],#ebook-matcher-root .ebook-fold[open]>summary,#cooking-home[open]>summary)::after{transform:rotate(180deg)!important}
html body.page-home:not(.tv-mode) main.page-wrapper .main-layout>.container :is(.lazy-head[data-fold-key],#latest-news>summary,#premiere-disclosure>summary,#weekly-pick-disclosure>summary,#global-events>.global-events-fold>.global-events-summary,#swifties-spotify .swifties-fold,#ebook-matcher-root .ebook-fold>summary,#cooking-home>summary)> :is(span,h2,h3){grid-column:2!important;grid-row:1!important;min-width:0!important;justify-self:stretch!important;text-align:start!important;margin:0!important}
html body.page-home:not(.tv-mode) main.page-wrapper .main-layout>.container :is(#ebook-matcher-root .ebook-chevron,#global-events .ge-sum-chev,.lazy-head-chevron,.ge-sum-chevron,.global-events-chevron,.swifties-fold-icon){display:none!important}
html body.page-home:not(.tv-mode) main.page-wrapper .main-layout>.container :is(#cooking-home>summary,#ebook-matcher-root .ebook-fold>summary)::before{content:none!important;display:none!important}
html body.page-home:not(.tv-mode) main.page-wrapper .main-layout>.container #cooking-home>summary>img,
html body.page-home:not(.tv-mode) main.page-wrapper .main-layout>.container #ebook-matcher-root .ebook-fold>summary>.ebook-summary-icon{
 grid-column:1!important;grid-row:1!important;justify-self:center!important;width:38px!important;height:38px!important;
 margin:0!important;padding:0!important;min-width:0!important;min-height:0!important;object-fit:contain!important;
}
html body.page-home:not(.tv-mode) main.page-wrapper .main-layout>.container #ebook-matcher-root .ebook-fold>summary .ebook-brand-crest{width:100%!important;height:100%!important;object-fit:contain!important}
html body.page-home:not(.tv-mode) main.page-wrapper .main-layout>.container :is(#cooking-home,#ebook-matcher-root .ebook-fold,#latest-news,#premiere-disclosure,#weekly-pick-disclosure,#swifties-spotify,#global-events>.global-events-fold){
 width:100%!important;max-width:100%!important;box-sizing:border-box!important;padding:0!important;min-height:0!important;margin:10px 0!important;
}
html body.page-home:not(.tv-mode) main.page-wrapper .main-layout>.container :is(.lazy-head[data-fold-key]){margin:10px 0!important}
html body.page-home:not(.tv-mode) main.page-wrapper .main-layout>.container #latest-news .ma-news-new,
html body.page-home:not(.tv-mode) main.page-wrapper .main-layout>.container #global-events .ge-sum-count{
 grid-column:auto!important;position:absolute!important;right:auto!important;inset-inline-end:57px!important;top:50%!important;
 transform:translateY(-50%)!important;margin:0!important;font-size:10px!important;
}
html body.page-home:not(.tv-mode) main.page-wrapper .main-layout>.container #latest-news .ma-news-new{padding:4px!important;min-width:20px!important}
html body.page-home:not(.tv-mode) main.page-wrapper .main-layout>.container #latest-news .ma-news-new>span{display:none!important}
html body.page-home:not(.tv-mode) main.page-wrapper .main-layout>.container #latest-news[data-has-new="true"] .ma-news-summary-main,
html body.page-home:not(.tv-mode) main.page-wrapper .main-layout>.container #global-events .ge-sum-label{padding-inline-end:32px!important}
html body.page-home:not(.tv-mode) main.page-wrapper .main-layout>.container #ebook-matcher-root .ebook-fold>summary strong{font-size:16px!important;line-height:1.25!important;text-align:start!important}
@media(max-width:1024px){
 html body.page-home:not(.tv-mode) main.page-wrapper .main-layout>.container :is(.lazy-head[data-fold-key],#latest-news>summary,#premiere-disclosure>summary,#weekly-pick-disclosure>summary,#global-events>.global-events-fold>.global-events-summary,#swifties-spotify .swifties-fold,#ebook-matcher-root .ebook-fold>summary,#cooking-home>summary){
  grid-template-columns:30px minmax(0,1fr) 28px!important;gap:8px!important;min-height:46px!important;
  padding:7px 14px!important;border-radius:14px!important;font-size:14px!important;line-height:1.2!important;
 }
 html body.page-home:not(.tv-mode) main.page-wrapper .main-layout>.container :is(.lazy-head[data-fold-key],#latest-news>summary,#premiere-disclosure>summary,#weekly-pick-disclosure>summary,#global-events>.global-events-fold>.global-events-summary,#swifties-spotify .swifties-fold,#ebook-matcher-root .ebook-fold>summary,#cooking-home>summary)::before,html body.page-home:not(.tv-mode) main.page-wrapper .main-layout>.container #cooking-home>summary>img,html body.page-home:not(.tv-mode) main.page-wrapper .main-layout>.container #ebook-matcher-root .ebook-fold>summary>.ebook-summary-icon{width:30px!important;height:30px!important}
 html body.page-home:not(.tv-mode) main.page-wrapper .main-layout>.container :is(.lazy-head[data-fold-key],#latest-news>summary,#premiere-disclosure>summary,#weekly-pick-disclosure>summary,#global-events>.global-events-fold>.global-events-summary,#swifties-spotify .swifties-fold,#ebook-matcher-root .ebook-fold>summary,#cooking-home>summary)::after{width:28px!important;height:28px!important;border-radius:9px!important;background-size:19px 19px!important}
 html body.page-home:not(.tv-mode) main.page-wrapper .main-layout>.container #latest-news .ma-news-new,html body.page-home:not(.tv-mode) main.page-wrapper .main-layout>.container #global-events .ge-sum-count{right:auto!important;inset-inline-end:50px!important}
 html body.page-home:not(.tv-mode) main.page-wrapper .main-layout>.container #ebook-matcher-root .ebook-fold>summary strong{font-size:14px!important}
}
@media(prefers-reduced-motion:reduce){html body.page-home:not(.tv-mode) main.page-wrapper .main-layout>.container :is(.lazy-head[data-fold-key],#latest-news>summary,#premiere-disclosure>summary,#weekly-pick-disclosure>summary,#global-events>.global-events-fold>.global-events-summary,#swifties-spotify .swifties-fold,#ebook-matcher-root .ebook-fold>summary,#cooking-home>summary)::after{transition:none!important}}
html.reduce-motion body.page-home :is(.lazy-head[data-fold-key],#latest-news>summary,#premiere-disclosure>summary,#weekly-pick-disclosure>summary,#global-events>.global-events-fold>.global-events-summary,#swifties-spotify .swifties-fold,#ebook-matcher-root .ebook-fold>summary,#cooking-home>summary)::after{transition:none!important}

html body.page-home .lazy-head[data-fold-key="askai"]{
 --ma-fold-icon:url("/assets/brand/matchapp-ai-orbit-fullbleed.svg?v=1");
 background:linear-gradient(115deg,#65409b,#3a235c 55%,#231635)!important;border:1.5px solid #f9d58bbe!important;
 color:#fff5fa!important;border-radius:14px!important;box-shadow:inset 0 1px 0 #ffefc42b,0 8px 24px #05031340!important;
}
html body.page-home .lazy-head[data-fold-key="askai"]::before{
 content:""!important;display:block!important;background:var(--ma-fold-icon) center / contain no-repeat!important;
}

html body.page-home:not(.tv-mode) main.page-wrapper .main-layout>.container :is(#ma-ai-entry,#ma-concierge).lazy-foldable:not(.lazy-open):not(.ma-watch-compact){display:none!important}

/* A single outer edge and fourteen-pixel rhythm for the adult Home pills. */
html body.page-home:not(.tv-mode) main.page-wrapper .main-layout>.container.container.container>:is(.lazy-head[data-fold-key],#ebook-matcher-root,#cooking-home,#latest-news,#premiere-disclosure,#weekly-pick-disclosure,#swifties-spotify,#global-events){
 width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;
 margin:0 0 14px!important;align-self:stretch!important;
}
html body.page-home:not(.tv-mode) main.page-wrapper .main-layout>.container :is(#ebook-matcher-root>.ebook-fold,#global-events>.global-events-fold){
 width:100%!important;max-width:100%!important;box-sizing:border-box!important;margin:0!important;padding:0!important;
}
html body.page-home:not(.tv-mode) main.page-wrapper .main-layout>.container :is(#ebook-matcher-root>.ebook-fold,#cooking-home,#latest-news,#premiere-disclosure,#weekly-pick-disclosure,#swifties-spotify,#global-events>.global-events-fold){
 border:0!important;
}
html body.page-home:not(.tv-mode) main.page-wrapper .main-layout>.container :is(.lazy-head[data-fold-key],#latest-news>summary,#premiere-disclosure>summary,#weekly-pick-disclosure>summary,#global-events>.global-events-fold>.global-events-summary,#swifties-spotify .swifties-fold,#ebook-matcher-root .ebook-fold>summary,#cooking-home>summary){
 border:1.5px solid #f9d58bbe!important;border-radius:999px!important;
}
html body.page-home:not(.tv-mode) main.page-wrapper .main-layout>.container #ebook-matcher-root .ebook-fold>summary>.ebook-summary-icon{display:grid!important;}

/* Round the closed outer surfaces too, so their backgrounds cannot leave
   rectangular corners behind the pill. Expanded content keeps its own layout. */
html body.page-home:not(.tv-mode) main.page-wrapper .main-layout>.container :is(#ebook-matcher-root>.ebook-fold:not([open]),#cooking-home:not([open]),#latest-news:not([open]),#premiere-disclosure:not([open]),#weekly-pick-disclosure:not([open]),#global-events>.global-events-fold:not([open]),#swifties-spotify:has(.swifties-fold[aria-expanded="false"])){
 border-radius:999px!important;overflow:hidden!important;
}

/* Preview reuses the working match criteria API; only its presentation folds. */
html body.page-home:not(.tv-mode) main.page-wrapper .main-layout>.container #ma-concierge.ma-watch-compact{display:block!important;padding:10px 14px!important;margin:0 0 14px!important;}
html body.page-home #ma-concierge.ma-watch-compact>:not(.ma-watch-preview){display:none!important;}
html body.page-home #ma-concierge>.ma-watch-preview{display:none!important;}
html body.page-home #ma-concierge.ma-watch-compact>.ma-watch-preview{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
html body.page-home .ma-watch-preview label{display:grid;gap:4px;min-width:0;color:#f9e8bd;font-size:12px;font-weight:700;line-height:1.2;}
html body.page-home .ma-watch-preview select{box-sizing:border-box;width:100%;min-width:0;min-height:44px;padding:8px 10px;border:1px solid #f9d58b70;border-radius:14px;background:#20172f;color:#fff;font:inherit;font-size:14px;}
html body.page-home .ma-watch-preview select:focus-visible{outline:2px solid #f9d58b;outline-offset:2px;}

/* Final adult Home polish: the same 14px rhythm above Top Titles. */
html body.page-home #matchapp-growth-disclosure{margin-bottom:0!important;}
html body.page-home main.page-wrapper{margin-top:0!important;padding-top:0!important;}
html body.page-home main.page-wrapper>.main-layout{margin-top:0!important;padding-top:0!important;}
html body.page-home main.page-wrapper>.main-layout>.container{margin-top:0!important;padding-top:0!important;}
html body.page-home main.page-wrapper>.main-layout>.container #trending-rail{margin-top:14px!important;}
/* The crest's star sits outside its gold circle: keep its square SVG viewport. */
html body.page-home main.page-wrapper .main-layout>.container .lazy-head[data-fold-key="concierge"]:has(+ #ma-concierge)::before{border-radius:0!important;overflow:visible!important;background-size:contain!important;}
/* A visible, balanced violet/champagne sweep behind the Ask AI introduction. */
html body.page-home #ma-ai-entry #search-box :is(h2,[data-i18n="search.hint"]){position:relative!important;isolation:isolate;overflow:hidden;border-radius:8px;}
html body.page-home #ma-ai-entry #search-box :is(h2,[data-i18n="search.hint"])::before{
 content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
 background:linear-gradient(90deg,#54337445,#9670bc66 24%,#d7b87966 50%,#9670bc66 76%,#54337445);
 background-size:200% 100%;animation:maAskIntroSweep 10s linear infinite;
}
@keyframes maAskIntroSweep{from{background-position:0% 50%}to{background-position:200% 50%}}
/* Paint over the header fill and under its content without clipping menus. */
html body.page-home #mh-topbox.app-header.ma-home-header{position:relative!important;isolation:isolate;}
html body.page-home #mh-topbox.app-header.ma-home-header::before{
 content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:inherit;
 background:linear-gradient(90deg,#9254e766,#d5a1ff66 24%,#fff0bb70 50%,#efb8ff66 76%,#9254e766);
 background-size:200% 100%;animation:maAskIntroSweep 9s linear infinite;
}
@media(prefers-reduced-motion:reduce){html body.page-home #mh-topbox.app-header.ma-home-header::before{animation:none;opacity:.35;}}
html.reduce-motion body.page-home #mh-topbox.app-header.ma-home-header::before{animation:none;opacity:.35;}
/* Translated utility labels can use two lines within their existing grid cell. */
html body.page-home:not(.tv-mode) #mh-topbox.app-header.ma-home-header>nav.mh-deck.ma-header-actions :is(.ma-how-button,.ma-kids-mode-entry,#nav-reg-btn){
 white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.15!important;text-align:center!important;
}
html body.page-home:not(.tv-mode) #mh-topbox.app-header.ma-home-header>nav.mh-deck.ma-header-actions>.ma-kids-mode-entry>span{min-width:0!important;white-space:normal!important;overflow-wrap:anywhere!important;}
html body.page-home:not(.tv-mode) #mh-topbox .ma-brand-tagline{max-width:100%;white-space:normal;overflow-wrap:anywhere;}
html body.page-home #mh-topbox .ma-menu>[role="menuitem"]{white-space:normal!important;overflow-wrap:anywhere!important;height:auto!important;min-height:34px!important;}
@media(prefers-reduced-motion:reduce){html body.page-home #ma-ai-entry #search-box :is(h2,[data-i18n="search.hint"])::before{animation:none;transform:none;opacity:.23;}}
html.reduce-motion body.page-home #ma-ai-entry #search-box :is(h2,[data-i18n="search.hint"])::before{animation:none;transform:none;opacity:.23;}

html body.page-home .ma-final-legal{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px 16px;padding:14px 10px;margin:12px auto 0;max-width:900px;text-align:center;font-size:12px;color:#eadcf5;}
html body.page-home .ma-final-legal nav{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;}
html body.page-home .ma-final-legal a{color:#f4d58e;text-decoration:underline;text-underline-offset:3px;}
html body.page-home .ma-footer-protection{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border:1px solid #c8e8c97a;border-radius:999px;background:linear-gradient(120deg,#173525,#25203e);color:#dcf2dd;font-size:12px;font-weight:700;}
/* Final adult Home design touches: retain existing controls and handlers. */
html body.page-home:not(.tv-mode) main.page-wrapper .main-layout>.container #ebook-matcher-root .ebook-fold>summary :is(.ebook-summary-icon,.ebook-brand-crest){
 border-radius:0!important;overflow:visible!important;clip-path:none!important;
}
html body.page-home:not(.tv-mode) #ma-ai-entry #search-box .search-examples{
 display:flex!important;flex-wrap:nowrap!important;align-items:center!important;
 gap:5px!important;margin-top:8px!important;max-width:100%!important;min-width:0!important;
 overflow-x:auto!important;justify-content:flex-start!important;scrollbar-width:thin;
}
html body.page-home:not(.tv-mode) #ma-ai-entry #search-box .search-examples>span{
 flex:0 0 auto!important;font-size:10px!important;line-height:1.2!important;
}
html body.page-home:not(.tv-mode) #ma-ai-entry #search-box .search-examples>button{
 flex:0 0 auto!important;width:auto!important;max-width:none!important;min-width:0!important;
 min-height:32px!important;height:auto!important;padding:4px 8px!important;margin:0!important;
 font-size:11px!important;line-height:1.25!important;border-radius:999px!important;
 white-space:nowrap!important;overflow-wrap:normal!important;
}
html body.page-home:not(.tv-mode) #mh-topbox.app-header.ma-home-header .ma-brand-home-link{
 gap:8px!important;
}
html body.page-home:not(.tv-mode) #mh-topbox.app-header.ma-home-header>nav.mh-deck.ma-header-actions{
 gap:4px!important;align-items:center!important;min-height:0!important;
}
@media(max-width:600px){
 html body.page-home:not(.tv-mode) #mh-topbox.app-header.ma-home-header>nav.mh-deck.ma-header-actions{
  justify-items:stretch!important;
 }
 html body.page-home:not(.tv-mode) #mh-topbox.app-header.ma-home-header>nav.mh-deck.ma-header-actions>:is(.sound-toggle-btn,.matchapp-notification-button,#profile-link-tab,#nav-logout-btn){
  width:100%!important;min-width:0!important;max-width:100%!important;justify-self:stretch!important;
 }
}

/* Frame the existing avatar link like its neighboring utility buttons. */
html body.page-home:not(.tv-mode) #mh-topbox.app-header.ma-home-header>nav.mh-deck.ma-header-actions>a#profile-link-tab.nav-avatar-link{
 box-sizing:border-box!important;width:40px!important;min-width:40px!important;
 height:38px!important;min-height:38px!important;padding:0!important;
 border:1px solid rgba(229,193,88,.34)!important;border-radius:var(--r-md,11px)!important;
 background:rgba(255,255,255,.055)!important;box-shadow:inset 0 1px rgba(255,255,255,.12),0 3px 8px #0003!important;
 align-items:center!important;justify-content:center!important;
}
html body.page-home:not(.tv-mode) #mh-topbox.app-header.ma-home-header>nav.mh-deck.ma-header-actions>a#profile-link-tab.nav-avatar-link>.avatar-ring{
 width:28px!important;min-width:28px!important;height:28px!important;min-height:28px!important;
 padding:2px!important;
}
@media(max-width:1024px){
 html body.page-home:not(.tv-mode) #mh-topbox.app-header.ma-home-header>nav.mh-deck.ma-header-actions>a#profile-link-tab.nav-avatar-link{
  width:100%!important;min-width:0!important;max-width:100%!important;height:44px!important;min-height:44px!important;
 }
 html body.page-home:not(.tv-mode) #mh-topbox.app-header.ma-home-header>nav.mh-deck.ma-header-actions>a#profile-link-tab.nav-avatar-link>.avatar-ring{
  width:34px!important;min-width:34px!important;height:34px!important;min-height:34px!important;
 }
}
@media(max-width:600px){
 html body.page-home:not(.tv-mode) #mh-topbox.app-header.ma-home-header>nav.mh-deck.ma-header-actions>a#profile-link-tab.nav-avatar-link{
  height:34px!important;min-height:34px!important;border-radius:10px!important;
 }
 html body.page-home:not(.tv-mode) #mh-topbox.app-header.ma-home-header>nav.mh-deck.ma-header-actions>a#profile-link-tab.nav-avatar-link>.avatar-ring{
  width:26px!important;min-width:26px!important;height:26px!important;min-height:26px!important;
 }
}
@media(min-width:601px) and (max-width:1024px){
 html body.page-home:not(.tv-mode) #mh-topbox.app-header.ma-home-header>nav.mh-deck.ma-header-actions{
  display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr))!important;
  grid-auto-rows:minmax(44px,auto)!important;justify-items:stretch!important;
 }
 html body.page-home:not(.tv-mode) #mh-topbox.app-header.ma-home-header>nav.mh-deck.ma-header-actions>:is(#lang-switcher-host,.sound-toggle-btn,.matchapp-notification-button,#profile-link-tab,#nav-reg-btn,#nav-logout-btn,.ma-kids-mode-entry,.ma-how-button,.ma-menu-wrap){
  width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;
 }
 html body.page-home:not(.tv-mode) #mh-topbox.app-header.ma-home-header>nav.mh-deck.ma-header-actions>#lang-switcher-host{grid-column:1/5!important;grid-row:1!important;}
 html body.page-home:not(.tv-mode) #mh-topbox.app-header.ma-home-header>nav.mh-deck.ma-header-actions>.sound-toggle-btn{grid-column:5/7!important;grid-row:1!important;}
 html body.page-home:not(.tv-mode) #mh-topbox.app-header.ma-home-header>nav.mh-deck.ma-header-actions>.matchapp-notification-button{grid-column:7/9!important;grid-row:1!important;}
 html body.page-home:not(.tv-mode) #mh-topbox.app-header.ma-home-header>nav.mh-deck.ma-header-actions>#profile-link-tab{grid-column:9/11!important;grid-row:1!important;justify-content:center!important;}
 html body.page-home:not(.tv-mode) #mh-topbox.app-header.ma-home-header>nav.mh-deck.ma-header-actions>#nav-reg-btn{grid-column:9/13!important;grid-row:1!important;}
 html body.page-home:not(.tv-mode) #mh-topbox.app-header.ma-home-header>nav.mh-deck.ma-header-actions>#nav-logout-btn{grid-column:11/13!important;grid-row:1!important;}
 html body.page-home:not(.tv-mode) #mh-topbox.app-header.ma-home-header>nav.mh-deck.ma-header-actions>.ma-kids-mode-entry{grid-column:1/6!important;grid-row:2!important;}
 html body.page-home:not(.tv-mode) #mh-topbox.app-header.ma-home-header>nav.mh-deck.ma-header-actions>.ma-how-button{grid-column:6/11!important;grid-row:2!important;}
 html body.page-home:not(.tv-mode) #mh-topbox.app-header.ma-home-header>nav.mh-deck.ma-header-actions>.ma-menu-wrap{grid-column:11/13!important;grid-row:2!important;}
 html body.page-home:not(.tv-mode) #mh-topbox.app-header.ma-home-header>nav.mh-deck.ma-header-actions>.ma-menu-wrap>.ma-menu-button{width:100%!important;justify-content:center!important;}
 html body.page-home:not(.tv-mode) #mh-topbox.app-header.ma-home-header>nav.mh-deck.ma-header-actions :is(button,select,.ma-kids-mode-entry,#lang-switcher-host,.ma-menu-wrap){
  box-sizing:border-box!important;height:44px!important;min-height:44px!important;
 }
 html body.page-home:not(.tv-mode) #mh-topbox.app-header.ma-home-header>nav.mh-deck.ma-header-actions>#lang-switcher-host>select{
  width:100%!important;min-width:0!important;max-width:100%!important;
 }
}

/* One AI example stays within its own compact button on every viewport. */
html body.page-home #ma-ai-entry #search-box .search-examples{
 display:block!important;overflow:visible!important;margin-top:8px!important;
}
html body.page-home #ma-ai-entry #search-box .search-examples>button[data-ai-example]{
 display:block!important;box-sizing:border-box!important;width:auto!important;max-width:100%!important;
 min-width:0!important;min-height:32px!important;padding:6px 10px!important;font-size:clamp(10px,2.5vw,12px)!important;
 line-height:1.3!important;white-space:nowrap!important;overflow-wrap:normal!important;
}

/* Top Titles poster frame: preserve every complete original poster without
   cropping or stretching, centered inside the rounded MatchApp gold frame. */
html body.page-home #trending-rail .marquee-item{
 aspect-ratio:2/3!important;height:auto!important;
}
html body.page-home #trending-rail .marquee-item:not([data-music-video]){
 box-sizing:border-box!important;overflow:hidden!important;padding:3px!important;
 border:2px solid rgba(229,193,88,.82)!important;border-radius:18px!important;
 background:linear-gradient(155deg,rgba(241,211,121,.22),rgba(12,9,18,.98) 18%,rgba(12,9,18,.98) 82%,rgba(168,108,36,.22))!important;
 box-shadow:0 13px 30px rgba(0,0,0,.36),0 0 0 1px rgba(255,243,163,.08) inset!important;
}
html body.page-home #trending-rail .marquee-item:not([data-music-video]) .marquee-title{
 display:none!important;
}
html body.page-home #trending-rail .marquee-item:not([data-music-video])>img{
 display:block!important;box-sizing:border-box!important;
 width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;
 aspect-ratio:auto!important;object-fit:contain!important;object-position:50% 50%!important;
 border-radius:13px!important;background:#0b0910!important;
}

/* REGIONAL TOP TITLES SEAMLESS NATIVE LOOP — owner approved 2026-10-02.
   The mirrored second half hides the wrap, while the real scroll viewport stays
   swipeable in BOTH directions on phones, tablets, desktop and Android WebView. */
html body.page-home #trending-rail .marquee-arrow{display:none!important}
html body.page-home #trending-rail .marquee-viewport[data-matchapp-autoplay-active="1"]{
 overflow-x:auto!important;overflow-y:hidden!important;touch-action:pan-x pan-y!important;
 overscroll-behavior-x:contain!important;-webkit-overflow-scrolling:touch!important;
 scrollbar-width:none!important;cursor:grab!important;scroll-snap-type:none!important;
}
html body.page-home #trending-rail .marquee-viewport[data-matchapp-autoplay-active="1"]::-webkit-scrollbar{display:none!important}
html body.page-home #trending-rail .marquee-viewport.is-dragging{cursor:grabbing!important;scroll-behavior:auto!important}
html body.page-home #trending-rail .marquee-track.is-marquee-flowing{
 animation:none!important;transform:none!important;will-change:auto!important;scroll-snap-type:none!important;
}
html body.page-home #trending-rail .marquee-track.is-marquee-flowing>.marquee-item{scroll-snap-align:none!important}
@media(prefers-reduced-motion:reduce){
 html body.page-home #trending-rail .marquee-track.is-marquee-flowing{animation:none!important;transform:none!important;will-change:auto!important}
}


/* PREMIUM COHERENCE 2026-10-02
   Visual-only final layer: retain each fold's unique signature crest/color,
   but move the adult Home from saturated panels to a calmer premium feed. */
html body.page-home:not(.tv-mode){
 --ma-surface-0:#0b0910;
 --ma-surface-1:#121019;
 --ma-line-soft:rgba(245,217,158,.24);
 --ma-line-focus:rgba(245,217,158,.48);
 --ma-text-soft:#d7cedd;
}
html body.page-home:not(.tv-mode) main.page-wrapper .main-layout>.container :is(
 .lazy-head[data-fold-key],
 #latest-news>summary,
 #premiere-disclosure>summary,
 #weekly-pick-disclosure>summary,
 #global-events>.global-events-fold>.global-events-summary,
 #swifties-spotify .swifties-fold,
 #ebook-matcher-root .ebook-fold>summary,
 #cooking-home>summary,
 .match-more-filters>summary,
 .seo-fold-summary
){
 background:
  linear-gradient(112deg,
   color-mix(in srgb,var(--ma-fold-a,#6d4c80) 22%,#151119 78%) 0%,
   rgba(15,12,20,.98) 62%,
   rgba(10,9,14,.99) 100%)!important;
 border:1px solid var(--ma-line-soft)!important;
 box-shadow:
  inset 3px 0 0 color-mix(in srgb,var(--ma-fold-a,#8b62a8) 52%,#e9c978 48%),
  inset 0 1px 0 rgba(255,255,255,.045),
  0 7px 18px rgba(0,0,0,.22)!important;
 color:#f7f2fb!important;
 text-shadow:none!important;
}
html body.page-home:not(.tv-mode) main.page-wrapper .main-layout>.container :is(
 .lazy-head[data-fold-key],
 #latest-news>summary,
 #premiere-disclosure>summary,
 #weekly-pick-disclosure>summary,
 #global-events>.global-events-fold>.global-events-summary,
 #swifties-spotify .swifties-fold,
 #ebook-matcher-root .ebook-fold>summary,
 #cooking-home>summary
):hover{
 border-color:var(--ma-line-focus)!important;
 filter:brightness(1.035);
}
html body.page-home:not(.tv-mode) main.page-wrapper .main-layout>.container :is(
 .lazy-head[data-fold-key],
 #latest-news>summary,
 #premiere-disclosure>summary,
 #weekly-pick-disclosure>summary,
 #global-events>.global-events-fold>.global-events-summary,
 #swifties-spotify .swifties-fold,
 #ebook-matcher-root .ebook-fold>summary,
 #cooking-home>summary
)::before{
 filter:drop-shadow(0 3px 7px rgba(0,0,0,.28))!important;
}
html body.page-home:not(.tv-mode) main.page-wrapper .main-layout>.container :is(
 .lazy-head[data-fold-key],
 #latest-news>summary,
 #premiere-disclosure>summary,
 #weekly-pick-disclosure>summary,
 #global-events>.global-events-fold>.global-events-summary,
 #swifties-spotify .swifties-fold,
 #ebook-matcher-root .ebook-fold>summary,
 #cooking-home>summary
)::after{
 border-color:rgba(244,214,151,.34)!important;
 background-color:rgba(255,255,255,.035)!important;
 box-shadow:none!important;
}
@media(min-width:1025px){
 html body.page-home:not(.tv-mode) main.page-wrapper .main-layout>.container :is(
  .lazy-head[data-fold-key],
  #latest-news>summary,
  #premiere-disclosure>summary,
  #weekly-pick-disclosure>summary,
  #global-events>.global-events-fold>.global-events-summary,
  #swifties-spotify .swifties-fold,
  #ebook-matcher-root .ebook-fold>summary,
  #cooking-home>summary
 ){
  grid-template-columns:36px minmax(0,1fr) 30px!important;
  min-height:56px!important;
  padding:7px 14px!important;
  gap:10px!important;
  border-radius:999px!important;
 }
 html body.page-home:not(.tv-mode) main.page-wrapper .main-layout>.container :is(
  .lazy-head[data-fold-key],
  #latest-news>summary,
  #premiere-disclosure>summary,
  #weekly-pick-disclosure>summary,
  #global-events>.global-events-fold>.global-events-summary,
  #swifties-spotify .swifties-fold,
  #ebook-matcher-root .ebook-fold>summary,
  #cooking-home>summary
 )::before,
 html body.page-home:not(.tv-mode) main.page-wrapper .main-layout>.container #cooking-home>summary>img,
 html body.page-home:not(.tv-mode) main.page-wrapper .main-layout>.container #ebook-matcher-root .ebook-fold>summary>.ebook-summary-icon{
  width:34px!important;height:34px!important;flex-basis:34px!important;
 }
 html body.page-home:not(.tv-mode) main.page-wrapper .main-layout>.container :is(
  .lazy-head[data-fold-key],
  #latest-news>summary,
  #premiere-disclosure>summary,
  #weekly-pick-disclosure>summary,
  #global-events>.global-events-fold>.global-events-summary,
  #swifties-spotify .swifties-fold,
  #ebook-matcher-root .ebook-fold>summary,
  #cooking-home>summary
 )::after{
  width:28px!important;height:28px!important;border-radius:50%!important;background-size:18px 18px!important;
 }
}
html body.page-home #trending-rail.marquee-wrapper{
 background:linear-gradient(160deg,rgba(15,12,20,.90),rgba(7,7,11,.94))!important;
 border:1px solid rgba(242,207,105,.24)!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 10px 24px rgba(0,0,0,.20)!important;
}
html body.page-home #trending-rail .trending-week-label{
 margin:5px 14px 8px!important;
 font:700 13px/1.25 Outfit,Inter,system-ui,sans-serif!important;
 letter-spacing:.04em!important;
 color:#e8d9b2!important;
 text-transform:uppercase!important;
}
html body.page-home #trending-rail .marquee-item:not([data-music-video]){
 border-width:1px!important;
 border-color:rgba(230,198,117,.48)!important;
 border-radius:16px!important;
 background:#0b0910!important;
 box-shadow:0 8px 18px rgba(0,0,0,.28)!important;
}
html body.page-home #trending-rail .marquee-item:not([data-music-video])>img{
 border-radius:14px!important;
}
@media(hover:hover){
 html body.page-home #trending-rail .marquee-item:not([data-music-video]):hover{
  transform:translateY(-3px) scale(1.015)!important;
  border-color:rgba(245,219,155,.72)!important;
  box-shadow:0 14px 26px rgba(0,0,0,.34)!important;
 }
}
@media(prefers-reduced-motion:reduce){
 html body.page-home:not(.tv-mode) main.page-wrapper .main-layout>.container :is(
  .lazy-head[data-fold-key],#latest-news>summary,#premiere-disclosure>summary,#weekly-pick-disclosure>summary,
  #global-events>.global-events-fold>.global-events-summary,#swifties-spotify .swifties-fold,
  #ebook-matcher-root .ebook-fold>summary,#cooking-home>summary
 ){filter:none!important}
 html body.page-home #trending-rail .marquee-item:not([data-music-video]):hover{transform:none!important}
}
