@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@600;700&display=swap");

:root {
  --bg: #05070d;
  --bg-2: #0a1020;
  --surface: rgba(255, 255, 255, 0.12);
  --surface-soft: rgba(255, 255, 255, 0.07);
  --surface-strong: rgba(255, 255, 255, 0.2);
  --line: rgba(255, 255, 255, 0.17);
  --line-strong: rgba(255, 255, 255, 0.3);
  --text: rgba(255, 255, 255, 0.9);
  --text-strong: #ffffff;
  --muted: rgba(236, 244, 255, 0.66);
  --muted-soft: rgba(236, 244, 255, 0.48);
  --blue: #0a84ff;
  --cyan: #64d2ff;
  --green: #30d158;
  --yellow: #ffd60a;
  --red: #ff453a;
  --discord: #5865f2;
  --glass-blur: blur(28px) saturate(170%);
  --glass-blur-strong: blur(44px) saturate(185%);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
  --shadow-soft: 0 12px 34px rgba(0, 0, 0, 0.22);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 26px;
  --radius-xl: 34px;
  --radius-pill: 999px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --glass-shift-x: 0px;
  --glass-shift-y: 0px;
  --glass-tilt-x: 0deg;
  --glass-tilt-y: 0deg;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  letter-spacing: 0;
}

html,
body {
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  background:
    radial-gradient(circle at 18% 10%, rgba(100, 210, 255, 0.18), transparent 28%),
    radial-gradient(circle at 82% 16%, rgba(10, 132, 255, 0.16), transparent 28%),
    linear-gradient(145deg, #03050a 0%, #07101d 48%, #111827 100%);
  background-color: #07101d;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--text);
  font-family:
    Inter,
    Pretendard,
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Display",
    "SF Pro Text",
    "Segoe UI",
    sans-serif;
  background:
    radial-gradient(circle at 18% 10%, rgba(100, 210, 255, 0.26), transparent 28%),
    radial-gradient(circle at 82% 16%, rgba(10, 132, 255, 0.24), transparent 28%),
    radial-gradient(circle at 58% 92%, rgba(48, 209, 88, 0.12), transparent 34%),
    linear-gradient(145deg, #03050a 0%, #07101d 48%, #111827 100%);
  background-attachment: fixed;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -5;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.11), transparent 22%, transparent 70%, rgba(255, 255, 255, 0.05)),
    radial-gradient(circle at 50% -10%, rgba(255, 255, 255, 0.14), transparent 42%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -4;
  content: "";
  pointer-events: none;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.84), transparent 78%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.84), transparent 78%);
}

html[data-theme="light"] {
  color-scheme: light;
  background:
    radial-gradient(circle at 18% 10%, rgba(10, 132, 255, 0.16), transparent 28%),
    radial-gradient(circle at 82% 16%, rgba(48, 209, 88, 0.12), transparent 28%),
    linear-gradient(145deg, #f6fbff 0%, #eaf4ff 48%, #f8fafc 100%);
  background-color: #f6fbff;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-soft: rgba(255, 255, 255, 0.52);
  --surface-strong: rgba(255, 255, 255, 0.88);
  --line: rgba(15, 23, 42, 0.13);
  --line-strong: rgba(15, 23, 42, 0.22);
  --text: rgba(15, 23, 42, 0.86);
  --text-strong: #07101d;
  --muted: rgba(51, 65, 85, 0.74);
  --muted-soft: rgba(71, 85, 105, 0.58);
  --shadow: 0 22px 70px rgba(46, 82, 118, 0.18);
  --shadow-soft: 0 12px 34px rgba(46, 82, 118, 0.14);
}

html[data-theme="light"] body {
  color: var(--text);
  background:
    radial-gradient(circle at 18% 10%, rgba(10, 132, 255, 0.18), transparent 28%),
    radial-gradient(circle at 82% 16%, rgba(48, 209, 88, 0.13), transparent 28%),
    radial-gradient(circle at 58% 92%, rgba(100, 210, 255, 0.12), transparent 34%),
    linear-gradient(145deg, #f6fbff 0%, #eaf4ff 48%, #f8fafc 100%);
}

html[data-theme="light"] body::before {
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.72), transparent 24%, transparent 70%, rgba(10, 132, 255, 0.08)),
    radial-gradient(circle at 50% -10%, rgba(255, 255, 255, 0.72), transparent 42%);
}

html[data-theme="light"] body::after {
  opacity: 0.26;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.045) 1px, transparent 1px);
}

::selection {
  color: #ffffff;
  background: rgba(10, 132, 255, 0.45);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid rgba(100, 210, 255, 0.75);
  outline-offset: 3px;
}

body.auth-open {
  overflow: hidden;
  position: fixed;
  right: 0;
  left: 0;
  width: 100%;
  touch-action: none;
  overscroll-behavior: contain;
}

body.auth-open .navbar,
body.auth-open .hero,
body.auth-open .app-shell,
body.auth-open footer {
  pointer-events: none;
}

.background-orb {
  display: none;
}

.background-grid {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 34%),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.22));
}

.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  z-index: 40;
  display: flex;
  width: min(1540px, calc(100% - 56px));
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.23), rgba(255, 255, 255, 0.07)),
    rgba(9, 14, 24, 0.64);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(255, 255, 255, 0.07),
    var(--shadow-soft);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transform: translateX(-50%);
}

.navbar::before {
  position: absolute;
  inset: 1px;
  z-index: -1;
  content: "";
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.26), transparent 32%),
    radial-gradient(circle at 100% 110%, rgba(100, 210, 255, 0.14), transparent 36%);
}

.logo {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
  color: var(--text-strong);
  font-size: 18px;
  font-weight: 800;
}

.logo span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.logo-mark {
  display: block;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.06)),
    linear-gradient(135deg, #15253a, #0a84ff 48%, #30d158 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.44),
    0 8px 22px rgba(10, 132, 255, 0.2);
}

.nav-actions {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.admin-link,
.nav-btn {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  color: rgba(255, 255, 255, 0.86);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.055)),
    rgba(255, 255, 255, 0.055);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 8px 18px rgba(0, 0, 0, 0.12);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  transition:
    transform 0.2s var(--ease),
    border-color 0.2s var(--ease),
    background 0.2s var(--ease),
    color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.nav-btn.primary {
  color: #ffffff;
  border-color: rgba(100, 210, 255, 0.4);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.07)),
    linear-gradient(135deg, rgba(100, 210, 255, 0.36), rgba(10, 132, 255, 0.28));
}

