/* Account feedback: one readable notice above the viewport's bottom safe area. */
.cs-account-notices{position:fixed;inset:auto 0 calc(14px + env(safe-area-inset-bottom,0px) + var(--account-keyboard-inset,0px));z-index:2147483000;width:min(540px,calc(100% - 24px));margin:0 auto;pointer-events:none;direction:rtl;font-family:Heebo,Arial,sans-serif}
.cs-account-notice{box-sizing:border-box;display:grid;grid-template-columns:42px minmax(0,1fr) 44px;align-items:start;gap:12px;width:100%;padding:17px 16px;border:1px solid #ffffffed;border-right:5px solid var(--notice-color,#b42336);border-radius:22px;background:linear-gradient(140deg,#fffffff7,#f4f7fffa);color:#18263c;box-shadow:0 16px 54px #18304b38,inset 0 1px 0 #fff;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);pointer-events:auto;animation:account-notice-in .22s ease-out}
.cs-account-notice[data-tone=error]{--notice-color:#b42336;--notice-tint:#fce7eb}.cs-account-notice[data-tone=warning]{--notice-color:#915b06;--notice-tint:#fff0cf}.cs-account-notice[data-tone=success]{--notice-color:#147a53;--notice-tint:#dff6eb}
.cs-account-notice-symbol{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:var(--notice-tint);color:var(--notice-color);font-size:24px;font-weight:900}
.cs-account-notice-heading{margin:0 0 5px;font-size:16px;font-weight:900;line-height:1.5;text-align:right;color:var(--notice-color)}
.cs-account-notice-text{margin:0;font-size:15px;font-weight:600;line-height:1.65;text-align:right;overflow-wrap:anywhere;white-space:pre-line;max-height:40dvh;overflow:auto;color:#26364f}
.cs-account-notice-close{appearance:none;display:grid;place-items:center;width:44px;min-width:44px;max-width:44px;height:44px;min-height:44px;margin:0;padding:0;border:1px solid #dce4ef;border-radius:14px;background:#eaf0f8;color:#40516c;cursor:pointer;font:26px/1 Arial,sans-serif;box-shadow:none}
.cs-account-notice-close:hover{background:#dfe8f5}.cs-account-notice-close:focus-visible{outline:3px solid #2563eb;outline-offset:3px}
@keyframes account-notice-in{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:none}}
/* Same dimensions, colors and slide-up motion as the home privacy drawer. */
.account-terms-drawer{position:fixed;inset:auto 0 0;margin:0 auto;width:min(100%,760px);max-width:100%;height:82dvh;max-height:calc(100dvh - 36px);padding:0 0 env(safe-area-inset-bottom);border:1px solid #ffffffb8;border-bottom:0;border-radius:28px 28px 0 0;background:#f1f4f9e8;backdrop-filter:blur(26px);box-shadow:0 -12px 50px #56387825;overflow:hidden;color:#3d3152;box-sizing:border-box;font-family:Heebo,Arial,sans-serif}
.account-terms-drawer[open]{display:flex;flex-direction:column;animation:account-terms-up .32s cubic-bezier(.2,.75,.25,1)}
.account-terms-drawer::backdrop{background:#40365740;backdrop-filter:blur(5px)}
.account-terms-header{position:relative;flex:none;min-height:68px;display:flex;align-items:center;justify-content:center;padding:10px 60px 0;touch-action:none}
.account-terms-header h2{font-size:17px;margin:0;font-weight:700;color:inherit}
.account-terms-grip{position:absolute;top:9px;width:42px;height:4px;border-radius:8px;background:#9a89b459}
.account-terms-header button{position:absolute;left:12px;bottom:10px;width:44px;min-width:44px;height:44px;margin:0;padding:0;border:0;border-radius:50%;background:#ffffffb8;color:#655080;font-size:26px;cursor:pointer;box-shadow:none}
.account-terms-header button:focus-visible{outline:3px solid #7951c3;outline-offset:2px}
.account-terms-drawer iframe{display:block;width:100%;min-height:0;flex:1;border:0;background:#f8fbff}
@keyframes account-terms-up{from{transform:translateY(100%)}to{transform:translateY(0)}}
@media(max-width:380px){.cs-account-notice{grid-template-columns:32px minmax(0,1fr) 44px;gap:8px;padding:14px 10px}.cs-account-notice-symbol{width:32px;height:32px;font-size:20px}.cs-account-notice-heading{font-size:15px}.cs-account-notice-text{font-size:14px}}
@media(prefers-reduced-motion:reduce){.cs-account-notice,.account-terms-drawer[open]{animation:none}}
