/* Portal / Login layout for Gladiatorz
   Responsive background loading (small first), inputs positioned via %.
*/

html, body {
  height: 100%;
  width: 100%;
  margin: 0;
}

body.portal-page {
  margin: 0;
  background: #0b0b0b;
  color: #f2e6c8;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.login-screen {
  height: 100vh;
  height: 100dvh; /* mobile browser UI safe */
  width: 100vw;
  display: grid;
  place-items: center;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
}

/* Container with the portal artwork aspect ratio (matches portal.png) */
.portal-wrap {
  position: relative;
  width: min(100vw, calc(100vh * 4370 / 2160));
  max-width: 100vw;
  aspect-ratio: 4370 / 2160;
  background-color: #0b0b0b;
  overflow: hidden;
  margin: 0 auto;

  /* Use container queries so UI scales with the portal canvas */
  container-type: inline-size;
}

@media (min-width: 1600px) {
  .portal-wrap { background-image: url("/css/img/portal/portal-2560.jpg"); }


/* Very large / 4K: use the full PNG (best quality, bigger file) */
/* 4K with Windows scaling (HiDPI): viewport may be ~1920px but DPR>=2 */
@media (min-width: 1500px) and (min-resolution: 2dppx) {
  .portal-wrap { background-image: url("/css/img/portal/portal.png"); }
}

}

/* Data saver: keep the small image */
@media (prefers-reduced-data: reduce) {
  .portal-wrap { background-image: url("/css/img/portal/portal-1280.jpg"); }
}

/* Form overlays */
.portal-form {
  position: absolute;
  inset: 0;
  pointer-events: none; /* allow only inputs/buttons to catch events */
}

.portal-input, .portal-submit, .portal-register-link, .portal-userbar, .portal-apparea, .portal-msg {
  pointer-events: auto;
}

.portal-input {
  position: absolute;
  box-sizing: border-box;
  outline: none;
  font-size: clamp(14px, 1.1vw, 18px);
  line-height: 1;
  padding: 0.35em 0.6em;
  border-radius: 6px;
  background: transparent;
  background-color: transparent;
  border: 0;
  box-shadow: none;
  color: #e0b771;
  caret-color: #e0b771;
  -webkit-text-fill-color: #e0b771;
}

.portal-input:focus {

  outline: 2px solid rgba(224, 183, 113, 0.35);
  outline-offset: 2px;
}

/* Benutzername – oberes Eingabefeld (percentages are layout-locked) */
.portal-input.user {
  left: 42.04%;
  top: 46.25%;
  width: 14.94%;
  height: 3.66%;
}

/* Passwort – unteres Eingabefeld */
.portal-input.pass {
  left: 42.09%;
  top: 56.13%;
  width: 14.94%;
  height: 3.75%;
}

/* Click area over the drawn "Arena betreten" button */
.portal-submit {
  position: absolute;
  left: 42.04%;
  top: 68.18%;
  width: 15.04%;
  height: 6.13%;
  background: transparent;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  /* Hide text (button is already in the artwork) */
  color: transparent;
  text-shadow: none;  padding: 0;  margin: 0;  line-height: 0;  font-size: 0;  background-color: transparent;
}


.portal-submit:hover {
  background: rgba(255,255,255,0.05);
}

.portal-submit:focus-visible {
  outline: 2px solid rgba(255, 215, 140, 0.35);
  outline-offset: 2px;
  background: rgba(255,255,255,0.06);
}



/* Messages */
.portal-msg {
  display: block;
  font-size: clamp(12px, 0.95vw, 15px);
  min-height: 1.2em;
  color: #f2e6c8;
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}

/* Login message positioned on the artwork */
.portal-form .portal-msg {
  position: absolute;
  left: 34%;
  top: 73.6%;
  width: 32%;
  text-align: center;
}

/* Register message lives inside the register panel */
.portal-register-form .portal-msg {
  position: static;
  width: auto;
  text-align: left;
  padding: 2px 2px 0 2px;
}
/* Register link (simple, unobtrusive) */
.portal-register-link {
  position: absolute;
  left: 0;
  top: 84%;
  width: 100%;
  text-align: center;
  text-decoration: none;
}

.portal-register-btn {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(0,0,0,0.35);
  color: #f2e6c8;
  font-size: 14px;
  letter-spacing: 0.2px;
}

.portal-register-btn:hover {
  background: rgba(0,0,0,0.45);
}

/* Register panel */
.portal-register-wrap {
  position: absolute;
  z-index: 7;
  left: 50%;
  top: 12%;
  transform: translateX(-50%);
  width: min(520px, 92%);
  padding: 14px;
  border-radius: 12px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
}

.portal-register-form {
  display: grid;
  gap: 10px;
}

.portal-register-form input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.35);
  color: #f2e6c8;
  outline: none;
}

.portal-register-form input:focus {
  border-color: rgba(255, 215, 140, 0.35);
  box-shadow: 0 0 0 2px rgba(255, 215, 140, 0.15);
}

.portal-register-form button {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.10);
  color: #f2e6c8;
  cursor: pointer;
}

.portal-register-form button:hover {
  background: rgba(255,255,255,0.15);
}

/* Logged-in user bar (shown by portal.js if available) */
.portal-userbar {
  position: absolute;
  z-index: 7;
  left: 50%;
  top: 8%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(0,0,0,0.45);
}

