/* account layout components. */
.replay-preferences h1{color:#fff}.replay-preferences .replay-choice{text-transform:none;letter-spacing:normal;font-family:Arial,sans-serif}
.replay-preferences .replay-choice small{font-size:.9rem;line-height:1.6;font-weight:400;color:#bdd4e5}
.replay-preferences .alert-success{border-left:4px solid #24d1a0;background:#09362f;color:#beffec}
.login-explore{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin:20px 0}.login-explore a{flex:1 1 160px;display:flex;align-items:center;justify-content:center;box-sizing:border-box;text-align:center;height:56px;min-height:0;padding:8px 12px;border:1px solid #31516b;border-top:3px solid #2cbde5;border-radius:10px;text-decoration:none;background:linear-gradient(135deg,#123c59,#091a31);transition:transform .15s,border-color .15s}.login-explore a:nth-child(2){border-top-color:#ffd23c}.login-explore a:nth-child(3){border-top-color:#ae89ff}.login-explore strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:#fff;font-size:.85rem;line-height:1.3}.login-explore a:hover,.login-explore a:focus-visible{transform:translateY(-2px);border-color:#ffd23c;outline-offset:3px}@media(prefers-reduced-motion:reduce){.login-explore a{transition:none}.login-explore a:hover,.login-explore a:focus-visible{transform:none}}
.signup-page .replay-signup label{font-family:Arial,sans-serif;letter-spacing:normal;text-transform:none;font-size:.95rem;line-height:1.6}

.account-preferences .navigation-choice{display:grid;grid-template-columns:22px minmax(0,1fr);align-items:start;gap:14px;padding:18px;margin:0 0 16px;text-align:left;cursor:pointer}
.account-preferences .navigation-choice input[type="checkbox"]{appearance:auto;display:block;width:20px;height:20px;min-width:20px;max-width:20px;flex:none;padding:0;margin:2px 0 0;box-shadow:none;accent-color:#17c9ad;cursor:pointer}
.account-preferences .navigation-choice span{min-width:0}
.account-preferences .navigation-choice strong{display:block;line-height:1.5}
.account-preferences .navigation-choice small{display:block;margin-top:5px;line-height:1.6}
.account-preferences .navigation-choice:has(input:checked){border-color:#28ad9d;background:#0b2b35}
.account-preferences .navigation-choice:focus-within{outline:2px solid #ffda24;outline-offset:3px}
.account-preferences [data-recent-pages-preference] [role="status"]:empty{display:none}
[data-theme="light"] .account-preferences .navigation-choice:has(input:checked){background:#e6f6f1;border-color:#178773}
[data-theme="light"] .account-preferences .navigation-choice input[type="checkbox"]{accent-color:#087963}
@media(max-width:600px){.account-preferences .navigation-choice{padding:14px;gap:12px}}

.account-preferences .landing-preferences-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px;margin:22px 0}
.account-preferences .landing-preferences-grid .form-group{min-width:0;margin:0}
.account-preferences .landing-preferences-grid label{display:block;margin-bottom:8px}
.account-preferences .landing-preferences-grid select{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
@media(max-width:600px){.account-preferences .landing-preferences-grid{grid-template-columns:minmax(0,1fr)}}

/* Separate preference controls from their save actions. */
.preference-panel .preference-actions { margin-top: 20px; }