.admin-link {
  color: rgba(255, 245, 194, 0.96);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.05)),
    rgba(255, 214, 10, 0.08);
}

.admin-link:hover,
.nav-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.09);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    0 12px 24px rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
}

.admin-link:active,
.nav-btn:active {
  transform: translateY(0) scale(0.98);
}

.hero {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 112px 32px 92px;
  overflow: hidden;
}

.hero-glass {
  position: relative;
  display: flex;
  width: min(1180px, 100%);
  min-height: 610px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 104px 48px 76px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.19), rgba(255, 255, 255, 0.055) 42%, rgba(255, 255, 255, 0.035)),
    radial-gradient(circle at 22% 16%, rgba(100, 210, 255, 0.2), transparent 38%),
    radial-gradient(circle at 78% 18%, rgba(10, 132, 255, 0.18), transparent 34%),
    radial-gradient(circle at 54% 96%, rgba(48, 209, 88, 0.1), transparent 42%),
    rgba(8, 14, 24, 0.54);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08),
    var(--shadow);
  backdrop-filter: var(--glass-blur-strong);
  -webkit-backdrop-filter: var(--glass-blur-strong);
  transition:
    transform 0.28s var(--ease),
    box-shadow 0.28s var(--ease);
}

.hero-glass::before {
  position: absolute;
  inset: 1px;
  z-index: 0;
  content: "";
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.22), transparent 24%, transparent 76%, rgba(255, 255, 255, 0.08)),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.18), transparent 36%),
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.22) 100%);
}

.hero-glass::after {
  position: absolute;
  inset: -92%;
  content: "";
  pointer-events: none;
  opacity: 0.42;
  background:
    conic-gradient(
      from 180deg,
      transparent 0deg,
      transparent 70deg,
      rgba(100, 210, 255, 0.16) 76deg,
      rgba(255, 255, 255, 0.10) 80deg,
      transparent 88deg,
      transparent 206deg,
      rgba(48, 209, 88, 0.13) 212deg,
      rgba(255, 255, 255, 0.08) 216deg,
      transparent 224deg,
      transparent 334deg,
      rgba(255, 255, 255, 0.10) 340deg,
      transparent 348deg,
      transparent 360deg
    );
  animation: glassSweep 18s linear infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  max-width: 980px;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.server-status-fixed {
  position: absolute;
  top: 30px;
  left: 50%;
  z-index: 3;
  transform: translateX(-50%);
}

.server-status-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  color: rgba(255, 255, 255, 0.8);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.19), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.065);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 8px 22px rgba(0, 0, 0, 0.18);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  backdrop-filter: blur(18px) saturate(155%);
  -webkit-backdrop-filter: blur(18px) saturate(155%);
}

.status-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 5px rgba(255, 214, 10, 0.14), 0 0 16px rgba(255, 214, 10, 0.55);
}

.server-status-line.is-online .status-dot {
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(48, 209, 88, 0.14), 0 0 16px rgba(48, 209, 88, 0.55);
}

.server-status-line.is-offline .status-dot {
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(255, 69, 58, 0.14), 0 0 16px rgba(255, 69, 58, 0.55);
}

.server-status-line.is-checking .status-dot {
  background: var(--yellow);
  box-shadow: 0 0 0 5px rgba(255, 214, 10, 0.14), 0 0 16px rgba(255, 214, 10, 0.55);
}

.eyebrow {
  margin-bottom: 14px;
  color: rgba(100, 210, 255, 0.92);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.server-name {
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 48px;
  font-weight: 780;
  line-height: 1.05;
  text-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
}

.big-server-ip {
  max-width: 100%;
  margin-bottom: 32px;
  color: #ffffff;
  font-family:
    "Space Grotesk",
    Inter,
    Pretendard,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  font-size: 96px;
  font-weight: 700;
  line-height: 1;
  overflow-wrap: anywhere;
  text-shadow:
    0 2px 0 rgba(255, 255, 255, 0.08),
    0 20px 60px rgba(10, 132, 255, 0.26),
    0 28px 90px rgba(0, 0, 0, 0.34);
}

.copy-btn {
  display: inline-flex;
  min-width: 158px;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 26px;
  border: 1px solid rgba(100, 210, 255, 0.42);
  border-radius: var(--radius-pill);
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.075)),
    linear-gradient(135deg, rgba(100, 210, 255, 0.34), rgba(10, 132, 255, 0.3));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08),
    0 16px 34px rgba(10, 132, 255, 0.22);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  transition:
    transform 0.22s var(--ease),
    border-color 0.22s var(--ease),
    background 0.22s var(--ease),
    box-shadow 0.22s var(--ease);
}

.copy-btn svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  transition: transform 0.22s var(--ease);
}

.copy-btn:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.1)),
    linear-gradient(135deg, rgba(100, 210, 255, 0.42), rgba(10, 132, 255, 0.36));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.52),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    0 18px 42px rgba(10, 132, 255, 0.28);
  transform: translateY(-2px);
}

.copy-btn:active {
  transform: translateY(0) scale(0.98);
}

.copy-btn.copied {
  border-color: rgba(48, 209, 88, 0.52);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.08)),
    linear-gradient(135deg, rgba(102, 212, 207, 0.34), rgba(48, 209, 88, 0.3));
}

.copy-btn.copied svg {
  transform: scale(1.1);
}

.server-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
}

.server-meta span {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3px;
  padding: 8px 15px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-pill);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(14px) saturate(145%);
  -webkit-backdrop-filter: blur(14px) saturate(145%);
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-align: center;
}

.server-meta strong {
  color: rgba(255, 245, 194, 0.96);
}

.server-meta a {
  color: rgba(100, 210, 255, 0.96);
}

.server-meta a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

footer {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 35;
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 6%;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(235, 244, 255, 0.56);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    rgba(5, 9, 16, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13);
  font-size: 14px;
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

footer strong {
  color: rgba(255, 255, 255, 0.86);
}

.app-active .hero,
.app-active footer {
  display: none;
}

.app-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
}

.icon-btn,
.user-trigger {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.86);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.055)),
    rgba(255, 255, 255, 0.055);
  cursor: pointer;
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  transition:
    transform 0.2s var(--ease),
    border-color 0.2s var(--ease),
    background 0.2s var(--ease);
}

.icon-btn svg {
  width: 21px;
  height: 21px;
}