.portal-userbar-actions {
  display: flex;
  gap: 8px;
  margin-left: 8px;
}

.portal-userbar button {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.10);
  color: #f2e6c8;
  cursor: pointer;
}
.portal-userbar button:hover { background: rgba(255,255,255,0.15); }

/* Optional app area (legacy) */
.portal-apparea {
  position: absolute;
  z-index: 7;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: min(640px, 92%);
}
.portal-apparea-inner {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(0,0,0,0.45);
}
.portal-apparea-inner button {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.10);
  color: #f2e6c8;
  cursor: pointer;
}
.portal-apparea-inner button:hover { background: rgba(255,255,255,0.15); }

.portal-input::placeholder {
  color: rgba(224, 183, 113, 0.70);
  opacity: 1;
}

/* Strong input reset (mobile browsers / embedded UA styles) */
.portal-wrap .portal-input {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  -webkit-border-radius: 0;
  border-radius: 0;
  color: #e0b771 !important;
  caret-color: #e0b771 !important;
  -webkit-text-fill-color: #e0b771 !important;
}

/* Chrome/Android + iOS Safari autofill paints its own background.
   Force it transparent while keeping our text color. */
.portal-wrap .portal-input:-webkit-autofill,
.portal-wrap .portal-input:-webkit-autofill:hover,
.portal-wrap .portal-input:-webkit-autofill:focus,
.portal-wrap .portal-input:-webkit-autofill:active {
  -webkit-text-fill-color: #e0b771 !important;
  caret-color: #e0b771 !important;
  background-color: transparent !important;
  transition: background-color 99999s ease-out 0s;
  -webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
  box-shadow: 0 0 0px 1000px transparent inset !important;
}

/* Firefox autofill */
.portal-wrap .portal-input:-moz-autofill {
  box-shadow: 0 0 0px 1000px transparent inset !important;
  -moz-text-fill-color: #e0b771 !important;
}

/* Some Chromium builds use internal selector names */
.portal-wrap .portal-input:-internal-autofill-selected {
  background-color: transparent !important;
  box-shadow: 0 0 0px 1000px transparent inset !important;
  -webkit-text-fill-color: #e0b771 !important;
}



/* (v22) Note: input transparency overrides are scoped to .portal-input only.
   Registration inputs keep their own darker styling for readability.
*/

/* Login button hover overlay (uses hover_login.png).
   Primary path: /css/img/portal/hover_login.png
   Fallback path: /hover_login.png (if you placed it in web root) */
.portal-submit {
  /* keep existing geometry; ensure pseudo-element stacks correctly */
  position: absolute;
}

.portal-submit::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/css/img/portal/hover_login.png"), url("/hover_login.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100% 100%;
  opacity: 0;
  transition: opacity 140ms ease-in-out;
  pointer-events: none;
  background: rgba(151, 4, 0, 0.20) !important;
  background-color: rgba(151, 4, 0, 0.20) !important;
  mix-blend-mode: normal;
  box-shadow: 0 0 16px rgba(151, 4, 0, 0.35), inset 0 0 0 1px rgba(151, 4, 0, 0.25);
  border-radius: 8px;
}

.portal-submit:hover::after,
.portal-submit:focus-visible::after {
  opacity: 1;
}

/* --- Login button hover: simple "brighter" effect (no hover_login.png) --- */
.portal-submit::after {
  /* override previous image-based hover */
  background-image: none !important;
  background: rgba(255, 255, 255, 0.18) !important;
  background-color: rgba(255, 255, 255, 0.18) !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: 100% 100% !important;

  /* visual highlight */
  opacity: 0;
  transition: opacity 140ms ease-in-out;
  pointer-events: none;
  border-radius: 10px;
  mix-blend-mode: screen;
  box-shadow:
    0 0 18px rgba(255, 210, 140, 0.35),
    inset 0 0 0 1px rgba(255, 230, 170, 0.18);
}

.portal-submit:hover::after,
.portal-submit:focus-visible::after {
  opacity: 1;
}

.portal-submit {
  cursor: pointer;
}

/* --- FINAL override: portal-submit hover tint (wins over earlier blocks) --- */
.portal-submit::after {
  background-image: none !important;
  background: rgba(151, 4, 0, 0.20) !important;
  background-color: rgba(151, 4, 0, 0.20) !important;
  mix-blend-mode: normal !important;
  box-shadow: 0 0 16px rgba(151, 4, 0, 0.35), inset 0 0 0 1px rgba(151, 4, 0, 0.25) !important;
}


/* ------------------------------
   (v23) Registrierung: helles Pergament, dunkle Schrift
   Ziel: kein dunkler Overlay-Hintergrund im Registerpanel.
------------------------------- */

.portal-register-wrap {
  /* keep geometry (mask/JS may override); only adjust visuals */
  background-image: url("/css/img/portal/portalcontent.png") !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: transparent !important;
  backdrop-filter: none !important;
  box-shadow: 0 10px 28px rgba(0,0,0,0.22) !important;
}

.portal-register-form {
  color: #3b2416;
}

.portal-reg-title,
.portal-field > span,
.portal-gender-hint,
.portal-terms span,
.portal-check span {
  color: #3b2416;
  text-shadow: none;
}

