@import url('/css/mobile-guest.css?v=20261122');

body.tida-guest-page.tida-guest-home {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  margin: 0;
  background: #091321;
  color: #edf2e8;
}
.tida-guest-home #containerAPI > .bdr.bg_main {
  width: 100%;
  max-width: none;
  border-radius: 0;
}
.tida-guest-home .guest-notices { max-width: 480px; margin-inline: auto; }
.rpg-start {
  --rpg-text: #e8efef;
  --rpg-link: #b6c6d4;
  --rpg-gold: #e3bc76;
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(100%, 480px);
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
  background: #0c1b2d;
  box-shadow: 0 0 65px #020814;
  isolation: isolate;
}
.rpg-cover {
  position: relative;
  display: grid;
  flex: none;
  align-items: end;
  height: clamp(275px, 87vw, 395px);
  isolation: isolate;
  overflow: hidden;
}
.rpg-cover-art, .rpg-trial > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.rpg-cover-art { object-position: center 41%; }
.rpg-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, #0b18223d, transparent 20%, transparent 52%, #0c1b2d24 62%, #0c1b2d 100%);
}
.rpg-scene-tools {
  position: absolute;
  z-index: 1;
  top: max(8px, env(safe-area-inset-top, 0px));
  right: 9px;
  left: 9px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 5px;
}
.rpg-status {
  padding: 4px 7px;
  border: 1px solid #a4babe76;
  border-radius: 5px;
  background: #101c2ae8;
  color: var(--rpg-text);
  font-size: 11px;
}
.rpg-start .rpg-motion {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid #a4babe76;
  border-radius: 5px;
  background: #101c2ae8;
  color: var(--rpg-link);
}
.rpg-start .rpg-motion[aria-pressed="true"] { color: var(--rpg-gold); }
.rpg-start .rpg-motion .tida-icon { width: 17px; height: 17px; }
.rpg-status::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 4px 1px 1px;
  border-radius: 50%;
  background: #9ce3a5;
  box-shadow: 0 0 6px #9ce3a5;
}
.rpg-title {
  display: grid;
  justify-items: center;
  align-items: center;
  gap: 1px;
  padding: 0 8px 12px;
  color: #ffe6a5;
  text-align: center;
  filter: drop-shadow(0 4px 4px #081122);
}
.rpg-title .tida-icon {
  width: 31px;
  height: 36px;
  filter: drop-shadow(0 0 6px #fcba5b8c);
}
.rpg-title h1 {
  margin: 0;
  color: #ffe2a0;
  font: bold clamp(35px, 10.5vw, 56px)/1.04 Georgia, serif;
  letter-spacing: -.032em;
  text-shadow: 0 1px #fff4c9, 0 3px #824e2a, 0 5px #241b24, 0 0 18px #d592454f;
  overflow-wrap: anywhere;
}
.rpg-menu {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  padding: 2px clamp(12px, 4vw, 24px) max(18px, env(safe-area-inset-bottom, 0px));
  background: radial-gradient(ellipse at 50% 28%, #1a344988, transparent 69%);
  text-align: center;
}
.rpg-actions { display: grid; width: min(100%, 268px); gap: 9px; }
.rpg-current-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  max-width: 100%;
  margin: 0;
  color: var(--rpg-gold);
  font-size: 14px;
  overflow-wrap: anywhere;
}
#auth-hub-screen .rpg-current-hero .tida-icon { width: 17px; height: 17px; }
.tida-guest-home .rpg-action {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 45px;
  padding: 7px 13px;
  border: 1px solid;
  border-radius: 7px;
  font: 700 14px/1.3 "Segoe UI", Arial, sans-serif;
  text-align: center;
  text-shadow: 0 2px 2px #031024;
  box-shadow: 0 3px 0 #060e1d, inset 0 1px 0 #fff8de7a, inset 0 0 0 2px #0816294f;
}
.tida-guest-home .rpg-action--start {
  min-height: 51px;
  border-color: #e1c17e;
  background: linear-gradient(#33835f, #235e49 54%, #174633 55%, #206246);
  color: #fff5d6;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: .045em;
}
.tida-guest-home .rpg-action--login {
  border-color: #769eac;
  background: linear-gradient(#346482, #234862 54%, #19374f 55%, #264c65);
  color: #edf9ff;
}
.tida-guest-home .rpg-action .tida-icon { width: 19px; height: 19px; }
.rpg-action--start .tida-icon { color: #ffdfa1; }
.rpg-action--login .tida-icon { color: #b5dfed; }
.rpg-start .rpg-trial {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: min(100%, 330px);
  min-height: 64px;
  padding: 8px 11px;
  border: 1px solid #a18762;
  border-radius: 5px;
  background: #32273c;
  color: #fff1d0;
  text-align: left;
  text-shadow: 0 1px 3px #0c1629;
}
.rpg-trial > img { object-position: right 42%; }
.rpg-trial::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #142232fa, #142232c2 47%, #14223214 82%, #1422328c);
}
.rpg-trial strong, .rpg-trial small { display: block; }
.rpg-trial strong { font: bold 17px/1.2 Georgia, serif; }
.rpg-trial small { margin-top: 2px; font-size: 11px; line-height: 1.25; }
.rpg-start .rpg-trial > .tida-icon { width: 20px; height: 20px; }
.rpg-links, .rpg-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 9px;
  margin: 0;
  font-size: 11px;
}
.rpg-links {
  width: 100%;
  border-top: 1px solid #a4c2d233;
  padding-top: 3px;
}
.rpg-links a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 24px;
  padding: 3px 1px;
  color: var(--rpg-link);
}
.rpg-start .rpg-links .tida-icon { width: 13px; height: 13px; color: var(--rpg-gold); }
body.tida-guest-home #guest-title-screen .game-language-switch {
  gap: 0 2px;
  margin: 0;
  padding: 0;
  background-color: transparent !important;
}
body.tida-guest-home #guest-title-screen .game-language-switch > a {
  min-height: 36px;
  padding: 4px 9px;
  border: 0;
  border-radius: 0;
  background-color: transparent !important;
  color: var(--rpg-link) !important;
  font: 12px/1.3 "Segoe UI", Arial, sans-serif;
}
body.tida-guest-home #guest-title-screen .game-language-switch > a[aria-current] {
  color: var(--rpg-gold) !important;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.rpg-footer {
  width: 100%;
  margin-top: auto;
  padding-top: 13px;
  border-top: 1px solid #8d755848;
  color: #b6c6d4;
  line-height: 1.3;
}
.rpg-footer a { color: #d7c39c; }
.rpg-menu .guest-events { width: 100%; margin: 0; text-align: left; }
.rpg-menu .guest-events img { max-width: 100%; height: auto; }
.tida-guest-home .guest-dialog-banner {
  background: linear-gradient(transparent, #202020), url('/img/ui/guest-tida-heroes.webp') center 38%/cover;
}
.tida-guest-home .rpg-login-submit { width: 100%; margin-top: 18px; }
@media (hover: hover) {
  .rpg-action:hover, .rpg-trial:hover { filter: brightness(1.13); }
  .rpg-links a:hover, .rpg-footer a:hover { text-decoration: underline; }
  body.tida-guest-home #guest-title-screen .game-language-switch > a:hover {
    color: var(--rpg-gold) !important;
  }
}
@media (min-width: 481px) {
  .tida-guest-home #containerAPI {
    background-image: linear-gradient(180deg, #08101ba8, #08101bee), url('/img/ui/guest-tida-citadel.webp');
    background-position: center 40%;
    background-size: cover;
    background-attachment: fixed;
  }
  .rpg-start { border-inline: 1px solid #8d7558b5; }
}
@media (prefers-reduced-motion: no-preference) {
  .rpg-start:not([data-motion="off"]) .rpg-cover::before {
    content: "";
    position: absolute;
    inset: 32% 0 5%;
    pointer-events: none;
    background:
      radial-gradient(circle at 13% 73%, #ffe3a3 0 1px, transparent 4px),
      radial-gradient(circle at 29% 88%, #f9aa60 0 1px, transparent 4px),
      radial-gradient(circle at 62% 87%, #ffe3a3 0 1px, transparent 4px),
      radial-gradient(circle at 78% 65%, #f9aa60 0 1px, transparent 4px),
      radial-gradient(circle at 91% 85%, #ffe3a3 0 1px, transparent 4px);
    opacity: 0;
    animation: rpg-embers 7s ease-in-out infinite;
  }
  .rpg-start:not([data-motion="off"]) .rpg-actions .rpg-action--start { overflow: hidden; }
  .rpg-start:not([data-motion="off"]) .rpg-actions .rpg-action--start::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(108deg, transparent 22%, #ffe3a333 48%, transparent 72%);
    transform: translateX(-105%);
    animation: rpg-button-shine 8s ease-in-out 1s infinite;
  }
  body.guest-dialog-open .rpg-start .rpg-cover::before,
  body.guest-dialog-open .rpg-start .rpg-action--start::after { animation-play-state: paused; }
}
@keyframes rpg-embers {
  0%, 100% { transform: translate3d(0, 14px, 0); opacity: 0; }
  35% { opacity: .86; }
  82% { transform: translate3d(12px, -42px, 0); opacity: .12; }
}
@keyframes rpg-button-shine {
  0%, 74% { transform: translateX(-105%); }
  94%, 100% { transform: translateX(105%); }
}
@media (prefers-reduced-motion: reduce) {
  .rpg-start .rpg-motion { display: none; }
}
@media (max-width: 360px) {
  .rpg-menu { gap: 10px; }
  .rpg-links { gap: 0 6px; }
  .rpg-links a { min-height: 28px; }
}
