@font-face { font-family: Manrope; src: url(img/manrope-cyrillic-wght-normal.woff2) format('woff2'); font-weight: 200 800; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Manrope; src: url(img/manrope-latin-wght-normal.woff2) format('woff2'); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+20BD, U+2122; }
:root { color-scheme: light dark; --bg: #eff0f3; --card: #fff; --ink: #131313; --text: #55565c; --line: #dfe0e5; --btn: #131313; --btn-ink: #fff; --lime: #c6f04e; }
@media (prefers-color-scheme: dark) { :root { --bg: #131313; --card: #1f1f20; --ink: #f4f4f5; --text: #b0b1b7; --line: #343437; --btn: #f4f4f5; --btn-ink: #131313; } }
* { box-sizing: border-box; margin: 0; }
body { background: var(--bg); color: var(--ink); font: 500 17px/1.55 Manrope, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
header { padding: 20px 0; }
header .wrap { display: flex; align-items: center; gap: 8px 28px; flex-wrap: wrap; font-size: 15px; }
header a { text-decoration: none; color: var(--text); padding: 6px 0; }
header a:hover, header a[aria-current] { color: var(--ink); }
header .home { font-weight: 800; font-size: 18px; color: var(--ink); margin-right: auto; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 24px 56px; align-items: center; padding: 48px 0 56px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--btn); color: var(--btn-ink); font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
.btn:hover { opacity: .86; } .soft { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); } .red { background: #c9352b; color: #fff; }
.plain { border: 0; background: none; font: inherit; font-size: 15px; color: var(--text); cursor: pointer; padding: 10px 6px; border-radius: 8px; white-space: nowrap; } .plain:hover { color: var(--ink); }
:is(button, input):focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
[hidden] { display: none !important; }
main { padding: 32px 0 80px; display: grid; gap: 28px; } main > * { min-width: 0; }
h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.05; letter-spacing: -.03em; font-weight: 800; }
h2 { font-size: 20px; line-height: 1.3; font-weight: 800; overflow-wrap: anywhere; }
.lead { max-width: 560px; margin-bottom: 28px; color: var(--text); }
label { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 700; }
.row { display: flex; flex-wrap: wrap; gap: 12px; } .mid { justify-content: center; margin-top: 20px; } .end { justify-content: flex-end; margin-top: 24px; }
input#key { flex: 1 1 300px; max-width: 460px; min-height: 48px; padding: 0 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); color: var(--ink); font: inherit; }
#room { display: grid; gap: 20px; }
#drop, #load { padding: 44px 24px; border: 2px dashed var(--line); border-radius: 24px; background: var(--card); text-align: center; } #drop.over { border-color: var(--ink); }
#load p { overflow-wrap: anywhere; } progress { width: min(420px, 100%); height: 8px; margin: 18px 0 8px; accent-color: var(--ink); display: block; margin-inline: auto; }
.dim { color: var(--text); font-size: 15px; } .bad { color: #c9352b; font-weight: 700; } .bad:empty { display: none; } #enter .bad { margin-top: 14px; }
@media (prefers-color-scheme: dark) { .bad { color: #ff8a80; } }
ul { list-style: none; padding: 0; } li { display: flex; align-items: center; gap: 4px 12px; padding: 14px 0; border-top: 1px solid var(--line); } li > div { flex: 1 1 auto; min-width: 0; } li a { font-weight: 700; overflow-wrap: anywhere; }
dialog { margin: auto; width: min(440px, 100% - 40px); padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: var(--card); color: var(--ink); } dialog p { margin-top: 10px; color: var(--text); } dialog::backdrop { background: rgb(0 0 0 / .45); }
@media (max-width: 640px) { li { flex-wrap: wrap; } li > div { flex-basis: 100%; } li .plain { padding-left: 0; } #drop { padding: 32px 16px; } }