/* Inputs: heller Hintergrund, dunkle Schrift (lesbar ohne Overlay) */
.portal-register-form input {
  background: rgba(255, 255, 255, 0.35) !important;
  border: 1px solid rgba(120, 80, 30, 0.35) !important;
  color: #3b2416 !important;
  -webkit-text-fill-color: #3b2416 !important;
}

.portal-register-form input::placeholder {
  color: rgba(59, 36, 22, 0.55);
  opacity: 1;
}

.portal-register-form input:focus {
  border-color: rgba(176, 116, 22, 0.60) !important;
  box-shadow: 0 0 0 2px rgba(176, 116, 22, 0.18) !important;
}

/* Buttons: hell, Text dunkelbraun */
.portal-register-form button {
  background: rgba(255, 255, 255, 0.18) !important;
  border: 1px solid rgba(120, 80, 30, 0.35) !important;
  color: #3b2416 !important;
  font-weight: 700;
}

.portal-register-form button:hover {
  background: rgba(255, 255, 255, 0.26) !important;
}

/* Checkbox/Radio: goldener Akzent */
.portal-register-wrap input[type="checkbox"],
.portal-register-wrap input[type="radio"] {
  accent-color: #b07416;
}

/* AGB/DSE Links: dunkler, aber klar als Link */
.portal-terms a {
  color: #5a2b1a;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.portal-terms a:hover {
  color: #7a3b1f;
}

/* Background picture element (responsive srcset) */
.portal-bg{
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
}
.portal-bg img{
  width: 100%;
  height: 100%;
  object-fit: contain; /* canvas aspect matches, so no crop */
  display: block;
}

/* Video overlay: sparks (black removed via blend mode) */
#embers-video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: screen;
  opacity: 0.34;
  filter: contrast(1.50) saturate(1.10);
}

/* Ensure UI stays above background/video */
.portal-form{ z-index: 5; }
.portal-register-link, .portal-dev-note, .portal-legal-links, .portal-copyright{ z-index: 6; }

/* Register button (under password field) */
.portal-register-link{
  position: absolute;
  left: 42.09%;
  top: 60.95%;
  width: 14.94%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
}

#quickregister_img{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 8px 18px;
  border-radius: 12px;

  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(3px);

  color: rgba(255,255,255,0.96);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2px;

  text-shadow: 0 1px 2px rgba(0,0,0,0.85);
  box-shadow: 0 8px 18px rgba(0,0,0,0.38);
  white-space: nowrap;
}

.portal-register-link:hover #quickregister_img{
  background: rgba(0,0,0,0.55);
  border-color: rgba(255,255,255,0.30);
}

/* Dev note under Arena button (2 lines, centered to button axis) */
.portal-dev-note{
  position: absolute;
  left: 50%;
  top: 75.6%;
  transform: translateX(-50%);
  width: 32%;
  max-width: 680px;

  text-align: center;
  color: rgba(151, 4, 0, 0.95);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: 0.15px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.65);
  pointer-events: none;
}

/* Legal links under dev note */
.portal-legal-links{
  position: absolute;
  left: calc(50% - 12px); /* slight right shift */
  top: 81.0%;
  transform: translateX(-50%);

  display: flex;
  align-items: center;
  justify-content: center;

  flex-wrap: wrap;
  gap: 18px;
  row-gap: 6px;

  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.2px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.65);
  z-index: 12;
}

.portal-legal-link{
  color: rgba(20, 20, 20, 0.62);
  text-decoration: none;
  font-weight: inherit;
}
.portal-legal-link:hover{
  color: rgba(151, 4, 0, 0.95);
  text-decoration: underline;
}