.icon-btn path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-btn:hover,
.user-trigger:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.09);
  transform: translateY(-1px);
}

.notification-dot {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 8px;
  height: 8px;
  border: 2px solid rgba(8, 14, 24, 0.98);
  border-radius: 50%;
  background: var(--red);
}

.profile-menu-wrap {
  position: relative;
}

.user-avatar-mini,
.app-avatar {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: #ffffff;
  background:
    linear-gradient(145deg, rgba(100, 210, 255, 0.36), rgba(10, 132, 255, 0.25)),
    rgba(255, 255, 255, 0.08);
  background-position: center;
  background-size: cover;
  font-weight: 850;
}

.user-avatar-mini {
  width: 34px;
  height: 34px;
  font-size: 15px;
}

.profile-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 80;
  display: grid;
  width: 190px;
  gap: 4px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06)),
    rgba(9, 14, 24, 0.88);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
}

.profile-menu button {
  min-height: 38px;
  padding: 0 12px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.82);
  background: transparent;
  font-size: 13px;
  font-weight: 720;
  text-align: left;
  cursor: pointer;
}

.profile-menu button:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
}

.app-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 22px;
  width: min(1480px, calc(100% - 48px));
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: 110px 0 42px;
}

.app-sidebar,
.app-content,
.app-panel {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.055)),
    rgba(8, 14, 24, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    var(--shadow-soft);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.app-sidebar {
  position: sticky;
  top: 102px;
  align-self: start;
  display: flex;
  max-height: calc(100dvh - 124px);
  flex-direction: column;
  gap: 18px;
  overflow-y: auto;
  padding: 18px;
  border-radius: 24px;
}

.app-user-summary {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.app-avatar {
  width: 48px;
  height: 48px;
  font-size: 18px;
}

.app-avatar.large {
  width: 112px;
  height: 112px;
  font-size: 42px;
}

.app-user-summary strong,
.device-item strong,
.post-item strong,
.notice-item strong,
.achievement-item strong {
  display: block;
  color: var(--text-strong);
}

.app-user-summary span {
  display: block;
  min-width: 0;
  margin-top: 3px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-side-nav {
  display: grid;
  gap: 6px;
}

.app-side-btn {
  min-height: 42px;
  padding: 0 13px;
  border-radius: 14px;
  color: rgba(235, 244, 255, 0.72);
  background: transparent;
  font-size: 14px;
  font-weight: 760;
  text-align: left;
  cursor: pointer;
}

.app-side-btn:hover,
.app-side-btn.is-active {
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.055)),
    rgba(100, 210, 255, 0.12);
}

.app-content {
  min-width: 0;
  padding: 22px;
  border-radius: 28px;
}

.app-page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.app-page-head h1 {
  color: #ffffff;
  font-size: 34px;
  font-weight: 850;
  line-height: 1.1;
}

.app-session-chip {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid rgba(48, 209, 88, 0.28);
  border-radius: var(--radius-pill);
  color: rgba(211, 255, 223, 0.92);
  background: rgba(48, 209, 88, 0.1);
  font-size: 12px;
  font-weight: 760;
  white-space: nowrap;
}

.app-grid {
  display: grid;
  gap: 16px;
}

.app-grid.two-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.app-panel {
  min-width: 0;
  padding: 18px;
  border-radius: 20px;
}

.wide-panel {
  grid-column: 1 / -1;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.panel-head h2 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 820;
}

.panel-head span {
  color: rgba(100, 210, 255, 0.86);
  font-size: 11px;
  font-weight: 820;
}

.notice-list,
.post-list,
.device-list,
.settings-list,
.achievement-grid,
.quick-actions {
  display: grid;
  gap: 10px;
}

.notice-item,
.post-item,
.device-item,
.achievement-item {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.055);
}

.notice-item.is-important {
  border-color: rgba(255, 214, 10, 0.28);
  background: rgba(255, 214, 10, 0.08);
}

.notice-item p,
.post-item p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.notice-item span,
.post-item span,
.device-item span,
.achievement-item span {
  display: block;
  margin-top: 8px;
  color: var(--muted-soft);
  font-size: 12px;
}

.quick-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quick-actions button {
  min-height: 72px;
  padding: 12px;
  border: 1px solid rgba(100, 210, 255, 0.2);
  border-radius: 16px;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045)),
    rgba(10, 132, 255, 0.08);
  font-weight: 780;
  cursor: pointer;
}

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

.compact-form input,
.compact-form textarea,
.compact-form select {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  color: #ffffff;
  outline: none;
  background: rgba(0, 0, 0, 0.16);
  font: inherit;
}

.compact-form textarea {
  min-height: 110px;
  padding-top: 12px;
  resize: vertical;
}

.compact-form input:focus,
.compact-form textarea:focus,
.compact-form select:focus {
  border-color: rgba(100, 210, 255, 0.52);
  box-shadow: 0 0 0 4px rgba(100, 210, 255, 0.12);
}

.profile-editor {
  display: grid;
  justify-items: start;
  gap: 14px;
}

.file-picker input {
  display: none;
}

.file-picker span {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(100, 210, 255, 0.3);
  border-radius: var(--radius-pill);
  color: #ffffff;
  background: rgba(10, 132, 255, 0.14);
  font-weight: 780;
  cursor: pointer;
}

.setting-row {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  font-size: 14px;
  font-weight: 720;
}

.setting-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
}

.achievement-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.achievement-item {
  min-height: 118px;
}

.achievement-item::before {
  display: block;
  width: 30px;
  height: 30px;
  margin-bottom: 12px;
  border-radius: 10px;
  content: "";
  background: rgba(255, 255, 255, 0.12);
}

.achievement-item.is-complete {
  border-color: rgba(48, 209, 88, 0.28);
  background: rgba(48, 209, 88, 0.08);
}

.achievement-item.is-complete::before {
  background:
    linear-gradient(135deg, rgba(48, 209, 88, 0.94), rgba(100, 210, 255, 0.72));
}

.theme-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.theme-options label {
  position: relative;
}

.theme-options input {
  position: absolute;
  opacity: 0;
}

.theme-options span {
  display: grid;
  min-height: 86px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.055);
  font-weight: 800;
  cursor: pointer;
}

.theme-options input:checked + span {
  color: #ffffff;
  border-color: rgba(100, 210, 255, 0.44);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.055)),
    rgba(10, 132, 255, 0.13);
}

