* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

.viz-root {
  color-scheme: dark;
  --page-plane:      #07070c;

  /* ---- Liquid Glass material tokens ----
     Two tiers per the iOS 27 spec: Regular (chrome — header/app-shell) and
     a non-glass "content layer" tint for anything NESTED inside a Regular
     surface (buttons, nav items) — nesting a second blur inside a blurred
     surface is an explicit anti-pattern ("no glass-on-glass stacking"), so
     content-layer elements get a solid/tinted finish with no backdrop-
     filter of their own. */
  --glass-regular-fill:       linear-gradient(160deg, rgba(255,255,255,0.14), rgba(255,255,255,0.02) 55%), rgba(22, 22, 30, 0.46);
  --glass-regular-fill-hover: linear-gradient(160deg, rgba(255,255,255,0.18), rgba(255,255,255,0.03) 55%), rgba(26, 26, 36, 0.54);
  /* capped at 20pt per spec ("blur radius capped at 20pt to prevent GPU
     overload on 120Hz displays") */
  --glass-regular-blur:       blur(20px) saturate(170%);
  --glass-border:    rgba(255, 255, 255, 0.16);
  --glass-highlight: rgba(255, 255, 255, 0.5);
  /* the thin dark ring iOS 27 adds outside the border so glass doesn't
     melt into a bright background blob behind it */
  --glass-outline:   0 0 0 1px rgba(0, 0, 0, 0.35);

  --content-fill:       rgba(255, 255, 255, 0.09);
  --content-fill-hover: rgba(255, 255, 255, 0.16);

  --text-primary:    #ffffff;
  --text-secondary:  rgba(235, 235, 245, 0.72);
  --text-muted:      rgba(235, 235, 245, 0.5);
  --border:          rgba(255, 255, 255, 0.14);
  --status-upcoming: #64a8ff;
  --status-good:     #32d74b;
  --status-critical: #ff6b6b;

  /* ---- spring presets, named per the spec's mass-spring-damper table ----
     approximated as cubic-bezier since CSS has no native spring easing. */
  --spring-responsive: cubic-bezier(0.2, 0.75, 0.3, 1);     /* stiff, ~no overshoot — press feedback */
  --spring-expressive: cubic-bezier(0.34, 1.56, 0.64, 1);   /* light bounce — popovers, card motion */
  --spring-gentle:     cubic-bezier(0.25, 0.85, 0.35, 1);   /* smooth, no oscillation — chrome-level motion */
  --spring-bouncy:     cubic-bezier(0.68, -0.55, 0.32, 1.55); /* pronounced overshoot — jelly micro-interactions */

  margin: 0;
  min-height: 100vh;
  background: var(--page-plane);
  color: var(--text-primary);
  font-family: -apple-system, "SF Pro Text", system-ui, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* ---------- ambient background ---------- */

.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  will-change: transform;
  animation: drift 34s ease-in-out infinite alternate;
  opacity: 0.32;
}

/* calmer, near-monochrome ambient field (2 blues + 1 muted violet) instead
   of a 4-color rainbow — quieter background reads as more restrained/
   corporate while keeping the depth cue the glass material relies on */
.blob-1 { width: 560px; height: 560px; top: -160px; left: -120px; background: #2f6fc4; animation-delay: 0s; }
.blob-2 { width: 520px; height: 520px; bottom: -180px; right: -100px; background: #5b6ea8; animation-delay: -10s; }
.blob-3 { width: 460px; height: 460px; top: 45%; left: 55%; background: #3987e5; animation-delay: -20s; opacity: 0.28; }
.blob-4 { display: none; }

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(35px, -28px) scale(1.06); }
}

/* ---------- glass material (Regular tier — chrome only, never nested) ----------
   Only 2 glass surfaces render at once now: the loading screen's card (only
   during the ~5s boot window, see below) and the app shell — well under the
   spec's 4-simultaneous-surface cap. Everything else is a content-layer
   tint living inside one of these two. */

.loading-inner,
.app-shell {
  position: relative;
  background: var(--glass-regular-fill);
  backdrop-filter: var(--glass-regular-blur);
  -webkit-backdrop-filter: var(--glass-regular-blur);
  border: 1px solid var(--glass-border);
  will-change: transform;
  box-shadow:
    var(--glass-outline),
    0 12px 40px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

/* thin bright edge along the top (light catching a glass lip) */
.loading-inner::before,
.app-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, var(--glass-highlight), transparent 40%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
  pointer-events: none;
}

/* ---------- initial loading screen ----------
   Full-viewport cover shown for ~5s on first paint, carrying the welcome
   copy that used to live in a collapsing hero header (see .nav-title-bar
   below for where the header itself went instead). Solid --page-plane
   background so nothing half-rendered flashes through underneath. The 5s
   window isn't just cosmetic — app.js's first /api/status poll fires
   immediately behind it, so by the time it clears, the MC/Palworld panels
   already have real state instead of a "檢查連線中" placeholder flash. */
.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--page-plane);
  transition: opacity 0.5s ease;
}