/* Copyright footer */
.portal-copyright{
  position: absolute;
  left: 50%;
  bottom: 1.6%;
  transform: translateX(-50%);
  font-size: 14px;
  color: rgba(240, 240, 240, 0.70);
  text-shadow: 0 1px 2px rgba(0,0,0,0.75);
  letter-spacing: 0.2px;
  white-space: nowrap;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Scale UI with the portal canvas (fixes: “when image gets smaller, UI too big”)
--------------------------------------------------------------------------- */

@container (max-width: 1000px){
  #quickregister_img{ font-size: 12px; padding: 6px 14px; border-radius: 11px; }
  .portal-dev-note{ font-size: 12px; width: 42%; top: 75.6%; }
  .portal-legal-links{ font-size: 12px; gap: 18px; top: 83.2%; flex-wrap: wrap; row-gap: 6px; white-space: normal; }
  .portal-copyright{ font-size: 12px; bottom: 1.2%; }
}

@container (max-width: 760px){
  #quickregister_img{ font-size: 10px; padding: 5px 12px; border-radius: 10px; }
  .portal-dev-note{ font-size: 10px; width: 56%; }
  .portal-legal-links{ font-size: 10px; gap: 12px; }
  .portal-copyright{ font-size: 11px; }
}

@container (max-width: 560px){
  #quickregister_img{ font-size: 9px; padding: 4px 10px; border-radius: 9px; }
  .portal-dev-note{ font-size: 9px; width: 70%; }
  .portal-legal-links{ font-size: 9px; gap: 10px; }
  .portal-copyright{ font-size: 10px; }
}

/* Fallback for browsers without container queries */
@supports not (container-type: inline-size){
  @media (max-width: 820px), (max-height: 520px){
    #quickregister_img{ font-size: 10px; padding: 5px 12px; }
    .portal-dev-note{ font-size: 10px; width: 56%; }
    .portal-legal-links{ font-size: 10px; gap: 12px; flex-wrap: wrap; row-gap: 6px; white-space: normal; }
    .portal-copyright{ font-size: 11px; }
  }
}


/* --------------------------------------------------------------------------
   Responsive sizing tied to the portal canvas (fix "too big" on small versions)
   - Uses container query units (cqw) when supported
   - Falls back to mobile media rules
--------------------------------------------------------------------------- */

@supports (width: 1cqw) {
  /* Register button */
  #quickregister_img{
    font-size: clamp(9px, 1.00cqw, 15px) !important;
    padding: clamp(4px, 0.55cqw, 8px) clamp(10px, 1.20cqw, 18px) !important;
    border-radius: clamp(9px, 1.00cqw, 12px) !important;
  }

  /* Dev note under the arena button */
  .portal-dev-note{
    top: 75.6% !important;
    font-size: clamp(8px, 0.76cqw, 12px) !important;
    line-height: 1.18 !important;
    width: min(44cqw, 680px) !important;
  }

  /* Legal links */
  .portal-legal-links{
    font-size: clamp(9px, 0.85cqw, 16px) !important;
    gap: clamp(10px, 1.70cqw, 18px) !important;
    row-gap: clamp(4px, 0.60cqw, 6px) !important;
  }
}

/* Fallback + extra tightening for phones (portrait & landscape) */
@media (max-width: 700px), (max-height: 520px){
  #quickregister_img{
    font-size: 10px !important;
    padding: 4px 10px !important;
    border-radius: 10px !important;
  }

  .portal-dev-note{
    font-size: 8.5px !important;
    line-height: 1.16 !important;
    width: min(320px, 82vw) !important;
  }

  .portal-legal-links{
    top: 80.2% !important;
    font-size: 10px !important;
    gap: 10px !important;
    row-gap: 6px !important;
  }
}

@media (max-width: 480px), (max-height: 430px){
  #quickregister_img{
    font-size: 9px !important;
    padding: 3px 9px !important;
    border-radius: 9px !important;
  }

  .portal-dev-note{
    font-size: 7.65px !important;
    line-height: 1.14 !important;
    width: min(290px, 86vw) !important;
  }

  .portal-legal-links{
    top: 79.6% !important;
    font-size: 9px !important;
    gap: 8px !important;
    row-gap: 6px !important;
  }
}


/* Per feedback: legal links slightly more left on mobile */
@media (max-width: 700px), (max-height: 520px){
  .portal-legal-links{ left: calc(50% - 12px) !important; }
}
@media (max-width: 480px), (max-height: 430px){
  .portal-legal-links{ left: calc(50% - 12px) !important; }
}



/* =========================================================
   v21 Registration panel placed by provided mask coordinates
   ========================================================= */

/* Mask bounding box (portal_maske.png):
   left 39.1602%, top 31.1265%, width 20.7031%, height 52.0751%
*/
.portal-register-wrap{
  left: 39.1602% !important;
  top: 31.1265% !important;
  width: 20.7031% !important;
  height: 52.0751% !important;

  transform: none !important;
  padding: 0 !important;

  border-radius: clamp(8px, 0.9cqw, 14px) !important;
  overflow: hidden !important;

  background: transparent !important;
  backdrop-filter: none !important;

  box-shadow: 0 12px 36px rgba(0,0,0,0.55) !important;
  z-index: 8 !important;
}

.portal-register-wrap::before{
  content: "";
  position: absolute;
  inset: 0;
  background: url("/css/img/portal/portalcontent.png") center / cover no-repeat;
  filter: saturate(1.03) contrast(1.04);
}

.portal-register-form{
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 0.75cqw, 10px);
  padding: clamp(10px, 1.3cqw, 18px);
  overflow: auto;

  /* Keep typography consistent with the portal */
  font-size: clamp(12px, 1.0cqw, 15px);
  color: #2a1b0f;
}

.portal-reg-title{
  font-weight: 700;
  font-size: clamp(14px, 1.35cqw, 18px);
  letter-spacing: 0.2px;
  color: #2a1b0f;
  text-shadow: 0 1px 0 rgba(255,255,255,0.25);
  margin-bottom: clamp(2px, 0.25cqw, 6px);
}

.portal-field{
  display: grid;
  gap: 4px;
}

.portal-field > span{
  font-size: clamp(11px, 0.95cqw, 13px);
  opacity: 0.95;
}

.portal-register-form input[type="text"],
.portal-register-form input[type="email"],
.portal-register-form input[type="password"]{
  width: 100%;
  box-sizing: border-box;

  padding: clamp(7px, 0.85cqw, 10px) clamp(8px, 0.95cqw, 12px);
  border-radius: clamp(8px, 0.9cqw, 12px);

  border: 1px solid rgba(50,25,12,0.25);
  background: rgba(255,255,255,0.25);

  color: #1e120b;
  outline: none;
}

