/* v29 responsive refinement shared by home, account, register, and legal pages */
html,body {max-width:100%;overflow-x:clip}
.mini-footer a {display:inline-flex;align-items:center;min-height:32px;padding:3px 2px}
/* Reward guide is the first card in the free tab on desktop and mobile. */
.cabinet #free-panel > #pwa-install-guide {margin-bottom:16px;border:1px solid #e6dfd4;background:linear-gradient(145deg,#fffdf9,#f6f0e7);border-radius:20px}
.cabinet #free-panel > #pwa-install-guide > summary {font-size:15px!important;font-weight:700;color:#635242!important;line-height:1.45;cursor:pointer;list-style-position:inside}
.cabinet #free-panel > #pwa-install-guide[open] > summary {margin-bottom:16px!important}
.cabinet #free-panel > #pwa-install-guide .platform-guide-grid {min-width:0}
.cabinet #free-panel > #pwa-install-guide .platform-guide {min-width:0}
@media(max-width:640px){
 .home-page .shell,.home-page .brandbar.shell{width:calc(100% - 28px)}
 .home-page .mobile-cat-top{margin-inline:12px;border-radius:0 0 20px 20px}
 .home-page .hero-card{padding:21px 18px}
 .home-page .hero .actions{align-items:stretch;gap:10px}
 .home-page .hero .actions .button{min-height:48px}
 .home-page .section-head{flex-wrap:wrap;gap:8px}
 .home-page .faq-item summary{overflow-wrap:anywhere}
 .home-page .mini-footer,.auth-page .mini-footer,.cabinet .mini-footer {max-width:100%;padding:16px 14px max(28px,env(safe-area-inset-bottom));line-height:1.7}
 .mini-footer>div{gap:2px 9px;justify-content:center;flex-wrap:wrap}
 .mini-footer a {font-size:12px!important;padding:5px 2px;min-height:40px}
 .cabinet .desktop-layout{max-width:100%;min-width:0}
 .cabinet #free-panel,.cabinet #free-panel .step-card,.cabinet #free-panel .reward-card{min-width:0;max-width:100%}
 .cabinet #free-panel > #pwa-install-guide {padding:17px 15px;margin-bottom:14px}
 .cabinet #free-panel .platform-guide-grid,.cabinet #free-panel .reward-grid{grid-template-columns:minmax(0,1fr);gap:12px}
 .cabinet #free-panel .platform-guide{padding:16px 14px}
 .cabinet #free-panel .platform-guide ol{padding-left:23px}
 .cabinet #free-panel .reward-card{padding:17px 14px}
 .cabinet #free-panel .reward-card .primary-button{width:100%;max-width:100%;white-space:normal;min-height:48px}
 .cabinet #free-panel .ref-container{min-width:0;overflow-wrap:anywhere}
 .cabinet #free-panel #ref-link{min-width:0;overflow-wrap:anywhere;word-break:break-word}
 .cabinet #free-panel .copy-btn{min-height:44px}
 .cabinet .bottom-nav{max-width:calc(100% - 18px);bottom:max(9px,env(safe-area-inset-bottom))}
 .cabinet .bottom-nav .page-tab{min-width:0}
 .cabinet .bottom-nav .page-tab span{white-space:nowrap;font-size:11px}
 .auth-wrap{width:calc(100% - 28px)}
 .auth-card{padding:20px 17px;border-radius:20px}
 .auth-heading{gap:9px}.auth-heading img{width:62px;height:62px}
 .info-page .info-container{width:calc(100% - 28px)}
 .info-page .info-footer{flex-direction:column;align-items:center;text-align:center;gap:8px}
 .info-page .info-footer .info-footer-links{justify-content:center}
}
@media(max-width:365px){
 .home-page .shell,.home-page .brandbar.shell{width:calc(100% - 24px)}
 .cabinet #free-panel > #pwa-install-guide{padding:14px 12px}
 .cabinet .bottom-nav .page-tab span{font-size:10px}
}
