/* MARFA login v8: real logo, password eye, sign-up at the bottom. Follows the site day/night theme (gold). */
body.v7-ui .pm-exact-login .loginCard.marfa-v8{width:440px!important;max-width:calc(100vw - 24px)!important;padding:30px 34px 24px!important;text-align:center!important}
.marfa-v8 .v8-brand{display:flex;justify-content:center;margin:0 0 6px}.marfa-v8 .v8-brand img{width:150px;height:auto;max-height:84px;object-fit:contain;display:block}
body.v7-ui .pm-exact-login .marfa-v8 h1{margin:8px 0 4px!important;font-size:24px!important;font-weight:600!important;line-height:1.5!important}
body.v7-ui .pm-exact-login .marfa-v8>p{margin:0 0 18px!important;font-size:13px!important}
.marfa-v8 form{display:grid;gap:12px;text-align:start}
.marfa-v8 label{display:grid;gap:6px;font-size:12.5px;text-align:start}
.marfa-v8 input,.marfa-v8 select{width:100%;box-sizing:border-box;height:48px;padding:0 13px;border-radius:10px;font:inherit;font-size:15px;outline:none}
.marfa-v8 .passwordField{position:relative!important;display:block!important}.marfa-v8 .passwordField input{padding-inline-end:46px}
body.v7-ui .pm-exact-login .marfa-v8 .passwordEye{position:absolute!important;left:auto!important;right:auto!important;inset-inline-end:6px!important;top:50%!important;transform:translateY(-50%)!important;width:36px!important;height:36px!important;display:grid!important;place-items:center!important;border-radius:8px!important}
body.v7-ui .pm-exact-login .marfa-v8 .loginButton{height:52px!important;font-size:17px!important;line-height:1.4!important;border-radius:11px!important;margin-top:4px}
.marfa-v8 .auth-message{min-height:18px;font-size:13px;text-align:center}
.marfa-v8 .ar-link,.marfa-v8 .v8-link{display:block;width:100%;margin:10px 0 0;padding:6px;border:0!important;background:none!important;text-decoration:underline;cursor:pointer;font:inherit;font-size:13px;text-align:center}
.marfa-v8 .v8-switch{margin:14px 0 0;padding-top:14px;border-top:1px solid var(--v8-line);font-size:14px;text-align:center}
.marfa-v8 .v8-switch button{border:0;background:none;font:inherit;font-weight:800;cursor:pointer;text-decoration:none;padding:0 4px}
.marfa-v8 .auth-guest{margin:12px auto 2px;font-size:12.5px;opacity:.8}
.marfa-v8 .auth-privacy{margin-top:6px!important}
/* night (default) */
.marfa-v8{--v8-line:#3a3122;--v8-gold:#deba73;--v8-in:#110d07;--v8-inb:#413727;--v8-txt:#b9b4a9}
.marfa-v8 label{color:var(--v8-txt)}.marfa-v8 input,.marfa-v8 select{background:var(--v8-in);border:1px solid var(--v8-inb);color:#f1dca8}
.marfa-v8 input:focus,.marfa-v8 select:focus{border-color:var(--v8-gold);box-shadow:0 0 0 3px rgba(222,186,115,.16)}
.marfa-v8 .passwordEye{color:#a99a78}.marfa-v8 .ar-link,.marfa-v8 .v8-link,.marfa-v8 .v8-switch button{color:var(--v8-gold)}.marfa-v8 .v8-switch span{color:var(--v8-txt)}
body.v7-ui .pm-exact-login .marfa-v8 .loginButton{background:linear-gradient(#e6c47f,#d2a24a)!important;border:1px solid #e6c47f!important;color:#1b1206!important}
/* day */
html[data-theme="light"] .marfa-v8{--v8-line:#dccfae;--v8-gold:#8a5f17;--v8-in:#fffaf0;--v8-inb:#cdb98a;--v8-txt:#5c4a24}
html[data-theme="light"] body.v7-ui .pm-exact-login .loginCard.marfa-v8{background:linear-gradient(160deg,#fbf6ea,#f1e6cf)!important;border-color:#d8c79f!important;box-shadow:0 24px 70px rgba(120,90,30,.22)!important}
html[data-theme="light"] .marfa-v8 input,html[data-theme="light"] .marfa-v8 select{color:#3a2a0a}
html[data-theme="light"] body.v7-ui .pm-exact-login .marfa-v8 h1{color:#6b4709!important}
html[data-theme="light"] body.v7-ui .pm-exact-login .marfa-v8>p{color:#6e5b33!important}
html[data-theme="light"] body.v7-ui .pm-exact-login .marfa-v8 .loginButton{background:linear-gradient(#c99a4d,#a97a2c)!important;border-color:#a97a2c!important;color:#fff!important}
html[data-theme="light"] .marfa-v8 .passwordEye{color:#7a6538}
html[data-theme="light"] .marfa-v8 .auth-privacy{color:#8a7648!important}
@media(max-width:520px){body.v7-ui .pm-exact-login .loginCard.marfa-v8{padding:24px 20px 20px!important}}
.marfa-v8 .auth-guest,.marfa-v8 .auth-guest a,.marfa-v8 a.auth-guest{color:#e6c987!important;opacity:1!important}
.marfa-v8 .v8-link,.marfa-v8 .v8-link a{color:#f0d28a!important}
.marfa-v8 small,.marfa-v8 .auth-note,.marfa-v8 .loginNote{color:#cdbb92!important;opacity:1!important}
/* v8-6: login screen always dark (all themes) */
html body #login.pm-exact-login,html body #login{background:radial-gradient(ellipse 80% 60% at 50% 0%,#241a09 0%,#0a0805 55%,#050505 100%)!important}
html body #login .marfa-v8{background:linear-gradient(165deg,#1d1709,#100c06)!important;border:1px solid #4a381a!important;box-shadow:0 20px 60px #000c!important}
html body #login .marfa-v8 h1{color:#f0d28a!important}
html body #login .marfa-v8 p,html body #login .marfa-v8 label span,html body #login .marfa-v8 .v8-switch,html body #login .marfa-v8 .v8-switch span{color:#e2d3ae!important}
html body #login .marfa-v8 input{background:#0d0905!important;color:#f3e6c4!important;border:1px solid #5a4420!important}
html body #login .marfa-v8 input::placeholder{color:#8d7c58!important}
html body #login .marfa-v8 .v8-switch button,html body #login .marfa-v8 .v8-link,html body #login .marfa-v8 a{color:#f0d28a!important}
html body #login .marfa-v8 #marfaEnterSite.auth-guest{display:block;width:100%;margin:14px 0 4px;padding:11px 14px;border-radius:12px;background:transparent!important;border:1px solid #b58a3a!important;color:#f0d28a!important;opacity:1!important;text-decoration:none!important;font-size:14px;font-weight:600;cursor:pointer}
html body #login .marfa-v8 #marfaEnterSite.auth-guest:hover{background:#2a1f0e!important}
html body #login .marfa-v8 .auth-privacy{display:block;color:#cdbb92!important;opacity:1!important;margin-top:10px}
html body #login .marfa-v8 hr,html body #login .marfa-v8 .v8-switch{border-color:#3d2f16!important}
html[data-theme="light"] body #login.pm-exact-login,html[data-theme="light"] body #login{background:radial-gradient(ellipse 80% 60% at 50% 0%,#241a09 0%,#0a0805 55%,#050505 100%)!important}
html[data-theme="light"] body #login .marfa-v8{background:linear-gradient(165deg,#1d1709,#100c06)!important;border:1px solid #4a381a!important;box-shadow:0 20px 60px #000c!important}
html[data-theme="light"] body #login .marfa-v8 h1{color:#f0d28a!important}
html[data-theme="light"] body #login .marfa-v8 p,html[data-theme="light"] body #login .marfa-v8 label span,html[data-theme="light"] body #login .marfa-v8 .v8-switch,html[data-theme="light"] body #login .marfa-v8 .v8-switch span{color:#e2d3ae!important}
html[data-theme="light"] body #login .marfa-v8 input{background:#0d0905!important;color:#f3e6c4!important;border:1px solid #5a4420!important}
html[data-theme="light"] body #login .marfa-v8 input::placeholder{color:#8d7c58!important}
html[data-theme="light"] body #login .marfa-v8 .v8-switch button,html[data-theme="light"] body #login .marfa-v8 .v8-link,html[data-theme="light"] body #login .marfa-v8 a{color:#f0d28a!important}
html[data-theme="light"] body #login .marfa-v8 #marfaEnterSite.auth-guest{display:block;width:100%;margin:14px 0 4px;padding:11px 14px;border-radius:12px;background:transparent!important;border:1px solid #b58a3a!important;color:#f0d28a!important;opacity:1!important;text-decoration:none!important;font-size:14px;font-weight:600;cursor:pointer}
html[data-theme="light"] body #login .marfa-v8 #marfaEnterSite.auth-guest:hover{background:#2a1f0e!important}
html[data-theme="light"] body #login .marfa-v8 .auth-privacy{display:block;color:#cdbb92!important;opacity:1!important;margin-top:10px}
html[data-theme="light"] body #login .marfa-v8 hr,html[data-theme="light"] body #login .marfa-v8 .v8-switch{border-color:#3d2f16!important}
html[data-theme="dark"] body #login.pm-exact-login,html[data-theme="dark"] body #login{background:radial-gradient(ellipse 80% 60% at 50% 0%,#241a09 0%,#0a0805 55%,#050505 100%)!important}
html[data-theme="dark"] body #login .marfa-v8{background:linear-gradient(165deg,#1d1709,#100c06)!important;border:1px solid #4a381a!important;box-shadow:0 20px 60px #000c!important}
html[data-theme="dark"] body #login .marfa-v8 h1{color:#f0d28a!important}
html[data-theme="dark"] body #login .marfa-v8 p,html[data-theme="dark"] body #login .marfa-v8 label span,html[data-theme="dark"] body #login .marfa-v8 .v8-switch,html[data-theme="dark"] body #login .marfa-v8 .v8-switch span{color:#e2d3ae!important}
html[data-theme="dark"] body #login .marfa-v8 input{background:#0d0905!important;color:#f3e6c4!important;border:1px solid #5a4420!important}
html[data-theme="dark"] body #login .marfa-v8 input::placeholder{color:#8d7c58!important}
html[data-theme="dark"] body #login .marfa-v8 .v8-switch button,html[data-theme="dark"] body #login .marfa-v8 .v8-link,html[data-theme="dark"] body #login .marfa-v8 a{color:#f0d28a!important}
html[data-theme="dark"] body #login .marfa-v8 #marfaEnterSite.auth-guest{display:block;width:100%;margin:14px 0 4px;padding:11px 14px;border-radius:12px;background:transparent!important;border:1px solid #b58a3a!important;color:#f0d28a!important;opacity:1!important;text-decoration:none!important;font-size:14px;font-weight:600;cursor:pointer}
html[data-theme="dark"] body #login .marfa-v8 #marfaEnterSite.auth-guest:hover{background:#2a1f0e!important}
html[data-theme="dark"] body #login .marfa-v8 .auth-privacy{display:block;color:#cdbb92!important;opacity:1!important;margin-top:10px}
html[data-theme="dark"] body #login .marfa-v8 hr,html[data-theme="dark"] body #login .marfa-v8 .v8-switch{border-color:#3d2f16!important}
/* v8-7: reset-password modal always dark and clean (no stray bars) */
#arOv,#arOv *{box-shadow:none!important}
#arOv{background:rgba(0,0,0,.72)!important}
#arOv .c{background:#0f0b08!important;color:#f3e8d0!important;border:1px solid #3a2d18!important}
#arOv .c h3{color:#f0d28a!important}
#arOv .c p,#arOv .c label span,#arOv .m{color:#d9c9a3!important;opacity:1!important}
#arOv form,#arOv .r,#arOv label{background:transparent!important;border:0!important;padding-left:0!important;padding-right:0!important}
#arOv .r{padding:0!important;margin-top:10px!important}
#arOv input{background:#15100a!important;color:#f3e8d0!important;border:1px solid #3a2d18!important}
#arOv .b{background:#b8893a!important;color:#1b1206!important}
#arOv .b.g{background:transparent!important;color:#e8c47a!important;border:1px solid #b8893a!important}