.app-form-message {
  min-height: 18px;
  color: var(--green);
  font-size: 13px;
  font-weight: 760;
}

.saved-flash {
  animation: savedFlash 0.7s var(--ease);
}

@keyframes savedFlash {
  0% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.28),
      0 0 0 0 rgba(48, 209, 88, 0.3),
      var(--shadow-soft);
  }

  42% {
    border-color: rgba(48, 209, 88, 0.46);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.28),
      0 0 0 6px rgba(48, 209, 88, 0.12),
      var(--shadow-soft);
  }

  100% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.28),
      0 0 0 0 rgba(48, 209, 88, 0),
      var(--shadow-soft);
  }
}

html[data-theme="light"] .navbar,
html[data-theme="light"] .auth-panel,
html[data-theme="light"] .app-sidebar,
html[data-theme="light"] .app-content,
html[data-theme="light"] .app-panel,
html[data-theme="light"] .profile-menu {
  border-color: rgba(15, 23, 42, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.54)),
    rgba(248, 250, 252, 0.68);
}

html[data-theme="light"] .logo,
html[data-theme="light"] .server-name,
html[data-theme="light"] .app-page-head h1,
html[data-theme="light"] .panel-head h2,
html[data-theme="light"] .app-user-summary strong,
html[data-theme="light"] .device-item strong,
html[data-theme="light"] .post-item strong,
html[data-theme="light"] .notice-item strong,
html[data-theme="light"] .achievement-item strong,
html[data-theme="light"] .auth-view h2 {
  color: var(--text-strong);
}

html[data-theme="light"] .nav-btn,
html[data-theme="light"] .admin-link,
html[data-theme="light"] .profile-menu button,
html[data-theme="light"] .app-side-btn,
html[data-theme="light"] .setting-row,
html[data-theme="light"] .theme-options span {
  color: rgba(15, 23, 42, 0.78);
}

html[data-theme="light"] .profile-menu button:hover,
html[data-theme="light"] .app-side-btn:hover,
html[data-theme="light"] .app-side-btn.is-active,
html[data-theme="light"] .quick-actions button,
html[data-theme="light"] .file-picker span,
html[data-theme="light"] .theme-options input:checked + span {
  color: #07101d;
}

html[data-theme="light"] .notice-item,
html[data-theme="light"] .post-item,
html[data-theme="light"] .device-item,
html[data-theme="light"] .achievement-item,
html[data-theme="light"] .setting-row,
html[data-theme="light"] .theme-options span {
  border-color: rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.52);
}

html[data-theme="light"] .compact-form input,
html[data-theme="light"] .compact-form textarea,
html[data-theme="light"] .compact-form select {
  color: var(--text-strong);
  border-color: rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.62);
}

html[data-theme="light"] .app-session-chip {
  color: rgba(8, 116, 43, 0.92);
  background: rgba(48, 209, 88, 0.16);
}

html[data-theme="light"] .field-label,
html[data-theme="light"] .auth-view p,
html[data-theme="light"] .auth-small-link {
  color: var(--muted);
}

html[data-theme="light"] .auth-view input[type="text"],
html[data-theme="light"] .auth-view input[type="password"] {
  color: var(--text-strong);
  border-color: rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.62);
}

html[data-theme="light"] .auth-view input::placeholder {
  color: rgba(71, 85, 105, 0.52);
}

.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 8%, rgba(100, 210, 255, 0.18), transparent 34%),
    rgba(1, 4, 9, 0.58);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
}

.auth-panel {
  position: relative;
  width: min(462px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.07)),
    rgba(12, 18, 29, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08),
    var(--shadow);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.auth-panel::before {
  position: absolute;
  inset: 1px;
  z-index: -1;
  content: "";
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.22), transparent 36%),
    radial-gradient(circle at 100% 100%, rgba(10, 132, 255, 0.14), transparent 34%);
}

.auth-close {
  position: absolute;
  top: 15px;
  right: 16px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.86);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05)),
    rgba(255, 255, 255, 0.055);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(14px) saturate(145%);
  -webkit-backdrop-filter: blur(14px) saturate(145%);
  transition:
    transform 0.18s var(--ease),
    background 0.18s var(--ease),
    color 0.18s var(--ease);
}

.auth-close:hover {
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.09);
  transform: scale(1.04);
}

.auth-view {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-view form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.auth-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.auth-view h2 {
  max-width: calc(100% - 44px);
  color: #ffffff;
  font-size: 29px;
  font-weight: 830;
  line-height: 1.14;
}

.auth-view p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.auth-view label {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: rgba(255, 255, 255, 0.83);
  font-size: 14px;
  font-weight: 650;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: rgba(255, 255, 255, 0.83);
  font-size: 14px;
  font-weight: 650;
}

.field-label {
  width: fit-content;
  max-width: 100%;
  display: inline-block;
  cursor: default;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

.auth-view input[type="text"],
.auth-view input[type="password"] {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  color: #ffffff;
  outline: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(0, 0, 0, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 8px 18px rgba(0, 0, 0, 0.12);
  font-size: 15px;
  backdrop-filter: blur(14px) saturate(145%);
  -webkit-backdrop-filter: blur(14px) saturate(145%);
  user-select: text;
  -webkit-user-select: text;
  transition:
    border-color 0.2s var(--ease),
    background 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.auth-view input::placeholder {
  color: rgba(235, 244, 255, 0.4);
}

.auth-view input:focus {
  border-color: rgba(100, 210, 255, 0.58);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.055)),
    rgba(0, 0, 0, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 0 4px rgba(100, 210, 255, 0.14),
    0 10px 24px rgba(0, 0, 0, 0.18);
}

.check-row {
  flex-direction: row !important;
  align-items: center;
  gap: 10px !important;
  color: var(--muted) !important;
  font-size: 13px !important;
  line-height: 1.45;
}

.check-row input {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  accent-color: var(--blue);
}

.edition-toggle {
  --toggle-offset: 0px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  overflow: hidden;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(0, 0, 0, 0.16);
}

.edition-toggle::before {
  position: absolute;
  top: 4px;
  left: 4px;
  z-index: 0;
  width: calc((100% - 12px) / 2);
  height: calc(100% - 8px);
  content: "";
  border-radius: var(--radius-pill);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.07)),
    rgba(10, 132, 255, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 8px 18px rgba(10, 132, 255, 0.18);
  transform: translateX(var(--toggle-offset));
  transition: transform 0.28s var(--ease);
  will-change: transform;
}

.edition-toggle[data-selected="bedrock"],
.edition-toggle:has(input[value="bedrock"]:checked) {
  --toggle-offset: calc(100% + 4px);
}

.edition-toggle label {
  position: relative;
  z-index: 1;
  display: block !important;
  min-width: 0;
  gap: 0 !important;
}

.edition-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.edition-toggle span {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 38px;
  place-items: center;
  border-radius: var(--radius-pill);
  color: rgba(235, 244, 255, 0.66);
  font-size: 13px;
  font-weight: 820;
  line-height: 1;
  cursor: pointer;
  transition:
    color 0.22s var(--ease),
    text-shadow 0.22s var(--ease);
}

.edition-toggle input:checked + span {
  color: #ffffff;
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.18);
}

.discord-consent {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 15px;
  border: 1px solid rgba(255, 214, 10, 0.26);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 214, 10, 0.13), rgba(255, 255, 255, 0.035)),
    rgba(0, 0, 0, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    0 10px 24px rgba(0, 0, 0, 0.14);
}

