.kf-login, .kf-gallery-entry { color-scheme:dark; font-family:Inter,system-ui,-apple-system,sans-serif; }
.kf-login { position:fixed; inset:0; margin:auto; box-sizing:border-box; width:min(28rem,calc(100% - 2rem)); height:fit-content; max-height:calc(100dvh - 2rem); overflow:auto; padding:clamp(1.3rem,4vw,2.2rem); border:1px solid #424955; border-radius:18px; color:#f3f5fa; background:#191d24; box-shadow:0 24px 90px #0009; font-size:.95rem; line-height:1.5; text-align:start; }
.kf-login:not([open]) { display:none; }
.kf-login::backdrop { background:rgb(6 11 18 / 76%); backdrop-filter:blur(4px); }
html:has(.kf-login[open]) { overflow:hidden; }
.kf-login__heading,.kf-login__footer,.kf-login__options { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.kf-login__brand { font-weight:800; font-size:1.25rem; letter-spacing:-.055em; }
.kf-login__brand span { color:#8cb6ff; }
.kf-login button,.kf-gallery-entry button { cursor:pointer; font:inherit; }
.kf-login__close { width:44px; height:44px; color:#e3e9f3; background:#232832; border:1px solid #454b58; border-radius:50%; line-height:1; font-size:1.45rem!important; }
.kf-login h2 { margin:1.25rem 0 .4rem; color:#fff; font-size:clamp(1.55rem,5vw,2rem); font-weight:700; line-height:1.13; letter-spacing:-.04em; }
.kf-login__intro { color:#c0c7d4; margin:0 0 1.4rem; }
.kf-login form>label { display:block; margin:.9rem 0 .35rem; font-weight:650; font-size:.875rem; }
.kf-login input:not([type=checkbox]) { width:100%; min-width:0; height:46px; box-sizing:border-box; padding:.55rem .75rem; background:#11151b; border:1px solid #626e80; border-radius:7px; color:white; font:inherit; }
.kf-login .kf-login__password { position:relative; }
.kf-login__password input { padding-inline-end:5rem!important; }
.kf-login__password button { position:absolute; right:2px; top:2px; height:42px; padding:0 .55rem; border:0; color:#b3ceff; background:transparent; font-size:.82rem; }
.kf-login__options { margin:.7rem 0 1.1rem; font-size:.85rem; }
.kf-login__options label { display:flex; align-items:center; gap:.5rem; min-height:32px; }
.kf-login input[type=checkbox] { width:17px; height:17px; accent-color:#3369dd; }
.kf-login a,.kf-gallery-entry a { color:#a9caff; text-decoration:underline; text-underline-offset:3px; }
.kf-login__error { color:#ffb3b6; font-size:.875rem; margin:.5rem 0; }
.kf-login__error:empty { display:none; }
.kf-login__submit,.kf-gallery-entry__open { border:1px solid #4e83ed; background:#255bc8; color:white; border-radius:8px; font-weight:650!important; padding:.75rem 1rem; }
.kf-login__submit { width:100%; }
.kf-login__submit:disabled { opacity:.7; cursor:wait; }
.kf-login__footer { margin:1.1rem 0 0; padding-top:1rem; border-top:1px solid #3a424f; font-size:.875rem; }
.kf-login :focus-visible,.kf-gallery-entry :focus-visible { outline:3px solid #97c1ff; outline-offset:2px; }
.kf-gallery-entry { margin:0; color:#f9fafb; background:#15191f; font-size:1rem; line-height:1.5; }
.kf-gallery-entry main { max-width:78rem; margin:auto; min-height:90vh; padding:0 5vw; display:grid; align-items:center; grid-template-columns:1fr 1.1fr; gap:6vw; }
.kf-gallery-entry h1 { font-size:clamp(2.4rem,6vw,5.2rem); letter-spacing:-.055em; line-height:1; margin:.55em 0 .25em; }
.kf-gallery-entry p { color:#c5cfda; }
.kf-gallery-entry__links { display:flex; align-items:center; gap:1.4rem; flex-wrap:wrap; }
.kf-gallery-entry main img { width:100%; aspect-ratio:4/5; object-fit:cover; border-radius:1rem; }
@media(max-width:46rem){ .kf-gallery-entry main { grid-template-columns:1fr; gap:2rem; padding:3rem 1.1rem; } .kf-gallery-entry main img { aspect-ratio:3/2; } }