.loading-screen.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-inner {
  position: relative;
  max-width: 480px;
  text-align: center;
  border-radius: 28px;
  padding: 40px 32px;
}

.loading-inner h1 {
  margin: 14px 0 0;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.loading-inner .subtitle {
  margin: 10px auto 0;
  max-width: 400px;
  text-align: left;
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--status-upcoming);
  background: rgba(100, 168, 255, 0.14);
  border: 1px solid rgba(100, 168, 255, 0.3);
  border-radius: 999px;
  padding: 3px 11px;
}

.subtitle {
  margin: 8px 0 0;
  max-width: 560px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.loading-bar {
  margin-top: 24px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.loading-bar-fill {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: var(--status-upcoming);
  animation: loading-progress 5s linear forwards;
}

@keyframes loading-progress {
  from { width: 0%; }
  to   { width: 100%; }
}

/* plain-text transition into the glass app shell — not a glass surface
   itself, just a label so the shell doesn't just appear with no context. */
.section-label {
  position: relative;
  z-index: 1;
  margin: 16px 20px 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ---------- app shell: categorized nav + content pane ----------
   Replaces the card grid/carousel — one persistent nav (grouped by
   category) plus one content pane that shows whichever service is
   selected. Nothing here ever navigates the browser away from this page;
   BlueMap/drills/DE are embedded in place via iframe (see .iframe-wrap),
   not linked to. Mobile: nav is a horizontally scrollable chip strip above
   the content. Desktop (≥768px): nav becomes a vertical sidebar beside it. */

.app-shell {
  z-index: 1;
  margin: 20px 20px 0;
  padding: 18px;
  border-radius: 28px;
  scroll-margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 768px) {
  .app-shell {
    flex-direction: row;
    align-items: flex-start;
  }
}

/* ---------- nav column ----------
   Wraps the title bar + service-nav together so the title sits directly
   above the 遊戲伺服器 category on both breakpoints — it used to be a
   separate full-width header above the whole shell (see the loading-screen
   comment above for where its intro copy went instead); this is what "併入
   遊戲伺服器的上方" means structurally. Plain block flow on mobile (title
   just stacks above the horizontal-scroll chip row); on desktop it becomes
   the flex column that used to be .service-nav's own layout. */
.nav-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 768px) {
  .nav-column {
    flex: 0 0 220px;
    gap: 16px;
  }
}

.nav-title-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px;
}

@media (min-width: 768px) {
  .nav-title-bar {
    padding: 4px 6px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}

.nav-title-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: color-mix(in srgb, var(--status-upcoming) 32%, transparent);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-primary);
}

.nav-title-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.service-nav {
  display: flex;
  flex-direction: row;
  gap: 10px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-mask-image: linear-gradient(to right, transparent, black 12px, black calc(100% - 12px), transparent);
  mask-image: linear-gradient(to right, transparent, black 12px, black calc(100% - 12px), transparent);
  padding: 2px 2px 4px;
}

.service-nav::-webkit-scrollbar {
  display: none;
}

@media (min-width: 768px) {
  .service-nav {
    flex-direction: column;
    overflow-x: visible;
    scroll-snap-type: none;
    -webkit-mask-image: none;
    mask-image: none;
    gap: 20px;
    padding: 2px;
  }
}

/* on mobile, a category is just a grouping label, not a layout box — its
   nav-items flow directly into .service-nav's horizontal scroll row */
.nav-category {
  display: contents;
}

.nav-category-title {
  display: none;
}

