:root {
  color-scheme: dark;
  --bg: #070d1d;
  --panel: #101b32;
  --line: rgba(144, 182, 242, 0.14);
  --text: #ecf3ff;
  --muted: #8b9cb8;
  --cyan: #59ddff;
  --purple: #a18afa;
  --radius: 18px;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.65;
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(#5b88cd03 1px, transparent 1px),
    linear-gradient(90deg, #5b88cd03 1px, transparent 1px);
  background-size: 60px 60px;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}
button {
  color: var(--text);
}
.ambient {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.ambient-a {
  width: 420px;
  height: 420px;
  background: #17379230;
  top: 200px;
  left: -260px;
}
.ambient-b {
  width: 360px;
  height: 360px;
  background: #672cab1b;
  right: -180px;
  top: 600px;
}
.header {
  height: 94px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 max(5%, calc((100vw - 1440px) / 2));
  background: #070d1de8;
  position: relative;
  z-index: 5;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 21px;
  letter-spacing: 1.5px;
  font-weight: 800;
  white-space: nowrap;
  line-height: 1.15;
}
.brand-light {
  font-weight: 400;
}
.brand small {
  font-size: 8px;
  letter-spacing: 3.15px;
  display: block;
  color: var(--muted);
  margin-top: 7px;
}
.brand-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 46px;
  font-size: 17px;
  border: 1px solid #59ddff6b;
  clip-path: polygon(
    24% 0,
    76% 0,
    100% 24%,
    100% 76%,
    76% 100%,
    24% 100%,
    0 76%,
    0 24%
  );
  background: linear-gradient(135deg, #225b7833, #6353bb22);
}
.brand-icon span {
  position: absolute;
  font-size: 49px;
  color: var(--cyan);
  opacity: 0.35;
}
nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex: 1;
  height: 100%;
}
nav a {
  font-size: 13px;
  color: #a8b5cb;
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}
nav a.active {
  color: var(--cyan);
}
nav a.active:after {
  content: "";
  height: 2px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--cyan);
  box-shadow: 0 0 15px #59ddff88;
}
nav a:hover,
footer a:hover {
  color: var(--cyan);
}
#account {
  display: flex;
  gap: 12px;
  align-items: center;
}
.button,
.ghost,
.small-button {
  border: 1px solid var(--line);
  padding: 11px 20px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  line-height: 1.5;
  background: #13223b;
  color: #d8e6fa;
  transition:
    transform 0.2s,
    border-color 0.2s,
    background 0.2s;
}
.button:hover,
.ghost:hover,
.small-button:hover {
  border-color: #59ddff77;
  background: #19304c;
  transform: translateY(-1px);
}
.button.primary {
  background: linear-gradient(110deg, #68e3ff, #7cbfff);
  border-color: #81ddff;
  color: #071527;
  box-shadow: 0 4px 24px #36b5ff1d;
}
.button.purple {
  background: #a490fb;
  color: #0c1429;
  border-color: #b3a1ff;
}
.ghost {
  background: transparent;
}
.small-button {
  padding: 6px 11px;
  font-size: 12px;
}
.icon {
  font-size: 19px;
  line-height: 1;
}
.menu-button {
  display: none;
}
.shell {
  max-width: 1440px;
  margin: auto;
  padding: 0 5%;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--cyan);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}