.portal-register-form input:focus{
  border-color: rgba(120,65,25,0.45);
  box-shadow: 0 0 0 2px rgba(120,65,25,0.18);
}

.portal-two{
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(6px, 0.75cqw, 10px);
}

.portal-gender-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(8px, 0.9cqw, 14px);
}

.portal-gender{
  display: flex;
  align-items: center;
  gap: clamp(8px, 0.9cqw, 14px);
}

.portal-check{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  user-select: none;
  color: #2a1b0f;
  font-size: clamp(12px, 1.0cqw, 14px);
}

.portal-check input{
  transform: translateY(0.5px);
}

.portal-gender-hint{
  font-size: clamp(10px, 0.85cqw, 12px);
  opacity: 0.85;
  line-height: 1.15;
  text-align: right;
  max-width: 56%;
}

.portal-terms{
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: clamp(10px, 0.85cqw, 12px);
  line-height: 1.25;
  color: rgba(30,18,11,0.92);
}

.portal-terms input{
  margin-top: 2px;
}

.portal-terms a{
  color: #5a2e12;
  text-decoration: underline;
}

.portal-terms a:hover{
  color: #7a3f18;
}

.portal-suggestions{
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: -2px;
}

.portal-suggestions .portal-sug{
  border: 1px solid rgba(50,25,12,0.25);
  background: rgba(255,255,255,0.25);
  color: #2a1b0f;
  border-radius: 999px;
  padding: 6px 10px;
  cursor: pointer;
  font-size: clamp(11px, 0.95cqw, 13px);
}

.portal-suggestions .portal-sug:hover{
  background: rgba(255,255,255,0.34);
}

.portal-register-form .portal-msg{
  color: #2a1b0f;
  text-shadow: 0 1px 0 rgba(255,255,255,0.20);
  padding: 0;
}

.portal-reg-submit{
  padding: clamp(8px, 0.95cqw, 12px);
  border-radius: clamp(10px, 1.0cqw, 14px);
  border: 1px solid rgba(50,25,12,0.25);
  background: rgba(90,46,18,0.18);
  color: #2a1b0f;
  cursor: pointer;
  font-weight: 700;
}

.portal-reg-submit:hover{
  background: rgba(90,46,18,0.24);
}

.portal-reg-cancel{
  padding: clamp(6px, 0.85cqw, 10px);
  border-radius: clamp(10px, 1.0cqw, 14px);
  border: 1px solid rgba(50,25,12,0.20);
  background: rgba(0,0,0,0.07);
  color: rgba(30,18,11,0.85);
  cursor: pointer;
}

.portal-reg-cancel:hover{
  background: rgba(0,0,0,0.10);
}



/* =========================================================
   v22 – Registration controls match in-game modal styling
   ========================================================= */

.portal-register-wrap{
  /* Classic palette (same as modal/game) */
  --gz-bg1:#14110c;
  --gz-panel:rgba(20,15,10,.78);
  --gz-panel2:rgba(26,19,12,.86);
  --gz-border:rgba(212,175,55,.22);
  --gz-border2:rgba(212,175,55,.12);
  --gz-text:#f3e7c5;
  --gz-muted:#cbb98f;
  --gz-accent:#d4af37;
  position: absolute; /* safeguard */
}

/* Darken parchment a bit so light text is readable, keep texture visible */
.portal-register-wrap::before{ z-index: 0; }
.portal-register-wrap::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:
    linear-gradient(180deg, rgba(0,0,0,.46), rgba(0,0,0,.34)),
    rgba(0,0,0,.34);
  mix-blend-mode: multiply;
}

/* Ensure form paints above background layers */
.portal-register-form{ color: var(--gz-text) !important; }
.portal-reg-title,
.portal-field > span,
.portal-check,
.portal-gender-hint,
.portal-terms,
.portal-register-form .portal-msg{
  color: var(--gz-text) !important;
  text-shadow: 0 1px 2px rgba(0,0,0,.38);
}