@media (min-width: 768px) {
  .nav-category {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .nav-category-title {
    display: block;
    margin: 0 0 2px 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
  }
}

/* content-layer button — solid tint, no nested backdrop-filter (lives
   inside the app-shell's own Regular glass) */
.nav-item {
  position: relative;
  flex-shrink: 0;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 7px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--content-fill);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.nav-item:hover {
  background: color-mix(in srgb, var(--card-accent, #fff) 22%, transparent);
  color: var(--text-primary);
}

.nav-item.is-active {
  background: color-mix(in srgb, var(--card-accent, #fff) 34%, transparent);
  border-color: color-mix(in srgb, var(--card-accent, #fff) 55%, transparent);
  color: var(--text-primary);
}

.nav-item-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: color-mix(in srgb, var(--card-accent) 32%, transparent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}

.nav-item-label {
  flex: 1;
}

@media (min-width: 768px) {
  .nav-item {
    width: 100%;
    border-radius: 12px;
    padding: 9px 12px;
  }
}

/* ---------- content pane ---------- */

.service-content {
  flex: 1;
  min-width: 0;
}

.service-panel {
  padding: 4px;
}

.panel-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.panel-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: color-mix(in srgb, var(--card-accent) 28%, transparent);
  border: 1px solid color-mix(in srgb, var(--card-accent) 45%, transparent);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.service-panel h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.panel-meta {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--text-muted);
}

/* a subsection within a panel — currently just BlueMap nested inside the
   MC panel, since its availability is tied to MC's (BlueMap only runs
   inside the live Minecraft JVM) */
.panel-divider {
  margin: 20px 0 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.subsection-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.subsection-heading h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

/* ---------- embedded services ----------
   BlueMap/drills/DE are used in place via iframe instead of linking away —
   see app.js's lazyLoadIframe, which only creates the <iframe> once its
   panel is actually opened. BlueMap's wrap (`data-load-on="click"`) is the
   exception: its panel (MC) is open by default, so it gets a placeholder
   button instead — its WebGL render loop only starts once the user
   explicitly asks for the map, not just because they looked at the MC tab. */
.iframe-wrap {
  margin-top: 12px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
}

.iframe-wrap iframe {
  display: block;
  width: 100%;
  height: min(80vh, 900px);
  border: 0;
}

.iframe-load-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 160px;
  padding: 0;
  background: var(--content-fill);
  color: var(--text-secondary);
  border: 0;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.iframe-load-btn:hover {
  background: var(--content-fill-hover);
  color: var(--text-primary);
}

/* ---------- status ---------- */

.status-line {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  width: fit-content;
  font-size: 12px;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  flex-shrink: 0;
}

/* applied directly to the dot itself, so the same rule colors it whether
   it's inside a panel's .status-line, its .mini-status, or standalone in
   a .nav-item — see app.js's setDotClass */
.status-dot.is-up {
  background: var(--status-good);
  box-shadow: 0 0 8px 1px rgba(50, 215, 75, 0.65);
  animation: status-pulse 2.2s infinite;
}

.status-dot.is-down {
  background: var(--status-critical);
  box-shadow: 0 0 8px 1px rgba(255, 107, 107, 0.5);
}

/* sleeping is an intentional idle state, not a fault — calm color, no pulse */
.status-dot.is-asleep {
  background: var(--status-upcoming);
  box-shadow: 0 0 6px 1px rgba(100, 168, 255, 0.5);
}

@keyframes status-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(50, 215, 75, 0.55); }
  70%  { box-shadow: 0 0 0 7px rgba(50, 215, 75, 0); }
  100% { box-shadow: 0 0 0 0 rgba(50, 215, 75, 0); }
}

.mini-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--text-muted);
}

/* ---------- player chips ---------- */

.player-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.player-chips:empty {
  display: none;
}

/* content-layer chip — nested inside the app-shell's own Regular glass, so
   no backdrop-filter of its own */
.player-chip {
  font-size: 11px;
  color: var(--text-primary);
  background: color-mix(in srgb, var(--card-accent) 30%, transparent);
  border: 1px solid color-mix(in srgb, var(--card-accent) 50%, transparent);
  border-radius: 999px;
  padding: 3px 10px;
  white-space: nowrap;
}

/* ---------- palworld position map ---------- */

.pal-map-wrap {
  margin-top: 14px;
}

.pal-map {
  display: block;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1 / 1;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.description {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.hint {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--text-muted);
}

/* ---------- connection rows ---------- */

.conn-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.conn-label {
  font-size: 12px;
  color: var(--text-muted);
  min-width: 88px;
}

.conn-value {
  flex: 1;
  min-width: 160px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 13px;
  font-family: ui-monospace, "SF Mono", "Cascadia Code", Consolas, monospace;
  color: var(--text-primary);
}

/* ---------- content-layer buttons ----------
   Live INSIDE an already-blurred Regular glass shell, so per the spec's
   anti-pattern rule they must NOT carry their own backdrop-filter (that
   would stack two optical media and produce a murky double-refraction
   instead of a clean surface). They're the "content layer": a solid tint,
   a crisp top highlight (a box-shadow, not a blur — GPU-cheap), and a
   real-time pointer-tracking specular highlight + 3D tilt. Press scaling
   is intentionally SLIGHT (~0.96, Responsive spring, no overshoot). */

.copy-btn {
  --mx: 50%;
  --my: 50%;
  --rx: 0deg;
  --ry: 0deg;
  --btn-scale: 1;

  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.02) 60%), var(--content-fill);
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  cursor: pointer;
  padding: 8px 18px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -4px 7px -5px rgba(0, 0, 0, 0.35);
  transform: perspective(500px) rotateX(var(--rx)) rotateY(var(--ry)) scale(var(--btn-scale));
  transform-style: preserve-3d;
  transition:
    transform 0.45s var(--spring-expressive),
    box-shadow 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease;
}

/* specular highlight — a bright spot that follows the cursor (real-time,
   updated by JS), blended so it reads as light on a surface, not a paint layer */
.copy-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(90px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.55), transparent 65%);
  opacity: 0;
  mix-blend-mode: overlay;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.copy-btn:hover {
  --btn-scale: 1.04;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.03) 60%), var(--content-fill-hover);
  border-color: var(--status-upcoming);
  color: var(--status-upcoming);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -4px 7px -5px rgba(0, 0, 0, 0.3);
}

