/* Shared guest/member presentation, from the owner's final 18 October mockup. */
:root{--surface-radius:10px;--radius:10px;--layout-gap:16px;--catalog-gap:28px}
body.login h1 a{background-image:url('../images/client-logo-20261018.png')}
body.login :is(form,.message,.success,#login_error){border-radius:10px}
body :is(.shell,.faq__item,.contacts-channel,.account-sidebar,.account-offer-plan,.account-notice,.account-statistics>div,.rrm-cookie,.rrm-video-placeholder){border-radius:10px}
body .site-main .shell{border-radius:10px!important}
body :is(.game-navigator__item,.days-calendar__event,.single-material__hero){border-radius:10px}
body :is(.premium-banner,.site-quick-nav,.home-catalog>.shell,.catalog-page>.shell,.home-store-products,.site-side-catalog,.site-footer__grid,.site-footer__bottom,.article-card,.single-material,.page-panel,.contact-panel,.faq-panel,.account-panel,.account-card,.rrm-plan,.rrm-checkout__step,.rrm-subscription__status,.download-access-dialog,.cookie-dialog,.cookie-banner,.store-product-card){border-radius:10px}
body .material-card .material-card__frame{border-radius:0}
body .site-header .header-carousel__copy{background-size:100% 100%;background-position:right bottom}
body .site-header__main>.brand{align-self:center;justify-self:start}
body .site-header__main .brand__image{width:100%;height:auto;max-height:240px;object-fit:contain;object-position:left center}
body .site-header{border-bottom:0}
body .site-header__controls-zone{padding:16px 0 0}
body .home-layout,body .site-layout{gap:var(--layout-gap)}
body.home .home-layout{gap:var(--layout-gap)}
body .site-quick-nav{margin-top:var(--layout-gap);overflow:hidden}
body.home .home-layout{margin-top:var(--layout-gap);margin-bottom:var(--layout-gap)}
body .home-sidebar-column{gap:var(--layout-gap)}
body .home-store-products__header,body.home .home-store-products__header,body .site-layout .home-store-products__header{text-align:center;margin:0 0 22px}
body .home-store-products .store-product-card{width:100%;margin-inline:auto}
body .home-store-products__list{align-items:start}
body :is(#home-catalog-title,.catalog-page .page-title){text-align:center}
body :is(.home-catalog,.catalog-page) .catalog-tools{align-items:start;gap:14px}
body :is(.home-catalog,.catalog-page) .catalog-tools .search-form,
body :is(.home-catalog,.catalog-page) .catalog-filters{border:1px solid #b58ddb;border-radius:10px}
body :is(.home-catalog,.catalog-page) .catalog-tools .search-form,
body :is(.home-catalog,.catalog-page) .catalog-filters:not([open]){height:48px;min-height:48px}
body :is(.home-catalog,.catalog-page) .catalog-tools .search-form input{height:46px;min-height:46px;border:0;box-shadow:none}
body :is(.home-catalog,.catalog-page) .catalog-filters{padding:0 14px}
body :is(.home-catalog,.catalog-page) .catalog-filters>summary{min-height:46px;display:flex;align-items:center}
body :is(.home-catalog,.catalog-page) .catalog-filters[open]{height:auto;padding-bottom:14px}
body .home-store-products .store-product-card__footer strong,
body.home .store-product-card__footer strong,
body .site-layout .store-product-card__footer strong{font-size:16px!important;line-height:1.25}
body .home-store-products .store-product-card__footer>a{font-size:16px!important;line-height:1.25}
body .material-grid .material-card__premium{width:68px;height:68px;top:-25px;right:-12px}
body .material-grid .material-card__premium img{width:100%;height:100%;object-fit:contain}
body .site-page-end__main>.rr-ad,body .home-ad-showcase,body .ad-row-group{margin-block:var(--layout-gap)}
body .home-ad-showcase{padding:0}
body .ad-row,body .home-ad-showcase .home-ad-showcase__grid{gap:var(--layout-gap)}
body .site-footer{padding-top:var(--layout-gap)}
@media(min-width:1081px){
 body.home .home-layout{grid-template-columns:minmax(0,1fr) 278px}
 body .site-layout{grid-template-columns:minmax(0,1fr) 278px}
 body .site-layout:has(.catalog-page) .home-sidebar-column{margin-top:24px}
 body .home-store-products,body.home .home-store-products,body .site-layout .home-store-products{padding:11px 15px 18px}
 body .home-store-products .home-store-products__header h2{font-size:30px!important;line-height:1.25!important}
}
@media(max-width:1080px){
 body.home .home-sidebar-column{margin-top:0}
}
@media(max-width:680px){
 body .site-header__main>.brand{justify-self:center}
 body .site-header__main .brand__image{max-height:180px;object-position:center}
 body :is(.home-catalog,.catalog-page) .catalog-tools{grid-template-columns:1fr;gap:10px}
 body .material-grid .material-card__premium{width:50px;height:50px;top:-13px;right:-6px}
 body .home-store-products__header,body.home .home-store-products__header{margin-bottom:16px}
 body .site-header .header-carousel__copy{background-size:100% 100%}
}

/* Optical heading bars and equal visible gaps, 19 October clarification. */
body .site-header .header-carousel{border-radius:26px}
body.home .home-catalog>.shell{padding-top:0}
body.home #home-catalog-title{margin:0;padding:16px 0;text-align:center}
body .home-store-products,body.home .home-store-products,body .site-layout .home-store-products{padding-top:0;padding-inline:15px}
body .home-store-products__header,body.home .home-store-products__header,body .site-layout .home-store-products__header{margin:0 -15px;padding:16px 8px;text-align:center}
body .home-store-products .home-store-products__header h2{text-align:center;margin:0;white-space:normal;overflow-wrap:normal}
body.home .catalog-tools,body .catalog-page .catalog-tools{margin-bottom:var(--catalog-gap)}
body.home .material-grid,body .site-layout .material-grid{row-gap:var(--catalog-gap)}
body.home .material-grid>.material-card,body .site-layout .material-grid>.material-card{padding-top:0}
body .material-grid>.material-grid__ad{margin-block:0}
body .material-grid .ad-row{margin-block:0}
body .site-footer{padding-top:0}
@media(max-width:1080px){
 body .home-sidebar-column,body.home .home-sidebar-column{margin:var(--layout-gap) auto 0}
}
body .site-layout{margin-bottom:var(--layout-gap)}

/* 20 October: the search picker replaces the separate sidebar catalogue. */
body .catalog-filters__groups{display:block;padding-top:16px}
body .catalog-filters[open]>summary{padding:10px 6px;font-size:28px!important;line-height:1.25;font-weight:700}
body .catalog-filters__section{border-bottom:1px solid #e5dced;background:#fff}
body .catalog-filters__section:last-child{border-bottom:0}
body .catalog-filters__section>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:52px;padding:12px 20px;list-style:none;font-size:20px!important;font-weight:500}
body .catalog-filters__section>summary::-webkit-details-marker{display:none}
body .catalog-filters__section>summary::after{content:'+';font-size:24px;line-height:1}
body .catalog-filters__section[open]>summary{background:#eee7f8}
body .catalog-filters__section[open]>summary::after{content:'\2212'}
body .catalog-filters__section ul{max-height:320px;margin:0;padding:14px 36px 22px;background:#f8f4fc;overflow-y:auto}
body .catalog-filters__section li{list-style:none}
body .catalog-filters__section a{display:block;padding:7px 0;line-height:1.4}
body .catalog-filters__section :is(summary,a):focus-visible{outline:2px solid #704bb0;outline-offset:-2px}
/* Both banner texts share a size; the phone action remains an arrow. */
html[lang^=en] .site-header .premium-banner{--premium-type:25px}
html[lang^=en] body .site-header :is(.premium-banner__copy,.premium-banner__cta){font-size:var(--premium-type)!important}
html[lang^=en] .site-header .premium-banner__cta-label{font-size:inherit!important;text-transform:none}
@media(max-width:1080px){html[lang^=en] .site-header .premium-banner{--premium-type:22px}}
@media(max-width:680px){html[lang^=en] .site-header .premium-banner{--premium-type:20px}body .catalog-filters[open]>summary{font-size:22px!important}body .catalog-filters__section>summary{padding:12px;font-size:18px!important}body .catalog-filters__section ul{padding-inline:24px}}
@media(min-width:1081px){
 /* Match the catalogue's bottom inset so the shop link aligns with pagination. */
 body.home .home-store-products,
 body .site-layout .home-store-products{padding-bottom:28px}
 body.home .home-store-products.is-height-filled .home-store-products__list,
 body .site-layout .home-store-products.is-height-filled .home-store-products__list{flex:1 1 auto;justify-content:space-between;gap:16px}
}

/* Nested topic/skill groups retain native keyboard-accessible disclosure controls. */
body .catalog-filters__section .catalog-filters__tree{max-height:none;overflow:visible;list-style:none;margin:0;padding:8px 20px 16px;background:#f8f4fc}
body .catalog-filters__branch{border-bottom:1px solid #e5dced}
body .catalog-filters__branch>summary{display:flex;align-items:center;gap:14px;min-height:48px;padding:10px 12px;list-style:none;font-size:19px!important;line-height:1.4;cursor:pointer}
body .catalog-filters__branch>summary::-webkit-details-marker{display:none}
body .catalog-filters__branch>summary::before{content:'›';font-size:26px;line-height:1;transition:transform .15s}
body .catalog-filters__branch[open]>summary{background:#f0eafa}
body .catalog-filters__branch[open]>summary::before{transform:rotate(90deg)}
body .catalog-filters__branch-content{padding:4px 14px 12px 42px}
body .catalog-filters__branch-content>.catalog-filters__all{font-size:16px!important;text-decoration:underline;text-underline-offset:3px}
body .catalog-filters__section .catalog-filters__branch-content>.catalog-filters__tree{display:block;column-count:2;column-gap:24px;padding:4px 0;background:transparent}
body .catalog-filters .catalog-filters__section-link{display:block;border-bottom:1px solid #e5dced;padding:14px 20px;font-size:20px!important;line-height:1.4;text-decoration:none}
body .catalog-filters .catalog-filters__section-link:hover{background:#eee7f8}
@media(max-width:680px){
 body .catalog-filters__section .catalog-filters__tree{padding-inline:12px}
 body .catalog-filters__branch>summary{padding-inline:4px;font-size:18px!important}
 body .catalog-filters__branch-content{padding-inline:22px 4px}
 body .catalog-filters__section .catalog-filters__branch-content>.catalog-filters__tree{column-count:1;padding-inline:0}
 body .catalog-filters .catalog-filters__section-link{padding-inline:12px;font-size:18px!important}
}
body .catalog-filters__branch-content>.catalog-filters__tree>li{break-inside:avoid}
