#app.app--auth {
  width: 100%;
  max-width: none;
  min-height: 100dvh;
  padding: 0;
}

.welcome-auth {
  position: relative;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  overflow-x: hidden;
  padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  background:
    radial-gradient(circle at 50% 16%, rgba(42, 126, 185, 0.18), transparent 31%),
    radial-gradient(circle at 82% 76%, rgba(106, 76, 180, 0.12), transparent 30%),
    linear-gradient(145deg, #030711 0%, #07101c 48%, #050711 100%);
  isolation: isolate;
}

.welcome-auth::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(74, 184, 235, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 184, 235, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 80%, transparent);
}

.welcome-auth__atmosphere,
.welcome-auth__atmosphere::before,
.welcome-auth__atmosphere::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.welcome-auth__atmosphere {
  overflow: hidden;
}

.welcome-auth__atmosphere::before,
.welcome-auth__atmosphere::after {
  content: '';
  height: 1px;
  top: 26%;
  background: linear-gradient(90deg, transparent 4%, rgba(91, 210, 255, 0.38), transparent 58%);
  transform: translateX(-70%) rotate(-4deg);
  animation: welcome-streak 18s linear infinite;
}

.welcome-auth__atmosphere::after {
  top: 68%;
  animation-delay: -9s;
  animation-duration: 24s;
  opacity: 0.5;
}

.welcome-auth__particle {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #8ee8ff;
  box-shadow: 0 0 8px #3ecfff;
  opacity: 0.32;
  animation: welcome-drift 12s ease-in-out infinite alternate;
}

.welcome-auth__particle:nth-child(1) { left: 12%; top: 20%; }
.welcome-auth__particle:nth-child(2) { left: 25%; top: 73%; animation-delay: -3s; }
.welcome-auth__particle:nth-child(3) { left: 44%; top: 9%; animation-delay: -7s; }
.welcome-auth__particle:nth-child(4) { left: 67%; top: 82%; animation-delay: -5s; }
.welcome-auth__particle:nth-child(5) { left: 81%; top: 28%; animation-delay: -9s; }
.welcome-auth__particle:nth-child(6) { left: 91%; top: 61%; animation-delay: -2s; }
.welcome-auth__particle:nth-child(7) { left: 7%; top: 88%; animation-delay: -10s; }

.welcome-auth__comet {
  --comet-tail: 36px;
  --comet-core: 3px;
  --comet-angle: 18deg;
  --comet-flight-x: 42vw;
  --comet-flight-y: 17vh;
  --comet-color: rgba(118, 227, 255, .88);
  position: absolute;
  left: var(--comet-left, 8%);
  top: var(--comet-top, 16%);
  display: none;
  width: var(--comet-tail);
  height: 1px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, rgba(90, 207, 242, .08) 20%, var(--comet-color) 82%, rgba(238, 252, 255, .98) 100%);
  filter: drop-shadow(0 0 3px rgba(82, 211, 251, .34));
  transform-origin: right center;
  animation: welcome-comet-flight var(--comet-duration, 12s) linear infinite;
  animation-delay: var(--comet-delay, 0s);
}

.welcome-auth__comet::after {
  content: '';
  position: absolute;
  right: calc(var(--comet-core) * -.25);
  top: 50%;
  width: var(--comet-core);
  height: var(--comet-core);
  border-radius: 50%;
  background: #f2fdff;
  box-shadow: 0 0 4px #dffaff, 0 0 10px rgba(75, 213, 255, .72);
  transform: translateY(-50%);
}

.welcome-auth--welcome .welcome-auth__atmosphere::before,
.welcome-auth--welcome .welcome-auth__atmosphere::after {
  display: none;
}

.welcome-auth--welcome .welcome-auth__comet {
  display: block;
}

.welcome-auth__comet:nth-of-type(8) {
  --comet-left: -5%; --comet-top: 19%; --comet-tail: 28px; --comet-core: 2px;
  --comet-angle: 16deg; --comet-flight-x: 48vw; --comet-flight-y: 16vh;
  --comet-duration: 11.8s; --comet-delay: -2.4s; opacity: .72;
}
.welcome-auth__comet:nth-of-type(9) {
  --comet-left: 12%; --comet-top: 63%; --comet-tail: 43px; --comet-core: 3px;
  --comet-angle: 20deg; --comet-flight-x: 44vw; --comet-flight-y: 19vh;
  --comet-duration: 15.7s; --comet-delay: -9.1s;
}
.welcome-auth__comet:nth-of-type(10) {
  --comet-left: 47%; --comet-top: 8%; --comet-tail: 22px; --comet-core: 2px;
  --comet-angle: 14deg; --comet-flight-x: 38vw; --comet-flight-y: 13vh;
  --comet-duration: 18.4s; --comet-delay: -4.8s; opacity: .55;
}
.welcome-auth__comet:nth-of-type(11) {
  --comet-left: 55%; --comet-top: 47%; --comet-tail: 54px; --comet-core: 4px;
  --comet-angle: 22deg; --comet-flight-x: 46vw; --comet-flight-y: 21vh;
  --comet-duration: 13.3s; --comet-delay: -11.6s;
  --comet-color: rgba(176, 171, 255, .76);
}
.welcome-auth__comet:nth-of-type(12) {
  --comet-left: 4%; --comet-top: 82%; --comet-tail: 34px; --comet-core: 3px;
  --comet-angle: 17deg; --comet-flight-x: 51vw; --comet-flight-y: 15vh;
  --comet-duration: 20.1s; --comet-delay: -15.2s; opacity: .64;
}