.discord-consent p {
  color: rgba(255, 245, 194, 0.92);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;
}

.discord-consent.requires-attention {
  border-color: rgba(255, 69, 58, 0.68);
  background:
    linear-gradient(180deg, rgba(255, 69, 58, 0.24), rgba(255, 69, 58, 0.08)),
    rgba(0, 0, 0, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 0 0 4px rgba(255, 69, 58, 0.14),
    0 14px 30px rgba(255, 69, 58, 0.18);
}

.discord-consent.requires-attention p,
.discord-consent.requires-attention .check-row {
  color: rgba(255, 224, 222, 0.98) !important;
}

.discord-consent.shake,
.auth-panel.shake,
.auth-message.shake {
  animation: messageShake 0.38s var(--ease);
}

.field-message {
  min-height: 18px;
  color: var(--red) !important;
  font-size: 12px !important;
  font-weight: 780;
  line-height: 1.42 !important;
}

.field-message:empty {
  display: none;
}

.password-warning {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 12px 13px;
  border: 1px solid rgba(255, 69, 58, 0.78);
  border-left-color: rgba(255, 69, 58, 0.92);
  border-right-color: rgba(255, 69, 58, 0.92);
  border-radius: var(--radius-md);
  color: rgba(255, 247, 242, 0.98);
  background:
    linear-gradient(180deg, rgba(255, 69, 58, 0.30), rgba(255, 69, 58, 0.15)),
    rgba(0, 0, 0, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.17),
    inset 0 0 0 1px rgba(255, 69, 58, 0.18),
    0 0 0 4px rgba(255, 69, 58, 0.09),
    0 12px 24px rgba(255, 69, 58, 0.14);
  font-size: 13px;
  font-weight: 860;
  line-height: 1.45;
}

.discord-btn,
.auth-main-btn,
.auth-sub-btn {
  display: inline-grid;
  width: 100%;
  min-height: 52px;
  place-items: center;
  gap: 10px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 790;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
  cursor: pointer;
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  transition:
    transform 0.2s var(--ease),
    border-color 0.2s var(--ease),
    background 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    opacity 0.2s var(--ease);
}

.discord-btn .button-label,
.auth-main-btn .button-label,
.auth-sub-btn .button-label {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
}

.discord-btn {
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.21), rgba(255, 255, 255, 0.06)),
    linear-gradient(135deg, rgba(88, 101, 242, 0.95), rgba(10, 132, 255, 0.68));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    0 16px 34px rgba(88, 101, 242, 0.26);
}

.discord-btn.is-disabled,
.discord-btn[aria-disabled="true"] {
  opacity: 0.62;
  cursor: not-allowed;
  filter: saturate(0.78);
}

.auth-main-btn {
  border: 1px solid rgba(100, 210, 255, 0.38);
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06)),
    linear-gradient(135deg, rgba(100, 210, 255, 0.38), rgba(10, 132, 255, 0.34));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    0 16px 34px rgba(10, 132, 255, 0.22);
}

.auth-sub-btn {
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.76);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.discord-btn:hover:not(:disabled):not(.is-disabled):not([aria-disabled="true"]),
.auth-main-btn:hover:not(:disabled),
.auth-sub-btn:hover:not(:disabled) {
  border-color: rgba(255, 255, 255, 0.36);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 18px 38px rgba(0, 0, 0, 0.24);
  transform: translateY(-1px);
}

.discord-btn:active:not(:disabled):not(.is-disabled):not([aria-disabled="true"]),
.auth-main-btn:active:not(:disabled),
.auth-sub-btn:active:not(:disabled) {
  transform: translateY(0) scale(0.98);
}

.is-loading {
  pointer-events: none;
}

.password-field {
  position: relative;
  display: block;
}

.password-field input[type="password"],
.password-field input[type="text"] {
  width: 100%;
  padding-right: 58px;
}

.password-field input::-ms-reveal {
  display: none;
}

.password-field input::-webkit-credentials-auto-fill-button {
  display: block !important;
  visibility: visible !important;
  pointer-events: auto;
}

.password-field input:-webkit-autofill {
  animation-name: password-autofill-start;
}

@keyframes password-autofill-start {
  from {
    opacity: 1;
  }

  to {
    opacity: 1;
  }
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 14px;
  z-index: 2;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: rgba(235, 244, 255, 0.74);
  background: transparent;
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    color 0.18s var(--ease),
    transform 0.18s var(--ease);
}

.password-toggle svg {
  width: 22px;
  height: 22px;
}

.password-toggle path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.password-toggle .eye-pupil {
  fill: currentColor;
  stroke: none;
}

.password-toggle .eye-slash {
  opacity: 0;
  stroke-width: 2.3;
  transition: opacity 0.18s var(--ease);
}

.password-toggle:hover,
.password-toggle.is-visible {
  color: #ffffff;
}

.password-field.is-autofilled .password-toggle {
  color: rgba(12, 18, 28, 0.72);
}

.password-field.is-autofilled .password-toggle:hover,
.password-field.is-autofilled .password-toggle.is-visible {
  color: #05070b;
}

.password-toggle.is-visible .eye-slash {
  opacity: 1;
}

.password-toggle:active {
  transform: translateY(-50%) scale(0.94);
}

.verify-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.045)),
    rgba(0, 0, 0, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 10px 24px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(14px) saturate(145%);
  -webkit-backdrop-filter: blur(14px) saturate(145%);
}

