/* Loaded last: one responsive layer shared by portal, shop and registration. */
.mobile-bar,.mobile-account-backdrop,.mobile-account-close{display:none}
.mobile-menu{box-sizing:border-box;width:min(420px,calc(100% - 24px));max-height:calc(100dvh - 32px);margin:auto;padding:22px;border:1px solid #87683b;border-radius:10px;background:#18130f;color:#eddbbb;overflow:auto}
.mobile-menu::backdrop{background:#000b}
.mobile-menu header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
.mobile-menu h2{font:700 21px 'PT Sans',Arial,sans-serif;margin:0;color:#e6c181}
.mobile-menu header button{font-size:28px;border:1px solid #6b5233;border-radius:6px;background:#261d14;color:#e9c58a;min-width:44px;min-height:44px}
.mobile-primary-links{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.mobile-menu a{display:flex;align-items:center;min-height:44px;padding:10px 12px;color:#ebd8b4;font:16px/1.4 'PT Sans',Arial,sans-serif;text-decoration:none;border-radius:5px}
.mobile-primary-links a{background:#251c13;border:1px solid #574127}
.mobile-menu section{margin-top:20px;padding-top:16px;border-top:1px solid #51402b}
.mobile-menu h3{font-size:15px;color:#bf9b60;margin:0 12px 6px}
.mobile-menu a:focus-visible,.mobile-bar :focus-visible{outline:2px solid #efc97f;outline-offset:2px}
@media(max-width:760px){
 html{min-width:0!important;width:100%;scroll-padding-top:calc(76px + env(safe-area-inset-top));scroll-behavior:auto}
 body{min-width:0;margin:0;padding-top:calc(60px + env(safe-area-inset-top)); -webkit-text-size-adjust:100%;}
 body.mobile-menu-open,body.mobile-account-active{overflow:hidden}
 .mobile-bar{position:fixed;z-index:80;top:0;left:0;right:0;display:flex;align-items:center;gap:8px;min-height:calc(60px + env(safe-area-inset-top));padding:calc(8px + env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) 8px max(12px,env(safe-area-inset-left));background:#130f0bf5;border-bottom:1px solid #6a5030;box-shadow:0 4px 18px #0005;color:#e8c586}
 .mobile-brand{margin-right:auto;color:#f3dfbb!important;font:700 19px Georgia,serif;white-space:nowrap;text-decoration:none}.mobile-brand span{color:#d2a458}
 .mobile-bar button{font:600 14px 'PT Sans',Arial,sans-serif;min-height:44px;padding:8px 12px;background:#2b2014;color:#f0d5a6;border:1px solid #6c5030;border-radius:6px;white-space:nowrap}
 #navbar,.shop-topnav{display:none!important}
 body:not(:has(.store-wrap)){background-image:url('/brand/site-background-mobile.webp')!important;background-size:1000px auto!important;background-position:center calc(60px + env(safe-area-inset-top))!important}
 #header{height:146px!important;min-height:0;padding:0}
 .header-info-container{width:calc(100% - 24px)!important;margin:0 auto 12px!important}
 .header-info-container .header-info{width:100%;max-width:none;padding:12px 14px;border:1px solid #594329;border-radius:7px}
 .header-info-container .header-info .header-info-block{display:grid;gap:5px}
 .header-info-container .info-line{display:flex;justify-content:space-between;gap:12px;white-space:normal;font-size:13px;line-height:1.5;padding:0}
 #container{width:calc(100% - 24px)!important;margin:0 auto!important;border:1px solid #4c3926;border-radius:7px;min-width:0}
 #content{padding:20px 16px 0!important;min-width:0;min-height:0;overflow:visible}
 .classic-home-grid{display:block!important;min-width:0}
 .classic-home-grid>.classic-sidebar,.store-sidebar{display:none!important}
 .classic-news{width:100%;min-width:0;padding-bottom:12px;font-size:15px}
 .classic-news h1,.classic-news .page-head h2{font-size:25px;line-height:1.3}
 .classic-news-entry{padding:18px 0}.classic-news-entry h2{font-size:18px;line-height:1.45}.classic-news-entry p{font-size:15px;line-height:1.7}.news-meta{font-size:12px}.news-read-more{font-size:14px;padding:10px 0;min-height:44px}
 .page-head{align-items:flex-start;flex-wrap:wrap;gap:8px}.page-head small{font-size:10px}
 .content-copy{padding:16px 14px;overflow-wrap:anywhere;font-size:15px;line-height:1.75}.content-copy h3{font-size:21px}
 .portal-intro,.manual-note{font-size:14px}.manual-note{padding:12px}
 .search,#tutorial-search{width:100%;max-width:100%;min-width:0}
 .tutorial-links a{font-size:15px;padding:14px 0;line-height:1.5}.tutorial-article{overflow-wrap:anywhere}.tutorial-article section p,.tutorial-article li{font-size:15px;line-height:1.8}
 .table-scroll{max-width:100%;overflow:auto;overscroll-behavior-x:contain}.portal-table{min-width:460px;font-size:13px}
 .content-copy dl>div{flex-wrap:wrap;gap:6px}.content-copy dd{margin-left:0;overflow-wrap:anywhere}
 .class-list{grid-template-columns:1fr!important}.driver-links{flex-wrap:wrap;gap:8px}.driver-links a{padding:12px;min-width:70px}.pix-card{width:100%;max-width:100%;padding:18px}
 .footer{width:calc(100% - 24px)!important;margin:18px auto 0;padding:20px 12px!important}.footer-container{max-width:100%;width:100%!important;padding:0!important}.footer .footer-links{gap:4px 18px;justify-content:center}.footer-links a{display:inline-flex;align-items:center;min-height:44px;font-size:13px}
 .classic-sidebar.mobile-account-open,.store-sidebar.mobile-account-open{display:block!important;position:fixed;z-index:102;top:0;right:0;bottom:0;width:min(360px,calc(100% - 16px));margin:0;padding:max(16px,env(safe-area-inset-top)) 20px max(24px,env(safe-area-inset-bottom));border:0;border-left:1px solid #8b6939;background:#1a140e;overflow:auto;overscroll-behavior:contain;box-shadow:-12px 0 50px #0008}
 .mobile-account-open .classic-menu-section{display:none}.mobile-account-open .classic-panel{padding:16px 0;border:0}.mobile-account-open .classic-panel h2{font-size:23px}.mobile-account-open .account-welcome,.mobile-account-open .account-menu-group a{font-size:15px}.mobile-account-open .account-menu-group a{padding:10px 0;min-height:44px}.mobile-account-open .account-role{font-size:12px}.mobile-account-open .account-menu-group h3{font-size:16px}
 .mobile-account-backdrop:not([hidden]){display:block;position:fixed;inset:0;z-index:101;background:#000a;border:0;width:100%;height:100%;margin:0;padding:0}
 .mobile-account-close{display:block;min-height:44px;padding:10px 14px;margin-left:auto;border:1px solid #89673c;border-radius:5px;background:#2b2014;color:#f1d8ad;font:15px 'PT Sans',Arial,sans-serif}
 .sidebar-login{gap:10px}.sidebar-login label{font-size:15px}.sidebar-login input{min-height:46px;font-size:16px;padding:10px}.sidebar-login-actions .button{min-height:44px;font-size:15px;padding:10px 18px}.classic-panel>a{display:inline-flex;align-items:center;min-height:44px;font-size:14px!important}.account-welcome p{font-size:14px}
 input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px!important;min-width:0;max-width:100%;min-height:44px}button,.button{touch-action:manipulation}input[type=checkbox],input[type=radio]{width:20px;height:20px;flex-shrink:0}label{line-height:1.5}
 .portal-form{width:100%;max-width:100%}.editorial-form{gap:12px}.editorial-form button{min-height:44px}.editorial-check{min-height:44px}.staff-list>div{flex-wrap:wrap;gap:4px 14px}
 body:has(.store-wrap){background-image:url('/brand/shop-login-background-mobile.webp');background-size:1000px auto;background-position:center calc(60px + env(safe-area-inset-top))}
 .store-wrap,.shop-authenticated .store-wrap{width:100%;max-width:100%;padding:165px 12px 28px!important}
 .shop-authenticated .store-wrap{padding-top:20px!important}.store-shell{display:block;min-width:0}.store-main{min-width:0}
 .access-card{padding:23px 18px;max-width:460px;width:100%;margin:0 auto 20px}.access-card h1{font-size:25px;line-height:1.3}.access-card input{width:100%;min-height:48px;font-size:16px}.access-card label{font-size:14px}.access-card .primary{min-height:48px;font-size:14px}.access-card .access-eyebrow{font-size:10px}
 .access-links{gap:18px;flex-wrap:wrap;margin-top:14px}.access-links a,.register-link a{display:inline-flex;min-height:44px;align-items:center;font-size:14px}
 .turnstile-zone{width:100%;min-width:0}#registration-widget,#turnstile-widget{width:100%;min-width:0}
 .rules-check{padding:8px 0;min-height:44px}.access-card .rules-check input{width:20px;height:20px;margin-top:3px}.field-help{width:24px;height:24px;font-size:14px}
 .store-catalog{padding:18px 12px;min-width:0}.store-catalog .page-head{margin-bottom:12px}.store-catalog .page-head h2{font-size:23px}.store-catalog .page-head>a{font-size:12px;min-height:44px;display:flex;align-items:center}.store-catalog .shop-notice{font-size:13px;padding:10px 12px;margin-bottom:18px}
 .store-catalog .shop-layout{display:block}.store-catalog .shop-navigation{display:none}.store-catalog .shop-selects{display:flex!important;flex-direction:column;gap:8px}.store-catalog .shop-selects select{width:100%!important;min-height:46px}.store-catalog #class-filter{display:none}
 .store-catalog .shop-class-tabs{gap:6px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.store-catalog .shop-class-tabs button{min-height:44px;padding:8px 5px;font-size:12px}
 .store-catalog .shop-items{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 8px}.store-catalog .shop-item h3{font-size:12px;line-height:1.4;overflow-wrap:anywhere;min-height:34px}.store-catalog .shop-configurable{font-size:10px}.store-catalog .shop-details{min-height:40px;font-size:12px;padding:8px 10px;width:100%}
 .store-catalog .shop-image{width:48px;height:48px}.store-catalog .pagination{gap:8px;flex-wrap:wrap;font-size:13px}.store-catalog .pagination button{min-height:44px;padding:8px 10px}.store-catalog .shop-source{font-size:12px}.store-footer{font-size:12px;line-height:1.6}
 #item-dialog{box-sizing:border-box;width:calc(100% - 20px);max-width:560px;max-height:calc(100dvh - 24px);padding:16px;margin:auto;overscroll-behavior:contain}#item-dialog .close-dialog{position:sticky;top:0;float:right;width:44px;height:44px;border:1px solid #b3a08b;background:#fff;border-radius:5px;z-index:2}#item-dialog .shop-detail-heading h2{font-size:20px;overflow-wrap:anywhere;margin:8px 0}#item-dialog .shop-detail-top{grid-template-columns:1fr;gap:12px}#item-dialog .shop-detail-image{width:76px;min-height:96px;justify-self:center}#item-dialog .shop-options{table-layout:fixed;font-size:13px}#item-dialog .shop-options td{overflow-wrap:anywhere}#item-dialog .shop-options th,#item-dialog .shop-options td{padding:8px}#item-dialog .shop-options select{width:100%;min-height:44px}#item-dialog .shop-excellent label{display:flex;align-items:center;gap:10px;min-height:48px;font-size:14px;padding:10px;line-height:1.5}#item-dialog .shop-buy-row{flex-wrap:wrap}#item-dialog .shop-buy-row button,#item-dialog .wishlist-btn{width:100%;min-height:48px;padding:12px;font-size:13px;white-space:normal}#item-dialog .shop-source{font-size:12px}
 .toast{max-width:calc(100% - 28px);width:max-content;bottom:max(18px,env(safe-area-inset-bottom));font-size:14px;overflow-wrap:anywhere}
}
@media(max-width:359px){.mobile-bar{gap:6px}.mobile-bar button{padding:8px}.mobile-brand{font-size:17px}.store-catalog .shop-items{grid-template-columns:repeat(2,minmax(0,1fr))}#content{padding:18px 12px 0!important}.access-card{padding:20px 14px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation:none!important;transition:none!important}}
