/* All layout overrides are restricted to phone-sized viewports. */
.mobile-copy,.mobile-download-note{display:none}
@media(max-width:760px){
 body{--mobile-gap:12px;--mobile-inset:16px;--mobile-radius:12px;--mobile-hit:44px}
 .desktop-copy{display:none!important}.mobile-copy{display:block}
 .shell{padding-left:var(--mobile-inset);padding-right:var(--mobile-inset)}
 header{min-height:68px}.hero{padding-top:22px}.hero .eyebrow{font-size:10px;letter-spacing:.8px;margin-bottom:12px}
 .hero h1{font-size:clamp(25px,6.7vw,32px);letter-spacing:-1px;line-height:1.12;margin-bottom:16px}
 .hero .lead{font-size:13px;line-height:1.55;max-width:340px;margin:0 auto 12px}.hero .lead br{display:none}
 .hero-visual{width:calc(100% + var(--mobile-inset) + var(--mobile-inset));margin:8px calc(0px - var(--mobile-inset)) 12px}.hero-actions{gap:8px}.hero-actions .button{min-height:44px;font-size:13px;padding:10px 20px}.hero .scene-trial{font-size:11px;margin-top:12px}
 a.desktop-download{display:none!important}.mobile-download-note{display:inline-flex;white-space:normal;text-align:center;line-height:1.4;font-size:13px;min-height:44px;padding:10px 14px;cursor:default}
 .downloads .mobile-download-note{width:100%}
 .feature-map-heading{margin-bottom:20px}.feature-map-heading h2{font-size:21px}.feature-map-heading .eyebrow{font-size:10px}
 .feature-map{--feature-hub-size:64px;--feature-wire-gap:56px}.feature-hub{border-radius:18px;background:linear-gradient(#af4fff 0 8px,#09090d 8px)}.feature-hub-label{font-size:10px!important}
 .feature-tip{fill:none;stroke:#cc80ff;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
 .feature-map .feature-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:0}
 .feature-map .feature-card{padding:12px 5px;min-height:138px;border-radius:12px;text-align:center}
 .feature-map .feature-card-icon{width:28px;height:28px;margin:0 auto 10px;border-radius:8px}.feature-card-icon svg{width:16px;height:16px}
 .feature-map .feature-card h3{font-size:10px;line-height:1.3;letter-spacing:-.2px;margin-bottom:7px;overflow-wrap:anywhere}
 .feature-map .feature-card p{font-size:10px;line-height:1.4;margin:0}.feature-map .feature-card p+p{margin-top:0}
 .feature-map .feature-card .desktop-copy{display:none!important}
 /* Account registration: short introduction, two fields, and the switch below submit. */
 html[data-accounts] body>.shell{padding:10px var(--mobile-inset)}
 .topbar{min-height:44px}.topbar .brand{font-size:17px;gap:8px}.topbar .brand-mark{width:24px;height:24px}
 body[data-account-view="account"] .view{padding:10px 0 0}body[data-account-view="account"] .back{margin-bottom:8px;font-size:13px}
 #view-account .account-grid{gap:8px}#account-eyebrow{display:none}#account-title{font-size:26px;line-height:1.15;margin-bottom:8px}
 #account-description{font-size:13px;line-height:1.45;margin-bottom:4px}#view-account .selection{display:none}
 #account-form{padding-top:4px}#account-form .field{margin-bottom:14px}#account-form .field>label{font-size:13px;margin-bottom:4px}
 #account-form input{min-height:44px;padding:10px 12px;font-size:16px}#account-form .password-field input{padding-right:56px}
 #account-form .password-field button{right:0;top:0;min-width:44px;min-height:44px;padding:10px}#username-help{display:none}
 #password-help,#recovery-input-row .caption{font-size:10px;margin:4px 0;line-height:1.4}
 #account-form .button{margin-top:8px;min-height:44px;font-size:14px}#account-switch{width:100%;min-height:44px;margin-top:16px;padding:10px 8px;font-size:13px}
 #connection-note{font-size:10px;line-height:1.4;margin:10px 0 0}#forgot-password{font-size:12px;margin-top:16px}
 body[data-account-view="account"] footer,body.tp-authenticated footer{display:none}
 /* Cabinet keeps the normal access, devices, key and payment actions visible. */
 .tp-cabinet{padding:8px 0 0;font-size:12px;line-height:1.4}.tp-profile{gap:3px;margin-bottom:8px}.tp-avatar{width:28px;height:28px;font-size:16px;border-radius:9px}
 .tp-profile .tp-eyebrow{display:none}.tp-cabinet h1{font-size:22px;line-height:1.15}.tp-profile .tp-muted{margin-top:3px;font-size:11px}
 .tp-password{padding:0;margin-bottom:8px}.tp-password summary{min-height:44px;gap:8px;font-size:12px}.tp-password-mask{display:none}
 .tp-credentials{margin-top:8px;margin-bottom:12px}
 .tp-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tp-card{padding:10px;border-radius:12px}.tp-cabinet h2{font-size:12px;line-height:1.3}.tp-card-head{gap:4px}
 .tp-badge{font-size:9px;padding:3px 6px}.tp-cabinet .tp-value{font-size:17px;letter-spacing:-.4px;line-height:1.2;margin-top:6px}
 .tp-stats .tp-muted{display:none}.tp-devices{margin-top:4px}#device-list li{font-size:10px;gap:4px;padding:0;min-height:44px;border:0}#device-list li span{line-height:1.2}
 .device-revoke{min-height:44px;padding:5px 6px;border-radius:8px;font-size:10px}
 .tp-key,.tp-payment{margin-top:var(--mobile-gap)}.tp-key>p:first-of-type{display:none}.tp-key-line{gap:8px;margin-top:8px}.tp-key-line code{font-size:14px;line-height:1.3;flex-basis:100%;margin:0;letter-spacing:.3px}
 .tp-button{min-height:44px;font-size:11px;padding:8px 10px;border-radius:8px}.tp-key-line .tp-button{padding:8px 10px}
 .tp-payment .tp-card-head{flex-wrap:nowrap}.tp-price{font-size:17px;white-space:nowrap}.tp-price small{font-size:10px}.tp-payment>.tp-muted{font-size:10px;margin-top:5px;line-height:1.35}
 .tp-actions{gap:10px;margin-top:10px}.tp-payment .tp-actions .tp-button{width:auto;flex:1}.tp-cabinet #payment-status{font-size:10px;margin-top:8px;line-height:1.35}
 .tp-exit{flex-direction:row;flex-wrap:wrap;gap:8px;margin-top:var(--mobile-gap);padding-top:8px}.tp-exit>a:first-child{font-size:10px;min-height:32px}
 .tp-exit .mobile-download-note{flex-basis:100%;order:3;padding:4px;min-height:24px;font-size:10px;background:transparent;border:0;color:var(--tp-muted)}
 .tp-exit #logout{width:auto;margin:0;min-height:44px;padding:6px 10px}.tp-cabinet .tp-error{font-size:11px;margin-top:6px}
 .tp-password[open]{padding-bottom:10px}.tp-password[open]>.tp-muted{font-size:11px;margin-top:6px}.tp-password-grid{gap:8px;margin-top:8px}.tp-password-grid label{font-size:11px}
 .tp-input-wrap{margin-top:4px}.tp-input-wrap input{min-height:44px;font-size:16px;padding:8px}.tp-input-wrap button{min-height:44px;min-width:44px;padding:10px}
 body[data-account-view="recovery"] .view{padding:16px 0}#recovery-title{font-size:25px}#view-recovery .lead{font-size:13px}#view-recovery .result-selection{margin:16px 0}
}
@media(max-width:760px) and (max-height:720px){
 html[data-accounts] body>.shell{padding-top:4px;padding-bottom:4px}
 .tp-cabinet{padding-top:2px}.tp-profile{margin-bottom:6px}.tp-avatar{display:none}
 .tp-card{padding:8px}.tp-password{margin-bottom:6px}
 .tp-key,.tp-payment,.tp-exit{margin-top:10px}.tp-key-line{gap:8px;margin-top:6px}
 .tp-actions{margin-top:8px}
 .tp-exit{margin-top:10px;padding-top:8px}.tp-exit .mobile-download-note{padding:0;min-height:14px}
}