.verify-box span {
  color: var(--muted);
  font-size: 13px;
}

.verify-box code {
  color: rgba(100, 210, 255, 0.98);
  font-size: 18px;
  font-weight: 820;
  line-height: 1.35;
  overflow-wrap: anywhere;
  user-select: text;
  -webkit-user-select: text;
}

.auth-message {
  min-height: 20px;
  color: rgba(255, 214, 10, 0.92) !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

.auth-message.info {
  color: rgba(255, 214, 10, 0.92) !important;
}

.auth-message.success {
  color: var(--green) !important;
}

.auth-message.error {
  color: var(--red) !important;
  font-weight: 780;
}

.hidden {
  display: none !important;
}

html.glass-pointer-enabled body.auth-open .hero-glass {
  transform: none !important;
}

body.auth-open .hero-glass::after {
  animation-play-state: paused;
}

@keyframes messageShake {
  0%,
  100% {
    transform: translateX(0);
  }

  18% {
    transform: translateX(-7px);
  }

  36% {
    transform: translateX(7px);
  }

  54% {
    transform: translateX(-5px);
  }

  72% {
    transform: translateX(5px);
  }
}

@keyframes glassSweep {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .navbar,
  .hero-glass,
  .auth-panel,
  .auth-overlay,
  .app-sidebar,
  .app-content,
  .app-panel,
  .profile-menu,
  .server-status-line,
  .server-meta span,
  .copy-btn,
  .discord-btn,
  .auth-main-btn,
  .auth-sub-btn,
  .verify-box {
    background-color: rgba(11, 17, 28, 0.92);
  }
}

@media (hover: hover) and (pointer: fine) and (min-width: 861px) {
  html.glass-pointer-enabled .hero-glass {
    transform:
      translate3d(var(--glass-shift-x), var(--glass-shift-y), 0)
      rotateX(var(--glass-tilt-x))
      rotateY(var(--glass-tilt-y));
  }

  html.glass-pointer-enabled .navbar {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.44),
      inset 0 -1px 0 rgba(255, 255, 255, 0.08),
      0 18px 48px rgba(0, 0, 0, 0.32);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1080px) {
  .app-shell {
    grid-template-columns: 226px minmax(0, 1fr);
    gap: 16px;
    width: min(100% - 36px, 1080px);
  }

  .app-content {
    padding: 18px;
  }

  .achievement-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-glass {
    min-height: 570px;
    padding: 98px 34px 68px;
  }

  .server-name {
    font-size: 44px;
  }

  .big-server-ip {
    font-size: 76px;
  }
}

@media (max-width: 860px) {
  .navbar {
    top: 14px;
    width: calc(100% - 28px);
    min-height: 62px;
    padding: 9px 12px;
  }

  .app-shell {
    grid-template-columns: 1fr;
    width: calc(100% - 28px);
    gap: 14px;
    padding-top: 92px;
  }

  .app-sidebar {
    position: static;
    max-height: none;
    overflow: visible;
    padding: 14px;
  }

  .app-side-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .app-side-btn {
    min-height: 40px;
    padding: 0 8px;
    font-size: 12px;
    text-align: center;
  }

  .app-grid.two-columns {
    grid-template-columns: 1fr;
  }

  .app-page-head h1 {
    font-size: 29px;
  }

  .logo {
    gap: 10px;
    font-size: 17px;
  }

  .logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 13px;
  }

  .nav-actions {
    gap: 7px;
  }

  .nav-btn,
  .admin-link {
    min-height: 36px;
    padding: 0 12px;
    font-size: 12px;
  }

  .hero {
    padding: 96px 20px 86px;
  }

  .hero-glass {
    min-height: 560px;
    padding: 92px 28px 62px;
    border-radius: 28px;
  }

  .server-status-fixed {
    top: 26px;
  }

  .server-status-line {
    min-height: 38px;
    padding: 0 14px;
    font-size: 13px;
  }

  .eyebrow {
    font-size: 12px;
  }

  .server-name {
    font-size: 38px;
  }

  .big-server-ip {
    margin-bottom: 28px;
    font-size: 52px;
    line-height: 1.04;
  }

  .copy-btn {
    min-height: 52px;
    font-size: 15px;
  }

  .server-meta {
    margin-top: 28px;
    gap: 9px;
    font-size: 14px;
  }

  .server-meta span {
    min-height: 38px;
  }

  footer {
    min-height: 66px;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 8px 6%;
    text-align: center;
  }

  .auth-panel {
    padding: 28px 22px;
    border-radius: 24px;
  }

  .auth-view h2 {
    font-size: 26px;
  }
}