/* Inputs: darker like modals */
.portal-register-form input[type="text"],
.portal-register-form input[type="email"],
.portal-register-form input[type="password"]{
  background: rgba(0,0,0,.30) !important;
  border: 1px solid var(--gz-border2) !important;
  color: var(--gz-text) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.portal-register-form input:focus{
  outline: none !important;
  border-color: rgba(212,175,55,.55) !important;
  box-shadow: 0 0 0 3px rgba(212,175,55,.12) !important;
}

/* Autofill: keep dark field */
.portal-register-form input:-webkit-autofill,
.portal-register-form input:-webkit-autofill:hover,
.portal-register-form input:-webkit-autofill:focus,
.portal-register-form input:-webkit-autofill:active{
  -webkit-text-fill-color: var(--gz-text) !important;
  caret-color: var(--gz-text) !important;
  -webkit-box-shadow: 0 0 0px 1000px rgba(0,0,0,.30) inset !important;
  box-shadow: 0 0 0px 1000px rgba(0,0,0,.30) inset !important;
}

/* Checkbox / radio tint */
.portal-register-wrap input[type="checkbox"],
.portal-register-wrap input[type="radio"]{
  accent-color: var(--gz-accent);
}

/* Terms links */
.portal-terms a{
  color: var(--gz-accent) !important;
  text-decoration: underline;
}
.portal-terms a:hover{
  color: #ffd766 !important;
}

/* Username suggestions chips */
.portal-suggestions .portal-sug{
  border: 1px solid var(--gz-border2) !important;
  background: rgba(0,0,0,.24) !important;
  color: var(--gz-text) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.portal-suggestions .portal-sug:hover{
  background: rgba(0,0,0,.34) !important;
  border-color: rgba(212,175,55,.34) !important;
}

/* Buttons: same baseline as modal (.btn) */
.portal-register-form button{
  -webkit-tap-highlight-color: transparent;
  border: 1px solid var(--gz-border) !important;
  background:
    linear-gradient(180deg, rgba(212,175,55,.18), rgba(212,175,55,.06)),
    rgba(0,0,0,.28) !important;
  color: var(--gz-text) !important;
  font-weight: 800 !important;
  letter-spacing: .2px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 10px 22px rgba(0,0,0,.32);
  transition: transform .08s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
}
.portal-register-form button:hover{
  background:
    linear-gradient(180deg, rgba(212,175,55,.26), rgba(212,175,55,.10)),
    rgba(0,0,0,.32) !important;
  border-color: rgba(212,175,55,.34) !important;
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 14px 28px rgba(0,0,0,.38);
}
.portal-register-form button:active{
  transform: translateY(0px);
  box-shadow: inset 0 2px 10px rgba(0,0,0,.45), 0 10px 20px rgba(0,0,0,.30);
}
.portal-register-form button:disabled{
  opacity: .55;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 8px 18px rgba(0,0,0,.22);
}

/* Secondary cancel */
.portal-reg-cancel{
  border-color: var(--gz-border2) !important;
  background: rgba(0,0,0,.18) !important;
}
.portal-reg-cancel:hover{
  background: rgba(0,0,0,.26) !important;
}

/* --- Mobile portrait "zoom" mode -------------------------------------------------
   On narrow portrait screens, showing the full 21:9 portal artwork makes all
   overlays (login + registration) tiny. Here we fill the viewport height and
   let the sides crop. This keeps the UI readable while still scaling perfectly
   with the portal artwork.
*/
@media (max-width: 900px) and (orientation: portrait){
  .portal-wrap{
    height: 100vh;
    height: 100dvh;
    width: auto;        /* aspect-ratio will compute width from height */
    max-width: none;    /* allow wider than viewport; sides will crop */
  }
}



/* ==========================================================================
   v37 – Scrollbare Startseite / Landingpage
   Bestehender Login bleibt unverändert; diese Regeln betreffen Navigation
   und Inhalte unterhalb des Login-Screens.
   ========================================================================== */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 74px;
}

body.portal-page {
  min-height: 100%;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 38%, rgba(126, 70, 21, 0.13), transparent 36rem),
    #090704;
}

.login-screen {
  position: relative;
}

/* --- Fixed top navigation ------------------------------------------------ */
.portal-topnav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  min-height: 58px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(15, 10, 6, 0.97), rgba(8, 6, 4, 0.91));
  border-bottom: 1px solid rgba(212, 175, 55, 0.32);
  box-shadow: 0 10px 28px rgba(0,0,0,0.34);
  backdrop-filter: blur(8px);
}

.portal-topnav::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 214, 111, 0.46), transparent);
  pointer-events: none;
}

.portal-topnav-inner {
  width: min(1380px, calc(100% - 36px));
  min-height: 58px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.portal-topnav-brand {
  flex: 0 0 auto;
  color: #e8c56c;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 2.2px;
  text-decoration: none;
  text-shadow: 0 1px 8px rgba(212,175,55,.22);
}

.portal-nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
}

.portal-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: rgba(246, 232, 198, 0.88);
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .25px;
  transition: color .15s ease, border-color .15s ease, background .15s ease, transform .15s ease;
}

.portal-nav-link:hover,
.portal-nav-link:focus-visible {
  color: #ffe09a;
  border-color: rgba(212,175,55,.28);
  background: rgba(212,175,55,.08);
  outline: none;
}