.hero {
  min-height: 555px;
  position: relative;
  display: flex;
  align-items: center;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0 -5.55%;
  background: url(universe.svg) no-repeat right center;
  background-size: auto 115%;
  z-index: -2;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0 -5.55%;
  background:
    linear-gradient(
      90deg,
      #070d1d 0%,
      #070d1df4 17%,
      #070d1d9c 40%,
      transparent 68%
    ),
    linear-gradient(0deg, #070d1d, transparent 20%);
  z-index: -1;
}
.hero-copy {
  max-width: 620px;
  padding: 55px 0 76px;
}
.hero h1 {
  font-size: clamp(40px, 4.6vw, 68px);
  letter-spacing: -2.8px;
  line-height: 1.08;
  margin: 23px 0;
  color: #f1f6ff;
  font-weight: 750;
  white-space: pre-line;
}
.hero h1 span {
  background: linear-gradient(90deg, #68daff, #a59cff);
  color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 15px;
  line-height: 1.9;
  color: #a3b2ca;
  max-width: 445px;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.hero-status {
  position: absolute;
  right: 15px;
  bottom: 60px;
  border: 1px solid #86c6ff32;
  background: linear-gradient(120deg, #39628629, #25395822);
  backdrop-filter: blur(18px);
  border-radius: 13px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: inset 0 1px #ffffff0b;
}
.orb {
  height: 34px;
  width: 34px;
  border: 1px solid #6bd1ff5e;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 20%,
    #c5f6ff75,
    #25779b22 40%,
    #23375e4d 65%
  );
  box-shadow: 0 0 20px #48a0e51c;
}
.hero-status small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}
.hero-status strong {
  font-size: 12px;
}
.signal {
  height: 6px;
  width: 6px;
  background: #73edbb;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
  box-shadow: 0 0 8px #73edbb66;
}
.notice {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(100deg, #1728458f, #101a2e70);
  padding: 13px 20px;
  border-radius: 10px;
  color: #9cacbf;
  font-size: 12px;
  margin: 26px 0 42px;
}
.notice .label {
  color: var(--cyan);
  font-size: 10px;
  letter-spacing: 1.5px;
  font-weight: 700;
  white-space: nowrap;
}
.notice .arrow {
  margin-left: auto;
  color: var(--cyan);
}
.ticker {
  --ticker-size: 18px;
  --ticker-duration: 36s;
  overflow: hidden;
  width: 100%;
  margin: 18px 0;
  border-radius: 10px;
  padding: 12px 0;
  color: #dff7ff;
  font-size: var(--ticker-size);
  line-height: 1.25;
  letter-spacing: 0.08em;
  text-transform: none;
  box-shadow: inset 0 0 28px #59ddff0a;
}
.ticker-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  will-change: transform;
  animation: ticker-scroll var(--ticker-duration) linear infinite;
}
.ticker-track span {
  min-width: max-content;
  padding-right: 5rem;
}
.ticker-track i {
  color: var(--cyan);
  font-style: normal;
  margin-left: 5rem;
  text-shadow: 0 0 12px #59ddffaa;
}
.ticker:hover .ticker-track {
  animation-play-state: paused;
}
.ticker-display {
  font-family: "Arial Black", Impact, "Segoe UI", sans-serif;
  font-weight: 800;
}
.ticker-sans {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-weight: 600;
}
.ticker-mono {
  font-family: "Cascadia Mono", "Courier New", monospace;
}
.ticker-serif {
  font-family: Georgia, "Times New Roman", serif;
}
@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.section {
  margin: 0 0 44px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 22px;
}
.section-head h2 {
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: -0.7px;
  margin: 6px 0;
}
.section-head p {
  color: var(--muted);
  margin: 7px 0 0;
  font-size: 12px;
}
.section-head a {
  font-size: 12px;
  color: #b2bed2;
}
.kicker {
  font-size: 9px;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
}
.grid {
  display: grid;
  gap: 20px;
}
.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.glass {
  background: linear-gradient(120deg, #20365657, #111a2dd4);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: inset 0 1px #daeaff06;
  backdrop-filter: blur(18px);
}
.game-card {
  overflow: hidden;
  transition:
    transform 0.25s,
    border-color 0.25s;
}
.game-card:hover {
  transform: translateY(-5px);
  border-color: #68c9f960;
}
.game-art {
  height: 190px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 65% 30%, #285777, #0c1931 60%);
}
.game-art.space {
  background-image:
    linear-gradient(0deg, #0c182c, transparent 55%), url(universe.svg);
  background-size: cover;
  background-position: 65% 40%;
}
.game-art.neon {
  background:
    linear-gradient(0deg, #17102b, transparent 70%),
    repeating-linear-gradient(
      90deg,
      transparent 0 34px,
      #935ad522 35px 38px,
      transparent 39px 75px
    ),
    linear-gradient(130deg, #10193b, #402551 65%, #153b62);
}
.game-art.neon:before {
  content: "";
  position: absolute;
  width: 200%;
  height: 140px;
  bottom: -85px;
  left: -50%;
  transform: perspective(130px) rotateX(50deg);
  background-image:
    linear-gradient(#a36cfb66 1px, transparent 1px),
    linear-gradient(90deg, #3c95d466 1px, transparent 1px);
  background-size: 34px 24px;
  box-shadow: 0 -1px 20px #b76efa66;
}
.game-art.neon:after {
  content: "";
  position: absolute;
  width: 142px;
  height: 44px;
  border: 2px solid #b39bff;
  border-radius: 45% 50% 15% 15%;
  transform: skewX(-15deg);
  left: calc(50% - 71px);
  bottom: 48px;
  box-shadow:
    0 7px 17px #a368ff88,
    inset 0 -10px #492f81;
  background: linear-gradient(#1b1735, #523260);
}
.game-art.void {
  background:
    radial-gradient(ellipse at 50% 70%, #174b59, transparent 55%),
    linear-gradient(120deg, #071827, #13272d, #0a172a);
}
.game-art.void:after {
  content: "";
  position: absolute;
  inset: 25px 27% -25px;
  border: 12px solid #1c3645;
  border-bottom: 0;
  box-shadow:
    0 0 0 2px #43818a44,
    inset 0 0 35px #1f919666;
  clip-path: polygon(20% 0, 80% 0, 100% 20%, 100% 100%, 0 100%, 0 20%);
  background: linear-gradient(90deg, #061722, #39a6a322, #071924);
}
.art-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(transparent 97%, #79beff0a 97%),
    linear-gradient(90deg, transparent 97%, #79beff0a 97%);
  background-size: 36px 36px;
}
.game-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}
.badge {
  font-size: 9px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  border: 1px solid #69d6ff33;
  color: #b5eaff;
  background: #0c203acc;
  border-radius: 5px;
  padding: 4px 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.game-art .badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  backdrop-filter: blur(10px);
}
.game-art .dummy {
  position: absolute;
  right: 14px;
  top: 17px;
  color: #c3cee2aa;
  z-index: 2;
  font-size: 8px;
  letter-spacing: 1px;
}
.card-body {
  padding: 21px;
}
.card-body h3 {
  margin: 8px 0;
  font-size: 20px;
  letter-spacing: 0.4px;
}
.card-body p {
  font-size: 12px;
  color: var(--muted);
  margin: 7px 0 19px;
}
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #9aaec8;
  margin: 13px 0 7px;
  letter-spacing: 0.5px;
}
.progress {
  height: 3px;
  border-radius: 3px;
  background: #35466655;
  overflow: hidden;
}
.progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #548ae0, #67e0fa);
  box-shadow: 0 0 10px #5bdfff;
}
.neon ~ .card-body .progress span {
  background: linear-gradient(90deg, #6955d2, #c792ff);
}
.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 13px 21px;
  color: #abc2dd;
  font-size: 10px;
}
.card-bottom span:last-child {
  color: var(--cyan);
  font-size: 16px;
}
.portal-card {
  padding: 23px;
  display: flex;
  gap: 17px;
  align-items: center;
  transition: border-color 0.2s;
}
.portal-card:hover {
  border-color: #64c5ed66;
}
.portal-symbol {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, #4da7cd26, #4251ad19);
  border: 1px solid #80c5fb2a;
  color: var(--cyan);
  font-size: 22px;
  box-shadow: inset 0 1px 12px #b3e8ff08;
}
.portal-card:nth-child(2) .portal-symbol {
  color: #bb9dff;
  background: #6a42c224;
  border-color: #ad7eef22;
}
.portal-card:nth-child(3) .portal-symbol {
  color: #78e0c0;
  background: #29a28818;
  border-color: #62d7b422;
}
.portal-card h3 {
  font-size: 14px;
  margin: 0 0 4px;
}
.portal-card p {
  color: var(--muted);
  font-size: 11px;
  margin: 0;
}
.portal-card .arrow {
  margin-left: auto;
  color: #7194b8;
}
.community-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 22px;
}
.forum-preview {
  padding: 25px;
}
.forum-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.forum-row:last-child {
  border-bottom: 0;
}
.forum-row h3 {
  font-size: 13px;
  margin: 0;
}
.forum-row p {
  font-size: 10px;
  color: var(--muted);
  margin: 3px 0;
}
.forum-row .portal-symbol {
  width: 37px;
  height: 37px;
  font-size: 16px;
  border-radius: 10px;
}
.forum-row .count {
  margin-left: auto;
  text-align: right;
  font-size: 11px;
  color: #c0d0e5;
  white-space: nowrap;
}
.count small {
  display: block;
  font-size: 9px;
  color: var(--muted);
}
.join-card {
  padding: 30px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background:
    radial-gradient(circle at 90% 5%, #6955ae2e, transparent 60%),
    linear-gradient(120deg, #18243c, #111a2b);
}
.join-card:after {
  content: "";
  position: absolute;
  right: -42px;
  top: -45px;
  width: 180px;
  height: 180px;
  border: 1px solid #9d9fea22;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #aac7ff18, transparent 65%);
  box-shadow: inset 0 0 25px #a2ceff08;
  pointer-events: none;
}
.join-card h2 {
  font-size: 27px;
  line-height: 1.25;
  letter-spacing: -0.6px;
  max-width: 240px;
  margin: 14px 0;
}
.join-card p {
  font-size: 12px;
  color: var(--muted);
  max-width: 260px;
}
.join-card .button {
  margin-top: auto;
}
.tiny {
  font-size: 10px;
  color: var(--muted);
}
.stats-strip {
  display: flex;
  gap: 35px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  color: #8ca2bc;
  font-size: 11px;
}
.stats-strip b {
  color: #d8e5f7;
  font-size: 15px;
  margin-right: 5px;
}
footer {
  max-width: 1440px;
  margin: 35px auto 0;
  padding: 29px 5%;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 10px;
  color: #70819d;
}
footer .brand {
  font-size: 16px;
  gap: 0;
}
footer > div {
  margin-left: auto;
  display: flex;
  gap: 18px;
}
.page-head {
  padding: 52px 0 30px;
}
.page-head h1 {
  font-size: 39px;
  line-height: 1.2;
  letter-spacing: -1.4px;
  margin: 12px 0;
}
.page-head p {
  color: var(--muted);
  max-width: 700px;
}
.breadcrumbs {
  display: flex;
  gap: 10px;
  color: #8caac7;
  font-size: 11px;
  margin-bottom: 20px;
}
.breadcrumbs a:hover {
  color: var(--cyan);
}
.body-copy {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #b7c5dc;
  line-height: 1.85;
}
.detail {
  padding: 30px;
  margin-bottom: 26px;
}
.detail .game-art {
  height: 300px;
  border-radius: 12px;
  margin-bottom: 24px;
}
.toolbar {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 0 25px;
}
.search {
  flex: 1;
  min-width: 200px;
}
.search-form {
  display: flex;
  gap: 9px;
  flex: 1;
}
.empty {
  padding: 40px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed #779ccc30;
  border-radius: 15px;
}
.empty h3 {
  color: #d5e5f7;
}
.category-list {
  display: grid;
  gap: 12px;
}
.category-list .forum-row {
  padding: 22px;
  margin: 0;
  border: 1px solid var(--line);
}
.topic-row {
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid var(--line);
}
.topic-row:last-child {
  border-bottom: 0;
}
.topic-row h3 {
  margin: 0;
  font-size: 15px;
}
.topic-row small {
  color: var(--muted);
}
.topic-row .count {
  margin-left: auto;
  text-align: right;
  white-space: nowrap;
}
.avatar {
  width: 39px;
  height: 39px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #215077, #302852);
  color: #9de3ff;
  border: 1px solid #72a4d233;
  border-radius: 12px;
  font-weight: 700;
}
.post {
  padding: 25px;
  margin-bottom: 16px;
}
.post-head {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
}
.post-head strong {
  font-size: 13px;
}
.post-head small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}
.post-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 23px;
}
.post-actions .selected {
  border-color: var(--cyan);
  color: var(--cyan);
  background: #1a4a6744;
}
.post-actions .right {
  margin-left: auto;
}
.editor {
  padding: 27px;
  margin-bottom: 25px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 17px;
}
.field > span,
label {
  font-size: 12px;
  color: #bccce3;
}
.field small {
  color: var(--muted);
  font-size: 10px;
}
input,
textarea,
select {
  width: 100%;
  border: 1px solid #55759c3d;
  background: #080f20;
  color: var(--text);
  padding: 11px 13px;
  border-radius: 8px;
  line-height: 1.5;
  min-width: 0;
}
textarea {
  resize: vertical;
  min-height: 110px;
}
input::placeholder,
textarea::placeholder {
  color: #637994;
}
.form-error {
  color: #ffacae;
  font-size: 12px;
  margin: 12px 0;
}
.form-success {
  color: #7ce1bb;
  font-size: 12px;
}
.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.tabs a {
  padding: 9px 16px;
  border-radius: 7px;
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.tabs a.active {
  background: #25485a55;
  color: var(--cyan);
  border-color: #71c4eb55;
}
.admin-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 25px;
}
.admin-items {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.admin-items a {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.admin-items a.active {
  border-color: var(--cyan);
  background: #1b40583a;
}
.admin-items small {
  display: block;
  color: var(--muted);
}
.danger {
  color: #ffb2b9;
  border-color: #cd6c793f;
}
.table-wrap {
  overflow: auto;
}
.user-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.user-table td,
.user-table th {
  text-align: left;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}
.user-table td:last-child {
  display: flex;
  gap: 8px;
}
.media-list {
  display: grid;
  gap: 12px;
  margin: 20px 0;
}
.media-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #12223a7a;
}
.media-card strong {
  font-size: 13px;
}
.media-card p {
  font-size: 11px;
  color: var(--muted);
  margin: 5px 0 10px;
}
.media-card a {
  color: var(--cyan);
  font-size: 11px;
  word-break: break-all;
}
.media-card .actions {
  margin-top: 10px;
}
.media-frame {
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  border-radius: 8px;
  background: #050a13;
}
.media-image {
  max-width: 100%;
  max-height: 650px;
  border-radius: 9px;
  object-fit: contain;
}
audio {
  width: 100%;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 24px 0;
  color: var(--muted);
  font-size: 12px;
}
dialog {
  border: 1px solid #6391be55;
  border-radius: 20px;
  background: linear-gradient(135deg, #172640, #0c1527);
  color: var(--text);
  padding: 35px;
  width: min(500px, calc(100% - 32px));
  max-height: 90dvh;
  box-shadow: 0 30px 150px #000a;
}
dialog::backdrop {
  background: #020712c9;
  backdrop-filter: blur(8px);
}
dialog h2 {
  margin-top: 4px;
  font-size: 27px;
  letter-spacing: -0.8px;
}
.close {
  position: absolute;
  right: 15px;
  top: 12px;
  background: transparent;
  border: 0;
  color: #a6bfdb;
  font-size: 26px;
}
.modal-link {
  border: 0;
  background: none;
  color: var(--cyan);
  padding: 0;
}
.modal-description {
  color: var(--muted);
  font-size: 12px;
}
.auth-submit {
  width: 100%;
  margin-top: 4px;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 30px);
  background: #18384b;
  border: 1px solid #6ed3e95e;
  padding: 13px 23px;
  border-radius: 10px;
  z-index: 30;
  opacity: 0;
  transition: 0.2s;
  pointer-events: none;
  max-width: 90%;
  text-align: center;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.loading {
  padding: 120px 20px;
  text-align: center;
  color: var(--cyan);
  font-size: 12px;
  letter-spacing: 3px;
}
.loading span {
  display: block;
  margin: 20px auto;
  width: 25px;
  height: 25px;
  border: 2px solid #28475b;
  border-top-color: var(--cyan);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  background: #164663;
  padding: 12px;
}
.skip:focus {
  top: 10px;
}
.split-note {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.muted {
  color: var(--muted);
}
.legal {
  max-width: 850px;
}
.rules li {
  margin-bottom: 15px;
  color: #b4c5db;
}
.editor-hint {
  border-left: 2px solid var(--cyan);
  padding: 10px 15px;
  background: #18374733;
  color: #9abbd2;
  font-size: 12px;
  margin-bottom: 20px;
}
.status-note {
  color: #cebaf6;
  font-size: 11px;
}
.subportal {
  margin-left: 20px;
}
.form-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.full {
  grid-column: 1/-1;
}
.nowrap {
  white-space: nowrap;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (min-width: 1600px) {
  .hero:before {
    background-size: auto 130%;
  }
  .hero {
    min-height: 610px;
  }
}
@media (max-width: 1100px) {
  .header {
    gap: 20px;
    padding: 0 4%;
  }
  nav {
    gap: 18px;
  }
  .brand {
    font-size: 17px;
  }
  .brand small {
    font-size: 7px;
    letter-spacing: 2px;
  }
  #account .ghost {
    display: none;
  }
  .hero h1 {
    font-size: 52px;
  }
  .hero:before {
    background-position: 65% center;
  }
  .hero-status {
    right: 0;
  }
  .portal-card {
    padding: 17px;
    gap: 12px;
  }
  .portal-symbol {
    width: 39px;
    height: 39px;
  }
  .community-layout {
    grid-template-columns: 1.35fr 1fr;
  }
  footer > span {
    display: none;
  }
}
@media (max-width: 760px) {
  .header {
    height: 77px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .brand {
    font-size: 18px;
  }
  .brand-icon {
    width: 34px;
    height: 38px;
    font-size: 14px;
  }
  .brand small {
    font-size: 6px;
  }
  #account {
    margin-left: auto;
  }
  #account .button {
    padding: 8px 11px;
    font-size: 11px;
  }
  .menu-button {
    display: block;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 6px;
    font-size: 18px;
    padding: 4px 10px;
  }
  nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    height: auto;
    padding: 15px;
    background: #0c1629;
    border-bottom: 1px solid var(--line);
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  nav.open {
    display: flex;
  }
  nav a {
    padding: 9px;
    font-size: 13px;
  }
  nav a.active:after {
    bottom: 2px;
  }
  .shell {
    padding: 0 5%;
  }
  .hero {
    min-height: 550px;
    align-items: flex-start;
  }
  .hero-copy {
    padding: 45px 0 110px;
  }
  .hero h1 {
    font-size: 46px;
    letter-spacing: -2px;
  }
  .hero:before {
    background-size: auto 86%;
    background-position: 65% bottom;
    opacity: 0.6;
  }
  .hero:after {
    background:
      linear-gradient(90deg, #070d1deb, #070d1d77 65%, transparent),
      linear-gradient(0deg, #070d1d, transparent 30%);
  }
  .hero p {
    font-size: 13px;
    max-width: 360px;
  }
  .hero-status {
    bottom: 25px;
    left: 0;
    right: auto;
    padding: 8px 13px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.5px;
  }
  .actions {
    gap: 9px;
  }
  .button,
  .ghost {
    padding: 10px 15px;
    font-size: 12px;
  }
  .notice {
    margin: 20px 0 32px;
    padding: 12px;
    gap: 10px;
    align-items: flex-start;
  }
  .notice .label {
    font-size: 8px;
    margin-top: 3px;
  }
  .notice > span:not(.label) {
    font-size: 10px;
  }
  .grid.three {
    grid-template-columns: 1fr;
  }
  .game-art {
    height: 220px;
  }
  .grid.two {
    grid-template-columns: 1fr;
  }
  .section-head {
    align-items: center;
  }
  .section-head h2 {
    font-size: 22px;
  }
  .section-head a {
    font-size: 10px;
    white-space: nowrap;
  }
  .community-layout {
    grid-template-columns: 1fr;
  }
  .join-card {
    min-height: 270px;
  }
  .join-card h2 {
    max-width: 100%;
  }
  .join-card p {
    max-width: 100%;
  }
  .portal-card {
    padding: 22px;
  }
  .stats-strip {
    gap: 18px;
    flex-wrap: wrap;
    font-size: 10px;
  }
  .stats-strip b {
    font-size: 13px;
  }
  footer {
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
  }
  footer > div {
    margin: 0;
    flex-wrap: wrap;
    gap: 15px;
  }
  .page-head {
    padding-top: 32px;
  }
  .page-head h1 {
    font-size: 31px;
  }
  .admin-layout {
    grid-template-columns: 1fr;
  }
  .admin-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .editor,
  .detail,
  .post {
    padding: 19px;
  }
  .form-two {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .category-list .forum-row {
    padding: 15px;
  }
  .forum-row h3 {
    font-size: 12px;
  }
  .forum-row p {
    font-size: 10px;
  }
  .topic-row {
    padding: 16px;
    align-items: flex-start;
  }
  .topic-row h3 {
    font-size: 13px;
  }
  .topic-row .avatar {
    display: none;
  }
  .post-actions .right {
    margin-left: 0;
  }
  .page-head .split-note {
    align-items: flex-start;
  }
  .search-form {
    width: 100%;
  }
  .admin-items a {
    font-size: 11px;
  }
  .tabs a {
    font-size: 11px;
    padding: 7px 10px;
  }
  .detail .game-art {
    height: 200px;
  }
  .badge {
    font-size: 8px;
  }
  .user-table td,
  .user-table th {
    padding: 10px;
  }
  .hero .eyebrow {
    max-width: 300px;
  }
  .toolbar > .button {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 1100px) {
  #account [data-action="profile"] {
    display: inline-flex;
    padding: 7px 11px;
    font-size: 12px;
  }
}
@media (max-width: 760px) {
  #account [data-action="logout"] {
    display: none;
  }
}

.glass-bubbles {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.glass-bubbles i {
  position: absolute;
  border-radius: 50%;
  border: 1px solid #a6dbff3b;
  background:
    radial-gradient(circle at 29% 23%, #e0f5ff38, transparent 30%),
    radial-gradient(circle at 60% 70%, #3364b908, #519eff10 65%, #afdeff26);
  box-shadow:
    inset -7px -8px 20px #020d273d,
    inset 1px 2px 8px #d4efff1a,
    0 0 24px #4f9fe30a;
  backdrop-filter: blur(2px);
}
.glass-bubbles i:nth-child(1) {
  width: 85px;
  height: 85px;
  right: 0;
  top: 19%;
}
.glass-bubbles i:nth-child(2) {
  width: 38px;
  height: 38px;
  right: 43%;
  top: 12%;
}
.glass-bubbles i:nth-child(3) {
  width: 54px;
  height: 54px;
  right: 38%;
  bottom: 13%;
}
@media (max-width: 760px) {
  .glass-bubbles i:nth-child(1) {
    width: 48px;
    height: 48px;
    right: 4%;
    top: 12%;
  }
  .glass-bubbles i:nth-child(2) {
    display: none;
  }
  .glass-bubbles i:nth-child(3) {
    width: 30px;
    height: 30px;
    right: 4%;
    bottom: 9%;
  }
}

/* Consistent game previews, readable descriptions, and responsive artwork. */
.game-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.game-card .game-art {
  flex: none;
  height: auto;
  aspect-ratio: 16/9;
}
.game-card .card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.game-card .card-body > .kicker {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 30px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.game-card h3 {
  line-height: 1.35;
  min-height: 54px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.game-card .card-body > p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.8;
  min-height: 65px;
  margin-bottom: 20px;
  overflow-wrap: anywhere;
}
.game-card .progress-label {
  margin-top: auto;
  padding-top: 8px;
}
.game-card .card-bottom {
  margin-top: auto;
}
.game-art.has-cover {
  background: #091425;
}
.game-art.has-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.detail .game-art.has-cover {
  height: auto;
  aspect-ratio: 16/9;
  max-height: 600px;
}
.detail .game-art.has-cover img {
  object-fit: contain;
}
.formatted-copy {
  white-space: normal;
  max-width: 82ch;
  margin: 24px auto;
  font-size: 15px;
  line-height: 1.9;
}
.formatted-copy p {
  margin: 0 0 1.3em;
}
.formatted-copy h3 {
  color: #e5f4ff;
  font-size: 20px;
  line-height: 1.4;
  margin: 1.8em 0 0.7em;
  letter-spacing: -0.2px;
}
.formatted-copy h3:first-child {
  margin-top: 0;
}
.formatted-copy strong {
  color: #eef8ff;
}
.formatted-copy ul,
.formatted-copy ol {
  padding-left: 1.5em;
  margin: 0 0 1.5em;
}
.formatted-copy li {
  padding-left: 0.35em;
  margin: 0.6em 0;
}
.formatted-copy li::marker {
  color: var(--cyan);
}
.formatted-copy a {
  color: var(--cyan);
  text-decoration: underline;
  text-decoration-color: #59ddff66;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.post .formatted-copy {
  max-width: none;
  margin: 18px 0;
}
.hero-extra {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}
nav .custom-button {
  height: auto;
  padding: 7px 12px;
  font-size: 12px;
}
.portal-locked {
  border-color: #a18afa55;
  background: linear-gradient(135deg, #17152b, #101b32);
}
.lock-label {
  display: inline-block;
  margin-top: 7px;
  color: #c7b8ff;
  font-size: 9px;
  letter-spacing: 1.2px;
}
.portal-unlock {
  max-width: 620px;
  margin: 70px auto;
  padding: 42px;
  text-align: center;
}
.portal-unlock .portal-symbol {
  margin: 0 auto 18px;
}
.portal-unlock form {
  max-width: 430px;
  margin: 25px auto 0;
  text-align: left;
}
.portal-password {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  margin: 20px 0;
}
.portal-password legend {
  padding: 0 8px;
  color: var(--purple);
}
.portal-password p {
  color: var(--muted);
  font-size: 12px;
}
.portal-password input[type="checkbox"],
.check-grid input[type="checkbox"] {
  width: auto;
  margin-right: 8px;
}
.check-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 12px 0 24px;
}
.toggle-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 14px 0;
}
.toggle-row input {
  width: auto;
}
.ticker-preview {
  display: flex;
  gap: 14px;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 14px;
  color: var(--muted);
}
.ticker-preview strong {
  color: var(--cyan);
  flex: 0 0 auto;
}
.monitor-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.monitor-live-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin: 0 0 15px;
  color: var(--muted);
}
.monitor-live-status span {
  color: #79edbe;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
}
.monitor-live-status i {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 7px;
  border-radius: 50%;
  background: #73edbb;
  box-shadow: 0 0 12px #73edbb;
  animation: live-pulse 1.4s ease-in-out infinite;
}
.monitor-live-status small {
  font-size: 10px;
}
@keyframes live-pulse {
  50% {
    opacity: 0.35;
    transform: scale(0.75);
  }
}
.monitor-summary > div {
  padding: 22px;
  display: flex;
  flex-direction: column;
}
.monitor-summary b {
  color: var(--cyan);
  font-size: 30px;
  line-height: 1.2;
}
.monitor-summary span {
  color: var(--muted);
  font-size: 11px;
}
.monitor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.monitor-route {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.monitor-route code,
.monitor-table code {
  color: #9deaff;
  overflow-wrap: anywhere;
}
.monitor-table {
  min-width: 1150px;
}
.monitor-table th,
.monitor-table td {
  vertical-align: top;
}
.monitor-table td small {
  display: block;
  max-width: 260px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.monitoring-privacy {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.monitoring-privacy h3 {
  color: var(--cyan);
}
@media (max-width: 900px) {
  .monitor-summary {
    grid-template-columns: repeat(2, 1fr);
  }
  .monitor-grid {
    grid-template-columns: 1fr;
  }
}
.format-tools {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin: 18px 0 10px;
}
.format-tools button {
  background: #182b45;
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
}
.format-tools span {
  color: var(--muted);
  font-size: 11px;
}
.cover-editor {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  margin: 20px 0;
}
.cover-editor legend {
  padding: 0 8px;
  color: var(--cyan);
}
.cover-preview {
  aspect-ratio: 16/9;
  max-width: 480px;
  border-radius: 9px;
  background: #080f20;
  overflow: hidden;
  display: grid;
  place-items: center;
  margin-bottom: 17px;
  color: var(--muted);
  font-size: 12px;
}
.cover-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.cover-remove {
  display: flex;
  align-items: center;
  gap: 9px;
}
.cover-remove input {
  width: auto;
}
.cover-status {
  font-size: 12px;
  color: #9ecbde;
}
.cover-editor input[type="file"] {
  padding: 10px;
  font-size: 12px;
}
.cover-editor input::file-selector-button {
  background: #274c68;
  color: #e7f6ff;
  border: 0;
  border-radius: 5px;
  padding: 8px;
  margin-right: 12px;
}
.page-head h1,
.page-head p {
  overflow-wrap: anywhere;
}
@media (max-width: 760px) {
  .formatted-copy {
    font-size: 14px;
  }
  .formatted-copy h3 {
    font-size: 18px;
  }
  .game-card h3 {
    min-height: 0;
  }
  .cover-editor {
    padding: 12px;
  }
}