@media (max-width: 560px) {
  body {
    background:
      radial-gradient(circle at 28% 6%, rgba(100, 210, 255, 0.22), transparent 32%),
      radial-gradient(circle at 92% 18%, rgba(10, 132, 255, 0.2), transparent 30%),
      linear-gradient(160deg, #03050a 0%, #07101d 52%, #111827 100%);
  }

  .navbar {
    top: 12px;
    width: calc(100% - 22px);
    min-height: 58px;
    align-items: center;
    gap: 8px;
    padding: 9px 10px;
    border-radius: 24px;
  }

  .app-nav {
    gap: 6px;
  }

  .icon-btn,
  .user-trigger {
    width: 38px;
    height: 38px;
  }

  .profile-menu {
    right: -2px;
    width: min(190px, calc(100vw - 26px));
  }

  .app-shell {
    width: calc(100% - 22px);
    gap: 12px;
    padding-top: 84px;
    padding-bottom: 24px;
  }

  .app-sidebar,
  .app-content,
  .app-panel {
    border-radius: 20px;
  }

  .app-user-summary {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .app-avatar {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }

  .app-side-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-content {
    padding: 14px;
  }

  .app-page-head {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
  }

  .app-page-head h1 {
    font-size: 25px;
  }

  .app-session-chip {
    white-space: normal;
  }

  .quick-actions,
  .theme-options,
  .achievement-grid {
    grid-template-columns: 1fr;
  }

  .setting-row {
    align-items: flex-start;
    padding: 13px;
  }

  .logo {
    gap: 8px;
    font-size: 16px;
  }

  .logo-mark {
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }

  .nav-actions {
    flex-wrap: wrap;
    gap: 5px;
  }

  .nav-btn,
  .admin-link {
    min-height: 32px;
    padding: 0 9px;
    font-size: 11px;
  }

  .hero {
    align-items: flex-start;
    min-height: 100svh;
    padding: 96px 14px 86px;
  }

  .hero-glass {
    width: 100%;
    min-height: calc(100svh - 186px);
    padding: 86px 16px 48px;
    border-radius: 24px;
  }

  .server-status-fixed {
    top: 20px;
    width: calc(100% - 32px);
    text-align: center;
  }

  .server-status-line {
    max-width: 100%;
    min-height: 38px;
    padding: 0 12px;
    font-size: 12px;
  }

  .eyebrow {
    margin-bottom: 10px;
    font-size: 11px;
  }

  .server-name {
    margin-bottom: 12px;
    font-size: 31px;
  }

  .big-server-ip {
    margin-bottom: 26px;
    font-size: 38px;
    line-height: 1.06;
  }

  .copy-btn {
    width: min(100%, 242px);
    min-height: 50px;
    padding: 0 18px;
  }

  .server-meta {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .server-meta span {
    width: 100%;
    min-height: 38px;
    padding: 0 12px;
  }

  .auth-overlay {
    align-items: flex-start;
    padding: 14px;
  }

  .auth-panel {
    max-height: calc(100svh - 28px);
    padding: 28px 18px 22px;
    border-radius: 22px;
  }

  .auth-close {
    top: 12px;
    right: 12px;
  }

  .auth-view {
    gap: 14px;
  }

  .auth-view form {
    gap: 14px;
  }

  .auth-view h2 {
    font-size: 24px;
  }

  .auth-view p {
    font-size: 14px;
  }

  .auth-view input[type="text"],
  .auth-view input[type="password"],
  .discord-btn,
  .auth-main-btn,
  .auth-sub-btn {
    min-height: 50px;
  }

  .password-warning,
  .discord-consent,
  .verify-box {
    border-radius: 14px;
  }
}

@media (max-width: 380px) {
  .navbar {
    align-items: flex-start;
  }

  .logo span {
    max-width: 92px;
  }

  .nav-btn,
  .admin-link {
    padding: 0 8px;
    font-size: 10.5px;
  }

  .hero {
    padding-top: 106px;
  }

  .server-name {
    font-size: 29px;
  }

  .big-server-ip {
    font-size: 34px;
  }
}

/* Consistency pass */
:root {
  --bg: #07100f;
  --bg-2: #10161d;
  --surface: rgba(247, 252, 249, 0.105);
  --surface-soft: rgba(247, 252, 249, 0.065);
  --surface-strong: rgba(247, 252, 249, 0.16);
  --line: rgba(228, 236, 231, 0.16);
  --line-strong: rgba(228, 236, 231, 0.26);
  --text: rgba(245, 248, 246, 0.88);
  --text-strong: #fbfffd;
  --muted: rgba(219, 229, 224, 0.68);
  --muted-soft: rgba(219, 229, 224, 0.5);
  --blue: #38bdf8;
  --cyan: #2dd4bf;
  --green: #35d07f;
  --yellow: #f6c453;
  --red: #fb615b;
  --accent: #2dd4bf;
  --accent-strong: #7dd3fc;
  --accent-warm: #f6c453;
  --glass-blur: blur(18px) saturate(142%);
  --glass-blur-strong: blur(24px) saturate(150%);
  --shadow: 0 24px 72px rgba(0, 0, 0, 0.34);
  --shadow-soft: 0 14px 34px rgba(0, 0, 0, 0.22);
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --control-height: 44px;
  --panel-padding: 18px;
}

html {
  background:
    linear-gradient(135deg, #06100e 0%, #10161d 50%, #17131a 100%);
  background-color: var(--bg);
}

body {
  background:
    linear-gradient(155deg, rgba(45, 212, 191, 0.08), transparent 26%),
    linear-gradient(330deg, rgba(246, 196, 83, 0.075), transparent 30%),
    linear-gradient(135deg, #06100e 0%, #10161d 50%, #17131a 100%);
  background-attachment: fixed;
}

body::before {
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.08), transparent 24%, transparent 74%, rgba(246, 196, 83, 0.045)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 42%);
}

body::after {
  opacity: 0.16;
  background-size: 56px 56px;
}

html[data-theme="light"] {
  background:
    linear-gradient(135deg, #f6fbf8 0%, #edf7f4 48%, #f7f3ea 100%);
  background-color: #f6fbf8;
  --surface: rgba(255, 255, 255, 0.74);
  --surface-soft: rgba(255, 255, 255, 0.58);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --line: rgba(25, 42, 38, 0.13);
  --line-strong: rgba(25, 42, 38, 0.22);
  --text: rgba(22, 31, 29, 0.86);
  --text-strong: #111816;
  --muted: rgba(54, 70, 66, 0.72);
  --muted-soft: rgba(75, 90, 86, 0.56);
  --shadow: 0 24px 70px rgba(46, 72, 66, 0.16);
  --shadow-soft: 0 14px 34px rgba(46, 72, 66, 0.12);
}

html[data-theme="light"] body {
  background:
    linear-gradient(150deg, rgba(45, 212, 191, 0.12), transparent 30%),
    linear-gradient(330deg, rgba(246, 196, 83, 0.12), transparent 32%),
    linear-gradient(135deg, #f6fbf8 0%, #edf7f4 48%, #f7f3ea 100%);
}

.navbar,
.hero-glass,
.auth-panel,
.app-sidebar,
.app-content,
.app-panel,
.profile-menu,
footer {
  border-color: var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.045)),
    rgba(11, 18, 21, 0.66);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    var(--shadow-soft);
}

.navbar {
  top: 18px;
  min-height: 62px;
  padding: 9px 12px;
  border-radius: 18px;
}

.navbar::before,
.hero-glass::before {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.14), transparent 28%, transparent 74%, rgba(246, 196, 83, 0.055));
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.05)),
    linear-gradient(135deg, rgba(45, 212, 191, 0.85), rgba(56, 189, 248, 0.72) 52%, rgba(246, 196, 83, 0.72));
}

.hero {
  padding: 104px 28px 86px;
}

.hero-glass {
  min-height: 590px;
  padding: 98px 44px 72px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.05)),
    rgba(11, 18, 21, 0.62);
}

.hero-glass::after {
  opacity: 0.23;
}

.eyebrow,
.panel-head span,
.server-meta a,
.verify-box code,
.billing-price {
  color: var(--accent-strong);
}