.portal-nav-register {
  border-color: rgba(212,175,55,.46);
  background: linear-gradient(180deg, rgba(157, 91, 24, .42), rgba(88, 45, 12, .36));
  color: #ffe4a6;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.portal-nav-register:hover,
.portal-nav-register:focus-visible {
  border-color: rgba(255, 215, 112, .66);
  background: linear-gradient(180deg, rgba(181, 106, 28, .52), rgba(103, 52, 13, .44));
}

.portal-nav-toggle {
  display: none;
  margin-left: auto;
  min-height: 36px;
  padding: 0 13px;
  border-radius: 7px;
  border: 1px solid rgba(212,175,55,.36);
  background: rgba(0,0,0,.28);
  color: #f1d38a;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

/* --- Scroll hint on first screen ---------------------------------------- */
.portal-scroll-hint {
  position: absolute;
  z-index: 40;
  left: 50%;
  bottom: 54px;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 7px 14px 5px;
  border: 1px solid rgba(236, 200, 110, .32);
  border-radius: 999px;
  background: rgba(8, 5, 3, .58);
  color: rgba(255, 236, 190, .88);
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .45px;
  text-transform: uppercase;
  box-shadow: 0 8px 22px rgba(0,0,0,.28);
  backdrop-filter: blur(4px);
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}

.portal-scroll-hint:hover,
.portal-scroll-hint:focus-visible {
  background: rgba(72, 38, 13, .72);
  border-color: rgba(255, 216, 119, .55);
  transform: translateX(-50%) translateY(-2px);
  outline: none;
}

.portal-scroll-arrow {
  display: block;
  font-size: 19px;
  line-height: 13px;
  animation: portalScrollArrow 1.7s ease-in-out infinite;
}

@keyframes portalScrollArrow {
  0%, 100% { transform: translateY(-1px); opacity: .65; }
  50% { transform: translateY(3px); opacity: 1; }
}

/* --- Landing sections --------------------------------------------------- */
.portal-landing-content {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 16% 12%, rgba(145, 81, 23, .16), transparent 30rem),
    radial-gradient(circle at 87% 44%, rgba(117, 62, 20, .12), transparent 28rem),
    linear-gradient(180deg, #0d0906 0%, #080604 58%, #0d0906 100%);
}

.portal-landing-content::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .42;
  background-image:
    linear-gradient(rgba(255,255,255,.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.009) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
}

.landing-section {
  position: relative;
  padding: clamp(86px, 8vw, 128px) 22px clamp(88px, 9vw, 142px);
}

.landing-shell {
  width: min(1420px, 100%);
  margin: 0 auto;
}

.landing-section-heading {
  max-width: 780px;
  margin-bottom: clamp(34px, 4.2vw, 64px);
}

.landing-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: rgba(219, 178, 80, .86);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.1px;
}

.landing-section-heading h1,
.landing-character-copy h2,
.landing-cta h2 {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  color: #f1dfb2;
  font-weight: 700;
  text-shadow: 0 2px 18px rgba(0,0,0,.48);
}

.landing-section-heading h1 {
  font-size: clamp(34px, 4.1vw, 62px);
  line-height: 1.05;
}

.landing-heading-rule {
  width: min(430px, 62vw);
  height: 1px;
  margin-top: 18px;
  background: linear-gradient(90deg, rgba(230,190,91,.82), rgba(230,190,91,.14), transparent);
}

.landing-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(360px, .68fr);
  gap: clamp(34px, 5vw, 78px);
  align-items: start;
}

.landing-copy {
  max-width: 880px;
  margin-bottom: 27px;
  color: rgba(239, 226, 194, .84);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.75;
}

.landing-copy p {
  margin: 0;
}

.landing-city-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(216, 176, 74, .35);
  border-radius: 13px;
  background: #070503;
  box-shadow:
    0 30px 70px rgba(0,0,0,.46),
    0 0 0 1px rgba(255,255,255,.025) inset;
}

.landing-city-card::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 45px rgba(0,0,0,.26);
}

.landing-city-card img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .45s ease, filter .45s ease;
}

.landing-city-card:hover img {
  transform: scale(1.012);
  filter: brightness(1.035);
}

.landing-city-card figcaption {
  position: relative;
  z-index: 3;
  padding: 11px 15px 12px;
  border-top: 1px solid rgba(216, 176, 74, .16);
  background: linear-gradient(180deg, rgba(25,16,9,.96), rgba(13,9,6,.98));
  color: rgba(221, 204, 165, .72);
  font-size: 12px;
  line-height: 1.45;
}

/* --- Character showcase ------------------------------------------------- */
.landing-character-panel {
  position: relative;
  min-width: 0;
}

.landing-character-copy {
  margin-bottom: 24px;
}

.landing-character-copy h2 {
  font-size: clamp(30px, 3.15vw, 48px);
  line-height: 1.06;
}

.landing-character-copy p {
  margin: 16px 0 0;
  color: rgba(232, 217, 183, .72);
  font-size: 14px;
  line-height: 1.65;
}

.landing-character-cards {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 18px 3px 22px;
  overflow: visible;
}

.landing-character-card {
  position: relative;
  flex: 0 0 42%;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(221, 180, 79, .33);
  border-radius: 10px;
  background: #100a06;
  box-shadow: 0 22px 44px rgba(0,0,0,.42);
  transform-origin: 50% 88%;
  transition: transform .22s ease, filter .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.landing-character-card + .landing-character-card {
  margin-left: -14%;
}

.landing-character-card-1 {
  z-index: 1;
  transform: rotate(-3.5deg) translateY(14px);
}

.landing-character-card-2 {
  z-index: 3;
  transform: translateY(0);
}

.landing-character-card-3 {
  z-index: 2;
  transform: rotate(3.5deg) translateY(14px);
}

.landing-character-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 642 / 717;
  object-fit: cover;
  filter: saturate(.96) brightness(.94);
}

.landing-character-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 28px rgba(0,0,0,.34);
}

.landing-character-card:hover {
  z-index: 8;
  border-color: rgba(255, 211, 106, .72);
  filter: brightness(1.09);
  box-shadow: 0 30px 64px rgba(0,0,0,.56), 0 0 28px rgba(171,98,24,.13);
}

.landing-character-card-1:hover { transform: rotate(-1deg) translateY(-5px) scale(1.035); }
.landing-character-card-2:hover { transform: translateY(-8px) scale(1.035); }
.landing-character-card-3:hover { transform: rotate(1deg) translateY(-5px) scale(1.035); }