.welcome-auth__frame {
  position: relative;
  width: min(94vw, 720px);
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(83, 201, 248, 0.35) transparent;
  padding: clamp(1.55rem, 4vw, 2.8rem) clamp(1.25rem, 5vw, 3.35rem);
  border: 0;
  border-radius: 0;
  clip-path: polygon(0 25px, 25px 0, calc(100% - 25px) 0, 100% 25px, 100% calc(100% - 25px), calc(100% - 25px) 100%, 25px 100%, 0 calc(100% - 25px));
  background: linear-gradient(98deg, #29c8ff 0%, #a8e9ff 30%, #cbd4ff 53%, #b764ff 100%);
  box-shadow: inset 0 0 0 1px rgba(218, 242, 255, .08), inset 0 0 46px rgba(0, 4, 15, .46), -12px 0 34px rgba(27, 184, 255, .15), 12px 0 34px rgba(169, 74, 255, .14), 0 28px 72px rgba(0, 0, 0, .6);
  filter: drop-shadow(-2px 0 5px rgba(42, 200, 255, .14)) drop-shadow(2px 0 5px rgba(181, 88, 255, .13));
  backdrop-filter: blur(6px);
}

.auth-service--document::after,
.auth-service--verification::after {
  content: 'RPS';
  position: fixed;
  left: 50%;
  top: 54%;
  z-index: -1;
  color: rgba(94, 180, 235, .035);
  font-family: Impact, 'Arial Black', system-ui, sans-serif;
  font-size: clamp(15rem, 34vw, 38rem);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -.08em;
  line-height: .7;
  transform: translate(-52%, -50%);
  filter: blur(10px);
  pointer-events: none;
}

.auth-service__frame--document,
.auth-service__frame--verification {
  width: min(94vw, 760px);
}

.auth-service__content {
  min-height: 0;
}

.auth-service__surface {
  width: min(100%, 600px);
  margin: .85rem auto 0;
  padding: clamp(.9rem, 2.2vw, 1.35rem);
  border: 1px solid rgba(105, 194, 229, .14);
  border-radius: 11px;
  color: rgba(207, 226, 237, .84);
  background: linear-gradient(155deg, rgba(5, 16, 28, .76), rgba(9, 10, 26, .8));
  box-shadow: inset 0 0 24px rgba(63, 178, 224, .035);
}

.auth-service__title {
  margin: 0 0 .85rem;
}

.auth-service__document {
  max-height: min(48dvh, 520px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
  scrollbar-width: thin;
  scrollbar-color: rgba(76, 193, 230, .38) transparent;
}

.auth-service__document::-webkit-scrollbar { width: 4px; }
.auth-service__document::-webkit-scrollbar-track { background: transparent; }
.auth-service__document::-webkit-scrollbar-thumb { border-radius: 999px; background: rgba(76, 193, 230, .38); }
.auth-service__document .legal-card__notice,
.auth-service__document .legal-card__body { color: rgba(190, 213, 226, .76); line-height: 1.65; }
.auth-service__document .rules-list { margin: 0; }

.auth-service__verification {
  max-height: min(52dvh, 560px);
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(76, 193, 230, .38) transparent;
}

.auth-service__verification .profile-card__head { margin-bottom: .8rem; }
.auth-service__verification .security-card__body { display: grid; gap: .65rem; }
.auth-service__verification .security-card__block { border-color: rgba(101, 190, 225, .13); background: rgba(5, 15, 27, .52); }

.welcome-auth__frame::before {
  content: '';
  position: absolute;
  z-index: 0;
  inset: 3px;
  pointer-events: none;
  border: 1px solid transparent;
  clip-path: polygon(0 22px, 22px 0, calc(100% - 22px) 0, 100% 22px, 100% calc(100% - 22px), calc(100% - 22px) 100%, 22px 100%, 0 calc(100% - 22px));
  background:
    linear-gradient(135deg, transparent 47%, rgba(151, 232, 255, .2) 49%, rgba(151, 232, 255, .2) 51%, transparent 53%) top left / 34px 34px no-repeat,
    linear-gradient(225deg, transparent 47%, rgba(215, 177, 255, .18) 49%, rgba(215, 177, 255, .18) 51%, transparent 53%) top right / 34px 34px no-repeat,
    linear-gradient(45deg, transparent 47%, rgba(113, 218, 255, .16) 49%, rgba(113, 218, 255, .16) 51%, transparent 53%) bottom left / 34px 34px no-repeat,
    linear-gradient(315deg, transparent 47%, rgba(194, 126, 255, .17) 49%, rgba(194, 126, 255, .17) 51%, transparent 53%) bottom right / 34px 34px no-repeat,
    linear-gradient(155deg, rgba(15, 37, 58, .97), rgba(5, 10, 23, .99) 42%, rgba(15, 8, 31, .985)) padding-box,
    linear-gradient(98deg, rgba(75, 210, 255, .68), rgba(210, 239, 255, .3) 48%, rgba(190, 105, 255, .64)) border-box;
  box-shadow: inset 10px 0 22px -18px #34d4ff, inset -10px 0 22px -18px #b96cff;
}

.welcome-auth__frame::after {
  content: '';
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  padding: 2px;
  opacity: .82;
  clip-path: polygon(0 25px, 25px 0, calc(100% - 25px) 0, 100% 25px, 100% calc(100% - 25px), calc(100% - 25px) 100%, 25px 100%, 0 calc(100% - 25px));
  background: conic-gradient(from var(--welcome-frame-pulse-angle), transparent 0deg 344deg, rgba(126, 221, 255, .06) 348deg, rgba(190, 240, 255, .32) 352deg, rgba(238, 251, 255, .92) 356deg, rgba(205, 239, 255, .3) 358deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 3px rgba(190, 234, 255, .48));
  animation: welcome-frame-pulse 6s linear infinite;
}

.welcome-auth__corner { display: none; }

.welcome-auth__content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: stretch; animation: welcome-panel-in .34s ease both; }
.welcome-auth__utility { position: absolute; top: -.15rem; right: 0; display: flex; gap: .42rem; z-index: 2; }
.welcome-auth__utility-link { display: inline-flex; align-items: center; gap: .32rem; min-height: 30px; padding: .22rem .45rem; border: 1px solid rgba(103,183,218,.2); border-radius: 7px; color: rgba(176, 224, 240, .76); background: rgba(5,16,28,.5); font-size: .56rem; font-weight: 750; letter-spacing: .07em; cursor: pointer; touch-action: manipulation; transition: color .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .12s ease; }
.welcome-auth__utility-link svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.welcome-auth__utility-link:focus-visible { outline: 1px solid #91e6ff; outline-offset: 2px; }
.welcome-auth__utility-link:active { transform: scale(.97); }
.welcome-auth__utility-link--support { border-color: rgba(180,112,240,.2); }
.welcome-language-modal__choices { display: grid; gap: .42rem; min-width: min(290px, 74vw); }
.welcome-language-modal__choice { display: flex; align-items: center; justify-content: space-between; min-height: 42px; padding: .55rem .7rem; border: 1px solid rgba(103, 183, 218, .2); border-radius: 8px; color: rgba(218, 239, 248, .82); background: linear-gradient(180deg, rgba(13, 31, 48, .78), rgba(6, 17, 30, .82)); cursor: pointer; touch-action: manipulation; transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .1s ease; }
.welcome-language-modal__choice--active { border-color: rgba(104, 218, 255, .65); color: #eefcff; background: linear-gradient(180deg, rgba(18, 58, 78, .84), rgba(8, 29, 45, .88)); box-shadow: inset 0 0 16px rgba(64, 197, 241, .09), 0 0 14px rgba(55, 197, 244, .1); }
.welcome-language-modal__choice:focus-visible { outline: 2px solid #91e6ff; outline-offset: 2px; }
.welcome-language-modal__choice:active { transform: scale(.985); }
.welcome-language-modal__label { font-size: .76rem; font-weight: 700; letter-spacing: .04em; }
.welcome-language-modal__code { color: rgba(142, 207, 231, .64); font-size: .6rem; font-weight: 800; letter-spacing: .08em; }
.welcome-language-modal { width: min(100%, 395px); }
body.public-modal-open { overflow: hidden; }
.welcome-auth__frame {
  transition: opacity .22s ease, filter .22s ease, transform .22s ease;
}
.welcome-auth--modal-open .welcome-auth__frame {
  opacity: .025;
  filter: blur(16px) brightness(.14) saturate(.4);
  transform: scale(.985);
  pointer-events: none;
}
.modal-overlay--public {
  isolation: isolate;
  background:
    radial-gradient(circle at 22% 28%, rgba(12, 124, 173, .08), transparent 38%),
    radial-gradient(circle at 78% 70%, rgba(119, 53, 180, .07), transparent 40%),
    rgba(1, 5, 12, .9);
  backdrop-filter: blur(5px);
  animation: public-modal-overlay-in .22s ease both;
  overscroll-behavior: none;
}
.modal-overlay--public::before {
  content: 'RPS';
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 0;
  color: rgba(132, 196, 255, .07);
  font-family: Impact, 'Arial Black', system-ui, sans-serif;
  font-size: clamp(18rem, 38vw, 44rem);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -.08em;
  line-height: .7;
  white-space: nowrap;
  transform: translate(-52%, -48%) scale(1.05);
  filter: blur(20px);
  text-shadow: -4vw 0 7vw rgba(28, 197, 255, .12), 4vw 0 7vw rgba(167, 75, 239, .11);
  pointer-events: none;
  user-select: none;
}
.modal-overlay--public .modal {
  position: relative;
  z-index: 1;
  animation: public-modal-panel-in .22s cubic-bezier(.2, .75, .25, 1) both;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .66), 0 0 20px rgba(72, 195, 237, .09), inset 0 0 24px rgba(72, 195, 237, .035);
}
.modal-overlay--public.modal-overlay--closing { animation: public-modal-overlay-out .18s ease both; }
.modal-overlay--public.modal-overlay--closing .modal { animation: public-modal-panel-out .18s ease both; }
@keyframes public-modal-overlay-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes public-modal-overlay-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes public-modal-panel-in {
  from { opacity: 0; transform: scale(.98); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes public-modal-panel-out {
  from { opacity: 1; transform: scale(1); }
  to { opacity: 0; transform: scale(.985); }
}
.welcome-support-modal {
  width: min(100%, 620px);
  max-height: min(82dvh, 720px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-color: rgba(113, 211, 245, .3);
  background: linear-gradient(145deg, rgba(8, 24, 39, .96), rgba(17, 12, 34, .95));
  box-shadow: inset 0 0 28px rgba(67, 193, 235, .05), 0 20px 65px rgba(0, 0, 0, .52), 0 0 22px rgba(93, 193, 240, .08);
  backdrop-filter: blur(12px);
}
.welcome-support-modal .modal__title { flex: none; margin-bottom: .35rem; }
.welcome-support-modal .modal__body {
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(74, 196, 232, .42) transparent;
  color-scheme: dark;
  scrollbar-gutter: stable;
  padding-right: .2rem;
}
.welcome-support-modal .modal__body::-webkit-scrollbar { width: 4px; height: 4px; }
.welcome-support-modal .modal__body::-webkit-scrollbar-track { background: transparent; }
.welcome-support-modal .modal__body::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(91, 218, 248, .46), rgba(94, 121, 205, .32));
  box-shadow: 0 0 5px rgba(65, 190, 231, .12);
}
.welcome-support-modal .modal__body::-webkit-scrollbar-thumb:hover { background: rgba(99, 218, 247, .58); }
body:has(.welcome-support-modal) { overflow: hidden; }
body:has(.welcome-support-modal) .modal-overlay { overscroll-behavior: none; }
.welcome-support-modal .modal__footer { display: none; }
.guest-support-modal__subtitle { margin: 0 0 .85rem; color: rgba(178, 208, 224, .74); font-size: .72rem; line-height: 1.45; }
.guest-support__contact { margin-top: .8rem; padding-top: .15rem; border-top: 1px solid rgba(140, 204, 229, .1); }
.guest-support__reveal-form { width: 100%; }
.welcome-support-modal .guest-support__form { margin-top: .7rem; }
.welcome-legal-modal {
  width: min(100%, 620px);
  max-height: min(82dvh, 720px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-color: rgba(113, 211, 245, .3);
  background: linear-gradient(145deg, rgba(8, 24, 39, .96), rgba(17, 12, 34, .95));
  backdrop-filter: blur(12px);
}
.welcome-legal-modal .modal__title { flex: none; margin-bottom: .55rem; }
.welcome-legal-modal .modal__body {
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(74, 196, 232, .42) transparent;
  color-scheme: dark;
  scrollbar-gutter: stable;
  padding-right: .25rem;
}
.welcome-legal-modal .modal__body::-webkit-scrollbar { width: 4px; height: 4px; }
.welcome-legal-modal .modal__body::-webkit-scrollbar-track { background: transparent; }
.welcome-legal-modal .modal__body::-webkit-scrollbar-thumb { border-radius: 999px; background: linear-gradient(180deg, rgba(91, 218, 248, .46), rgba(94, 121, 205, .32)); }
.welcome-legal-modal .modal__footer { display: none; }
.public-legal-modal__content { display: grid; gap: .75rem; }
.public-legal-modal__content p { margin: 0; }
.public-legal-modal__rules { margin: 0; padding-right: .35rem; }
@media (max-width: 430px) {
  .welcome-language-modal { width: min(100%, 350px); }
  .welcome-support-modal { width: 100%; max-height: calc(100dvh - 1.25rem); padding: 1rem; }
  .welcome-legal-modal { width: 100%; max-height: calc(100dvh - 1.25rem); padding: 1rem; }
  .welcome-support-modal .modal__body { scrollbar-width: none; scrollbar-gutter: auto; padding-right: .05rem; }
  .welcome-legal-modal .modal__body { scrollbar-width: none; scrollbar-gutter: auto; padding-right: .05rem; }
  .welcome-support-modal .modal__body::-webkit-scrollbar { display: none; width: 0; height: 0; }
  .welcome-legal-modal .modal__body::-webkit-scrollbar { display: none; width: 0; height: 0; }
}
@media (hover: none), (pointer: coarse) {
  .welcome-support-modal .modal__body, .welcome-legal-modal .modal__body { scrollbar-width: none; scrollbar-gutter: auto; }
  .welcome-support-modal .modal__body::-webkit-scrollbar, .welcome-legal-modal .modal__body::-webkit-scrollbar { display: none; width: 0; height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .welcome-auth__frame, .modal-overlay--public, .modal-overlay--public .modal { transition: none; animation: none; }
  .modal-overlay--public::before { filter: blur(20px); }
}
.welcome-auth__product-hint { margin: -.65rem 0 .9rem; text-align: center; color: rgba(142,177,199,.62); font-size: .58rem; letter-spacing: .065em; }
.welcome-auth__legal { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem .65rem; margin-top: .7rem; }
.welcome-auth__legal-link { padding: 0; border: 0; color: rgba(139,181,201,.55); background: transparent; font-size: .55rem; line-height: 1.35; cursor: pointer; text-decoration: underline; text-decoration-color: rgba(100,181,214,.22); text-underline-offset: .18rem; }
.welcome-auth__legal-link:hover, .welcome-auth__legal-link:focus-visible { color: rgba(190,232,246,.86); outline: none; text-decoration-color: rgba(112,221,255,.55); }
.welcome-auth__consent { margin: .2rem 0 .65rem; color: rgba(155,185,202,.68); font-size: .6rem; line-height: 1.45; text-align: center; }
.welcome-auth__consent .welcome-auth__legal-link { display: inline; font-size: inherit; }
.welcome-auth__check { display: grid; grid-template-columns: 1.05rem 1fr; gap: .55rem; align-items: start; margin: .5rem 0; color: rgba(190, 215, 228, .82); font-size: .66rem; line-height: 1.4; cursor: pointer; }
.welcome-auth__check input { width: 1rem; height: 1rem; margin: .05rem 0 0; accent-color: #56cce9; }
.welcome-auth__check-legal { position: relative; color: rgba(174,224,240,.88); cursor: pointer; text-decoration: underline; text-decoration-color: rgba(94,196,229,.48); text-underline-offset: .17rem; transition: color .18s ease, text-decoration-color .18s ease; }
.welcome-auth__check-legal:hover { color: #d4f5ff; text-decoration-color: rgba(112,221,255,.8); }
.welcome-auth__check-legal:focus-visible { outline: 1px solid rgba(145,230,255,.9); outline-offset: 2px; border-radius: 2px; color: #d8f7ff; }
.welcome-auth__verification-copy { margin: 0 0 .45rem; color: rgba(181, 210, 224, .74); text-align: center; font-size: .72rem; line-height: 1.5; }
.welcome-auth__verification-target { margin: 0 0 1rem; color: #bfefff; text-align: center; font-size: .82rem; font-weight: 700; letter-spacing: .08em; }
.welcome-auth__resend { display: block; margin: .85rem auto 0; padding: .35rem; border: 0; color: rgba(137, 214, 239, .78); background: transparent; font-size: .64rem; font-weight: 700; letter-spacing: .07em; cursor: pointer; }
.welcome-auth__resend:disabled { opacity: .45; cursor: wait; }
.welcome-auth__brand { text-align: center; }
.welcome-auth__eyebrow { color: rgba(138, 215, 240, .64); font-size: .62rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; }
.welcome-auth__title { display: grid; justify-items: center; margin: .35rem 0 0; font-size: 0; line-height: 1; color: #eefbff; }
.welcome-auth__title::before { content: 'RPS'; font-family: Impact, 'Arial Black', system-ui, sans-serif; font-size: clamp(3.65rem, 13vw, 6.8rem); font-weight: 900; font-style: italic; letter-spacing: -.055em; line-height: .83; color: transparent; background: linear-gradient(102deg, #20c9ed 4%, #31bce8 28%, #278fd6 36%, #65a8e9 48%, #587fdc 63%, #8468df 76%, #ab5ee9 96%); background-clip: text; -webkit-background-clip: text; -webkit-text-stroke: 1px rgba(157, 218, 244, .24); filter: drop-shadow(-3px 0 8px rgba(20,195,255,.24)) drop-shadow(4px 0 10px rgba(145,76,226,.2)); }
.welcome-auth__title::after { content: 'ARENA'; margin-top: .52rem; font-family: system-ui, sans-serif; font-size: clamp(.78rem, 2.8vw, 1.2rem); font-weight: 650; font-style: normal; letter-spacing: .29em; line-height: 1; color: #d9e8f6; text-shadow: -5px 0 11px rgba(29,199,255,.32), 5px 0 11px rgba(176,88,255,.28); transform: translateX(.145em); }
.welcome-auth__motto { margin-top: .9rem; color: #a9e9ff; font-size: clamp(.78rem, 2.8vw, 1rem); font-weight: 800; letter-spacing: .13em; }
.welcome-auth__classic { margin-top: .35rem; color: rgba(181, 195, 211, .62); font-size: .68rem; font-weight: 600; letter-spacing: .16em; }

.welcome-auth__sigils { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.5rem, 2vw, .85rem); margin: clamp(.9rem, 3vh, 1.45rem) auto 1.25rem; width: min(100%, 390px); }
.welcome-auth__sigil { display: grid; place-items: center; gap: .35rem; min-width: 0; color: #86dffc; font-size: .58rem; font-weight: 800; letter-spacing: .08em; transition: color .22s ease, transform .22s ease, filter .22s ease; }
.welcome-auth__sigil svg { width: clamp(50px, 13vw, 64px); aspect-ratio: 1; padding: 12px; overflow: visible; border: 1px solid rgba(91, 210, 255, .3); border-radius: 50%; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; background: radial-gradient(circle, rgba(61, 184, 230, .12), rgba(8, 14, 26, .78)); box-shadow: 0 0 18px rgba(48, 186, 234, .14), inset 0 0 14px rgba(68, 176, 218, .08); animation: welcome-sigil 6.5s ease-in-out infinite; transition: border-color .22s ease, box-shadow .22s ease, filter .22s ease; }
.welcome-auth__sigil--scissors { color: #aaa9ff; }
.welcome-auth__sigil--scissors svg { animation-delay: -1.7s; }
.welcome-auth__sigil--paper { color: #e37bff; }
.welcome-auth__sigil--paper svg { border-color: rgba(222, 104, 255, .3); box-shadow: 0 0 18px rgba(211, 69, 255, .14), inset 0 0 14px rgba(197, 76, 230, .08); animation-delay: -3.4s; }

.welcome-auth__guest, .welcome-auth__submit { position: relative; width: 100%; min-height: 3.6rem; border: 1px solid rgba(170, 236, 255, .76); border-radius: 11px; overflow: hidden; color: #031018; background: linear-gradient(105deg, #72cfe9 0%, #b8e7ed 46%, #8ba9de 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 -1px 0 rgba(25,92,120,.26), 0 0 24px rgba(58, 201, 247, .24); font-weight: 900; letter-spacing: .065em; cursor: pointer; touch-action: manipulation; transition: transform .18s ease, border-color .2s ease, box-shadow .2s ease, filter .2s ease; }
.welcome-auth__guest { border-color: rgba(181, 225, 255, .82); background: linear-gradient(105deg, #3d9fc4 0%, #89c8db 44%, #947bd0 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.42), inset 0 -1px 0 rgba(30,64,116,.35), -8px 0 24px rgba(38,193,249,.2), 8px 0 24px rgba(166,82,243,.18); }
.welcome-auth__guest::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 34%, rgba(255,255,255,.48), transparent 66%); transform: translateX(-135%); animation: welcome-sweep 5.6s ease-in-out infinite; }
.welcome-auth__guest:focus-visible, .welcome-auth__submit:focus-visible, .welcome-auth__secondary-btn:focus-visible, .welcome-auth__how:focus-visible, .welcome-auth__back:focus-visible { outline: 2px solid #a2ebff; outline-offset: 3px; box-shadow: 0 0 0 1px rgba(4,18,30,.9), 0 0 18px rgba(85,211,255,.42); }
.welcome-auth__guest:active:not(:disabled), .welcome-auth__submit:active:not(:disabled) { transform: translateY(1px) scale(.985); filter: brightness(.98); transition-duration: .07s; }
.welcome-auth__guest:disabled { opacity: .7; cursor: progress; }
.welcome-auth__guest-note { margin: .4rem 0 .58rem; text-align: center; color: rgba(174, 203, 216, .56); font-size: .58rem; line-height: 1.2; font-weight: 500; letter-spacing: .035em; white-space: nowrap; }
.welcome-auth__secondary { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.welcome-auth__secondary-btn { min-height: 3rem; border: 1px solid rgba(112, 185, 218, .28); border-radius: 10px; color: #d8f5ff; background: linear-gradient(180deg, rgba(14,34,52,.72), rgba(7,18,31,.72)); box-shadow: inset 0 0 0 rgba(77,202,249,0); font-size: .76rem; font-weight: 800; letter-spacing: .08em; cursor: pointer; touch-action: manipulation; transition: transform .18s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.welcome-auth__secondary-btn:first-child { border-color: rgba(48, 196, 248, .38); box-shadow: inset 0 0 14px rgba(40,184,239,.04); }
.welcome-auth__secondary-btn:last-child { border-color: rgba(182, 91, 239, .36); color: #eadfff; box-shadow: inset 0 0 14px rgba(174,71,230,.04); }
.welcome-auth__secondary-btn:active { transform: translateY(1px) scale(.985); transition-duration: .07s; }
.welcome-auth__how, .welcome-auth__back { position: relative; align-self: center; margin-top: 1rem; border: 0; background: transparent; color: rgba(146, 211, 235, .75); font-size: .72rem; font-weight: 700; letter-spacing: .08em; cursor: pointer; touch-action: manipulation; transition: color .2s ease, transform .2s ease, text-shadow .2s ease; }
.welcome-auth__how::after { content: '  ›'; display: inline-block; margin-left: .2rem; transition: transform .2s ease; }
.welcome-auth__how:active, .welcome-auth__back:active { transform: translateY(1px) scale(.985); }
.welcome-auth__back { align-self: flex-start; margin: 0 0 .6rem; }
.welcome-auth__form-title { margin: 1.1rem 0 .8rem; text-align: center; color: #e9faff; font-size: 1rem; letter-spacing: .14em; }
.welcome-auth__form { width: min(100%, 430px); margin: 0 auto; }
.welcome-auth__form .welcome-auth__input { margin-bottom: .64rem; }
.welcome-auth__content:has(.welcome-auth__form) .welcome-auth__form-title { margin-top: .8rem; margin-bottom: .65rem; }
.welcome-auth__form .welcome-auth__password-checklist { gap: .14rem .6rem; margin-bottom: .38rem; padding-block: .44rem; }
.welcome-auth__form .welcome-auth__check { margin-block: .32rem; }
.welcome-auth__input { border-color: rgba(104, 185, 220, .24); border-radius: 10px; background: rgba(3, 10, 20, .72); transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease; }
.welcome-auth__input:focus { outline: 1px solid #68d7ff; border-color: rgba(112, 221, 255, .78); background: rgba(4, 14, 27, .82); box-shadow: 0 0 0 1px rgba(50,170,215,.16), 0 0 18px rgba(72, 202, 248, .2), inset 0 0 12px rgba(48,157,199,.06); }
.welcome-auth__input[aria-invalid="true"] { border-color: rgba(255, 104, 126, .82); box-shadow: 0 0 0 1px rgba(255,73,105,.12), 0 0 14px rgba(255,61,98,.12); }
.welcome-auth__field-error { margin: -.45rem 0 .45rem; color: #ff9bac; font-size: .62rem; line-height: 1.35; }
.welcome-auth__check--invalid { color: #ff9bac; }
.welcome-auth__check--invalid input { outline: 1px solid #ff6f8a; outline-offset: 2px; }
.welcome-auth__password-toggle { display: block; margin: -.5rem 0 .35rem auto; padding: .2rem; border: 0; color: #8eddf7; background: transparent; font-size: .6rem; cursor: pointer; }
.welcome-auth__password-checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .18rem .6rem; margin: 0 0 .55rem; padding: .55rem .65rem; border: 1px solid rgba(92,174,207,.14); border-radius: 8px; color: rgba(175,198,211,.62); background: rgba(4,13,23,.42); list-style: none; font-size: .58rem; line-height: 1.35; }
.welcome-auth__password-checklist .is-valid { color: #74ddbd; }
.welcome-auth__otp-expiry { margin: -.55rem 0 .65rem; color: rgba(152,215,235,.76); text-align: center; font-size: .64rem; font-variant-numeric: tabular-nums; }
.welcome-auth__input:-webkit-autofill,
.welcome-auth__input:-webkit-autofill:hover,
.welcome-auth__input:-webkit-autofill:active {
  -webkit-text-fill-color: #e7f8ff;
  caret-color: #e7f8ff;
  border-color: rgba(104, 185, 220, .38);
  box-shadow: 0 0 0 1000px #071321 inset, inset 0 0 12px rgba(48, 157, 199, .06);
  transition: background-color 9999s ease-out 0s, border-color .2s ease, box-shadow .2s ease;
}
.welcome-auth__input:-webkit-autofill:focus {
  -webkit-text-fill-color: #f1fbff;
  caret-color: #f1fbff;
  outline: 1px solid #68d7ff;
  border-color: rgba(112, 221, 255, .78);
  box-shadow: 0 0 0 1000px #081827 inset, 0 0 0 1px rgba(50,170,215,.16), 0 0 18px rgba(72,202,248,.2), inset 0 0 12px rgba(48,157,199,.06);
}
.welcome-auth__submit { min-height: 3.2rem; margin-top: .38rem; }
.welcome-auth__steps { display: grid; gap: .65rem; margin-bottom: 1rem; list-style: none; counter-reset: welcome-step; }
.welcome-auth__step { counter-increment: welcome-step; display: grid; grid-template-columns: auto 1fr; column-gap: .75rem; padding: .75rem; border: 1px solid rgba(106, 190, 226, .16); border-radius: 10px; background: rgba(7, 17, 30, .5); }
.welcome-auth__step::before { content: counter(welcome-step, decimal-leading-zero); grid-row: 1 / 3; color: #75ddff; font-weight: 900; }
.welcome-auth__step strong { color: #edfaff; font-size: .74rem; letter-spacing: .09em; }
.welcome-auth__step span { color: rgba(181, 202, 216, .72); font-size: .72rem; }

@media (max-width: 430px) {
  .welcome-auth { padding-left: max(.65rem, env(safe-area-inset-left)); padding-right: max(.65rem, env(safe-area-inset-right)); }
  .welcome-auth__comet { --comet-tail: 26px; --comet-core: 2px; }
  .welcome-auth__comet:nth-of-type(9) { --comet-tail: 32px; }
  .welcome-auth__comet:nth-of-type(11),
  .welcome-auth__comet:nth-of-type(12) { display: none; }
  .welcome-auth__frame { width: 100%; padding: 1.45rem 1.05rem 1.25rem; max-height: calc(100dvh - 1.3rem); clip-path: polygon(0 18px, 18px 0, calc(100% - 18px) 0, 100% 18px, 100% calc(100% - 18px), calc(100% - 18px) 100%, 18px 100%, 0 calc(100% - 18px)); }
  .welcome-auth__frame::before { inset: 3px; clip-path: polygon(0 15px, 15px 0, calc(100% - 15px) 0, 100% 15px, 100% calc(100% - 15px), calc(100% - 15px) 100%, 15px 100%, 0 calc(100% - 15px)); }
  .welcome-auth__title::before { font-size: clamp(3.3rem, 21vw, 5rem); }
  .welcome-auth__title::after { letter-spacing: .24em; transform: translateX(.12em); }
  .welcome-auth__secondary { gap: .5rem; }
  .welcome-auth__secondary-btn { font-size: .67rem; }
  .welcome-auth__password-checklist { grid-template-columns: 1fr; }
  .auth-service__frame--document,
  .auth-service__frame--verification { width: 100%; }
  .auth-service__surface { margin-top: .55rem; padding: .8rem; }
  .auth-service__document,
  .auth-service__verification { max-height: min(56dvh, 520px); scrollbar-width: none; }
  .auth-service__document::-webkit-scrollbar,
  .auth-service__verification::-webkit-scrollbar { display: none; width: 0; }
}

@media (max-height: 700px) {
  .welcome-auth__frame { padding-top: 1rem; padding-bottom: 1rem; }
  .welcome-auth__sigils { margin-top: .9rem; margin-bottom: .8rem; }
  .welcome-auth__sigil svg { width: 48px; }
}

@media (max-height: 820px) {
  .welcome-auth { align-items: flex-start; padding-top: .55rem; padding-bottom: .55rem; overflow-y: auto; }
  .welcome-auth__frame { max-height: none; min-height: 0; margin: auto; padding-top: 1rem; padding-bottom: 1rem; }
  .welcome-auth__content:has(.welcome-auth__form) .welcome-auth__brand { transform: scale(.82); transform-origin: top center; margin-bottom: -1.1rem; }
  .welcome-auth__content:has(.welcome-auth__form) .welcome-auth__eyebrow,
  .welcome-auth__content:has(.welcome-auth__form) .welcome-auth__motto,
  .welcome-auth__content:has(.welcome-auth__form) .welcome-auth__classic { display: none; }
}

@media (hover: hover) and (pointer: fine) {
  .welcome-auth__utility-link:hover { color: #c8f4ff; border-color: rgba(112,221,255,.48); background: rgba(12,34,51,.72); box-shadow: 0 0 12px rgba(75,207,255,.1); }
  .welcome-language-modal__choice:hover { border-color: rgba(112, 221, 255, .48); background: linear-gradient(180deg, rgba(18, 48, 67, .84), rgba(8, 24, 39, .88)); }
  .welcome-auth__guest:hover:not(:disabled), .welcome-auth__submit:hover:not(:disabled) { transform: translateY(-3px); border-color: #d0f6ff; box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -1px 0 rgba(25,92,120,.2), 0 0 36px rgba(64,210,255,.4), 0 10px 22px rgba(0,0,0,.24); filter: brightness(1.04); }
  .welcome-auth__secondary-btn:first-child:hover { transform: translateY(-2px); border-color: rgba(102, 224, 255, .72); background: linear-gradient(180deg, rgba(19,55,76,.82), rgba(8,25,40,.82)); box-shadow: inset 0 0 18px rgba(77,202,249,.12), 0 7px 18px rgba(0,0,0,.18); }
  .welcome-auth__secondary-btn:last-child:hover { transform: translateY(-2px); border-color: rgba(213, 123, 255, .68); background: linear-gradient(180deg, rgba(46,28,67,.78), rgba(22,14,39,.82)); box-shadow: inset 0 0 18px rgba(184,86,237,.11), 0 7px 18px rgba(0,0,0,.18); }
  .welcome-auth__sigil:hover { transform: scale(1.04); color: #c8f5ff; filter: drop-shadow(0 0 8px rgba(74,211,255,.28)); }
  .welcome-auth__sigil:hover svg { border-color: rgba(154,236,255,.68); box-shadow: 0 0 28px rgba(48,198,245,.3), inset 0 0 18px rgba(90,207,244,.13); filter: brightness(1.12); }
  .welcome-auth__how:hover, .welcome-auth__back:hover { color: #c8f4ff; text-shadow: 0 0 12px rgba(75,207,255,.3); }
  .welcome-auth__how:hover { text-decoration: underline; text-decoration-color: rgba(119,224,255,.7); text-underline-offset: .28rem; }
  .welcome-auth__how:hover::after { transform: translateX(3px); }
}

@media (prefers-reduced-motion: reduce) {
  .welcome-auth__atmosphere::before, .welcome-auth__atmosphere::after,
  .welcome-auth__particle, .welcome-auth__comet, .welcome-auth__sigil svg, .welcome-auth__guest::after,
  .welcome-auth__frame::after, .welcome-auth__content { animation: none !important; }
  .welcome-auth__comet { display: none !important; }
  .welcome-auth__frame::after { opacity: 0; }
}

@property --welcome-frame-pulse-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

@keyframes welcome-panel-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
@keyframes welcome-streak { to { transform: translateX(80%) rotate(-4deg); } }
@keyframes welcome-comet-flight {
  0% { opacity: 0; transform: translate3d(0, 0, 0) rotate(var(--comet-angle)); }
  2% { opacity: 0; }
  4% { opacity: .9; }
  14% { opacity: .72; }
  18%, 100% { opacity: 0; transform: translate3d(var(--comet-flight-x), var(--comet-flight-y), 0) rotate(var(--comet-angle)); }
}
@keyframes welcome-drift { to { transform: translateY(-16px); opacity: .62; } }
@keyframes welcome-sigil { 50% { transform: translateY(-2px); filter: brightness(1.14); } }
@keyframes welcome-sweep { 0%, 68% { transform: translateX(-130%); } 88%, 100% { transform: translateX(130%); } }
@keyframes welcome-frame-pulse { to { --welcome-frame-pulse-angle: 360deg; } }


@media (max-width: 430px) {
  .welcome-auth__guest-note { font-size: .53rem; letter-spacing: .025em; }
}

/* Welcome RPS explainer: reuse the same premium hand assets as the main Lobby. */
.welcome-auth__sigil {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}
.welcome-auth__sigil-visual {
  display: grid;
  place-items: center;
  width: clamp(58px, 14vw, 70px);
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(91, 210, 255, .3);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61, 184, 230, .12), rgba(8, 14, 26, .78));
  box-shadow: 0 0 18px rgba(48, 186, 234, .14), inset 0 0 14px rgba(68, 176, 218, .08);
  animation: welcome-sigil 6.5s ease-in-out infinite;
  transition: border-color .22s ease, box-shadow .22s ease, filter .22s ease, transform .22s ease;
}
.welcome-auth__sigil-image {
  display: block;
  width: 90%;
  height: 90%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 0 7px rgba(101, 220, 255, .22));
}
.welcome-auth__sigil--scissors .welcome-auth__sigil-visual { animation-delay: -1.7s; }
.welcome-auth__sigil--paper .welcome-auth__sigil-visual {
  border-color: rgba(222, 104, 255, .3);
  box-shadow: 0 0 18px rgba(211, 69, 255, .14), inset 0 0 14px rgba(197, 76, 230, .08);
  animation-delay: -3.4s;
}
.welcome-auth__sigil:focus-visible { outline: none; }
.welcome-auth__sigil:focus-visible .welcome-auth__sigil-visual {
  outline: 2px solid #a2ebff;
  outline-offset: 3px;
  box-shadow: 0 0 24px rgba(75, 207, 255, .32), inset 0 0 14px rgba(68, 176, 218, .08);
}

.welcome-rps-info-modal {
  width: min(100%, 520px);
  max-height: min(82dvh, 650px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-color: rgba(113, 211, 245, .3);
  background: linear-gradient(145deg, rgba(8, 24, 39, .97), rgba(17, 12, 34, .96));
  box-shadow: inset 0 0 28px rgba(67, 193, 235, .05), 0 20px 65px rgba(0, 0, 0, .52), 0 0 22px rgba(93, 193, 240, .08);
  backdrop-filter: blur(12px);
}
.welcome-rps-info-modal .modal__title { flex: none; width: 100%; box-sizing: border-box; margin-bottom: .55rem; padding-left: 2rem; padding-right: 2rem; text-align: center; }
.welcome-rps-info-modal .modal__body { min-height: 0; overflow-y: auto; padding-right: .15rem; }
.welcome-rps-info-modal .modal__footer { display: none; }
.welcome-rps-info__content { display: grid; justify-items: center; gap: .85rem; }
.welcome-rps-info__visual {
  display: grid;
  place-items: center;
  width: 118px;
  aspect-ratio: 1;
  border: 1px solid rgba(104, 215, 249, .3);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(54, 171, 218, .13), rgba(7, 15, 28, .86) 70%);
  box-shadow: 0 0 24px rgba(63, 198, 241, .12), inset 0 0 18px rgba(77, 202, 249, .06);
}
.welcome-rps-info__content--scissors .welcome-rps-info__visual {
  border-color: rgba(245, 177, 66, .34);
  box-shadow: 0 0 24px rgba(245, 158, 11, .12), inset 0 0 18px rgba(245, 158, 11, .05);
}
.welcome-rps-info__content--paper .welcome-rps-info__visual {
  border-color: rgba(210, 123, 255, .34);
  box-shadow: 0 0 24px rgba(184, 86, 237, .13), inset 0 0 18px rgba(184, 86, 237, .05);
}
.welcome-rps-info__image { width: 92%; height: 92%; object-fit: contain; }
.welcome-rps-info__text { margin: 0; color: rgba(220, 239, 248, .86); font-size: .82rem; line-height: 1.62; text-align: left; }
.welcome-rps-info__wins {
  width: 100%;
  margin: .1rem 0 0;
  padding: .7rem .85rem;
  border: 1px solid rgba(105, 211, 244, .18);
  border-radius: 9px;
  color: #b9efff;
  background: rgba(17, 50, 68, .34);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .035em;
  text-align: center;
}
.welcome-rps-info__content--scissors .welcome-rps-info__wins { color: #ffe0a3; border-color: rgba(245, 177, 66, .2); background: rgba(69, 45, 13, .26); }
.welcome-rps-info__content--paper .welcome-rps-info__wins { color: #edcfff; border-color: rgba(210, 123, 255, .2); background: rgba(52, 28, 72, .3); }

@media (max-width: 430px) {
  .welcome-rps-info-modal { width: 100%; max-height: calc(100dvh - 1.25rem); padding: 1rem; }
  .welcome-rps-info__visual { width: 104px; }
  .welcome-rps-info__text { font-size: .78rem; }
}

@media (hover: hover) and (pointer: fine) {
  .welcome-auth__sigil:hover .welcome-auth__sigil-visual {
    transform: scale(1.04);
    border-color: rgba(154, 236, 255, .68);
    box-shadow: 0 0 28px rgba(48, 198, 245, .3), inset 0 0 18px rgba(90, 207, 244, .13);
    filter: brightness(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .welcome-auth__sigil-visual { animation: none !important; }
}


/* Welcome RPS orientation polish: mirror the exact Lobby figure orientation. */
.welcome-auth__sigil-image--rock,
.welcome-rps-info__image--rock {
  transform: rotate(85deg);
  transform-origin: 50% 50%;
}
.welcome-auth__sigil-image--scissors,
.welcome-rps-info__image--scissors {
  transform: rotate(-85deg);
  transform-origin: 50% 50%;
}
.welcome-auth__sigil-image--paper {
  width: 86%;
  height: 86%;
  transform: translateX(3%);
  transform-origin: 50% 50%;
}
.welcome-rps-info__image--paper {
  width: 88%;
  height: 88%;
  transform: translateX(2.5%);
  transform-origin: 50% 50%;
}

/* Outcome is explanatory text, not an action button. */
.welcome-rps-info__wins {
  width: auto;
  min-width: 0;
  margin: .15rem 0 0;
  padding: .55rem .15rem .05rem;
  border: 0;
  border-top: 1px solid rgba(105, 211, 244, .16);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  cursor: default;
  font-size: .72rem;
  letter-spacing: .045em;
}
.welcome-rps-info__content--scissors .welcome-rps-info__wins,
.welcome-rps-info__content--paper .welcome-rps-info__wins {
  border-color: currentColor;
  background: transparent;
}


/* Welcome composition polish: more vertical breathing room without changing auth/service screens. */
.welcome-auth__content--welcome .welcome-auth__brand--welcome {
  padding-top: clamp(.35rem, 1.2vh, .75rem);
}
.welcome-auth__content--welcome .welcome-auth__brand--welcome .welcome-auth__title {
  margin-top: 0;
}
.welcome-auth__content--welcome .welcome-auth__brand--welcome .welcome-auth__motto {
  margin-top: clamp(1.2rem, 2.6vh, 1.7rem);
}
.welcome-auth__content--welcome .welcome-auth__sigils {
  margin-top: clamp(1.35rem, 3.2vh, 2rem);
  margin-bottom: clamp(1.65rem, 3.4vh, 2.2rem);
}
.welcome-auth__content--welcome .welcome-auth__guest-note {
  margin-top: .58rem;
  margin-bottom: .28rem;
  opacity: .78;
}
.welcome-auth__content--welcome .welcome-auth__product-hint {
  margin: 0 0 clamp(1rem, 2.2vh, 1.4rem);
  opacity: .8;
}
.welcome-auth__content--welcome .welcome-auth__secondary {
  margin-top: .1rem;
}
.welcome-auth__content--welcome .welcome-auth__how {
  margin-top: clamp(1.25rem, 2.7vh, 1.65rem);
}
.welcome-auth__content--welcome .welcome-auth__legal {
  margin-top: .85rem;
}

@media (max-height: 700px) {
  .welcome-auth__content--welcome .welcome-auth__brand--welcome { padding-top: .15rem; }
  .welcome-auth__content--welcome .welcome-auth__brand--welcome .welcome-auth__motto { margin-top: .95rem; }
  .welcome-auth__content--welcome .welcome-auth__sigils { margin-top: 1rem; margin-bottom: 1.25rem; }
  .welcome-auth__content--welcome .welcome-auth__product-hint { margin-bottom: .85rem; }
  .welcome-auth__content--welcome .welcome-auth__how { margin-top: 1rem; }
}

/* Welcome final composition + 30-second RPS rules modal. */
.welcome-auth__content--welcome .welcome-auth__brand--welcome { padding-top: 0; }
.welcome-auth__content--welcome .welcome-auth__brand--welcome .welcome-auth__title::before {
  font-size: clamp(4.5rem, 14vw, 7.35rem);
}
.welcome-auth__content--welcome .welcome-auth__brand--welcome .welcome-auth__title::after {
  margin-top: .58rem;
  font-size: clamp(.86rem, 2.9vw, 1.28rem);
}
.welcome-auth__content--welcome .welcome-auth__brand--welcome .welcome-auth__motto {
  margin-top: clamp(1.15rem, 2.2vh, 1.5rem);
  font-size: clamp(.82rem, 2.8vw, 1.04rem);
}
.welcome-auth__content--welcome .welcome-auth__sigils {
  width: min(100%, 430px);
  margin-top: clamp(1.25rem, 2.5vh, 1.65rem);
  margin-bottom: clamp(1.4rem, 2.7vh, 1.8rem);
}
.welcome-auth__content--welcome .welcome-auth__sigil-visual { width: clamp(76px, 15vw, 94px); }
.welcome-auth__content--welcome .welcome-auth__sigil-label { font-size: .64rem; letter-spacing: .09em; }
.welcome-auth__content--welcome .welcome-auth__guest { min-height: 3.45rem; }
.welcome-auth__content--welcome .welcome-auth__guest-note { margin: .48rem 0 .18rem; opacity: .7; }
.welcome-auth__content--welcome .welcome-auth__product-hint { margin: 0 0 clamp(.9rem, 1.8vh, 1.15rem); opacity: .72; }
.welcome-auth__content--welcome .welcome-auth__secondary { margin-top: 0; }
.welcome-auth__content--welcome .welcome-auth__how { margin-top: clamp(1.05rem, 2vh, 1.35rem); }
.welcome-auth__content--welcome .welcome-auth__legal { margin-top: .72rem; }

.welcome-how-modal {
  width: min(94vw, 680px);
  max-height: min(88dvh, 760px);
  padding: clamp(1rem, 2.5vw, 1.35rem);
}
.welcome-how-modal .modal__title {
  width: 100%; box-sizing: border-box; margin-bottom: .35rem;
  padding-inline: 2.25rem; text-align: center;
}
.welcome-how-modal .modal__body { min-height: 0; overflow-y: auto; padding-right: .12rem; }
.welcome-how-modal .modal__footer { display: none; }
.welcome-how__content { display: grid; gap: .85rem; }
.welcome-how__kicker { margin: 0; color: rgba(137,220,247,.68); font-size: .58rem; font-weight: 850; letter-spacing: .18em; text-align: center; }
.welcome-how__intro { max-width: 580px; margin: 0 auto .05rem; color: rgba(220,239,248,.86); font-size: .78rem; line-height: 1.55; text-align: center; }
.welcome-how__rules { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .65rem; }
.welcome-how__rule { display: grid; align-content: start; justify-items: center; gap: .38rem; min-width: 0; padding: .75rem .55rem .68rem; border: 1px solid rgba(96,201,237,.17); border-radius: 12px; background: linear-gradient(180deg, rgba(10,27,43,.66), rgba(5,15,27,.48)); }
.welcome-how__rule--scissors { border-color: rgba(245,177,66,.2); }
.welcome-how__rule--paper { border-color: rgba(207,112,255,.2); }
.welcome-how__duel { display: flex; align-items: center; justify-content: center; gap: .22rem; min-height: 62px; }
.welcome-how__hand { display: grid; place-items: center; width: 54px; height: 54px; overflow: hidden; border: 1px solid rgba(111,218,250,.28); border-radius: 50%; background: radial-gradient(circle, rgba(58,184,225,.12), rgba(5,14,25,.76)); box-shadow: inset 0 0 12px rgba(74,192,230,.08), 0 0 14px rgba(47,188,233,.09); }
.welcome-how__hand--scissors { border-color: rgba(245,177,66,.3); }
.welcome-how__hand--paper { border-color: rgba(211,119,255,.3); }
.welcome-how__hand--loser { opacity: .68; transform: scale(.9); }
.welcome-how__image { width: 88%; height: 88%; object-fit: contain; }
.welcome-how__image--rock { transform: rotate(85deg); transform-origin: 50% 50%; }
.welcome-how__image--scissors { transform: rotate(-85deg); transform-origin: 50% 50%; }
.welcome-how__image--paper { width: 82%; height: 82%; transform: translateX(3%); }
/* Face the two rule-card opponents toward each other without changing the first Rock → Scissors card. */
.welcome-how__rule--scissors .welcome-how__hand--winner .welcome-how__image--scissors { transform: scaleX(-1) rotate(-85deg); }
.welcome-how__rule--paper .welcome-how__hand--loser .welcome-how__image--rock { transform: scaleX(-1) rotate(85deg); }
.welcome-how__arrow { color: rgba(208,239,249,.68); font-size: 1rem; font-weight: 900; }
.welcome-how__rule-title { color: #dff7ff; font-size: .61rem; line-height: 1.35; letter-spacing: .045em; text-align: center; }
.welcome-how__rule--scissors .welcome-how__rule-title { color: #ffe0a3; }
.welcome-how__rule--paper .welcome-how__rule-title { color: #edcfff; }
.welcome-how__rule-copy { color: rgba(190,216,228,.7); font-size: .62rem; line-height: 1.42; text-align: center; }
.welcome-how__draw { display: grid; gap: .18rem; padding: .62rem .8rem; border-top: 1px solid rgba(141,219,245,.18); border-bottom: 1px solid rgba(141,219,245,.12); text-align: center; }
.welcome-how__draw strong { color: #e9faff; font-size: .67rem; letter-spacing: .075em; }
.welcome-how__draw span { color: rgba(190,216,228,.68); font-size: .63rem; line-height: 1.4; }
.welcome-how__example { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .35rem .75rem; color: rgba(193,222,234,.75); font-size: .64rem; text-align: center; }
.welcome-how__example strong { color: #8ce9c7; font-size: .67rem; letter-spacing: .08em; }
.welcome-how__finish { margin: 0; color: rgba(211,236,246,.82); font-size: .68rem; font-weight: 650; line-height: 1.45; text-align: center; }

@media (max-width: 620px) {
  .welcome-how-modal { width: 100%; max-height: calc(100dvh - 1.25rem); }
  .welcome-how__rules { grid-template-columns: 1fr; }
  .welcome-how__rule { grid-template-columns: 122px 1fr; grid-template-rows: auto auto; align-items: center; justify-items: start; column-gap: .65rem; padding: .58rem .65rem; }
  .welcome-how__duel { grid-row: 1 / 3; }
  .welcome-how__rule-title, .welcome-how__rule-copy { text-align: left; }
}
@media (max-width: 430px) {
  .welcome-auth__content--welcome .welcome-auth__brand--welcome .welcome-auth__title::before { font-size: clamp(4rem, 22vw, 5.35rem); }
  .welcome-auth__content--welcome .welcome-auth__sigil-visual { width: clamp(68px, 21vw, 82px); }
  .welcome-how__intro { font-size: .74rem; }
  .welcome-how__rule { grid-template-columns: 112px 1fr; }
  .welcome-how__hand { width: 48px; height: 48px; }
}
@media (max-height: 700px) {
  .welcome-auth__content--welcome .welcome-auth__brand--welcome .welcome-auth__title::before { font-size: clamp(4rem, 12vw, 6.4rem); }
  .welcome-auth__content--welcome .welcome-auth__brand--welcome .welcome-auth__motto { margin-top: .85rem; }
  .welcome-auth__content--welcome .welcome-auth__sigils { margin-top: .85rem; margin-bottom: 1rem; }
  .welcome-auth__content--welcome .welcome-auth__sigil-visual { width: 72px; }
  .welcome-auth__content--welcome .welcome-auth__product-hint { margin-bottom: .7rem; }
  .welcome-auth__content--welcome .welcome-auth__how { margin-top: .75rem; }
}
\n\n/* ── Shared Living Sky for Welcome/Auth ───────────────────────────────\n * Welcome uses the same AUTO/local-clock renderer as the real Lobby.\n * The legacy always-night Welcome particles/comets are intentionally disabled.\n */\n.welcome-auth > .welcome-cosmic-background {\n  position: absolute;\n  inset: 0;\n  z-index: 0;\n  width: 100%;\n  height: 100%;\n  pointer-events: none;\n}\n\n.welcome-auth > .welcome-cosmic-background .cosmic-lab__scene {\n  position: absolute;\n  inset: 0;\n}\n\n.welcome-auth {\n  background: #07111d;\n}\n\n.welcome-auth::before {\n  z-index: 1;\n  opacity: .10;\n}\n\n.welcome-auth::after {\n  content: '';\n  position: absolute;\n  inset: 0;\n  z-index: 1;\n  pointer-events: none;\n  background:\n    radial-gradient(circle at 50% 46%, rgba(2, 8, 17, .04) 0 24%, rgba(2, 8, 17, .14) 72%, rgba(2, 8, 17, .22) 100%),\n    linear-gradient(180deg, rgba(2, 7, 15, .06), rgba(2, 7, 15, .13));\n}\n\n.welcome-auth__atmosphere {\n  z-index: 1;\n}\n\n.welcome-auth__atmosphere::before,\n.welcome-auth__atmosphere::after,\n.welcome-auth__particle,\n.welcome-auth__comet {\n  display: none !important;\n  animation: none !important;\n}\n\n.welcome-auth__frame {\n  position: relative;\n  z-index: 2;\n}\n