.copy-btn:hover::before {
  opacity: 1;
}

/* the press: slight, stiff, no-overshoot (Responsive) — release falls back
   to the base rule's Expressive spring for a gentle settle, not a bounce */
.copy-btn:active {
  --btn-scale: 0.96;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 2px 5px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s var(--spring-responsive), box-shadow 0.15s ease;
}

.copy-btn.copied {
  color: var(--status-good);
  border-color: var(--status-good);
}

/* ---------- Claude usage analysis ---------- */

.usage-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 16px;
}

@media (min-width: 480px) {
  .usage-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-tile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--content-fill);
  border: 1px solid var(--border);
}

.stat-value {
  font-size: 20px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--text-primary);
}

.stat-label {
  font-size: 11px;
  color: var(--text-muted);
}

.usage-models {
  margin-top: 22px;
}

.usage-models-title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.usage-bar-row {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: center;
  gap: 10px;
  margin-top: 9px;
  font-size: 12px;
}

.usage-bar-label {
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.usage-bar-track {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.usage-bar-fill {
  display: block;
  height: 100%;
  border-radius: 4px;
}

.usage-bar-value {
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ---------- footer ---------- */

.app-footer {
  position: relative;
  z-index: 1;
  margin: 0 20px 24px;
  padding: 16px 24px 40px;
  color: var(--text-muted);
  font-size: 12px;
  text-align: center;
}

/* ---------- accessibility degradation ----------
   Non-negotiable per spec: Reduce Transparency strips the optical material
   entirely (solid frosted fallback, no blur, no ambient light source to
   sample from); Increase Contrast thickens/brightens every edge; Reduce
   Motion kills the spring choreography in favor of instant state changes. */

@media (prefers-reduced-transparency: reduce) {
  .loading-inner,
  .app-shell {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #16161e;
  }

  .ambient-bg {
    display: none;
  }
}

@media (prefers-contrast: more) {
  .loading-inner,
  .app-shell {
    border-width: 2px;
    border-color: rgba(255, 255, 255, 0.55);
  }

  .nav-item,
  .copy-btn,
  .status-line,
  .conn-value {
    border-width: 2px;
    border-color: rgba(255, 255, 255, 0.5);
  }
}

@media (prefers-reduced-motion: reduce) {
  .blob,
  .nav-item,
  .copy-btn {
    animation: none;
    transition: opacity 0.15s linear;
  }

  .loading-screen {
    transition: none;
  }

  .loading-bar-fill {
    animation: none;
    width: 100%;
  }
}