/* --- Browser CTA -------------------------------------------------------- */
.landing-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(82px, 9vw, 132px) 22px;
  text-align: center;
  border-top: 1px solid rgba(212,175,55,.15);
  border-bottom: 1px solid rgba(212,175,55,.18);
  background:
    radial-gradient(circle at 50% 35%, rgba(142, 74, 19, .26), transparent 34rem),
    linear-gradient(180deg, #100a06, #080604);
}

.landing-cta::before,
.landing-cta::after {
  content: "";
  position: absolute;
  top: 50%;
  width: min(31vw, 450px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,.42));
}

.landing-cta::before { left: 0; }
.landing-cta::after { right: 0; transform: scaleX(-1); }

.landing-cta-inner {
  position: relative;
  z-index: 2;
  width: min(820px, 100%);
  margin: 0 auto;
}

.landing-cta h2 {
  font-size: clamp(35px, 4.4vw, 64px);
  line-height: 1.08;
}

.landing-cta p {
  margin: 13px 0 29px;
  color: rgba(239, 224, 189, .78);
  font-size: clamp(18px, 1.8vw, 24px);
}

.landing-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 27px;
  border: 1px solid rgba(241, 196, 83, .66);
  border-radius: 9px;
  background:
    linear-gradient(180deg, rgba(172, 94, 21, .92), rgba(99, 45, 10, .94));
  color: #fff0c4;
  text-decoration: none;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: .35px;
  text-shadow: 0 1px 2px rgba(0,0,0,.55);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    0 12px 28px rgba(0,0,0,.38),
    0 0 24px rgba(172,94,21,.14);
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}

.landing-register:hover,
.landing-register:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.15),
    0 17px 34px rgba(0,0,0,.46),
    0 0 30px rgba(190,110,28,.20);
  outline: none;
}

/* --- Small contact footer ---------------------------------------------- */
.landing-footer {
  scroll-margin-top: 70px;
  padding: 25px 22px 28px;
  background: #060403;
  color: rgba(222, 207, 173, .67);
  border-top: 1px solid rgba(255,255,255,.025);
}

.landing-footer-inner {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  font-size: 12px;
}

.landing-footer-inner > div:first-child {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
}

.landing-footer strong {
  color: #dcc077;
  letter-spacing: .7px;
}

.landing-footer a {
  color: rgba(244, 222, 170, .86);
  text-underline-offset: 3px;
}

.landing-footer a:hover {
  color: #ffe09a;
}

.landing-footer-links {
  display: flex;
  gap: 18px;
}

/* --- Responsive --------------------------------------------------------- */
@media (max-width: 1100px) {
  .landing-about-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, .66fr);
    gap: 38px;
  }

  .landing-copy {
    font-size: 16px;
    line-height: 1.68;
  }
}

@media (max-width: 900px) {
  .landing-about-grid {
    grid-template-columns: 1fr;
  }

  .landing-character-panel {
    max-width: 680px;
    margin: 10px auto 0;
  }

  .landing-character-copy {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 21px;
  }

  .landing-character-cards {
    max-width: 650px;
    margin: 0 auto;
  }
}

@media (max-width: 820px) {
  html { scroll-padding-top: 62px; }

  .portal-topnav {
    min-height: 52px;
  }

  .portal-topnav-inner {
    min-height: 52px;
    width: min(100% - 24px, 1380px);
  }

  .portal-nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  .portal-nav-links {
    position: absolute;
    top: calc(100% + 1px);
    left: 12px;
    right: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    padding: 8px;
    border: 1px solid rgba(212,175,55,.30);
    border-top: 0;
    border-radius: 0 0 10px 10px;
    background: rgba(11, 7, 4, .98);
    box-shadow: 0 20px 34px rgba(0,0,0,.46);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-7px);
    pointer-events: none;
    transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
  }

  .portal-topnav.is-open .portal-nav-links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .portal-nav-link {
    min-height: 39px;
    border-color: rgba(212,175,55,.10);
    background: rgba(255,255,255,.018);
  }

  .portal-nav-register {
    grid-column: span 1;
    border-color: rgba(212,175,55,.42);
  }

  .portal-scroll-hint {
    bottom: 42px;
    font-size: 9px;
    padding: 5px 10px 4px;
  }
}

@media (max-width: 640px) {
  .landing-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .landing-section-heading {
    margin-bottom: 29px;
  }

  .landing-copy {
    font-size: 15px;
  }

  .landing-character-cards {
    padding-left: 5px;
    padding-right: 5px;
  }

  .landing-character-card {
    flex-basis: 45%;
  }

  .landing-character-card + .landing-character-card {
    margin-left: -17%;
  }

  .landing-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  .portal-topnav-brand {
    font-size: 14px;
    letter-spacing: 1.6px;
  }

  .portal-nav-links {
    grid-template-columns: 1fr;
  }

  .landing-character-card {
    flex-basis: 49%;
  }

  .landing-character-card + .landing-character-card {
    margin-left: -21%;
  }

  .landing-city-card figcaption {
    font-size: 11px;
  }

  .landing-cta::before,
  .landing-cta::after {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .portal-scroll-arrow { animation: none; }
  .landing-city-card img,
  .landing-character-card,
  .landing-register,
  .portal-scroll-hint {
    transition: none;
  }
}
