@font-face {
  font-family: "IBM Plex Sans Thai";
  src: url(fonts/IBMPlexSansThai-Regular.woff2) format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans Thai";
  src: url(fonts/IBMPlexSansThai-SemiBold.woff2) format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans Thai";
  src: url(fonts/IBMPlexSansThai-Bold.woff2) format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
.portal-page {
  --portal-bg: #020711;
  --portal-ink: #edf7ff;
  --portal-muted: #97b3c7;
  --portal-dim: #6486a0;
  --portal-cyan: #81e4ff;
  --portal-blue: #4ca9ff;
  --portal-mint: #73efc0;
  --portal-gold: #e8c978;
  --portal-red: #d8666e;
  --portal-mono:
    ui-monospace,
    SFMono-Regular,
    "Cascadia Mono",
    Consolas,
    monospace;
  --portal-ease: cubic-bezier(.16, 1, .3, 1);
  --pointer-x: 70%;
  --pointer-y: 46%;
  --core-shift-x: 0px;
  --core-shift-y: 0px;
  --boost: 0;
  margin: 0;
  min-width: 320px;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  color: var(--portal-ink);
  background: var(--portal-bg);
  font-family:
    "IBM Plex Sans Thai",
    Tahoma,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
.portal-page *,
.portal-page *::before,
.portal-page *::after {
  box-sizing: border-box;
}
.portal-page a {
  color: inherit;
}
.portal-page a:focus-visible {
  outline: 2px solid var(--portal-gold);
  outline-offset: 5px;
  border-radius: 4px;
}
.portal-shell {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  padding: clamp(24px, 4vw, 64px);
  background:
    radial-gradient(
      circle at var(--pointer-x) var(--pointer-y),
      rgba(91, 214, 255, .13),
      transparent 26rem),
    radial-gradient(
      circle at 71% 47%,
      rgba(27, 111, 194, .2),
      transparent 30rem),
    radial-gradient(
      circle at 11% 6%,
      rgba(232, 201, 120, .07),
      transparent 25rem),
    var(--portal-bg);
  transition: background 500ms linear;
}
.portal-shell::before {
  position: absolute;
  z-index: -4;
  top: 20%;
  right: 3%;
  width: min(76vw, 980px);
  height: min(76vw, 980px);
  content: "";
  border-radius: 50%;
  background:
    conic-gradient(
      from 215deg,
      transparent 0deg,
      rgba(55, 171, 255, .1) 42deg,
      transparent 100deg,
      rgba(115, 239, 192, .07) 160deg,
      transparent 225deg,
      rgba(232, 201, 120, .08) 300deg,
      transparent 360deg);
  filter: blur(28px);
  opacity: .8;
  animation: portal-aurora 34s ease-in-out infinite alternate;
}
.portal-shell::after {
  position: absolute;
  z-index: 3;
  inset: 18px;
  content: "";
  border: 1px solid rgba(139, 210, 255, .14);
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .025), inset 0 0 90px rgba(38, 128, 207, .04);
  pointer-events: none;
  transition: border-color 420ms ease, box-shadow 420ms ease;
}
.portal-shell.is-boost::after {
  border-color: rgba(139, 210, 255, .3);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05), inset 0 0 120px rgba(38, 128, 207, .12);
}
.portal-grid,
.portal-noise,
.portal-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.portal-grid {
  z-index: -3;
  opacity: .4;
  background-image:
    linear-gradient(rgba(122, 192, 255, .075) 1px, transparent 1px),
    linear-gradient(
      90deg,
      rgba(122, 192, 255, .075) 1px,
      transparent 1px);
  background-size: 56px 56px;
  mask-image:
    radial-gradient(
      ellipse 74% 84% at 65% 48%,
      #000 18%,
      transparent 84%);
  animation: portal-grid-shift 30s linear infinite;
  transition: opacity 420ms ease;
}
.portal-shell.is-boost .portal-grid {
  opacity: .62;
}
.portal-canvas {
  z-index: -2;
  opacity: 0;
  transition: opacity 900ms ease;
}
.portal-canvas.is-ready {
  opacity: 1;
}
.portal-noise {
  z-index: 0;
  opacity: .05;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, .12) 0 1px,
      transparent 1px 4px),
    repeating-linear-gradient(
      90deg,
      rgba(129, 221, 255, .08) 0 1px,
      transparent 1px 7px);
  mix-blend-mode: screen;
}
.portal-orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(101, 199, 255, .15);
  border-radius: 50%;
  pointer-events: none;
  transition: border-color 420ms ease, opacity 420ms ease;
}
.portal-orbit::before,
.portal-orbit::after {
  position: absolute;
  width: 5px;
  height: 5px;
  content: "";
  border-radius: 50%;
  background: var(--portal-cyan);
  box-shadow: 0 0 14px var(--portal-cyan);
  opacity: .75;
}
.portal-orbit::before {
  top: 10%;
  left: 17%;
}
.portal-orbit::after {
  right: 13%;
  bottom: 14%;
  background: var(--portal-gold);
  box-shadow: 0 0 14px var(--portal-gold);
}
.portal-orbit-one {
  width: min(78vw, 980px);
  aspect-ratio: 1;
  top: 52%;
  right: -13vw;
  box-shadow: 0 0 110px rgba(50, 159, 255, .07), inset 0 0 80px rgba(50, 159, 255, .035);
  transform: translateY(-50%) rotate(-14deg);
  animation: portal-spin 70s linear infinite;
}
.portal-orbit-two {
  width: min(49vw, 630px);
  aspect-ratio: 1;
  top: 52%;
  right: 7vw;
  border-color: rgba(115, 239, 192, .17);
  box-shadow: 0 0 70px rgba(115, 239, 192, .055);
  transform: translateY(-50%) rotateX(68deg) rotateZ(12deg);
  animation: portal-spin-tilt 95s linear infinite;
}
.portal-shell.is-boost .portal-orbit {
  border-color: rgba(101, 199, 255, .3);
}
.portal-hud {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--portal-dim);
  font-family: var(--portal-mono);
  font-size: 9px;
  letter-spacing: .16em;
  line-height: 1;
  pointer-events: none;
  text-transform: uppercase;
}
.portal-hud i {
  display: inline-block;
  width: 22px;
  height: 1px;
  background:
    linear-gradient(
      90deg,
      var(--portal-cyan),
      transparent);
}
.portal-hud-top {
  top: clamp(31px, 5vw, 72px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}
.portal-hud-top span:last-child {
  color: var(--portal-muted);
}
.portal-hud-top i {
  background:
    linear-gradient(
      90deg,
      var(--portal-gold),
      transparent);
}
.portal-state {
  display: inline-block;
  min-width: 6ch;
  color: var(--portal-cyan);
  font-weight: 700;
  text-shadow: 0 0 12px rgba(129, 228, 255, .55);
  transition: color 220ms ease, text-shadow 220ms ease;
}
.portal-state[data-stage="1"] {
  color: var(--portal-gold);
  text-shadow: 0 0 12px rgba(232, 201, 120, .6);
}
.portal-state[data-stage="2"] {
  color: var(--portal-cyan);
  text-shadow: 0 0 12px rgba(129, 228, 255, .6);
}
.portal-state[data-stage="3"] {
  color: var(--portal-mint);
  text-shadow: 0 0 12px rgba(115, 239, 192, .6);
}
.portal-hud-side {
  right: clamp(22px, 4vw, 64px);
  bottom: clamp(80px, 11vh, 126px);
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
  color: rgba(151, 179, 199, .5);
  font-size: 8px;
  writing-mode: vertical-rl;
}
.portal-hud-side i {
  width: 1px;
  height: 28px;
  background:
    linear-gradient(
      180deg,
      var(--portal-red),
      transparent);
}
.portal-header,
.portal-footer {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.portal-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  transition: opacity 180ms ease, transform 180ms var(--portal-ease);
}
.portal-brand:hover {
  opacity: .92;
  transform: translateY(-2px);
}
.portal-brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border: 1px solid rgba(142, 215, 255, .4);
  border-radius: 14px;
  background:
    linear-gradient(
      135deg,
      rgba(129, 228, 255, .16),
      transparent 58%),
    rgba(7, 22, 40, .78);
  box-shadow: 0 0 30px rgba(58, 174, 255, .16), inset 0 1px 0 rgba(255, 255, 255, .1);
}
.portal-brand-mark::after {
  position: absolute;
  top: -40%;
  left: -30%;
  width: 22%;
  height: 180%;
  content: "";
  background: rgba(255, 255, 255, .28);
  filter: blur(7px);
  transform: skewX(-18deg);
  animation: portal-sheen 7.5s ease-in-out infinite;
}
.portal-brand-mark img,
.portal-brand-mark svg {
  max-height: 31px;
  width: auto;
}
.portal-brand strong,
.portal-brand small {
  display: block;
}
.portal-brand strong {
  font-size: 14px;
  font-weight: 700;
}
.portal-brand small {
  margin-top: 3px;
  color: var(--portal-muted);
  font-family: var(--portal-mono);
  font-size: 8px;
  letter-spacing: .15em;
}
.portal-login {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  overflow: hidden;
  padding: 11px 15px;
  border: 1px solid rgba(115, 239, 192, .24);
  border-radius: 999px;
  color: #cdeaf7;
  background: rgba(8, 27, 40, .4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045);
  font-family: var(--portal-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .15em;
  text-decoration: none;
  transition:
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease,
    color 220ms ease,
    transform 220ms var(--portal-ease);
}
.portal-login::after {
  position: absolute;
  inset: -1px;
  content: "";
  border-radius: inherit;
  background:
    conic-gradient(
      from 0deg,
      transparent 0deg 300deg,
      rgba(115, 239, 192, .75) 340deg,
      transparent 360deg);
  opacity: 0;
  -webkit-mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  padding: 1px;
  transition: opacity 220ms ease;
}
.portal-login:hover,
.portal-login:focus-visible {
  border-color: rgba(115, 239, 192, .5);
  color: #eafff7;
  background: rgba(14, 51, 54, .6);
  box-shadow: 0 0 26px rgba(115, 239, 192, .16);
  transform: translateY(-2px);
}
.portal-login:hover::after {
  opacity: 1;
  animation: portal-spin-core 2.4s linear infinite;
}
.portal-login-dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--portal-mint);
  box-shadow: 0 0 13px var(--portal-mint);
  animation: portal-blink 2.6s ease-in-out infinite;
}
.portal-footer {
  padding-top: 18px;
  border-top: 1px solid rgba(139, 210, 255, .12);
  color: #7d9db2;
  font-family: var(--portal-mono);
  font-size: 9px;
  letter-spacing: .11em;
}
.portal-footer span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.portal-footer span:first-child {
  color: #9ab9cc;
}
.portal-footer i {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--portal-mint);
  box-shadow: 0 0 13px var(--portal-mint);
}
.portal-tally {
  color: var(--portal-dim);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 320ms ease, transform 320ms var(--portal-ease);
}
.portal-tally.is-on {
  opacity: 1;
  transform: none;
}
.portal-tally b {
  color: var(--portal-cyan);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.portal-core {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: clamp(112px, 11vw, 14%);
  display: grid;
  place-items: center;
  width: clamp(300px, 34vw, 520px);
  aspect-ratio: 1;
  pointer-events: none;
  transform: translate3d(var(--core-shift-x), calc(-50% + var(--core-shift-y)), 0);
  transition: transform 620ms var(--portal-ease);
}
.portal-shell.is-live .portal-core {
  transition: none;
}
.portal-core::before,
.portal-core::after {
  position: absolute;
  content: "";
  border-radius: 50%;
}
.portal-core::before {
  inset: 7%;
  border: 1px solid rgba(122, 215, 255, .2);
  background:
    radial-gradient(
      circle,
      rgba(36, 135, 222, .07),
      transparent 66%);
  box-shadow: inset 0 0 58px rgba(50, 159, 255, .09), 0 0 62px rgba(50, 159, 255, .1);
}
.portal-core::after {
  inset: 28%;
  border: 1px solid rgba(232, 201, 120, .19);
  border-left-color: transparent;
  border-bottom-color: transparent;
  transform: rotate(45deg);
  animation: portal-spin-core-reverse 26s linear infinite;
}
.portal-core-halo {
  position: absolute;
  inset: 26%;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(105, 224, 255, .44),
      rgba(74, 123, 255, .12) 36%,
      transparent 70%);
  filter: blur(18px);
  animation: portal-core-breathe 5.6s ease-in-out infinite;
  transition: opacity 420ms ease;
}
.portal-shell.is-boost .portal-core-halo {
  opacity: 1.35;
}
.portal-core-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(122, 215, 255, .34);
  border-left-color: rgba(122, 215, 255, .08);
  border-radius: 50%;
  box-shadow: inset 0 0 48px rgba(50, 159, 255, .08), 0 0 48px rgba(50, 159, 255, .11);
  animation: portal-spin-core 44s linear infinite;
  transition: border-color 420ms ease, box-shadow 420ms ease;
}
.portal-shell.is-boost .portal-core-ring {
  border-color: rgba(122, 215, 255, .55);
  box-shadow: inset 0 0 48px rgba(50, 159, 255, .16), 0 0 62px rgba(50, 159, 255, .2);
}
.portal-core-ring-inner {
  inset: 17%;
  border-color: rgba(115, 239, 192, .45);
  border-right-color: rgba(115, 239, 192, .08);
  animation: portal-spin-core-reverse 21s linear infinite;
}
.portal-core-sweep {
  position: absolute;
  inset: 17%;
  border-radius: 50%;
  background:
    conic-gradient(
      from 15deg,
      transparent 0deg 210deg,
      rgba(129, 228, 255, .2) 245deg,
      transparent 275deg 360deg);
  -webkit-mask:
    radial-gradient(
      circle,
      transparent 0 66%,
      #000 67% 70%,
      transparent 71%);
  mask:
    radial-gradient(
      circle,
      transparent 0 66%,
      #000 67% 70%,
      transparent 71%);
  animation: portal-spin-core 11s linear infinite;
}
.portal-core-axis {
  position: absolute;
  z-index: 1;
  background: rgba(129, 228, 255, .13);
}
.portal-core-axis-x {
  width: 68%;
  height: 1px;
}
.portal-core-axis-y {
  width: 1px;
  height: 68%;
}
.portal-core-dot {
  position: relative;
  z-index: 2;
  width: 13%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
  background: #e4fbff;
  box-shadow: 0 0 24px 12px rgba(88, 212, 255, .75), 0 0 92px 30px rgba(74, 123, 255, .26);
  animation: portal-core-pulse 3.4s ease-in-out infinite;
  transition: box-shadow 420ms ease;
}
.portal-shell.is-boost .portal-core-dot {
  box-shadow: 0 0 30px 16px rgba(88, 212, 255, .9), 0 0 120px 44px rgba(74, 123, 255, .36);
}
.portal-core-label {
  position: absolute;
  z-index: 3;
  top: 60%;
  left: 50%;
  color: rgba(196, 235, 252, .85);
  font-family: var(--portal-mono);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .22em;
  text-align: center;
  text-indent: .22em;
  text-shadow: 0 0 16px rgba(6, 20, 34, .9);
  transform: translateX(-50%);
}
.portal-station {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(151, 179, 199, .72);
  font-family: var(--portal-mono);
  font-size: 9px;
  letter-spacing: .14em;
  white-space: nowrap;
  transform: translateY(-50%);
  transition: color 260ms ease, opacity 260ms ease;
}
.portal-station b {
  color: var(--portal-tone, var(--portal-gold));
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  opacity: .6;
  transition: opacity 260ms ease, text-shadow 260ms ease;
}
.portal-station i {
  width: 26px;
  height: 1px;
  flex: none;
  background:
    linear-gradient(
      90deg,
      var(--portal-tone, var(--portal-gold)),
      transparent);
  opacity: .55;
  transform-origin: left center;
  transition: opacity 260ms ease, transform 260ms var(--portal-ease);
}
.portal-station.is-passed {
  color: rgba(190, 216, 232, .92);
}
.portal-station.is-passed b {
  opacity: .95;
}
.portal-station.is-passed i {
  opacity: .85;
}
.portal-station.is-live {
  color: #f2fbff;
}
.portal-station.is-live b {
  opacity: 1;
  text-shadow: 0 0 16px var(--portal-tone);
}
.portal-station.is-live i {
  opacity: 1;
  transform: scaleX(1.28);
}
.portal-station-1 {
  --portal-tone: var(--portal-gold);
  right: calc(95.3% + 11px);
  top: 28.9%;
}
.portal-station-2 {
  --portal-tone: var(--portal-cyan);
  left: calc(95.3% + 11px);
  top: 28.9%;
}
.portal-station-3 {
  --portal-tone: var(--portal-mint);
  left: calc(62.9% + 11px);
  top: 98.3%;
}
.portal-station-2 i,
.portal-station-3 i {
  background:
    linear-gradient(
      90deg,
      transparent,
      var(--portal-tone));
}
.portal-content {
  position: relative;
  z-index: 4;
  align-self: center;
  width: min(720px, 100%);
  padding: clamp(64px, 9vh, 118px) 0;
}
.portal-content::before {
  position: absolute;
  top: 50%;
  left: -34px;
  width: 1px;
  height: 112px;
  content: "";
  background:
    linear-gradient(
      180deg,
      transparent,
      var(--portal-gold),
      transparent);
  box-shadow: 0 0 14px rgba(232, 201, 120, .4);
  transform: translateY(-50%);
}
.portal-content.is-intro > * {
  animation: portal-rise 900ms var(--portal-ease) both;
}
.portal-content.is-intro > .portal-headline {
  animation-delay: 60ms;
}
.portal-content.is-intro > .portal-lead {
  animation-delay: 220ms;
}
.portal-content.is-intro > .portal-flow {
  animation-delay: 330ms;
}
.portal-content.is-intro > .portal-actions {
  animation-delay: 440ms;
}
.portal-headline {
  position: relative;
  max-width: 760px;
  margin: 0;
  font-size: clamp(50px, 7vw, 104px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -.005em;
  text-shadow: 0 16px 45px rgba(0, 0, 0, .35);
}
.portal-headline span {
  display: block;
  color: #7fa5be;
}
.portal-headline em {
  display: block;
  color: #dff6ff;
  font-style: normal;
}
.portal-lead {
  max-width: 480px;
  margin: 28px 0 30px;
  color: #adc7da;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.85;
}
.portal-flow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
}
.portal-flow li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.portal-flow li::after {
  width: 16px;
  height: 1px;
  content: "";
  background: rgba(122, 192, 255, .3);
}
.portal-flow li:last-child::after {
  display: none;
}
.portal-flow b {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px 6px 10px;
  border: 1px solid rgba(122, 192, 255, .16);
  border-radius: 999px;
  color: #b9d3e4;
  background: rgba(8, 24, 42, .45);
  font-size: 12px;
  font-weight: 400;
  cursor: default;
  transition:
    border-color 240ms ease,
    color 240ms ease,
    background 240ms ease,
    transform 240ms var(--portal-ease);
}
.portal-flow b::before {
  width: 6px;
  height: 6px;
  content: "";
  border-radius: 50%;
  background: var(--portal-tone);
  box-shadow: 0 0 9px var(--portal-tone);
  opacity: .7;
  transition: opacity 240ms ease, box-shadow 240ms ease;
}
.portal-flow li:nth-child(1) b {
  --portal-tone: var(--portal-gold);
  --portal-tone-soft: rgba(232, 201, 120, .5);
}
.portal-flow li:nth-child(2) b {
  --portal-tone: var(--portal-cyan);
  --portal-tone-soft: rgba(129, 228, 255, .5);
}
.portal-flow li:nth-child(3) b {
  --portal-tone: var(--portal-mint);
  --portal-tone-soft: rgba(115, 239, 192, .5);
}
.portal-flow b:hover {
  border-color: var(--portal-tone-soft);
  color: #eaf7ff;
  background: rgba(12, 38, 60, .7);
  transform: translateY(-2px);
}
.portal-flow b:hover::before {
  opacity: 1;
  box-shadow: 0 0 14px var(--portal-tone);
}
.portal-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}
.portal-enter {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 38px;
  overflow: hidden;
  padding: 8px 9px 8px 25px;
  border: 1px solid #9ceaff;
  border-radius: 3px;
  color: #02101c;
  background:
    linear-gradient(
      105deg,
      #9aeaff 0%,
      #72d9ff 55%,
      #baf5ff 100%);
  box-shadow: 0 0 32px rgba(91, 210, 255, .24), inset 0 1px 0 rgba(255, 255, 255, .55);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 220ms var(--portal-ease),
    box-shadow 220ms ease,
    filter 220ms ease;
}
.portal-enter::before {
  position: absolute;
  top: -40%;
  left: -32%;
  width: 22%;
  height: 180%;
  content: "";
  background: rgba(255, 255, 255, .52);
  filter: blur(8px);
  transform: skewX(-18deg);
  animation: portal-sheen 6.4s ease-in-out infinite;
}
.portal-enter:hover,
.portal-enter:focus-visible {
  filter: brightness(1.08);
  box-shadow: 0 10px 45px rgba(91, 210, 255, .42), inset 0 1px 0 rgba(255, 255, 255, .7);
  transform: translateY(-3px);
}
.portal-enter:active {
  transform: translateY(-1px);
}
.portal-enter > span,
.portal-enter > b {
  position: relative;
  z-index: 1;
}
.portal-enter b {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  overflow: hidden;
  color: #c9f5ff;
  background: #063653;
  transition: background 220ms ease;
}
.portal-enter:hover b {
  background: #05283e;
}
.portal-enter b svg {
  display: block;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.portal-enter:hover b svg {
  animation: portal-arrow 620ms var(--portal-ease);
}
.portal-action-note {
  position: relative;
  max-width: 210px;
  padding-left: 17px;
  color: #82a3ba;
  font-size: 11px;
  line-height: 1.65;
}
.portal-action-note::before {
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 0;
  width: 1px;
  content: "";
  background:
    linear-gradient(
      180deg,
      var(--portal-gold),
      transparent);
}
@keyframes portal-spin {
  from {
    transform: translateY(-50%) rotate(-14deg);
  }
  to {
    transform: translateY(-50%) rotate(346deg);
  }
}
@keyframes portal-spin-tilt {
  from {
    transform: translateY(-50%) rotateX(68deg) rotateZ(12deg);
  }
  to {
    transform: translateY(-50%) rotateX(68deg) rotateZ(372deg);
  }
}
@keyframes portal-spin-core {
  to {
    transform: rotate(360deg);
  }
}
@keyframes portal-spin-core-reverse {
  to {
    transform: rotate(-360deg);
  }
}
@keyframes portal-core-pulse {
  0%, 100% {
    transform: scale(.88);
    opacity: .84;
  }
  50% {
    transform: scale(1.12);
    opacity: 1;
  }
}
@keyframes portal-core-breathe {
  0%, 100% {
    opacity: .58;
    transform: scale(.9);
  }
  50% {
    opacity: .95;
    transform: scale(1.06);
  }
}
@keyframes portal-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes portal-arrow {
  0% {
    transform: none;
  }
  45% {
    transform: translate(26px, -26px);
    opacity: 0;
  }
  46% {
    transform: translate(-26px, 26px);
    opacity: 0;
  }
  100% {
    transform: none;
    opacity: 1;
  }
}
@keyframes portal-grid-shift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 56px 56px, 56px 56px;
  }
}
@keyframes portal-aurora {
  from {
    opacity: .55;
    transform: translate3d(-2%, -1%, 0) rotate(-10deg) scale(.98);
  }
  to {
    opacity: .9;
    transform: translate3d(2%, 2%, 0) rotate(12deg) scale(1.04);
  }
}
@keyframes portal-blink {
  0%, 100% {
    opacity: .42;
  }
  50% {
    opacity: 1;
  }
}
@keyframes portal-sheen {
  0%, 22% {
    left: -35%;
    opacity: 0;
  }
  32% {
    opacity: .8;
  }
  58%, 100% {
    left: 125%;
    opacity: 0;
  }
}
@media (max-width: 1280px) {
  .portal-core {
    width: clamp(300px, 32vw, 420px);
  }
  .portal-content {
    width: min(560px, 100%);
  }
  .portal-headline {
    font-size: clamp(44px, 6.4vw, 80px);
  }
  .portal-lead {
    max-width: 400px;
  }
}
@media (max-width: 1080px) {
  .portal-shell {
    grid-template-rows: auto auto 1fr auto;
    padding: 24px;
    background:
      radial-gradient(
        circle at 50% 30%,
        rgba(91, 214, 255, .13),
        transparent 22rem),
      radial-gradient(
        circle at 50% 26%,
        rgba(27, 111, 194, .2),
        transparent 26rem),
      var(--portal-bg);
  }
  .portal-shell::after {
    inset: 10px;
    border-radius: 12px;
  }
  .portal-shell::before {
    top: 2%;
    right: -20%;
    width: 130vw;
    height: 130vw;
  }
  .portal-hud-top {
    top: auto;
    bottom: clamp(74px, 10vh, 104px);
  }
  .portal-hud-side {
    display: none;
  }
  .portal-orbit-one {
    top: 32%;
    right: -34vw;
    width: 128vw;
  }
  .portal-orbit-two {
    top: 32%;
    right: -14vw;
    width: 88vw;
  }
  .portal-core {
    position: relative;
    z-index: 1;
    top: auto;
    right: auto;
    justify-self: center;
    width: min(74vw, 340px);
    margin: clamp(12px, 3vh, 30px) 0 clamp(4px, 1.5vh, 14px);
    opacity: 1;
    transform: none;
  }
  .portal-content {
    width: 100%;
    padding: clamp(14px, 3vh, 32px) 0 clamp(44px, 7vh, 70px);
    text-align: center;
  }
  .portal-content::before {
    display: none;
  }
  .portal-station {
    gap: 6px;
  }
  .portal-station i {
    width: 14px;
  }
  .portal-station-1 {
    right: auto;
    left: calc(4.7% + 11px);
  }
  .portal-station-2 {
    left: auto;
    right: calc(4.7% + 11px);
    flex-direction: row-reverse;
  }
  .portal-station-3 {
    left: auto;
    right: calc(37.1% + 11px);
    flex-direction: row-reverse;
  }
  .portal-headline {
    margin-inline: auto;
    font-size: clamp(40px, 9vw, 62px);
    line-height: 1.2;
  }
  .portal-lead {
    max-width: 420px;
    margin: 20px auto 24px;
    font-size: 15px;
  }
  .portal-flow {
    justify-content: center;
    margin-bottom: 28px;
  }
  .portal-actions {
    flex-direction: column;
    justify-content: center;
    gap: 16px;
  }
  .portal-action-note {
    max-width: 280px;
    padding: 0 0 0 14px;
    text-align: left;
  }
  .portal-footer {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
  }
}
@media (max-width: 560px) {
  .portal-shell {
    padding: 18px;
  }
  .portal-brand {
    gap: 9px;
  }
  .portal-brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }
  .portal-brand-mark img,
  .portal-brand-mark svg {
    max-height: 27px;
  }
  .portal-brand strong {
    font-size: 12px;
  }
  .portal-brand small {
    font-size: 7px;
  }
  .portal-login {
    padding: 10px 12px;
  }
  .portal-login-copy {
    font-size: 8px;
  }
  .portal-core {
    width: min(80vw, 272px);
    margin-top: clamp(8px, 2vh, 20px);
  }
  .portal-station {
    font-size: 8px;
    gap: 6px;
  }
  .portal-station i {
    width: 18px;
  }
  .portal-headline {
    font-size: clamp(34px, 10vw, 50px);
  }
  .portal-lead {
    max-width: 330px;
    font-size: 14px;
    line-height: 1.8;
  }
  .portal-flow {
    gap: 8px;
  }
  .portal-flow b {
    padding: 5px 10px 5px 9px;
    font-size: 11px;
  }
  .portal-flow li::after {
    width: 8px;
  }
  .portal-enter {
    gap: 25px;
    padding-left: 19px;
    font-size: 14px;
  }
  .portal-enter b {
    width: 32px;
    height: 32px;
  }
  .portal-action-note {
    font-size: 10px;
  }
  .portal-footer {
    font-size: 7px;
    letter-spacing: .08em;
  }
}
@media (max-width: 1080px) and (max-height: 860px) and (orientation: landscape) {
  .portal-shell {
    grid-template-rows: auto 1fr auto;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0 clamp(18px, 3.4vw, 48px);
    padding: clamp(14px, 2.4vh, 24px) clamp(18px, 3vw, 36px);
  }
  .portal-shell::after {
    inset: 8px;
    border-radius: 10px;
  }
  .portal-shell::before {
    top: -24%;
    right: 2%;
    width: min(96vh, 660px);
    height: min(96vh, 660px);
  }
  .portal-orbit-one {
    top: 50%;
    right: -26vw;
    width: min(132vh, 940px);
  }
  .portal-orbit-two {
    top: 50%;
    right: -4vw;
    width: min(84vh, 600px);
  }
  .portal-hud-top {
    display: none;
  }
  .portal-header,
  .portal-footer {
    grid-column: 1 / -1;
  }
  .portal-core {
    grid-row: 2;
    grid-column: 1;
    width: min(40vw, 46vh, 310px);
    margin: 0;
  }
  .portal-content {
    grid-row: 2;
    grid-column: 2;
    align-self: center;
    width: 100%;
    padding: 0;
    text-align: left;
  }
  .portal-headline {
    margin-inline: 0;
    font-size: clamp(27px, 4.6vw, 46px);
  }
  .portal-lead {
    max-width: 46ch;
    margin: 12px 0 16px;
    font-size: clamp(13px, 1.5vw, 15px);
    line-height: 1.7;
  }
  .portal-flow {
    justify-content: flex-start;
    margin-bottom: 18px;
  }
  .portal-actions {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
  }
  .portal-action-note {
    max-width: 24ch;
  }
  .portal-footer {
    flex-wrap: nowrap;
    justify-content: space-between;
    padding-top: 10px;
  }
}
@media (max-width: 1080px) and (max-height: 470px) and (orientation: landscape) {
  .portal-core {
    width: min(34vw, 52vh, 220px);
  }
  .portal-station {
    gap: 4px;
    font-size: 7px;
    letter-spacing: .1em;
  }
  .portal-station i {
    width: 10px;
  }
  .portal-headline {
    font-size: clamp(22px, 3.6vw, 30px);
  }
  .portal-lead {
    margin: 8px 0 10px;
    font-size: 12px;
    line-height: 1.6;
  }
  .portal-flow {
    gap: 6px 8px;
    margin-bottom: 12px;
  }
  .portal-flow b {
    padding: 4px 9px 4px 8px;
    font-size: 10px;
  }
  .portal-enter {
    padding: 12px 12px 12px 18px;
    font-size: 13px;
  }
  .portal-footer {
    padding-top: 8px;
    font-size: 7px;
  }
}
@media (max-height: 700px) and (min-width: 1081px) {
  .portal-content {
    padding: clamp(28px, 5vh, 56px) 0;
  }
  .portal-headline {
    font-size: clamp(38px, 5.2vw, 72px);
  }
  .portal-lead {
    margin: 20px 0 22px;
  }
  .portal-flow {
    margin-bottom: 26px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .portal-shell::before,
  .portal-grid,
  .portal-orbit,
  .portal-brand-mark::after,
  .portal-login-dot,
  .portal-login:hover::after,
  .portal-core::after,
  .portal-core-halo,
  .portal-core-ring,
  .portal-core-sweep,
  .portal-core-dot,
  .portal-enter::before,
  .portal-enter:hover b svg,
  .portal-content.is-intro > * {
    animation: none;
  }
  .portal-content.is-intro > * {
    opacity: 1;
    transform: none;
  }
  .portal-core {
    transition: none;
  }
  .portal-canvas {
    transition: none;
  }
}
