/* Account pages: fluid layout for every phone size (nothing tied to one screen) */
html,body{min-height:100vh;min-height:100dvh}
body{display:flex;flex-direction:column}
main{flex:1 0 auto;display:flex;flex-direction:column;width:100%;max-width:560px;margin:0 auto;padding:clamp(18px,5vw,32px) clamp(18px,6vw,36px) calc(clamp(24px,6vw,40px) + env(safe-area-inset-bottom))}
main>*{flex-shrink:0}
.account-logo{width:clamp(110px,34vw,190px);height:auto;aspect-ratio:1;margin:clamp(6px,2vh,18px) auto clamp(18px,4vh,32px)}
main h1{font-size:clamp(26px,8vw,38px);line-height:1.15;margin:0 0 clamp(10px,2vh,16px)}
main h2{font-size:clamp(20px,5.6vw,26px);margin:0 0 10px}
main p{margin:0 0 clamp(12px,2.4vh,20px)}
main section#mine{margin-bottom:clamp(18px,4vh,32px)}
main button{width:100%;min-height:52px;padding:14px 16px;margin-top:0;font-size:clamp(16px,4.4vw,18px);border-radius:14px}
#signout{margin-bottom:clamp(26px,6vh,44px)}
main h2{margin-top:clamp(8px,2vh,16px);padding-top:clamp(20px,4vh,30px);border-top:1px solid #365579}
#delete{margin-bottom:clamp(14px,3vh,22px)}
main>p.fine:last-child{margin-top:auto;padding-top:clamp(20px,4vh,36px);text-align:center}
.account-success{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;flex:1;padding:clamp(10px,3vh,30px) 0 clamp(20px,5vh,50px)}
.account-success .celebration{font-size:clamp(52px,17vw,84px);line-height:1;margin:0 0 clamp(14px,3vh,26px)}
.account-success h1{font-size:clamp(32px,10vw,46px);margin:0 0 10px}
.account-success .ok-sub{font-size:clamp(16px,4.6vw,20px);color:#b9c9de;line-height:1.45;margin:0 0 clamp(26px,6vh,44px);max-width:22em}
.ok-actions{display:flex;flex-direction:column;gap:14px;width:100%;max-width:360px}
.account-success .ok-btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:54px;margin:0;padding:14px 20px;box-sizing:border-box;background:#102e53;border:1px solid #365579;border-radius:14px;font-size:clamp(16px,4.4vw,18px);font-weight:650;text-decoration:none;color:#9dc7ff}
form button{min-height:52px}
@media (min-width:700px){main{max-width:600px}}
/* Back arrow: thin rounded light chevron (matches the app), not red */
.back-btn .menu-bars{display:inline-block;position:relative;width:12px;height:12px;font-size:0;line-height:0;color:transparent;margin-right:6px;flex:none}
.back-btn .menu-bars::before{content:"";position:absolute;left:3px;top:0;width:10px;height:10px;box-sizing:border-box;border-left:2px solid #e6eefb;border-bottom:2px solid #e6eefb;border-radius:2px 0 2px 2px;transform:translate(0,0) rotate(45deg);transform-origin:center}
.back-btn .menu-bars::after{content:none}
.back-btn{display:inline-flex;align-items:center}.back-btn .menu-bars{top:0}

/* Manage account: details */
.settings.hidden{display:none}.settings h2{border-top:0;padding-top:0;margin-top:clamp(6px,2vh,14px)}
.settings form{margin:0 0 clamp(16px,3vh,24px)}.settings form.hidden{display:none}
.settings label{margin:0 0 8px}.settings input{min-height:50px}.settings form button{margin-top:12px}
.settings .hint{margin:8px 0 0}
.switch-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;margin-bottom:clamp(14px,3vh,22px);border-top:1px solid #365579;border-bottom:1px solid #365579}
.switch-row p{margin:4px 0 0}.switch-row strong{font-size:clamp(16px,4.4vw,18px)}
.switch{position:relative;flex:none;width:56px;height:32px;margin:0;display:inline-block}
.switch input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer;z-index:1;padding:0;min-height:0}
.switch .slider{position:absolute;inset:0;background:#365579;border-radius:32px;transition:background .2s}
.switch .slider:before{content:"";position:absolute;left:4px;top:4px;width:24px;height:24px;border-radius:50%;background:#fff;transition:transform .2s}
.switch input:checked+.slider{background:#cf293d}.switch input:checked+.slider:before{transform:translateX(24px)}
#comments-h.hidden{display:none}
.c-actions{display:flex;gap:10px;margin-top:10px}.c-actions button{margin-top:0;padding:12px;font-size:14px}
.switch-link{text-align:center;margin-top:18px}
#login button{margin-top:22px}
.info-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid #365579}.info-row .lbl{display:block;color:#a0b3cb;font-size:13px;margin-bottom:4px}.info-row strong{font-size:17px;overflow-wrap:anywhere}.info-row .dots{letter-spacing:2px}main .info-row button.small{width:auto;flex-shrink:0;margin-top:0;padding:10px 14px;font-size:14px}
html,body{background:#061936}
main .info-row button.small{white-space:normal;max-width:48%;line-height:1.25}.info-row>div{min-width:0}
