.account-access{margin:1.2rem auto .6rem;max-width:32rem;padding:1rem;border-top:1px solid #b59a66;text-align:center}.account-access p{margin:.4rem 0 .7rem}.google-login{display:inline-flex;align-items:center;justify-content:center;gap:.65rem;padding:.7rem 1rem;border:1px solid #846740;border-radius:5px;background:#fffbf0;color:#234a4d;font:600 16px system-ui;cursor:pointer}.google-login:hover{background:#f2e5c9}.account-access form{margin:0}.account-access small{display:block;margin-top:.6rem;font:13px/1.4 system-ui;color:#6d6046}.account-status{position:fixed;left:50%;bottom:12px;transform:translateX(-50%);max-width:min(90vw,700px);z-index:30;padding:.8rem 1rem;background:#fff6df;color:#234a4d;border:1px solid #a5854c;border-radius:6px;font:15px/1.4 system-ui}.account-status:empty{display:none}.account-info{font:14px/1.5 system-ui;margin:1rem 0;overflow-wrap:anywhere}.account-info button{margin-left:.6rem}.results-stamps .account-access{font-size:1rem;padding:.7rem}.account-history{margin:1rem 0;color:#35595a}

.account-status{opacity:1;transition:opacity .45s ease}.account-status.is-fading{opacity:0;pointer-events:none}
@media(prefers-reduced-motion:reduce){.account-status{transition:none}}

.daily-dialog{width:min(620px,90vw);max-height:85vh;overflow:auto;padding:2rem;border:1px solid #a5854c;color:#234a4d}.daily-dialog h2{font-size:2.5rem;margin:0 0 1rem}.daily-edition{display:block;width:100%;text-align:left;border:1px solid #b59a66;background:#fff6df;color:#234a4d;border-radius:4px;padding:1rem;margin:.6rem 0;font:500 19px 'Cormorant Garamond',serif;cursor:pointer}.daily-edition:hover{background:#ead9b3}#timezone-form{display:grid;gap:.7rem;margin-top:1.5rem}#timezone-form[hidden]{display:none}#account-timezone{padding:.7rem;background:#fff6df;border:1px solid #a5854c;font:16px system-ui;color:#234a4d}#timezone-status{font:14px/1.5 system-ui}#open-daily{white-space:nowrap}

.delete-dialog p{font:15px/1.6 system-ui}.delete-dialog form{display:grid;gap:1rem;margin:1.2rem 0}.delete-dialog [hidden]{display:none!important}#delete-word{padding:.7rem;font:18px system-ui;background:#fff9e9;border:1px solid #a5854c;color:#234a4d}.danger-action{background:#874937!important;color:#fff7e7!important}.account-info{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.account-info button{margin:0}.delete-dialog .close{float:right}


/* Private rehearsal identity stays visible when the welcome card is closed. */
#rehearsal-account{display:block;max-width:100%;font:12px/1.4 system-ui,sans-serif;letter-spacing:0;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:4px}
#rehearsal-account[hidden]{display:none}
.heading:has(#rehearsal-account:not([hidden])){min-width:0}
.heading:has(#rehearsal-account:not([hidden]))>p{display:none}

/* Keep the single page grid track within the viewport. A signed-in account
   label must not supply the intrinsic width of the map and every overlay. */
body{grid-template-columns:minmax(0,1fr)}
body>.masthead,body>.map-stage,body>.timeline{min-width:0;max-width:100%}
.masthead .heading{min-width:0}
@media(max-width:700px){
 .masthead{gap:10px}
 .masthead .heading{flex:1 1 0;width:0}
 #rehearsal-account{width:100%;min-width:0}
 .masthead>.info-button,.masthead>.header-result{flex-shrink:0}
}

#feedback-form{display:grid;gap:.65rem}#feedback-form input,#feedback-form textarea{box-sizing:border-box;width:100%;padding:.7rem;background:#fff6df;border:1px solid #a5854c;color:#234a4d;font:16px/1.4 system-ui}#feedback-form textarea{min-height:160px;resize:vertical}#feedback-status{font:14px/1.5 system-ui}.signature-account-dialog{max-height:85vh;overflow:auto}#account-timezone-section{margin-top:1rem}
