/* style.css */
:root{--bg:#111210;--panel:#1b1c19;--line:#34352f;--muted:#aaa99f;--white:#f1f0e9;--orange:#ff641f;--radius:20px;font-family:Arial,Helvetica,sans-serif;color:var(--white);background:var(--bg);color-scheme:dark}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}a{color:inherit;text-decoration:none}button,a,input,select{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--orange);outline-offset:5px}button{color:inherit}input,select{min-width:0;border:1px solid var(--line);background:#20211d;color:var(--white);border-radius:10px;padding:14px}select{cursor:pointer}label{display:flex;flex-direction:column;gap:8px;font-size:13px;color:var(--muted)}p{line-height:1.55}svg{fill:none;stroke:currentColor;stroke-width:1.5;width:22px;height:22px}.skip{position:fixed;left:15px;top:-100px;z-index:20;background:var(--orange);padding:10px}.skip:focus{top:15px}.connection{padding:9px 30px;border-bottom:1px solid var(--line);font-size:11px;letter-spacing:.04em;color:#c0bfb5;display:flex;gap:9px;align-items:center;justify-content:center}.status-dot{width:6px;height:6px;background:var(--orange);border-radius:50%;flex-shrink:0}.connection.live .status-dot{background:#7ddb8e}.header{max-width:1600px;margin:auto;min-height:110px;display:flex;align-items:center;gap:30px;padding:25px 5vw;position:relative}.brand{font-size:21px;font-weight:900;letter-spacing:-1px;display:inline-flex;flex-direction:column;line-height:1}.nav{display:flex;align-items:center;gap:23px;margin:auto;font-size:12px}.nav a{padding:10px 0;border-bottom:1px solid transparent}.header-actions{display:flex;gap:12px;align-items:center}.icon-button{position:relative;display:flex;align-items:center;justify-content:center;width:36px;height:36px;border:0;background:transparent;font-size:21px}.account-link{border:1px solid #62635b;border-radius:25px;padding:12px 20px;font-size:12px;margin-left:7px}.account-link span{padding-left:14px;color:var(--orange)}.menu-btn{display:none}.count{background:var(--orange);color:#111;font-size:9px;border-radius:20px;position:absolute;right:-3px;top:0;min-width:15px;height:15px;align-content:center}.count[hidden]{display:none}main{min-height:65vh}.page{max-width:1440px;margin:auto;padding:45px 5vw 80px}.eyebrow{text-transform:uppercase;font-size:11px;letter-spacing:2px;color:var(--muted);display:flex;align-items:center;gap:14px}.eyebrow:before{content:'';height:1px;width:32px;background:var(--orange)}h1,h2,h3,p{margin-top:0}h1,h2{font-weight:900;letter-spacing:-.055em;line-height:.98}h1{font-size:clamp(42px,6.7vw,105px)}h2{font-size:clamp(32px,4vw,62px)}h3{font-size:20px;letter-spacing:-.025em;line-height:1.2}.hero{position:relative;max-width:1500px;margin:0 auto 20px;min-height:660px;padding:65px 5vw 65px;overflow:hidden}.hero-copy{position:relative;z-index:2;width:61%;pointer-events:none}.hero-copy a{pointer-events:auto}.hero h1{font-size:clamp(50px,7.7vw,118px);max-width:890px;margin:30px 0 28px;line-height:.92;letter-spacing:-.065em}.hero p{font-size:14px;color:#bebeb4;max-width:335px;margin-bottom:30px}.hero-image{position:absolute;right:5vw;top:0;width:37%;height:610px;border-radius:190px 190px 16px 16px;overflow:hidden;background:#3a3a37;transform:rotate(2deg)}.hero-image img{width:100%;height:100%;object-fit:cover;object-position:58% 42%;display:block}.hero-image:after{content:'';position:absolute;inset:0;box-shadow:inset 0 -75px 70px -50px #111210}.hero-name{position:absolute;right:18px;bottom:24px;z-index:1;text-align:right;font-size:11px;letter-spacing:1.2px}.hero-name strong{font-size:16px;display:block;margin-top:6px}.hero-stamp{position:absolute;right:38vw;bottom:54px;width:125px;height:125px;border-radius:50%;background:var(--orange);color:#141510;display:grid;place-content:center;text-align:center;transform:rotate(-12deg);z-index:3;font-weight:bold;font-size:13px;line-height:1.45}.hero-stamp span{font-size:35px;font-weight:400;line-height:1.2}.button{border:1px solid var(--orange);display:inline-flex;justify-content:center;align-items:center;gap:26px;background:var(--orange);color:#151611;font-weight:700;}.button.secondary{background:transparent;color:var(--white);border-color:#56574d}.button.small{gap:15px}.button:hover{filter:brightness(1.07)}.section-rail{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);max-width:1440px;margin:0 auto;padding:0 5vw}.rail-item{padding:28px 0;display:flex;gap:18px;align-items:center;position:relative}.rail-item:not(:last-child){margin-right:30px;border-right:1px solid var(--line)}.rail-item span{font-size:11px;color:var(--orange)}.rail-item strong{font-size:14px;font-weight:500}.rail-item i{margin-left:auto;margin-right:24px;font-style:normal;font-size:21px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:30px;margin:70px 0 30px}.section-heading h2{margin:15px 0 0}.section-heading p{max-width:340px;color:var(--muted);font-size:13px}.tabs{display:flex;gap:8px;overflow:auto;margin:26px 0}.chip{white-space:nowrap;padding:11px 18px;border:1px solid var(--line);background:transparent;border-radius:25px;font-size:12px}.chip.active{color:#151611;border-color:var(--orange);background:var(--orange)}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.product-card{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:var(--panel);display:flex;flex-direction:column}.card-media{position:relative;aspect-ratio:1.6;overflow:hidden;background:#252621;cursor:pointer;border:0;text-align:left;padding:0;width:100%}.card-media img{width:100%;height:100%;object-fit:cover;transition:transform .4s;object-position:center 34%}.card-media:hover img{transform:scale(1.025)}.card-media .card-tag{position:absolute;left:17px;top:17px;font-size:9px;padding:8px 11px;border-radius:16px;background:#111210d9;letter-spacing:1px;text-transform:uppercase}.card-number{position:absolute;bottom:14px;left:18px;font-weight:900;font-size:50px;letter-spacing:-4px;color:#f1f0e9e6}.music-art{background:var(--orange);height:100%;color:#191a16;padding:25px;display:flex;flex-direction:column;justify-content:space-between}.music-art>span{font-size:10px;font-weight:700;letter-spacing:2px}.music-art strong{font-size:45px;letter-spacing:-3px;line-height:1}.wave{height:34px;display:flex;gap:4px;align-items:center;overflow:hidden}.wave i{display:block;flex:1;background:currentColor;border-radius:2px;max-width:5px}.card-copy{padding:22px;flex:1;display:flex;flex-direction:column}.card-copy h3{margin:12px 0 10px}.card-title{font:inherit;color:inherit;background:none;padding:0;border:0;text-align:left}.card-meta{font-size:10px;letter-spacing:1px;color:var(--muted);text-transform:uppercase}.card-subtitle{font-size:12px;color:var(--muted);margin:0 0 18px}.card-bottom{display:flex;align-items:center;margin-top:auto;gap:12px;padding-top:18px;border-top:1px solid var(--line)}.card-price{font-size:16px;font-weight:700}.card-price small{display:block;font-size:9px;color:var(--muted);font-weight:400;margin-top:5px}.card-bottom .icon-button{margin-left:auto;color:var(--orange)}.favorite{position:absolute;right:14px;top:14px;border:1px solid #f1f0e94d;background:#111210c9;border-radius:50%;color:var(--white);font-size:18px;z-index:1}.favorite.on{color:var(--orange)}.card-media-wrap{position:relative}.about-split{display:grid;grid-template-columns:1fr 1.1fr;gap:60px;margin-top:90px;align-items:center}.about-photo{height:460px;border-radius:200px 200px 15px 15px;overflow:hidden}.about-photo img{width:100%;height:100%;object-fit:cover;object-position:center 40%}.about-split h2{margin:25px 0}.about-split p{color:var(--muted);font-size:14px;max-width:440px}.tools-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:70px}.tool-card{border-top:1px solid var(--line);padding:25px 0}.tool-card span{font-size:11px;color:var(--orange)}.tool-card h3{margin:20px 0 12px}.tool-card p{color:var(--muted);font-size:12px;max-width:260px}.tool-card a{font-size:12px;color:var(--orange)}.page-title{margin:18px 0 20px;max-width:1050px}.page-intro{max-width:600px;color:var(--muted);font-size:14px}.catalog-toolbar{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:12px;margin:34px 0 15px}.search-wrap{position:relative}.search-wrap input{width:100%;padding-left:40px}.search-wrap:before{content:'⌕';position:absolute;top:11px;left:14px;font-size:24px;color:var(--muted)}.results-count{margin:20px 0;color:var(--muted);font-size:11px;display:flex;justify-content:space-between}.empty{padding:65px 25px;border:1px dashed var(--line);border-radius:20px;text-align:center}.empty h3{font-size:24px}.empty p{font-size:13px;color:var(--muted);max-width:500px;margin:15px auto 25px}.notice{border:1px solid #806040;background:#30261c;padding:16px 20px;border-radius:12px;font-size:12px;line-height:1.6;color:#dccdbb;margin:25px 0}.notice strong{color:var(--white)}.notice a{text-decoration:underline}.muted{color:var(--muted)}.text-button{border:0;padding:0;background:transparent;text-align:left;font-size:inherit;cursor:pointer;color:inherit}.text-button:hover{color:var(--orange)}footer{border-top:1px solid var(--line);padding:45px 5vw;max-width:1600px;margin:auto;display:grid;grid-template-columns:1fr 1fr 1fr;gap:30px;font-size:12px}footer p{color:var(--muted)}footer>div{display:flex;flex-direction:column;gap:15px}footer small{grid-column:1/-1;padding-top:25px;color:#76786c;font-size:10px}dialog{padding:0;border:1px solid var(--line);border-radius:24px;background:#191a17;color:var(--white);width:min(940px,calc(100% - 28px));max-height:90vh;overflow:auto}dialog::backdrop{background:#000a;backdrop-filter:blur(6px)}.close{position:absolute;right:15px;top:15px;width:34px;height:34px;border:1px solid #64655c;border-radius:50%;background:#111210e9;font-size:23px;z-index:5}.modal-content{padding:40px}.modal-content h2{font-size:37px;line-height:1.05;margin:17px 35px 20px 0}.modal-content h3{margin-top:30px}.modal-content p{font-size:14px;color:var(--muted)}.detail{display:grid;grid-template-columns:.9fr 1.1fr}.detail-visual{min-height:470px;position:relative;overflow:hidden;border-radius:24px 0 0 24px}.detail-visual img{width:100%;height:100%;position:absolute;object-fit:cover;object-position:center 30%}.detail-visual .music-art{height:100%;min-height:470px;padding:45px}.detail-content{padding:50px 30px 30px}.detail-content h2{font-size:37px;line-height:1.05;letter-spacing:-2px;margin:15px 25px 20px 0}.detail-content p{color:var(--muted);font-size:13px;white-space:pre-line}.detail-content .price{font-size:28px;font-weight:700;margin:24px 0 6px}.detail-content .price-context{font-size:10px;color:var(--muted);margin-bottom:25px}.detail-actions{display:flex;flex-wrap:wrap;gap:10px}.detail-content .notice{font-size:11px;padding:12px}.contents-list{padding-left:17px;font-size:12px;color:var(--muted);line-height:1.8}.pick-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:20px 0}.pick-option{display:flex;flex-direction:row;align-items:center;gap:10px;border:1px solid var(--line);border-radius:10px;padding:12px;color:var(--white)}.pick-option span{font-size:12px}.pick-toolbar{position:sticky;bottom:0;padding:18px 0 0;background:#191a17;display:flex;align-items:center;justify-content:space-between;gap:15px}.cart-list{display:flex;flex-direction:column;gap:0}.cart-row{padding:19px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:20px}.cart-row div{flex:1}.cart-row h3{font-size:16px;margin:0 0 7px}.cart-row p{font-size:11px;margin:0}.cart-row .text-button{color:var(--muted);font-size:12px}.cart-total{display:flex;justify-content:space-between;margin:25px 0;font-size:19px}.checkout-form{display:flex;flex-direction:column;gap:20px}.checkout-form input{width:100%}.checkout-form .button{align-self:start}.account-grid{display:grid;grid-template-columns:1.3fr .8fr;gap:25px;margin-top:40px}.account-panel,.form-panel,.program-card{padding:35px;border:1px solid var(--line);border-radius:20px;background:var(--panel)}.account-panel h2{font-size:36px;margin-top:15px}.account-panel p{font-size:13px;color:var(--muted);max-width:500px}.steps{padding-left:0;list-style:none;counter-reset:steps}.steps li{counter-increment:steps;display:flex;gap:15px;font-size:12px;line-height:1.55;padding:16px 0;border-bottom:1px solid var(--line);color:var(--muted)}.steps li:before{content:'0' counter(steps);color:var(--orange);flex-shrink:0}.calculator-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:30px;margin-top:35px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.form-grid .full{grid-column:1/-1}.calc-result{border-radius:20px;padding:35px;background:var(--orange);color:#191a16;display:flex;flex-direction:column;justify-content:center}.calc-result p{font-size:13px}.calories{font-weight:900;font-size:80px;letter-spacing:-6px;margin:10px 0}.calories small{font-size:13px;letter-spacing:0;font-weight:400;display:block}.macros{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:30px;border-top:1px solid #191a1640;padding-top:20px}.macros strong{display:block;font-size:24px}.macros span{font-size:10px}.program-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:35px}.program-card h3{font-size:24px;margin:25px 0 15px}.program-card p{color:var(--muted);font-size:12px;min-height:40px}.rich-text{white-space:pre-line;line-height:1.7;font-size:14px;color:var(--muted)}.faq{max-width:900px;margin-top:35px}details{border-bottom:1px solid var(--line);padding:23px 0}summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:20px;font-size:18px}summary:after{content:'+';color:var(--orange)}details[open] summary:after{content:'−'}details p{font-size:13px;color:var(--muted);max-width:650px;margin-top:18px}.loading{padding:80px;text-align:center;color:var(--muted)}.error{color:#ff9b76;font-size:13px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%) translateY(15px);padding:15px 25px;background:var(--white);color:#171813;border-radius:30px;font-size:12px;opacity:0;pointer-events:none;transition:opacity .15s,transform .15s;z-index:20;max-width:90%;text-align:center}#toast.visible{opacity:1;transform:translateX(-50%) translateY(0)}.loading-bar{width:70px;height:2px;background:var(--orange);margin:25px auto}.owned{color:#90ce98}.order-item{padding:20px 0;border-bottom:1px solid var(--line)}.order-item p{font-size:12px}.order-item .button{margin-right:8px}.view-panel{padding:35px;border:1px solid var(--line);border-radius:20px;margin-top:25px}.media-player{width:100%;max-height:60vh;background:#000;border-radius:12px}.view-panel a{color:var(--orange)}
@media(min-width:1600px){.hero-image{right:70px}.hero-stamp{right:545px}}
@media(max-width:1100px){.header{gap:15px}.nav{gap:15px;font-size:11px}.header-actions{gap:4px}.account-link{padding:10px 13px}.hero{min-height:570px}.hero-image{height:535px;width:40%}.hero-stamp{bottom:25px;right:36vw;width:100px;height:100px}.grid{gap:16px}.card-copy{padding:18px}.about-split{gap:35px}.catalog-toolbar{grid-template-columns:2fr 1fr 1fr}.catalog-toolbar>label:last-child{grid-column:3}.program-card{padding:25px}.rail-item{gap:12px}.rail-item strong{font-size:12px}.rail-item:not(:last-child){margin-right:15px}.rail-item i{margin-right:12px}}
@media(max-width:800px){.connection{font-size:10px;padding:8px 15px}.header{min-height:85px;padding:20px 6vw}.nav{display:none}.nav.open{display:flex;position:absolute;top:80px;left:4vw;right:4vw;background:#252621;border:1px solid var(--line);border-radius:20px;z-index:10;flex-direction:column;padding:20px;align-items:stretch;font-size:14px}.header-actions{margin-left:auto}.menu-btn{display:flex}.account-link{font-size:11px}.hero{padding:35px 6vw 50px;min-height:500px}.hero h1{font-size:9vw}.hero-copy{width:66%}.hero p{max-width:240px;font-size:12px}.hero-image{width:39%;height:450px;right:4vw;top:15px}.hero-stamp{display:none}.hero-name{font-size:8px}.hero .button{gap:20px}.section-rail{padding:0 6vw;grid-template-columns:repeat(2,1fr)}.rail-item{padding:20px 0}.rail-item:nth-child(2){border-right:0;margin-right:0}.rail-item:nth-child(-n+2){border-bottom:1px solid var(--line)}.page{padding:35px 6vw 55px}.grid{grid-template-columns:repeat(2,1fr)}.section-heading{margin-top:45px}.section-heading p{max-width:250px}.about-split{gap:25px}.about-split h2{font-size:38px}.tools-grid{gap:25px}.tool-card h3{font-size:17px}.catalog-toolbar{grid-template-columns:1fr 1fr;gap:10px}.catalog-toolbar .search-wrap{grid-column:1/-1}.catalog-toolbar>label:last-child{grid-column:auto}.catalog-toolbar label{font-size:11px}.catalog-toolbar select{padding:12px;font-size:12px}.catalog-toolbar>label:nth-child(2){grid-column:1/-1}.detail-visual{min-height:430px}.detail-content{padding:50px 23px 25px}.detail-content h2{font-size:29px}.calculator-grid{grid-template-columns:1fr}.calc-result{min-height:290px}.account-grid{grid-template-columns:1fr}.program-grid{grid-template-columns:1fr}.program-card p{min-height:0}footer{padding:35px 6vw;font-size:11px;gap:22px}}
@media(max-width:560px){.header-actions{gap:0}.account-link{padding:10px 12px;margin-left:5px}.account-link span{padding-left:3px}.icon-button{width:31px;height:34px}.icon-button svg{width:19px}.hero{padding-top:25px;min-height:auto;padding-bottom:25px}.hero-copy{width:100%}.hero h1{font-size:14vw;position:relative;z-index:2;margin:25px 0;max-width:360px}.hero-image{position:relative;right:auto;top:auto;width:75%;height:400px;margin:30px 0 0 auto;border-radius:140px 140px 12px 12px;transform:rotate(2deg)}.hero-copy p{max-width:265px}.hero-name{font-size:9px}.hero-name strong{font-size:14px}.section-rail{margin-top:15px}.rail-item strong{font-size:12px}.rail-item:not(:last-child){margin-right:15px}.section-heading{align-items:start;flex-direction:column;gap:10px}.section-heading p{max-width:310px;margin-bottom:0}.section-heading h2{font-size:42px}.tabs{margin-top:20px}.chip{padding:10px 15px;font-size:11px}.grid{gap:12px}.card-media{aspect-ratio:.95}.card-media .card-tag{top:12px;left:12px;font-size:8px;padding:6px 8px}.card-number{font-size:37px;left:12px;bottom:10px}.favorite{right:7px;top:8px;width:27px;height:27px;font-size:16px}.card-copy{padding:15px 12px}.card-copy h3{font-size:16px;margin-top:9px}.card-meta{font-size:8px;letter-spacing:.6px}.card-subtitle{font-size:10px;margin-bottom:12px}.card-bottom{gap:3px;padding-top:13px}.card-bottom .icon-button{width:25px}.music-art{padding:17px 12px}.music-art strong{font-size:38px}.music-art>span{font-size:8px}.wave{height:28px}.about-split{grid-template-columns:1fr;margin-top:55px}.about-photo{height:380px;width:85%}.about-split h2{font-size:44px;margin:20px 0}.tools-grid{grid-template-columns:1fr;gap:0;margin-top:35px}.tool-card{padding:23px 0}.tool-card h3{font-size:20px;margin-top:15px}.tool-card p{max-width:100%}.page-title{font-size:46px;margin-bottom:20px}.detail{grid-template-columns:1fr}.detail-visual{min-height:260px;height:260px;border-radius:24px 24px 0 0}.detail-visual img{object-position:center 26%}.detail-visual .music-art{min-height:260px;padding:35px}.detail-content{padding:25px}.detail-content h2{font-size:33px;margin-right:0}.modal-content{padding:30px 23px}.modal-content h2{font-size:30px}.pick-grid{grid-template-columns:1fr}.pick-toolbar{font-size:12px}.cart-row{gap:10px}.cart-row h3{font-size:14px}.cart-row .text-button{font-size:10px}.cart-total{font-size:17px}.account-panel,.form-panel{padding:25px}.form-grid{gap:15px}.view-panel{padding:25px}.program-card{padding:25px}footer{grid-template-columns:1fr 1fr}footer>div{grid-column:1/-1;flex-direction:row;flex-wrap:wrap;gap:18px}footer p{font-size:10px}summary{font-size:16px}.notice{font-size:11px;padding:14px}.eyebrow{font-size:9px;letter-spacing:1.5px}.hero .eyebrow{margin-right:0}.account-link{min-width:65px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* orange-v3.css */
/* Orange brand v3. Structure and interactions retained from v2. */
@font-face{font-family:"Salamatina Narrow";src:url("assets/fonts/nimbus-sans-narrow-bold.woff") format("woff");font-weight:700;font-style:normal;font-display:swap}
:root{--bg:#090807;--panel:#1b130e;--line:#3b2f27;--white:#faf6f4;--muted:#b6a9a0;--orange:#ff641f;--cyan:#ff8e3a;--violet:#ffb54f;--radius:18px;background:var(--bg)}
body{overflow-x:hidden}h1,h2{font-weight:500;letter-spacing:-.065em}h3{font-weight:500}input,select{background:#221913;border-color:var(--line)}
.accent{color:var(--orange)}.connection{font-size:10px;color:#c4b7ae;background:#150e09;border-color:#352922;padding:8px 20px;letter-spacing:.03em}
.header{min-height:104px;padding:24px 5vw;z-index:4}.nav{font-size:12px;gap:28px}.nav a:hover,.nav a.active{border-color:var(--orange)}
.brand{letter-spacing:-1px}.brand-dot{color:var(--orange)}.account-link{border-color:#907868}.account-link span{color:var(--orange)}
.button{background:var(--orange);border-color:var(--orange);color:#17100c;font-weight:500}.button.secondary{background:transparent;color:var(--white);border-color:#5b4d44}.button.secondary:hover{border-color:var(--cyan)}
.eyebrow{font-size:10px;letter-spacing:1.8px}.eyebrow:before{background:var(--orange)}
.page{max-width:1450px;padding-top:50px}.page-title{font-size:clamp(44px,6.4vw,92px);line-height:1.02;font-weight:500;max-width:1100px}.page-intro{font-size:14px;max-width:550px}.hero{max-width:1600px;margin:0 auto;min-height:730px;padding:160px 5vw 95px;isolation:isolate}
.hero-image{inset:0;width:100%;height:100%;transform:none;border-radius:0;background:#221811;z-index:-2;margin:0}
.hero-image img{width:100%;height:100%;object-fit:cover;object-position:center top}
.hero-image:after{box-shadow:none;background:linear-gradient(90deg,rgba(9,8,7,.76) 0%,rgba(9,8,7,.24) 38%,transparent 66%),linear-gradient(0deg,#110a06 0%,rgba(9,8,7,.25) 11%,transparent 30%)}
.hero-copy{width:48%;max-width:630px;pointer-events:auto}.hero h1{font-size:clamp(56px,6.7vw,103px);font-weight:500;line-height:1.01;letter-spacing:-.065em;margin:32px 0 28px;max-width:650px}.hero p{font-size:14px;color:#dfd6d0;line-height:1.65;max-width:350px;margin-bottom:33px}.hero .eyebrow{color:#e1dad5}
.hero-cta{display:inline-flex;align-items:center;gap:20px;font-size:11px;letter-spacing:1px;text-transform:uppercase}.cta-circle{display:grid;place-items:center;width:46px;height:46px;border:1px solid var(--orange);border-radius:50%;font-size:22px;color:var(--orange);transition:background .2s,color .2s}.hero-cta:hover .cta-circle{background:var(--orange);color:#130c08}
.hero-name{right:5vw;bottom:46px;letter-spacing:1.2px;font-size:9px;text-align:right;color:#d2c4bb}.hero-name strong{font-size:14px;color:var(--white);font-weight:400;letter-spacing:0;margin-top:8px}
.hero-footer-label{position:absolute;left:5vw;bottom:48px;font-size:8px;letter-spacing:1.8px;color:#a7978c}
.hero-stamp,.section-rail{display:none}.home-page{padding-top:10px}.section-heading{margin-top:55px;align-items:end}.section-heading h2{font-size:clamp(38px,4.3vw,64px);font-weight:500;line-height:1.07;margin-top:20px}.section-heading p{font-size:13px;color:var(--muted);line-height:1.65}
.portal-selector{scroll-margin-top:30px}.portal-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:25px;padding:35px 10px 55px;margin-top:22px}
.portal-card{display:block;position:relative;border:1px solid #423329;border-radius:24px;background:#110a06;box-shadow:0 10px 45px #130a05;overflow:hidden;transition:transform .3s,border-color .3s,box-shadow .3s}
.portal-card:nth-child(1){transform:rotate(-5deg) translateY(10px)}.portal-card:nth-child(2){transform:rotate(3deg) translateY(-12px)}.portal-card:nth-child(3){transform:rotate(-3deg) translateY(3px)}.portal-card:nth-child(4){transform:rotate(5deg) translateY(-5px)}
.portal-card:hover,.portal-card:focus-visible{transform:rotate(0deg) translateY(-12px);border-color:#dc9e77;box-shadow:0 16px 55px #49271280;z-index:1}
.portal-topline{position:relative;display:block;z-index:1;padding:21px 22px 0;color:#c0b1a8;text-transform:uppercase;font-size:8px;letter-spacing:1.1px;line-height:1.4}
.portal-card img{display:block;width:100%;aspect-ratio:1/1;object-fit:contain;pointer-events:none}.portal-card-copy{padding:0 22px 26px;position:relative;min-height:90px}.portal-card-copy h3{font-size:22px;letter-spacing:-.035em;margin:0 0 9px;font-weight:500}.portal-card-copy p{font-size:10px;color:var(--muted);margin:0;max-width:155px}.portal-arrow{position:absolute;right:22px;top:1px;font-size:21px;color:var(--orange)}
.home-catalog{padding-top:10px}.catalog-more{text-align:center;margin:32px 0 0}.chip{border-color:#4b3b31;color:#d3c6bd}.chip.active{background:var(--orange);border-color:var(--orange);color:#1b120d}.chip:hover{border-color:var(--cyan)}
.notice{border:1px solid #56473e;background:#241a14;color:#ccbeb5;font-size:11px;padding:14px 18px;line-height:1.6}.notice strong{color:#f3e9e3}.notice .text-button{color:var(--orange)}
.product-card{background:#1b130e;border-color:#3b2f27;border-radius:18px;transition:border-color .2s}.product-card:hover{border-color:#6a5345}.card-media{background:#110a06;aspect-ratio:1.45}
.card-media>img{display:block;object-fit:contain;object-position:center;width:100%;height:100%}.card-media:hover img{transform:scale(1.03)}.card-media .card-tag{top:16px;left:16px;max-width:calc(100% - 75px);background:#271910dc;border:1px solid #584539;font-size:8px;padding:7px 10px;letter-spacing:.75px;white-space:normal;line-height:1.4}
.card-number{display:none}.favorite{background:#20130be8;border:1px solid #5b4435;color:#d7c5b9;top:13px;right:13px}.favorite.on{color:var(--orange);border-color:#7c5c48}.card-meta{color:#af9d91;font-size:9px;letter-spacing:.7px}.card-copy{padding:23px}.card-copy h3{font-size:21px;font-weight:500;margin:12px 0}.card-subtitle{font-size:12px;line-height:1.5;color:#ac9a8e}.card-bottom{border-color:#403229;padding-top:18px}.card-price{font-size:16px;font-weight:500}.card-price small{font-size:9px;color:#aa978b}.card-bottom .icon-button{color:var(--orange)}
.music-art{position:relative;padding:0;background:#110a06;color:var(--white);min-height:0;height:100%;overflow:hidden}.music-art img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}.music-bpm{position:absolute;left:21px;bottom:20px;display:flex;align-items:end;gap:8px;background:#150c07ce;border-radius:7px;padding:7px 10px}.music-bpm strong{font-size:21px;font-weight:400;letter-spacing:-.7px;line-height:1}.music-bpm span{font-size:8px;letter-spacing:1px;padding-bottom:2px;color:var(--cyan)}.wave{display:none}
.catalog-directions{margin-top:36px}.direction-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:20px}.direction-card{display:grid;grid-template-columns:95px minmax(0,1fr) 20px;gap:15px;align-items:center;min-height:126px;padding:13px;border:1px solid var(--line);border-radius:16px;background:#150d08;transition:border-color .2s,background .2s}.direction-card img{width:100%;height:95px;object-fit:contain}.direction-card h3{font-size:16px;font-weight:500;margin:0 0 6px;line-height:1.2}.direction-card div>span{font-size:10px;color:var(--muted);line-height:1.4;display:block}.direction-arrow{color:var(--cyan);font-size:20px}.direction-card:hover{border-color:#9a6d51;background:#20140c}.direction-card.selected{border-color:#c98e69;background:#20140d}.direction-card.selected .direction-arrow{color:var(--orange)}
.catalog-toolbar{margin-top:35px}.search-wrap:before{color:#cbbbb1}.results-count{font-size:11px}.cover-note{font-size:10px;line-height:1.7;margin-top:25px;max-width:550px}
.detail-visual{background:#110a06;min-height:440px}.detail-visual>img{object-fit:contain;object-position:center}.detail-visual .music-art{height:100%;padding:0;min-height:440px}.detail-visual .music-bpm{left:25px;bottom:35px}.detail-content{padding:48px 32px 30px}.detail-content h2{font-size:38px;line-height:1.08;font-weight:500;letter-spacing:-1.8px}.detail-content .price{font-weight:500}.detail-content .notice{padding:12px;font-size:11px}
.about-split{margin-top:90px;gap:80px}.about-photo{height:480px;max-width:490px;border-radius:230px 230px 20px 20px;background:#241d18}.about-split h2{font-size:clamp(40px,4.4vw,67px);line-height:1.05;font-weight:500}.about-split p{font-size:13px;color:#bcada3;line-height:1.7}.about-photo img{object-position:center 37%}
.account-callout{display:flex;align-items:center;justify-content:space-between;gap:40px;margin:75px 0 20px;padding:40px 0 0;border-top:1px solid var(--line)}.account-callout h3{font-size:32px;font-weight:500;letter-spacing:-1px;margin:20px 0 15px}.account-callout p{font-size:12px;color:var(--muted);max-width:500px}.account-callout .button{flex-shrink:0}
.form-panel,.account-panel,.program-card{background:var(--panel);border-color:var(--line)}.calc-result{background:var(--orange);color:#20140d}.calc-result .eyebrow{color:#20140d!important}.pick-option{border-color:#513f34}.pick-option input{accent-color:var(--orange)}.pick-toolbar{background:#1b130e}.close{background:#1c110a;color:#f2e7e0;border-color:#746256}
dialog{background:#1b130e;border-color:#564235;border-radius:22px}dialog::backdrop{background:#0c0602ba}.empty{border-color:#554337}.error{color:#ffbe94}.owned{color:var(--orange)}
footer{border-color:#40332a;margin-top:35px}footer p{line-height:1.7}.account-link{max-width:155px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#toast{background:#f4e4da;color:#20140d}
@media(min-width:1600px){.hero-image{right:0}.hero-name{right:80px}.hero-footer-label{left:80px}.hero-copy{max-width:700px}}
@media(max-width:1100px){.nav{gap:18px;font-size:11px}.hero{min-height:660px;padding-top:155px;padding-bottom:95px}.hero h1{font-size:7.7vw}.hero-copy{width:53%}.hero-image{width:100%;height:100%;right:0;top:0}.hero p{font-size:13px}.portal-cards{gap:20px;padding-left:3px;padding-right:3px}.portal-card-copy{padding-left:18px;padding-right:18px}.portal-card-copy h3{font-size:19px}.portal-topline{padding:18px 18px 0;font-size:7px;letter-spacing:.6px}.portal-arrow{right:18px;font-size:18px}.portal-card-copy p{max-width:130px;font-size:9px}.direction-card{grid-template-columns:75px minmax(0,1fr) 17px;gap:8px;padding:10px;min-height:110px}.direction-card img{height:80px}.direction-card h3{font-size:14px}.about-split{gap:40px}}
@media(max-width:800px){.nav.open{top:78px;background:#271a11;border-color:#5d483a}.hero{padding:140px 6vw 90px;min-height:620px}.hero-image{width:100%;height:100%;top:0;right:0}.hero-image img{object-position:64% top}.hero h1{font-size:8.3vw}.hero-copy{width:60%}.hero p{font-size:12px;max-width:250px}.hero-name{right:6vw;bottom:35px;font-size:8px}.hero-name strong{font-size:12px}.hero-footer-label{left:6vw;bottom:35px;font-size:7px;letter-spacing:.8px}.home-page{padding-top:10px}.portal-cards{gap:22px;grid-template-columns:repeat(2,minmax(0,1fr));padding:25px 10px 45px;max-width:650px;margin-left:auto;margin-right:auto}.portal-card:nth-child(1){transform:rotate(-4deg) translateY(5px)}.portal-card:nth-child(2){transform:rotate(3deg) translateY(-6px)}.portal-card:nth-child(3){transform:rotate(-3deg) translateY(4px)}.portal-card:nth-child(4){transform:rotate(4deg) translateY(-6px)}.portal-topline{font-size:8px;padding:20px 20px 0}.portal-card-copy{padding:0 20px 23px}.portal-card-copy h3{font-size:22px}.portal-card-copy p{font-size:10px;max-width:190px}.portal-arrow{right:20px}.section-heading{align-items:start}.section-heading h2{font-size:47px}.direction-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.direction-card{grid-template-columns:75px minmax(0,1fr) 18px;min-height:115px;padding:12px}.card-copy{padding:19px}.card-copy h3{font-size:19px}.detail-content{padding:45px 25px 25px}.detail-content h2{font-size:32px}.about-photo{height:370px}.about-split h2{font-size:42px}.account-callout{gap:25px;margin-top:60px}.account-callout h3{font-size:27px}}
@media(max-width:560px){.is-home .header{margin-bottom:0;background:#110a06}.hero{min-height:740px;padding:365px 6vw 55px;margin-bottom:0}.hero-image{position:absolute;inset:0 0 auto;width:100%;height:455px;margin:0;transform:none;border-radius:0}.hero-image img{object-fit:cover;object-position:75% top}.hero-image:after{background:linear-gradient(0deg,#110a06 0%,rgba(9,8,7,.75) 13%,transparent 41%),linear-gradient(90deg,rgba(9,8,7,.15),transparent 40%)}.hero .eyebrow{font-size:8px;letter-spacing:1.5px}.hero h1{font-size:15vw;max-width:100%;margin:23px 0;line-height:1.03;letter-spacing:-.07em}.hero p{font-size:12px;max-width:300px;margin-bottom:27px}.hero-cta{font-size:9px;gap:14px;letter-spacing:.8px}.cta-circle{width:42px;height:42px;font-size:21px}.hero-name{right:6vw;top:315px;bottom:auto;left:auto;font-size:7px;text-align:right}.hero-name strong{font-size:11px;margin-top:6px}.hero-footer-label{display:none}.section-heading{margin-top:40px;gap:15px}.section-heading h2{font-size:40px;line-height:1.06;margin-top:17px}.section-heading p{font-size:12px}.portal-cards{gap:16px;padding:18px 5px 30px;margin-top:25px}.portal-card{border-radius:18px}.portal-topline{font-size:6px;letter-spacing:.4px;padding:15px 13px 0;line-height:1.5}.portal-card-copy{padding:0 13px 18px;min-height:72px}.portal-card-copy h3{font-size:18px;margin-bottom:7px;padding-right:10px}.portal-card-copy p{font-size:8px;max-width:115px;line-height:1.6}.portal-arrow{font-size:16px;right:13px;top:2px}.portal-card:hover,.portal-card:focus-visible{transform:rotate(0deg) translateY(-3px)}.page{padding:35px 6vw 55px}.home-page{padding-top:0}.page-title{font-size:45px;line-height:1.06;letter-spacing:-.055em}.page-intro{font-size:12px}.card-media{aspect-ratio:1/1}.card-copy{padding:16px 13px}.card-copy h3{font-size:16px;margin:10px 0}.card-subtitle{font-size:10px;line-height:1.6}.card-meta{font-size:8px;line-height:1.5}.card-price{font-size:13px}.card-price small{font-size:8px}.card-media .card-tag{top:11px;left:11px;font-size:6px;padding:5px 7px;letter-spacing:.45px;max-width:calc(100% - 48px)}.favorite{right:8px;top:9px;width:25px;height:25px;font-size:15px}.music-bpm{left:9px;bottom:10px;gap:4px;padding:5px 7px}.music-bpm strong{font-size:15px;letter-spacing:-.6px}.music-bpm span{font-size:6px;letter-spacing:.6px}.direction-grid{gap:11px}.direction-card{display:flex;flex-direction:column;align-items:start;min-height:200px;position:relative;padding:10px 12px 16px}.direction-card img{height:130px;width:100%;object-fit:contain}.direction-card h3{font-size:13px;line-height:1.3;margin-bottom:5px;max-width:155px}.direction-card div>span{font-size:9px;line-height:1.4;max-width:145px}.direction-arrow{position:absolute;right:13px;top:12px;font-size:17px}.catalog-directions{margin-top:25px}.catalog-toolbar{margin-top:25px}.cover-note{font-size:9px}.detail-visual{min-height:280px;height:280px;border-radius:22px 22px 0 0}.detail-visual .music-art{min-height:280px}.detail-visual .music-bpm{bottom:22px;left:25px}.detail-visual .music-bpm strong{font-size:25px}.detail-visual .music-bpm span{font-size:9px}.detail-content{padding:26px}.detail-content h2{font-size:33px}.about-split{grid-template-columns:1fr;margin-top:60px;gap:30px}.about-photo{height:390px;width:85%}.about-split h2{font-size:46px;line-height:1.04}.account-callout{align-items:start;flex-direction:column;gap:20px;margin-top:45px;padding-top:30px}.account-callout h3{font-size:31px}.account-callout p{font-size:11px;margin-bottom:0}.notice{font-size:10px;line-height:1.6;padding:13px 15px}.notice .text-button{display:inline}.eyebrow{font-size:9px}.form-panel,.account-panel{padding:25px}.calc-result{padding:28px}.calories{font-size:70px}footer{margin-top:0;padding:35px 6vw}.nav.open{top:74px}.brand>span{letter-spacing:2px}}
@media(max-width:370px){.hero h1{font-size:14.4vw}.portal-card-copy h3{font-size:16px}.portal-arrow{font-size:14px}.portal-cards{gap:12px}.portal-topline{font-size:5.5px}.account-link{padding:9px 10px}.direction-card h3{font-size:12px}.card-copy h3{font-size:14px}}
@media(prefers-reduced-motion:reduce){.portal-card{transition:none}.portal-card:hover,.portal-card:focus-visible{transform:none}}
/* Sporting display type and poster footer. Content remains selectable HTML. */
.hero h1,.page-title,.section-heading h2,.about-split h2{font-family:"Salamatina Narrow","Arial Narrow",Arial,sans-serif;font-weight:700;text-transform:uppercase;letter-spacing:-.025em;line-height:.97}
.hero h1{font-size:clamp(64px,7vw,108px);margin:27px 0 28px;max-width:650px}.hero-copy{width:49%;max-width:650px}.hero .eyebrow{letter-spacing:2.1px}.hero h1 span{color:var(--orange)}
.section-heading h2{font-size:clamp(43px,4.8vw,75px)}.page-title{font-size:clamp(49px,7vw,100px)}.about-split h2{font-size:clamp(48px,5vw,77px)}
.portal-card-copy h3{font-family:"Salamatina Narrow","Arial Narrow",Arial,sans-serif;font-size:27px;font-weight:700;text-transform:uppercase;letter-spacing:0}.portal-arrow{color:var(--orange)}
.portal-card{border-color:#382419;box-shadow:0 10px 45px #080503}.portal-card:hover,.portal-card:focus-visible{border-color:#b86232;box-shadow:0 16px 55px #5f270c66}.card-media,.music-art,.detail-visual,.direction-card,.portal-card{background:#090807}
.direction-arrow{color:var(--orange)}.direction-card.selected{border-color:#dd6627;background:#24150d}.direction-card:hover{border-color:#ae602f}.direction-card h3{font-weight:600}.favorite.on{color:var(--orange);border-color:#ad562e}
.account-link{border-color:#a45732}.button{color:#1b0e07}.button:hover{background:#ff8246;border-color:#ff8246}.button.secondary:hover{background:#25180f;color:var(--white);border-color:#c27345}.chip.active{color:#1b0e07}.calc-result{background:var(--orange);color:#211107}.music-bpm span{color:#ffae72}.connection .status-dot{background:var(--orange)}.connection.live .status-dot{background:#91bd91}
.site-footer{display:block;padding:0;border-top:0;margin:50px 0 0;background:#0c0907}
.site-footer .footer-manifesto{position:relative;isolation:isolate;min-height:620px;max-width:1600px;margin:0 auto;padding:50px 5vw 60px;background:#ff641f;overflow:hidden;color:#201008}
.footer-art{position:absolute;right:0;top:0;width:68%;height:100%;object-fit:cover;object-position:center;z-index:-1;mix-blend-mode:multiply}
.footer-poster-copy{position:relative;max-width:55%}.poster-kicker{display:block;font-size:10px;letter-spacing:2px;font-weight:600;margin-bottom:36px}
.footer-manifesto h2{font-family:"Salamatina Narrow","Arial Narrow",Arial,sans-serif;font-weight:700;font-size:clamp(84px,9.4vw,151px);line-height:.89;letter-spacing:-.015em;margin:0 0 38px;text-transform:uppercase}.footer-manifesto h2 span{display:block}
.footer-cta{display:inline-flex;align-items:center;gap:30px;font-size:11px;letter-spacing:.7px;text-transform:uppercase;border:1px solid #3b1a0d;border-radius:50px;padding:17px 22px;font-weight:600;background:#ff641fbf}.footer-cta span{font-size:23px;line-height:1}.footer-cta:hover{background:#1d0e07;color:#ffdec8}.footer-cta:focus-visible{outline:2px solid #1d0e07;outline-offset:5px}
.poster-index{position:absolute;right:5vw;bottom:35px;font-size:8px;letter-spacing:1.6px;font-weight:600}
.site-footer .footer-info{max-width:1600px;margin:0 auto;padding:45px 5vw 25px;display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:30px;align-items:start;color:#ae9687}
.footer-info .brand{color:#f4ece4}.footer-info p{font-size:11px;line-height:1.8;margin:0}.footer-info .footer-links{display:flex;flex-direction:column;align-items:start;gap:14px;font-size:11px;color:#e2cbbb}.footer-info .footer-links button{text-align:left}.footer-info small{grid-column:1/-1;border-top:1px solid #35231b;margin-top:10px;padding-top:25px;font-size:9px;letter-spacing:.3px;color:#8d7567}
@media(max-width:1100px){.hero h1{font-size:7.5vw}.hero-copy{width:52%}.portal-card-copy h3{font-size:24px}.site-footer .footer-manifesto{min-height:565px;padding-top:45px}.footer-manifesto h2{font-size:10vw;line-height:.92}.footer-art{width:67%;object-position:46% center}}
@media(max-width:800px){.hero h1{font-size:8.2vw}.hero-copy{width:58%}.page-title{font-size:64px}.section-heading h2{font-size:57px}.portal-card-copy h3{font-size:28px}.about-split h2{font-size:52px}.site-footer .footer-manifesto{min-height:505px;padding:35px 6vw 55px}.footer-poster-copy{max-width:67%}.footer-manifesto h2{font-size:12vw}.footer-art{width:75%;opacity:.6;right:-9%}.poster-kicker{font-size:8px;margin-bottom:35px}.poster-index{font-size:7px;right:6vw;bottom:25px;letter-spacing:1px}.site-footer .footer-info{grid-template-columns:1fr 1fr;padding:35px 6vw 25px;gap:25px}.footer-info .footer-links{grid-column:1/-1;flex-direction:row;flex-wrap:wrap;gap:18px}}
@media(max-width:560px){.hero h1{font-size:14.5vw;line-height:.96;letter-spacing:-.025em;max-width:100%;margin:20px 0 24px}.hero-copy{width:100%;max-width:420px}.hero .eyebrow{font-size:8px;letter-spacing:1.4px}.page-title{font-size:56px;line-height:.98}.section-heading h2{font-size:50px}.portal-card-copy h3{font-size:22px;letter-spacing:0}.about-split h2{font-size:53px}.site-footer{margin-top:25px}.site-footer .footer-manifesto{min-height:455px;padding:30px 6vw 60px}.footer-poster-copy{max-width:100%}.footer-manifesto h2{font-size:18vw;line-height:.92;margin-bottom:32px}.poster-kicker{font-size:7px;letter-spacing:1.4px;margin-bottom:34px}.footer-art{width:100%;height:100%;right:-33%;opacity:.25}.footer-cta{font-size:9px;padding:14px 17px;gap:24px}.footer-cta span{font-size:20px}.poster-index{left:6vw;right:auto;bottom:23px;font-size:6px;letter-spacing:.75px}.site-footer .footer-info{grid-template-columns:1fr;gap:24px;padding:30px 6vw 22px}.footer-info .brand{font-size:21px}.footer-info .footer-links{grid-column:auto;gap:17px}.footer-info small{grid-column:auto;margin-top:0;font-size:8px;padding-top:21px}}

/* poster-v4.css */
/* Poster hero v4: orange light in the center, true black at every edge. */
:root{--bg:#000000;background:#000000}
body{background:#000000}
.is-home .header{background:linear-gradient(#000 0%,#000d 55%,#0000 100%);margin-bottom:-104px}
.hero.poster-hero{position:relative;max-width:1600px;min-height:0;height:780px;padding:0;margin:0 auto;overflow:hidden;background:#000;isolation:isolate;border:0;border-radius:0}
.poster-light{position:absolute;inset:0;z-index:0;background:linear-gradient(0deg,#000 0%,transparent 19%,transparent 83%,#000 100%),radial-gradient(ellipse 54% 64% at 51% 49%,#d65015 0%,#ba3a0e 26%,#72240c 47%,#301207 65%,#000 90%);pointer-events:none}
.poster-topline{position:absolute;left:5vw;right:5vw;top:144px;z-index:4;display:flex;justify-content:space-between;align-items:start;gap:25px;font-size:8px;line-height:1.55;letter-spacing:1.2px;color:#e7cbb8;font-weight:600}
.poster-topline>span:nth-child(2){font-size:9px;letter-spacing:1.1px;padding-top:1px}.poster-topline>span:last-child{text-align:right;padding-right:48px}
.poster-wordmark{position:absolute;top:300px;left:0;right:0;z-index:1;display:flex;justify-content:center;padding:0 4.5vw;pointer-events:none}
.poster-wordmark h1,.poster-wordmark h1 span{font-family:"Salamatina Narrow","Arial Narrow",Arial,sans-serif;color:#fff6ef;white-space:nowrap;text-transform:uppercase;font-weight:700;letter-spacing:-.03em;font-size:clamp(100px,13.8vw,206px);line-height:1;margin:0;max-width:none}
.poster-hero .poster-person{position:absolute;top:auto;bottom:0;left:50%;right:auto;inset-inline-start:50%;width:49%;max-width:650px;height:690px;z-index:3;transform:translateX(-50%);border-radius:0;background:transparent;margin:0;overflow:visible;pointer-events:none}
.poster-hero .poster-person img{width:100%;height:100%;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 8px 24px #1a080580);mask-image:linear-gradient(#000 0%,#000 79%,#0000 100%);-webkit-mask-image:linear-gradient(#000 0%,#000 79%,#0000 100%)}
.poster-hero .poster-person:after{display:none}
.poster-orbit{position:absolute;right:8.5%;top:302px;width:285px;height:285px;border:1px solid #f9c19e45;border-radius:50%;z-index:2;pointer-events:none;transform:rotate(-16deg)}
.poster-orbit i{position:absolute;inset:18px;border:1px solid #f9c19e3b;border-radius:50%;transform:translate(-18px,13px)}
.orbit-mark{position:absolute;top:18px;left:43px;font-size:39px;color:#f3d0b8;line-height:1}
.poster-practice{position:absolute;right:12%;top:394px;z-index:4;pointer-events:none;color:#ffe7d5}.poster-practice>span:first-child{font-size:7px;letter-spacing:1.2px;font-weight:600}.poster-practice strong{display:block;font-family:"Salamatina Narrow","Arial Narrow",Arial,sans-serif;font-size:35px;line-height:.97;letter-spacing:-.02em;margin-top:9px}.practice-arrow{display:block;font-size:46px;font-weight:200;line-height:1;margin-top:16px}
.poster-intro{position:absolute;left:5vw;bottom:78px;z-index:4;max-width:310px}.poster-intro p{font-size:12px;line-height:1.75;color:#dec8b9;margin:0 0 25px;max-width:310px}.poster-intro .hero-cta{font-size:9px;letter-spacing:.8px;gap:15px;color:#f4ded0}.poster-intro .cta-circle{border-color:#d79672;color:#fff0e5;background:#08030155;width:44px;height:44px;font-size:24px}.poster-intro .hero-cta:hover .cta-circle{background:var(--orange);color:#140901}
.poster-author{position:absolute;right:5vw;bottom:78px;z-index:4;text-align:right;color:#dec0ac}.poster-author>span{font-size:7px;letter-spacing:1.1px}.poster-author strong{display:block;font-family:"Salamatina Narrow","Arial Narrow",Arial,sans-serif;font-size:30px;font-weight:700;line-height:1.03;margin-top:9px;text-transform:uppercase;color:#f7e4d5}
.poster-rail{position:absolute;right:21px;top:190px;z-index:4;display:flex;flex-direction:column;gap:13px}.poster-rail a{writing-mode:vertical-rl;font-size:7px;letter-spacing:.7px;text-transform:uppercase;border:1px solid #cdb5a445;border-radius:25px;padding:14px 9px;color:#e2c9b7;background:#05020180;transition:background .2s,border-color .2s}.poster-rail a:hover{background:#b74316;border-color:#e9c9b1}
.poster-baseline{position:absolute;left:50%;bottom:24px;transform:translateX(-50%);z-index:4;font-size:7px;letter-spacing:2px;color:#9c7861;white-space:nowrap}
.is-home .home-page{padding-top:0}.is-home .section-heading{margin-top:35px}
@media(min-width:1600px){.poster-topline{left:80px;right:80px}.poster-intro{left:80px}.poster-author{right:80px}}
@media(max-width:1100px){.hero.poster-hero{height:735px}.poster-topline{top:140px}.poster-topline>span:nth-child(2){font-size:7px}.poster-topline>span:last-child{padding-right:0}.poster-wordmark{top:300px}.poster-hero .poster-person{width:55%;height:640px;max-width:600px}.poster-orbit{right:6%;width:240px;height:240px;top:315px}.poster-intro{max-width:260px;bottom:72px}.poster-intro p{font-size:11px}.poster-author{bottom:72px}.poster-author strong{font-size:26px}.poster-rail{display:none}}
@media(max-width:800px){.hero.poster-hero{height:740px}.poster-topline{top:128px;left:6vw;right:6vw;font-size:7px;letter-spacing:.7px}.poster-topline>span:nth-child(2){display:none}.poster-wordmark{top:291px;padding:0 5vw}.poster-wordmark h1,.poster-wordmark h1 span{font-size:14vw}.poster-hero .poster-person{width:71%;height:640px;left:50%}.poster-orbit{right:1%;top:318px;width:205px;height:205px;opacity:.7}.poster-practice{right:6vw;top:394px}.poster-intro{left:6vw;max-width:230px;bottom:67px}.poster-intro p{font-size:10px;line-height:1.7}.poster-intro .hero-cta{font-size:8px;gap:12px}.poster-intro .cta-circle{width:40px;height:40px;font-size:22px}.poster-author{right:6vw;bottom:69px}.poster-author strong{font-size:22px}.poster-author>span{font-size:6px}.poster-baseline{font-size:6px;letter-spacing:1.3px}}
@media(max-width:560px){.is-home .header{margin-bottom:0;background:#000}.hero.poster-hero{height:715px;margin-top:0}.poster-light{background:linear-gradient(90deg,#000 0%,#000a 5%,transparent 25%,transparent 75%,#000a 95%,#000 100%),linear-gradient(0deg,#000 0%,transparent 24%,transparent 80%,#000 100%),radial-gradient(ellipse 90% 53% at 50% 40%,#c94c14 0%,#a3350e 25%,#65200b 44%,#241006 66%,#000 91%)}.poster-topline{top:25px;left:6vw;right:6vw;font-size:6px;line-height:1.65;gap:20px;letter-spacing:.6px}.poster-topline>span:first-child{max-width:160px}.poster-topline>span:last-child{max-width:95px}.poster-wordmark{top:257px;padding:0 4vw}.poster-wordmark h1,.poster-wordmark h1 span{font-size:15.2vw;letter-spacing:-.03em}.poster-hero .poster-person{top:63px;bottom:auto;width:106%;height:545px;max-width:500px;margin:0;left:50%;transform:translateX(-50%)}.poster-hero .poster-person img{object-position:center top;mask-image:linear-gradient(#000 0%,#000 77%,#0000 99%);-webkit-mask-image:linear-gradient(#000 0%,#000 77%,#0000 99%)}.poster-orbit{right:-20px;top:265px;width:180px;height:180px;opacity:.35}.orbit-mark{font-size:28px;left:25px;top:15px}.poster-author{display:none}.poster-intro{left:6vw;right:6vw;bottom:62px;max-width:none}.poster-intro p{font-size:12px;line-height:1.65;margin-bottom:22px;color:#dec8b9}.poster-intro .hero-cta{font-size:9px;gap:15px}.poster-intro .cta-circle{width:44px;height:44px}.poster-baseline{bottom:20px;font-size:5.5px;letter-spacing:1px}.is-home .section-heading{margin-top:20px}}
@media(prefers-reduced-motion:reduce){.poster-rail a{transition:none}}

/* integrated-v5.css */
/* Photographic cutouts share the page's black background and orange light. */
.integrated-practice{position:relative;isolation:isolate;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:clamp(30px,5vw,70px);padding:45px 0;background:transparent;border:0}
.integrated-practice:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse 49% 66% at 24% 44%,#9b350fe6 0%,#541b0bd9 33%,#210c06ad 56%,transparent 82%)}
.integrated-practice .about-photo{position:relative;width:100%;height:520px;border:0;border-radius:0;background:transparent;overflow:visible;box-shadow:none}
.integrated-practice .about-photo img{display:block;width:100%;height:100%;object-fit:contain;object-position:center bottom;filter:none;mask-image:linear-gradient(to bottom,#000 0%,#000 76%,transparent 100%),linear-gradient(to right,transparent 0%,#000 6%,#000 82%,transparent 100%);mask-composite:intersect;-webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 76%,transparent 100%),linear-gradient(to right,transparent 0%,#000 6%,#000 82%,transparent 100%);-webkit-mask-composite:source-in}
.integrated-practice>div:last-child{position:relative;z-index:1}
.integrated-practice h2{overflow-wrap:anywhere}
.portal-card img,.direction-card img{background:transparent;mix-blend-mode:lighten}
.header-actions .icon-button,.portal-arrow,.direction-arrow{color:var(--orange)}
@media(max-width:1100px){.integrated-practice{gap:32px}.integrated-practice .about-photo{height:460px}}
@media(max-width:800px){.integrated-practice{grid-template-columns:1fr;gap:12px;padding:25px 0 0}.integrated-practice .about-photo{height:450px;max-width:560px;margin:auto}.integrated-practice>div:last-child{max-width:560px;margin:0 auto;width:100%}}
@media(max-width:560px){.integrated-practice{margin-top:55px;gap:0}.integrated-practice .about-photo{height:410px;width:100%}.integrated-practice h2{font-size:clamp(43px,12vw,60px);margin-top:18px}.integrated-practice p{font-size:12px}}

/* readability-v6.css */
/* Readable hero labels occupy the side columns, away from the portrait. */
.header{min-height:124px;gap:24px}.is-home .header{margin-bottom:-124px}
.brand{display:block;flex-shrink:0;width:240px;line-height:0;letter-spacing:0}.brand img{display:block;width:100%;height:auto}.header .brand{margin-right:8px}
.nav{font-size:14px;gap:22px;font-weight:500}.account-link{font-size:14px;padding:13px 20px}
.hero.poster-hero{height:820px}.poster-topline{top:175px;font-size:11px;line-height:1.65;letter-spacing:1.1px}.poster-topline>span:first-child{max-width:235px}.poster-topline>span:last-child{display:block;max-width:180px;padding-right:45px;padding-top:0;font-size:11px}
.poster-disciplines{position:absolute;left:5vw;top:239px;z-index:4;max-width:29%;color:#e7cbb8;font-size:12px;font-weight:600;line-height:1.65;letter-spacing:.9px}
.poster-intro{max-width:365px;bottom:80px}.poster-intro p{font-size:16px;line-height:1.7;max-width:365px;margin-bottom:26px}.poster-intro .hero-cta{font-size:12px;line-height:1.5;gap:17px;letter-spacing:.7px}.poster-intro .cta-circle{width:50px;height:50px;font-size:28px;flex-shrink:0}
.poster-author>span{font-size:10px;letter-spacing:1px}.poster-author strong{font-size:34px}.poster-practice>span:first-child{font-size:11px}.poster-rail a{font-size:10px;padding:12px 10px;letter-spacing:.8px}.poster-baseline{font-size:10px;letter-spacing:1.5px}
.integrated-practice{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:40px}.integrated-practice .about-photo{height:530px}.integrated-practice .about-photo img{object-fit:contain;object-position:center;mask-image:linear-gradient(to bottom,#000 0%,#000 84%,transparent 100%);-webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 84%,transparent 100%);mask-composite:add;-webkit-mask-composite:source-over}
.footer-info .brand{width:270px}.footer-info p,.footer-info .footer-links{font-size:14px}.footer-info small{font-size:11px}.footer-cta{font-size:13px}.poster-kicker{font-size:12px}
@media(min-width:1600px){.poster-disciplines{left:80px}}
@media(max-width:1200px){.header .brand{width:215px;margin-right:0}.nav{gap:16px;font-size:13px}.header-actions{gap:8px}.account-link{font-size:13px;padding:12px 16px}.poster-intro{max-width:320px}.poster-intro p{font-size:15px}.poster-disciplines{max-width:27%}}
@media(max-width:1050px){.nav{display:none}.nav.open{display:flex;font-size:16px;gap:18px;position:absolute;top:98px;left:5vw;right:5vw;padding:25px;background:#100905;border:1px solid var(--line);border-radius:18px;flex-wrap:wrap;z-index:10}.menu-btn{display:flex}.header-actions{margin-left:auto}.poster-rail{display:none}.poster-topline>span:last-child{padding-right:0}.poster-disciplines{font-size:11px}.poster-intro{max-width:295px}.poster-practice{right:7%}}
@media(max-width:800px){.header{min-height:112px}.is-home .header{margin-bottom:-112px}.header .brand{width:230px}.hero.poster-hero{height:800px}.poster-topline{top:153px;left:6vw;right:6vw;font-size:10px}.poster-topline>span:last-child{font-size:10px;max-width:140px}.poster-disciplines{left:6vw;top:226px;font-size:11px;max-width:25%}.poster-intro{left:6vw;max-width:310px;bottom:75px}.poster-intro p{font-size:15px}.poster-intro .hero-cta{font-size:11px}.poster-intro .cta-circle{width:46px;height:46px}.poster-author>span{font-size:9px}.poster-author strong{font-size:28px}.poster-baseline{font-size:9px}.integrated-practice .about-photo{height:440px;max-width:680px}.footer-info .brand{width:260px}}
@media(max-width:560px){.header{min-height:104px;padding:20px 6vw;gap:12px}.header .brand{width:188px}.header-actions{gap:4px}.header-actions .icon-button{width:30px;height:32px}.header-actions .account-link{font-size:12px;padding:10px 12px;margin-left:0}.header-actions .account-link span{padding-left:5px}.header .nav.open{top:88px;left:6vw;right:6vw;flex-direction:column;align-items:start;gap:8px;padding:20px;font-size:16px}.header .nav.open a{padding:8px 0}.hero.poster-hero{height:780px}.poster-topline{top:24px;font-size:10px;line-height:1.7;letter-spacing:.55px}.poster-topline>span:first-child{max-width:175px}.poster-topline>span:last-child{font-size:9px;max-width:105px}.poster-hero .poster-person{top:110px;height:515px;width:106%;max-width:500px}.poster-wordmark{top:302px}.poster-disciplines{top:auto;bottom:43px;left:6vw;right:6vw;max-width:none;text-align:center;font-size:10px;line-height:1.4;letter-spacing:.4px}.poster-intro{bottom:95px;left:6vw;right:6vw;max-width:none}.poster-intro p{font-size:15px;line-height:1.6;max-width:none;margin-bottom:22px}.poster-intro .hero-cta{font-size:11px;letter-spacing:.5px;gap:14px}.poster-intro .cta-circle{width:46px;height:46px;font-size:26px}.poster-baseline{bottom:18px;font-size:8px;letter-spacing:.7px}.integrated-practice h2{font-size:clamp(43px,12vw,60px)}.integrated-practice p{font-size:14px}.footer-info .brand{width:245px}.footer-info p,.footer-info .footer-links{font-size:13px}.footer-info small{font-size:10px}.footer-cta{font-size:11px}.poster-kicker{font-size:10px}}
@media(max-width:410px){.header .brand{width:144px}.header-actions .icon-button{width:28px}.header-actions .account-link{padding:9px 10px;max-width:76px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.poster-topline>span:first-child{max-width:160px}.poster-intro p{font-size:14px}.poster-intro .hero-cta{font-size:10px}}
@media(max-width:360px){.header-actions{gap:3px}.header-actions .icon-button{width:26px}.header-actions .account-link{font-size:11px;padding:8px}.header-actions .account-link span{display:none}}
/* Black footer with restrained orange accents. */
.site-footer{background:#000;border-top:1px solid #2b1b12}
.site-footer .footer-manifesto{background:#000;color:#fff6ef;min-height:560px;border-bottom:1px solid #2b1b12}
.site-footer .footer-art{display:none}
.site-footer .poster-kicker{color:var(--orange)}
.site-footer .poster-index{color:#b59d8f;font-size:10px}
.site-footer .footer-cta{background:transparent;border-color:var(--orange);color:#fff6ef}
.site-footer .footer-cta span{color:var(--orange)}
.site-footer .footer-cta:hover{background:var(--orange);color:#170b04}.site-footer .footer-cta:hover span{color:#170b04}
.site-footer .footer-cta:focus-visible{outline-color:var(--orange)}
.site-footer .footer-info{background:#000}
@media(max-width:800px){.site-footer .footer-manifesto{min-height:505px}.site-footer .poster-index{font-size:9px}}
@media(max-width:560px){.site-footer .footer-manifesto{min-height:430px}.site-footer .poster-index{font-size:8px;letter-spacing:.5px}}

/* refinements-v7.css */
/* Text-only branding, lighter labels and clear spacing. */
.header{min-height:136px;gap:28px}.is-home .header{margin-bottom:-136px}
.header .brand{width:218px;margin-right:0}.nav{gap:clamp(30px,2.8vw,46px);font-size:12px;font-weight:400}.account-link{font-size:12px}
.poster-topline,.poster-topline>span:last-child{font-size:8px;font-weight:400}.poster-disciplines{font-size:9px;font-weight:400}
.poster-intro{max-width:310px}.poster-intro p{font-size:12px;max-width:310px}.poster-intro .hero-cta{font-size:9px;gap:15px}.poster-intro .cta-circle{width:44px;height:44px;font-size:24px}
.poster-author>span{font-size:7px}.poster-author strong{font-size:30px}.poster-rail a{font-size:7px;padding:14px 9px}.poster-baseline{font-size:7px;letter-spacing:2px}
.poster-practice{top:520px;right:10%;padding:18px 22px;background:#080403e8;border:1px solid #9d512b;border-radius:12px;color:#fff6ef;max-width:230px}
.poster-practice>span:first-child{font-size:8px;font-weight:400;letter-spacing:1px}
.poster-practice strong{font-size:34px;margin-top:9px}.poster-practice .practice-arrow{position:absolute;right:19px;bottom:15px;font-size:27px;margin:0;color:var(--orange)}
/* Center the person in the photo column, accounting for the extended arm. */
.integrated-practice{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:clamp(84px,7vw,100px)}
.integrated-practice:before{background:radial-gradient(ellipse 51% 66% at 29% 44%,#9b350fe6 0%,#541b0bd9 33%,#210c06ad 56%,transparent 82%)}
.integrated-practice .about-photo{height:auto}.integrated-practice .about-photo img{width:110%;height:auto;transform:translateX(6%);object-fit:contain;object-position:center bottom;filter:contrast(1.035) saturate(1.015);mask-image:linear-gradient(to bottom,#000 0%,#000 84%,transparent 100%);-webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 84%,transparent 100%)}
/* Compact black footer; no fixed heights or decorative poster. */
.site-footer .footer-manifesto{min-height:0;padding:32px 5vw;background:#000}
.footer-poster-copy{max-width:none;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px 30px}
.site-footer .poster-kicker{grid-column:1/-1;font-weight:400;font-size:10px;margin:0;letter-spacing:1.5px}
.site-footer .footer-manifesto h2{font-size:clamp(42px,4.3vw,66px);line-height:1;letter-spacing:-.015em;margin:0}
.site-footer .footer-manifesto h2 span{display:inline}.site-footer .footer-manifesto h2 span+span:before{content:' '}
.site-footer .footer-cta{font-size:11px;white-space:nowrap;padding:14px 19px;font-weight:400}
.site-footer .poster-index{display:none}.site-footer .footer-info{padding:28px 5vw 20px;gap:20px 30px}
.footer-info .brand{width:210px}.footer-info p,.footer-info .footer-links{font-size:13px}.footer-info .footer-links{gap:10px}.footer-info small{padding-top:15px;margin-top:0}
@media(max-width:1200px){.header .brand{width:190px}.nav{gap:28px}.header{gap:20px}.poster-practice{right:7%;max-width:190px;padding:16px 18px}.poster-practice strong{font-size:30px}.integrated-practice{gap:84px}.poster-intro p{font-size:12px}.account-link{font-size:12px}}
@media(max-width:1050px){.nav.open{gap:22px}.poster-practice{right:5%}.poster-practice strong{font-size:28px}.poster-intro{max-width:275px}}
@media(max-width:800px){.header{min-height:124px}.is-home .header{margin-bottom:-124px}.header .brand{width:205px}.poster-topline,.poster-topline>span:last-child{top:165px;font-size:9px}.poster-disciplines{top:238px;font-size:9px}.poster-practice{display:none}.poster-intro p{font-size:12px}.poster-intro .hero-cta{font-size:9px}.poster-author>span{font-size:7px}.poster-author strong{font-size:25px}.poster-baseline{font-size:7px}.integrated-practice{grid-template-columns:1fr;gap:10px}.integrated-practice .about-photo{height:450px;max-width:680px;margin:auto}.integrated-practice .about-photo img{width:100%;height:100%;transform:none}.integrated-practice:before{background:radial-gradient(ellipse 76% 38% at 50% 27%,#9b350fe6 0%,#541b0bd9 33%,#210c06ad 56%,transparent 82%)}.site-footer .footer-manifesto{padding:28px 6vw}.footer-poster-copy{grid-template-columns:1fr;gap:17px}.site-footer .footer-cta{justify-self:start}.site-footer .footer-info{padding:26px 6vw 18px}.footer-info .brand{width:200px}}
@media(max-width:560px){.header{min-height:110px;gap:12px;padding:18px 6vw}.header .brand{width:162px}.poster-topline{top:24px}.poster-intro{max-width:none}.poster-intro p{font-size:14px;max-width:none}.poster-intro .hero-cta{font-size:10px}.poster-disciplines{top:auto;bottom:43px}.integrated-practice .about-photo{height:340px;width:100%}.site-footer .footer-manifesto h2{font-size:42px;max-width:330px}.site-footer .footer-manifesto h2 span{display:block}.site-footer .footer-manifesto h2 span+span:before{content:none}.site-footer .footer-info{gap:18px}.footer-info .brand{width:180px}.footer-info p{font-size:12px}.site-footer .footer-links{font-size:12px;gap:13px}.footer-info small{font-size:10px;padding-top:13px}}
@media(max-width:410px){.header .brand{width:140px}.header{gap:10px}.header-actions{gap:3px}}
@media(max-width:360px){.header .brand{width:125px}.header{gap:8px}}

/* restore-v8.css */
/* Restore the original sans-serif wordmark from the selected screenshot. */
.brand,.header .brand,.footer-info .brand{display:inline-flex;flex-direction:column;flex-shrink:0;width:auto;line-height:1;font-family:Arial,Helvetica,sans-serif;font-size:21px;font-weight:900;letter-spacing:-1px}
.brand>span{font-size:9px;letter-spacing:3px;padding-top:7px}.brand-dot{color:var(--orange);padding-left:11px;letter-spacing:0}
.header{min-height:104px;padding:24px 5vw}.is-home .header{margin-bottom:-104px}
/* Original position inside the orbit; contrast comes from lettering alone. */
.poster-practice{display:block;top:394px;right:12%;padding:0;border:0;border-radius:0;background:transparent;max-width:none;color:#fff6ef;text-shadow:0 2px 5px #000,1px 0 1px #000,-1px 0 1px #000,0 -1px 1px #000}
.poster-practice>span:first-child{font-size:7px;letter-spacing:1.2px;font-weight:400;color:#ff995b;-webkit-text-stroke:.25px #160904;paint-order:stroke fill}
.poster-practice strong{font-size:35px;line-height:.97;letter-spacing:-.02em;margin-top:9px;color:#fff6ef;-webkit-text-stroke:1.2px #160904;paint-order:stroke fill}
.poster-practice .practice-arrow{position:static;display:block;font-size:46px;font-weight:200;line-height:1;margin-top:16px;color:#fff0e5}
@media(max-width:1100px){.poster-practice{right:9%;top:390px}.poster-practice strong{font-size:29px}}
@media(max-width:800px){.header{min-height:90px;padding:20px 6vw}.is-home .header{margin-bottom:-90px}.poster-practice{display:block;right:6vw;top:394px}.poster-practice strong{font-size:25px}}
@media(max-width:560px){.header{min-height:84px;padding:20px 6vw}.is-home .header{margin-bottom:0}.header .brand{font-size:17px}.header .brand>span{font-size:7px;letter-spacing:2px}.poster-practice{display:none}}

/* mobile-v10.css */
/* Compact mobile hero only. Desktop and tablet rules remain in the existing styles. */
@media (max-width: 560px) {
  .hero.poster-hero {
    display: grid;
    grid-template-rows: auto clamp(295px, 92vw, 410px) auto auto auto;
    height: auto;
    min-height: 0;
  }

  .poster-topline {
    position: relative;
    grid-row: 1;
    top: auto;
    left: auto;
    right: auto;
    padding: 22px 6vw 12px;
  }

  .poster-hero .poster-person {
    position: relative;
    grid-row: 2;
    justify-self: center;
    align-self: stretch;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    inset-inline-start: auto;
    width: 92%;
    max-width: 400px;
    height: 100%;
    min-height: 0;
    transform: none;
  }

  .poster-hero .poster-person img {
    object-position: center bottom;
  }

  .poster-wordmark { top: clamp(210px, 58vw, 300px); }
  .poster-orbit { top: clamp(215px, 59vw, 305px); }

  .poster-intro {
    position: relative;
    grid-row: 3;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    padding: 6px 6vw 22px;
  }

  .poster-disciplines {
    position: relative;
    grid-row: 4;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    padding: 0 6vw 12px;
  }

  .poster-baseline {
    position: relative;
    grid-row: 5;
    left: auto;
    bottom: auto;
    transform: none;
    padding: 0 6vw 22px;
    text-align: center;
  }
}

/* about-v11.css */
/* Author profile replaces the generic practice block. The hero styles are retained. */
.author-preview h2,.author-profile-title .page-title,.author-section h2{font-family:"Salamatina Narrow","Arial Narrow",Arial,sans-serif;font-weight:700}
.author-preview{position:relative;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:center;gap:clamp(38px,6vw,90px);margin:78px 0 55px;padding:40px 0;border-top:1px solid var(--line);isolation:isolate}
.author-preview:before,.author-profile-top:before{content:'';position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse 52% 72% at 23% 48%,#85300c9c 0%,#37140766 48%,transparent 82%);pointer-events:none}
.author-photo{height:400px;min-width:0;display:flex;align-items:center;justify-content:center;overflow:hidden}
.author-photo img{width:100%;height:100%;object-fit:contain;object-position:center;mask-image:linear-gradient(#000 0%,#000 83%,transparent 100%);-webkit-mask-image:linear-gradient(#000 0%,#000 83%,transparent 100%)}
.author-preview h2{font-size:clamp(36px,4.3vw,62px);line-height:1.05;text-transform:uppercase;margin:20px 0 25px;letter-spacing:-.025em}
.author-preview p{font-size:14px;line-height:1.8;color:var(--muted);max-width:450px;margin-bottom:25px}
.author-preview .author-summary{color:#ff9b66;font-size:12px;line-height:1.7;margin-bottom:13px}
.author-profile-top{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:60px;align-items:center;margin-bottom:30px}
.author-profile-top .author-photo{height:440px;grid-column:1;grid-row:1}
.author-profile-title{grid-column:2;grid-row:1}
.author-profile-title .page-title{font-size:clamp(40px,5.2vw,72px);line-height:1.02;margin-top:20px}
.author-profile-title .page-intro{font-size:16px;line-height:1.7;max-width:440px;margin:25px 0}
.author-page-nav{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0 40px}
.author-section{scroll-margin-top:30px;margin:55px 0}
.author-section h2{font-size:clamp(28px,3.2vw,42px);line-height:1.15;text-transform:uppercase;margin:18px 0 25px;letter-spacing:-.02em}
.credential-grid,.review-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}
.credential-card{padding:22px 0;border-top:1px solid var(--orange)}
.credential-card .credential-index{font-size:12px;color:var(--orange);letter-spacing:1px}
.credential-card h3{font-size:21px;line-height:1.25;margin:15px 0}
.credential-card p,.review-card p,.service-card p,.community-card p{font-size:14px;line-height:1.8;color:var(--muted)}
.service-grid,.community-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:25px}
.service-card,.community-card{border:1px solid var(--line);border-radius:18px;padding:28px;background:#0c0704}
.service-card h3,.community-card h3{font-size:24px;line-height:1.2;margin:0 0 18px}
.service-prices{border-collapse:collapse;width:100%;margin:25px 0;font-size:15px}
.service-prices th,.service-prices td{padding:13px 0;border-bottom:1px solid var(--line)}
.service-prices th{text-align:left;font-weight:400}.service-prices td{text-align:right;white-space:nowrap;color:#fff6ef}
.service-card .button{margin-top:4px}
.review-card{margin:0;padding:25px 0;border-top:1px solid var(--line)}
.review-card h3{font-size:16px;font-weight:400;color:#ff9b66;margin:0 0 17px;overflow-wrap:anywhere}
.review-note{font-size:11px;line-height:1.6;color:var(--muted);margin:0 0 24px}
.author-contact-links{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}
.community-card .text-button{display:inline-block;color:#ff9b66;font-size:13px;line-height:1.5;margin-top:10px}
@media(max-width:800px){.author-preview{grid-template-columns:1fr 1fr;gap:28px;margin-top:55px}.author-photo{height:340px}.author-preview h2{font-size:36px}.author-profile-top{gap:25px}.author-profile-top .author-photo{height:350px}.credential-grid,.review-grid{grid-template-columns:1fr;gap:5px}.credential-card{padding:20px 0}.author-profile-title .page-intro{font-size:14px}.author-section{margin:40px 0}}
@media(max-width:560px){.author-preview{grid-template-columns:1fr;gap:5px;padding:20px 0;margin:40px 0}.author-photo{height:265px}.author-preview h2{font-size:37px;margin:17px 0 22px}.author-preview p{font-size:14px}.author-preview .author-summary{font-size:11px}.author-profile-top{grid-template-columns:1fr;gap:10px;margin-bottom:15px}.author-profile-title{grid-column:1;grid-row:1}.author-profile-top .author-photo{grid-column:1;grid-row:2;height:280px}.author-profile-title .page-title{font-size:45px}.author-profile-title .page-intro{font-size:14px;margin:20px 0}.author-page-nav{gap:8px;margin:25px 0 35px}.author-page-nav .chip{font-size:11px;padding:10px 12px}.service-grid,.community-grid{grid-template-columns:1fr;gap:18px}.service-card,.community-card{padding:23px}.service-card h3,.community-card h3{font-size:23px}.service-prices{font-size:14px}.author-contact-links{flex-direction:column;align-items:flex-start}}

/* integrations-v13.css */
/* Integration UI only; the selected hero, photos and wordmark keep their styles. */
.auth-methods{display:grid;gap:12px;margin:24px 0}.auth-method{display:flex;justify-content:space-between;gap:16px;text-align:left}.auth-method span{font-size:12px;color:var(--muted)}.auth-method:disabled{opacity:.5;cursor:default}.auth-form{display:grid;gap:20px;margin:26px 0}.auth-form label{display:grid;gap:10px}.auth-form input{width:100%;background:#15110f;color:#fff;border:1px solid #534136;border-radius:8px;padding:15px;font:inherit}.account-connections{padding:22px;border:1px solid #47372d;margin:20px 0 30px;border-radius:12px}.account-connections summary{cursor:pointer}.account-connections .auth-methods{grid-template-columns:repeat(2,minmax(0,1fr))}.card-preview{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;background:#090706;border-radius:14px 14px 0 0}.card-media-wrap:has(.card-preview) .favorite{z-index:2}.media-player{display:block;width:100%;max-height:65vh;background:#050505;object-fit:contain}.detail-visual>.media-player{height:100%;max-height:650px}.youtube-player{border:0;width:100%;aspect-ratio:16/9;margin:24px 0}.disk-files{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.disk-files .selected{border-color:var(--orange);color:var(--orange)}.complex-day{border-top:1px solid #49372d;padding:22px 0}.complex-day summary{cursor:pointer;font-size:22px;font-weight:700}.exercise{padding:16px 0;border-bottom:1px solid #211915}.exercise h3{font-size:20px}.media-error{margin:12px 0}.button:disabled{cursor:default}.nav{gap:clamp(20px,2.1vw,34px)}
@media(min-width:901px) and (max-width:1140px){.header{gap:20px}.header .nav{gap:16px}.header .nav a{font-size:12px}.header-actions{gap:10px}}
@media(max-width:560px){.account-connections .auth-methods{grid-template-columns:1fr}.card-preview{height:auto}.complex-day summary{font-size:19px}}

.exercise-image{width:100%;max-height:480px;object-fit:contain;background:#000}

/* release-v15.css */
.order-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:18px}
.order-item h3,.detail-content h2,.disk-files .button{overflow-wrap:anywhere}
.disk-files .button{min-width:0;max-width:100%;text-align:left}
.checkout-form .muted{font-size:12px}
@media(max-width:560px){
 .order-actions .button{max-width:100%;white-space:normal}
 .auth-form input,.checkout-form input{font-size:16px;min-height:44px}
 .modal-content .button{white-space:normal;text-align:center}
}

/* release-v17.css */
@media(max-width:560px){
 .catalog-toolbar input,.catalog-toolbar select{font-size:16px;min-height:44px}
 .catalog-toolbar label,.search-wrap{min-width:0}
 .auth-method{white-space:normal;text-align:left;min-height:44px}
}

/* release-v18.css */
.owned-badge{position:absolute;bottom:14px;left:14px;z-index:2;max-width:calc(100% - 28px);padding:8px 12px;border-radius:20px;background:#15281d;color:#c9ffd8;border:1px solid #508361;font-size:12px;font-weight:700;pointer-events:none}
.owned-badge[hidden]{display:none}

/* release-v19.css */
.legal-confirmations{display:grid;gap:14px;margin:22px 0}.legal-confirmations .legal-checkbox{display:flex;align-items:flex-start;gap:12px;font-size:14px;line-height:1.5;color:#ddd}.legal-confirmations input[type=checkbox]{appearance:auto;width:20px;min-width:20px;height:20px;margin:2px 0;padding:0;accent-color:var(--orange);cursor:pointer}.legal-confirmations a,.legal-note a{color:var(--orange);text-decoration:underline;text-underline-offset:3px}.legal-note{font-size:13px;line-height:1.6;margin:0}.legal-note a{white-space:normal}.footer-legal{display:flex;flex-wrap:wrap;gap:12px 22px;margin:0;padding:0 5vw 28px;font-size:12px}.footer-legal a{color:var(--muted)}.footer-legal a:focus-visible{outline:2px solid var(--orange);outline-offset:4px}

/* release-v20.css */
/* Original Taplink images and verbatim reviews; images retain their aspect ratios. */
.card-subtitle{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;white-space:normal}
.author-original{background:transparent;border:0;padding:0;width:100%;cursor:zoom-in}
.author-original img{mask-image:none;-webkit-mask-image:none;object-fit:contain}
.author-original:focus-visible,.review-photo:focus-visible{outline:2px solid var(--orange);outline-offset:5px}
.review-grid{grid-template-columns:1fr;gap:26px}
.review-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:30px;align-items:start;padding:26px;border:1px solid var(--line);border-radius:18px;background:#0c0704}
.review-photo{display:block;width:100%;margin:0;padding:0;border:0;background:transparent;color:var(--muted);cursor:zoom-in;text-align:left}
.review-photo img{display:block;width:100%;height:auto;object-fit:contain}
.photo-hint{display:block;margin-top:10px;font-size:12px;line-height:1.5}
.review-copy{min-width:0;padding-top:5px}
.review-card h3{margin:0 0 16px;font-size:19px;line-height:1.5}
.review-text{margin:0;padding:0;border:0}
.review-text p{white-space:pre-line;font-size:16px;line-height:1.85;overflow-wrap:anywhere;margin:0;color:#e2dbd6}
.photo-viewer{padding:32px}
.photo-viewer h2{font-size:24px;line-height:1.4;overflow-wrap:anywhere;margin:0 45px 20px 0}
.photo-viewer img{display:block;width:100%;height:auto;max-height:72vh;max-height:72dvh;object-fit:contain}
.photo-viewer .text-button{display:inline-block;margin-top:22px;line-height:1.6}
@media(max-width:700px){.review-card{grid-template-columns:1fr;gap:23px;padding:20px}.review-text p{font-size:15px}.review-copy{padding-top:0}.photo-viewer{padding:24px 18px}.photo-viewer h2{font-size:20px}.card-subtitle{-webkit-line-clamp:4;line-clamp:4}}

/* release-v21.css */
/* Manual review carousel: original content, compact cards and full text on demand. */
.review-carousel{width:100%;max-width:960px;margin:0 auto}
.review-viewport{min-width:0;touch-action:pan-y pinch-zoom;border-radius:18px}
.review-viewport:focus-visible{outline:2px solid var(--orange);outline-offset:5px}
.review-carousel .review-card{grid-template-columns:minmax(0,280px) minmax(0,1fr);gap:28px;padding:24px;margin:0}
.review-carousel .review-card[hidden]{display:none}
.review-carousel .review-photo img{height:220px;object-fit:contain}
.review-carousel .photo-hint{font-size:11px;margin-top:7px;text-align:center}
.review-carousel .review-copy{padding-top:4px}
.review-carousel .review-card h3{font-size:17px;margin-bottom:12px;overflow-wrap:anywhere}
.review-carousel .review-text p{font-size:15px;line-height:1.75}
.review-text.is-collapsed p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;line-clamp:4;overflow:hidden}
.review-expand{display:inline-flex;align-items:center;min-height:44px;padding:8px 0;margin-top:8px;border:0;background:transparent;color:var(--orange);font:inherit;font-size:13px;text-align:left;cursor:pointer}
.review-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:15px}
.review-counter{margin:0;font-size:12px;line-height:1.5;color:var(--muted)}
.review-navigation,.review-picker{display:flex;align-items:center;gap:6px}
.review-arrow,.review-picker button{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid var(--line);border-radius:50%;background:#0c0704;color:var(--white);font:inherit;cursor:pointer}
.review-arrow{font-size:20px}
.review-picker button{width:44px;font-size:12px;border-color:transparent;background:transparent}
.review-picker button[aria-current="true"]{color:var(--orange);border-color:var(--orange);background:#241006;cursor:default}
.review-arrow:hover,.review-expand:hover{color:var(--orange);border-color:var(--orange)}
.review-arrow:focus-visible,.review-picker button:focus-visible,.review-expand:focus-visible{outline:2px solid var(--orange);outline-offset:3px}
@media(max-width:700px){.review-carousel .review-card{grid-template-columns:1fr;gap:16px;padding:18px}.review-carousel .review-photo img{height:168px}.review-carousel .review-copy{padding-top:0}.review-carousel .review-card h3{font-size:16px;margin-bottom:10px}.review-carousel .review-text p{font-size:14px;line-height:1.75}.review-controls{gap:8px}.review-counter{font-size:11px}.review-navigation,.review-picker{gap:3px}.review-arrow{width:44px}.review-picker button{width:44px}}
@media(max-width:360px){.review-controls{flex-wrap:wrap}.review-navigation{margin-left:auto}}

/* release-v22.css */
/* Blend the existing author portrait into the page without changing its pixels. */
.author-profile-top:before,.author-preview:before{background:none}
.author-profile-top .author-original img,.author-preview .author-photo img{width:auto;max-width:100%;height:100%;-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 6%,#000 94%,transparent 100%),linear-gradient(180deg,transparent 0%,#000 3%,#000 84%,transparent 100%);-webkit-mask-composite:source-in;mask-image:linear-gradient(90deg,transparent 0%,#000 6%,#000 94%,transparent 100%),linear-gradient(180deg,transparent 0%,#000 3%,#000 84%,transparent 100%);mask-composite:intersect;mask-repeat:no-repeat}
/* The review aligns with the full content width; arrows sit beside its content. */
.review-carousel{max-width:none;margin:0;width:100%}
.review-frame{position:relative;width:100%;min-width:0}
.review-carousel .review-card{grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);gap:clamp(24px,3vw,44px);padding:28px 78px}
.review-carousel .review-photo img{height:260px}
.review-frame>.review-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:1;background:#0c0704}
.review-frame>[data-review-step="-1"]{left:14px}
.review-frame>[data-review-step="1"]{right:14px}
.review-controls{justify-content:center;gap:24px}
@media(max-width:700px){.review-carousel .review-card{grid-template-columns:1fr;gap:16px;padding:22px 18px}.review-carousel .review-photo img{height:180px;padding:0 46px}.review-frame>.review-arrow{top:112px}.review-frame>[data-review-step="-1"]{left:10px}.review-frame>[data-review-step="1"]{right:10px}.review-controls{gap:18px}.review-picker{margin:0}}

/* branding-v35.css */
/* Owner's white vector logos. The inner shadow is contained in each SVG. */
.brand.brand-with-logo,
.header .brand.brand-with-logo,
.footer-info .brand.brand-with-logo {
  display: block;
  flex: 0 1 auto;
  width: 164px;
  max-width: 164px;
  min-width: 0;
  line-height: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.brand-with-logo .brand-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: none;
  box-shadow: none;
}
.header { min-height: 96px; padding-block: 20px; }
.is-home .header { margin-bottom: -96px; }
.footer-info .brand.brand-with-logo { width: 224px; max-width: 100%; }
@media (max-width: 1200px) {
  .header .brand.brand-with-logo { width: 136px; max-width: 136px; }
}
@media (max-width: 1050px) {
  .header .nav.open { top: calc(100% - 8px); }
}
@media (max-width: 800px) {
  .header { min-height: 84px; padding-block: 18px; }
  .is-home .header { margin-bottom: -84px; }
  .header .brand.brand-with-logo { width: 130px; max-width: 130px; }
}
@media (max-width: 560px) {
  .header { min-height: 72px; padding-block: 17px; gap: 10px; }
  .is-home .header { margin-bottom: 0; }
  .header .brand.brand-with-logo { width: 100px; max-width: 100px; }
  .footer-info .brand.brand-with-logo { width: 180px; }
}
@media (max-width: 410px) {
  .header { gap: 10px; }
}
@media (max-width: 360px) {
  .header { min-height: 70px; gap: 8px; }
  .header .brand.brand-with-logo { width: 92px; max-width: 92px; }
}

/* release-v36.css */
/* Site editor presentation overrides, preserving material and purchase behavior. */
.admin-entry{margin-top:30px}.admin-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}.cms-section{position:relative}.cms-section-icon{position:absolute;right:18px;top:38px;width:28px;height:28px;color:var(--orange)}.cms-section-icon svg{width:100%;height:100%}.cms-section .portal-topline{padding-right:30px}.cms-search{margin:25px 0}.cms-section .portal-card-copy h3{white-space:pre-line}.nav{min-width:0;flex-wrap:wrap}.nav a{max-width:160px;overflow-wrap:anywhere}.cms-section .portal-card-copy p{overflow-wrap:anywhere}
@media(max-width:700px){.cms-section-icon{width:22px;height:22px;right:12px;top:34px}.admin-actions{flex-direction:column;align-items:flex-start}.nav a{max-width:none}}

/* articles.css */
.articles-page .search-wrap{max-width:760px;margin-top:24px}
.article-list{max-width:1040px;margin-top:24px}
.article-row{display:block;grid-column:1/-1;padding:24px 0;border-bottom:1px solid rgba(255,255,255,.14);color:inherit;text-decoration:none}
.article-row h2{margin:12px 0;font-size:clamp(25px,3vw,36px);line-height:1.2;letter-spacing:-.025em}
.article-row h2 span{color:var(--orange)}
.article-row p{max-width:820px;margin:0;color:var(--muted);font-size:16px;line-height:1.7}
.article-row:hover h2,.article-row:focus-visible h2{color:var(--orange)}
.article-reader{max-width:740px;margin:40px auto 0}
.article-title{margin:18px 0 30px;font-size:clamp(34px,4.4vw,60px);line-height:1.12;letter-spacing:-.03em;overflow-wrap:anywhere}
.article-body,.article-body.rich-text{font-size:clamp(17px,1.7vw,19px);line-height:1.7;white-space:normal;overflow-wrap:anywhere;color:#c8beb6}
.article-body p{margin:0 0 1.2em;font-size:inherit;line-height:inherit;color:inherit}
.article-body h2,.article-body h3,.article-body h4{margin:1.8em 0 .65em;color:var(--cream,#f5f0e9);font-family:inherit;font-weight:600;font-size:clamp(23px,2.5vw,29px);line-height:1.3;letter-spacing:-.02em;text-transform:none}
.article-body h3,.article-body h4{font-size:1.15em}
.article-body strong{color:var(--cream,#f5f0e9);font-weight:600}
.article-body ul,.article-body ol{margin:0 0 1.4em;padding-left:1.4em}
.article-body li{padding-left:.25em;margin:.6em 0}
.article-body li::marker{color:var(--orange)}
.article-body a{color:var(--orange);text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.article-body a:hover{color:var(--cream,#f5f0e9)}
.article-body>:first-child{margin-top:0}
.useful-materials-link{display:inline-block;margin:8px 0 20px}
[data-action="save"][hidden]{display:none!important}
.detail-content>[data-action="save"]{margin-top:18px}
@media(max-width:600px){.article-row{padding:21px 0}.article-row p{font-size:15px}.article-reader{margin-top:26px}.article-title{font-size:34px;margin-bottom:24px}.article-body.rich-text{font-size:17px;line-height:1.65}.article-body h2{font-size:23px;margin-top:1.5em}}

/* purchases-v40.css */
.card-purchase-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.card-purchase-actions .button{flex:1 1 120px;text-align:center;justify-content:center}
.detail-actions{display:flex;flex-wrap:wrap;gap:12px}
.detail-preview{margin-top:18px;font-size:15px}
.bundle-offer{margin:28px 0;padding:24px;border:1px solid rgba(226,109,45,.4);border-radius:16px;background:rgba(226,109,45,.06)}
.bundle-offer h3{margin:12px 0;font-size:25px;line-height:1.2;letter-spacing:-.025em}
.bundle-offer p,.cart-note{font-size:15px!important;line-height:1.65;color:var(--muted)}
.bundle-offer .button{margin-top:8px;}
.cart-note{margin:20px 0}
.cart-buy{font-size:14px;min-height:44px}
.pick-toolbar{flex-wrap:wrap;gap:12px}
@media(max-width:600px){.card-purchase-actions{gap:8px;margin-top:16px}.card-purchase-actions .button{flex-basis:100%;}.detail-actions .button{width:100%;justify-content:center}.bundle-offer{padding:20px}.bundle-offer h3{font-size:23px}.cart-row{grid-template-columns:minmax(0,1fr) auto;gap:12px}.cart-row>button{grid-column:1/-1;justify-self:start}}

/* forms-v43.css */
/* Compact authentication and payment sheets; 16px inputs prevent iOS zoom. */
dialog:has(.compact-form){width:min(480px,calc(100% - 24px));max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px)}
.modal-content.compact-form{padding:24px}
.compact-form h2{font-size:28px;line-height:1.12;margin:12px 32px 12px 0;overflow-wrap:anywhere}
.compact-form>.eyebrow{font-size:10px;letter-spacing:.12em}
.compact-form>p{font-size:14px;line-height:1.5;margin:10px 0}
.compact-form .auth-form,.compact-form .checkout-form{gap:12px;margin:14px 0 0}
.compact-form form>label{font-size:13px;gap:6px}
.compact-form input:not([type=checkbox]){font-size:16px;padding:11px 12px;min-height:44px}
.compact-form .legal-confirmations{gap:7px;margin:8px 0}
.compact-form .legal-checkbox{display:flex;flex-direction:row;text-align:left;font-size:12px;line-height:1.45;gap:9px;min-height:36px;align-items:center}
.compact-form .legal-checkbox span{flex:1}
.compact-form .legal-checkbox input{width:18px;height:18px;flex:0 0 18px}
.compact-form .legal-note,.compact-form .offer-note{font-size:12px!important;line-height:1.45;margin:0}
.compact-form .muted{font-size:12px;line-height:1.45;margin:0}
.compact-form .error:empty{display:none}
.compact-form .button{justify-content:center;}
.compact-form .bundle-details{margin-top:14px;border-top:1px solid var(--line);padding-top:12px;font-size:13px}
.compact-form .bundle-offer{padding:14px;margin:12px 0 0}
.compact-form .bundle-offer h3{font-size:19px;margin:8px 0}
.compact-form .bundle-offer p{font-size:13px!important;line-height:1.5}
.checkout-summary{max-height:100px;overflow:auto;font-size:12px;line-height:1.5;color:var(--muted);padding-left:18px;margin:10px 0}
.cart-discount{display:flex;justify-content:space-between;gap:12px;color:var(--orange);font-size:15px;padding:16px 0 0}
.cart-subtotal{display:flex;justify-content:space-between;gap:12px;font-size:14px;color:var(--muted);padding-top:16px}
.cart-total{margin-top:16px}
.cart-sheet .cart-row{padding-top:16px;padding-bottom:16px}
.cart-sheet .cart-row h3{font-size:19px;margin:0 0 6px}
.cart-sheet .bundle-offer{margin:20px 0;padding:18px}
.cart-sheet .bundle-offer h3{font-size:23px}
@media(max-width:600px){.modal-content.compact-form{padding:20px}.compact-form h2{font-size:24px}.compact-form .auth-methods{gap:8px}.cart-sheet .cart-row h3{font-size:17px}.cart-sheet .cart-row p{font-size:12px}.cart-sheet .bundle-offer h3{font-size:21px}}

/* navigation-v44.css */
.nav-arrow{display:inline-block;width:18px;height:18px;max-width:none;flex:0 0 auto;vertical-align:-3px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.icon-button .nav-arrow{width:22px;height:22px}
.button .nav-arrow,.text-button .nav-arrow{margin-left:4px}
.portal-arrow .nav-arrow,.direction-arrow .nav-arrow,.cta-circle .nav-arrow{width:24px;height:24px;vertical-align:middle}
.footer-cta .nav-arrow{width:28px;height:28px}
@media(max-width:600px){.nav-arrow{width:16px;height:16px;vertical-align:-2px}.icon-button .nav-arrow{width:20px;height:20px}.button .nav-arrow{width:17px;margin-left:2px}}


/* contact-buttons-v46: equal-sized accessible contact links only */
.author-contact-links{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  align-items:stretch;
  gap:12px;
  max-width:980px;
}
.author-contact-links>.button{
  width:100%;
  min-width:0;
  
  
  gap:8px;
  
  white-space:normal;
  text-align:center;
  justify-content:center;
}
@media (max-width:760px){
  .author-contact-links{grid-template-columns:1fr;max-width:420px;}
}


/* v48 / cart message, single checkout consent, inline music samples and truthful newcomers */
#toast.with-cart{display:flex;align-items:center;justify-content:space-between;gap:14px;min-width:min(410px,94vw);max-width:min(580px,94vw);padding:10px 12px 10px 22px;border-radius:19px;text-align:left;line-height:1.4;bottom:max(22px,env(safe-area-inset-bottom))}
#toast.visible.with-cart{pointer-events:auto}
.toast-cart-action{border:0;border-radius:12px;background:var(--orange);color:#20100b;font-weight:400;font-size:12px;line-height:1.2;padding:12px 14px;min-height:42px;white-space:nowrap;cursor:pointer}
.toast-cart-action:focus-visible{outline:2px solid #20100b;outline-offset:2px}
.card-media .card-new-badge{position:absolute;bottom:14px;left:14px;z-index:2;padding:8px 11px;background:var(--orange);color:#1a0d08;border-radius:20px;font-size:10px;font-weight:800;letter-spacing:.75px;line-height:1}
.catalog-new-link{margin-left:22px;display:inline-flex;margin-bottom:14px;font-weight:700}
.card-listen-wrap{margin-top:12px;min-width:0}
.card-listen{color:var(--orange);font-size:13px;font-weight:650;gap:6px;line-height:1.4}
.card-audio-slot[hidden]{display:none}
.card-audio-player{display:block;width:100%;height:44px;margin:5px 0;max-width:100%}
.compact-form .legal-confirmations{margin:12px 0 13px;gap:0}
.compact-form .legal-confirmations .legal-checkbox{align-items:center;min-height:28px;gap:9px;font-size:12px}
@media(max-width:560px){
 #toast.with-cart{width:calc(100vw - 20px);min-width:0;padding:11px;gap:8px;font-size:12px;bottom:max(14px,env(safe-area-inset-bottom))}
 .toast-cart-action{font-size:11px;padding:11px;min-height:43px;white-space:normal;max-width:48%}
 .catalog-new-link{display:flex;margin-left:0;margin-top:8px}
 .card-media .card-new-badge{bottom:10px;left:10px;padding:7px 10px}
}
/* v49 - integrated music preview, even controls and clean shop filters */
.detail-visual.music-detail-column {
  min-height:0; height:auto; overflow:visible; display:block;
  background:#140d09; border-radius:24px 0 0 24px;
}
.music-detail-column .mix-panel {
  padding:18px;display:flex;flex-direction:column;gap:14px;min-height:100%;
}
.music-detail-column .mix-cover {
  position:relative; aspect-ratio:1/1; max-height:430px; min-height:0; overflow:hidden;
  border:1px solid #4b372c;border-radius:16px;background:#0b0807;
}
.music-detail-column .mix-cover .music-art {
  position:relative; padding:0; width:100%; height:100%; min-height:0;
}
.music-detail-column .mix-cover .music-art img {
  position:static; display:block; width:100%; height:100%; object-fit:contain;
}
.music-detail-column .mix-cover .music-bpm {left:15px;bottom:15px}
.mix-player {
  background:linear-gradient(160deg,#281913,#170f0c);
  border:1px solid #74503b; border-radius:17px;
  padding:17px; color:#faf4ee; box-shadow:0 12px 28px #0005;
}
.mix-player-top,.mix-transport {display:flex;align-items:center}
.mix-player-top {justify-content:space-between;gap:12px;margin-bottom:16px}
.mix-player-label {font-size:10px;font-weight:750;letter-spacing:1.5px;color:var(--orange)}
.mix-player-hint {font-size:10px;text-align:right;color:#b7a79b}
.mix-transport {gap:9px;min-height:48px}
.mix-control {
  display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;
  position:relative;width:37px;height:37px;border-radius:50%;
  border:1px solid #634333;background:transparent;color:#eee4db;
  cursor:pointer;font:inherit;font-size:20px;
}
.mix-control:hover{background:#3a241a;border-color:var(--orange)}
.mix-control:focus-visible,.mix-seek:focus-visible {outline:2px solid var(--orange);outline-offset:3px}
.mix-play{width:49px;height:49px;background:var(--orange);border:0;color:#20100b;font-size:21px}
.mix-play:hover{background:#fb8652}
.mix-control small{position:absolute;right:3px;bottom:3px;font-size:9px;font-weight:750}
.mix-duration {margin-left:auto;display:flex;align-items:center;gap:4px;color:#e9d6c8;font-size:12px;font-variant-numeric:tabular-nums}
.mix-duration-sep{opacity:.5}
.mix-sound{border:0;width:36px;height:36px;font-size:16px;margin-left:2px}
.mix-seek {
  -webkit-appearance:none;appearance:none;
  display:block;width:100%;height:6px;margin:19px 0 6px;border-radius:10px;
  background:linear-gradient(to right,var(--orange) var(--mix-progress,0%),#6b564a var(--mix-progress,0%));
  cursor:pointer;
}
.mix-seek::-webkit-slider-thumb {
  -webkit-appearance:none;width:17px;height:17px;border-radius:50%;
  border:2px solid #fa6a31;background:#fff1e8;box-shadow:0 2px 8px #0007;
}
.mix-seek::-moz-range-thumb {
  width:14px;height:14px;border-radius:50%;border:2px solid #fa6a31;background:#fff1e8;
}
.mix-seek:disabled{opacity:.5;cursor:default}
.mix-audio {display:none}
.mix-error,.mix-unavailable {color:#f3b09b;font-size:12px;line-height:1.5;padding:8px 0}
.mix-error[hidden]{display:none}
.detail .detail-actions {display:flex;align-items:stretch;gap:12px}
.detail .detail-actions>.button {
  display:inline-flex;flex:1 1 0;align-items:center;justify-content:center;
  text-align:center;white-space:normal;
}
.bundle-details{margin:14px 0 0;padding:0;border-top:1px solid #6f5140}
.bundle-details>summary {
  display:grid;grid-template-columns:minmax(0,1fr) 34px;align-items:center;gap:15px;
  min-height:66px;margin:0;padding:12px 8px;line-height:1.4;font-size:17px;font-weight:600;
}
.bundle-details>summary::after {
  content:'+';display:flex;align-items:center;justify-content:center;
  width:34px;height:34px;border:1px solid #654333;border-radius:50%;
  line-height:1;font-size:22px;
}
.bundle-details[open]>summary::after{content:'−'}
.catalog-toolbar{grid-template-columns:minmax(0,2fr) minmax(170px,1fr) minmax(170px,1fr);align-items:end;gap:16px}
.catalog-toolbar.single-kind{grid-template-columns:minmax(0,1fr) minmax(180px,245px)}
.catalog-toolbar label {display:flex;flex-direction:column;align-items:stretch;gap:7px;min-width:0}
.catalog-toolbar .search-wrap {min-width:0}
.catalog-toolbar input,.catalog-toolbar select {width:100%;min-height:54px;font-size:14px;box-sizing:border-box}
.catalog-toolbar>label:last-child {grid-column:auto}
@media(max-width:760px){
 .detail-visual.music-detail-column{height:auto;min-height:0;border-radius:18px 18px 0 0}
 .music-detail-column .mix-panel{padding:12px;gap:12px}
 .music-detail-column .mix-cover{aspect-ratio:1.1;max-height:290px}
 .mix-player{padding:13px}
 .mix-player-hint{font-size:9px}
 .detail .detail-actions{flex-direction:column}
 .detail .detail-actions>.button{width:100%;}
 .catalog-toolbar,.catalog-toolbar.single-kind{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
 .catalog-toolbar .search-wrap{grid-column:1/-1}
 .catalog-toolbar.single-kind>label:last-child{grid-column:1/-1}
 .catalog-toolbar input,.catalog-toolbar select{min-height:52px}
}
@media(max-width:390px){
 .mix-transport{gap:7px}
 .mix-control{width:34px;height:34px}
 .mix-play{width:43px;height:43px}
 .mix-player-hint{display:none}
}

/* Single article catalog: the former shop-like image grid, with rich reader preserved */
.articles-page .article-list {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;max-width:none;margin-top:24px}
.article-feature-card {display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:18px;background:var(--panel);color:inherit;text-decoration:none;transition:border-color .2s,transform .2s}
.article-feature-card:hover,.article-feature-card:focus-visible {border-color:var(--orange);transform:translateY(-3px);outline-offset:3px}
.article-feature-cover {aspect-ratio:1.55;position:relative;overflow:hidden;display:block;background:#211711}
.article-feature-cover img {display:block;object-fit:cover;width:100%;height:100%;transition:transform .35s}
.article-feature-card:hover .article-feature-cover img{transform:scale(1.035)}
.article-feature-group{position:absolute;left:14px;top:14px;max-width:calc(100% - 28px);background:#1b100de6;color:#fff5ed;font-size:10px;line-height:1.35;padding:7px 10px;border:1px solid #5b3b2d;border-radius:16px}
.article-feature-content{display:flex;flex-direction:column;align-items:flex-start;flex:1;gap:11px;padding:20px}
.article-feature-content .eyebrow {margin:0;color:var(--orange);font-size:10px}
.article-feature-title {display:block;font-size:clamp(19px,1.7vw,26px);line-height:1.18;letter-spacing:-.02em;overflow-wrap:anywhere}
.article-feature-intro{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;color:var(--muted);line-height:1.55;font-size:13px}
.article-feature-cta{color:var(--orange);margin-top:auto;padding-top:14px;font-weight:700;font-size:12px}
.article-feature-cta span{padding-left:9px;font-size:16px}
.bundle-details>summary {list-style:none;cursor:pointer}
.bundle-details>summary::-webkit-details-marker{display:none}
.bundle-details>summary::marker{content:''}
@media(max-width:1020px){}
@media(max-width:640px){.articles-page .article-list{grid-template-columns:1fr;gap:14px}.article-feature-cover{aspect-ratio:1.8}.article-feature-content{padding:16px}.article-feature-title{font-size:23px}}

/* Compact, text-only article catalog; richer reading view is unchanged. */
.articles-page .article-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.articles-page .article-feature-card{min-height:206px;border-radius:7px;background:#151515;box-shadow:none;transform:none}
.articles-page .article-feature-card:hover,.articles-page .article-feature-card:focus-visible{transform:none;border-color:var(--orange)}
.articles-page .article-feature-content{padding:19px 20px;gap:9px}
.articles-page .article-feature-content .eyebrow{font-size:11px;letter-spacing:0;text-transform:none;color:var(--orange)}
.articles-page .article-feature-title{font-family:inherit;font-weight:750;line-height:1.28;font-size:19px;letter-spacing:-.015em}
.articles-page .article-feature-intro{font-size:13px;line-height:1.55;-webkit-line-clamp:3;margin:2px 0;color:#b9b4af}
.articles-page .article-feature-cta{font-weight:650;font-size:12px;padding-top:9px}
.articles-page .article-feature-cta span{padding-left:2px;font-size:16px}
@media(max-width:1020px){.articles-page .article-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.articles-page .article-list{grid-template-columns:minmax(0,1fr)}.articles-page .article-feature-card{min-height:178px}.articles-page .article-feature-content{padding:17px}.articles-page .article-feature-title{font-size:20px}}
/* release v50: compact aligned music transport, volume popover, honest progress,
   balanced product filters, and no unused blank area beneath the last detail notice. */
.detail:has(.music-detail-column){align-items:start}
.detail:has(.music-detail-column) .detail-content{padding-bottom:16px}
.detail-visual.music-detail-column{align-self:start;height:auto;min-height:0}
.music-detail-column .mix-panel{min-height:0;padding:16px;gap:12px}
.music-detail-column .mix-cover{height:280px;max-height:280px;aspect-ratio:auto;width:100%}
.music-detail-column .mix-cover .music-art{height:100%;width:100%;min-height:0;display:block}
.music-detail-column .mix-cover .music-art img{position:static;object-fit:contain}
.mix-player{padding:13px 16px 15px;border-radius:17px}
.mix-player-top{margin-bottom:9px}
.mix-transport{position:relative;display:flex;justify-content:center;align-items:center;width:100%;min-height:56px}
.mix-main-buttons{display:flex;align-items:center;justify-content:center;gap:18px}
.mix-control.mix-skip{width:49px;height:49px;position:relative;display:flex;align-items:center;justify-content:center;border:0;border-radius:50%;background:transparent}
.mix-skip svg{width:34px;height:34px;fill:none;stroke:#f3e4d9;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;display:block}
.mix-skip-seconds{position:absolute;left:0;right:0;top:24px;width:100%;text-align:center;line-height:1;font-size:9px;font-weight:750;color:#f3e4d9}
.mix-control.mix-play{width:55px;height:55px;background:var(--orange);border:0;color:#261207;display:grid;place-items:center}
.mix-play-icon{display:flex;align-items:center;justify-content:center;margin:0;padding:0;line-height:1;font-size:22px;font-weight:650;transform:translateX(1px)}
.mix-volume{position:absolute;right:0;top:50%;transform:translateY(-50%);z-index:9;min-width:36px}
.mix-volume>summary{display:grid;place-items:center;width:38px;height:38px;border:1px solid #5e4235;border-radius:50%;background:#291a14;color:#f7e6dc;cursor:pointer;list-style:none}
.mix-volume>summary::-webkit-details-marker{display:none}
.mix-volume>summary::marker{content:''}
.mix-volume>summary svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.mix-volume[open]>summary,.mix-volume>summary:hover{border-color:var(--orange);color:var(--orange)}
.mix-volume>summary:focus-visible,.mix-volume-slider:focus-visible{outline:2px solid var(--orange);outline-offset:3px}
.mix-volume-popover{position:absolute;right:0;bottom:calc(100% + 11px);width:197px;box-sizing:border-box;display:flex;align-items:center;gap:10px;padding:14px;background:linear-gradient(125deg,#34231d,#1e1411);border:1px solid #81523d;border-radius:13px;box-shadow:0 13px 36px #000b}
.mix-volume:not([open]) .mix-volume-popover{display:none}
.mix-volume-title{font-size:10px;color:#c9ae9f;position:absolute;top:4px;left:14px}
.mix-volume-percent{font-size:11px;min-width:31px;font-variant-numeric:tabular-nums;text-align:right}
.mix-volume-slider{display:block;width:114px;min-width:0;height:4px;margin:9px 0 0;padding:0;appearance:none;-webkit-appearance:none;background:#8f6650;border:0;border-radius:5px;accent-color:var(--orange);cursor:pointer}
.mix-volume-slider::-webkit-slider-thumb{-webkit-appearance:none;width:15px;height:15px;border-radius:50%;background:var(--orange);border:2px solid #fff2e8}
.mix-volume-slider::-moz-range-thumb{width:13px;height:13px;border-radius:50%;background:var(--orange);border:2px solid #fff2e8}
.mix-progress-row{display:flex;align-items:center;gap:10px;min-width:0;margin-top:12px}
.mix-now,.mix-total{display:block;min-width:32px;text-align:center;color:#c5b3a5;font-size:12px;line-height:1.2;font-variant-numeric:tabular-nums}
.mix-seek-shell{position:relative;display:block;flex:1 1 0;min-width:0;height:22px}
.mix-progress-rail{position:absolute;left:8px;right:8px;top:50%;height:5px;transform:translateY(-50%);background:#71574b;border-radius:10px;overflow:hidden;pointer-events:none}
.mix-progress-fill{height:100%;width:0;background:var(--orange);border-radius:10px}
.mix-seek,.mix-seek:disabled{position:absolute;inset:0;display:block;width:100%;height:22px;min-height:22px;max-height:22px;padding:0;margin:0;border:0;box-sizing:border-box;appearance:none;-webkit-appearance:none;background:transparent;cursor:pointer;opacity:1}
.mix-seek:disabled{cursor:default}
.mix-seek::-webkit-slider-runnable-track{height:5px;background:transparent;border:0}
.mix-seek::-webkit-slider-thumb{-webkit-appearance:none;width:16px;height:16px;margin-top:-5.5px;background:#fff5ef;border:2px solid var(--orange);border-radius:50%;box-shadow:0 2px 7px #0009}
.mix-seek::-moz-range-track{height:5px;background:transparent;border:0}
.mix-seek::-moz-range-thumb{width:13px;height:13px;background:#fff5ef;border:2px solid var(--orange);border-radius:50%}
.catalog-page .catalog-toolbar{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px;align-items:end;margin:24px 0 18px}
.catalog-page .catalog-toolbar.single-kind{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.catalog-page .catalog-toolbar .search-wrap{margin:0!important;max-width:none!important;grid-column:auto!important;display:flex;flex-direction:column;align-items:stretch;gap:7px;min-width:0}
.catalog-page .catalog-toolbar label{grid-column:auto!important;margin:0;gap:7px;font-size:12px;line-height:1.3;font-weight:600;color:#c5b8af;min-width:0}
.catalog-page .catalog-toolbar .filter-label{font-size:12px;line-height:1.3}
.catalog-page .catalog-toolbar input,.catalog-page .catalog-toolbar select{display:block;width:100%;min-width:0;box-sizing:border-box;height:48px!important;min-height:48px!important;max-height:48px;border-radius:12px;padding:0 14px;font-size:14px;line-height:normal;background:#211711;border:1px solid #584339;color:#f6f1ed}
.catalog-page .catalog-toolbar .search-wrap input{padding-left:42px}
.catalog-page .catalog-toolbar .search-wrap::before{top:auto;bottom:10px;left:14px;line-height:28px;font-size:22px;pointer-events:none}

@media(max-width:760px){
 .music-detail-column .mix-panel{padding:12px}
 .music-detail-column .mix-cover{height:250px;max-height:250px}
 .mix-player{padding:12px}
 .catalog-page .catalog-toolbar,.catalog-page .catalog-toolbar.single-kind{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px}
 .catalog-page .catalog-toolbar .search-wrap{grid-column:1/-1!important}
 .catalog-page .catalog-toolbar.single-kind>label:last-child{grid-column:1/-1!important}
}
@media(max-width:450px){
 .catalog-page .catalog-toolbar,.catalog-page .catalog-toolbar.single-kind{grid-template-columns:minmax(0,1fr)!important;gap:12px}
 .catalog-page .catalog-toolbar .search-wrap,.catalog-page .catalog-toolbar>label{grid-column:1/-1!important}
 .mix-control.mix-skip{width:43px;height:43px}
 .mix-main-buttons{gap:13px}
 .mix-volume-popover{width:174px;padding:11px}
 .mix-volume-slider{width:95px}
}

/* Safari-safe volume button (native <details> indicator removed). */
.mix-volume .mix-volume-trigger{
  display:grid;place-items:center;width:38px;height:38px;
  padding:0;border:1px solid #5e4235;border-radius:50%;
  background:#291a14;color:#f7e6dc;cursor:pointer;list-style:none;
}
.mix-volume .mix-volume-trigger svg{
  display:block;width:20px;height:20px;fill:none;
  stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;
}
.mix-volume .mix-volume-trigger:hover,
.mix-volume .mix-volume-trigger[aria-expanded="true"]{
  border-color:var(--orange);color:var(--orange);
}
.mix-volume .mix-volume-trigger:focus-visible{
  outline:2px solid var(--orange);outline-offset:3px;
}
.mix-volume .mix-volume-popover[hidden]{display:none!important}

/* Replace the historical native-details visibility rule with explicit button state. */
.mix-volume .mix-volume-popover:not([hidden]){display:flex!important}


/* v53: own badge clear of BPM; Safari select */
/* "Доступ открыт" has its own row under the format tag; BPM stays unobstructed. */
.product-card:has(.music-art) .owned-badge{
  top:65px; bottom:auto; left:16px; right:auto;
  max-width:calc(100% - 32px);
  padding:8px 12px;
  pointer-events:none;
}
@media (max-width:560px){
  .product-card:has(.music-art) .owned-badge{
    top:46px; left:11px; max-width:calc(100% - 22px);
    font-size:11px; padding:7px 10px;
  }
}
/* A recent music release should not mask the BPM pill either. */
.product-card .card-media .card-new-badge{
  left:auto;right:13px;bottom:13px;
}

/* Force Safari, Chrome and Firefox to render filters exactly like search. */
.catalog-page .catalog-toolbar label:has(select){position:relative}
.catalog-page .catalog-toolbar select{
  -webkit-appearance:none!important;
  -moz-appearance:none!important;
  appearance:none!important;
  display:block;
  background:#211711!important;
  background-image:none!important;
  border:1px solid #584339!important;
  box-shadow:none!important;
  outline:none;
  border-radius:12px!important;
  padding:0 43px 0 14px!important;
  color:#f6f1ed!important;
  font:inherit;
  font-size:14px!important;
  font-weight:500!important;
  line-height:normal!important;
  height:48px!important;
  min-height:48px!important;
  max-height:48px!important;
  width:100%;
  box-sizing:border-box;
  cursor:pointer;
}
.catalog-page .catalog-toolbar label:has(>select)::after{
  content:"";
  position:absolute;
  right:19px;
  bottom:19px;
  width:8px;
  height:8px;
  border-right:1.8px solid #d7c2b7;
  border-bottom:1.8px solid #d7c2b7;
  transform:rotate(45deg);
  pointer-events:none;
}

.catalog-page .catalog-toolbar select::-ms-expand{display:none}


/* v54: switch BPM and owned status, and stretch the dark music column. */
/* Product cards: tempo sits directly below the format, ownership stays at the foot like workouts. */
.product-card:has(.music-art) .card-media .music-bpm{
  top:65px;
  bottom:auto;
  left:16px;
  right:auto;
  z-index:2;
}
.product-card:has(.music-art) .owned-badge{
  top:auto;
  bottom:14px;
  left:14px;
  right:auto;
  z-index:3;
}
/* Left dark side has exactly the same bottom edge as the description side on desktop. */
.detail:has(.music-detail-column) .detail-visual.music-detail-column{
  align-self:stretch;
  height:auto;
  box-sizing:border-box;
  background:#140d09;
}
.detail:has(.music-detail-column) .music-detail-column .mix-panel{
  height:100%;
  box-sizing:border-box;
}
/* The skip controls remain accessible ±15s buttons, but without overlaid digits. */
.mix-control.mix-skip svg{
  width:30px;
  height:30px;
}
@media(max-width:560px){
  .product-card:has(.music-art) .card-media .music-bpm{
    top:46px;
    bottom:auto;
    left:11px;
  }
  .product-card:has(.music-art) .owned-badge{
    top:auto;
    bottom:10px;
    left:10px;
  }
}

/* v56 – unified shopping cards, controls and typography.
   One visible action for every purchasable/free/owned product. */
.product-card .card-copy{
  display:flex;
  flex-direction:column;
  flex:1;
  min-width:0;
}
.product-card .card-purchase-actions{
  display:flex;
  align-items:stretch;
  width:100%;
  margin-top:18px;
  gap:10px;
}
.product-card .card-purchase-actions .card-primary-button{
  flex:1 1 0;
  min-width:0;
  min-height:48px;
  text-align:center;
  display:flex;
  justify-content:center;
  align-items:center;
  line-height:1.3;
}
.product-card .card-purchase-actions [data-action="save"][hidden]{display:none!important}
.product-card .card-purchase-actions [data-action="save"]:not([hidden]){
  flex:0 0 auto;
  min-width:88px;
  min-height:48px;
}
/* Identical outline heart in cards and header, without a circular background. */
.product-card .icon-button.favorite{
  width:38px;
  height:38px;
  min-width:38px;
  padding:7px;
  top:12px;
  right:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  aspect-ratio:1;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#f7e7dd;
  line-height:1;
  font-size:0;
}
.product-card .icon-button.favorite svg{
  display:block;
  flex:none;
  width:24px!important;
  height:24px!important;
  stroke:currentColor;
  stroke-width:1.65;
  fill:none;
  aspect-ratio:1;
  overflow:visible;
}
.product-card .icon-button.favorite.on {color:var(--orange);}
.product-card .icon-button.favorite.on svg {fill:var(--orange);stroke:var(--orange);fill-opacity:1;}
.product-card .icon-button.favorite:hover,
.product-card .icon-button.favorite:focus-visible {color:var(--orange);}
.product-card .icon-button.favorite:focus-visible,
#modal > button.close:focus-visible {outline:2px solid var(--orange);outline-offset:2px;border-radius:4px;}
/* Modal dismiss control: no circle and same geometry/stroke as heart. */
#modal > button.close{
  position:absolute;
  top:12px;
  right:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  min-height:38px;
  padding:7px;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#f7e7dd;
  font-size:0;
  line-height:1;
  z-index:20;
}
#modal > button.close svg{
  display:block;
  width:24px!important;
  height:24px!important;
  flex:none;
  fill:none;
  stroke:currentColor;
  stroke-width:1.65;
  stroke-linecap:round;
  stroke-linejoin:round;
}
#modal > button.close:hover{color:var(--orange);}
/* Search is the same font and metrics as native-looking styled selects, with muted placeholder. */
.catalog-page .catalog-toolbar input[type="search"],
.catalog-page .catalog-toolbar select{
  font-family:inherit!important;
  font-size:14px!important;
  font-weight:500!important;
  letter-spacing:0!important;
  line-height:normal!important;
  height:48px!important;
  min-height:48px!important;
  max-height:48px!important;
  border-radius:12px!important;
}
.catalog-page .catalog-toolbar input[type="search"]{
  color:#e1d4c8!important;
  -webkit-appearance:none;
  appearance:none;
}
.catalog-page .catalog-toolbar input[type="search"]::placeholder{
  opacity:1;
  color:#a89a8f!important;
  font-family:inherit;
  font-size:14px;
  font-weight:500;
  letter-spacing:0;
}
.catalog-page .catalog-toolbar input[type="search"]::-webkit-search-decoration,
.catalog-page .catalog-toolbar input[type="search"]::-webkit-search-results-button,
.catalog-page .catalog-toolbar input[type="search"]::-webkit-search-results-decoration{
  -webkit-appearance:none;
}
/* Play/Pause centered in the entire control row – volume sits independently at right. */
.mix-transport{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
}
.mix-main-buttons{
  position:relative;
  display:grid;
  grid-template-columns:48px 55px 48px;
  align-items:center;
  justify-content:center;
  justify-items:center;
  column-gap:17px;
  margin:0 auto;
}
.mix-control.mix-play{
  position:relative;
  display:grid;
  place-items:center;
  width:55px;
  height:55px;
  padding:0;
  margin:0;
  border-radius:50%;
  line-height:1;
}
.mix-play-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  font-family:Arial,Helvetica,sans-serif;
  line-height:1;
  margin:0;
  padding:0;
  transform:translateX(1px);
}
.mix-control.mix-skip{padding:0;}
.mix-control.mix-skip svg {display:block;margin:auto;}
/* Digits are no longer in markup, and stale cached icons cannot expose them. */
.mix-skip-seconds{display:none!important;}
@media(max-width:560px){
  .product-card .icon-button.favorite{
    top:8px;
    right:8px;
    width:34px;
    height:34px;
    min-width:34px;
    padding:5px;
  }
  .product-card .icon-button.favorite svg{
    width:23px!important;
    height:23px!important;
  }
  #modal > button.close{top:9px;right:9px;width:36px;height:36px;min-height:36px;padding:6px;}
  #modal > button.close svg{width:23px!important;height:23px!important;}
  .product-card .card-purchase-actions{gap:8px;margin-top:14px}
  .product-card .card-purchase-actions .card-primary-button{min-height:46px}
  .product-card .card-purchase-actions [data-action="save"]:not([hidden]){min-height:46px}
  .mix-main-buttons{grid-template-columns:42px 52px 42px;column-gap:12px}
  .mix-control.mix-play{width:52px;height:52px}
}

/* v58: purchased-status and "new" badge must never overlap. */
.product-card.is-owned .card-new-badge,
.product-card.is-owned .card-new-badge[hidden],
.product-card:has(.owned-badge:not([hidden])) .card-new-badge{
  display:none!important;
}
.product-card .card-new-badge[hidden]{display:none!important;}
.product-card .owned-badge:not([hidden]){
  max-width:calc(100% - 20px);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.product-card .card-media .card-new-badge:not([hidden]){
  left:auto;
  right:12px;
  bottom:12px;
  max-width:calc(100% - 24px);
  white-space:nowrap;
}
/* If two actions are present, stack them full width. */
.product-card .card-copy .card-purchase-actions{
  display:flex!important;
  flex-direction:column!important;
  flex-wrap:nowrap!important;
  align-items:stretch!important;
  justify-content:flex-end;
  gap:8px!important;
  margin-top:16px;
  width:100%;
}
.product-card .card-copy .card-purchase-actions > .button,
.product-card .card-copy .card-purchase-actions > .card-primary-button,
.product-card .card-copy .card-purchase-actions > .card-cart-button{
  box-sizing:border-box;
  display:flex;
  flex:0 0 auto!important;
  flex-basis:auto!important;
  width:100%!important;
  max-width:100%;
  min-width:0!important;
  
  
  
  margin:0;
  
  text-align:center;
  justify-content:center;
  align-items:center;
  white-space:normal;
  overflow-wrap:normal;
  word-break:normal;
}
.product-card .card-copy .card-purchase-actions > .card-cart-button[hidden]{
  display:none!important;
}
@media(max-width:560px){
  .product-card .card-copy .card-purchase-actions{gap:7px!important;margin-top:14px;}
  .product-card .card-media .card-new-badge:not([hidden]){right:9px;bottom:9px;}
  .product-card .owned-badge:not([hidden]){max-width:calc(100% - 18px);}
}

/* v59: vector play/pause icons - no Unicode Emoji glyphs on iOS Safari. */
.mix-control.mix-play .mix-play-icon{
  display:block;
  width:24px!important;
  height:24px!important;
  min-width:24px;
  min-height:24px;
  max-width:24px;
  max-height:24px;
  flex:0 0 auto;
  overflow:visible;
  color:#261207;
  fill:currentColor;
  transform:translateX(1px);
}
.mix-control.mix-play .mix-glyph-pause{display:none;}
.mix-control.mix-play .mix-glyph-play{display:block;}
.mix-control.mix-play.is-playing .mix-glyph-play{display:none;}
.mix-control.mix-play.is-playing .mix-glyph-pause{display:block;}
.mix-control.mix-play.is-playing .mix-play-icon{transform:none;}

/* v60 - "Мои материалы": identical card heights and footer position.
   Scoped to the account's ownership grid only; catalog remains unchanged. */
#account-body.grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  align-items:stretch;
  gap:18px;
}
#account-body.grid > .product-card{
  display:flex;
  flex-direction:column;
  box-sizing:border-box;
  height:100%;
  min-height:260px;
  min-width:0;
  align-self:stretch;
}
#account-body.grid > .product-card > .card-copy{
  display:flex;
  flex:1 1 auto;
  flex-direction:column;
  align-items:stretch;
  box-sizing:border-box;
  min-width:0;
  padding:21px;
}
#account-body.grid .card-meta.owned{
  display:block;
  flex:0 0 auto;
  min-height:18px;
  line-height:18px;
}
#account-body.grid .card-copy h3{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:4;
  line-clamp:4;
  overflow:hidden;
  flex:0 0 auto;
  box-sizing:border-box;
  min-height:4.8em;
  max-height:4.8em;
  margin:12px 0 9px;
  font-size:20px;
  line-height:1.2;
  overflow-wrap:anywhere;
}
#account-body.grid .card-copy > .card-subtitle{
  display:block;
  flex:0 0 auto;
  min-height:22px;
  margin:0 0 13px;
  font-size:13px;
  line-height:1.5;
}
#account-body.grid .card-copy > button[data-action="material"]{
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 56px;
  box-sizing:border-box;
  width:100%;
  min-width:0;
  max-width:100%;
  height:56px;
  min-height:56px;
  max-height:56px;
  margin:auto 0 0;
  padding:10px 12px;
  border-radius:999px;
  text-align:center;
  font-size:14px;
  line-height:1.2;
  white-space:normal;
  overflow-wrap:normal;
  word-break:normal;
  gap:8px;
}
@media(max-width:800px){
  #account-body.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;}
  #account-body.grid > .product-card{min-height:252px;}
  #account-body.grid > .product-card > .card-copy{padding:17px 14px;}
  #account-body.grid .card-copy h3{font-size:17px;margin:11px 0 7px;}
  #account-body.grid .card-copy > .card-subtitle{font-size:12px;min-height:19px;margin-bottom:10px;}
  #account-body.grid .card-copy > button[data-action="material"]{height:56px;min-height:56px;max-height:56px;flex-basis:56px;font-size:13px;padding:9px 10px;}
}
@media(max-width:420px){
  #account-body.grid{gap:12px;}
  #account-body.grid > .product-card{min-height:240px;}
  #account-body.grid > .product-card > .card-copy{padding:15px 12px;}
  #account-body.grid .card-meta.owned{min-height:16px;line-height:16px;font-size:10px;}
  #account-body.grid .card-copy h3{font-size:16px;line-height:1.22;min-height:4.88em;max-height:4.88em;margin:10px 0 7px;}
  #account-body.grid .card-copy > .card-subtitle{font-size:11px;line-height:1.45;min-height:17px;}
  #account-body.grid .card-copy > button[data-action="material"]{font-size:12px;line-height:1.15;padding:9px 7px;height:56px;min-height:56px;max-height:56px;flex-basis:56px;gap:5px;}
}


/* UI system v61 — shared tokens, accessibility and alignment.
   Scoped to existing components. Preserve layout of checkout/payment/API screens. */
:root{
 --ui-action-height:52px;
 --ui-action-small:44px;
 --ui-input-height:48px;
 --ui-card-radius:24px;
 --ui-field-radius:12px;
 --ui-accent:#ff641f;
 --ui-text:#f6f1ed;
 --ui-muted:#b9a99d;
 --ui-focus:#ff8c56;
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,
[role="button"]:focus-visible{
 outline:2px solid var(--ui-focus);
 outline-offset:3px;
}
.button:not(.icon-button):not(.chip),
a.button:not(.chip){
 box-sizing:border-box;
 display:inline-flex;
 justify-content:center;
 align-items:center;
 gap:9px;
 
 
 text-align:center;
 
 font-family:Arial,Helvetica,sans-serif;
 font-weight:500;
 
 white-space:normal;
}
.page .chip,.home-catalog .chip,.about-page .chip{
 box-sizing:border-box;
 display:inline-flex;
 align-items:center;
 justify-content:center;
 min-height:40px;
 font:500 12px/1.2 Arial,Helvetica,sans-serif;
 text-align:center;
 white-space:nowrap;
}
.page .tabs,.home-catalog .tabs{
 scrollbar-width:none;
 scroll-behavior:auto;
 scroll-padding-inline:20px;
}
.page .tabs::-webkit-scrollbar,.home-catalog .tabs::-webkit-scrollbar{display:none;}
.catalog-page .catalog-toolbar input[type="search"],
.catalog-page .catalog-toolbar select,
.articles-page input[type="search"]{
 min-height:var(--ui-input-height)!important;
 height:var(--ui-input-height)!important;
 border-radius:var(--ui-field-radius)!important;
 font:500 14px/1.3 Arial,Helvetica,sans-serif!important;
}
.catalog-page .catalog-toolbar input[type="search"]::placeholder,
.articles-page input[type="search"]::placeholder{
 font:500 14px/1.3 Arial,Helvetica,sans-serif!important;
 color:#aa9c91!important;
 opacity:1;
}
/* Purchase cards share a common rhythm. The account grid has its own v60 height model. */
.product-card{
 border-radius:var(--ui-card-radius);
 overflow:hidden;
}
.product-card .card-copy{
 display:flex;
 flex-direction:column;
 min-width:0;
 flex:1;
}
.product-card .card-meta{
 color:var(--ui-muted);
 font:500 12px/1.35 Arial,Helvetica,sans-serif;
 letter-spacing:.05em;
}
.product-card .card-subtitle{
 font:400 13px/1.5 Arial,Helvetica,sans-serif;
 color:var(--ui-muted);
 display:-webkit-box;
 -webkit-box-orient:vertical;
 -webkit-line-clamp:3;
 line-clamp:3;
 overflow:hidden;
}
.product-card .card-bottom{
 margin-top:auto;
}
.product-card .card-copy .card-purchase-actions{
 align-items:stretch;
}
.product-card .card-copy .card-purchase-actions > .button{
 font:500 14px/1.25 Arial,Helvetica,sans-serif!important;
 
 align-self:stretch;
}
.product-card .card-tag{
 font:500 10px/1.3 Arial,Helvetica,sans-serif!important;
 letter-spacing:.035em;
}
.product-card .card-new-badge{
 font:700 10px/1.3 Arial,Helvetica,sans-serif;
}
.product-card .icon-button.favorite svg{stroke-linecap:round;stroke-linejoin:round;}
/* Short action with a genuine finger-sized hit area. */
.cart-sheet .cart-row button[data-action="remove"]{
 display:inline-flex;
 align-items:center;
 justify-content:center;
 align-self:center;
 min-width:68px;
 min-height:44px;
 padding:9px 12px;
 border:1px solid #574236;
 border-radius:12px;
 font:500 12px/1.25 Arial,Helvetica,sans-serif;
 text-align:center;
 white-space:nowrap;
 color:var(--ui-text);
}
/* Functional semantics: common form labels, inputs and notice areas. */
.modal-content label, .checkout-form label,
.cart-sheet label{font-family:Arial,Helvetica,sans-serif;}
#modal > button.close:focus-visible{
 outline:2px solid var(--ui-focus);
 outline-offset:2px;
}
@media(max-width:800px){
 .product-card .card-meta{font-size:11px;line-height:1.35;}
 .product-card .card-subtitle{font-size:12px;line-height:1.45;}
 .product-card .card-tag{font-size:9px!important;}
 .catalog-page .tabs,.home-catalog .tabs{
  overscroll-behavior-inline:contain;
 }
}
@media(max-width:560px){
 /* Leave main account grid's v60 typography untouched. */
 .product-card:not(#account-body .product-card) .card-meta{
  font-size:10px;
  line-height:1.4;
 }
 .product-card:not(#account-body .product-card) .card-subtitle{
  font-size:12px;
  line-height:1.4;
  -webkit-line-clamp:3;
  line-clamp:3;
 }
 .product-card .card-tag{
  font-size:9px!important;
  line-height:1.25!important;
  padding:6px 7px!important;
 }
 .header-actions>.icon-button{position:relative;}
 .header-actions>.icon-button::before{
  content:"";
  position:absolute;
  inset:-5px -7px;
  min-height:42px;
  z-index:0;
 }
 .page .chip,.home-catalog .chip,.about-page .chip{
  min-height:40px;
  padding:9px 13px;
  font-size:12px;
 }
 .articles-page .article-feature-intro{font-size:13px;line-height:1.5;}
}

/* One pill with a sliding orange selection, matching the reference. */
.mix-modes{position:relative;isolation:isolate;display:flex;gap:0;padding:4px;margin:0 0 14px;border:1px solid #8d5a3b55;border-radius:999px;background:#21160f;box-shadow:0 5px 14px #0003}
.mix-modes::before{content:"";position:absolute;z-index:-1;left:4px;top:4px;bottom:4px;width:calc((100% - 8px)/2);border-radius:999px;background:var(--orange,var(--orange));box-shadow:0 2px 8px #0003;transform:translateX(0);transition:transform .35s cubic-bezier(.22,1,.36,1)}
.mix-modes:has([data-mix-mode="full"][aria-pressed="true"])::before{transform:translateX(100%)}
.mix-modes button{flex:1;min-width:0;min-height:40px;border:0;border-radius:999px;background:transparent;color:#bcaa9d;padding:9px 8px;font:inherit;font-size:13px;font-weight:600;line-height:1.25;cursor:pointer;transition:color .25s ease}
.mix-modes button[aria-pressed="true"]{background:transparent;color:#100b07}
.mix-player-top[hidden]{display:none}
.mix-modes button:focus-visible,.mix-file-select:focus-visible{outline:2px solid #fff;outline-offset:3px}
.mix-file-label{display:grid;gap:8px;padding:0 16px 16px;font-size:13px;color:#ead8cb}
.mix-file-select{width:100%;min-width:0;padding:10px;border-radius:8px;background:#17110d;color:#fff;border:1px solid #76513a}

/* Hero: one entrance, resilient to a failed photograph. */
.poster-light,.poster-orbit{animation:none}
.poster-wordmark h1{animation:none}
.poster-wordmark h1 .word-training,.poster-wordmark h1 .word-pro{display:inline-block;opacity:1;transform:none}
.poster-hero:not(.motion-settled) .poster-person img{opacity:0;transform:translateY(48px)}
.poster-hero:not(.motion-settled) .poster-wordmark h1 span{opacity:0}
.poster-hero.portrait-ready:not(.motion-settled) .poster-person img.is-ready{animation:portrait-rise .72s cubic-bezier(.16,1,.3,1) both}
.poster-hero.text-ready:not(.motion-settled) .word-training{animation:word-from-left .55s cubic-bezier(.16,1,.3,1) .4s both}
.poster-hero.text-ready:not(.motion-settled) .word-pro{animation:word-from-right .55s cubic-bezier(.16,1,.3,1) .45s both}
.poster-hero.photo-unavailable .poster-person{visibility:hidden}
@keyframes portrait-rise{from{opacity:0;transform:translateY(48px)}to{opacity:1;transform:none}}
@keyframes word-from-left{from{opacity:0;transform:translateX(-48px)}to{opacity:1;transform:none}}
@keyframes word-from-right{from{opacity:0;transform:translateX(48px)}to{opacity:1;transform:none}}
.poster-hero.motion-settled .poster-person img,.poster-hero.motion-settled .poster-wordmark h1 span{opacity:1;transform:none;animation:none}
.hero-cta .cta-circle{transition:transform .2s ease}
@media(hover:hover){.hero-cta:hover .cta-circle{transform:translate(3px,-3px)}}
@media(max-width:800px){
 @keyframes portrait-rise{from{opacity:0;transform:translateY(32px)}to{opacity:1;transform:none}}
 @keyframes word-from-left{from{opacity:0;transform:translateX(-24px)}to{opacity:1;transform:none}}
 @keyframes word-from-right{from{opacity:0;transform:translateX(24px)}to{opacity:1;transform:none}}
}
@media(prefers-reduced-motion:reduce){
 .poster-hero .poster-person img,.poster-hero .poster-wordmark h1 span{animation:none!important;opacity:1!important;transform:none!important;filter:none!important}
 .hero-cta .cta-circle,.mix-modes::before,.mix-modes button{transition:none}
}

/* Mobile refinement v64: preserve the approved identity and player. */
#account-body.grid .card-copy h3{display:block;min-height:0;max-height:none;overflow:visible;-webkit-line-clamp:unset;line-clamp:unset;line-height:1.3;overflow-wrap:anywhere}
#account-body.grid>.product-card{min-height:0}
#account-body.grid .card-copy>button[data-action="material"]{height:auto;min-height:48px;max-height:none;flex:0 0 auto;margin-top:auto;padding:12px 16px;line-height:1.35}
@media(max-width:767px){
.page .grid,#account-body.grid{grid-template-columns:minmax(0,1fr);gap:16px}
.page .grid>.product-card{min-width:0}
.page .product-card .card-copy{padding:18px}
.page .product-card .card-copy h3{font-size:20px;line-height:1.3;min-height:0;max-height:none;display:block;overflow:visible;-webkit-line-clamp:unset;line-clamp:unset;overflow-wrap:anywhere}
.page .product-card .card-subtitle{font-size:14px;line-height:1.5;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden}
.page .product-card .card-meta{font-size:11px;line-height:1.5}
.page .card-media{aspect-ratio:16/10}
.page .card-preview{aspect-ratio:16/10;object-fit:contain;max-height:300px}
.page .card-bottom{gap:12px;flex-wrap:wrap}
#account-body.grid>.product-card{height:auto;min-height:0}
#account-body.grid>.product-card>.card-copy{padding:18px;gap:0}
#account-body.grid .card-copy h3{font-size:20px;line-height:1.3;min-height:0;max-height:none;margin:0 0 8px}
#account-body.grid .card-meta.owned{display:none}
#account-body.grid .card-copy>.card-subtitle{min-height:0;font-size:14px;margin:0 0 16px;display:block}
#account-body.grid .card-copy>button[data-action="material"]{width:100%;height:auto;min-height:48px;max-height:none;flex:0 0 auto;font-size:14px;padding:12px 16px}
.account-panel,.form-panel,.view-panel{padding:20px}
input:not([type=checkbox]):not([type=radio]),select,textarea,.auth-form input,.catalog-toolbar select{font-size:16px}
.account-connections .auth-methods,.form-grid{grid-template-columns:minmax(0,1fr)}
.form-grid .full{grid-column:auto}
.auth-method{flex-wrap:wrap;gap:6px;min-height:48px}
.account-connections{padding:16px}
.tabs{gap:8px;padding-bottom:4px}
.tabs .chip,.mix-version-switch button{min-height:44px}
dialog{max-height:calc(100dvh - 24px);width:calc(100% - 24px);overscroll-behavior:contain}
dialog .close{width:44px;height:44px;right:10px;top:10px}
.modal-content,.detail-content{padding:24px 20px;padding-bottom:max(24px,env(safe-area-inset-bottom))}
.modal-content h2,.detail-content h2{padding-right:35px;overflow-wrap:anywhere}
.detail-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
.detail-actions .button,.checkout-form .button{width:100%;}
.cart-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:10px;padding:16px 0}
.cart-row h3{font-size:16px;line-height:1.4;overflow-wrap:anywhere}
.cart-row>.text-button{grid-column:1/-1;min-height:44px;font-size:13px;justify-self:start}
.cart-total{gap:16px;flex-wrap:wrap}
.order-item h3{font-size:18px;line-height:1.4;overflow-wrap:anywhere}
.order-actions{display:flex;flex-wrap:wrap;gap:10px}
.order-actions .button{margin:0}
#toast{bottom:max(20px,env(safe-area-inset-bottom))}
}

/* Typography v65: approved faces, consistent readable roles. */
body .page .page-intro{font-size:16px;line-height:1.65}
body .page .card-subtitle,body .home-catalog .card-subtitle{font-size:14px!important;line-height:1.5!important}
body .page .card-meta,body .home-catalog .card-meta{font-size:12px!important;line-height:1.5!important;letter-spacing:.025em!important}
body .account-panel h2{font-size:32px;line-height:1.2;letter-spacing:-.025em}
body .account-panel p,body .detail-content p,body .modal-content p{font-size:16px;line-height:1.65}
body .detail-content h2{line-height:1.18;letter-spacing:-.025em}
body .page .card-price,body .home-catalog .card-price{font-size:16px!important;font-variant-numeric:tabular-nums}
@media(max-width:767px){
body .catalog-toolbar input,body .catalog-toolbar select,body .article-search input,body .auth-form input,body .checkout-form input,body .form-grid input,body .form-grid select{font-size:16px!important;line-height:1.4!important}
body .page .chip,body .home-catalog .chip{font-size:13px!important;min-height:44px}
body .page .product-card .card-copy h3,body .home-catalog .product-card .card-copy h3{font-size:20px!important;line-height:1.3!important;letter-spacing:-.02em}
body .product-card .card-tag{font-size:11px!important;line-height:1.4}
body .poster-baseline{font-size:11px!important;line-height:1.4}
body .poster-intro,body .poster-intro span,body .poster-disciplines,body .poster-disciplines span{font-size:12px!important;line-height:1.5}
body .poster-intro a,body .poster-intro a span{font-size:14px!important;line-height:1.5}
body .portal-topline,body .portal-topline span{font-size:11px!important;line-height:1.4}
body .portal-card p,body .portal-card>span{font-size:13px!important;line-height:1.5}
body .author-preview .author-summary{font-size:14px;line-height:1.65}
body .results-count{font-size:13px}
}
@media(max-width:767px){
html body #main input,html body #main select,html body #modal input,html body #modal select{font-size:16px!important;line-height:1.4!important}
#main .section-heading,#main .section-heading>div{min-width:0;max-width:100%}
#main .section-heading h2{font-size:clamp(36px,11vw,50px);overflow-wrap:anywhere}
}

/* v69: purchased library and focused sign-in. */
.account-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:20px 0}
.account-heading .page-intro{margin:0}
.account-settings{min-height:44px;color:var(--muted);font-size:14px}
.library-filters{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0}
.library-filters[hidden]{display:none}
.library-filters .chip{display:flex;align-items:center;gap:10px;min-height:44px}
.library-count{font-size:12px;opacity:.8;font-variant-numeric:tabular-nums}
.account-guest{max-width:500px;margin:32px 0}
.account-guest p{font-size:16px;line-height:1.65;color:var(--muted)}
#modal.auth-dialog{width:min(460px,calc(100% - 32px));background:rgba(24,19,16,.94);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border:1px solid rgba(230,204,183,.22);border-radius:20px;box-shadow:0 20px 64px rgba(0,0,0,.32)}
#modal.auth-dialog::backdrop{background:rgba(0,0,0,.5);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
#modal.auth-dialog .modal-content{padding:32px 24px 24px}
#modal.auth-dialog h2{font-size:32px;line-height:1.2;margin:0 40px 12px 0;letter-spacing:-.025em}
#modal.auth-dialog .auth-methods{gap:10px;margin:24px 0}
#modal.auth-dialog .auth-method{min-height:48px;box-shadow:none}
#modal.auth-dialog .auth-help,#modal.auth-dialog .legal-note{font-size:13px;line-height:1.6}
#modal .close{width:44px;height:44px;display:grid;place-items:center;background:transparent!important;border:0!important;box-shadow:none!important;color:var(--muted)}
#modal .close:focus:not(:focus-visible){outline:none!important}
#modal .close:focus-visible{outline:none!important;color:var(--orange)}
#modal-title:focus{outline:none}
@media(hover:hover){#modal .close:hover{color:var(--orange);background:transparent!important}}
@media(max-width:767px){
.account-heading{align-items:start;flex-direction:column;gap:4px}
.account-tabs{flex-wrap:wrap;overflow:visible}
.library-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.library-filters .chip{justify-content:space-between;font-size:13px!important;padding:10px 14px}
#modal.auth-dialog{margin:auto auto 0;width:100%;max-height:calc(100dvh - 24px);border-radius:20px 20px 0 0}
#modal.auth-dialog .modal-content{padding-bottom:max(24px,env(safe-area-inset-bottom))}
}
@media(prefers-reduced-transparency:reduce){#modal.auth-dialog{background:#181310;backdrop-filter:none;-webkit-backdrop-filter:none}}

.account-control{position:relative;flex:none}
html body .account-control .account-link{display:flex!important;align-items:center;justify-content:center;width:44px!important;height:44px!important;min-width:44px;padding:0!important;border:0!important;border-radius:50%;background:transparent!important;color:inherit;cursor:pointer}
.account-link svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
html body .account-control .account-link:hover,html body .account-control .account-link[aria-expanded="true"]{background:rgba(255,255,255,.09)!important}
.account-menu{position:absolute;right:0;top:calc(100% + 12px);z-index:200;width:260px;max-width:calc(100vw - 32px);padding:8px;border-radius:14px;background:rgba(24,19,16,.9);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);box-shadow:0 16px 42px rgba(0,0,0,.32);color:#fff4e8}
.account-menu[hidden]{display:none!important}
.account-menu a,.account-menu button{display:flex;width:100%;min-height:44px;align-items:center;text-align:left;padding:12px 14px;border:0;border-radius:8px;background:transparent;color:inherit;font:inherit;font-size:14px;line-height:1.4;text-decoration:none;cursor:pointer}
.account-menu a:hover,.account-menu button:hover{background:rgba(255,255,255,.09)}
.account-menu a:focus-visible,.account-menu button:focus-visible,.account-link:focus-visible{outline:2px solid var(--orange);outline-offset:2px}
@media(prefers-reduced-transparency:reduce){.account-menu{background:#181310;backdrop-filter:none;-webkit-backdrop-filter:none}}

html body .account-control .account-link{color:#fff!important}

html body .header-actions{gap:8px!important;align-items:center}
html body .header-actions>.icon-button,html body .header-actions .account-control,html body .header-actions .account-control .account-link{width:44px!important;min-width:44px!important;height:44px!important;flex-shrink:0;margin:0!important;padding:0!important}
html body .header-actions .account-control .account-link{max-width:none!important}
html body .header-actions svg{width:22px!important;height:22px!important}
@media(max-width:767px){
 html body .header-actions{gap:4px!important}
 html body .header-actions>.icon-button,html body .header-actions .account-control,html body .header-actions .account-control .account-link{width:36px!important;min-width:36px!important}
}

.header .brand,.header .brand *{user-select:none;-webkit-user-select:none;-webkit-user-drag:none}


/* Shared interface tokens and component contracts. */
:root{--orange:#ff641f;--control-height:48px;--control-compact:44px;--control-radius:999px}
#main{min-height:100svh}
html body #main .button,html body #modal .button{box-sizing:border-box;white-space:normal;text-align:center}
html body #main .button:not(.secondary),html body #modal .button:not(.secondary){background:var(--orange);color:#17100b}
html body #main .button.secondary,html body #modal .button.secondary{background:transparent;color:var(--white,#fff4e8)}
html body .account-control .account-link.is-signed-in{color:var(--orange)!important}
html body #main .chip{min-height:44px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;font-size:14px;line-height:1.5}
html body #main .product-card .favorite,html body #main .card-bottom .icon-button{width:44px!important;height:44px!important;min-width:44px;flex:none;display:flex;align-items:center;justify-content:center}
html body #main .product-card .favorite svg,html body #main .card-bottom .icon-button svg{width:20px;height:20px}
html body #main .product-card{min-width:0}
html body #main .card-copy{display:flex;flex-direction:column;min-width:0;flex:1}
html body #main .card-copy h3{font-size:20px;line-height:1.3;overflow-wrap:anywhere}
html body #main .card-subtitle{font-size:14px;line-height:1.6}
html body #main .card-bottom{margin-top:auto;padding-top:16px}
html body #main .card-purchase-actions{margin-top:12px}
.account-library .card-copy>.button{margin-top:auto;align-self:stretch}
.account-library .card-copy .card-subtitle{margin-bottom:24px}
html body #main .text-button{min-height:44px;display:inline-flex;align-items:center;line-height:1.5}
.account-heading{margin:16px 0 24px}
.account-heading .page-intro{font-size:16px}
.account-profile-details{display:grid;gap:8px;margin:20px 0;font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.account-profile-details dt{color:var(--muted);margin-top:8px}
.account-profile-details dd{margin:0}
.account-menu button[data-account-menu="logout"]{margin-top:8px;color:var(--muted)}
html body .header-actions{gap:4px!important}
html body .header-actions>.icon-button,html body .header-actions .account-control,html body .header-actions .account-control .account-link{width:44px!important;min-width:44px!important}
html body .header .brand{min-height:44px;display:flex;align-items:center}
#main input,#main select,#modal input,#modal select{font-size:16px;caret-color:var(--orange)}
#main :is(a,button,input,select):focus-visible,#modal :is(a,button,input,select):focus-visible{outline:2px solid var(--orange);outline-offset:3px}
#main .button:disabled,#modal .button:disabled{opacity:.6;cursor:wait}
::selection{background:var(--orange);color:#17100b}
@media(max-width:767px){
 html body .header .brand{width:76px;min-width:76px}
 html body .header .brand-image{width:76px;height:auto}
 html body .header-actions{gap:0!important}
 html body #main .page-title{font-size:clamp(36px,10vw,56px);line-height:1.05;letter-spacing:-.025em;overflow-wrap:anywhere}
 html body #main .product-card .card-title{font-size:20px;line-height:1.3}
 html body #main .grid{grid-template-columns:minmax(0,1fr)}
 .results-count{gap:12px;flex-wrap:wrap}
}

.account-provider{display:flex;justify-content:space-between;gap:16px;min-height:44px;align-items:center;font-size:14px}.account-provider span{color:var(--muted)}

html body #main .button,html body #modal .button{box-sizing:border-box;text-align:center;white-space:normal}
@media(max-width:767px){#modal .auth-method{min-height:48px}}

html body #main .button,html body #modal .button{box-sizing:border-box;min-height:48px;height:auto;padding:12px 22px;font-size:14px;line-height:1.5;border-radius:999px;text-align:center;white-space:normal}
html body #main .button.small,html body #modal .button.small{min-height:44px;padding:10px 16px}

@media(min-width:360px) and (max-width:767px){html body .header .brand,html body .header .brand-image{width:100px;min-width:100px}}

html body #main .card-copy h3{text-transform:none}

/* Close control: color feedback without a frame; footer matches header navigation. */
html body #modal > button.close,
html body #modal > button.close:is(:hover,:focus,:focus-visible,:active){
 background:transparent!important;border:0!important;box-shadow:none!important;outline:none!important;
 width:44px!important;height:44px!important;min-height:44px;
}
html body #modal > button.close:is(:hover,:focus,:focus-visible,:active){color:var(--orange)}
.site-footer .seo-discovery{
 display:flex;align-items:center;justify-content:center;flex-wrap:wrap;
 gap:clamp(20px,2.1vw,34px);padding:16px 5vw;border-top:1px solid var(--line);
 font-family:inherit;font-size:12px;font-weight:400;line-height:1.5;color:var(--white);
}
.site-footer .seo-discovery a{
 display:inline-flex;align-items:center;min-height:44px;padding:10px 0;
 color:inherit;border-bottom:1px solid transparent;text-decoration:none;
}
.site-footer .seo-discovery a:hover{border-bottom-color:var(--orange)}
.site-footer .seo-discovery a:focus-visible{outline:2px solid var(--orange);outline-offset:3px}
@media(max-width:767px){
 .site-footer .seo-discovery{gap:8px 24px;padding:16px 6vw;justify-content:flex-start;font-size:14px}
}

.mobile-dock{display:none}
@media(max-width:767px){
 html.standalone-dock body{padding-bottom:calc(94px + env(safe-area-inset-bottom,0px))}
 html.standalone-dock{scroll-padding-bottom:calc(94px + env(safe-area-inset-bottom,0px))}
 html.standalone-dock .header-actions>#favorites-btn,html.standalone-dock .header-actions>#cart-btn{display:none!important}
 html.standalone-dock .mobile-dock{position:fixed;left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom,0px));z-index:100;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;padding:6px 4px;border-radius:22px;background:rgba(24,19,16,.58);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);box-shadow:0 8px 28px #0005;color:var(--white)}
 .mobile-dock>[data-dock],.mobile-dock .account-control .account-link{position:relative;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-width:0!important;width:100%!important;height:64px!important;padding:6px 2px!important;margin:0!important;border:0!important;background:transparent!important;border-radius:12px;font-family:inherit;font-size:10px;line-height:1.2;font-weight:400;text-align:center;color:var(--white)}
 .mobile-dock svg{width:22px;height:22px;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
 .mobile-dock [data-dock]>span:not(.dock-count){white-space:nowrap;display:flex;align-items:center;justify-content:center;min-height:24px;max-width:100%}.mobile-dock .account-link:after{display:flex;align-items:center;justify-content:center;min-height:24px}
 .mobile-dock [aria-current="page"],.mobile-dock [data-dock]:hover{color:var(--orange)}
 .mobile-dock .account-control{height:100%;width:100%;position:relative}
 .mobile-dock .account-link:after{content:'Кабинет';font-size:10px;line-height:1.2;font-weight:400}
 .mobile-dock .account-menu{position:absolute;top:auto;bottom:calc(100% + 16px);right:0}
 .dock-count{position:absolute;top:2px;left:calc(50% + 6px);min-width:16px;height:16px;padding:1px 4px;border-radius:999px;background:var(--orange);color:#17100b;font-size:10px;line-height:14px}
 .dock-count[hidden]{display:none}
 html.standalone-dock #toast{bottom:calc(100px + env(safe-area-inset-bottom,0px))}
 body:has(#modal[open]) .mobile-dock{visibility:hidden;pointer-events:none}
 .header-actions .menu-btn{width:44px!important;height:44px!important}
}
@media(prefers-reduced-transparency:reduce){.mobile-dock{background:#181310;backdrop-filter:none;-webkit-backdrop-filter:none}}

/* Raised central library action, only in the installed mobile view. */
@media(max-width:767px){
 html.standalone-dock .mobile-dock{bottom:5px;left:max(18px,env(safe-area-inset-left,0px));right:max(18px,env(safe-area-inset-right,0px));padding-bottom:10px;border-radius:28px 28px 42px 42px}
 .mobile-dock>[data-dock="catalog"]{grid-column:1;grid-row:1}
 .mobile-dock>[data-dock="favorites"]{grid-column:2;grid-row:1}
 .mobile-dock>[data-dock="materials"]{grid-column:3;grid-row:1;overflow:visible}
 .mobile-dock>[data-dock="cart"]{grid-column:4;grid-row:1}
 .mobile-dock>.dock-account-slot{grid-column:5;grid-row:1;min-width:0}
 .mobile-dock>[data-dock="materials"] svg{position:absolute;top:-22px;width:54px;height:54px;padding:15px;border-radius:50%;background:var(--orange);color:#17100b;box-shadow:0 5px 14px #0005}
 .mobile-dock>[data-dock="materials"]>span{margin-top:28px;color:var(--white)}
 .mobile-dock>[data-dock="materials"][aria-current="page"]>span{color:var(--orange)}
}

/* Hide the introductory status strip without affecting catalog loading. */
html body #connection{display:none}

@media(max-width:767px){
 html.standalone-dock .mobile-dock>[data-dock],html.standalone-dock .mobile-dock .account-control .account-link{height:72px!important;font-size:11px}
 html.standalone-dock .mobile-dock svg{width:24px;height:24px}
 html.standalone-dock .mobile-dock .account-link:after{font-size:11px}
 html.standalone-dock .mobile-dock>[data-dock="materials"] svg{width:58px;height:58px;padding:16px;top:-24px}
}

/* Search uses the same type as other form controls and an authored magnifier. */
html body #main .search-wrap input{font-family:inherit!important;font-weight:400!important;letter-spacing:normal!important;font-size:16px!important;padding-left:48px!important}
html body #main .search-wrap input::placeholder{font-family:inherit;font-weight:400;font-size:inherit;letter-spacing:normal;color:var(--muted);opacity:1}
html body #main .search-wrap:before{
 content:'';position:absolute;left:16px;top:auto;bottom:16px;width:22px;height:22px;
 background:none;background-color:var(--muted);
 -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m16 16 5 5'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;
 mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m16 16 5 5'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;
 pointer-events:none;z-index:1;
}
@media(max-width:767px){
 html body #modal{
 position:fixed;inset:max(16px,calc(env(safe-area-inset-top,0px) + 8px)) 12px max(16px,calc(env(safe-area-inset-bottom,0px) + 8px));
 margin:auto;width:calc(100% - 24px);height:fit-content;
 max-height:calc(100dvh - max(16px,calc(env(safe-area-inset-top,0px) + 8px)) - max(16px,calc(env(safe-area-inset-bottom,0px) + 8px)));
 overflow:hidden;padding:48px 0 0;border-radius:22px;
 }
 html body #modal[open]{display:flex;flex-direction:column}
 html body #modal > #modal-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
 html body #modal > button.close{position:absolute;top:2px;right:8px;z-index:10}
}

/* A single scroll surface for the complete dialog. */
@media(max-width:767px){
 html body #modal{overflow-y:auto;overflow-x:hidden;padding:0;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
 html body #modal[open]{display:block}
 html body #modal > #modal-body{overflow:visible;min-height:initial;padding-top:48px}
 html body #modal > button.close{position:sticky;top:2px;right:auto;display:grid;margin:2px 8px -46px auto;z-index:10;float:none}
}

/* Magnifier shares the input grid cell, so field height determines its center. */
html body #main .search-wrap{display:grid;grid-template-columns:minmax(0,1fr)}
html body #main .search-wrap input{grid-area:1 / 1}
html body #main .search-wrap:before{grid-area:1 / 1;position:relative;left:16px;top:auto;bottom:auto;align-self:center;transform:none;margin:0}
html body #main .search-wrap:has(>.filter-label)>.filter-label{grid-area:1 / 1}
html body #main .search-wrap:has(>.filter-label)>input,html body #main .search-wrap:has(>.filter-label):before{grid-area:2 / 1}

@media(max-width:767px){
 html.standalone-dock body{padding-top:env(safe-area-inset-top,0px)}
 html.standalone-dock .header{margin-top:0}
}

@media(max-width:767px){
 html.standalone-dock .header>.brand,html.standalone-dock .header>.header-actions{transform:translateY(8px)}
 html.standalone-dock .poster-topline{top:8px}
}

/* Mobile navigation uses the same glass surface as the app dock. */
@media(max-width:1050px){
 .header .nav.open{background:rgba(24,19,16,.58);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);border-color:rgba(230,204,183,.18);box-shadow:0 8px 28px #0005}
}
@media(max-width:1050px) and (prefers-reduced-transparency:reduce){
 .header .nav.open{background:#181310;backdrop-filter:none;-webkit-backdrop-filter:none}
}

@keyframes poster-orbit-turn{from{transform:rotate(-16deg)}to{transform:rotate(344deg)}}
@media(prefers-reduced-motion:no-preference){.poster-hero .poster-orbit{animation:poster-orbit-turn 42s linear infinite}}

/* Separate the secondary resend action from the primary sign-in action. */
#modal.auth-dialog #code-resend{display:flex;align-items:center;width:fit-content;max-width:100%;min-height:44px;margin-top:16px;padding:0;line-height:1.5;text-align:left}

/* Compact mobile space between the header and page content. */
@media(max-width:767px){
}

/* One compact header-to-content gap across mobile routes, including home. */
@media(max-width:767px){
 html body .header{min-height:66px;padding-bottom:8px}
 html body #main > .page{padding-top:12px}
 html body.is-home .header{margin-bottom:0}
 html body.is-home #main > .poster-hero{margin-top:0}
 html body.is-home .poster-topline,
 html.standalone-dock body.is-home .poster-topline{top:8px}
}

/* Remove the extra inset within the mobile home introduction. */
@media(max-width:767px){
 html body.is-home .poster-topline,
 html.standalone-dock body.is-home .poster-topline{top:0;padding-top:4px}
}

/* Shared mobile navigation: the full menu row is the link target. */
@media(max-width:1050px){
 html body .header .nav.open{align-items:stretch;gap:0;padding:12px 20px}
 html body .header .nav.open>a{display:flex;align-items:center;width:100%;max-width:none;min-height:44px;padding:10px 0;box-sizing:border-box}
 html body .header .nav.open>a:focus-visible{outline:2px solid var(--orange);outline-offset:2px;border-radius:6px}
}
.catalog-filter-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.catalog-toolbar .catalog-filter-fields{grid-column:2 / -1}
.catalog-toolbar.single-kind .catalog-filter-fields{grid-template-columns:minmax(0,1fr)}
@media(max-width:767px){
 html body #main .catalog-toolbar{display:flex;flex-direction:column;gap:12px;margin-top:20px}
 html.standalone-dock .mobile-dock .account-link{color:var(--white)!important}
 html.standalone-dock .mobile-dock .account-link[aria-current="page"]{color:var(--orange)!important}
 html.standalone-dock .mobile-dock [aria-current="page"]>span{text-decoration:none}
}
.app-update-notice{position:fixed;z-index:110;left:16px;right:16px;bottom:110px;display:flex;align-items:center;gap:12px;padding:14px 16px;border-radius:16px;background:#211a15;color:var(--white);box-shadow:0 8px 28px #0008;font-size:14px}
.app-update-notice>span{flex:1}
.app-update-notice button{min-height:44px;background:transparent;border:0;padding:8px;color:var(--orange)}
body:has(#modal[open]) .app-update-notice{display:none}

@media(max-width:767px){
 html.dialog-keyboard body #modal{
  top:calc(var(--dialog-visible-top,0px) + 8px);bottom:auto;
  max-height:calc(var(--dialog-visible-height,100dvh) - 16px);
  margin-top:0;margin-bottom:0;
 }
}

/* Catalog controls retain the existing pills, palette and type. */
.catalog-filter-chips {display:none}
.catalog-filter-fields {min-width:0}
#catalog-filter-sheet {
  position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:none;
  max-height:calc(100dvh - env(safe-area-inset-top,0px) - 16px);
  padding:12px 20px max(20px,env(safe-area-inset-bottom,0px));
  border:0;border-radius:28px 28px 0 0;background:rgba(24,19,16,.78);
  color:var(--white);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);
  overflow:auto;overscroll-behavior:contain;
}
#catalog-filter-sheet::backdrop {background:rgba(0,0,0,.52)}
.filter-sheet-handle {width:36px;height:4px;border-radius:2px;background:rgba(241,240,233,.3);margin:0 auto 12px}
.filter-sheet-header {display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}
.filter-sheet-header h2 {font-family:inherit;font-size:24px;font-weight:700;line-height:1.2;letter-spacing:-.02em;margin:0}
.filter-sheet-close {position:relative;flex:0 0 44px;width:44px;height:44px;border:0;border-radius:50%;background:rgba(241,240,233,.08);color:var(--white);padding:0}
.filter-sheet-close::before,.filter-sheet-close::after {content:'';position:absolute;width:18px;height:2px;left:13px;top:21px;background:currentColor;border-radius:1px;transform:rotate(45deg)}
.filter-sheet-close::after {transform:rotate(-45deg)}
.filter-sheet-options {display:flex;flex-wrap:wrap;gap:10px;margin-bottom:24px}
#catalog-filter-sheet .filter-sheet-option {display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;max-width:100%;padding:10px 16px;border-radius:999px;font:inherit;font-size:15px;line-height:1.35;white-space:normal;text-align:left}
#catalog-filter-sheet .filter-sheet-option[aria-pressed="true"]::after {content:'';width:8px;height:12px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin:-4px 2px 0 4px;flex-shrink:0}
.filter-sheet-cancel {display:flex;align-items:center;justify-content:center;min-height:52px;width:100%;padding:12px 20px;border:1px solid var(--line);border-radius:999px;background:rgba(241,240,233,.08);color:var(--white);font:inherit;font-size:16px;font-weight:600}
#catalog-filter-sheet button:focus-visible {outline:2px solid var(--orange);outline-offset:3px}
.filter-sheet-close:active,.filter-sheet-cancel:active {background:rgba(241,240,233,.16)}
html.catalog-sheet-open .mobile-dock,html.catalog-sheet-open .app-update-notice {visibility:hidden;pointer-events:none}
@media(max-width:767px) {
  html body #main .catalog-toolbar {gap:12px}
  html body #main .catalog-toolbar .catalog-filter-fields {display:none}
  html body #main .catalog-toolbar .search-wrap {width:100%;margin:0}
  html body #main .catalog-toolbar .search-wrap>.filter-label {display:none}
  .catalog-filter-chips {display:flex;align-items:center;gap:8px;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;padding:3px 0 5px}
  .catalog-filter-chips::-webkit-scrollbar {display:none}
  html body #main .catalog-filter-chips .catalog-filter-chip {flex:0 0 auto;display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:10px 16px;white-space:nowrap;font-size:14px;line-height:1.4;margin:0}
  .filter-chip-arrow {width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin:-3px 2px 0 0;flex-shrink:0}
}
@media(prefers-reduced-transparency:reduce) {
  #catalog-filter-sheet {background:#181310;backdrop-filter:none;-webkit-backdrop-filter:none}
}
@supports not (backdrop-filter:blur(1px)) {
  #catalog-filter-sheet {background:#181310}
}
@media(prefers-reduced-motion:no-preference) {
  #catalog-filter-sheet[open] {animation:catalog-sheet-in .22s cubic-bezier(.16,1,.3,1)}
  @keyframes catalog-sheet-in {from {transform:translateY(24px);opacity:.7} to {transform:translateY(0);opacity:1}}
}

.bundle-details,.compact-form .bundle-details{border-bottom:0}
.bundle-details>summary::after{content:"";box-sizing:border-box;justify-self:center;background:linear-gradient(var(--orange),var(--orange)) center/12px 2px no-repeat,linear-gradient(var(--orange),var(--orange)) center/2px 12px no-repeat}
.bundle-details[open]>summary::after{content:"";background:linear-gradient(var(--orange),var(--orange)) center/12px 2px no-repeat}
#toast,#toast.with-cart{left:50%;right:auto;transform:translateX(-50%);box-sizing:border-box;background:rgba(24,19,16,.78);color:var(--white);border:1px solid rgba(241,240,233,.16);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);font-family:inherit;font-size:14px;line-height:1.4;width:max-content;min-width:0;max-width:calc(100vw - 32px);text-align:center}
#toast.with-cart{display:flex;align-items:center;justify-content:center;gap:16px;padding:12px 16px;border-radius:24px}
#toast .toast-cart-action{font-family:inherit;font-size:14px;line-height:1.3;min-height:44px;border-radius:999px;padding:12px 16px;max-width:none;flex-shrink:0}
@media(max-width:600px){#toast.with-cart{width:calc(100vw - 32px);gap:12px;font-size:13px}#toast .toast-cart-action{font-size:13px;max-width:53%;white-space:normal;padding:12px}}
@media(prefers-reduced-transparency:reduce){#toast,#toast.with-cart{background:#181310;backdrop-filter:none;-webkit-backdrop-filter:none}}

html body #modal:has(.package-picker){overflow:hidden;height:min(780px,90dvh);max-height:calc(100dvh - 24px)}
html body #modal:has(.package-picker)>#modal-body{height:100%;min-height:0;overflow:hidden;padding:0}
html body #modal .package-picker{height:100%;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:18px;padding:32px}
.package-picker-header{padding-right:32px}
#modal .package-picker-header h2{margin:16px 0}
#modal .package-picker-header p{margin:0;line-height:1.5}
.package-picker-list{min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;border:1px solid var(--line);border-radius:16px;padding:12px;background:rgba(0,0,0,.12)}
#modal .package-picker-list .pick-grid{margin:0}
html body #modal .package-picker-footer{display:flex;flex-direction:column;gap:12px;margin:0;padding:0;border:0;max-width:none;font:inherit}
#modal .package-picker-footer .pick-toolbar{position:static;background:transparent;padding:0;flex-wrap:nowrap}
#modal .package-picker-footer .text-button{align-self:center;min-height:44px}
#modal .package-picker-footer .button{min-height:44px}
@media(max-width:600px){html body #modal .package-picker{padding:20px;gap:12px}#modal .package-picker-header h2{font-size:26px;margin:12px 0}#modal .package-picker-header p{font-size:13px}.package-picker-list{padding:8px}#modal .package-picker-list .pick-grid{grid-template-columns:1fr}}

:root{--button-height:48px;--button-height-compact:44px;--button-height-large:52px}
html body #main .button,html body #modal .button{min-height:var(--button-height);padding:12px 22px;font-size:14px;line-height:1.4;border-radius:999px}
html body #main .button.small,html body #modal .button.small{min-height:var(--button-height-compact);padding:10px 16px}
html body #main .button.large,html body #modal .button.large{min-height:var(--button-height-large);padding:14px 24px;font-size:16px}
#modal .package-picker-list .pick-grid{gap:12px;align-items:stretch}
#modal .package-picker-list .pick-option{position:relative;display:grid;grid-template-columns:76px minmax(0,1fr);gap:12px;align-items:center;padding:12px;border-radius:16px;background:rgba(241,240,233,.035);min-height:104px;cursor:pointer}
#modal .package-picker-list .pick-option input{position:absolute;left:18px;top:18px;width:20px;height:20px;margin:0;z-index:1;accent-color:var(--orange)}
#modal .pick-cover{display:block;width:76px;height:76px;border-radius:10px;object-fit:cover;background:#090706}
#modal .pick-copy{display:flex;flex-direction:column;gap:8px;min-width:0}
#modal .pick-copy strong{font-size:14px;line-height:1.35;font-weight:600;overflow-wrap:anywhere}
#modal .pick-copy .pick-meta{font-size:11px;line-height:1.4;color:var(--muted)}
#modal .pick-option:has(input:checked){border-color:var(--orange);background:rgba(255,100,31,.1)}
#modal .pick-option:has(input:focus-visible){outline:2px solid var(--orange);outline-offset:2px}
#modal .package-picker-footer .pick-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;text-align:left}
html body #modal .package-picker-footer #pick-save{min-height:var(--button-height);min-width:180px;padding:12px 24px;font-size:14px}
@media(max-width:600px){#modal .package-picker-footer .pick-toolbar{grid-template-columns:1fr;gap:10px;text-align:center}html body #modal .package-picker-footer #pick-save{width:100%;min-width:0}#modal .package-picker-list .pick-option{grid-template-columns:68px minmax(0,1fr);min-height:92px;padding:10px;gap:12px}#modal .pick-cover{width:68px;height:68px}#modal .package-picker-list .pick-option input{top:16px;left:16px}}

html body #modal .package-picker-list .pick-option input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;clip:rect(0,0,0,0);clip-path:inset(50%);overflow:hidden;white-space:nowrap;border:0}
html body #modal .cart-sheet .cart-row{display:grid;grid-template-columns:minmax(0,1fr) auto 44px;align-items:center;gap:12px;padding:16px 0}
html body #modal .cart-sheet .cart-row>div{min-width:0}
html body #modal .cart-sheet .cart-row h3{font-size:16px;line-height:1.35;margin:0 0 6px;overflow-wrap:anywhere}
html body #modal .cart-sheet .cart-row>strong{font-size:16px;white-space:nowrap}
html body #modal .cart-sheet .cart-row>.cart-remove{grid-column:auto;justify-self:end;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:rgba(241,240,233,.05);color:var(--muted)}
#modal .cart-remove svg{width:20px;height:20px;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#modal .cart-remove:hover,#modal .cart-remove:focus-visible{color:var(--orange)}
@media(max-width:767px){
 html body:has(#modal[open])>.header{visibility:hidden;pointer-events:none}
 html body #modal:has(.cart-sheet){inset:max(36px,calc(env(safe-area-inset-top,0px) + 28px)) 12px max(16px,calc(env(safe-area-inset-bottom,0px) + 8px));height:calc(100dvh - max(36px,calc(env(safe-area-inset-top,0px) + 28px)) - max(16px,calc(env(safe-area-inset-bottom,0px) + 8px)));max-height:calc(100dvh - max(36px,calc(env(safe-area-inset-top,0px) + 28px)) - max(16px,calc(env(safe-area-inset-bottom,0px) + 8px)));margin:0;overflow:hidden;filter:none;backdrop-filter:none;-webkit-backdrop-filter:none}
 html body #modal:has(.cart-sheet)[open]{display:flex;flex-direction:column}
 html body #modal:has(.cart-sheet)>#modal-body{height:100%;min-height:0;overflow-y:auto;padding-top:40px;overscroll-behavior:contain}
 html body #modal:has(.cart-sheet)>button.close{position:absolute;top:8px;right:8px;margin:0}
 html body #modal .cart-sheet{padding:20px}
 html body #modal .cart-sheet .cart-row{gap:8px;padding:14px 0}
 html body #modal .cart-sheet .cart-row h3{font-size:15px}
}

@media(max-width:767px){html.standalone-dock .mobile-dock>[data-dock="materials"]>span{position:absolute;bottom:9px;left:0;right:0;height:24px;min-height:24px;margin:0;transform:none;display:flex;align-items:center;justify-content:center;line-height:1.2}}

html body #modal .cart-sheet .cart-row>.cart-remove{min-width:44px!important;max-width:44px!important;width:44px!important;height:44px!important;padding:0!important}
@media(max-width:767px){html body #modal:has(.cart-sheet){left:12px;right:12px;width:auto;max-width:none;box-sizing:border-box}html body:has(#modal[open]){overscroll-behavior:none}html body #modal:has(.cart-sheet)>#modal-body{touch-action:pan-y}}

html body #modal .cart-sheet .cart-row>strong{align-self:end;line-height:1.5}
html body #modal .cart-sheet .cart-row>.cart-remove{align-self:end}
html body #modal:has(.cart-sheet){filter:none;backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:none;border:1px solid #654b38}
html body #modal:has(.cart-sheet)::backdrop{background:rgba(0,0,0,.65);backdrop-filter:none;-webkit-backdrop-filter:none}

/* Cart primary action fills the content width with a centered label. */
html body #modal .cart-sheet #checkout{display:flex;align-items:center;justify-content:center;width:100%;max-width:none;min-height:var(--button-height-large,52px);box-sizing:border-box;margin:24px 0 0;text-align:center}

/* Selected package contents remain visible before checkout. */
html body #modal .cart-sheet .cart-package-contents{grid-column:1 / -1;margin:4px 0 0;padding:0 0 0 20px;list-style:decimal;color:var(--muted);font-family:inherit;font-size:14px;line-height:1.5}
html body #modal .cart-sheet .cart-package-contents>li{margin:0;padding:4px 0 4px 4px;overflow-wrap:anywhere}

/* Filter states use fill, without a clipped outer focus ring. */
html body #main .catalog-filter-chips .catalog-filter-chip:is(.active,[aria-expanded="true"]),
html body #catalog-filter-sheet .filter-sheet-option:is([aria-pressed="true"],:focus-visible){
 background:var(--orange);color:#17100b;border-color:var(--orange);outline:none;box-shadow:none;
}
html body #catalog-filter-sheet .filter-sheet-option[aria-pressed="true"]::after{content:none}
html body #catalog-filter-sheet{
 box-sizing:border-box;inset:auto 0 calc(0px - env(safe-area-inset-bottom,0px));
 width:100%;max-width:none;margin:0;padding-bottom:calc(24px + env(safe-area-inset-bottom,0px) + env(safe-area-inset-bottom,0px));
 background:rgba(24,19,16,.58);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);
}
@media(prefers-reduced-transparency:reduce){
 html body #catalog-filter-sheet{background:#181310;backdrop-filter:none;-webkit-backdrop-filter:none}
}

/* Continue the sheet surface through the iPhone bottom inset. */
html.catalog-sheet-open{background:#181310}
html body #catalog-filter-sheet{bottom:0;padding-bottom:calc(24px + env(safe-area-inset-bottom,0px))}
html body #catalog-filter-sheet::after{content:"";position:fixed;left:0;right:0;bottom:-100px;height:100px;background:rgba(24,19,16,.58);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);pointer-events:none}

/* Cover the standalone iOS area below the layout viewport with the same sheet surface. */
html body #catalog-filter-sheet{bottom:calc(0px - var(--sheet-bottom-extension,0px));padding-bottom:calc(24px + env(safe-area-inset-bottom,0px) + var(--sheet-bottom-extension,0px));background:rgba(24,19,16,.58)}
html.catalog-sheet-open body{background:#181310}
html body #catalog-filter-sheet::after{bottom:0;height:env(safe-area-inset-bottom,0px);background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}

html body #modal .cart-sheet .cart-package-actions{grid-column:1 / -1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}
html body #modal .cart-sheet .cart-package-actions .button{width:100%;padding:10px 12px}
html body #modal .cart-sheet .cart-package-upgrade-note{grid-column:1 / -1;margin:0;font-size:13px;line-height:1.5;color:var(--muted)}
@media(max-width:360px){html body #modal .cart-sheet .cart-package-actions{grid-template-columns:1fr}}

html body #modal .cart-sheet .cart-package-actions{display:flex;flex-wrap:wrap;gap:8px}
html body #modal .cart-sheet .cart-package-actions .button{width:auto;min-height:44px;padding:8px 14px;font-size:12px}
html body #modal .cart-sheet .cart-package-upgrade-note{flex-basis:100%;font-size:12px}

/* Result count and reset action share one baseline. */
html body #main .results-count{display:flex;align-items:center;justify-content:space-between;gap:12px}
html body #main .results-count>#results-count,html body #main .results-count>#reset{margin:0;line-height:1.4}
html body #main .results-count>#reset{display:inline-flex;align-items:center;justify-content:flex-end;min-height:44px;padding:0}

/* One unrestricted workout selection, with automatic package pricing. */
html body #modal .cart-workout-controls{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}
html body #modal .cart-workout-controls .button{width:auto;min-height:44px;padding:8px 14px;font-size:12px}
html body #modal .package-picker-footer #pick-count{font-size:13px;line-height:1.5}

/* Compact best-price suggestion above the cart contents. */
#modal :is(.cart-sheet,.checkout-sheet) .cart-upsell{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;margin:16px 0;border-radius:16px}
#modal .cart-upsell-copy{min-width:0;flex:1}
#modal :is(.cart-sheet,.checkout-sheet) .cart-upsell h3{margin:0;font-size:18px;line-height:1.25}
#modal :is(.cart-sheet,.checkout-sheet) .cart-upsell p{margin:5px 0 0;font-size:14px;line-height:1.4}
#modal :is(.cart-sheet,.checkout-sheet) .cart-upsell .button{flex:0 0 auto;width:auto;min-height:44px;margin:0;padding:10px 16px;font-size:14px;line-height:1.2;white-space:nowrap}
@media(max-width:767px){#modal :is(.cart-sheet,.checkout-sheet) .cart-upsell{gap:10px;padding:12px}#modal :is(.cart-sheet,.checkout-sheet) .cart-upsell h3{font-size:16px}#modal :is(.cart-sheet,.checkout-sheet) .cart-upsell p{font-size:13px}#modal :is(.cart-sheet,.checkout-sheet) .cart-upsell .button{padding:10px 12px}}

/* Only the cart contents scroll; summary and controls remain visible. */
html body #modal:has(.cart-sheet){height:min(820px,calc(100dvh - 64px));max-height:calc(100dvh - 64px);overflow:hidden;padding:0}
html body #modal:has(.cart-sheet)>#modal-body{height:100%;min-height:0;overflow:hidden;padding:0}
html body #modal .cart-sheet{height:100%;min-height:0;box-sizing:border-box;display:flex;flex-direction:column;padding:24px;overflow:hidden}
html body #modal .cart-sheet-header{flex:0 0 auto;padding:0 32px 12px 0}
html body #modal .cart-sheet-header h2{margin-top:6px;margin-bottom:12px}
html body #modal :is(.cart-sheet-header,.checkout-sheet) .cart-upsell{margin:10px 0}
html body #modal .cart-list{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;padding-right:4px}
html body #modal .cart-sheet-footer{flex:0 0 auto;padding-top:12px}
html body #modal .cart-sheet-footer .cart-total{margin:10px 0}
html body #modal .cart-sheet-footer #checkout{margin-top:12px}
html body #modal:has(.cart-sheet)>button.close{position:absolute;top:12px;right:12px;margin:0}
@media(max-width:767px){
html body #modal:has(.cart-sheet){height:calc(100dvh - max(36px,calc(env(safe-area-inset-top,0px) + 28px)) - max(16px,calc(env(safe-area-inset-bottom,0px) + 8px)));max-height:calc(100dvh - max(36px,calc(env(safe-area-inset-top,0px) + 28px)) - max(16px,calc(env(safe-area-inset-bottom,0px) + 8px)))}
html body #modal .cart-sheet{padding:16px}
html body #modal .cart-sheet-header{padding-right:0;padding-top:24px;padding-bottom:8px}
html body #modal .cart-sheet-header h2{font-size:26px;margin:4px 0 8px}
html body #modal .cart-sheet-footer{padding-top:8px}
html body #modal .cart-sheet-footer #checkout{margin-top:8px}
}

/* Preserve the original cart appearance, isolating fixed zones from site footer rules. */
html body #modal .cart-sheet-footer{display:block;width:100%;max-width:none;margin:0;padding:12px 0 0;border:0;font-size:inherit}
html body #modal .cart-sheet-footer>.cart-subtotal,html body #modal .cart-sheet-footer>.cart-discount,html body #modal .cart-sheet-footer>.cart-total{display:flex;flex-direction:row;justify-content:space-between;align-items:center;flex-wrap:nowrap;gap:12px;width:100%}
html body #modal .cart-sheet-footer #checkout{display:flex;width:100%;max-width:none;align-items:center;justify-content:center;margin:24px 0 0}
html body #modal .cart-sheet{padding:40px}
html body #modal .cart-sheet-header{padding:0 0 12px}
html body #modal .cart-sheet-header h2{font-size:37px;line-height:1.05;margin:17px 35px 20px 0}
@media(max-width:767px){html body #modal .cart-sheet{padding:20px}html body #modal .cart-sheet-header{padding-top:40px}html body #modal .cart-sheet-header h2{font-size:30px}html body #modal .cart-sheet-footer #checkout{margin-top:16px}}

/* Tighten only the gaps around the scrollable cart contents. */
html body #modal .cart-workout-controls:empty{display:none;margin:0}
html body #modal .cart-sheet-header{padding-bottom:4px}
html body #modal :is(.cart-sheet-header,.checkout-sheet) .cart-upsell{margin-bottom:4px}
html body #modal .cart-sheet .cart-list{margin:0;padding-top:0;padding-bottom:0}
html body #modal .cart-sheet .cart-row:first-child{padding-top:8px}
html body #modal .cart-sheet-footer{padding-top:4px}
html body #modal .cart-sheet-footer>.cart-subtotal{padding-top:4px}
html body #modal .cart-sheet-footer>.cart-discount{padding-top:8px}

/* Short baskets fit their contents; long baskets scroll only the item list. */
html body #modal:has(.cart-sheet){--cart-height-limit:calc(100dvh - 64px);height:auto;max-height:var(--cart-height-limit)}
html body #modal:has(.cart-sheet)>#modal-body{height:auto;max-height:var(--cart-height-limit);overflow:hidden}
html body #modal .cart-sheet{height:auto;max-height:var(--cart-height-limit);min-height:0}
html body #modal .cart-sheet .cart-list{flex:0 1 auto;min-height:0}
html body #modal .cart-sheet .cart-row{flex:0 0 auto}
@media(max-width:767px){html body #modal:has(.cart-sheet){--cart-height-limit:calc(100dvh - max(36px,calc(env(safe-area-inset-top,0px) + 28px)) - max(16px,calc(env(safe-area-inset-bottom,0px) + 8px)));bottom:auto;height:auto;max-height:var(--cart-height-limit)}}

/* Cart width follows the viewport with equal side gutters. */
html body #modal:has(.cart-sheet){width:calc(100% - 2 * clamp(12px,3vw,48px));max-width:none;box-sizing:border-box}
@media(max-width:767px){html body #modal:has(.cart-sheet){left:12px;right:12px;width:auto;max-width:none}}

/* Restore the established desktop width and a compact payment bottom inset. */
html body #modal:has(.cart-sheet){width:min(940px,calc(100% - 28px));max-width:940px}
html body #modal .cart-sheet{padding-bottom:16px}
html body #modal .cart-sheet-footer{margin-bottom:0;padding-bottom:0}
html body #modal .cart-sheet-footer #checkout{margin-bottom:0}
@media(max-width:767px){html body #modal:has(.cart-sheet){left:12px;right:12px;width:auto;max-width:none}html body #modal .cart-sheet{padding-bottom:16px}}

/* Use the measured content height; reserve exactly 12px below checkout. */
html body #modal:has(.cart-sheet)>#modal-body{height:100%;max-height:100%;padding:0;margin:0}
html body #modal .cart-sheet{height:100%;max-height:100%;padding-bottom:12px;justify-content:flex-start}
html body #modal .cart-sheet .cart-list{flex:1 1 auto}
html body #modal .cart-sheet-footer{flex:0 0 auto;margin:0;padding-bottom:0}

/* Balance the final two gaps without changing the cart styling. */
html body #modal .cart-sheet{padding-bottom:24px}
html body #modal .cart-sheet-footer{padding-top:8px}
html body #modal .cart-sheet-footer>.cart-subtotal{padding-top:0;margin-top:0}

/* Mobile cart: eyebrow and close control share one top row. */
@media(max-width:767px){
 html body #modal .cart-sheet-header{padding-top:0}
 html body #modal .cart-sheet-header>.eyebrow{display:flex;align-items:center;min-height:44px;padding-right:52px;white-space:nowrap}
 html body #modal:has(.cart-sheet)>button.close{top:20px;right:20px;width:44px;height:44px;margin:0}
 html body #modal .cart-sheet-header h2{margin-top:8px}
}

/* Keep the sheet heading in place and move choices toward the iPhone bottom. */
@media(max-width:767px){
 html body #catalog-filter-sheet{padding-bottom:calc(24px + env(safe-area-inset-bottom,0px))}
 html body #catalog-filter-sheet .filter-sheet-options{margin-top:var(--sheet-bottom-extension,0px)}
}

/* Cart access uses the same discounted pricing as checkout. */
.floating-cart{position:fixed;right:24px;bottom:24px;z-index:19;min-height:48px;padding:12px 22px;border-radius:999px;font-size:14px;font-weight:400}
.floating-cart[hidden]{display:none}
html:has(dialog[open]) .floating-cart,html.catalog-sheet-open .floating-cart{visibility:hidden;pointer-events:none}
@media(max-width:767px){
 .floating-cart{display:none}
 .mobile-dock [data-dock="cart"]>span:not(.dock-count){font-size:11px;white-space:nowrap}
}

/* Cart icon and header visibility */
.floating-cart{gap:10px}.floating-cart svg{width:21px;height:21px;flex-shrink:0}
.mobile-dock>[data-dock="cart"].header-cart-visible{visibility:hidden;pointer-events:none}

/* Keep cart hidden against the shared button display styles. */
html body button.floating-cart.button[hidden]{display:none!important;visibility:hidden!important;pointer-events:none!important}

/* Smooth cart visibility; disable interaction while concealed. */
html body button.floating-cart.button{opacity:1;transform:translateY(0);visibility:visible;transition:opacity .22s ease,transform .22s ease,visibility 0s linear 0s}
html body button.floating-cart.button.is-cart-hidden{opacity:0;transform:translateY(10px);visibility:hidden;pointer-events:none;transition:opacity .22s ease,transform .22s ease,visibility 0s linear .22s}
.mobile-dock>[data-dock="cart"]{opacity:1;transition:opacity .22s ease,visibility 0s linear 0s}
.mobile-dock>[data-dock="cart"].header-cart-visible{opacity:0;visibility:hidden;transition:opacity .22s ease,visibility 0s linear .22s}
@media(prefers-reduced-motion:reduce){html body button.floating-cart.button,html body button.floating-cart.button.is-cart-hidden,.mobile-dock>[data-dock="cart"]{transition:none!important;transform:none}}

/* One full-width save action, matching the cart checkout. */
html body #modal .workout-selection .package-picker-footer .pick-toolbar{display:flex;flex-direction:column;align-items:stretch;gap:16px;text-align:left}
html body #modal .workout-selection .package-picker-footer #pick-save{display:flex;align-items:center;justify-content:center;width:100%;max-width:none;min-width:0;min-height:var(--button-height-large,52px);box-sizing:border-box;margin:0;text-align:center;font-size:var(--button-font-size,14px)}

/* Mobile selection uses the same safe viewport bounds as the cart. */
@media(max-width:767px){
 html body #modal:has(.package-picker){--picker-height-limit:calc(100dvh - max(36px,calc(env(safe-area-inset-top,0px) + 28px)) - max(16px,calc(env(safe-area-inset-bottom,0px) + 8px)));inset:max(36px,calc(env(safe-area-inset-top,0px) + 28px)) 12px auto;margin:0;width:auto;max-width:none;height:var(--picker-height-limit);max-height:var(--picker-height-limit);box-sizing:border-box;overflow:hidden;padding:0;filter:none;backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:none;border:1px solid #654b38}
 html body #modal:has(.package-picker)::backdrop{background:rgba(0,0,0,.65);backdrop-filter:none;-webkit-backdrop-filter:none}
 html body #modal:has(.package-picker)>#modal-body{height:100%;min-height:0;max-height:100%;padding:0;margin:0;overflow:hidden}
 html body #modal .package-picker{height:100%;max-height:100%;min-height:0;padding:20px 20px 24px;gap:16px;overflow:hidden;grid-template-rows:auto minmax(0,1fr) auto}
 html body #modal .package-picker-header{padding-top:40px;padding-right:0}
 html body #modal:has(.package-picker)>button.close{position:absolute;top:20px;right:20px;width:44px;height:44px;margin:0;z-index:10;filter:none;backdrop-filter:none;-webkit-backdrop-filter:none;color:var(--orange)}
 html body #modal .package-picker-list{min-height:0;overflow-y:auto;touch-action:pan-y}
 html body #modal .package-picker-footer{flex-shrink:0}
}

/* Match the cart heading row in the workout selection. */
#modal .workout-selection .package-picker-header>.eyebrow{min-height:44px;align-items:center;padding-right:52px}
@media(max-width:767px){html body #modal .workout-selection .package-picker-header{padding-top:0}html body #modal .workout-selection .package-picker-header>.eyebrow{display:flex;min-height:44px;align-items:center;padding-right:52px;white-space:nowrap}html body #modal .workout-selection .package-picker-header h2{margin-top:8px}}

html.pointer-navigation body button.floating-cart.button:focus{outline:none!important;box-shadow:none!important}

/* Checkout heading shares the dismiss row; preserve form spacing. */
html body #modal:has(.checkout-sheet)>#modal-body{padding-top:0}
html body #modal .checkout-sheet>.eyebrow{min-height:44px;display:flex;align-items:center;padding-right:52px}
html body #modal:has(.checkout-sheet)>button.close{top:24px;right:24px;width:44px;height:44px;margin:0}
@media(max-width:600px){html body #modal:has(.checkout-sheet)>button.close{top:20px;right:20px}}

/* Checkout shares cart geometry and dismiss positioning. */
html body #modal:has(.checkout-sheet){width:min(940px,calc(100% - 28px));max-width:940px;height:auto;max-height:calc(100dvh - 64px);padding:0;overflow:auto;box-sizing:border-box;filter:none;backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:none;border:1px solid #654b38}
html body #modal:has(.checkout-sheet)::backdrop{background:rgba(0,0,0,.65);backdrop-filter:none;-webkit-backdrop-filter:none}
html body #modal:has(.checkout-sheet)>#modal-body{height:auto;max-height:none;padding:0;margin:0;overflow:visible}
html body #modal:has(.checkout-sheet)>button.close{position:absolute;inset:40px 40px auto auto;display:grid;place-items:center;float:none;transform:none;margin:0;width:44px;height:44px;z-index:20}
html body #modal .checkout-sheet{padding:40px 40px 24px}
html body #modal .checkout-sheet>.eyebrow{min-height:44px;padding-right:52px}
html body #modal .checkout-sheet h2{font-size:37px;line-height:1.05;margin:17px 35px 20px 0}
html body #modal .checkout-sheet .checkout-form>button[type=submit]{display:flex;align-self:stretch;align-items:center;justify-content:center;width:100%;max-width:none;min-height:var(--button-height-large,52px);text-align:center}
@media(max-width:767px){
 html body #modal:has(.checkout-sheet){inset:max(36px,calc(env(safe-area-inset-top,0px) + 28px)) 12px auto;margin:0;width:auto;max-width:none;max-height:calc(100dvh - max(36px,calc(env(safe-area-inset-top,0px) + 28px)) - max(16px,calc(env(safe-area-inset-bottom,0px) + 8px)))}
 html body #modal .checkout-sheet{padding:20px 20px 24px}
 html body #modal:has(.checkout-sheet)>button.close{inset:20px 20px auto auto}
 html body #modal .checkout-sheet h2{font-size:30px;margin-top:8px}
}

/* Checkout fits its form instead of stretching between dialog edges. */
html body #modal:has(.checkout-sheet){height:fit-content;min-height:0}
html body #modal:has(.checkout-sheet)>#modal-body{height:auto;min-height:0}
html body #modal .checkout-sheet{height:auto;min-height:0}
html body #modal .checkout-sheet .checkout-form{margin-bottom:0}
html body #modal .checkout-sheet .offer-note:last-child{margin-bottom:0}

/* Material list follows cart title sizing and spacing. */
html body #modal .checkout-sheet .checkout-summary{max-height:min(280px,32dvh);overflow-y:auto;overscroll-behavior:contain;margin:0 0 24px;padding:0 4px 0 20px;font-family:inherit;font-size:16px;line-height:1.5;color:var(--white)}
html body #modal .checkout-sheet .checkout-summary>li{padding:8px 0 8px 4px;margin:0;overflow-wrap:anywhere}
@media(max-width:767px){html body #modal .checkout-sheet .checkout-summary{font-size:15px}}

/* Checkout materials match the numbered package contents in the cart. */
html body #modal .checkout-sheet .checkout-summary{list-style:decimal;color:var(--muted);font-size:14px;line-height:1.5;padding-left:20px}
html body #modal .checkout-sheet .checkout-summary>li{margin:0;padding:4px 0 4px 4px;font-weight:400;overflow-wrap:anywhere}

/* BUG-023: give wrapping copy and section icons separate layout tracks. */
html body #main .cms-section{display:grid;grid-template-columns:minmax(0,1fr) auto;align-content:start}
html body #main .cms-section>.portal-topline{min-width:0;padding-right:0;overflow-wrap:anywhere}
html body #main .cms-section>.cms-section-icon{position:static;align-self:start;margin:38px 18px 0 8px;flex-shrink:0}
html body #main .cms-section>img,html body #main .cms-section>.portal-card-copy{grid-column:1 / -1;min-width:0}
html body #main .portal-card-copy h3,html body #main .direction-card h3{overflow-wrap:anywhere}
html body #main .direction-card>div{min-width:0;max-width:100%}
@media(max-width:700px){html body #main .cms-section>.cms-section-icon{margin:34px 12px 0 8px}}

/* BUG-003 / BUG-025: one inset focus frame for search and catalog selects.
   Keep the border width so focus never changes field geometry. */
html body #main .search-wrap:focus-within,
html body #main .catalog-toolbar > label:focus-within{outline:none;box-shadow:none}
html body #main .search-wrap input:focus,
html body #main .catalog-toolbar select:focus{
 border-color:transparent!important;
 outline:2px solid var(--ui-focus);
 outline-offset:-2px;
 box-shadow:none;
}

/* BUG-020: compact direction-only reset, preserving other filters. */
html body #main .direction-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
html body #main .direction-reset{font-size:12px;line-height:1.4;min-height:32px;color:var(--muted)}
html body #main .direction-reset[hidden]{display:none}

/* BUG-022: responsive music details only; close stays outside the scroll surface. */
html body #modal:has(.music-detail-column){overflow:hidden;max-height:calc(100dvh - 32px);padding:0}
html body #modal:has(.music-detail-column)>#modal-body{min-width:0;min-height:0;max-height:calc(100dvh - 34px);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding-top:0}
html body #modal:has(.music-detail-column)>button.close{position:absolute;inset:12px 12px auto auto;display:grid;place-items:center;float:none;margin:0;transform:none;z-index:20}
html body #modal .detail:has(.music-detail-column){grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}
html body #modal .detail:has(.music-detail-column)>*{min-width:0;max-width:100%}
html body #modal .detail:has(.music-detail-column) .detail-content h2,html body #modal .detail:has(.music-detail-column) .detail-content p{overflow-wrap:anywhere}
html body #modal .music-detail-column .mix-panel,html body #modal .music-detail-column .mix-player{min-width:0;max-width:100%;box-sizing:border-box}
html body #modal .music-detail-column .mix-player-top{flex-wrap:wrap}
html body #modal .music-detail-column .mix-transport{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:8px}
html body #modal .music-detail-column .mix-main-buttons{grid-column:2;margin:0;min-width:0}
html body #modal .music-detail-column .mix-volume{position:relative;inset:auto;transform:none;grid-column:3;justify-self:end;min-width:0}
html body #modal .music-detail-column .mix-modes button{white-space:normal;overflow-wrap:anywhere}
html body #modal .music-detail-column .mix-file-label{min-width:0}
html body #modal .music-detail-column .mix-file-select{max-width:100%}
html body #modal .detail:has(.music-detail-column) .detail-actions{min-width:0;flex-wrap:wrap}
html body #modal .detail:has(.music-detail-column) .detail-actions .button{min-width:0;max-width:100%;white-space:normal}
@media(max-width:900px){
 html body #modal:has(.music-detail-column){padding-top:52px;max-height:calc(100dvh - 32px)}
 html body #modal:has(.music-detail-column)>#modal-body{max-height:calc(100dvh - 86px);padding-top:0;min-height:0;overflow-y:auto;overflow-x:hidden}
 html body #modal .detail:has(.music-detail-column){grid-template-columns:minmax(0,1fr)}
 html body #modal .detail:has(.music-detail-column) .detail-visual{height:auto;min-height:0;border-radius:0}
 html body #modal .detail:has(.music-detail-column) .mix-panel{height:auto;min-height:0}
 html body #modal .detail:has(.music-detail-column) .detail-content{padding:24px 20px}
 html body #modal .detail:has(.music-detail-column) .detail-content h2{font-size:clamp(25px,5vw,33px);margin-right:0}
 html body #modal .detail:has(.music-detail-column) .detail-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
}
@media(max-width:420px){
 html body #modal .music-detail-column .mix-transport{grid-template-columns:minmax(0,1fr) 38px}
 html body #modal .music-detail-column .mix-main-buttons{grid-column:1;grid-template-columns:38px 48px 38px;column-gap:8px}
 html body #modal .music-detail-column .mix-control.mix-skip{width:38px;height:38px}
 html body #modal .music-detail-column .mix-control.mix-play{width:48px;height:48px}
 html body #modal .music-detail-column .mix-volume{grid-column:2}
}

/* BUG-014: scoped alignment; keep the established 44/48/52px button system. */
@media (min-width:601px) and (max-width:900px){
 html body #modal .detail:not(:has(.music-detail-column)) .detail-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
 html body #modal .detail:not(:has(.music-detail-column)) .detail-actions>.button{width:100%;min-width:0}
}
html body #main .button:disabled,html body #modal .button:disabled{cursor:not-allowed}
html body #modal:has(#code-request) .button:disabled,
html body #modal:has(#code-verify) .button:disabled,
html body #modal:has(#oauth-start) .button:disabled,
html body #modal .checkout-form>button:disabled{cursor:wait}
@media (max-width:767px){
 html body #modal.auth-dialog>#modal-body{padding-top:0}
 html body #modal.auth-dialog .modal-content h2{font-size:clamp(24px,6.2vw,32px);overflow-wrap:normal;word-break:normal}
}
/* The later visibility transition must not reveal the cart behind a dialog. */
html:has(dialog[open]) body button.floating-cart.button,
html.catalog-sheet-open body button.floating-cart.button{visibility:hidden!important;opacity:0;pointer-events:none;transition:none}
/* Checkout dismiss stays reachable when the viewport is shorter than the form. */
html body #modal:has(.checkout-sheet)>button.close{position:sticky;inset:auto;top:20px;margin:40px 40px -84px auto;z-index:20}
@media(max-width:767px){html body #modal:has(.checkout-sheet)>button.close{top:12px;margin:20px 20px -64px auto}}
/* Standard desktop dialogs retain their dismiss control during content scrolling. */
@media(min-width:768px){
 html body #modal:not(:has(.music-detail-column,.cart-sheet,.package-picker,.checkout-sheet))>button.close{position:sticky;inset:auto;top:12px;margin:12px 12px -56px auto;z-index:20}
}

/* Mobile sort and format triggers retain their normal/selected fill. */
html body #main .catalog-toolbar .catalog-filter-chips .catalog-filter-chip:focus-visible{border-color:transparent;outline:2px solid var(--ui-focus);outline-offset:-2px;box-shadow:none}

/* BUG-014 final: long material names and server errors must stay inside dialogs. */
html body #modal #modal-title,html body #modal .notice,html body #modal .error{overflow-wrap:anywhere;word-break:normal;min-width:0}
html body #modal .auth-form,html body #modal .auth-form>*{min-width:0;max-width:100%}
html body #modal .disk-files,html body #modal #active-disk-player{min-width:0;max-width:100%}
html body #modal .disk-files>.button,html body #modal #active-disk-player>.button,html body #modal .modal-content>a.button{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;word-break:normal;text-align:center;height:auto}

/* Material dialogs: keep their upper edge below the viewport inset. */
html body #modal:has(.detail){position:fixed;inset:max(40px,calc(env(safe-area-inset-top,0px) + 24px)) 0 auto;margin:0 auto;height:auto;max-height:calc(100dvh - max(40px,calc(env(safe-area-inset-top,0px) + 24px)) - max(16px,calc(env(safe-area-inset-bottom,0px) + 8px)));padding:0;overflow:hidden;filter:none;backdrop-filter:none;-webkit-backdrop-filter:none;background:#1d130d}
html body #modal:has(.detail)>#modal-body{height:auto;min-height:0;max-height:calc(100dvh - max(40px,calc(env(safe-area-inset-top,0px) + 24px)) - max(18px,calc(env(safe-area-inset-bottom,0px) + 10px)));padding:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain}
html body #modal:has(.detail)>button.close{position:absolute;inset:12px 12px auto auto;margin:0;transform:none;z-index:30;background:#1d130de6;backdrop-filter:none;-webkit-backdrop-filter:none}
@media(max-width:767px){html body #modal:has(.detail){left:12px;right:12px;width:calc(100% - 24px)}}

/* Keep one editing control per audience, with the package hint above the list. */
html body #modal :is(.cart-sheet-header,.checkout-sheet) .cart-upsell{margin:12px 0 0;padding:12px 14px;display:block}
html body #modal :is(.cart-sheet-header,.checkout-sheet) .cart-upsell h3{font-size:16px;margin:0 0 4px}
html body #modal :is(.cart-sheet-header,.checkout-sheet) .cart-upsell p{font-size:13px;line-height:1.45;margin:0}
/* Restore the floating cart after an addition, also on phones. */
html body button.floating-cart.button{display:inline-flex}
@media(max-width:767px){html body button.floating-cart.button{right:12px;bottom:calc(80px + env(safe-area-inset-bottom,0px));max-width:calc(100% - 24px);min-height:44px;padding:10px 16px;font-size:14px}}
@media(max-width:767px) and (max-height:650px){
 html body #modal .cart-sheet{padding:16px}
 html body #modal .cart-sheet-header h2{font-size:26px;margin:8px 40px 12px 0}
 html body #modal :is(.cart-sheet-header,.checkout-sheet) .cart-upsell{margin-top:8px;padding:8px 10px}
 html body #modal :is(.cart-sheet-header,.checkout-sheet) .cart-upsell h3{font-size:14px}
 html body #modal :is(.cart-sheet-header,.checkout-sheet) .cart-upsell p{font-size:12px;line-height:1.35}
 html body #modal .cart-list{min-height:96px}
 html body #modal .cart-sheet-footer .cart-note{display:none}
 html body #modal .cart-sheet-footer .cart-total{margin-block:8px}
}
@media(max-width:767px) and (max-height:650px){html body #modal .cart-sheet .cart-list{min-height:96px}html body #modal .cart-sheet .cart-workout-controls .button{min-height:40px;padding:8px 14px;font-size:12px}}
@media(max-width:767px) and (max-height:650px){html body #modal .cart-sheet-footer .cart-subtotal,html body #modal .cart-sheet-footer .cart-discount{font-size:12px;line-height:1.4;gap:8px}html body #modal .cart-sheet-footer .cart-subtotal strong,html body #modal .cart-sheet-footer .cart-discount strong{font-size:12px}}

@media(max-width:767px){html body button.floating-cart.button{display:none!important}}

html body #modal :is(.cart-sheet-header,.checkout-sheet) .trainer-cart-frame{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;border:1px solid #6f5140;border-radius:14px}
html body #modal .trainer-cart-frame .button{margin:0;min-width:0;white-space:nowrap}
@media(max-width:420px){html body #modal :is(.cart-sheet-header,.checkout-sheet) .trainer-cart-frame{grid-template-columns:minmax(0,1fr)}html body #modal .trainer-cart-frame .button{justify-self:start;min-height:36px;padding:8px 14px}}
@media(max-width:420px){html body #modal :is(.cart-sheet-header,.checkout-sheet) .trainer-cart-frame{grid-template-columns:minmax(0,1fr) auto}}
@media(max-width:767px) and (max-height:650px){html body #modal .trainer-cart-frame .cart-upsell-copy p{display:none}}

/* Touch feedback ends with the press; selected state remains explicit. */
@media(hover:none){html body .direction-card,html body .chip,html body .button,html body .card-title{transition:none!important}html body .direction-card:not(.selected):hover{background:#090807;box-shadow:none;border-color:var(--line)}html body .direction-card:not(.selected):hover h3{color:var(--white)}}
@media(hover:none){html body .button:hover{filter:none}html body .chip:not(.active):hover{background:transparent;color:inherit}}

html body #modal .order-payment{padding:32px;display:flex;flex-direction:column;gap:20px}
html body #modal .order-payment>.eyebrow,html body #modal .order-payment>h2,html body #modal .order-payment>p{margin:0}
html body #modal .order-payment>h2{padding-right:32px;font-size:30px;line-height:1.15}
html body #modal .order-payment .order-materials{margin:0;padding-left:22px;max-height:min(280px,32dvh);overflow:auto;font-size:15px;line-height:1.5}
html body #modal .order-payment .order-materials li{padding:4px 0}
html body #modal .order-payment .order-actions{margin:0}
html body #modal .order-payment .order-actions>.button,html body #modal .order-payment>button{width:100%}
html body #modal .order-payment #order-payment-status:empty{display:none}
@media(max-width:600px){html body #modal .order-payment{padding:24px 20px;gap:16px}html body #modal .order-payment>h2{font-size:26px}}
html body #modal:has(.order-payment){padding:0;overflow:hidden;max-height:calc(100dvh - 64px);filter:none;backdrop-filter:none;-webkit-backdrop-filter:none}
html body #modal:has(.order-payment)>#modal-body{padding:0;max-height:calc(100dvh - 66px);overflow-y:auto;overflow-x:hidden}
html body #modal:has(.order-payment)>button.close{position:absolute;inset:12px 12px auto auto;margin:0;z-index:20}
html body #modal .order-payment>h2{letter-spacing:-.02em;overflow-wrap:anywhere}
html body #modal .order-payment .order-materials li{font-weight:400;color:var(--muted)}
/* Align the shared tracks of both session cards. */
@media(min-width:701px){html body .service-grid{grid-template-rows:auto auto auto auto;row-gap:18px}html body .service-grid>.service-card{display:grid;grid-row:span 4;grid-template-rows:subgrid;row-gap:18px;align-content:start}html body .service-card>h3,html body .service-card>p,html body .service-card>.service-prices{margin:0}html body .service-card>.button{margin-top:4px;justify-self:start;align-self:end}}
/* One typography rule for catalog and article index headings. */
html body .catalog-page>.page-title,html body .articles-page>.page-title{max-width:none;width:100%;font-size:clamp(40px,5.5vw,88px);line-height:1.05;letter-spacing:-.025em;text-wrap:wrap}
@media(min-width:1000px){html body .catalog-page>.page-title,html body .articles-page>.page-title{white-space:nowrap}}
@media(max-width:600px){html body .catalog-page>.page-title,html body .articles-page>.page-title{font-size:clamp(36px,9vw,52px);white-space:normal;overflow-wrap:normal}}

/* Favorites retain a fixed position during hover and keyboard focus. */
.product-card .icon-button.favorite,.product-card .icon-button.favorite:hover,.product-card .icon-button.favorite:focus-visible,.product-card:hover .icon-button.favorite{transform:none!important;translate:none!important;animation:none!important;transition:color .15s ease,background-color .15s ease,border-color .15s ease}
.product-card .icon-button.favorite svg,.product-card .icon-button.favorite:hover svg{transform:none!important;translate:none!important;animation:none!important}

/* Fixed heart geometry, independent of hover/focus and native button layout. */
html body .product-card .card-media-wrap{position:relative}
html body .product-card .card-media-wrap>.icon-button.favorite{position:absolute!important;top:12px!important;right:12px!important;bottom:auto!important;left:auto!important;width:44px!important;height:44px!important;min-width:44px!important;max-width:44px!important;min-height:44px!important;max-height:44px!important;margin:0!important;padding:0!important;display:block!important;box-sizing:border-box!important;appearance:none;-webkit-appearance:none;scale:1!important;rotate:none!important;transition:none!important}
html body .product-card .card-media-wrap>.icon-button.favorite>svg{position:absolute!important;top:10px!important;left:10px!important;right:auto!important;bottom:auto!important;width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;margin:0!important;padding:0!important;display:block!important;scale:1!important;rotate:none!important;transition:none!important;pointer-events:none}

/* The main landmark does not need a browser-default focus frame. */
html body #main:focus{outline:none}
/* Blend contained cover edges into a single black media backdrop. */
html body .product-card .card-media,html body .product-card .music-art{background:#000}
html body .product-card .card-media>img,html body .product-card .music-art>img{-webkit-mask-image:linear-gradient(to right,transparent 0%,#000 14%,#000 86%,transparent 100%);mask-image:linear-gradient(to right,transparent 0%,#000 14%,#000 86%,transparent 100%)}

/* Shared source/download controls inside the existing media block. */
.unified-media-player{position:relative;width:100%;min-width:0;background:#080808;border:1px solid var(--line,#303030);border-radius:12px;margin:18px 0;color:var(--white,#f1f0e9)}
.unified-media-player .source-player-view{min-width:0}
.unified-media-player .media-player,.unified-media-player .youtube-player{display:block;width:100%;margin:0;border-radius:12px 12px 0 0}
.unified-media-player .youtube-player{aspect-ratio:16/9;height:auto;border:0}
.unified-media-player .source-player-external{padding:28px 18px;text-align:center}
.unified-media-player .source-player-loading{padding:24px 18px;margin:0;font-size:13px}
.unified-media-player .source-player-status{padding:8px 14px;font-size:11px;line-height:1.5;color:var(--muted,#aaa99f);overflow-wrap:anywhere}
.unified-media-player .source-player-status:empty{display:none}
.unified-media-player .source-player-bar{display:flex;gap:10px;padding:10px 12px;border-top:1px solid var(--line,#303030)}
.unified-media-player .source-player-menu{position:relative;flex:1;min-width:0;padding:0;border:0}
.unified-media-player .source-player-menu[hidden]{display:none}
.unified-media-player .source-player-menu>summary{display:flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:9px 12px;font:700 13px/1.4 Arial,sans-serif;border:1px solid var(--line,#303030);border-radius:8px;list-style:none;cursor:pointer;color:var(--white,#f1f0e9);background:#141414}
.unified-media-player .source-player-menu>summary::after{content:none}
.unified-media-player .source-player-menu>summary::-webkit-details-marker{display:none}
.unified-media-player .source-player-menu[open]>summary,.unified-media-player .source-player-menu>summary:hover{border-color:var(--orange,#ff641f);color:var(--orange,#ff641f)}
.unified-media-player .source-player-options{position:absolute;z-index:12;bottom:calc(100% + 8px);left:0;right:0;min-width:180px;max-height:240px;overflow:auto;background:#191919;border:1px solid #444;border-radius:10px;padding:6px;box-shadow:0 8px 24px #0008}
.unified-media-player [data-menu="download"] .source-player-options{left:auto;width:max-content;max-width:min(360px,calc(100vw - 72px));min-width:100%}
.unified-media-player .source-player-options :is(button,a){display:flex;align-items:center;width:100%;min-height:44px;text-align:left;white-space:normal;overflow-wrap:anywhere;padding:10px 12px;border:0;border-radius:6px;background:transparent;font:400 13px/1.4 Arial,sans-serif;color:var(--white,#f1f0e9);cursor:pointer}
.unified-media-player .source-player-options :is(button,a):hover,.unified-media-player .source-player-options button[aria-pressed="true"]{background:#292929;color:var(--orange,#ff641f)}
.unified-media-player .source-player-options button:disabled{opacity:.5;cursor:wait}
.unified-media-player :is(summary,button,a,select):focus-visible{outline:2px solid var(--orange,#ff641f);outline-offset:2px}
.unified-media-player .source-player-file{display:flex;gap:6px;margin:0;padding:6px 12px 12px;font-size:11px}
.unified-media-player .source-player-file select{width:100%;padding:10px;min-height:44px}
.unified-media-player .mix-panel{margin:0;border:0;border-radius:12px 12px 0 0}
.unified-media-player .source-player-download-label{font-size:12px;padding:6px 10px;margin:0}
@media(max-width:600px){.unified-media-player .source-player-options{min-width:160px}.unified-media-player .source-player-menu>summary{padding:9px 6px;font-size:12px}.unified-media-player .source-player-bar{gap:8px;padding:8px}.unified-media-player .source-player-external{padding:22px 12px}}

@media(max-width:700px),(pointer:coarse){
.unified-media-player .source-player-bar{align-items:flex-start}
.unified-media-player .source-player-menu .source-player-options{position:static;min-width:0;max-width:100%;width:100%;margin-top:8px;max-height:260px;box-shadow:none}
.unified-media-player .source-player-options :is(button,a){min-height:44px}
}


.unified-media-player .source-player-view{position:relative}
.unified-media-player .source-player-buffer{position:absolute;top:12px;left:12px;right:12px;display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:8px;background:#111e;color:#f1f0e9;font:13px/1.4 Arial,sans-serif;pointer-events:none;z-index:2}
.unified-media-player .source-player-buffer[hidden]{display:none}
.unified-media-player .source-player-loading-active{display:flex;align-items:center;gap:10px}
.unified-media-player .source-player-buffer::before,.unified-media-player .source-player-loading-active::before{content:"";width:18px;height:18px;flex:0 0 18px;border:2px solid #ffffff40;border-top-color:var(--orange,#ff641f);border-radius:50%;animation:source-player-spin .85s linear infinite}
@keyframes source-player-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.unified-media-player .source-player-buffer::before,.unified-media-player .source-player-loading-active::before{animation:none}}

@media(max-width:700px),(pointer:coarse){
.unified-media-player .source-player-menu .source-player-options{position:absolute;top:calc(100% + 8px);bottom:auto;margin-top:0;max-height:min(260px,35dvh);box-shadow:0 8px 24px #0008}
}
.unified-media-player .source-player-status{height:44px;overflow:auto}

.source-player-downloads{margin:0 0 24px;min-width:0}
.source-player-downloads[hidden]{display:none}
.source-player-download-title{margin:0 0 10px;font:13px/1.5 Arial,sans-serif;color:var(--muted,#aaa99f)}
.source-player-download-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.source-player-download-links [data-download-slot]{display:flex;flex-direction:column;gap:8px;min-width:0}
.source-player-download-links a.button,.source-player-download-links button.button{width:100%;min-width:0;min-height:44px;padding:12px 14px;font:500 13px/1.4 Arial,sans-serif;border-radius:10px;overflow-wrap:anywhere;gap:8px}
.source-player-download-label{margin:0;padding:8px 0;font:12px/1.5 Arial,sans-serif;color:var(--muted,#aaa99f);overflow-wrap:anywhere}
@media(min-width:701px){.detail>.source-player-downloads{grid-column:1;grid-row:2;padding:0 18px}.detail:has(>.source-player-downloads)>.detail-content{grid-column:2;grid-row:1 / span 2}}
@media(max-width:350px){.source-player-download-links{grid-template-columns:minmax(0,1fr)}}

/* Cloud downloads share the site button system. */
.source-player-download-links a[data-download]{display:flex;align-items:center;justify-content:center;gap:10px;min-height:58px;text-decoration:none;font-family:inherit;border:1px solid var(--line,#444)}
.source-player-download-links a[data-download] svg{width:30px;height:30px;flex:0 0 30px}
.download-button-copy{display:flex;flex-direction:column;text-align:left;min-width:0;line-height:1.3}
.download-button-copy>span{font-size:14px;font-weight:600}
.download-button-copy small{font-size:11px;opacity:.8;margin-top:3px;overflow-wrap:anywhere}
.source-player-download-links a[data-download="disk"]{background:#f5efe5;color:#191919;border-color:#c9bfb1}
.source-player-download-links a[data-download="mailru"]{background:#103d75;color:#fff;border-color:#3172ba}
.source-player-download-links a[data-download]:hover{filter:brightness(1.08)}
.source-player-download-links a[data-download]:focus-visible{outline:2px solid #ffac54;outline-offset:3px}
.music-primary-downloads{width:100%;margin:0}
.music-primary-downloads .source-player-download-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.music-primary-downloads .source-player-download-links:has(>[data-download-slot]:only-child){grid-template-columns:minmax(0,1fr)}
.detail-actions:has(.music-primary-downloads){display:block}
.music-primary-downloads .source-player-download-links a[data-download]{width:100%;padding:14px 10px}
@media(max-width:380px){.music-primary-downloads .download-button-copy>span{font-size:12px}.music-primary-downloads .source-player-download-links a[data-download]{gap:7px}.music-primary-downloads .source-player-download-links a[data-download] svg{width:24px;height:24px;flex-basis:24px}}

.mix-modes button:disabled{opacity:.45;cursor:default}

/* Cloud service marks, aligned to the site download actions. */
.source-player-download-links a[data-download]{min-height:64px;padding:14px 18px;gap:13px;border-radius:12px;transition:background-color .18s ease,border-color .18s ease}
.source-player-download-links a[data-download="disk"]{background:#fff;color:#111;border-color:#d9e1eb}
.source-player-download-links a[data-download="mailru"]{background:#0869d6;color:#fff;border-color:#2884eb}
.source-player-download-links a[data-download] svg.cloud-brand-icon{width:34px;height:28px;flex:0 0 34px}
.download-button-copy>span{font-size:15px;font-weight:600;letter-spacing:0}
.download-button-copy small{font-size:12px;margin-top:4px;opacity:1}
.source-player-download-links a[data-download="disk"] .download-button-copy small{color:#4b5563}
.source-player-download-links a[data-download="mailru"] .download-button-copy small{color:#fff}
.source-player-download-links a[data-download="disk"]:hover{background:#f0f6ff;filter:none}
.source-player-download-links a[data-download="mailru"]:hover{background:#075bbc;filter:none}
.music-primary-downloads .source-player-download-links a[data-download]{padding:14px 16px}
@media(max-width:380px){.music-primary-downloads .source-player-download-links a[data-download]{padding:12px 9px;gap:8px}.music-primary-downloads .download-button-copy>span{font-size:12px}.music-primary-downloads .download-button-copy small{font-size:11px}.music-primary-downloads .source-player-download-links a[data-download] svg.cloud-brand-icon{width:28px;height:24px;flex-basis:28px}}

/* User-supplied original service logos. */
html body .source-player-download-links a[data-download="disk"],
html body .source-player-download-links a[data-download="mailru"]{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:94px;padding:12px 16px;background:#fff;color:#111;border:1px solid #d8e1ed;border-radius:12px;filter:none}
html body .source-player-download-links a[data-download] .cloud-brand-image{display:block;width:144px;max-width:100%;height:38px;object-fit:contain;flex:none}
html body .source-player-download-links a[data-download] .download-button-copy{text-align:center;align-items:center}
html body .source-player-download-links a[data-download="disk"] .download-button-copy small,
html body .source-player-download-links a[data-download="mailru"] .download-button-copy small{display:none}
html body .source-player-download-links a[data-download="disk"]:hover,
html body .source-player-download-links a[data-download="mailru"]:hover{background:#eef5ff;border-color:#70aaff}
html body .source-player-download-links a[data-download] .download-button-copy>span{font-size:14px}

html body #modal .source-player-download-links a[data-download='disk'],html body #modal .source-player-download-links a[data-download='mailru']{background:#fff!important;color:#111!important;border:1px solid #d8e1ed!important;border-radius:12px!important}
html body #modal .source-player-download-links a[data-download] .download-button-copy>span{color:#111!important}

html body #modal .source-player-download-links a[data-download="disk"],html body #modal .source-player-download-links a[data-download="mailru"],html body .source-player-download-links a[data-download="disk"],html body .source-player-download-links a[data-download="mailru"]{min-height:50px!important;height:50px;padding:10px 14px!important;gap:0;flex-direction:row;border-radius:10px!important}
.cloud-brand-frame{display:flex;align-items:center;justify-content:center;position:relative;width:150px;max-width:100%;height:28px;overflow:hidden;flex:none}
html body .source-player-download-links a[data-download="disk"] .cloud-brand-image{width:176px!important;max-width:none!important;height:66px!important;object-fit:contain}
html body .source-player-download-links a[data-download="mailru"] .cloud-brand-image{width:132px!important;max-width:100%!important;height:auto!important;object-fit:contain}
.cloud-download-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:380px){.cloud-brand-frame{width:132px}html body .source-player-download-links a[data-download="disk"] .cloud-brand-image{width:156px!important;height:59px!important}html body .source-player-download-links a[data-download="mailru"] .cloud-brand-image{width:120px!important}}

html body #modal .music-detail-column .mix-transport{grid-template-columns:36px minmax(0,1fr) 36px!important;gap:8px;align-items:center}
html body #modal .music-detail-column .mix-main-buttons{grid-column:2!important;grid-row:1;justify-self:center}
html body #modal .music-detail-column .mix-volume{grid-column:3!important;grid-row:1;justify-self:end}
.mix-source-menu{position:relative;grid-column:1;grid-row:1;justify-self:start;z-index:4}
html body #modal .mix-source-menu>summary{display:flex;align-items:center;justify-content:center;width:36px;min-width:36px;height:36px;min-height:36px;padding:0;border:1px solid #99542e;border-radius:50%;background:transparent;color:var(--orange,#ff681c);list-style:none;cursor:pointer}
.mix-source-menu>summary::-webkit-details-marker{display:none}
html body #modal .mix-source-menu>summary svg{width:21px;height:21px;display:block}
html body #modal .mix-source-menu[open]>summary{background:#ff681c1a;border-color:var(--orange,#ff681c)}
html body #modal .mix-source-menu>summary:focus-visible{outline:2px solid #fff;outline-offset:3px}
html body #modal .mix-source-menu .source-player-options{position:absolute!important;left:0;right:auto;top:auto;bottom:calc(100% + 10px);width:190px;max-width:calc(100vw - 64px);padding:7px;background:#241911;border:1px solid #805035;border-radius:12px;box-shadow:0 8px 24px #0006;z-index:8}
html body #modal .mix-source-menu .source-player-options button{display:block;width:100%;min-height:42px;text-align:left;padding:10px 12px;border:0;border-radius:8px;color:#f5eee9;background:transparent;font:inherit;font-size:12px}
html body #modal .mix-source-menu .source-player-options button[aria-pressed="true"]{background:#ff681c20;color:#ff9b60}
.source-player-bar[hidden]{display:none!important}
@media(max-width:380px){html body #modal .music-detail-column .mix-main-buttons{grid-template-columns:30px 44px 30px;column-gap:7px}html body #modal .music-detail-column .mix-transport{gap:5px}}

html body #modal .mix-modes{background:#160f0b;border-color:#533523;box-shadow:inset 0 4px 8px #0009,inset 0 -1px 0 #b9754533,0 1px 0 #ba78452b}
html body #modal .mix-modes::before{background-color:#ef752f;background-image:repeating-conic-gradient(from 45deg,#ffb47355 0% 25%,#85401666 0% 50%);background-size:7px 7px;box-shadow:inset 0 2px 3px #ffc99588,inset 0 -3px 5px #6c2a1599,0 2px 4px #0006}
html body #modal .mix-modes button[aria-pressed="true"]{color:#160b04;text-shadow:0 1px 0 #ffd1a155}
html body #modal .music-detail-column .mix-source-menu{transform:translateX(7px)}
html body #modal .music-detail-column .mix-volume{transform:translateX(-7px)}
.mix-cover{position:relative}
.mix-cover-notices{position:absolute;top:12px;left:14px;right:14px;z-index:2;pointer-events:none;text-align:center}
html body #modal .mix-cover-notices .mix-error,html body #modal .mix-cover-notices .source-player-status{margin:0;padding:0;border:0;background:transparent;font-family:inherit;font-size:11px;line-height:1.5;font-weight:500;color:#f6bea2;text-shadow:0 1px 3px #000}
html body #modal .mix-cover-notices .mix-error[hidden],html body #modal .mix-cover-notices .source-player-status:empty{display:none}
html body #modal .mix-cover-notices:has(.mix-error:not([hidden])) .source-player-status{display:none}

/* Fine, quiet relief: the label remains the strongest detail. */
html body #modal .mix-modes::before{
 background-color:#f18a46;
 background-image:repeating-conic-gradient(from 45deg,rgba(255,229,203,.13) 0% 25%,rgba(101,48,20,.10) 0% 50%);
 background-size:3px 3px;
 box-shadow:inset 0 1px 2px #ffd2ac80,inset 0 -2px 3px #71381755,0 2px 4px #0005;
}
html body #modal .mix-modes button[aria-pressed="true"]{color:#180d06;text-shadow:none;font-weight:650}

/* Music column joins the dialog shell without a second inset frame. */
html body #modal .detail:has(.music-detail-column){align-items:stretch}
html body #modal .detail>.detail-visual.music-detail-column.unified-media-player{margin:0;align-self:stretch;height:auto;min-height:0;display:flex;flex-direction:column;border-top:0;border-bottom:0;border-left:0;border-right:1px solid var(--line);border-radius:0}
html body #modal .music-detail-column.unified-media-player .source-player-view{flex:1;min-height:0}
html body #modal .music-detail-column.unified-media-player .mix-panel{border:0;border-radius:0;margin:0;min-height:100%}
@media(max-width:700px){html body #modal .detail>.detail-visual.music-detail-column.unified-media-player{border-right:0;border-bottom:1px solid var(--line);border-radius:0}html body #modal .music-detail-column.unified-media-player .mix-panel{min-height:0}}

/* Smooth beveled controls: no patterned texture. */
html body #modal .mix-modes::before{background-image:none;background-color:#f5752b;border:1px solid #ffae7055;box-shadow:inset 0 2px 2px #ffd4b16b,inset 0 -2px 3px #78350e5c,0 2px 3px #0005}
html body #modal .mix-control,html body #modal .mix-source-menu>summary,html body #modal .mix-volume .mix-volume-trigger{border-radius:50%;border:1px solid #805133;background-color:#24170f;box-shadow:inset 0 1px 2px #e4a87840,inset 0 -2px 3px #0008,0 1px 2px #0004}
html body #modal .mix-main-buttons .mix-skip{display:flex;align-items:center;justify-content:center;width:38px;height:38px;min-width:38px;padding:8px;background:#24170f;border:1px solid #805133;color:#eee1d5}
html body #modal .mix-main-buttons .mix-play{background:#ff681c;border-color:#ffad6a88;box-shadow:inset 0 2px 3px #ffd0a675,inset 0 -3px 4px #7f2a1266,0 2px 3px #0005}
html body #modal .mix-control:hover,html body #modal .mix-source-menu>summary:hover,html body #modal .mix-volume .mix-volume-trigger:hover{border-color:#d38b54}
html body #modal .mix-control:active,html body #modal .mix-source-menu>summary:active,html body #modal .mix-volume .mix-volume-trigger:active{box-shadow:inset 0 2px 4px #0007,inset 0 -1px 1px #ffc89833}
html body #modal .mix-main-buttons .mix-skip svg{width:22px;height:22px}
@media(max-width:380px){html body #modal .mix-main-buttons .mix-skip{width:30px;height:30px;min-width:30px;padding:6px}html body #modal .mix-main-buttons .mix-skip svg{width:18px;height:18px}}

/* Compact downloads: service icon and one action. */
html body #modal .source-player-download-links a[data-download="disk"],html body #modal .source-player-download-links a[data-download="mailru"]{gap:10px!important}
.cloud-icon-only{display:block;width:30px;height:30px;flex:0 0 30px;background-repeat:no-repeat}
.cloud-icon-disk{background-image:url('/assets/yandex-icon.png');background-size:contain;background-position:center}
.cloud-icon-mailru{background-image:url('/assets/mail-wordmark.webp');background-size:136px 30px;background-position:left center}
.cloud-download-caption{color:inherit;font-size:14px;font-weight:600;line-height:1.25}
@media(max-width:760px){html body #modal .source-player-download-links{grid-template-columns:minmax(0,1fr)!important}}
/* Keep switch borders within its measured half. */
html body #modal .mix-modes::before{box-sizing:border-box;width:calc((100% - 8px)/2)}
/* Video uses the same transport and frame as music. */
html body #modal .video-detail-column{max-width:100%;min-width:0}
html body #modal .video-player{position:relative;margin:0;padding:12px;min-width:0;max-width:100%;overflow:visible}
.video-stage{position:relative;aspect-ratio:16/9;background:#060606;border-radius:12px;overflow:hidden;margin-bottom:12px;width:100%}
html body #modal .video-stage video.mix-audio{display:block!important;position:absolute!important;inset:0;width:100%!important;height:100%!important;max-height:none!important;object-fit:contain;transform:none;border-radius:0}
.video-fullscreen{position:absolute;right:10px;bottom:10px;z-index:5;width:38px;height:38px;display:grid;place-items:center;border:1px solid #ffffff70;border-radius:9px;background:#111b;color:#fff;padding:8px;cursor:pointer}
.video-fullscreen svg{width:22px;height:22px}
html body #modal .video-detail-column .mix-transport{display:grid;grid-template-columns:36px minmax(0,1fr) 36px;gap:8px;align-items:center}
html body #modal .video-detail-column .mix-main-buttons{grid-column:2;grid-row:1;justify-self:center;min-width:0}
html body #modal .video-detail-column .mix-volume{position:relative;inset:auto;transform:none;grid-column:3;grid-row:1;justify-self:end}
html body #modal .video-detail-column .mix-source-menu{grid-column:1;grid-row:1}
html body #modal .video-player .mix-player-top{display:none}
.video-player:fullscreen{display:flex;flex-direction:column;justify-content:center;background:#080808;height:100dvh;width:100vw;padding:12px}
.video-player:fullscreen .video-stage{flex:1;min-height:0;aspect-ratio:auto}
@media(max-width:380px){html body #modal .video-detail-column .mix-transport{gap:5px}html body #modal .video-detail-column .mix-main-buttons{grid-template-columns:30px 44px 30px;column-gap:7px}}

/* Video-only floating controls. Audio player stays unchanged. */
html body #modal .video-player .video-stage{overflow:visible}
html body #modal .video-player .video-stage video{border-radius:12px}
html body #modal .video-player .video-overlay-panel{position:absolute;bottom:8px;left:8px;right:8px;z-index:6;display:flex;align-items:center;gap:10px;padding:7px 10px;background:#19191999;backdrop-filter:blur(14px);border:1px solid #ffffff28;border-radius:24px;color:#fff;opacity:0;pointer-events:none;transition:opacity .18s}
html body #modal .video-player .video-center-controls{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;gap:20px;align-items:center;z-index:5;opacity:0;pointer-events:none;transition:opacity .18s}
html body #modal .video-player.video-controls-visible .video-overlay-panel,html body #modal .video-player.video-controls-visible .video-center-controls,html body #modal .video-player.video-paused .video-overlay-panel,html body #modal .video-player.video-paused .video-center-controls,html body #modal .video-player:focus-within .video-overlay-panel{opacity:1;pointer-events:auto}
html body #modal .video-player .video-overlay-panel .mix-transport{display:flex!important;gap:8px;margin:0;padding:0;flex:0 0 auto}
html body #modal .video-player .video-overlay-panel .mix-progress-row{display:flex;align-items:center;gap:8px;flex:1;min-width:0;margin:0;padding:0}
html body #modal .video-player .mix-seek-shell{flex:1;min-width:20px}
html body #modal .video-player .mix-now,html body #modal .video-player .mix-total{font-size:11px;color:#fff}
html body #modal .video-player .video-fullscreen{position:static;width:32px;height:32px;border:0;background:transparent;padding:5px;flex:0 0 32px}
html body #modal .video-player .mix-volume,html body #modal .video-player .mix-source-menu{transform:none!important;position:relative}
html body #modal .video-player .mix-source-menu .source-player-options{left:auto;right:0}
html body #modal .video-player .video-bottom-play{width:32px;height:32px;min-width:32px;padding:6px;flex:0 0 32px;background:transparent;border:0;box-shadow:none}
html body #modal .video-player .video-center-controls .mix-control{background:#2020209c;border:1px solid #ffffff40;box-shadow:none;color:#fff}
html body #modal .video-player .video-center-controls .mix-play{width:54px;height:54px}
html body #modal .video-player .mix-modes{margin:12px 0 0}
html body #modal .video-player .video-center-controls .mix-skip::after{content:'15';position:absolute;font-size:10px;font-weight:700}
html body #modal .video-player .mix-volume-trigger,html body #modal .video-player .mix-source-menu>summary{background:transparent;border:0;box-shadow:none;width:32px;height:32px}
@media(max-width:600px){html body #modal .video-player .video-overlay-panel{gap:5px;padding:5px 7px;left:5px;right:5px;bottom:5px}html body #modal .video-player .mix-total{display:none}html body #modal .video-player .video-overlay-panel .mix-transport{gap:2px}html body #modal .video-player .video-center-controls{gap:18px}}

html body #modal .video-player .video-overlay-panel .mix-seek-shell{display:block;position:relative;flex:1 1 80px;width:auto;min-width:35px;height:24px}
html body #modal .video-player .mix-progress-rail{position:absolute;left:0;right:0;top:10px;height:3px;background:#ffffff55}
html body #modal .video-player .mix-seek{width:100%;height:24px;position:absolute;inset:0;margin:0}
html body #modal .video-player .mix-play{color:#fff}
html body #modal .video-player .mix-play svg{color:#fff;fill:currentColor}
html body #modal .video-player .video-center-controls .mix-skip{position:relative}
html body #modal .video-player .video-overlay-panel{min-height:44px}

/* Video panel sizing independent of the audio transport. */
html body #modal .video-player .video-overlay-panel{box-sizing:border-box;max-width:calc(100% - 16px)}
html body #modal .video-player .video-overlay-panel .mix-transport{width:auto!important;min-width:0;min-height:32px;flex:0 0 auto;justify-content:flex-end;gap:8px}
html body #modal .video-player .video-overlay-panel .mix-progress-row{width:auto;flex:1 1 0;min-width:0}
html body #modal .video-player .video-overlay-panel .mix-volume{inset:auto!important;min-width:32px;flex:0 0 32px}
html body #modal .video-player .video-overlay-panel .mix-source-menu{inset:auto!important;width:32px;min-width:32px;flex:0 0 32px}
html body #modal .video-player .video-center-controls .mix-skip{width:64px;height:64px;min-width:64px;padding:16px;background:#ffffff0d;border-color:#ffffff25}
html body #modal .video-player .video-center-controls .mix-play{width:80px;height:80px;min-width:80px;background:#ffffff0d;border-color:#ffffff25}
html body #modal .video-player .video-center-controls .mix-skip svg{width:30px;height:30px}
html body #modal .video-player .video-center-controls .mix-play svg{width:32px;height:32px}
html body #modal .video-player .video-center-controls .mix-skip::after{content:none}
html body #modal .video-player:fullscreen{box-sizing:border-box;padding:0}
html body #modal .video-player:fullscreen .mix-modes,html body #modal .video-player:fullscreen .mix-player-top{display:none!important}
html body #modal .video-player:fullscreen .video-stage{margin:0;width:100%;height:100%;border-radius:0}
@media(max-width:600px){html body #modal .video-player .video-overlay-panel{max-width:calc(100% - 10px)}html body #modal .video-player .video-center-controls .mix-skip{width:50px;height:50px;min-width:50px;padding:12px}html body #modal .video-player .video-center-controls .mix-play{width:64px;height:64px;min-width:64px}html body #modal .video-player .video-overlay-panel .mix-transport{gap:2px}}

html body #modal .video-player .video-overlay-panel{padding-top:14px}
html body #modal .video-player .video-overlay-panel .mix-seek-shell{position:absolute;left:14px;right:14px;top:0;width:auto;min-width:0;height:16px}
html body #modal .video-player .video-overlay-panel .mix-seek{height:16px}
html body #modal .video-player .video-overlay-panel .mix-progress-rail{top:7px}
html body #modal .video-player .video-overlay-panel .mix-progress-row{justify-content:flex-start;gap:6px}

html body #modal .video-player .video-overlay-panel{height:60px;min-height:60px}html body #modal .video-player .video-overlay-panel .mix-transport{height:32px}html body #modal .video-player .video-overlay-panel .mix-source-menu{height:32px;min-height:32px}html body #modal .video-player .video-overlay-panel .mix-source-menu>summary{color:#fff}

/* Seek and times occupy the space between play and source controls. */
html body #modal .video-player .video-overlay-panel{padding:7px 10px;height:56px;min-height:56px}
html body #modal .video-player .video-overlay-panel .mix-progress-row{position:relative;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:22px 14px;gap:0 6px;height:36px;align-items:center;flex:1 1 0}
html body #modal .video-player .video-overlay-panel .mix-seek-shell{position:relative;inset:auto;grid-column:1 / -1;grid-row:1;width:100%;height:22px;min-width:0}
html body #modal .video-player .video-overlay-panel .mix-seek{height:22px}
html body #modal .video-player .video-overlay-panel .mix-progress-rail{top:10px}
html body #modal .video-player .video-overlay-panel .mix-now{grid-column:1;grid-row:2;justify-self:start;font-size:10px;line-height:14px}
html body #modal .video-player .video-overlay-panel .mix-total{display:block;grid-column:2;grid-row:2;justify-self:end;font-size:10px;line-height:14px}
html body #modal .video-player .video-center-controls .mix-control{background:#17171766;border-color:#ffffff40}
@media(max-width:600px){html body #modal .video-player .video-overlay-panel{padding:7px;gap:5px}}

/* Consistent video toolbar icons and clear space for touch controls. */
html body #modal .video-player .video-overlay-panel{align-items:center}
html body #modal .video-player .video-overlay-panel .mix-transport{align-items:center}
html body #modal .video-player .video-overlay-panel .video-bottom-play,
html body #modal .video-player .video-overlay-panel .mix-source-menu>summary,
html body #modal .video-player .video-overlay-panel .mix-volume-trigger,
html body #modal .video-player .video-overlay-panel .video-fullscreen{display:grid;place-items:center;box-sizing:border-box;width:32px;height:32px;min-width:32px;min-height:32px;padding:5px;margin:0;line-height:1;align-self:center}
html body #modal .video-player .video-overlay-panel .mix-volume,
html body #modal .video-player .video-overlay-panel .mix-source-menu{display:block;height:32px;min-height:32px;margin:0;padding:0;align-self:center}
html body #modal .video-player .video-overlay-panel svg{display:block;width:22px;height:22px;margin:0}
@media(max-width:600px){html body #modal .video-player .video-stage{min-height:220px}html body #modal .video-player .video-center-controls{top:calc((100% - 72px)/2)}html body #modal .video-player:fullscreen .video-stage{min-height:0}}

html body #modal .video-material-detail{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:stretch;gap:0}
html body #modal .video-material-detail>.detail-visual{margin:0;padding:0;min-width:0;background:#0c0906;border:0;border-right:1px solid var(--line);border-radius:0}
html body #modal .video-material-detail .mix-panel{margin:0;border:0;border-radius:0}
html body #modal .video-material-detail>.detail-content{min-width:0;padding:32px}
html body #modal .video-material-detail .detail-content p{white-space:pre-line}
html body #modal .video-material-detail .source-player-download-title{display:none}
@media(max-width:700px){html body #modal .video-material-detail{grid-template-columns:minmax(0,1fr)}html body #modal .video-material-detail>.detail-visual{border-right:0;border-bottom:1px solid var(--line)}html body #modal .video-material-detail>.detail-content{padding:24px}html body #modal .video-material-detail .detail-content h2{margin-top:14px}}

/* Let the video frame include its version switch without clipping. */
html body #modal .video-material-detail>.detail-visual{height:auto!important;max-height:none!important;min-height:0;aspect-ratio:auto!important;overflow:visible;align-self:start}
html body #modal .video-material-detail .source-player-view{height:auto!important;max-height:none!important;overflow:visible}
html body #modal .video-material-detail .mix-panel{height:auto!important;max-height:none!important;overflow:visible}
html body #modal .video-player .video-overlay-panel{border-radius:12px}
@media(max-width:700px){html body #modal .video-material-detail>.detail-visual{padding-bottom:12px!important}html body #modal .video-material-detail>.detail-content{position:relative}}

/* One shared material card for music and video. */
html body #modal .detail:has(.music-detail-column),
html body #modal .video-material-detail{display:grid;grid-template-columns:minmax(0,.45fr) minmax(0,.55fr);gap:0;align-items:start}
html body #modal :is(.detail:has(.music-detail-column),.video-material-detail)>.detail-visual{box-sizing:border-box;display:block!important;padding:16px!important;margin:0!important;background:transparent!important;border:0!important;border-radius:0!important;height:auto!important;min-height:0;max-height:none;aspect-ratio:auto}
html body #modal :is(.detail:has(.music-detail-column),.video-material-detail)>.detail-content{box-sizing:border-box;padding:32px;min-width:0}
html body #modal :is(.detail:has(.music-detail-column),.video-material-detail) .mix-panel{min-height:0!important;margin:0;padding:0;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none}
html body #modal :is(.detail:has(.music-detail-column),.video-material-detail) .mix-player{border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none}
html body #modal .video-material-detail .video-player{padding:0}
html body #modal .music-detail-column .mix-cover{border:0;box-shadow:none}
html body #modal :is(.detail:has(.music-detail-column),.video-material-detail) .detail-content p{white-space:pre-line}
html body #modal :is(.detail:has(.music-detail-column),.video-material-detail) .source-player-download-title{display:none}
@media(max-width:700px){
 html body #modal .detail:has(.music-detail-column),html body #modal .video-material-detail{grid-template-columns:minmax(0,1fr)}
 html body #modal :is(.detail:has(.music-detail-column),.video-material-detail)>.detail-visual{padding:16px!important}
 html body #modal :is(.detail:has(.music-detail-column),.video-material-detail)>.detail-content{padding:24px;border-top:1px solid var(--line)}
}

/* Recessed player surface, matching the mode switch. */
html body #modal .music-detail-column .mix-player,
html body #modal .video-material-detail .video-player:not(:fullscreen){background:#100c09!important;border:1px solid #493326!important;border-radius:16px!important;box-shadow:inset 0 5px 12px #0009,inset 0 1px 2px #000b,inset 0 -1px 0 #b9754538,0 1px 0 #d7986030!important;padding:14px}
html body #modal .video-player .video-overlay-panel{background:#12100dd9;border:1px solid #ffffff18;box-shadow:inset 0 3px 7px #0009,inset 0 -1px 0 #ffffff14,0 1px 0 #ffffff0b}
html body #modal .video-player:fullscreen{border:0!important;border-radius:0!important;box-shadow:none!important}

/* Quiet glass surface: light rim instead of a deep recessed shadow. */
html body #modal .music-detail-column .mix-player,
html body #modal .video-material-detail .video-player:not(:fullscreen){background:linear-gradient(135deg,#ffffff0a,#ffffff03)!important;border:1px solid #ffffff25!important;box-shadow:inset 0 1px 0 #ffffff1c,0 3px 12px #0002!important;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
html body #modal .video-player .video-overlay-panel{background:linear-gradient(135deg,#ffffff18,#19191980);border:1px solid #ffffff30;box-shadow:inset 0 1px 0 #ffffff20,0 2px 8px #0002;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
html body #modal .video-player:not(:fullscreen) .video-stage{min-height:240px}
html body #modal .video-player .video-center-controls{top:calc((100% - 76px)/2)}
html body #modal .video-player .video-center-controls .mix-control{background:#ffffff10;border-color:#ffffff3d;box-shadow:inset 0 1px 0 #ffffff15;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
html body #modal .video-player:fullscreen .video-stage{min-height:0}

/* Lighter glass, retaining contrast on controls. */
html body #modal .music-detail-column .mix-player,
html body #modal .video-material-detail .video-player:not(:fullscreen){background:linear-gradient(135deg,#ffffff06,#ffffff01)!important;border-color:#ffffff1a!important;box-shadow:inset 0 1px 0 #ffffff12,0 2px 8px #0001!important}
html body #modal .video-player .video-overlay-panel{background:linear-gradient(135deg,#ffffff0d,#19191940);border-color:#ffffff24;box-shadow:inset 0 1px 0 #ffffff15,0 2px 6px #0001}
html body #modal .video-player .video-center-controls .mix-control{background:#ffffff08;border-color:#ffffff30;box-shadow:inset 0 1px 0 #ffffff0d}

/* Subtle convex glass edge. */
html body #modal .music-detail-column .mix-player,
html body #modal .video-material-detail .video-player:not(:fullscreen){background:linear-gradient(155deg,#ffffff0a 0%,#ffffff02 35%,#ffffff01 70%,#ffffff04 100%)!important;box-shadow:inset 0 1px 1px #ffffff29,inset 0 -1px 1px #0003,0 3px 8px #0002!important;border-top-color:#ffffff30!important;border-bottom-color:#ffffff12!important}
html body #modal .video-player .video-overlay-panel{background:linear-gradient(155deg,#ffffff15,#ffffff05 40%,#19191938);box-shadow:inset 0 1px 1px #ffffff30,inset 0 -1px 1px #0003,0 3px 8px #0002;border-top-color:#ffffff36;border-bottom-color:#ffffff16}

/* Shallow recessed glass, matching the preview/full switch. */
html body #modal .music-detail-column .mix-player,
html body #modal .video-material-detail .video-player:not(:fullscreen){background:linear-gradient(155deg,#0000000c,#ffffff03)!important;border:1px solid #ffffff1b!important;box-shadow:inset 0 2px 4px #0005,inset 0 -1px 0 #ffffff18,0 1px 0 #ffffff0b!important}
html body #modal .video-player .video-overlay-panel{background:linear-gradient(155deg,#17171740,#ffffff08);border:1px solid #ffffff22;box-shadow:inset 0 2px 4px #0005,inset 0 -1px 0 #ffffff1a,0 1px 0 #ffffff0b}

/* Music artwork and transport share one shallow glass shell. */
html body #modal .detail:has(.music-detail-column) .music-detail-column .mix-panel{display:flex;flex-direction:column;gap:12px;padding:14px!important;border:1px solid #ffffff1b!important;border-radius:16px!important;background:linear-gradient(155deg,#0000000c,#ffffff03)!important;box-shadow:inset 0 2px 4px #0005,inset 0 -1px 0 #ffffff18,0 1px 0 #ffffff0b!important}
html body #modal .detail:has(.music-detail-column) .music-detail-column .mix-player{padding:0!important;margin:0;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none;-webkit-backdrop-filter:none}
html body #modal .detail:has(.music-detail-column) .music-detail-column .mix-cover{margin:0;border:0!important;border-radius:12px!important;box-shadow:none}
html body #modal{position:fixed!important;inset:0!important;margin:auto!important;transform:none!important;height:fit-content;max-height:calc(100dvh - 32px)!important}

html body #modal{position:fixed!important;inset:auto!important;top:50%!important;left:50%!important;right:auto!important;bottom:auto!important;margin:0!important;transform:translate(-50%,-50%)!important;height:auto!important;min-height:0!important;max-height:calc(100dvh - 32px)!important}

html body #modal .detail:has(.music-detail-column)>.music-detail-column{align-self:start!important;flex:none!important;height:auto!important;min-height:0!important}
html body #modal .detail:has(.music-detail-column) .source-player-view{flex:none!important;height:auto!important;min-height:0!important}
html body #modal .detail:has(.music-detail-column) .music-detail-column .mix-panel{height:auto!important;min-height:0!important;max-height:none!important;flex:none!important;align-self:start!important}

@media(max-width:700px){
 html body #modal:has(.detail){--material-mobile-limit:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 32px);top:calc(env(safe-area-inset-top,0px) + 16px)!important;left:50%!important;transform:translateX(-50%)!important;max-height:var(--material-mobile-limit)!important;overflow:hidden!important}
 html body #modal:has(.detail)>#modal-body{height:auto!important;max-height:calc(var(--material-mobile-limit) - 2px)!important;overflow-y:auto!important;overflow-x:hidden!important;padding:0!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
 html body #modal:has(.detail)>button.close{position:absolute;top:10px;right:10px;z-index:20}
}

html body #modal .video-player .video-center-controls{top:50%!important;left:50%!important;right:auto;bottom:auto;margin:0!important;width:max-content;max-width:100%;transform:translate(-50%,-50%)!important;justify-content:center}

html body #modal:has(.detail){border:0!important;background:rgba(27,19,14,.86)!important;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
html body #modal:has(.detail) .detail,html body #modal:has(.detail) .detail-content{background:transparent!important}

html body #modal:has(.detail){background:rgba(27,19,14,.72)!important}

/* Shared appearance for every dialog, including cart and checkout. */
html body #modal{border:0!important;background:rgba(27,19,14,.68)!important;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
html body #modal:has(.detail),html body #modal.auth-dialog,html body #modal:has(.cart-sheet),html body #modal:has(.checkout-sheet),html body #modal:has(.package-picker),html body #modal:has(.order-payment){border:0!important;background:rgba(27,19,14,.68)!important}
html body #modal>#modal-body,html body #modal .modal-content,html body #modal .cart-sheet,html body #modal .checkout-sheet,html body #modal .package-picker,html body #modal .order-payment{background:transparent!important}

/* 2026-10-14: explicit widths survive centered positioning; one shared glass alpha. */
html body #modal:has(.cart-sheet),
html body #modal:has(.package-picker){
 width:min(940px,calc(100% - 24px))!important;
 max-width:calc(100% - 24px)!important;
 box-sizing:border-box;
}
html body #modal,
html body #modal:has(.detail),
html body #modal.auth-dialog,
html body #modal:has(.cart-sheet),
html body #modal:has(.checkout-sheet),
html body #modal:has(.package-picker),
html body #modal:has(.order-payment){
 --dialog-surface:rgba(27,19,14,.60);
 background:var(--dialog-surface)!important;
 backdrop-filter:blur(18px);
 -webkit-backdrop-filter:blur(18px);
}
/* Draw the inset above the image: an inset shadow below an opaque image is invisible. */
html body #modal .music-detail-column .mix-cover,
html body #modal .video-player .video-stage{position:relative;isolation:isolate}
html body #modal .music-detail-column .mix-cover::after,
html body #modal .video-player .video-stage::after{
 content:"";position:absolute;inset:0;z-index:1;
 border-radius:inherit;pointer-events:none;
 box-shadow:inset 0 3px 8px rgba(0,0,0,.42),inset 0 1px 2px rgba(0,0,0,.38),inset 0 -1px 0 rgba(255,255,255,.13);
}

/* Borderless player surfaces: paired soft shadows from the supplied reference. */
html body #modal .detail:has(.music-detail-column) .music-detail-column .mix-panel,
html body #modal .video-material-detail .video-player:not(:fullscreen){
 border:0!important;
 background:transparent!important;
 box-shadow:-5px -5px 15px rgba(255,226,204,.045),6px 6px 18px rgba(0,0,0,.30),inset 2px 2px 5px rgba(0,0,0,.12),inset -2px -2px 5px rgba(255,226,204,.025)!important;
}
html body #modal .music-detail-column .mix-cover,
html body #modal .video-player .video-stage{border:0!important}
html body #modal .music-detail-column .mix-cover::after,
html body #modal .video-player .video-stage::after{
 box-shadow:inset 4px 4px 12px rgba(0,0,0,.34),inset -3px -3px 9px rgba(255,226,204,.065);
}


/* Dialog sizing belongs to each flow; picker needs a bounded height for its scroll track. */
html body:has(#modal[open])>.header{visibility:visible;pointer-events:none}
html body #modal:has(.checkout-sheet){
 width:min(940px,calc(100% - 24px))!important;
 max-width:calc(100% - 24px)!important;
}
html body #modal:has(.package-picker){
 --picker-height-limit:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 32px);
 height:min(780px,var(--picker-height-limit))!important;
 max-height:var(--picker-height-limit)!important;
 overflow:hidden!important;
}
html body #modal:has(.package-picker)>#modal-body{
 height:100%!important;max-height:100%!important;min-height:0;overflow:hidden!important;
}
html body #modal .package-picker{
 height:100%;max-height:100%;min-height:0;
 grid-template-rows:auto minmax(0,1fr) auto;
}
html body #modal .package-picker-list{min-height:0;overflow-y:auto;touch-action:pan-y;overscroll-behavior:contain}


/* Mobile material cards flow from player to description without a separator. */
@media(max-width:700px){
 html body #modal :is(.detail:has(.music-detail-column),.video-material-detail)>.detail-content{border-top:0!important}
}

/* Source errors keep a compact recovery action; no legacy divider on mobile. */
html body #modal .source-player-retry{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:6px 12px;border:0;border-radius:8px;background:rgba(0,0,0,.25);color:var(--orange);font:inherit;text-decoration:underline;pointer-events:auto;cursor:pointer}
@media(max-width:700px){html body #modal .unified-media-player .source-player-bar{border-top:0!important}}

/* YouTube shares the video card shell, with its native embedded controls. */
html body #modal .video-material-detail .youtube-player-shell .video-stage{aspect-ratio:16/9;min-height:0!important;margin:0}
html body #modal .youtube-player-shell .youtube-player{position:absolute;inset:0;display:block;width:100%;height:100%;min-height:0;max-height:none;margin:0;border:0;border-radius:0;aspect-ratio:auto}
html body #modal .youtube-player-shell .video-stage::after{pointer-events:none}

/* Adaptive installed-app navigation, inspired by the supplied Instagram reference. */
@media(max-width:767px){
 html.standalone-dock .mobile-dock{
  left:50%;right:auto;width:calc(100% - 36px);max-width:520px;
  bottom:max(8px,calc(env(safe-area-inset-bottom,0px) - 12px));transform:translateX(-50%);
  padding:6px;border-radius:999px;
  background:rgba(24,19,16,.68);box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 6px 22px rgba(0,0,0,.28);
  transition:width .28s cubic-bezier(.22,1,.36,1),padding .28s ease;
 }
 html.standalone-dock .mobile-dock>[data-dock],
 html.standalone-dock .mobile-dock .account-control .account-link{
  height:68px!important;min-height:44px;gap:2px;padding:6px 2px!important;border-radius:999px;
  transition:height .28s cubic-bezier(.22,1,.36,1),gap .28s ease,background-color .2s ease;
 }
 html.standalone-dock .mobile-dock>[data-dock="materials"] svg{
  position:static;top:auto;width:24px;height:24px;padding:0;border-radius:0;background:transparent;color:inherit;box-shadow:none;
 }
 html.standalone-dock .mobile-dock>[data-dock="materials"]>span{margin-top:0;color:inherit}
 html.standalone-dock .mobile-dock>[data-dock]>span:not(.dock-count),
 html.standalone-dock .mobile-dock .account-link:after{
  min-height:0;height:24px;max-height:24px;opacity:1;overflow:hidden;margin:0;
  transition:max-height .28s ease,height .28s ease,opacity .18s ease;
 }
 html.standalone-dock .mobile-dock [aria-current="page"]{background:rgba(255,104,28,.16)!important;color:var(--orange)}
 html.standalone-dock .mobile-dock.is-compact{width:calc(100% - 64px);max-width:340px}
 html.standalone-dock .mobile-dock.is-compact>[data-dock],
 html.standalone-dock .mobile-dock.is-compact .account-control .account-link{height:48px!important;gap:0}
 html.standalone-dock .mobile-dock.is-compact>[data-dock]>span:not(.dock-count),
 html.standalone-dock .mobile-dock.is-compact .account-link:after{height:0;max-height:0;opacity:0}
 html.standalone-dock .mobile-dock .dock-count{top:2px;left:calc(50% + 5px)}
}
@media(prefers-reduced-motion:reduce){
 html.standalone-dock .mobile-dock,html.standalone-dock .mobile-dock *{transition:none!important}
 html.standalone-dock .mobile-dock .account-link:after{transition:none!important}
}
/* Icon-only navigation: equal icon rows, with accessible names kept in markup. */
@media(max-width:767px){
 html.standalone-dock .mobile-dock>[data-dock]>span:not(.dock-count){display:none!important}
 html.standalone-dock .mobile-dock .account-link:after{content:none!important;display:none!important}
 html.standalone-dock .mobile-dock>[data-dock],
 html.standalone-dock .mobile-dock .account-control .account-link{height:56px!important;gap:0}
 html.standalone-dock .mobile-dock.is-compact>[data-dock],
 html.standalone-dock .mobile-dock.is-compact .account-control .account-link{height:48px!important}
 html.standalone-dock .mobile-dock>[data-dock="materials"]>span{position:static;inset:auto;transform:none}
 html.standalone-dock #account-menu>a[href="#account"]{display:none!important}
}
/* One interpolated width, with a shared moving active-item capsule. */
@media(max-width:767px){
 html.standalone-dock .mobile-dock{
  width:min(340px,calc(100% - 64px));max-width:none;isolation:isolate;
  transition:width .46s cubic-bezier(.22,1,.36,1),padding .46s cubic-bezier(.22,1,.36,1);
 }
 html.standalone-dock .mobile-dock.is-compact{width:min(280px,calc(100% - 88px));max-width:none}
 html.standalone-dock .mobile-dock>[data-dock],
 html.standalone-dock .mobile-dock .account-control .account-link{
  height:52px!important;transition:height .46s cubic-bezier(.22,1,.36,1);z-index:1;
 }
 html.standalone-dock .mobile-dock.is-compact>[data-dock],
 html.standalone-dock .mobile-dock.is-compact .account-control .account-link{height:44px!important}
 html.standalone-dock .mobile-dock::before{
  content:"";position:absolute;left:6px;top:6px;bottom:6px;width:calc((100% - 12px)/5);
  border-radius:999px;background:rgba(255,255,255,.18);pointer-events:none;z-index:0;
  opacity:0;transform:translateX(calc(var(--dock-active-index,0)*100%));
  transition:transform .40s cubic-bezier(.22,1,.36,1),opacity .2s ease;
 }
 html.standalone-dock .mobile-dock[data-has-active="true"]::before{opacity:1}
 html.standalone-dock .mobile-dock [aria-current="page"]{background:transparent!important;color:#fff}
 html.standalone-dock .mobile-dock>[data-dock="materials"][aria-current="page"]{color:#fff}
}
@media(prefers-reduced-motion:reduce){
 html.standalone-dock .mobile-dock,html.standalone-dock .mobile-dock::before,html.standalone-dock .mobile-dock *{transition:none!important}
}

@media(max-width:767px){
 html.standalone-dock body .mobile-dock .account-control .account-link,
 html.standalone-dock body .mobile-dock .account-control .account-link.is-signed-in,
 html.standalone-dock body .mobile-dock .account-control .account-link[aria-current="page"]{color:var(--white)!important}
}

/* Keep icon color neutral during touch hover, press, focus and route changes. */
@media(max-width:767px){
 html.standalone-dock body .mobile-dock>[data-dock],
 html.standalone-dock body .mobile-dock>[data-dock]:is(:hover,:active,:focus,:focus-visible),
 html.standalone-dock body .mobile-dock .account-control .account-link:is(:hover,:active,:focus,:focus-visible){color:var(--white)!important}
}

/* A quiet glass rim and soft halo in both dock states. */
@media(max-width:767px){
 html.standalone-dock .mobile-dock{
  box-shadow:inset 0 1px 1px rgba(255,255,255,.24),inset 0 0 0 1px rgba(255,255,255,.09),0 0 12px rgba(225,235,245,.07),0 6px 22px rgba(0,0,0,.28);
 }
}

/* Extend touch targets without changing dock geometry or overlapping neighbours. */
@media(max-width:767px){
 html.standalone-dock .mobile-dock>[data-dock],
 html.standalone-dock .mobile-dock .account-control .account-link{overflow:visible}
 html.standalone-dock .mobile-dock>[data-dock]::before,
 html.standalone-dock .mobile-dock .account-control .account-link::before{
  content:"";position:absolute;inset:-8px 0;background:transparent;pointer-events:auto;
 }
 html.standalone-dock .mobile-dock>[data-dock="catalog"]::before{left:-6px}
 html.standalone-dock .mobile-dock .account-control .account-link::before{right:-6px}
}

/* Fast taps retain native scrolling and pinch zoom. */
@media(max-width:767px){
 html.standalone-dock .mobile-dock>[data-dock],
 html.standalone-dock .mobile-dock .account-link{touch-action:manipulation}
}

/* Source failures use normal document flow on narrow screens. */
html body #modal .source-player-unavailable .source-player-view{height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;overflow:visible!important}
html body #modal .source-player-unavailable .source-player-error-panel{padding:32px 20px 20px;text-align:left}
html body #modal .source-player-error-panel p{margin:0 0 18px;font-size:16px;line-height:1.5}
html body #modal .source-player-error-actions{display:flex;flex-direction:column;align-items:stretch;gap:12px}
html body #modal .source-player-error-actions .button{width:100%;min-height:48px;white-space:normal;text-align:center}
html body #modal .source-player-unavailable .source-player-menu .source-player-options{position:static;margin-top:8px;width:100%;max-width:100%;max-height:none;box-shadow:none}
html body #modal .source-player-unavailable .source-player-status:empty{display:none!important}

/* Lighter labels for video and music mode switches. */
html body #modal .mix-modes button,html body #modal .mix-modes button[aria-pressed="true"]{font-weight:400}

/* Soft relief shared with the player mode switch. */
html body .button:not(.secondary):not(.floating-cart):not(:disabled):not([aria-disabled="true"]){box-shadow:inset 0 1px 2px #ffd4b14d,inset 0 -2px 3px #78350e38,0 3px 8px #0004}
html body .button:not(.secondary):not(.floating-cart):not(:disabled):not([aria-disabled="true"]):active{box-shadow:inset 0 2px 4px #78350e4d,0 1px 3px #0003}

/* Primary action labels. */
html body .button:not(.secondary):not(.floating-cart),
html body #main .button:not(.secondary):not(.floating-cart),
html body #modal .button:not(.secondary):not(.floating-cart){color:#000;font-weight:500}

/* Gentle orange gradient and subtle label depth. */
html body .button:not(.secondary):not(.floating-cart),
html body #main .button:not(.secondary):not(.floating-cart),
html body #modal .button:not(.secondary):not(.floating-cart){background-image:linear-gradient(180deg,#ff803d 0%,#ff641f 55%,#ed5418 100%);text-shadow:none}

/* Compact player panels, with a persistent source choice below playback modes. */
.unified-media-player .source-player-toggle-panel{display:block;width:100%;margin:6px 0 0;padding:0;min-height:0}
.unified-media-player .source-player-toggle-panel[hidden]{display:none!important}
.unified-media-player .source-player-toggle-panel .source-player-menu{display:block;width:100%;margin:0;padding:0;position:static}
.unified-media-player .source-player-toggle-panel summary{display:none}
.unified-media-player .source-player-toggle-panel .source-player-options{position:static;display:flex;gap:2px;width:100%;min-width:0;max-width:none;margin:0;padding:1px;box-sizing:border-box;border:1px solid rgba(255,255,255,.12);border-radius:999px;background:rgba(0,0,0,.22);box-shadow:inset 0 1px 4px rgba(0,0,0,.3)}
.unified-media-player .source-player-toggle-panel .source-player-options button{flex:1;min-width:0;min-height:40px;padding:8px 12px;border:0;border-radius:999px;background:transparent;color:inherit;font:inherit;font-weight:400;line-height:1.2;box-shadow:none}
.unified-media-player .source-player-toggle-panel .source-player-options button[aria-pressed="true"]{background:rgba(255,255,255,.16);box-shadow:inset 0 1px 1px rgba(255,255,255,.12),0 1px 3px rgba(0,0,0,.22)}
.unified-media-player .mix-modes{padding-top:1px;padding-bottom:1px}

.button:disabled{background:#454545!important;color:#bdbdbd!important;box-shadow:none!important;cursor:default;text-shadow:none!important;opacity:1}.purchase-unavailable-note{display:block;margin-top:8px;color:#aaa;font-size:12px;line-height:1.4}

html body #modal .unified-media-player .source-player-toggle-panel{padding:0;border-top:0;margin:6px 0 12px}
html body #modal .unified-media-player .mix-modes{padding-top:1px;padding-bottom:1px}
html body #modal .unified-media-player .mix-modes:has(+.source-player-toggle-panel:not([hidden])){margin-bottom:0}

html body #modal .unified-media-player .source-player-toggle-panel .source-player-options{position:relative;isolation:isolate;gap:0;background:#160f0b;border-color:#533523;box-shadow:inset 0 4px 8px #0009,inset 0 -1px 0 #b9754533,0 1px 0 #ba78452b}
html body #modal .unified-media-player .source-player-toggle-panel .source-player-options::before{content:"";position:absolute;z-index:-1;left:4px;top:4px;bottom:4px;box-sizing:border-box;width:calc((100% - 8px)/var(--source-count,2));border:1px solid #ffae7055;border-radius:999px;background:#f5752b;box-shadow:inset 0 2px 2px #ffd4b16b,inset 0 -2px 3px #78350e5c,0 2px 3px #0005;transform:translateX(calc(var(--source-index,0)*100%));transition:transform .35s cubic-bezier(.22,1,.36,1)}
html body #modal .unified-media-player .source-player-toggle-panel .source-player-options button{padding:9px 8px;font-size:13px;font-weight:400;line-height:1.25;color:#bcaa9d;background:transparent;box-shadow:none}
html body #modal .unified-media-player .source-player-toggle-panel .source-player-options button[aria-pressed="true"]{color:#180d06;background:transparent;box-shadow:none;text-shadow:none}
@media(prefers-reduced-motion:reduce){html body #modal .unified-media-player .source-player-toggle-panel .source-player-options::before{transition:none}}

html body #modal .unified-media-player .source-player-toggle-panel .source-player-options button{display:flex;align-items:center;justify-content:center;text-align:center;flex:1 1 0;width:0}

html body #modal .video-player:fullscreen .source-player-toggle-panel{display:none!important}
html body #modal .video-player:-webkit-full-screen .source-player-toggle-panel{display:none!important}

html body #modal .unified-media-player .source-player-toggle-panel .source-player-options button{transition:color .25s ease}

/* Neutral button edges in resting, pointer and disabled states. */
html body .button:not(.secondary):not(.floating-cart),html body .button:not(.secondary):not(.floating-cart):is(:hover,:active,:focus,:disabled){border-color:transparent!important}
html body .button.secondary,html body .button.secondary:is(:hover,:active,:focus,:disabled){border-color:rgba(255,255,255,.22)!important}
html body .button:focus-visible{outline-color:#f1f0e9}

/* Both player switch tracks and their touch targets share exact heights. */
html body #modal .unified-media-player .mix-modes,
html body #modal .unified-media-player .source-player-toggle-panel .source-player-options{box-sizing:border-box;height:44px;min-height:44px;max-height:44px;padding:1px;border-width:1px}
html body #modal .unified-media-player .mix-modes button,
html body #modal .unified-media-player .source-player-toggle-panel .source-player-options button{box-sizing:border-box;display:flex;align-items:center;justify-content:center;height:40px;min-height:40px;max-height:40px;padding:0 8px;line-height:1.25;text-align:center}

@media(max-width:767px){
 html body #toast.with-cart{width:max-content;min-width:0;max-width:calc(100vw - 32px);min-height:0;padding:6px 10px 6px 12px;gap:10px;border-radius:18px;font-size:12px;line-height:1.3}
 html body #toast .toast-cart-action{width:auto;max-width:none;min-height:36px;height:36px;margin:0;padding:6px 10px;border-radius:999px;font-size:12px;line-height:1.2;white-space:nowrap;flex-shrink:0}
}

/* One touch scroll surface for the entire mobile cart, including its footer. */
@media(max-width:767px){
 html body #modal:has(.cart-sheet)>#modal-body{overflow-y:auto!important;overflow-x:hidden!important;min-height:0;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y}
 html body #modal .cart-sheet{height:auto!important;max-height:none!important;overflow:visible!important}
 html body #modal .cart-sheet .cart-list{flex:none!important;min-height:0!important;max-height:none;overflow:visible!important}
}

/* Audio volume popup stays above the source and version switches. */
html body #modal .music-detail-column .mix-transport{position:relative;z-index:20}
html body #modal .music-detail-column .mix-volume-popover{z-index:21}

/* Large native slider hit area, with a thin visible volume track. */
html body #modal .mix-volume .mix-volume-slider{height:44px;min-height:44px;margin:0;padding:0;background:transparent;border:0;touch-action:none;cursor:ew-resize}
html body #modal .mix-volume-slider::-webkit-slider-runnable-track{height:4px;border:0;border-radius:4px;background:#8f6650}
html body #modal .mix-volume-slider::-webkit-slider-thumb{width:18px;height:18px;margin-top:-7px;border:2px solid #fff2e8;border-radius:50%;background:var(--orange);-webkit-appearance:none}
html body #modal .mix-volume-slider::-moz-range-track{height:4px;border:0;border-radius:4px;background:#8f6650}
html body #modal .mix-volume-slider::-moz-range-thumb{width:16px;height:16px;border:2px solid #fff2e8;border-radius:50%;background:var(--orange)}

/* Consent keeps its native square control; the label retains a full touch target. */
html body #modal .legal-confirmations .legal-checkbox{min-height:44px}
html body #modal .legal-confirmations input[type=checkbox]{box-sizing:border-box;width:20px;min-width:20px;max-width:20px;height:20px;min-height:20px;max-height:20px;flex:0 0 20px;padding:0;margin:0;border-radius:5px;align-self:center}
html body #modal .legal-confirmations input[type=checkbox]:focus-visible{outline:2px solid var(--orange);outline-offset:3px;border-radius:5px}
@media(max-width:767px){
 html.standalone-dock body #toast,html.standalone-dock body #toast.with-cart{bottom:var(--dock-toast-bottom,calc(82px + env(safe-area-inset-bottom,0px)))}
 /* Do not recenter checkout when the bank's browser chrome changes viewport height. */
 html body #modal:has(.checkout-sheet){top:max(36px,calc(env(safe-area-inset-top,0px) + 16px))!important;left:50%!important;right:auto!important;bottom:auto!important;margin:0!important;transform:translateX(-50%)!important;width:calc(100% - 24px);max-height:calc(100dvh - max(36px,calc(env(safe-area-inset-top,0px) + 16px)) - 16px)!important}
 html.dialog-keyboard body #modal:has(.checkout-sheet){top:calc(var(--dialog-visible-top,0px) + 8px)!important;max-height:calc(var(--dialog-visible-height,100dvh) - 16px)!important}
}

/* Keep the iOS page canvas alive while its body is fixed for a modal. */
html:has(#modal[open]){min-height:100vh;min-height:100dvh}
@media(max-width:767px){
 html body #modal:has(.cart-sheet){--cart-top:max(36px,calc(env(safe-area-inset-top,0px) + 16px));--cart-height-limit:calc(100dvh - var(--cart-top) - max(16px,env(safe-area-inset-bottom,0px)));top:var(--cart-top)!important;left:50%!important;right:auto!important;bottom:auto!important;margin:0!important;transform:translateX(-50%)!important;height:auto!important;max-height:var(--cart-height-limit)!important;overflow:hidden!important}
 html body #modal:has(.cart-sheet)>#modal-body{height:auto!important;max-height:var(--cart-height-limit)!important;overflow-y:auto!important;overflow-x:hidden!important}
}

/* A uniform viewport backdrop, independent of the cart glass surface. */
html body #modal:has(.cart-sheet)::backdrop{position:fixed;inset:0;background:rgba(0,0,0,.78);backdrop-filter:none;-webkit-backdrop-filter:none}

/* Download actions use the same pill shape as standard site buttons. */
html body #modal .source-player-download-links a.button[data-download],
html body #modal .source-player-download-links button.button,
html body .source-player-download-links a.button[data-download],
html body .source-player-download-links button.button{border-radius:999px!important}

/* Cloud downloads follow the site's dark secondary action styling. */
html body #modal .source-player-download-links a.button[data-download],
html body .source-player-download-links a.button[data-download]{
 background:#110b08!important;color:#faf6f4!important;border:1px solid #665044!important;
 box-shadow:none!important;border-radius:999px!important;
}
html body #modal .source-player-download-links a.button[data-download]:hover,
html body .source-player-download-links a.button[data-download]:hover{
 background:#21120b!important;border-color:#ff641f!important;
}
html body #modal .source-player-download-links a.button[data-download]:focus-visible,
html body .source-player-download-links a.button[data-download]:focus-visible{
 outline:2px solid #ff641f;outline-offset:3px;
}

html body #modal .source-player-download-links a[data-file-name]:not([data-file-name=""]){height:auto!important;min-height:56px!important;white-space:normal;line-height:1.4}

/* Bounded hero refinement; production button palette and relief. */
html body .poster-intro .hero-direction-button{display:inline-flex;align-items:center;justify-content:center;width:280px;max-width:100%;height:60px;min-height:60px;padding:0 20px;gap:0;border:0;border-radius:10px;background:#ff641f;background-image:linear-gradient(180deg,#ff803d 0%,#ff641f 55%,#ed5418 100%);color:#000;font-family:inherit;font-size:16px;font-weight:500;line-height:1.2;letter-spacing:0;text-transform:none;white-space:nowrap;text-align:center;text-shadow:none;box-shadow:inset 0 1px 2px #ffd4b14d,inset 0 -2px 3px #78350e38,0 3px 8px #0004;transition:transform .18s ease,filter .18s ease}
html body .poster-intro .hero-direction-button:hover{color:#000;filter:brightness(1.06);transform:translateY(-1px)}
html body .poster-intro .hero-direction-button:active{transform:translateY(0);box-shadow:inset 0 2px 4px #78350e4d,0 1px 3px #0003}
html body .poster-intro .hero-direction-button:focus-visible{outline:2px solid #faf6f4;outline-offset:5px}
@media(min-width:801px){html body .poster-hero .poster-intro,html body .poster-hero .poster-author{bottom:78px}html body .poster-hero .poster-author strong{font-size:36px;line-height:34px;height:60px;margin-top:9px;text-box-trim:trim-both;text-box-edge:cap alphabetic;letter-spacing:-.02em}html body .poster-hero .poster-author{right:5vw}}
@media(min-width:1600px){html body .poster-hero .poster-author{right:80px}}
@media(max-width:560px){html body .poster-intro .hero-direction-button{font-size:15px}}
@media(prefers-reduced-motion:reduce){html body .poster-intro .hero-direction-button{transition:none;transform:none}}

/* Center the approved CTA on phones, retaining the desktop layout. */
@media(max-width:560px){
 html body .poster-hero .poster-intro .hero-direction-button{
  display:flex;width:300px;max-width:100%;height:64px;min-height:64px;
  margin-left:auto;margin-right:auto;font-size:16px;border-radius:10px;
 }
}

/* Approved phone-only refinement; preserve current production copy and desktop. */
@media(max-width:560px){
 html body .poster-hero .poster-intro p{max-width:none;text-align:center}
 html body .poster-hero .poster-intro .hero-direction-button{
  display:flex;width:calc(100% - 16px);max-width:380px;height:64px;min-height:64px;
  margin-left:auto;margin-right:auto;font-size:16px;border-radius:10px;
 }
}
