:root {
  color-scheme: dark;
  --cream: #f7e6c8;
  --gold: #c9a36a;
  --gold-light: #ead0a0;
  --dark: #160f0b;
}

* { box-sizing: border-box; }

html { min-height: 100%; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background:
    radial-gradient(ellipse 85% 60% at 50% 24%, #483023 0%, transparent 76%),
    repeating-linear-gradient(95deg, rgba(255,215,156,.015) 0 2px, transparent 2px 10px),
    #160f0b;
  color: var(--cream);
  font-family: Georgia, 'Times New Roman', serif;
}

.splash {
  width: min(1120px, calc(100% - 36px));
  min-height: 100vh;
  min-height: 100dvh;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 4vh, 38px);
  padding-block: clamp(20px, 5vh, 50px);
}

.title-panel {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(237, 180, 100, .47);
  border-radius: 5px;
  background: #24150f;
  box-shadow: 0 22px 65px rgba(0,0,0,.60), 0 0 0 5px rgba(9, 6, 4, .24);
}

.title-art { display: block; line-height: 0; }
.title-art img {
  display: block;
  width: 100%;
  height: auto;
}

.language-picker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 3vw, 28px);
  background: linear-gradient(180deg, #2b1910, #160f0b);
  border-top: 1px solid rgba(237, 180, 100, .38);
  padding: clamp(18px, 3vw, 28px) 16px;
}

.language {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 136px;
  min-height: 51px;
  padding: 10px 17px;
  text-decoration: none;
  color: #d3b996;
  background: rgba(11, 7, 5, .24);
  border: 1px solid rgba(204, 160, 96, .35);
  border-radius: 4px;
  font-size: clamp(17px, 2vw, 21px);
  letter-spacing: .02em;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.language:hover, .language:focus-visible {
  background: #54331e;
  border-color: var(--gold-light);
  color: #fff2d9;
}

.language:focus-visible { outline: 2px solid #ffd494; outline-offset: 3px; }

.language.is-active {
  color: #fff0d5;
  font-weight: 700;
  border-color: var(--gold-light);
  background: linear-gradient(180deg, #7e4b29, #492916);
  box-shadow: inset 0 1px 0 rgba(255, 226, 170, .23);
}

.language-separator { color: #c19b6c; font-size: 24px; }

.version {
  color: #d1b58d;
  font-size: 15px;
  letter-spacing: .06em;
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 720px) {
  .splash { width: min(520px, calc(100% - 26px)); gap: 22px; }
  .language-picker { gap: 8px; padding: 17px 10px 20px; }
  .language { min-width: 0; flex: 1; min-height: 49px; padding-inline: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  .language { transition: none; }
}
