
/* Source Blogger style block: line 26243, id=rd-profile-redevelopment-v1-styles */

/* Scope: Profile landing, Login and Register screens only. No shared module styling is redefined. */
html.rd-profile-redesign-entry, html.rd-profile-redesign-entry body { background:#fffaf4 !important; }
html.rd-profile-redesign-entry body { min-height:100vh; min-height:100svh; padding-bottom:0 !important; overflow-x:hidden; }
html.rd-profile-redesign-entry .rd-header, html.rd-profile-redesign-entry .rd-mobile-search, html.rd-profile-redesign-entry .rd-mobile-bottom-nav, html.rd-profile-redesign-entry .rd-footer, html.rd-profile-redesign-entry #footer, html.rd-profile-redesign-entry #page_body, html.rd-profile-redesign-entry .page { display:none !important; }
html.rd-profile-redesign-entry .rd-profile-shell {
  display:block !important; position:relative; isolation:isolate; overflow:hidden;
  width:100%; min-height:100vh; min-height:100svh; margin:0; padding:0 !important;
  box-sizing:border-box; background:#fffaf4 !important; color:#151515;
}
html.rd-profile-redesign-entry .rd-profile-shell::before {
  content:""; position:absolute; z-index:0; top:0; left:0; width:min(39vw,250px); height:105px;
  pointer-events:none; background:linear-gradient(135deg,#f11121 0 39%,#b90712 39% 48%,#f2c34b 49% 59%,rgba(255,248,235,.88) 60% 100%);
  clip-path:polygon(0 0,100% 0,0 100%); opacity:.98;
}
html.rd-profile-redesign-login .rd-profile-shell::before, html.rd-profile-redesign-register .rd-profile-shell::before { left:auto; right:0; transform:scaleX(-1); }
html.rd-profile-redesign-entry .rd-profile-shell::after {
  content:""; position:absolute; z-index:0; left:0; right:0; bottom:0; height:105px; pointer-events:none;
  background:linear-gradient(177deg,transparent 0 24%,#f9e7bd 24% 43%,#e5ad2c 44% 47%,#fff8ef 48% 55%,#f31323 56% 73%,#b90013 74% 100%);
  clip-path:polygon(0 39%,15% 58%,37% 70%,58% 72%,80% 61%,100% 38%,100% 100%,0 100%);
}
html.rd-profile-redesign-entry .rd-profile-container {
  position:relative; z-index:1; display:flex; flex-direction:column; align-items:stretch; gap:0;
  width:min(100%,760px); min-width:0; min-height:100vh; min-height:100svh; margin:0 auto;
  padding:28px clamp(18px,4.6vw,34px) 38px; box-sizing:border-box;
}
html.rd-profile-redesign-entry .rd-profile-hero { flex:0 0 auto; padding:12px 0 12px !important; margin:0; text-align:center; }
html.rd-profile-redesign-entry .rd-profile-home-logo-link { display:flex; align-items:center; justify-content:center; width:100%; margin:0 auto 9px; text-decoration:none !important; }
html.rd-profile-redesign-entry .rd-profile-home-logo { display:block; width:min(78%,390px); height:auto; max-height:130px; object-fit:contain; object-position:center; }
html.rd-profile-redesign-entry .rd-profile-home-tagline { margin:4px auto 15px; max-width:480px; color:#111; font-size:clamp(.98rem,3.6vw,1.42rem); font-weight:500; line-height:1.35; letter-spacing:.005em; }
html.rd-profile-redesign-entry .rd-profile-home-welcome { display:flex; align-items:center; justify-content:center; gap:clamp(6px,2.8vw,24px); min-width:0; margin:0 auto; }
html.rd-profile-redesign-entry .rd-profile-welcome-figure { display:block; flex:0 0 auto; width:clamp(54px,13vw,96px); height:auto; filter:drop-shadow(0 7px 5px rgba(183,135,16,.15)); }
html.rd-profile-redesign-entry .rd-profile-home-welcome-copy { min-width:0; text-align:center; }
html.rd-profile-redesign-entry .rd-profile-title { margin:0; color:#005238 !important; font-family:Georgia,'Times New Roman',serif; font-size:clamp(2.65rem,9.3vw,5.1rem) !important; font-weight:700; line-height:.98; letter-spacing:-.045em; }
html.rd-profile-redesign-entry .rd-profile-home-welcome-copy p { margin:12px 0 0; color:#c58f1e; font-size:clamp(.94rem,3.2vw,1.5rem); font-weight:500; line-height:1.25; }
html.rd-profile-redesign-entry:not(.rd-profile-redesign-login):not(.rd-profile-redesign-register) .rd-profile-entry-card { display:flex !important; flex-direction:column; align-items:stretch; gap:0; width:100%; margin:clamp(30px,7.5vh,112px) auto 0; padding:0 0 5px !important; border:0 !important; border-radius:0 !important; background:transparent !important; box-shadow:none !important; box-sizing:border-box; }
html.rd-profile-redesign-entry .rd-profile-division-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; justify-items:center; column-gap:clamp(10px,4.6vw,36px); row-gap:clamp(16px,3.5vw,27px); width:100%; max-width:620px; margin:0 auto; }
html.rd-profile-redesign-entry .rd-profile-division-card { display:flex; flex-direction:column; align-items:center; justify-content:flex-start; gap:5px; width:100%; min-width:0; padding:0 2px 3px; color:#151515 !important; text-align:center; text-decoration:none !important; border-radius:22px; box-sizing:border-box; -webkit-tap-highlight-color:transparent; transition:transform .24s cubic-bezier(.2,.8,.2,1),filter .24s ease; }
html.rd-profile-redesign-entry .rd-profile-division-image { display:block; width:100%; max-width:190px; aspect-ratio:1 / 1; object-fit:contain; border-radius:50%; filter:drop-shadow(0 7px 9px rgba(125,94,30,.10)); transition:transform .28s cubic-bezier(.2,.8,.2,1),filter .28s ease; }
html.rd-profile-redesign-entry .rd-profile-division-label { display:flex; align-items:center; justify-content:center; width:min(100%,195px); min-height:38px; padding:5px 10px; border:1px solid #e6bd4b; border-radius:999px; box-sizing:border-box; background:rgba(255,255,255,.91); color:#111; box-shadow:0 6px 13px rgba(184,138,35,.12); font-size:clamp(.85rem,2.85vw,1.15rem); font-weight:800; line-height:1.15; }
html.rd-profile-redesign-entry .rd-profile-entry-actions { display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:clamp(12px,3.7vw,24px); width:100%; max-width:640px; margin:clamp(26px,5.8vw,45px) auto 0; }
html.rd-profile-redesign-entry .rd-profile-entry-actions a { display:flex; align-items:center; justify-content:center; gap:12px; min-width:0; min-height:clamp(54px,9vw,76px); padding:10px clamp(10px,3vw,24px); border-radius:999px !important; box-sizing:border-box; font-size:clamp(1.05rem,4vw,1.65rem) !important; font-weight:800 !important; text-decoration:none !important; text-align:center; cursor:pointer; box-shadow:0 12px 22px rgba(178,16,26,.17); transition:transform .2s cubic-bezier(.2,.8,.2,1),background .2s ease,color .2s ease,border-color .2s ease,box-shadow .2s ease; -webkit-tap-highlight-color:transparent; }
html.rd-profile-redesign-entry .rd-profile-login-cta { border:1px solid #d10a1c !important; background:linear-gradient(180deg,#ff1e2e 0%,#e10017 58%,#b90014 100%) !important; color:#fff !important; box-shadow:0 10px 0 -5px #d8a12c,0 12px 22px rgba(202,0,22,.2) !important; }
html.rd-profile-redesign-entry .rd-profile-login-cta svg { display:block; width:clamp(22px,5vw,34px); height:clamp(22px,5vw,34px); flex:0 0 auto; fill:currentColor; }
html.rd-profile-redesign-entry .rd-profile-register-cta { border:1.5px solid #343434 !important; background:rgba(255,255,255,.88) !important; color:#111 !important; box-shadow:0 10px 0 -5px #d8a12c,0 12px 22px rgba(171,125,26,.13) !important; }
html.rd-profile-redesign-entry .rd-profile-home-legal { display:flex; align-items:center; justify-content:space-between; gap:20px; width:100%; margin:clamp(32px,7vw,54px) auto 0; padding:0 5px 13px; box-sizing:border-box; }
html.rd-profile-redesign-entry .rd-profile-home-legal a, html.rd-profile-redesign-entry .rd-auth-legal-footer a { color:#171717 !important; font-size:clamp(.92rem,2.8vw,1.1rem); text-decoration:none !important; transition:color .18s ease,transform .18s ease; }
html.rd-profile-redesign-entry .rd-profile-feature-list, html.rd-profile-redesign-entry .rd-profile-note, html.rd-profile-redesign-entry .rd-profile-auth-panel, html.rd-profile-redesign-entry .rd-profile-setup-shell, html.rd-profile-redesign-entry .rd-profile-complete-shell, html.rd-profile-redesign-entry .rd-profile-account-shell, html.rd-profile-redesign-entry .rd-profile-personal-shell, html.rd-profile-redesign-entry .rd-profile-login-shell, html.rd-profile-redesign-entry .rd-profile-security-shell, html.rd-profile-redesign-entry .rd-profile-saved-shell, html.rd-profile-redesign-entry .rd-profile-saved-detail-shell, html.rd-profile-redesign-entry .rd-profile-signout-shell { display:none !important; }
/* Preserve the existing account-navigation entry points for signed-in users. */
html.rd-profile-redesign-entry.rd-firebase-authenticated:not(.rd-profile-redesign-login):not(.rd-profile-redesign-register) .rd-profile-entry-actions { display:none !important; }
html.rd-profile-redesign-entry.rd-firebase-authenticated:not(.rd-profile-redesign-login):not(.rd-profile-redesign-register) .rd-profile-feature-list { display:grid !important; position:relative; z-index:1; width:100%; margin:24px auto 0; }
html.rd-profile-redesign-entry .rd-profile-container { animation:rd-profile-premium-enter .28s cubic-bezier(.2,.8,.2,1) both; }
html.rd-profile-redesign-entry .rd-profile-home-logo-link { animation:rd-profile-item-enter .22s cubic-bezier(.2,.8,.2,1) both; transition:transform .2s ease,filter .2s ease; }
html.rd-profile-redesign-entry .rd-profile-home-logo-link:active { transform:scale(.985); filter:brightness(.97); }
html.rd-profile-redesign-entry .rd-profile-home-tagline { animation:rd-profile-item-enter .22s .02s cubic-bezier(.2,.8,.2,1) both; }
html.rd-profile-redesign-entry .rd-profile-home-welcome { animation:rd-profile-item-enter .24s .03s cubic-bezier(.2,.8,.2,1) both; }
html.rd-profile-redesign-entry .rd-profile-division-card:nth-child(1) { animation:rd-profile-item-enter .22s .04s cubic-bezier(.2,.8,.2,1) both; }
html.rd-profile-redesign-entry .rd-profile-division-card:nth-child(2) { animation:rd-profile-item-enter .22s .06s cubic-bezier(.2,.8,.2,1) both; }
html.rd-profile-redesign-entry .rd-profile-division-card:nth-child(3) { animation:rd-profile-item-enter .22s .08s cubic-bezier(.2,.8,.2,1) both; }
html.rd-profile-redesign-entry .rd-profile-division-card:nth-child(4) { animation:rd-profile-item-enter .22s .10s cubic-bezier(.2,.8,.2,1) both; }
html.rd-profile-redesign-entry .rd-profile-entry-actions { animation:rd-profile-item-enter .23s .12s cubic-bezier(.2,.8,.2,1) both; }

/* Auth screen is the same branded canvas, with the existing email/Google auth flows underneath. */
html.rd-profile-redesign-login .rd-profile-entry-card, html.rd-profile-redesign-register .rd-profile-entry-card { display:none !important; }
html.rd-profile-route.rd-profile-redesign-login .rd-profile-shell, html.rd-profile-route.rd-profile-redesign-register .rd-profile-shell { padding:0 !important; }
html.rd-profile-route.rd-profile-redesign-login .rd-profile-container, html.rd-profile-route.rd-profile-redesign-register .rd-profile-container { width:min(100%,760px); min-height:100vh; min-height:100svh; padding:22px clamp(18px,5.2vw,42px) 34px; }
html.rd-profile-route.rd-profile-redesign-login .rd-profile-method-panel.is-visible, html.rd-profile-route.rd-profile-redesign-register .rd-profile-method-panel.is-visible { display:flex !important; flex-direction:column; width:100%; max-width:none; min-height:calc(100vh - 56px); min-height:calc(100svh - 56px); margin:0; padding:0; border:0; border-radius:0; box-sizing:border-box; background:transparent; box-shadow:none; animation:rd-profile-premium-enter .26s cubic-bezier(.2,.8,.2,1) both; }
html.rd-profile-route.rd-profile-redesign-login .rd-profile-auth-header, html.rd-profile-route.rd-profile-redesign-register .rd-profile-auth-header { display:flex; align-items:center; justify-content:flex-start; min-height:47px; margin:0 0 18px; }
html.rd-profile-route.rd-profile-redesign-login .rd-profile-method-back, html.rd-profile-route.rd-profile-redesign-register .rd-profile-method-back { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-width:138px; min-height:48px; padding:0 18px; border:1px solid #c99a3d; border-bottom:4px solid #c99a3d; border-radius:999px; background:#302c2b; color:#fff !important; text-decoration:none !important; font-size:.88rem; font-weight:850; letter-spacing:.16em; box-shadow:0 5px 14px rgba(160,105,15,.13); transition:transform .2s ease,background .2s ease; }
html.rd-profile-route.rd-profile-redesign-login .rd-profile-method-back svg, html.rd-profile-route.rd-profile-redesign-register .rd-profile-method-back svg { width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
html.rd-profile-route.rd-profile-redesign-login .rd-profile-auth-step, html.rd-profile-route.rd-profile-redesign-register .rd-profile-auth-step { display:none !important; }
html.rd-profile-route.rd-profile-redesign-login .rd-profile-auth-design-heading, html.rd-profile-route.rd-profile-redesign-register .rd-profile-auth-design-heading { display:none; margin:4px 0 24px; }
html.rd-profile-route.rd-profile-redesign-login .rd-auth-design-signin, html.rd-profile-route.rd-profile-redesign-register .rd-auth-design-signup { display:block; }
html.rd-profile-route.rd-profile-redesign-login .rd-profile-auth-design-heading h2, html.rd-profile-route.rd-profile-redesign-register .rd-profile-auth-design-heading h2 { margin:0; color:#005238; font-family:Georgia,'Times New Roman',serif; font-size:clamp(3.1rem,10.6vw,5.8rem); font-weight:700; line-height:.98; letter-spacing:-.035em; }
html.rd-profile-route.rd-profile-redesign-login .rd-profile-auth-design-heading p, html.rd-profile-route.rd-profile-redesign-register .rd-profile-auth-design-heading p { margin:9px 0 0; color:#111; font-size:clamp(1.25rem,4vw,1.85rem); font-weight:500; line-height:1.25; }
html.rd-profile-route.rd-profile-redesign-login .rd-auth-gold-underline, html.rd-profile-route.rd-profile-redesign-register .rd-auth-gold-underline { display:block; width:min(68%,330px); height:12px; margin:2px auto 0; border-top:5px solid #d9a32f; border-radius:50%; transform:rotate(-2deg); }
html.rd-profile-route.rd-profile-redesign-login .rd-profile-method-copy, html.rd-profile-route.rd-profile-redesign-register .rd-profile-method-copy, html.rd-profile-route.rd-profile-redesign-login .rd-profile-method-legal, html.rd-profile-route.rd-profile-redesign-register .rd-profile-method-legal { display:none !important; }
html.rd-profile-route.rd-profile-redesign-login .rd-profile-method-form, html.rd-profile-route.rd-profile-redesign-register .rd-profile-method-form { display:grid !important; gap:16px; margin:0; }
html.rd-profile-route.rd-profile-redesign-login .rd-profile-field-group, html.rd-profile-route.rd-profile-redesign-register .rd-profile-field-group { gap:8px; margin:0; }
html.rd-profile-route.rd-profile-redesign-login .rd-auth-label-pair, html.rd-profile-route.rd-profile-redesign-register .rd-auth-label-pair { display:block; }
html.rd-profile-route.rd-profile-redesign-login .rd-profile-method-form label:not(.rd-auth-remember), html.rd-profile-route.rd-profile-redesign-register .rd-profile-method-form label:not(.rd-auth-remember) { display:block; margin:0; color:#151515; font-size:clamp(1rem,3.5vw,1.32rem); font-weight:750; line-height:1.25; }
html.rd-profile-redesign-login .rd-auth-signup-label, html.rd-profile-redesign-register .rd-auth-signin-label { display:none !important; }
html.rd-profile-route.rd-profile-redesign-login .rd-auth-input-wrap, html.rd-profile-route.rd-profile-redesign-register .rd-auth-input-wrap { position:relative; display:flex; align-items:center; width:100%; min-width:0; min-height:clamp(58px,9vw,76px); border:2px solid #c41228; border-radius:999px; box-sizing:border-box; background:rgba(255,255,255,.86); box-shadow:0 8px 18px rgba(202,0,24,.08); transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease; }
html.rd-profile-route.rd-profile-redesign-login .rd-auth-input-wrap:focus-within, html.rd-profile-route.rd-profile-redesign-register .rd-auth-input-wrap:focus-within { border-color:#d09e2e; box-shadow:0 0 0 3px rgba(208,158,46,.14),0 8px 22px rgba(202,0,24,.08); }
html.rd-profile-route.rd-profile-redesign-login .rd-auth-field-icon, html.rd-profile-route.rd-profile-redesign-register .rd-auth-field-icon { display:block; flex:0 0 auto; width:clamp(24px,5vw,34px); height:clamp(24px,5vw,34px); margin-left:clamp(15px,3.6vw,28px); fill:none; stroke:#5b5b5b; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
html.rd-profile-route.rd-profile-redesign-login .rd-auth-input-wrap input, html.rd-profile-route.rd-profile-redesign-register .rd-auth-input-wrap input { display:block; width:100%; min-width:0; min-height:clamp(54px,8.4vw,72px); margin:0; padding:0 9px 0 clamp(14px,2.5vw,24px); border:0 !important; border-radius:999px; outline:0; background:transparent !important; box-shadow:none !important; color:#151515; font:inherit; font-size:clamp(.98rem,3.6vw,1.34rem); box-sizing:border-box; }
html.rd-profile-route.rd-profile-redesign-login .rd-auth-input-wrap input::placeholder, html.rd-profile-route.rd-profile-redesign-register .rd-auth-input-wrap input::placeholder { color:#8a8a8a; opacity:1; }
html.rd-profile-route.rd-profile-redesign-login .rd-auth-password-toggle, html.rd-profile-route.rd-profile-redesign-register .rd-auth-password-toggle { display:flex; align-items:center; justify-content:center; flex:0 0 auto; width:47px; height:47px; margin-right:10px; padding:0; border:0; border-radius:50%; background:transparent; color:#5d5d5d; cursor:pointer; transition:transform .2s ease,background .2s ease; }
html.rd-profile-route.rd-profile-redesign-login .rd-auth-password-toggle svg, html.rd-profile-route.rd-profile-redesign-register .rd-auth-password-toggle svg { display:block; width:27px; height:27px; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
html.rd-profile-route.rd-profile-redesign-login .rd-auth-password-toggle .rd-auth-eye-slash, html.rd-profile-route.rd-profile-redesign-register .rd-auth-password-toggle .rd-auth-eye-slash { display:block; }
html.rd-profile-route.rd-profile-redesign-login .rd-auth-password-toggle.is-visible .rd-auth-eye-slash, html.rd-profile-route.rd-profile-redesign-register .rd-auth-password-toggle.is-visible .rd-auth-eye-slash { display:none; }
html.rd-profile-route.rd-profile-redesign-login .rd-auth-form-options, html.rd-profile-route.rd-profile-redesign-register .rd-auth-form-options { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:11px; min-height:32px; margin:-1px 2px 0; }
html.rd-profile-route.rd-profile-redesign-login .rd-auth-remember, html.rd-profile-route.rd-profile-redesign-register .rd-auth-remember { display:inline-flex !important; align-items:center; gap:10px; margin:0 !important; color:#161616; font-size:clamp(.87rem,3vw,1.08rem) !important; font-weight:700 !important; cursor:pointer; }
html.rd-profile-route.rd-profile-redesign-login .rd-auth-remember input, html.rd-profile-route.rd-profile-redesign-register .rd-auth-remember input { appearance:none; -webkit-appearance:none; flex:0 0 30px; width:30px; height:30px; min-height:30px; margin:0; padding:0; border:2px solid #1c1c1c; border-radius:7px; background:rgba(255,255,255,.8); box-shadow:none; cursor:pointer; }
html.rd-profile-route.rd-profile-redesign-login .rd-auth-remember input:checked, html.rd-profile-route.rd-profile-redesign-register .rd-auth-remember input:checked { border-color:#c99a3d; background:#c99a3d; }
html.rd-profile-route.rd-profile-redesign-login .rd-auth-remember input:checked::after, html.rd-profile-route.rd-profile-redesign-register .rd-auth-remember input:checked::after { content:'✓'; display:block; color:#fff; font-size:20px; line-height:25px; text-align:center; }
html.rd-profile-route.rd-profile-redesign-login .rd-auth-forgot-password, html.rd-profile-route.rd-profile-redesign-register .rd-auth-forgot-password { border:0; padding:4px 0; background:transparent; color:#bd841c; font:inherit; font-size:clamp(.87rem,3vw,1.08rem); font-weight:800; cursor:pointer; transition:transform .18s ease,color .18s ease; }
html.rd-profile-route.rd-profile-redesign-login .rd-profile-method-submit.rd-auth-submit, html.rd-profile-route.rd-profile-redesign-register .rd-profile-method-submit.rd-auth-submit { position:relative; display:flex !important; align-items:center; justify-content:center; gap:14px; width:100%; min-height:clamp(62px,10vw,82px); margin:7px 0 0; padding:10px 22px; border:1px solid #d60017; border-bottom:4px solid #e5b438; border-radius:999px; background:linear-gradient(180deg,#ff1f30 0%,#e10017 59%,#bd0015 100%); color:#fff; font-size:clamp(1.22rem,4.6vw,1.95rem); font-weight:850; line-height:1.1; box-shadow:0 12px 22px rgba(198,0,25,.17); cursor:pointer; transition:transform .2s cubic-bezier(.2,.8,.2,1),background .2s ease,box-shadow .2s ease; }
html.rd-profile-route.rd-profile-redesign-login .rd-profile-method-submit.rd-auth-submit::before, html.rd-profile-route.rd-profile-redesign-register .rd-profile-method-submit.rd-auth-submit::before { content:""; display:block; flex:0 0 auto; width:clamp(24px,5vw,36px); height:clamp(24px,5vw,36px); background:currentColor; -webkit-mask:url([bad url]) center/contain no-repeat; mask:url([bad url]) center/contain no-repeat; }
html.rd-profile-route.rd-profile-redesign-login .rd-profile-method-form [aria-live='polite'], html.rd-profile-route.rd-profile-redesign-register .rd-profile-method-form [aria-live='polite'] { min-height:16px; margin:0; color:#a51321; font-size:.82rem; line-height:1.45; text-align:center; }
html.rd-profile-route.rd-profile-redesign-login .rd-auth-account-switch, html.rd-profile-route.rd-profile-redesign-register .rd-auth-account-switch { margin:16px 0 0; color:#191919; text-align:center; font-size:clamp(.88rem,3.2vw,1.18rem); line-height:1.4; }
html.rd-profile-route.rd-profile-redesign-login .rd-auth-switch-register, html.rd-profile-route.rd-profile-redesign-register .rd-auth-switch-login { display:none; }
html.rd-profile-route.rd-profile-redesign-login .rd-auth-account-switch a, html.rd-profile-route.rd-profile-redesign-register .rd-auth-account-switch a { color:#111 !important; font-weight:850; text-decoration:none; }
html.rd-profile-route.rd-profile-redesign-login .rd-auth-or-divider, html.rd-profile-route.rd-profile-redesign-register .rd-auth-or-divider { display:flex; align-items:center; justify-content:center; gap:18px; margin:clamp(22px,4.8vw,36px) 0 18px; color:#5b5b5b; }
html.rd-profile-route.rd-profile-redesign-login .rd-auth-or-divider span, html.rd-profile-route.rd-profile-redesign-register .rd-auth-or-divider span { display:block; flex:1 1 auto; max-width:260px; height:1px; background:#d5a641; }
html.rd-profile-route.rd-profile-redesign-login .rd-auth-or-divider strong, html.rd-profile-route.rd-profile-redesign-register .rd-auth-or-divider strong { font-size:1.2rem; font-weight:500; }
html.rd-profile-route.rd-profile-redesign-login .rd-auth-social-area, html.rd-profile-route.rd-profile-redesign-register .rd-auth-social-area { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:clamp(10px,3.2vw,22px); width:100%; }
html.rd-profile-route.rd-profile-redesign-login .rd-auth-social-button, html.rd-profile-route.rd-profile-redesign-register .rd-auth-social-button { display:flex; align-items:center; justify-content:center; flex:0 0 clamp(54px,13vw,82px); width:clamp(54px,13vw,82px); height:clamp(54px,13vw,82px); padding:6px; border:1px solid #d8a946; border-radius:50%; background:rgba(255,255,255,.84); box-shadow:0 5px 14px rgba(149,108,28,.10); cursor:pointer; box-sizing:border-box; transition:transform .2s cubic-bezier(.2,.8,.2,1),box-shadow .2s ease,background .2s ease; -webkit-tap-highlight-color:transparent; }
html.rd-profile-route.rd-profile-redesign-login .rd-auth-social-button img, html.rd-profile-route.rd-profile-redesign-register .rd-auth-social-button img { display:block; width:100%; height:100%; object-fit:contain; border-radius:50%; }
html.rd-profile-route.rd-profile-redesign-login .rd-auth-social-status, html.rd-profile-route.rd-profile-redesign-register .rd-auth-social-status { min-height:17px; margin:10px 0 0; color:#8d6418; font-size:.78rem; text-align:center; line-height:1.45; }
html.rd-profile-route.rd-profile-redesign-login .rd-auth-legal-footer, html.rd-profile-route.rd-profile-redesign-register .rd-auth-legal-footer { display:flex; flex-direction:column; gap:12px; margin-top:auto; padding-top:28px; }
html.rd-profile-route.rd-profile-redesign-login .rd-auth-legal-footer > div, html.rd-profile-route.rd-profile-redesign-register .rd-auth-legal-footer > div { display:flex; justify-content:space-between; gap:20px; padding:0 8px; }
html.rd-profile-route.rd-profile-redesign-login .rd-auth-legal-footer p, html.rd-profile-route.rd-profile-redesign-register .rd-auth-legal-footer p { display:none; margin:0; color:#161616; text-align:center; font-size:.82rem; }
html.rd-profile-route.rd-profile-redesign-register .rd-auth-legal-footer p { display:block; }
html.rd-profile-route.rd-profile-redesign-login .rd-auth-social-area, html.rd-profile-route.rd-profile-redesign-register .rd-auth-social-area { animation:rd-profile-item-enter .20s .03s cubic-bezier(.2,.8,.2,1) both; }
html.rd-profile-route[data-rd-profile-method='google'].rd-profile-redesign-login .rd-auth-social-area, html.rd-profile-route[data-rd-profile-method='google'].rd-profile-redesign-register .rd-auth-social-area, html.rd-profile-route[data-rd-profile-method='google'].rd-profile-redesign-login .rd-auth-account-switch, html.rd-profile-route[data-rd-profile-method='google'].rd-profile-redesign-register .rd-auth-account-switch, html.rd-profile-route[data-rd-profile-method='google'].rd-profile-redesign-login .rd-auth-or-divider, html.rd-profile-route[data-rd-profile-method='google'].rd-profile-redesign-register .rd-auth-or-divider { display:none !important; }
html.rd-profile-route.rd-profile-redesign-login .rd-profile-google-panel, html.rd-profile-route.rd-profile-redesign-register .rd-profile-google-panel { width:100%; margin:20px 0; padding:22px; border:1px solid #e5c77e; border-radius:22px; background:rgba(255,255,255,.92); box-shadow:0 12px 30px rgba(141,96,16,.10); box-sizing:border-box; }
html.rd-profile-route.rd-profile-redesign-login .rd-profile-google-panel .rd-profile-method-submit, html.rd-profile-route.rd-profile-redesign-register .rd-profile-google-panel .rd-profile-method-submit { min-height:58px; border-radius:999px; background:linear-gradient(180deg,#f51a2b,#bf0015); color:#fff; font-size:1rem; font-weight:800; }
html.rd-profile-route.rd-profile-redesign-login .rd-profile-google-panel h3, html.rd-profile-route.rd-profile-redesign-register .rd-profile-google-panel h3 { color:#151515; font-size:1.15rem; }
html.rd-profile-route.rd-profile-redesign-login .rd-profile-google-panel p, html.rd-profile-route.rd-profile-redesign-register .rd-profile-google-panel p { color:#777; font-size:.84rem; line-height:1.5; }

/* Tap/hover motion, including the requested gold interaction on Register. */
html.rd-profile-redesign-entry .rd-profile-shell a:focus-visible, html.rd-profile-redesign-entry .rd-profile-shell button:focus-visible { outline:3px solid #d4a335; outline-offset:3px; }
html.rd-profile-redesign-entry .rd-profile-division-card:active { transform:scale(.965); }
html.rd-profile-redesign-entry .rd-profile-login-cta:active { transform:scale(.97); box-shadow:0 4px 0 -2px #d8a12c,0 6px 12px rgba(202,0,22,.19) !important; }
html.rd-profile-redesign-entry .rd-profile-register-cta:active, html.rd-profile-redesign-entry .rd-profile-register-cta:focus { border-color:#c99a3d !important; background:linear-gradient(135deg,#f7d66e,#c99a3d) !important; color:#171717 !important; box-shadow:0 7px 18px rgba(178,130,24,.27) !important; }
html.rd-profile-redesign-entry .rd-profile-home-legal a:active { transform:scale(.97); color:#b78217 !important; }
html.rd-profile-route.rd-profile-redesign-login .rd-profile-shell a:active, html.rd-profile-route.rd-profile-redesign-login .rd-profile-shell button:active, html.rd-profile-route.rd-profile-redesign-register .rd-profile-shell a:active, html.rd-profile-route.rd-profile-redesign-register .rd-profile-shell button:active { transform:scale(.975); }
html.rd-profile-route.rd-profile-redesign-login .rd-auth-social-button:active, html.rd-profile-route.rd-profile-redesign-register .rd-auth-social-button:active { background:#f7d66e; box-shadow:0 0 0 4px rgba(201,154,61,.16); }
html.rd-profile-route.rd-profile-redesign-login .rd-profile-method-submit.rd-auth-submit:active, html.rd-profile-route.rd-profile-redesign-register .rd-profile-method-submit.rd-auth-submit:active { box-shadow:0 5px 12px rgba(198,0,25,.16); }
@media (hover:hover) {
  html.rd-profile-redesign-entry .rd-profile-division-card:hover { transform:translateY(-3px); }
  html.rd-profile-redesign-entry .rd-profile-division-card:hover .rd-profile-division-image { filter:drop-shadow(0 11px 12px rgba(125,94,30,.16)); }
  html.rd-profile-redesign-entry .rd-profile-login-cta:hover { transform:translateY(-2px); box-shadow:0 10px 0 -5px #d8a12c,0 17px 25px rgba(202,0,22,.2) !important; }
  html.rd-profile-redesign-entry .rd-profile-register-cta:hover { border-color:#c99a3d !important; background:linear-gradient(135deg,#f7d66e,#c99a3d) !important; color:#171717 !important; }
  html.rd-profile-route.rd-profile-redesign-login .rd-profile-shell button:hover, html.rd-profile-route.rd-profile-redesign-register .rd-profile-shell button:hover { filter:brightness(1.02); }
}

/* Click animation on the existing global profile icon; only that link is targeted. */


@keyframes rd-profile-premium-enter { from { opacity:0; transform:translateY(16px) scale(.992); filter:blur(2px); } to { opacity:1; transform:translateY(0) scale(1); filter:blur(0); } }
@keyframes rd-profile-item-enter { from { opacity:0; transform:translateY(13px); } to { opacity:1; transform:translateY(0); } }

@media (min-width:701px) {
  html.rd-profile-redesign-entry .rd-profile-container { width:min(100%,850px); padding-top:35px; padding-bottom:42px; }
  html.rd-profile-redesign-entry .rd-profile-home-logo { width:min(75%,420px); max-height:150px; }
  html.rd-profile-redesign-entry .rd-profile-home-welcome { margin-top:5px; }
  html.rd-profile-redesign-entry .rd-profile-division-grid { max-width:650px; row-gap:20px; }
  html.rd-profile-redesign-entry .rd-profile-division-image { max-width:205px; }
  html.rd-profile-route.rd-profile-redesign-login .rd-profile-container, html.rd-profile-route.rd-profile-redesign-register .rd-profile-container { width:min(100%,850px); padding-top:28px; padding-bottom:30px; }
  html.rd-profile-route.rd-profile-redesign-login .rd-profile-method-panel.is-visible, html.rd-profile-route.rd-profile-redesign-register .rd-profile-method-panel.is-visible { max-width:760px; min-height:calc(100vh - 58px); min-height:calc(100svh - 58px); }
}
@media (max-width:390px) {
  html.rd-profile-redesign-entry .rd-profile-container { padding-left:14px; padding-right:14px; padding-top:24px; }
  html.rd-profile-redesign-entry .rd-profile-home-logo { width:min(82%,310px); }
  html.rd-profile-redesign-entry .rd-profile-home-tagline { margin-bottom:12px; }
  html.rd-profile-redesign-entry .rd-profile-division-grid { column-gap:8px; row-gap:14px; }
  html.rd-profile-redesign-entry .rd-profile-division-image { max-width:158px; }
  html.rd-profile-redesign-entry .rd-profile-division-label { min-height:34px; font-size:.84rem; }
  html.rd-profile-redesign-entry .rd-profile-entry-actions { gap:9px; margin-top:22px; }
  html.rd-profile-redesign-entry .rd-profile-entry-actions a { min-height:54px; font-size:1.02rem !important; }
  html.rd-profile-route.rd-profile-redesign-login .rd-profile-container, html.rd-profile-route.rd-profile-redesign-register .rd-profile-container { padding-left:18px; padding-right:18px; }
  html.rd-profile-route.rd-profile-redesign-login .rd-profile-method-panel.is-visible, html.rd-profile-route.rd-profile-redesign-register .rd-profile-method-panel.is-visible { min-height:calc(100svh - 56px); }
  html.rd-profile-route.rd-profile-redesign-login .rd-profile-auth-design-heading h2, html.rd-profile-route.rd-profile-redesign-register .rd-profile-auth-design-heading h2 { font-size:clamp(2.8rem,10.5vw,4rem); }
  html.rd-profile-route.rd-profile-redesign-login .rd-auth-social-area, html.rd-profile-route.rd-profile-redesign-register .rd-auth-social-area { gap:9px; }
  html.rd-profile-route.rd-profile-redesign-login .rd-auth-social-button, html.rd-profile-route.rd-profile-redesign-register .rd-auth-social-button { flex-basis:52px; width:52px; height:52px; }
}
@media (prefers-reduced-motion:reduce) {
  html.rd-profile-redesign-entry *, html.rd-profile-redesign-entry *::before, html.rd-profile-redesign-entry *::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; scroll-behavior:auto !important; }
}

/* RD User Profile Redevelopment V1.1 — compact, fixed-viewport welcome screen.
   Scoped to the guest Profile landing screen only. Login/Register, authenticated
   account views, Firebase services, and all non-Profile modules are excluded. */
html.rd-profile-redesign-entry:not(.rd-profile-redesign-login):not(.rd-profile-redesign-register):not(.rd-firebase-authenticated) {
  height:100vh;
  height:100svh;
  overflow:hidden !important;
  overscroll-behavior:none;
}
html.rd-profile-redesign-entry:not(.rd-profile-redesign-login):not(.rd-profile-redesign-register):not(.rd-firebase-authenticated) body {
  position:relative;
  width:100%;
  height:100vh !important;
  height:100svh !important;
  min-height:0 !important;
  max-height:100vh !important;
  max-height:100svh !important;
  margin:0 !important;
  padding:0 !important;
  overflow:hidden !important;
  overscroll-behavior:none;
}
html.rd-profile-redesign-entry:not(.rd-profile-redesign-login):not(.rd-profile-redesign-register):not(.rd-firebase-authenticated) .rd-profile-shell {
  position:fixed !important;
  inset:0 !important;
  z-index:30;
  width:100% !important;
  height:100vh !important;
  height:100svh !important;
  min-height:0 !important;
  max-height:100vh !important;
  max-height:100svh !important;
  margin:0 !important;
  padding:0 !important;
  overflow:hidden !important;
  box-sizing:border-box !important;
}
html.rd-profile-redesign-entry:not(.rd-profile-redesign-login):not(.rd-profile-redesign-register):not(.rd-firebase-authenticated) .rd-profile-container {
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:0;
  width:min(100%,760px) !important;
  height:100%;
  min-height:0 !important;
  max-height:100%;
  margin:0 auto !important;
  padding:clamp(5px,0.9svh,9px) clamp(12px,3.2vw,24px) clamp(58px,9.8svh,84px) !important;
  box-sizing:border-box;
  overflow:hidden;
}
html.rd-profile-redesign-entry:not(.rd-profile-redesign-login):not(.rd-profile-redesign-register):not(.rd-firebase-authenticated) .rd-profile-hero {
  flex:0 0 auto;
  margin:0 !important;
  padding:0 !important;
  text-align:center;
}
html.rd-profile-redesign-entry:not(.rd-profile-redesign-login):not(.rd-profile-redesign-register):not(.rd-firebase-authenticated) .rd-profile-home-logo-link {
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  margin:0 auto !important;
  padding:0;
  line-height:0;
}
html.rd-profile-redesign-entry:not(.rd-profile-redesign-login):not(.rd-profile-redesign-register):not(.rd-firebase-authenticated) .rd-profile-home-logo {
  display:block;
  width:min(74%,260px);
  height:auto;
  max-height:clamp(56px,9.8svh,82px);
  object-fit:contain;
  object-position:center;
}
html.rd-profile-redesign-entry:not(.rd-profile-redesign-login):not(.rd-profile-redesign-register):not(.rd-firebase-authenticated) .rd-profile-home-tagline {
  margin:0 auto clamp(4px,0.8svh,7px) !important;
  max-width:100%;
  color:#111;
  font-size:clamp(.76rem,2.8vw,1.02rem);
  font-weight:500;
  line-height:1.18;
  letter-spacing:0;
}
html.rd-profile-redesign-entry:not(.rd-profile-redesign-login):not(.rd-profile-redesign-register):not(.rd-firebase-authenticated) .rd-profile-home-welcome {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:clamp(5px,2vw,12px);
  min-width:0;
  margin:0 auto;
}
html.rd-profile-redesign-entry:not(.rd-profile-redesign-login):not(.rd-profile-redesign-register):not(.rd-firebase-authenticated) .rd-profile-welcome-figure {
  display:block;
  flex:0 0 auto;
  width:clamp(44px,8.5svh,64px);
  max-height:68px;
  height:auto;
}
html.rd-profile-redesign-entry:not(.rd-profile-redesign-login):not(.rd-profile-redesign-register):not(.rd-firebase-authenticated) .rd-profile-home-welcome-copy {
  min-width:0;
  text-align:center;
}
html.rd-profile-redesign-entry:not(.rd-profile-redesign-login):not(.rd-profile-redesign-register):not(.rd-firebase-authenticated) .rd-profile-title {
  margin:0 !important;
  font-size:clamp(2rem,7.6vw,3.05rem) !important;
  line-height:.94;
  letter-spacing:-.045em;
}
html.rd-profile-redesign-entry:not(.rd-profile-redesign-login):not(.rd-profile-redesign-register):not(.rd-firebase-authenticated) .rd-profile-home-welcome-copy p {
  margin:4px 0 0 !important;
  font-size:clamp(.72rem,2.7vw,1rem);
  line-height:1.16;
}
html.rd-profile-redesign-entry:not(.rd-profile-redesign-login):not(.rd-profile-redesign-register):not(.rd-firebase-authenticated) .rd-profile-entry-card {
  display:flex !important;
  flex:1 1 auto;
  flex-direction:column;
  align-items:stretch;
  justify-content:space-between;
  gap:0;
  width:100%;
  min-height:0;
  margin:clamp(3px,0.6svh,6px) auto 0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  box-sizing:border-box;
  overflow:hidden;
}
html.rd-profile-redesign-entry:not(.rd-profile-redesign-login):not(.rd-profile-redesign-register):not(.rd-firebase-authenticated) .rd-profile-division-grid {
  display:grid;
  flex:0 0 auto;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:start;
  justify-items:center;
  column-gap:clamp(8px,2.4vw,16px);
  row-gap:clamp(5px,0.9svh,9px);
  width:100%;
  max-width:620px;
  margin:0 auto;
}
html.rd-profile-redesign-entry:not(.rd-profile-redesign-login):not(.rd-profile-redesign-register):not(.rd-firebase-authenticated) .rd-profile-division-card {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  gap:4px;
  width:100%;
  min-width:0;
  margin:0;
  padding:0 1px;
  border-radius:14px;
  box-sizing:border-box;
}
html.rd-profile-redesign-entry:not(.rd-profile-redesign-login):not(.rd-profile-redesign-register):not(.rd-firebase-authenticated) .rd-profile-division-image {
  display:block;
  flex:0 0 auto;
  width:clamp(72px,16svh,128px) !important;
  max-width:100% !important;
  height:auto;
  aspect-ratio:1 / 1;
  object-fit:contain;
  border-radius:50%;
}
html.rd-profile-redesign-entry:not(.rd-profile-redesign-login):not(.rd-profile-redesign-register):not(.rd-firebase-authenticated) .rd-profile-division-label {
  display:flex;
  align-items:center;
  justify-content:center;
  width:min(100%,170px);
  min-height:clamp(28px,4.4svh,35px);
  padding:4px 7px;
  border:1px solid #e6bd4b;
  border-radius:999px;
  box-sizing:border-box;
  background:rgba(255,255,255,.94);
  color:#111;
  font-size:clamp(.78rem,3vw,1rem);
  font-weight:800;
  line-height:1.1;
  text-align:center;
}
html.rd-profile-redesign-entry:not(.rd-profile-redesign-login):not(.rd-profile-redesign-register):not(.rd-firebase-authenticated) .rd-profile-entry-actions {
  display:grid !important;
  flex:0 0 auto;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:clamp(8px,2.4vw,15px);
  width:100%;
  max-width:640px;
  margin:0 auto !important;
}
html.rd-profile-redesign-entry:not(.rd-profile-redesign-login):not(.rd-profile-redesign-register):not(.rd-firebase-authenticated) .rd-profile-entry-actions a {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-width:0;
  min-height:clamp(40px,6.6svh,53px);
  padding:6px clamp(8px,2vw,14px);
  border-radius:999px !important;
  box-sizing:border-box;
  font-size:clamp(.92rem,3.2vw,1.15rem) !important;
  line-height:1.1;
}
html.rd-profile-redesign-entry:not(.rd-profile-redesign-login):not(.rd-profile-redesign-register):not(.rd-firebase-authenticated) .rd-profile-login-cta svg {
  width:clamp(19px,3.8svh,25px);
  height:clamp(19px,3.8svh,25px);
}
html.rd-profile-redesign-entry:not(.rd-profile-redesign-login):not(.rd-profile-redesign-register):not(.rd-firebase-authenticated) .rd-profile-home-legal {
  display:flex;
  flex:0 0 auto;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  width:100%;
  margin:0 auto !important;
  padding:0 4px;
  box-sizing:border-box;
}
html.rd-profile-redesign-entry:not(.rd-profile-redesign-login):not(.rd-profile-redesign-register):not(.rd-firebase-authenticated) .rd-profile-home-legal a {
  color:#171717 !important;
  font-size:clamp(.76rem,2.5vw,.94rem);
  line-height:1.2;
}

/* Tight-height phones: keep the entire welcome interface inside the viewport. */
@media (max-height:600px) {
  html.rd-profile-redesign-entry:not(.rd-profile-redesign-login):not(.rd-profile-redesign-register):not(.rd-firebase-authenticated) .rd-profile-container {
    padding-top:4px !important;
    padding-bottom:clamp(42px,7.8svh,54px) !important;
  }
  html.rd-profile-redesign-entry:not(.rd-profile-redesign-login):not(.rd-profile-redesign-register):not(.rd-firebase-authenticated) .rd-profile-home-logo {
    width:min(70%,220px);
    max-height:clamp(44px,8svh,56px);
  }
  html.rd-profile-redesign-entry:not(.rd-profile-redesign-login):not(.rd-profile-redesign-register):not(.rd-firebase-authenticated) .rd-profile-home-tagline {
    margin-bottom:4px !important;
    font-size:clamp(.7rem,2.7vw,.84rem);
  }
  html.rd-profile-redesign-entry:not(.rd-profile-redesign-login):not(.rd-profile-redesign-register):not(.rd-firebase-authenticated) .rd-profile-welcome-figure {
    width:clamp(38px,7.2svh,48px);
  }
  html.rd-profile-redesign-entry:not(.rd-profile-redesign-login):not(.rd-profile-redesign-register):not(.rd-firebase-authenticated) .rd-profile-title {
    font-size:clamp(1.7rem,7vw,2.3rem) !important;
  }
  html.rd-profile-redesign-entry:not(.rd-profile-redesign-login):not(.rd-profile-redesign-register):not(.rd-firebase-authenticated) .rd-profile-home-welcome-copy p {
    font-size:clamp(.68rem,2.5vw,.82rem);
  }
  html.rd-profile-redesign-entry:not(.rd-profile-redesign-login):not(.rd-profile-redesign-register):not(.rd-firebase-authenticated) .rd-profile-division-image {
    width:clamp(66px,13.5svh,92px) !important;
  }
  html.rd-profile-redesign-entry:not(.rd-profile-redesign-login):not(.rd-profile-redesign-register):not(.rd-firebase-authenticated) .rd-profile-division-label {
    min-height:26px;
    font-size:.76rem;
  }
  html.rd-profile-redesign-entry:not(.rd-profile-redesign-login):not(.rd-profile-redesign-register):not(.rd-firebase-authenticated) .rd-profile-entry-actions a {
    min-height:38px;
    font-size:.88rem !important;
  }
}



/* RD User Profile Redevelopment V1.2 — screenshot-led precision fixes.
   Profile routes only. Does not redefine the shared header, Firebase services, or other RD modules. */

/* Keep Profile close hidden on authentication forms; the Welcome-only rule below enables it. */
html.rd-profile-route.rd-profile-redesign-login .rd-profile-close-button, html.rd-profile-route.rd-profile-redesign-register .rd-profile-close-button { display:none !important; }

/* Remove the Welcome/logo/tagline panel from Login and Register screens only. */
html.rd-profile-route.rd-profile-redesign-login .rd-profile-hero, html.rd-profile-route.rd-profile-redesign-register .rd-profile-hero {
  display:none !important;
}

/* A visible checkmark is drawn with a background SVG because pseudo-elements on input controls are inconsistent across mobile browsers. */
html.rd-profile-route.rd-profile-redesign-login .rd-auth-remember input, html.rd-profile-route.rd-profile-redesign-register .rd-auth-remember input {
  display:block !important;
  position:relative;
  appearance:none !important;
  -webkit-appearance:none !important;
  flex:0 0 30px !important;
  width:30px !important;
  min-width:30px !important;
  height:30px !important;
  min-height:30px !important;
  padding:0 !important;
  margin:0 !important;
  border:2px solid #1c1c1c !important;
  border-radius:7px !important;
  background-color:rgba(255,255,255,.88) !important;
  background-image:none !important;
  box-shadow:none !important;
  color:transparent !important;
  cursor:pointer;
  box-sizing:border-box !important;
}
html.rd-profile-route.rd-profile-redesign-login .rd-auth-remember input:checked, html.rd-profile-route.rd-profile-redesign-register .rd-auth-remember input:checked {
  border-color:#c99a3d !important;
  background-color:#c99a3d !important;
  background-image:url([bad url]) !important;
  background-repeat:no-repeat !important;
  background-position:center !important;
  background-size:21px 21px !important;
}
html.rd-profile-route.rd-profile-redesign-login .rd-auth-remember input::before, html.rd-profile-route.rd-profile-redesign-login .rd-auth-remember input::after, html.rd-profile-route.rd-profile-redesign-register .rd-auth-remember input::before, html.rd-profile-route.rd-profile-redesign-register .rd-auth-remember input::after {
  content:none !important;
  display:none !important;
}

/* Premium Close (X) control, only on the guest Profile welcome page. */
html.rd-profile-redesign-entry:not(.rd-profile-redesign-login):not(.rd-profile-redesign-register):not(.rd-firebase-authenticated) .rd-profile-close-button {
  position:absolute;
  top:max(8px,env(safe-area-inset-top,0px));
  right:clamp(10px,3vw,20px);
  z-index:8;
  display:flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  min-width:40px;
  min-height:40px;
  padding:0;
  border:1px solid rgba(201,154,61,.75);
  border-radius:50%;
  background:rgba(255,250,244,.94);
  color:#26201b;
  box-shadow:0 4px 13px rgba(104,72,18,.12);
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  transition:transform .18s ease,opacity .18s ease,background .18s ease,box-shadow .18s ease;
}
html.rd-profile-redesign-entry:not(.rd-profile-redesign-login):not(.rd-profile-redesign-register):not(.rd-firebase-authenticated) .rd-profile-close-button svg {
  display:block;
  width:21px;
  height:21px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
}
html.rd-profile-redesign-entry:not(.rd-profile-redesign-login):not(.rd-profile-redesign-register):not(.rd-firebase-authenticated) .rd-profile-close-button:active {
  transform:scale(.9) rotate(-6deg);
  background:#f7e8c6;
  box-shadow:0 1px 5px rgba(104,72,18,.12);
}
html.rd-profile-closing.rd-profile-redesign-entry .rd-profile-shell {
  opacity:0 !important;
  transform:scale(.99) !important;
  transition:opacity .16s ease,transform .16s ease !important;
}

/* Login and Register use a viewport-locked canvas like the Welcome screen. The hero above is hidden; the original form and provider states remain intact. */
html.rd-profile-route.rd-profile-redesign-login, html.rd-profile-route.rd-profile-redesign-register {
  height:100vh !important;
  height:100svh !important;
  overflow:hidden !important;
  overscroll-behavior:none !important;
}
html.rd-profile-route.rd-profile-redesign-login body, html.rd-profile-route.rd-profile-redesign-register body {
  position:relative !important;
  width:100% !important;
  height:100vh !important;
  height:100svh !important;
  min-height:0 !important;
  max-height:100vh !important;
  max-height:100svh !important;
  margin:0 !important;
  padding:0 !important;
  overflow:hidden !important;
  overscroll-behavior:none !important;
}
html.rd-profile-route.rd-profile-redesign-login .rd-profile-shell, html.rd-profile-route.rd-profile-redesign-register .rd-profile-shell {
  position:fixed !important;
  inset:0 !important;
  z-index:30 !important;
  width:100% !important;
  height:100vh !important;
  height:100svh !important;
  min-height:0 !important;
  max-height:100vh !important;
  max-height:100svh !important;
  margin:0 !important;
  padding:0 !important;
  overflow:hidden !important;
  overscroll-behavior:none !important;
  box-sizing:border-box !important;
  transition:opacity .16s ease,transform .16s ease;
}
html.rd-profile-route.rd-profile-redesign-login .rd-profile-container, html.rd-profile-route.rd-profile-redesign-register .rd-profile-container {
  display:flex !important;
  flex-direction:column !important;
  width:min(100%,760px) !important;
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  margin:0 auto !important;
  padding:clamp(6px,1.1svh,12px) clamp(14px,4.4vw,34px) clamp(7px,1.2svh,14px) !important;
  overflow:hidden !important;
  box-sizing:border-box !important;
}
html.rd-profile-route.rd-profile-redesign-login .rd-profile-method-panel.is-visible, html.rd-profile-route.rd-profile-redesign-register .rd-profile-method-panel.is-visible {
  display:flex !important;
  flex:1 1 auto !important;
  flex-direction:column !important;
  width:100% !important;
  min-width:0 !important;
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  margin:0 !important;
  padding:0 !important;
  overflow:hidden !important;
  box-sizing:border-box !important;
}
html.rd-profile-route.rd-profile-redesign-login .rd-profile-auth-header, html.rd-profile-route.rd-profile-redesign-register .rd-profile-auth-header {
  flex:0 0 auto;
  min-height:38px !important;
  margin:0 0 clamp(5px,1svh,10px) !important;
}
html.rd-profile-route.rd-profile-redesign-login .rd-profile-method-back, html.rd-profile-route.rd-profile-redesign-register .rd-profile-method-back {
  min-height:38px !important;
  min-width:116px !important;
  padding:0 14px !important;
  border-bottom-width:3px !important;
  font-size:.8rem !important;
}
html.rd-profile-route.rd-profile-redesign-login .rd-profile-auth-design-heading, html.rd-profile-route.rd-profile-redesign-register .rd-profile-auth-design-heading {
  flex:0 0 auto;
  margin:0 0 clamp(8px,1.5svh,14px) !important;
}
html.rd-profile-route.rd-profile-redesign-login .rd-profile-auth-design-heading h2, html.rd-profile-route.rd-profile-redesign-register .rd-profile-auth-design-heading h2 {
  font-size:clamp(2.25rem,8.3vw,3.8rem) !important;
  line-height:.98 !important;
}
html.rd-profile-route.rd-profile-redesign-login .rd-profile-auth-design-heading p, html.rd-profile-route.rd-profile-redesign-register .rd-profile-auth-design-heading p {
  margin:4px 0 0 !important;
  font-size:clamp(1rem,3.5vw,1.35rem) !important;
}
html.rd-profile-route.rd-profile-redesign-login .rd-auth-gold-underline, html.rd-profile-route.rd-profile-redesign-register .rd-auth-gold-underline {
  height:7px !important;
  margin-top:1px !important;
  border-top-width:4px !important;
}
html.rd-profile-route.rd-profile-redesign-login .rd-profile-method-form, html.rd-profile-route.rd-profile-redesign-register .rd-profile-method-form {
  flex:0 1 auto;
  gap:clamp(7px,1.2svh,12px) !important;
  min-height:0;
  margin:0 !important;
}
html.rd-profile-route.rd-profile-redesign-login .rd-profile-field-group, html.rd-profile-route.rd-profile-redesign-register .rd-profile-field-group {
  gap:5px !important;
}
html.rd-profile-route.rd-profile-redesign-login .rd-profile-method-form label:not(.rd-auth-remember), html.rd-profile-route.rd-profile-redesign-register .rd-profile-method-form label:not(.rd-auth-remember) {
  font-size:clamp(.9rem,3.2vw,1.12rem) !important;
  line-height:1.15 !important;
}
html.rd-profile-route.rd-profile-redesign-login .rd-auth-input-wrap, html.rd-profile-route.rd-profile-redesign-register .rd-auth-input-wrap {
  min-height:clamp(46px,6.4svh,61px) !important;
}
html.rd-profile-route.rd-profile-redesign-login .rd-auth-input-wrap input, html.rd-profile-route.rd-profile-redesign-register .rd-auth-input-wrap input {
  min-height:0 !important;
  padding-top:8px !important;
  padding-bottom:8px !important;
  font-size:clamp(.92rem,3.2vw,1.12rem) !important;
}
html.rd-profile-route.rd-profile-redesign-login .rd-auth-form-options, html.rd-profile-route.rd-profile-redesign-register .rd-auth-form-options {
  gap:8px !important;
  margin:0 !important;
}
html.rd-profile-route.rd-profile-redesign-login .rd-auth-remember, html.rd-profile-route.rd-profile-redesign-register .rd-auth-remember {
  gap:8px !important;
  font-size:clamp(.78rem,2.8vw,.98rem) !important;
}
html.rd-profile-route.rd-profile-redesign-login .rd-auth-forgot-password, html.rd-profile-route.rd-profile-redesign-register .rd-auth-forgot-password {
  font-size:clamp(.78rem,2.8vw,.98rem) !important;
}
html.rd-profile-route.rd-profile-redesign-login .rd-profile-method-submit.rd-auth-submit, html.rd-profile-route.rd-profile-redesign-register .rd-profile-method-submit.rd-auth-submit {
  min-height:clamp(48px,6.6svh,63px) !important;
  margin-top:2px !important;
  padding-top:7px !important;
  padding-bottom:7px !important;
  font-size:clamp(1.08rem,4vw,1.55rem) !important;
}
html.rd-profile-route.rd-profile-redesign-login .rd-auth-account-switch, html.rd-profile-route.rd-profile-redesign-register .rd-auth-account-switch {
  flex:0 0 auto;
  margin:clamp(7px,1.2svh,12px) 0 0 !important;
  font-size:clamp(.8rem,2.9vw,1rem) !important;
}
html.rd-profile-route.rd-profile-redesign-login .rd-auth-or-divider, html.rd-profile-route.rd-profile-redesign-register .rd-auth-or-divider {
  flex:0 0 auto;
  margin:clamp(8px,1.5svh,14px) 0 clamp(6px,1svh,10px) !important;
}
html.rd-profile-route.rd-profile-redesign-login .rd-auth-social-area, html.rd-profile-route.rd-profile-redesign-register .rd-auth-social-area {
  flex:0 0 auto;
  gap:clamp(7px,2.4vw,14px) !important;
}
html.rd-profile-route.rd-profile-redesign-login .rd-auth-social-button, html.rd-profile-route.rd-profile-redesign-register .rd-auth-social-button {
  flex-basis:clamp(42px,5.8svh,56px) !important;
  width:clamp(42px,5.8svh,56px) !important;
  height:clamp(42px,5.8svh,56px) !important;
  padding:4px !important;
}
html.rd-profile-route.rd-profile-redesign-login .rd-auth-legal-footer, html.rd-profile-route.rd-profile-redesign-register .rd-auth-legal-footer {
  flex:0 0 auto;
  gap:6px !important;
  margin-top:auto !important;
  padding-top:clamp(8px,1.4svh,14px) !important;
}
html.rd-profile-route.rd-profile-redesign-login .rd-auth-legal-footer > div, html.rd-profile-route.rd-profile-redesign-register .rd-auth-legal-footer > div {
  gap:14px !important;
  padding:0 4px !important;
}
html.rd-profile-route.rd-profile-redesign-login .rd-auth-legal-footer a, html.rd-profile-route.rd-profile-redesign-register .rd-auth-legal-footer a {
  font-size:clamp(.78rem,2.8vw,.98rem) !important;
}

/* Extra density for short screens so the entire auth form remains in view without a scrollable inner panel. */
@media (max-height:760px) {
  html.rd-profile-route.rd-profile-redesign-login .rd-profile-container, html.rd-profile-route.rd-profile-redesign-register .rd-profile-container {
    padding-top:4px !important;
    padding-bottom:5px !important;
  }
  html.rd-profile-route.rd-profile-redesign-login .rd-profile-auth-design-heading, html.rd-profile-route.rd-profile-redesign-register .rd-profile-auth-design-heading {
    margin-bottom:6px !important;
  }
  html.rd-profile-route.rd-profile-redesign-login .rd-profile-auth-design-heading h2, html.rd-profile-route.rd-profile-redesign-register .rd-profile-auth-design-heading h2 {
    font-size:clamp(2rem,7.6vw,3rem) !important;
  }
  html.rd-profile-route.rd-profile-redesign-login .rd-profile-method-form, html.rd-profile-route.rd-profile-redesign-register .rd-profile-method-form {
    gap:6px !important;
  }
  html.rd-profile-route.rd-profile-redesign-login .rd-auth-input-wrap, html.rd-profile-route.rd-profile-redesign-register .rd-auth-input-wrap {
    min-height:44px !important;
  }
  html.rd-profile-route.rd-profile-redesign-login .rd-profile-method-submit.rd-auth-submit, html.rd-profile-route.rd-profile-redesign-register .rd-profile-method-submit.rd-auth-submit {
    min-height:46px !important;
  }
  html.rd-profile-route.rd-profile-redesign-login .rd-auth-or-divider, html.rd-profile-route.rd-profile-redesign-register .rd-auth-or-divider {
    margin:6px 0 5px !important;
  }
  html.rd-profile-route.rd-profile-redesign-login .rd-auth-social-button, html.rd-profile-route.rd-profile-redesign-register .rd-auth-social-button {
    flex-basis:40px !important;
    width:40px !important;
    height:40px !important;
  }
  html.rd-profile-route.rd-profile-redesign-login .rd-auth-legal-footer, html.rd-profile-route.rd-profile-redesign-register .rd-auth-legal-footer {
    padding-top:5px !important;
  }
}
@media (prefers-reduced-motion:reduce) {
  html.rd-profile-redesign-entry .rd-profile-close-button, html.rd-profile-redesign-entry .rd-profile-shell { transition-duration:.01ms !important; }
}


/* RD User Profile Redevelopment V1.3 — reference-spacing refinement.
   Only the Profile Welcome/Login/Register presentation layer is adjusted.
   Existing Firebase/auth service code and non-Profile modules remain untouched. */

/* Match the RD Category Menu close control: compact white circular X, upper-right. */
html.rd-profile-route.rd-profile-redesign-entry:not(.rd-profile-redesign-login):not(.rd-profile-redesign-register):not(.rd-firebase-authenticated) .rd-profile-close-button {
  position:absolute !important;
  top:clamp(8px,1.6svh,14px) !important;
  right:clamp(10px,3vw,20px) !important;
  z-index:20 !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  flex:0 0 36px !important;
  width:36px !important;
  height:36px !important;
  min-width:36px !important;
  min-height:36px !important;
  padding:0 !important;
  border:1px solid #dfe7f0 !important;
  border-radius:50% !important;
  background:#fff !important;
  color:#17304c !important;
  box-shadow:0 2px 8px rgba(37,67,100,.10) !important;
  cursor:pointer !important;
  -webkit-tap-highlight-color:transparent;
  transition:transform .18s ease,background .18s ease,box-shadow .18s ease,opacity .18s ease !important;
}
html.rd-profile-route.rd-profile-redesign-entry:not(.rd-profile-redesign-login):not(.rd-profile-redesign-register):not(.rd-firebase-authenticated) .rd-profile-close-button svg {
  display:block !important;
  width:19px !important;
  height:19px !important;
  fill:none !important;
  stroke:currentColor !important;
  stroke-width:2.1 !important;
  stroke-linecap:round !important;
}
html.rd-profile-route.rd-profile-redesign-entry:not(.rd-profile-redesign-login):not(.rd-profile-redesign-register):not(.rd-firebase-authenticated) .rd-profile-close-button:active {
  transform:scale(.92) !important;
  background:#f7e8c6 !important;
  box-shadow:0 1px 5px rgba(104,72,18,.12) !important;
}

/* Let the existing Login/Register composition use the full fixed viewport.
   We expand the vertical rhythm while keeping the same colours, artwork, forms and controls. */
html.rd-profile-route.rd-profile-redesign-login .rd-profile-container, html.rd-profile-route.rd-profile-redesign-register .rd-profile-container {
  padding-top:clamp(10px,1.8svh,16px) !important;
  padding-bottom:clamp(8px,1.2svh,12px) !important;
}
html.rd-profile-route.rd-profile-redesign-login .rd-profile-method-panel.is-visible, html.rd-profile-route.rd-profile-redesign-register .rd-profile-method-panel.is-visible {
  justify-content:space-between !important;
  min-height:0 !important;
  height:100% !important;
  max-height:100% !important;
  overflow:hidden !important;
}
html.rd-profile-route.rd-profile-redesign-login .rd-profile-auth-header, html.rd-profile-route.rd-profile-redesign-register .rd-profile-auth-header {
  flex:0 0 auto !important;
  min-height:38px !important;
  margin:0 0 clamp(12px,2.2svh,17px) !important;
}
html.rd-profile-route.rd-profile-redesign-login .rd-profile-method-back, html.rd-profile-route.rd-profile-redesign-register .rd-profile-method-back {
  flex:0 0 auto !important;
  width:auto !important;
  min-width:80px !important;
  min-height:36px !important;
  padding:0 12px !important;
  gap:6px !important;
  font-size:.72rem !important;
  letter-spacing:.15em !important;
  border-bottom-width:3px !important;
}
html.rd-profile-route.rd-profile-redesign-login .rd-profile-method-back svg, html.rd-profile-route.rd-profile-redesign-register .rd-profile-method-back svg {
  width:16px !important;
  height:16px !important;
}
html.rd-profile-route.rd-profile-redesign-login .rd-profile-auth-design-heading, html.rd-profile-route.rd-profile-redesign-register .rd-profile-auth-design-heading {
  flex:0 0 auto !important;
  margin:0 0 clamp(14px,2.5svh,20px) !important;
}
html.rd-profile-route.rd-profile-redesign-login .rd-profile-auth-design-heading h2, html.rd-profile-route.rd-profile-redesign-register .rd-profile-auth-design-heading h2 {
  font-size:clamp(2.15rem,10.8vw,3.1rem) !important;
  line-height:1.02 !important;
  letter-spacing:-.035em !important;
}
html.rd-profile-route.rd-profile-redesign-login .rd-profile-auth-design-heading p, html.rd-profile-route.rd-profile-redesign-register .rd-profile-auth-design-heading p {
  margin:7px 0 0 !important;
  font-size:clamp(1rem,4.1vw,1.22rem) !important;
  line-height:1.25 !important;
}
html.rd-profile-route.rd-profile-redesign-login .rd-auth-gold-underline, html.rd-profile-route.rd-profile-redesign-register .rd-auth-gold-underline {
  height:9px !important;
  margin-top:3px !important;
  border-top-width:4px !important;
}
html.rd-profile-route.rd-profile-redesign-login .rd-profile-method-form, html.rd-profile-route.rd-profile-redesign-register .rd-profile-method-form {
  flex:0 1 auto !important;
  min-height:0 !important;
  margin:0 !important;
  gap:clamp(11px,1.9svh,14px) !important;
}
html.rd-profile-route.rd-profile-redesign-login .rd-profile-field-group, html.rd-profile-route.rd-profile-redesign-register .rd-profile-field-group {
  gap:7px !important;
  margin:0 !important;
}
html.rd-profile-route.rd-profile-redesign-login .rd-profile-method-form label:not(.rd-auth-remember), html.rd-profile-route.rd-profile-redesign-register .rd-profile-method-form label:not(.rd-auth-remember) {
  font-size:clamp(.96rem,3.8vw,1.08rem) !important;
  line-height:1.22 !important;
}
html.rd-profile-route.rd-profile-redesign-login .rd-auth-input-wrap, html.rd-profile-route.rd-profile-redesign-register .rd-auth-input-wrap {
  min-height:clamp(48px,7.1svh,53px) !important;
}
html.rd-profile-route.rd-profile-redesign-login .rd-auth-input-wrap input, html.rd-profile-route.rd-profile-redesign-register .rd-auth-input-wrap input {
  min-height:0 !important;
  padding-top:8px !important;
  padding-bottom:8px !important;
  font-size:clamp(.94rem,3.4vw,1.1rem) !important;
}
html.rd-profile-route.rd-profile-redesign-login .rd-auth-form-options, html.rd-profile-route.rd-profile-redesign-register .rd-auth-form-options {
  gap:10px !important;
  min-height:34px !important;
  margin:0 2px !important;
}
html.rd-profile-route.rd-profile-redesign-login .rd-auth-remember, html.rd-profile-route.rd-profile-redesign-register .rd-auth-remember {
  gap:9px !important;
  font-size:clamp(.8rem,2.9vw,.97rem) !important;
}
html.rd-profile-route.rd-profile-redesign-login .rd-auth-forgot-password, html.rd-profile-route.rd-profile-redesign-register .rd-auth-forgot-password {
  font-size:clamp(.8rem,2.9vw,.97rem) !important;
}
html.rd-profile-route.rd-profile-redesign-login .rd-profile-method-submit.rd-auth-submit, html.rd-profile-route.rd-profile-redesign-register .rd-profile-method-submit.rd-auth-submit {
  min-height:52px !important;
  margin-top:3px !important;
  padding-top:8px !important;
  padding-bottom:8px !important;
  font-size:clamp(1.08rem,4vw,1.42rem) !important;
}
html.rd-profile-route.rd-profile-redesign-login .rd-profile-method-form #rd-profile-email-status:empty, html.rd-profile-route.rd-profile-redesign-register .rd-profile-method-form #rd-profile-email-status:empty, html.rd-profile-route.rd-profile-redesign-login .rd-auth-social-status:empty, html.rd-profile-route.rd-profile-redesign-register .rd-auth-social-status:empty {
  display:none !important;
  min-height:0 !important;
  margin:0 !important;
}
html.rd-profile-route.rd-profile-redesign-login .rd-auth-account-switch, html.rd-profile-route.rd-profile-redesign-register .rd-auth-account-switch {
  flex:0 0 auto !important;
  margin:clamp(12px,2.2svh,17px) 0 0 !important;
  font-size:clamp(.82rem,3vw,1rem) !important;
  line-height:1.4 !important;
}
html.rd-profile-route.rd-profile-redesign-login .rd-auth-or-divider, html.rd-profile-route.rd-profile-redesign-register .rd-auth-or-divider {
  flex:0 0 auto !important;
  margin:clamp(14px,2.7svh,19px) 0 clamp(10px,1.8svh,14px) !important;
  gap:14px !important;
}
html.rd-profile-route.rd-profile-redesign-login .rd-auth-social-area, html.rd-profile-route.rd-profile-redesign-register .rd-auth-social-area {
  flex:0 0 auto !important;
  gap:clamp(8px,2.5vw,13px) !important;
}
html.rd-profile-route.rd-profile-redesign-login .rd-auth-social-button, html.rd-profile-route.rd-profile-redesign-register .rd-auth-social-button {
  flex-basis:clamp(44px,6.7svh,48px) !important;
  width:clamp(44px,6.7svh,48px) !important;
  height:clamp(44px,6.7svh,48px) !important;
  padding:4px !important;
}
html.rd-profile-route.rd-profile-redesign-login .rd-auth-legal-footer, html.rd-profile-route.rd-profile-redesign-register .rd-auth-legal-footer {
  flex:0 0 auto !important;
  margin-top:0 !important;
  padding-top:clamp(8px,1.4svh,12px) !important;
  gap:6px !important;
}
html.rd-profile-route.rd-profile-redesign-login .rd-auth-legal-footer > div, html.rd-profile-route.rd-profile-redesign-register .rd-auth-legal-footer > div {
  gap:14px !important;
  padding:0 4px !important;
}
html.rd-profile-route.rd-profile-redesign-login .rd-auth-legal-footer a, html.rd-profile-route.rd-profile-redesign-register .rd-auth-legal-footer a {
  font-size:clamp(.78rem,2.8vw,.94rem) !important;
}

/* The Register screen has one extra password field. Preserve generous rhythm, using slightly tighter field spacing only there. */
html.rd-profile-route.rd-profile-redesign-register .rd-profile-method-form { gap:8px !important; }
html.rd-profile-route.rd-profile-redesign-register .rd-profile-field-group { gap:5px !important; }
html.rd-profile-route.rd-profile-redesign-register .rd-auth-input-wrap { min-height:45px !important; }
html.rd-profile-route.rd-profile-redesign-register .rd-profile-method-submit.rd-auth-submit { min-height:49px !important; }
html.rd-profile-route.rd-profile-redesign-register .rd-auth-account-switch { margin-top:10px !important; }
html.rd-profile-route.rd-profile-redesign-register .rd-auth-or-divider { margin-top:11px !important; margin-bottom:8px !important; }
html.rd-profile-route.rd-profile-redesign-register .rd-auth-social-button {
  flex-basis:clamp(42px,6.2svh,46px) !important;
  width:clamp(42px,6.2svh,46px) !important;
  height:clamp(42px,6.2svh,46px) !important;
}

/* Extra-short phones retain the no-scroll behavior without letting any field or button get clipped. */
@media (max-height:620px) {
  html.rd-profile-route.rd-profile-redesign-login .rd-profile-container, html.rd-profile-route.rd-profile-redesign-register .rd-profile-container {
    padding-top:5px !important;
    padding-bottom:5px !important;
  }
  html.rd-profile-route.rd-profile-redesign-login .rd-profile-auth-header, html.rd-profile-route.rd-profile-redesign-register .rd-profile-auth-header {
    min-height:32px !important;
    margin-bottom:8px !important;
  }
  html.rd-profile-route.rd-profile-redesign-login .rd-profile-method-back, html.rd-profile-route.rd-profile-redesign-register .rd-profile-method-back {
    min-height:31px !important;
  }
  html.rd-profile-route.rd-profile-redesign-login .rd-profile-auth-design-heading, html.rd-profile-route.rd-profile-redesign-register .rd-profile-auth-design-heading {
    margin-bottom:8px !important;
  }
  html.rd-profile-route.rd-profile-redesign-login .rd-profile-auth-design-heading h2, html.rd-profile-route.rd-profile-redesign-register .rd-profile-auth-design-heading h2 {
    font-size:clamp(1.85rem,8.4vw,2.45rem) !important;
  }
  html.rd-profile-route.rd-profile-redesign-login .rd-profile-method-form { gap:7px !important; }
  html.rd-profile-route.rd-profile-redesign-login .rd-auth-input-wrap { min-height:42px !important; }
  html.rd-profile-route.rd-profile-redesign-login .rd-profile-method-submit.rd-auth-submit { min-height:44px !important; }
  html.rd-profile-route.rd-profile-redesign-register .rd-profile-method-form { gap:5px !important; }
  html.rd-profile-route.rd-profile-redesign-register .rd-auth-input-wrap { min-height:39px !important; }
  html.rd-profile-route.rd-profile-redesign-register .rd-profile-method-submit.rd-auth-submit { min-height:42px !important; }
  html.rd-profile-route.rd-profile-redesign-login .rd-auth-or-divider, html.rd-profile-route.rd-profile-redesign-register .rd-auth-or-divider { margin-top:7px !important; margin-bottom:5px !important; }
  html.rd-profile-route.rd-profile-redesign-login .rd-auth-social-button, html.rd-profile-route.rd-profile-redesign-register .rd-auth-social-button {
    flex-basis:38px !important; width:38px !important; height:38px !important;
  }
  html.rd-profile-route.rd-profile-redesign-login .rd-auth-legal-footer, html.rd-profile-route.rd-profile-redesign-register .rd-auth-legal-footer { padding-top:5px !important; }
}



/* Source Blogger style block: line 27366, id=rd-profile-category-overlay-hunt-224 */

  html.rd-profile-overlay-open, html.rd-profile-overlay-open body {
    overflow:hidden !important;
    overscroll-behavior:none !important;
  }
  #rd-profile-overlay-hunt224 {
    position:fixed !important;
    inset:0 !important;
    z-index:100900 !important;
    display:block !important;
    width:100vw !important;
    height:100vh !important;
    height:100dvh !important;
    margin:0 !important;
    padding:0 !important;
    overflow:hidden !important;
    background:#fffaf4 !important;
    opacity:1;
    transform:translate3d(0,0,0);
    contain:layout paint size;
    -webkit-tap-highlight-color:transparent;
  }
  #rd-profile-overlay-hunt224 iframe {
    display:block !important;
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100vh !important;
    height:100svh !important;
    height:100dvh !important;
    min-width:0 !important;
    min-height:0 !important;
    max-width:none !important;
    max-height:none !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    background:#fffaf4 !important;
    overflow:hidden !important;
  }
  @media (prefers-reduced-motion:reduce) {
    #rd-profile-overlay-hunt224 { transition:none !important; }
  }
  /* In overlay context the X remains available on the Welcome/Profile home, including signed-in state. */
  html.rd-profile-route.rd-profile-overlay-route.rd-profile-redesign-entry:not(.rd-profile-redesign-login):not(.rd-profile-redesign-register) .rd-profile-close-button {
    position:absolute !important;
    top:clamp(8px,1.6svh,14px) !important;
    right:clamp(10px,3vw,20px) !important;
    z-index:20 !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:36px !important;
    height:36px !important;
    min-width:36px !important;
    min-height:36px !important;
    padding:0 !important;
    border:1px solid #dfe7f0 !important;
    border-radius:50% !important;
    background:#fff !important;
    color:#17304c !important;
    box-shadow:0 2px 8px rgba(37,67,100,.10) !important;
    cursor:pointer !important;
    -webkit-tap-highlight-color:transparent;
  }
  html.rd-profile-route.rd-profile-overlay-route.rd-profile-redesign-entry:not(.rd-profile-redesign-login):not(.rd-profile-redesign-register) .rd-profile-close-button svg {
    display:block !important;
    width:19px !important;
    height:19px !important;
    fill:none !important;
    stroke:currentColor !important;
    stroke-width:2.1 !important;
    stroke-linecap:round !important;
  }


/* Source Blogger style block: line 27789, id=rd-profile-v16-viewport-integrity */

/* RD V02 — HUNT 226: constrained-viewport layout integrity.
   Isolated to Profile Login/Register when the actual iframe viewport is short.
   In normal-height phones the existing composition and spacing remain unchanged.
   In floating/split-screen views, natural document flow replaces forced clipping. */
@media (max-height:700px) {
  html.rd-profile-route.rd-profile-overlay-route.rd-profile-redesign-login, html.rd-profile-route.rd-profile-overlay-route.rd-profile-redesign-register {
    height:auto !important;
    min-height:100% !important;
    overflow-x:hidden !important;
    overflow-y:auto !important;
    scroll-padding-bottom:18px;
  }
  html.rd-profile-route.rd-profile-overlay-route.rd-profile-redesign-login body, html.rd-profile-route.rd-profile-overlay-route.rd-profile-redesign-register body {
    height:auto !important;
    min-height:100svh !important;
    overflow-x:hidden !important;
    overflow-y:auto !important;
  }
  html.rd-profile-route.rd-profile-overlay-route.rd-profile-redesign-login .rd-profile-shell, html.rd-profile-route.rd-profile-overlay-route.rd-profile-redesign-register .rd-profile-shell {
    height:auto !important;
    min-height:100svh !important;
    max-height:none !important;
    overflow:visible !important;
  }
  html.rd-profile-route.rd-profile-overlay-route.rd-profile-redesign-login .rd-profile-container, html.rd-profile-route.rd-profile-overlay-route.rd-profile-redesign-register .rd-profile-container {
    height:auto !important;
    min-height:100svh !important;
    max-height:none !important;
    overflow:visible !important;
    padding-bottom:max(22px, env(safe-area-inset-bottom, 0px)) !important;
  }
  html.rd-profile-route.rd-profile-overlay-route.rd-profile-redesign-login .rd-profile-method-panel.is-visible, html.rd-profile-route.rd-profile-overlay-route.rd-profile-redesign-register .rd-profile-method-panel.is-visible {
    height:auto !important;
    min-height:100svh !important;
    max-height:none !important;
    overflow:visible !important;
    justify-content:flex-start !important;
    flex:0 0 auto !important;
    gap:0 !important;
  }
  html.rd-profile-route.rd-profile-overlay-route.rd-profile-redesign-login .rd-profile-auth-header, html.rd-profile-route.rd-profile-overlay-route.rd-profile-redesign-register .rd-profile-auth-header, html.rd-profile-route.rd-profile-overlay-route.rd-profile-redesign-login .rd-profile-auth-design-heading, html.rd-profile-route.rd-profile-overlay-route.rd-profile-redesign-register .rd-profile-auth-design-heading, html.rd-profile-route.rd-profile-overlay-route.rd-profile-redesign-login .rd-profile-method-form, html.rd-profile-route.rd-profile-overlay-route.rd-profile-redesign-register .rd-profile-method-form, html.rd-profile-route.rd-profile-overlay-route.rd-profile-redesign-login .rd-auth-account-switch, html.rd-profile-route.rd-profile-overlay-route.rd-profile-redesign-register .rd-auth-account-switch, html.rd-profile-route.rd-profile-overlay-route.rd-profile-redesign-login .rd-auth-or-divider, html.rd-profile-route.rd-profile-overlay-route.rd-profile-redesign-register .rd-auth-or-divider, html.rd-profile-route.rd-profile-overlay-route.rd-profile-redesign-login .rd-auth-social-area, html.rd-profile-route.rd-profile-overlay-route.rd-profile-redesign-register .rd-auth-social-area, html.rd-profile-route.rd-profile-overlay-route.rd-profile-redesign-login .rd-auth-legal-footer, html.rd-profile-route.rd-profile-overlay-route.rd-profile-redesign-register .rd-auth-legal-footer {
    flex-shrink:0 !important;
    position:relative !important;
    transform:none;
  }
  html.rd-profile-route.rd-profile-overlay-route.rd-profile-redesign-login .rd-profile-method-form, html.rd-profile-route.rd-profile-overlay-route.rd-profile-redesign-register .rd-profile-method-form {
    flex:0 0 auto !important;
  }
  html.rd-profile-route.rd-profile-overlay-route.rd-profile-redesign-login .rd-auth-account-switch, html.rd-profile-route.rd-profile-overlay-route.rd-profile-redesign-register .rd-auth-account-switch {
    margin-top:14px !important;
  }
  html.rd-profile-route.rd-profile-overlay-route.rd-profile-redesign-login .rd-auth-or-divider, html.rd-profile-route.rd-profile-overlay-route.rd-profile-redesign-register .rd-auth-or-divider {
    margin-top:14px !important;
    margin-bottom:10px !important;
  }
  html.rd-profile-route.rd-profile-overlay-route.rd-profile-redesign-login .rd-auth-legal-footer, html.rd-profile-route.rd-profile-overlay-route.rd-profile-redesign-register .rd-auth-legal-footer {
    margin-top:20px !important;
  }
}


/* Source Blogger style block: line 27853, id=inline */

  #rd-profile-shell .rd-profile-dashboard-photo {
    width:76px; height:76px; flex:0 0 76px; object-fit:cover; border-radius:50%;
    border:2px solid #C99A3D; background:#fff; box-sizing:border-box;
    box-shadow:0 5px 18px rgba(18,18,18,.12); margin:0 18px 0 0;
  }
  @media (max-width:700px) {
    #rd-profile-shell .rd-profile-dashboard-photo { width:64px; height:64px; flex-basis:64px; margin-right:12px; }
  }
  @media (max-width:360px) {
    #rd-profile-shell .rd-profile-dashboard-photo { width:56px; height:56px; flex-basis:56px; margin-right:9px; }
  }


/* Source Blogger style block: line 28019, id=inline */

  #rd-profile-setup-shell .rd-preset-avatar-panel {width:100%;max-width:520px;margin:14px auto 0;padding:14px;border:1px solid #e8dfcd;border-radius:16px;background:linear-gradient(145deg,#fffdf8,#fff);box-sizing:border-box}
  #rd-profile-setup-shell .rd-preset-avatar-heading {font-size:13px;font-weight:800;letter-spacing:.02em;color:#28251f;margin:0 0 11px}
  #rd-profile-setup-shell .rd-preset-avatar-categories {display:flex;gap:7px;overflow-x:auto;padding:1px 1px 8px;scrollbar-width:thin}
  #rd-profile-setup-shell .rd-preset-avatar-category {flex:0 0 auto;border:1px solid #e7dfd0;border-radius:999px;background:#fff;color:#514a3e;padding:8px 11px;font:600 11px/1.2 inherit;cursor:pointer}
  #rd-profile-setup-shell .rd-preset-avatar-category.is-active {border-color:#c99a3d;background:#fff6df;color:#5b4214;box-shadow:0 0 0 1px rgba(201,154,61,.12)}
  #rd-profile-setup-shell .rd-preset-avatar-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:5px 0}
  #rd-profile-setup-shell .rd-preset-avatar-option {position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0;border:1px solid transparent;border-radius:12px;background:transparent;padding:7px 3px;color:#363129;cursor:pointer}
  #rd-profile-setup-shell .rd-preset-avatar-option img {display:block;width:56px;height:56px;max-width:100%;border-radius:50%;object-fit:cover;border:2px solid #eee4d0;box-sizing:border-box;background:#f8f5ef}
  #rd-profile-setup-shell .rd-preset-avatar-option span {font-size:10px;line-height:1.25;text-align:center;overflow-wrap:anywhere}
  #rd-profile-setup-shell .rd-preset-avatar-option[aria-selected='true'] {border-color:#c99a3d;background:#fff8e8;box-shadow:0 0 0 1px rgba(201,154,61,.15)}
  #rd-profile-setup-shell .rd-preset-avatar-option[aria-selected='true'] img {border-color:#c99a3d}
  #rd-profile-setup-shell .rd-preset-avatar-status {margin:9px 0 0;color:#716a5e;font-size:11px;line-height:1.5}
  #rd-profile-setup-shell .rd-preset-avatar-clear {display:inline-flex;margin-top:8px;border:0;background:transparent;color:#78602e;text-decoration:underline;text-underline-offset:3px;font-size:11px;font-weight:700;cursor:pointer;padding:4px 0}
  @media(max-width:360px){#rd-profile-setup-shell .rd-preset-avatar-panel {padding:10px}#rd-profile-setup-shell .rd-preset-avatar-grid {grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}#rd-profile-setup-shell .rd-preset-avatar-option img {width:52px;height:52px}}


/* Source Blogger style block: line 28119, id=inline */

  #rd-profile-setup-shell .rd-profile-cover-panel {width:100%;max-width:520px;margin:16px auto;padding:14px;border:1px solid #e8dfcd;border-radius:16px;background:linear-gradient(145deg,#fffdf8,#fff);box-sizing:border-box}
  #rd-profile-setup-shell .rd-profile-cover-heading {font-size:14px;font-weight:800;color:#28251f;margin-bottom:5px}
  #rd-profile-setup-shell .rd-profile-cover-description {font-size:11px;line-height:1.5;color:#716a5e;margin:0 0 10px}
  #rd-profile-setup-shell .rd-profile-cover-preview {height:104px;border-radius:12px;display:flex;align-items:flex-end;justify-content:flex-start;padding:12px;box-sizing:border-box;background:linear-gradient(125deg,#8e1b28,#d8a43c 58%,#f6e7b6);background-position:center;background-size:cover;color:#fff;font-size:11px;font-weight:900;letter-spacing:.16em;text-shadow:0 1px 5px #0008;overflow:hidden}
  #rd-profile-setup-shell .rd-profile-cover-categories {display:flex;gap:6px;overflow-x:auto;padding:10px 0 7px;scrollbar-width:thin}
  #rd-profile-setup-shell .rd-profile-cover-category {flex:0 0 auto;border:1px solid #e7dfd0;border-radius:999px;background:#fff;color:#514a3e;padding:7px 10px;font:600 10px/1.2 Arial,sans-serif;cursor:pointer}
  #rd-profile-setup-shell .rd-profile-cover-category.is-active {border-color:#c99a3d;background:#fff6df;color:#5b4214}
  #rd-profile-setup-shell .rd-profile-cover-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  #rd-profile-setup-shell .rd-profile-cover-option {min-width:0;height:66px;border:2px solid transparent;border-radius:9px;position:relative;display:flex;align-items:flex-end;padding:7px;box-sizing:border-box;color:#fff;font-size:10px;font-weight:800;text-align:left;text-shadow:0 1px 4px #0008;cursor:pointer;background-size:cover;background-position:center;overflow:hidden}
  #rd-profile-setup-shell .rd-profile-cover-option[aria-selected='true'] {border-color:#c99a3d;box-shadow:0 0 0 2px #c99a3d33}
  #rd-profile-setup-shell .rd-profile-cover-option[aria-selected='true']:after {content:'✓';position:absolute;right:6px;top:5px;width:18px;height:18px;border-radius:50%;display:grid;place-items:center;background:#c99a3d;color:#fff;text-shadow:none}
  #rd-profile-setup-shell .rd-profile-cover-actions {display:flex;gap:8px;flex-wrap:wrap;margin-top:11px}
  #rd-profile-setup-shell .rd-profile-cover-upload, #rd-profile-setup-shell .rd-profile-cover-clear {display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:7px 11px;border:1px solid #d8c69d;border-radius:9px;background:#fff;color:#624b1e;font-size:11px;font-weight:800;cursor:pointer;box-sizing:border-box}
  #rd-profile-setup-shell .rd-profile-cover-status {font-size:11px;line-height:1.5;color:#716a5e;margin:9px 0 0}
  .rd-profile-dashboard-cover {display:none;width:100%;min-height:88px;border-radius:16px 16px 0 0;margin:0 auto 12px;display:flex;align-items:flex-end;padding:12px 16px;box-sizing:border-box;background:linear-gradient(125deg,#8e1b28,#d8a43c 58%,#f6e7b6);background-size:cover;background-position:center;color:#fff;font-size:10px;font-weight:900;letter-spacing:.16em;text-shadow:0 1px 5px #0008;overflow:hidden}
  html.rd-firebase-authenticated .rd-profile-dashboard-cover {display:flex}
  .rd-profile-dashboard-cover span {opacity:.9}
  @media(max-width:480px){.rd-profile-dashboard-cover {min-height:72px;border-radius:12px 12px 0 0;margin-bottom:10px}#rd-profile-setup-shell .rd-profile-cover-preview {height:88px}}


/* Source Blogger style block: line 28196, id=rd-profile-dashboard-v5-styles */

/* RD Profile Phase 5 — isolated responsive dashboard layer. */
#rd-profile-dashboard-v5 {display:none;width:100%;max-width:1080px;margin:24px auto 0;padding:clamp(16px,3vw,30px);box-sizing:border-box;border:1px solid rgba(201,154,61,.22);border-radius:26px;background:linear-gradient(145deg,#fffdf8 0%,#fff 52%,#faf6ec 100%);color:#26231e;box-shadow:0 18px 48px rgba(55,40,12,.08)}
html.rd-profile-authenticated-home #rd-profile-dashboard-v5 {display:block}
html.rd-profile-authenticated-home #rd-profile-entry-card {display:none!important}
html.rd-profile-authenticated-home #rd-profile-dashboard-v5[aria-hidden='true'] {visibility:hidden}
#rd-profile-dashboard-v5 * {box-sizing:border-box}
.rd-dashboard-v5-heading {display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}
.rd-dashboard-v5-eyebrow {display:block;color:#a87b25;font-size:11px;font-weight:800;letter-spacing:.17em;margin-bottom:7px}
.rd-dashboard-v5-heading h2 {font-size:clamp(24px,3.2vw,34px);line-height:1.15;margin:0;color:#25221d;font-weight:800}
.rd-dashboard-v5-heading p {margin:8px 0 0;color:#777064;font-size:14px;line-height:1.5}
.rd-dashboard-v5-edit {flex:0 0 auto;text-decoration:none!important;border:1px solid #d8bd7e;border-radius:999px;padding:10px 16px;color:#775719!important;background:#fff;font-weight:750;font-size:13px}
.rd-dashboard-v5-identity {display:flex;align-items:center;gap:16px;padding:18px;border:1px solid #eee4d1;border-radius:20px;background:#fff;margin-bottom:30px;min-width:0}
.rd-dashboard-v5-avatar-wrap {width:76px;height:76px;position:relative;flex:0 0 76px;border-radius:50%;padding:3px;background:linear-gradient(135deg,#f6dc87,#b78125,#f8e7ad);box-shadow:0 5px 16px rgba(169,125,37,.16)}
#rd-dashboard-v5-avatar {display:none;width:100%;height:100%;object-fit:cover;border-radius:50%;background:#f5efe2}
.rd-dashboard-v5-avatar-fallback {display:flex;width:100%;height:100%;align-items:center;justify-content:center;border-radius:50%;background:#f7f0e0;color:#9a7122;font-size:22px;font-weight:850;letter-spacing:.05em}
.rd-dashboard-v5-greeting {margin:0 0 5px;font-size:clamp(19px,2.3vw,24px);font-weight:800;color:#29251e;overflow-wrap:anywhere}
.rd-dashboard-v5-email {margin:0 0 8px;color:#766f63;font-size:13px;overflow-wrap:anywhere}
.rd-dashboard-v5-status {display:inline-block;color:#32744c;font-size:11px;font-weight:750;letter-spacing:.02em}
.rd-dashboard-v5-section {margin-top:28px}
.rd-dashboard-v5-section-head {margin-bottom:14px}
.rd-dashboard-v5-section-head h3 {margin:0;color:#2b271f;font-size:19px;font-weight:800}
.rd-dashboard-v5-section-head p {margin:6px 0 0;color:#827a6e;font-size:12px;line-height:1.55}
.rd-dashboard-v5-division-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.rd-dashboard-v5-division {display:flex;flex-direction:column;min-width:0;min-height:178px;padding:17px 15px;border:1px solid #eee5d4;border-radius:18px;background:#fff;text-decoration:none!important;color:#2d291f!important;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.rd-dashboard-v5-division:hover {transform:translateY(-2px);border-color:#d8bd7e;box-shadow:0 10px 22px rgba(63,47,18,.07)}
.rd-dashboard-v5-icon {display:flex;width:36px;height:36px;align-items:center;justify-content:center;border-radius:12px;background:#f8f0dc;color:#9b7020;font-size:22px;margin-bottom:13px}
.rd-dashboard-v5-card-title {font-size:14px;font-weight:800;line-height:1.35}
.rd-dashboard-v5-card-copy {margin-top:7px;color:#80786b;font-size:11px;line-height:1.5;flex:1}
.rd-dashboard-v5-card-link {display:flex;justify-content:space-between;align-items:center;margin-top:13px;padding-top:10px;border-top:1px solid #f0eadf;color:#8b651e;font-size:11px;font-weight:800}
.rd-dashboard-v5-saved-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.rd-dashboard-v5-saved-card {display:flex;flex-direction:column;min-width:0;min-height:145px;padding:15px;border:1px solid #eee5d4;border-radius:17px;background:#fff;text-decoration:none!important;color:#2b271f!important}
.rd-dashboard-v5-saved-card[href]:hover {border-color:#d8bd7e;box-shadow:0 8px 18px rgba(63,47,18,.06)}
.rd-dashboard-v5-saved-symbol {font-size:21px;line-height:1;color:#b58a36;margin-bottom:13px}
.rd-dashboard-v5-saved-name {font-size:12px;font-weight:800;line-height:1.4}
.rd-dashboard-v5-count {font-size:15px;color:#87621e;margin-top:9px;overflow-wrap:anywhere}
.rd-dashboard-v5-saved-note {margin-top:5px;color:#8a8275;font-size:10px;line-height:1.45}
.rd-dashboard-v5-saved-unavailable {background:#faf9f6;border-style:dashed}
.rd-dashboard-v5-saved-unavailable .rd-dashboard-v5-count {font-size:12px;color:#80786b}
#rd-dashboard-v5-saved-status {display:block;margin:9px 0 0;color:#766f63;font-size:11px}
.rd-dashboard-v5-actions {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.rd-dashboard-v5-actions>a {display:flex;align-items:center;gap:12px;min-width:0;padding:14px;border:1px solid #eee5d4;border-radius:15px;background:#fff;color:#302b22!important;text-decoration:none!important}
.rd-dashboard-v5-actions>a>span:first-child {display:flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;height:36px;border-radius:12px;background:#f8f0dc;color:#9b7020;font-size:20px}
.rd-dashboard-v5-actions>a>span:nth-child(2) {display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}
.rd-dashboard-v5-actions b {font-size:12px;font-weight:800}
.rd-dashboard-v5-actions small {color:#827a6e;font-size:10px;line-height:1.45}
.rd-dashboard-v5-actions i {font-style:normal;color:#a67a25;font-size:18px}
.rd-dashboard-v5-actions .rd-dashboard-v5-danger-link>span:first-child {background:#fbefeb;color:#a74e39}
@media(max-width:900px){.rd-dashboard-v5-division-grid, .rd-dashboard-v5-saved-grid {grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){#rd-profile-dashboard-v5 {margin:14px auto 0;padding:15px;border-radius:21px}.rd-dashboard-v5-heading {align-items:flex-start;gap:10px}.rd-dashboard-v5-heading p {font-size:12px}.rd-dashboard-v5-edit {padding:9px 12px;font-size:12px}.rd-dashboard-v5-identity {padding:14px;gap:12px;margin-bottom:24px}.rd-dashboard-v5-avatar-wrap {width:62px;height:62px;flex-basis:62px}.rd-dashboard-v5-section {margin-top:23px}.rd-dashboard-v5-section-head h3 {font-size:17px}.rd-dashboard-v5-division-grid {gap:9px}.rd-dashboard-v5-division {padding:14px 12px;min-height:174px;border-radius:15px}.rd-dashboard-v5-card-title {font-size:13px}.rd-dashboard-v5-card-copy {font-size:10px}.rd-dashboard-v5-saved-grid {gap:9px}.rd-dashboard-v5-saved-card {padding:13px;min-height:137px}.rd-dashboard-v5-actions {grid-template-columns:minmax(0,1fr);gap:8px}.rd-dashboard-v5-actions>a {padding:12px}}
@media(prefers-reduced-motion:reduce){.rd-dashboard-v5-division {transition:none}}

/* RD Profile Phase 5.1: authenticated-home dashboard visibility correction.
   The legacy feature-list has an older !important display rule; this later,
   state-scoped rule replaces that list with the new dashboard on home only. */
html.rd-profile-redesign-entry.rd-firebase-authenticated:not(.rd-profile-redesign-login):not(.rd-profile-redesign-register):not(.rd-profile-setup-route):not(.rd-profile-personal-route):not(.rd-profile-account-route):not(.rd-profile-login-route):not(.rd-profile-security-route):not(.rd-profile-saved-route):not(.rd-profile-saved-products-route):not(.rd-profile-saved-articles-route):not(.rd-profile-signout-route) #rd-profile-dashboard-v5 {display:block!important;visibility:visible!important}
html.rd-profile-redesign-entry.rd-firebase-authenticated:not(.rd-profile-redesign-login):not(.rd-profile-redesign-register):not(.rd-profile-setup-route):not(.rd-profile-personal-route):not(.rd-profile-account-route):not(.rd-profile-login-route):not(.rd-profile-security-route):not(.rd-profile-saved-route):not(.rd-profile-saved-products-route):not(.rd-profile-saved-articles-route):not(.rd-profile-signout-route) #rd-profile-entry-card {display:none!important}
html.rd-profile-redesign-entry.rd-firebase-authenticated:not(.rd-profile-redesign-login):not(.rd-profile-redesign-register):not(.rd-profile-setup-route):not(.rd-profile-personal-route):not(.rd-profile-account-route):not(.rd-profile-login-route):not(.rd-profile-security-route):not(.rd-profile-saved-route):not(.rd-profile-saved-products-route):not(.rd-profile-saved-articles-route):not(.rd-profile-signout-route) .rd-profile-feature-list {display:none!important}


/* Source Blogger style block: line 28308, id=rd-profile-dashboard-v6-styles */

/* Phase 6: explicit refresh and accessible state feedback; isolated from existing systems. */
#rd-dashboard-v6-refresh {display:inline-flex;align-items:center;gap:7px;margin-top:10px;border:1px solid #d8bd7e;border-radius:999px;background:#fffdf8;color:#775719;padding:8px 12px;font:700 11px/1.2 inherit;cursor:pointer}
#rd-dashboard-v6-refresh:focus-visible {outline:2px solid #9b7020;outline-offset:3px}
#rd-dashboard-v6-state {margin:8px 0 0;color:#766f63;font-size:11px;line-height:1.5}


/* Source Blogger style block: line 28343, id=rd-profile-dashboard-v7-styles */

/* Phase 7: clear empty states and keyboard interaction; isolated to the RD dashboard. */
#rd-profile-dashboard-v5 a:focus-visible, #rd-profile-dashboard-v5 button:focus-visible {outline:2px solid #9b7020;outline-offset:3px}
#rd-profile-dashboard-v5 [data-rd-v7-empty='true'] {color:#80786b}
#rd-profile-dashboard-v5 .rd-dashboard-v7-empty-hint {display:block;margin-top:5px;color:#80786b;font-size:10px;line-height:1.45}

/* RD Profile visual cleanup — HUNT 01.
   Remove only the decorative red/gold top and bottom shell overlays.
   Keep the Profile cover, logo, welcome content, and existing controls. */
html.rd-profile-redesign-entry .rd-profile-shell::before,
html.rd-profile-redesign-entry .rd-profile-shell::after {
  display:none !important;
  content:none !important;
  background:none !important;
}

/* Keep the authenticated dashboard focused on headings, names and controls.
   Dynamic saved-state messages remain visible and continue to be populated. */
html.rd-profile-route #rd-profile-dashboard-v5 #rd-dashboard-v5-subtitle,
html.rd-profile-route #rd-profile-dashboard-v5 .rd-dashboard-v5-section-head > p,
html.rd-profile-route #rd-profile-dashboard-v5 .rd-dashboard-v5-card-copy,
html.rd-profile-route #rd-profile-dashboard-v5 .rd-dashboard-v5-actions small {
  display:none !important;
}

/* Fail-safe: never show external social destinations if the cleanup script is delayed. */
html.rd-profile-route #rd-profile-dashboard-v5 section[aria-labelledby='rd-dashboard-v5-connect-title'] .rd-dashboard-v5-actions a[target='_blank'] {
  display:none !important;
}

/* RD User Profile visual cleanup — HUNT 02.
   Remove the marked logo/tagline/welcome panel only on the authenticated
   Profile dashboard. Keep the profile cover banner, dashboard, avatar,
   division cards, routes, and all controls intact. */
html.rd-profile-route.rd-profile-authenticated-home .rd-profile-hero {
  padding:0 !important;
  margin:0 !important;
}
html.rd-profile-route.rd-profile-authenticated-home .rd-profile-home-logo-link,
html.rd-profile-route.rd-profile-authenticated-home .rd-profile-home-tagline,
html.rd-profile-route.rd-profile-authenticated-home .rd-profile-home-welcome {
  display:none !important;
  animation:none !important;
}

/* Auth-pending state is applied synchronously by the early route bridge.
   Keep the pre-auth guest screen hidden until Firebase's settled callback
   identifies the real guest/authenticated state, eliminating first flash. */
html.rd-profile-auth-pending.rd-profile-redesign-entry:not(.rd-profile-redesign-login):not(.rd-profile-redesign-register) #rd-profile-shell {
  visibility:hidden !important;
}

/* Strong route-scoped removal for the old decorative red/gold shell ribbons.
   The Profile cover itself is a separate element and remains unchanged. */
html.rd-profile-route #rd-profile-shell::before,
html.rd-profile-route #rd-profile-shell::after {
  content:none !important;
  display:none !important;
  background:none !important;
  clip-path:none !important;
}


/* RD Profile setup refinement — centered avatar, independent media updates,
   and a full-width cover row before the personal-details form. */
html.rd-profile-setup-route #rd-profile-setup-shell .rd-profile-setup-card {
  width:100% !important;
  max-width:940px !important;
  margin:0 auto !important;
  box-sizing:border-box !important;
}
html.rd-profile-setup-route #rd-profile-setup-shell .rd-profile-photo-box {
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  width:100% !important;
  margin:4px auto 20px !important;
  padding:0 !important;
  text-align:center !important;
}
html.rd-profile-setup-route #rd-profile-setup-shell .rd-profile-photo-trigger {
  margin:0 auto 12px !important;
}
html.rd-profile-setup-route #rd-profile-setup-shell .rd-preset-avatar-panel {
  width:100% !important;
  max-width:560px !important;
  margin:0 auto !important;
}
html.rd-profile-setup-route #rd-profile-setup-shell .rd-profile-setup-form {
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  align-items:start !important;
  width:100% !important;
  min-width:0 !important;
  gap:16px !important;
}
html.rd-profile-setup-route #rd-profile-setup-shell .rd-profile-setup-form > #rd-profile-cover-panel {
  grid-column:1 / -1 !important;
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  margin:0 0 4px !important;
}
html.rd-profile-setup-route #rd-profile-setup-shell .rd-profile-setup-form > .rd-profile-address-section,
html.rd-profile-setup-route #rd-profile-setup-shell .rd-profile-setup-form > #rd-profile-setup-submit,
html.rd-profile-setup-route #rd-profile-setup-shell .rd-profile-setup-form > #rd-profile-setup-status {
  grid-column:1 / -1 !important;
  width:100% !important;
  min-width:0 !important;
}
html.rd-profile-setup-route #rd-profile-setup-shell .rd-profile-setup-field,
html.rd-profile-setup-route #rd-profile-setup-shell .rd-profile-address-section,
html.rd-profile-setup-route #rd-profile-setup-shell .rd-profile-address-grid {
  min-width:0 !important;
}
html.rd-profile-setup-route #rd-profile-setup-shell .rd-profile-media-update-row {
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
  width:100% !important;
  margin:12px auto 0 !important;
}
html.rd-profile-setup-route #rd-profile-setup-shell .rd-profile-media-update {
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-width:132px !important;
  min-height:40px !important;
  margin:0 !important;
  padding:9px 19px !important;
  border:1px solid #c99a3d !important;
  border-radius:10px !important;
  background:linear-gradient(180deg,#d9ad56 0%,#bd8b2f 100%) !important;
  color:#fff !important;
  font:700 13px/1.2 Arial,sans-serif !important;
  letter-spacing:.01em !important;
  text-align:center !important;
  box-shadow:0 5px 12px rgba(160,117,35,.16) !important;
  cursor:pointer !important;
  -webkit-tap-highlight-color:transparent;
}
html.rd-profile-setup-route #rd-profile-setup-shell .rd-profile-media-update:hover {
  filter:brightness(1.035);
}
html.rd-profile-setup-route #rd-profile-setup-shell .rd-profile-media-update:active {
  transform:translateY(1px);
}
html.rd-profile-setup-route #rd-profile-setup-shell .rd-profile-media-update:disabled,
html.rd-profile-setup-route #rd-profile-setup-shell .rd-profile-media-update[aria-busy='true'] {
  opacity:.68 !important;
  cursor:wait !important;
  box-shadow:none !important;
}
html.rd-profile-setup-route #rd-profile-setup-shell .rd-preset-avatar-status[data-rd-status='success'],
html.rd-profile-setup-route #rd-profile-setup-shell .rd-profile-cover-status[data-rd-status='success'] {
  color:#24734a !important;
  font-weight:700 !important;
}
html.rd-profile-setup-route #rd-profile-setup-shell .rd-preset-avatar-status[data-rd-status='error'],
html.rd-profile-setup-route #rd-profile-setup-shell .rd-profile-cover-status[data-rd-status='error'] {
  color:#a43a32 !important;
  font-weight:650 !important;
}
html.rd-profile-setup-route #rd-profile-setup-shell .rd-preset-avatar-status[data-rd-status='loading'],
html.rd-profile-setup-route #rd-profile-setup-shell .rd-profile-cover-status[data-rd-status='loading'] {
  color:#806126 !important;
  font-weight:650 !important;
}

@media (min-width:701px) and (max-width:980px) {
  html.rd-profile-setup-route #rd-profile-setup-shell .rd-profile-setup-card {
    max-width:820px !important;
    padding:24px !important;
  }
  html.rd-profile-setup-route #rd-profile-setup-shell .rd-profile-address-grid {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}
@media (max-width:700px) {
  html.rd-profile-setup-route #rd-profile-setup-shell .rd-profile-setup-card {
    max-width:100% !important;
    padding:16px !important;
  }
  html.rd-profile-setup-route #rd-profile-setup-shell .rd-profile-setup-form {
    grid-template-columns:minmax(0,1fr) !important;
    gap:14px !important;
  }
  html.rd-profile-setup-route #rd-profile-setup-shell .rd-profile-setup-form > #rd-profile-cover-panel,
  html.rd-profile-setup-route #rd-profile-setup-shell .rd-profile-setup-form > .rd-profile-address-section,
  html.rd-profile-setup-route #rd-profile-setup-shell .rd-profile-setup-form > #rd-profile-setup-submit,
  html.rd-profile-setup-route #rd-profile-setup-shell .rd-profile-setup-form > #rd-profile-setup-status {
    grid-column:1 / -1 !important;
  }
  html.rd-profile-setup-route #rd-profile-setup-shell .rd-profile-address-grid {
    grid-template-columns:minmax(0,1fr) !important;
  }
  html.rd-profile-setup-route #rd-profile-setup-shell .rd-preset-avatar-grid {
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  html.rd-profile-setup-route #rd-profile-setup-shell .rd-profile-media-update {
    width:100% !important;
    max-width:260px !important;
  }
}
