@charset "UTF-8";
:root {
  color-scheme: dark;
  font-family: Georgia, "Times New Roman", serif;
  color: #eee7df;
  background: #0c121c;
  --bronze: #be9470;
  --bronze-light: #e2ba91;
  --muted: #b8b7bc;
}
* { box-sizing: border-box; }
html { min-width: 320px; min-height: 100%; }
body {
  position: relative; isolation: isolate; display: flex; flex-direction: column;
  min-height: 100vh; min-height: 100svh; margin: 0; background: #0c121c;
  -webkit-font-smoothing: antialiased;
}
body::before, body::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
body::before {
  background: url("/assets/runes-portal-bridge-v1.webp") center 220px / 100% auto no-repeat;
  mask-image: linear-gradient(180deg, transparent 220px, #000 350px);
}
body::after {
  background:
    linear-gradient(180deg, #0c121c 0, rgb(12 18 28 / 95%) 130px, rgb(12 18 28 / 77%) 220px, rgb(12 18 28 / 14%) 345px, transparent 430px, transparent 76%, rgb(2 6 12 / 50%)),
    linear-gradient(110deg, rgb(2 8 15 / 25%), transparent 44%, transparent 74%, rgb(2 7 14 / 13%));
}
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: wait; }
[hidden] { display: none !important; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid #f2cca3; outline-offset: 5px; }
.skip-link {
  position: fixed; z-index: 20; top: 12px; left: 12px; padding: 12px 18px;
  background: #101318; border: 1px solid var(--bronze); transform: translateY(-170%); text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }
.site-header {
  width: 100%; min-height: 114px; padding: 12px clamp(28px, 3.7vw, 70px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 15px; text-decoration: none; }
.brand-name { color: #ece2d2; font-size: 21px; letter-spacing: .23em; line-height: 1; text-shadow: 0 2px 6px #000; }
.element-emblem { display: block; width: 86px; height: 86px; overflow: visible; filter: drop-shadow(0 3px 6px #030b15); }
.emblem-frames { fill: rgb(6 15 25 / 68%); stroke: #837463; stroke-width: 1; }
.element-fire { fill: #fb7c38; stroke: #ffb578; stroke-width: 1; stroke-linejoin: round; }
.fire-core { fill: #ffe4ab; stroke: none; }
.element-ice { fill: none; stroke: #b9e3fa; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.element-air { fill: none; stroke: #a3d9c9; stroke-width: 2; stroke-linecap: round; }
.element-earth { fill: none; stroke: #e1bc76; stroke-width: 2; }
.header-nav { display: flex; align-items: center; gap: 30px; }
.nav-button { min-height: 44px; padding: 7px 3px; border: 0; background: none; color: #eee8e4; font-size: 18px; text-shadow: 0 2px 7px #000; }
.nav-button:hover { color: #edcda8; }
.language { padding-left: 28px; margin-left: 1px; border-left: 1px solid #a3a0a0; color: #eee8e4; font-size: 16px; line-height: 25px; }
.hero {
  flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(430px, 500px);
  align-items: start; gap: clamp(44px, 5vw, 88px);
  width: min(1544px, calc(100% - 128px)); margin: 0 auto;
  padding: 19px 0 61px; min-height: 714px;
}
.hero-copy { padding: 0; text-shadow: 0 2px 5px rgb(2 6 11 / 82%); }
h1 {
  margin: -7px 0 8px -3px; font-size: clamp(65px, 5.65vw, 95px);
  font-weight: 400; line-height: .96; letter-spacing: -.027em; color: #f4e8d9;
}
.hero-description { margin: 13px 0 0; font-size: clamp(19px, 1.63vw, 27px); line-height: 1.4; letter-spacing: -.01em; color: #d2d0d2; }
.scenic-spacer { display: none; }
.access-panel {
  --corner: 16px;
  position: relative; width: 100%; padding: 2px;
  background: linear-gradient(120deg, #e1b789 0%, #9c7157 33%, #c99c77 65%, #a57553 100%);
  clip-path: polygon(var(--corner) 0, calc(100% - var(--corner)) 0, 100% var(--corner), 100% calc(100% - var(--corner)), calc(100% - var(--corner)) 100%, var(--corner) 100%, 0 calc(100% - var(--corner)), 0 var(--corner));
  filter: drop-shadow(0 14px 22px rgb(0 0 0 / 35%));
}
.panel-inner {
  position: relative; min-width: 0; padding: 26px 35px 25px;
  background: radial-gradient(ellipse at 50% 0, #17191d, #111317 65%, #101216);
  clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 14px, 100% calc(100% - 14px), calc(100% - 14px) 100%, 14px 100%, 0 calc(100% - 14px), 0 14px);
  box-shadow: inset 0 0 0 1px rgb(248 206 157 / 16%);
}
.panel-ornament { display: block; width: 150px; height: 29px; margin: 0 auto 18px; fill: none; stroke: var(--bronze); stroke-width: 1.2; }
.ornament-line { stroke: #806345; stroke-width: .7; }
h2 { margin: 0; text-align: center; color: #f2efec; font-size: clamp(34px, 2.7vw, 44px); line-height: 1.18; font-weight: 400; letter-spacing: -.018em; }
.panel-intro { margin: 10px 0 0; text-align: center; color: var(--muted); font-size: 24px; line-height: 1.35; }
.login-form { margin: 34px 0 0; }
.field + .field { margin-top: 25px; }
.field label { display: block; margin-bottom: 8px; color: #eae5e0; font-size: 20px; line-height: 1.3; }
.field input {
  display: block; width: 100%; min-width: 0; height: 58px; padding: 12px 16px;
  border: 1px solid #ab9279; border-radius: 4px; color: #f0e7dd;
  background: linear-gradient(130deg, #1a1d23, #161a20); box-shadow: inset 0 1px 8px rgb(0 0 0 / 22%);
  font-size: 20px; line-height: 1.3; transition: border-color .16s ease;
}
.field input:hover { border-color: #c3a889; }
.field input:focus-visible { border-color: #e0bf96; outline-offset: 3px; }
.field input:autofill { -webkit-text-fill-color: #f0e7dd; box-shadow: inset 0 0 0 100px #202530; }
.password-field { position: relative; }
.password-field input { padding-right: 59px; }
.password-toggle { position: absolute; top: 7px; right: 7px; display: grid; place-items: center; width: 44px; height: 44px; padding: 10px; border: 0; background: none; color: #aaaeb7; border-radius: 3px; }
.password-toggle:hover { color: #f0cfaa; }
.password-toggle svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.eye-slash { display: none; }
.password-toggle[aria-pressed="true"] .eye-slash { display: block; }
.gold-button {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 13px;
  width: 100%; min-height: 62px; padding: 12px 18px;
  border: 1px solid #dfb68f; border-radius: 2px;
  background: radial-gradient(ellipse at 40% 0, rgb(237 188 142 / 22%), transparent 72%), linear-gradient(115deg, #896044, #a27351 50%, #78533f);
  color: #fff3e5; text-decoration: none; font-size: 27px; line-height: 1.2;
  box-shadow: inset 0 0 0 3px rgb(14 15 18 / 45%), inset 0 0 0 4px rgb(237 193 151 / 42%), 0 4px 10px rgb(0 0 0 / 25%);
  text-shadow: 0 1px 3px rgb(64 34 19 / 50%); transition: filter .16s ease;
}
.gold-button::before, .gold-button::after { content: ""; position: absolute; top: -1px; width: 8px; height: 8px; background: #111317; border-bottom: 1px solid #dfb68f; }
.gold-button::before { left: -1px; border-right: 1px solid #dfb68f; border-radius: 0 0 8px; }
.gold-button::after { right: -1px; border-left: 1px solid #dfb68f; border-radius: 0 0 0 8px; }
.login-form .gold-button { margin-top: 33px; }
.gold-button:hover:not(:disabled) { filter: brightness(1.16); }
.gold-button:active:not(:disabled) { filter: brightness(.96); }
.gold-button:disabled { opacity: .65; }
.button-arrow { font-family: Georgia, serif; font-size: 25px; line-height: 1; }
.login-form .button-arrow { display: none; }
.access-help { margin: 25px 0 0; text-align: center; color: #cbc5c0; font-size: 16px; line-height: 1.55; }
.platform { margin: 23px 0 0; padding-top: 17px; border-top: 1px solid rgb(171 146 121 / 23%); text-align: center; color: #a8a5a6; font-size: 13px; line-height: 1.4; letter-spacing: .035em; }
.platform span { margin: 0 5px; }
.status { margin: 15px 0 0; color: #d6c8bb; font: 14px / 1.5 system-ui, sans-serif; overflow-wrap: anywhere; }
.status.error { color: #f2b69f; }
.status.success { color: #c3d6b2; }
.session-view { text-align: center; }
.session-greeting { font-size: 21px; }
.session-greeting strong { display: inline-block; max-width: 100%; margin-top: 5px; color: #e6c7a4; font-size: 24px; font-weight: 400; overflow-wrap: anywhere; }
.session-seal { display: grid; place-items: center; width: 61px; height: 61px; margin: 29px auto; border: 1px solid #8f7156; transform: rotate(45deg); background: radial-gradient(#262532, #13151a); }
.session-seal span { color: #caa27c; font-family: Georgia, serif; font-size: 37px; transform: rotate(-45deg); }
.download-button { margin-top: 30px; font-size: 23px; }
.download-help { margin: 21px 0 0; color: #c4bdba; font-size: 16px; line-height: 1.65; }
.launcher-name { white-space: nowrap; color: #e3d7c9; }
.admin-link { display: block; width: fit-content; margin: 23px auto 0; color: #e9bd93; font-size: 17px; line-height: 1.4; text-underline-offset: 5px; }
.admin-link:hover { color: #ffe0bc; }
.text-button { display: block; min-height: 44px; margin: 18px auto 0; padding: 9px 12px; border: 0; background: none; color: #c7c0bd; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }
.text-button:hover { color: #eec9a2; }
.text-button:disabled { opacity: .6; }
.noscript-message { margin: 20px 0 0; color: #edc6a2; font: 14px / 1.5 system-ui, sans-serif; text-align: center; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px clamp(28px, 3.7vw, 70px) 22px; min-height: 63px; color: #c0b9b3; font-size: 14px; line-height: 1.5; text-shadow: 0 2px 5px #000; }
.site-footer p { margin: 0; }
.footer-brand { color: #e0d1c0; letter-spacing: .23em; }
.footer-dot { margin: 0 11px 0 8px; color: #b08d6e; }
.info-dialog { width: min(560px, calc(100% - 36px)); max-height: calc(100svh - 48px); padding: 39px 36px 32px; border: 1px solid #b18c69; background: #141820; color: #e3ddd5; box-shadow: 0 22px 90px #000; }
.info-dialog::backdrop { background: rgb(2 7 15 / 76%); backdrop-filter: blur(5px); }
.info-dialog h2 { text-align: left; font-size: 36px; margin-bottom: 23px; }
.info-dialog p { font-size: 17px; line-height: 1.6; }
.info-dialog .dialog-eyebrow { margin: 0 0 13px; font-size: 12px; letter-spacing: .19em; color: #c6a17e; }
.info-dialog .dialog-muted { color: #bcb9bb; }
.dialog-close { position: absolute; top: 8px; right: 8px; width: 42px; height: 42px; border: 0; background: none; color: #d6c7b8; font-family: system-ui, sans-serif; font-size: 28px; line-height: 1; }
.dialog-close:hover { color: #fff0dc; }
@media (min-width: 1700px) { .hero { padding-top: 32px; } }
@media (max-width: 1200px) {
  .site-header { min-height: 103px; padding-right: 35px; padding-left: 35px; }
  .element-emblem { width: 75px; height: 75px; }
  .hero { width: calc(100% - 76px); grid-template-columns: minmax(0, 1fr) 420px; gap: 38px; min-height: 680px; padding-top: 22px; }
  h1 { font-size: clamp(57px, 6vw, 72px); }
  .hero-description { max-width: 400px; font-size: 22px; }
  .panel-inner { padding-right: 28px; padding-left: 28px; }
  h2 { font-size: 37px; }
  .panel-intro { font-size: 22px; }
  .field label { font-size: 18px; }
}
@media (min-width: 951px) and (max-height: 850px) {
  .site-header { min-height: 85px; padding-top: 8px; padding-bottom: 8px; }
  .element-emblem { width: 65px; height: 65px; }
  .hero { min-height: 0; padding-top: 15px; padding-bottom: 28px; }
  h1 { font-size: clamp(61px, 5.4vw, 80px); }
  .panel-inner { padding: 20px 30px 18px; }
  .panel-ornament { height: 24px; margin-bottom: 12px; }
  h2 { font-size: 36px; }
  .panel-intro { margin-top: 7px; font-size: 21px; }
  .login-form { margin-top: 24px; }
  .field input { height: 50px; }
  .field + .field { margin-top: 18px; }
  .password-toggle { top: 3px; }
  .login-form .gold-button { margin-top: 24px; min-height: 54px; }
  .access-help { margin-top: 18px; font-size: 15px; }
  .platform { margin-top: 16px; padding-top: 12px; }
}
@media (max-width: 950px) {
  body::before, body::after { position: absolute; }
  body::before { background-size: auto 690px; background-position: 20% 250px; mask-image: linear-gradient(180deg, transparent 250px, #000 310px, #000 730px, transparent 940px); }
  body::after { background: linear-gradient(180deg, #0c121c 0, rgb(12 18 28 / 90%) 130px, rgb(12 18 28 / 42%) 260px, transparent 345px, transparent 570px, #0c121c 970px); }
  .site-header { min-height: 92px; padding: 12px 25px; }
  .element-emblem { width: 66px; height: 66px; }
  .brand { gap: 12px; }
  .brand-name { font-size: 19px; }
  .header-nav { gap: 21px; }
  .nav-button { font-size: 16px; }
  .language { font-size: 14px; padding-left: 21px; }
  .hero { display: flex; flex-direction: column; gap: 0; width: min(620px, calc(100% - 48px)); min-height: 0; padding: 27px 0 43px; }
  .hero-copy { width: 100%; }
  h1 { font-size: clamp(53px, 8vw, 73px); line-height: .98; margin-left: -2px; }
  .hero-description { max-width: 440px; font-size: 22px; margin-top: 13px; }
  .scenic-spacer { display: block; flex: 0 0 320px; width: 100%; }
  .access-panel { width: min(100%, 500px); align-self: center; }
  .panel-inner { padding: 26px 34px 25px; }
  h2 { font-size: 40px; }
  .site-footer { padding: 16px 25px 24px; font-size: 13px; }
}
@media (max-width: 600px) {
  body::before { background-size: auto 550px; background-position: 13% 245px; mask-image: linear-gradient(180deg, transparent 245px, #000 300px, #000 640px, transparent 795px); }
  body::after { background: linear-gradient(180deg, #0c121c 0, rgb(12 18 28 / 90%) 115px, rgb(12 18 28 / 42%) 245px, transparent 310px, transparent 510px, #0c121c 800px); }
  .site-header { min-height: 80px; padding: 10px 20px; gap: 14px; }
  .element-emblem { width: 57px; height: 57px; }
  .brand { gap: 9px; }
  .brand-name { font-size: 17px; letter-spacing: .17em; }
  .header-nav { gap: 15px; }
  .nav-button { font-size: 14px; padding: 7px 0; }
  .language { font-size: 12px; padding-left: 13px; }
  .hero { width: calc(100% - 42px); padding-top: 28px; }
  h1 { font-size: clamp(48px, 12.1vw, 66px); }
  .hero-description { max-width: 350px; font-size: 19px; line-height: 1.42; }
  .scenic-spacer { flex-basis: 315px; }
  .panel-inner { padding: 23px 27px 23px; }
  .panel-ornament { width: 130px; height: 26px; margin-bottom: 16px; }
  h2 { font-size: 35px; }
  .panel-intro { font-size: 21px; }
  .login-form { margin-top: 29px; }
  .field input { height: 55px; font-size: 18px; }
  .field + .field { margin-top: 22px; }
  .password-toggle { top: 5px; }
  .gold-button { min-height: 58px; font-size: 25px; }
  .download-button { font-size: 21px; }
  .access-help { font-size: 15px; }
  .site-footer { padding-right: 21px; padding-left: 21px; gap: 12px; font-size: 12px; }
}
@media (max-width: 380px) {
  body::before { background-size: auto 510px; background-position: 14% 240px; mask-image: linear-gradient(180deg, transparent 240px, #000 295px, #000 600px, transparent 750px); }
  .site-header { padding-right: 16px; padding-left: 16px; gap: 8px; }
  .element-emblem { width: 46px; height: 46px; }
  .brand { gap: 7px; }
  .brand-name { font-size: 15px; }
  .header-nav { gap: 11px; }
  .nav-button { font-size: 12px; }
  .language { font-size: 11px; padding-left: 10px; }
  .hero { width: calc(100% - 34px); padding-top: 20px; }
  h1 { font-size: 46px; }
  .hero-description { font-size: 18px; }
  .scenic-spacer { flex-basis: 290px; }
  .panel-inner { padding-right: 22px; padding-left: 22px; }
  h2 { font-size: 31px; }
  .panel-intro { font-size: 20px; }
  .access-help { font-size: 14px; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 4px; padding-left: 18px; }
  .info-dialog { padding: 37px 23px 23px; }
  .info-dialog h2 { font-size: 31px; }
  .info-dialog p { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