.server-name {
  color: var(--muted);
}

.big-server-ip {
  color: var(--text-strong);
  text-shadow:
    0 18px 52px rgba(45, 212, 191, 0.16),
    0 24px 70px rgba(0, 0, 0, 0.32);
}

.admin-link,
.nav-btn,
.copy-btn,
.discord-btn,
.auth-main-btn,
.auth-sub-btn,
.quick-actions button,
.file-picker span,
.app-side-btn,
.profile-menu button {
  border-radius: var(--radius-md);
  font-weight: 760;
}

.admin-link,
.nav-btn {
  min-height: 38px;
  padding: 0 14px;
}

.nav-btn.primary,
.copy-btn,
.auth-main-btn {
  border-color: rgba(45, 212, 191, 0.4);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.055)),
    linear-gradient(135deg, rgba(45, 212, 191, 0.34), rgba(56, 189, 248, 0.25));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 14px 28px rgba(45, 212, 191, 0.15);
}

.admin-link {
  border-color: rgba(246, 196, 83, 0.28);
  color: rgba(255, 241, 199, 0.96);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(246, 196, 83, 0.08);
}

.app-nav {
  gap: 8px;
}

.icon-btn,
.user-trigger {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
}

.user-avatar-mini,
.app-avatar {
  background:
    linear-gradient(145deg, rgba(45, 212, 191, 0.42), rgba(56, 189, 248, 0.25)),
    rgba(255, 255, 255, 0.08);
}

.profile-menu {
  width: 196px;
  gap: 3px;
  padding: 6px;
  border-radius: var(--radius-lg);
}

.profile-menu button {
  min-height: 36px;
  border-radius: var(--radius-sm);
}

.app-shell {
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 18px;
  width: min(1420px, calc(100% - 48px));
}

.app-sidebar,
.app-content {
  border-radius: var(--radius-xl);
}

.app-sidebar {
  padding: var(--panel-padding);
}

.app-content {
  padding: 20px;
}

.app-panel {
  padding: var(--panel-padding);
  border-radius: var(--radius-lg);
}

.app-page-head {
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.app-page-head h1 {
  font-size: 32px;
  color: var(--text-strong);
}

.app-session-chip,
.server-status-line,
.server-meta span {
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.045);
}

.app-side-nav {
  gap: 5px;
}

.app-side-btn {
  min-height: 40px;
  padding: 0 12px;
}

.app-side-btn:hover,
.app-side-btn.is-active,
.profile-menu button:hover {
  color: var(--text-strong);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(45, 212, 191, 0.11);
}

.notice-item,
.post-item,
.device-item,
.achievement-item,
.setting-row,
.theme-options span,
.billing-plan {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.045);
}

.notice-item.is-important {
  border-color: rgba(246, 196, 83, 0.32);
  background: rgba(246, 196, 83, 0.075);
}

.quick-actions {
  gap: 10px;
}

.quick-actions button {
  min-height: 64px;
  border-color: rgba(45, 212, 191, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.035)),
    rgba(45, 212, 191, 0.07);
}

.compact-form input,
.compact-form textarea,
.compact-form select,
.auth-view input[type="text"],
.auth-view input[type="password"] {
  border-color: var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.028)),
    rgba(0, 0, 0, 0.16);
}

.compact-form input:focus,
.compact-form textarea:focus,
.compact-form select:focus,
.auth-view input:focus {
  border-color: rgba(45, 212, 191, 0.58);
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.12);
}

.edition-toggle,
.discord-consent,
.password-warning,
.verify-box,
.theme-options span {
  border-radius: var(--radius-md);
}

.edition-toggle::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.06)),
    rgba(45, 212, 191, 0.24);
}

.auth-overlay {
  background: rgba(3, 8, 9, 0.68);
}

.auth-panel {
  border-radius: var(--radius-xl);
}

.auth-close {
  border-radius: var(--radius-sm);
}

.discord-btn {
  border-color: rgba(88, 101, 242, 0.38);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.055)),
    linear-gradient(135deg, rgba(88, 101, 242, 0.9), rgba(45, 212, 191, 0.45));
}

.auth-sub-btn {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.035);
}

html[data-theme="light"] .navbar,
html[data-theme="light"] .auth-panel,
html[data-theme="light"] .app-sidebar,
html[data-theme="light"] .app-content,
html[data-theme="light"] .app-panel,
html[data-theme="light"] .profile-menu,
html[data-theme="light"] footer {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.6)),
    rgba(248, 252, 250, 0.74);
}

html[data-theme="light"] .notice-item,
html[data-theme="light"] .post-item,
html[data-theme="light"] .device-item,
html[data-theme="light"] .achievement-item,
html[data-theme="light"] .setting-row,
html[data-theme="light"] .theme-options span,
html[data-theme="light"] .billing-plan {
  background: rgba(255, 255, 255, 0.58);
}

html[data-theme="light"] .compact-form input,
html[data-theme="light"] .compact-form textarea,
html[data-theme="light"] .compact-form select,
html[data-theme="light"] .auth-view input[type="text"],
html[data-theme="light"] .auth-view input[type="password"] {
  background: rgba(255, 255, 255, 0.72);
}

@media (max-width: 1080px) {
  .app-shell {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 14px;
  }
}

@media (max-width: 860px) {
  .navbar {
    top: 12px;
    border-radius: var(--radius-lg);
  }

  .app-shell {
    width: calc(100% - 28px);
    padding-top: 88px;
  }

  .app-side-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .app-page-head {
    align-items: flex-start;
  }

  .hero-glass {
    min-height: 540px;
    border-radius: var(--radius-xl);
  }
}

@media (max-width: 560px) {
  body {
    background:
      linear-gradient(150deg, rgba(45, 212, 191, 0.1), transparent 34%),
      linear-gradient(335deg, rgba(246, 196, 83, 0.09), transparent 36%),
      linear-gradient(160deg, #06100e 0%, #10161d 56%, #17131a 100%);
  }

  .navbar {
    width: calc(100% - 22px);
    min-height: 56px;
  }

  .app-side-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-sidebar,
  .app-content,
  .app-panel,
  .hero-glass,
  .auth-panel {
    border-radius: var(--radius-lg);
  }

  .server-status-line,
  .server-meta span,
  .copy-btn,
  .discord-btn,
  .auth-main-btn,
  .auth-sub-btn {
    border-radius: var(--radius-md);
  }
}
