﻿/* â”€â”€ Reset & Base â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0a0a0a;
  --surface:   #111111;
  --surface-2: #181818;
  --border:    #222222;
  --text:      #e8e8e8;
  --muted:     #555;
  --muted-2:   #888;
  --accent:    #ffffff;
  --green:     #22c55e;
  --discord:   #5865F2;
  --radius:    10px;
  --font:      'Inter', system-ui, sans-serif;
  --ease:      200ms ease;
  --nav-h:     60px;
  --tag-bg: #101010;
  --tag-border: #222;
}

html {
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
html::-webkit-scrollbar { width: 0; height: 0; }

body {
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
body::-webkit-scrollbar { width: 0; height: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  min-height: 100vh;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
img,
svg,
canvas {
  max-width: 100%;
  height: auto;
}
body::-webkit-scrollbar { width: 0; height: 0; }

body.theme-transition * {
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

a { color: inherit; text-decoration: none; }

/* â”€â”€ Nav â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  background: transparent;
  backdrop-filter: blur(6px) saturate(120%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-brand {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
}
.nav-brand-logo {
  height: 28px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  position: relative;
  font-size: 0.83rem;
  color: var(--muted-2);
  transition: color var(--ease);
}
.nav-links a:hover { color: var(--text); }

.nav-links-track {
  position: relative;
  padding: 0.2rem 0.2rem;
  border-radius: 999px;
}
.nav-active-indicator {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 28px;
  border-radius: 8px;
  background: var(--tag-bg);
  border: 1px solid var(--tag-border);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
  transition: left 0.22s ease, width 0.22s ease, transform 0.22s ease;
  z-index: 0;
}
.nav-links-track a {
  position: relative;
  z-index: 1;
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  transition: transform 0.22s ease;
}
.nav-links-track a.nav-active {
  transform: scale(1.06);
  color: var(--text);
}

.route-section {
  display: none;
  opacity: 0;
  transform: translateX(40px);
  pointer-events: none;
}
.route-section.slide-from-left {
  transform: translateX(-40px);
}
.route-section.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  animation: routeInRight 0.35s ease both;
}
.route-section.active.slide-from-left {
  animation-name: routeInLeft;
}
.route-section.route-exit {
  display: block !important;
  pointer-events: none;
  animation: routeExit 0.15s ease both !important;
}

@keyframes routeExit {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(12px); }
}

@keyframes routeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes routeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

.nav-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-bell {
  position: relative;
  width: 36px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--tag-border);
  background: var(--tag-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color var(--ease), background var(--ease);
}
.nav-bell:hover { border-color: var(--muted-2); }
.nav-bell-icon {
  width: 16px;
  height: 16px;
  fill: var(--text);
}
.bell-badge {
  display: none;
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--discord);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 99px;
  padding: 0 4px;
  text-align: center;
  line-height: 16px;
}
.bell-badge.visible { display: block; }
.nav-menu-btn {
  width: 36px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--tag-border);
  background: var(--tag-bg);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 0 8px;
  cursor: pointer;
  transition: border-color var(--ease), background var(--ease);
}
.nav-menu-btn:hover { border-color: var(--muted-2); }
.nav-menu-bar {
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
}
.nav-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 200px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.4rem;
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
  z-index: 120;
}
.nav-menu-user {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.3rem;
}
.nav-menu-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  border: 1px solid transparent;
  background: none;
  color: var(--text);
  font-size: 0.85rem;
  cursor: pointer;
  text-align: left;
}
.nav-menu-item:hover {
  background: var(--surface);
  border-color: var(--border);
}


/* Sign in button in nav */
.btn-discord-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.32rem 0.85rem;
  background: var(--discord);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font);
  transition: background var(--ease), transform var(--ease);
}
.btn-discord-nav:hover { background: #4752c4; transform: translateY(-1px); }

/* Invite button inside bot card */
.btn-discord-invite {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.85rem;
  padding: 0.35rem 0.9rem;
  background: var(--discord);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font);
  text-decoration: none;
  transition: background var(--ease), transform var(--ease);
}
.btn-discord-invite:hover { background: #4752c4; transform: translateY(-1px); }

/* Nav user chip (shown when signed in) */
.nav-user {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.22rem 0.7rem 0.22rem 0.3rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--text);
}
.nav-user-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
}
.nav-user-name { font-weight: 500; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.nav-discord {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.8rem !important;
  transition: border-color var(--ease), color var(--ease) !important;
}
.nav-discord:hover { border-color: var(--discord) !important; color: var(--discord) !important; }

/* â”€â”€ Buttons â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--ease);
  font-family: var(--font);
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}
.btn-primary:hover { background: #d4d4d4; border-color: #d4d4d4; }
.btn-ghost {
  border-color: var(--border);
  color: var(--muted-2);
}
.btn-ghost:hover { border-color: var(--muted-2); color: var(--text); }
.btn-social {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: 64px;
  height: 64px;
  padding: 0;
  justify-content: center;
  border-radius: 8px;
  position: relative;
}
.btn-social:disabled {
  cursor: default;
  opacity: 0.8;
}
.btn-social-icon {
  width: 64px;
  height: 64px;
  fill: var(--text);
  opacity: 0.9;
}
.btn-social.discord .btn-social-icon {
  transform: translateY(3px);
}

.social-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: var(--tag-bg);
  border: 1px solid var(--tag-border);
  border-radius: 10px;
  padding: 0.4rem 0.6rem;
  min-width: 160px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 5;
  box-shadow: none;
}
.social-tooltip-title {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.social-tooltip-value {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 0.2rem;
}
.btn-social:hover .social-tooltip,
.btn-social:focus-visible .social-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* â”€â”€ Hero â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: calc(var(--nav-h) + 4rem) 2rem 6rem;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.68' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}
.route-section[data-view="/"] {
  position: relative;
  overflow: hidden;
}
.route-section[data-view="/"] .hero {
  position: relative;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.6rem;
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
}
.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.hero-meta-icon {
  width: 13px;
  height: 13px;
  opacity: 0.5;
  flex-shrink: 0;
}
.hero-meta-sep {
  color: var(--border);
}
a.hero-meta-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s;
}
a.hero-meta-link:hover {
  opacity: 0.75;
  text-decoration: none;
}

.hero-cta-link {
  position: relative;
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.6rem 1.8rem;
  border-radius: 4px;
  border: 1px solid transparent;
  background: rgba(255,255,255,0.02);
  transition: color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease, background 0.25s ease;
}
.hero-cta-link::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 5px;
  background: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0.04), rgba(255,255,255,0.12));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  transition: opacity 0.25s ease;
  opacity: 0.6;
}
.hero-cta-link:hover {
  color: var(--text);
  background: rgba(255,255,255,0.03);
  transform: translateY(-2px);
  box-shadow: 0 0 22px rgba(255,255,255,0.1), 0 6px 20px rgba(0,0,0,0.45);
}
.hero-cta-link:hover::before {
  opacity: 1;
  background: linear-gradient(135deg, rgba(255,255,255,0.35), rgba(255,255,255,0.08), rgba(255,255,255,0.22));
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.hero-cursor {
  display: inline-block;
  width: 0.6ch;
  margin-left: 0.1rem;
  color: var(--text);
  animation: blinkCursor 1s steps(1) infinite;
}

.accent {
  color: var(--accent);
  text-shadow: 0 0 22px rgba(255,255,255,0.08), 0 0 50px rgba(255,255,255,0.03);
}

.site-footer {
  position: fixed;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  pointer-events: none;
  z-index: 100;
  opacity: 0.5;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--muted-2);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}
.hero-command {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted-2);
  letter-spacing: 0.06em;
  text-transform: none;
  padding: 0.6rem 1.6rem;
  margin-bottom: 2.5rem;
  border-radius: 4px;
  border: none;
  background: rgba(255,255,255,0.02);
  position: relative;
  overflow: hidden;
}

@keyframes heroShimmer {
  0%    { transform: translateX(-200%); opacity: 0; }
  4%    { opacity: 1; }
  28%   { transform: translateX(320%); opacity: 0; }
  100%  { transform: translateX(320%); opacity: 0; }
}
.hero-command.shimmer-active::after {
  content: '';
  position: absolute;
  top: -20%;
  left: 0;
  width: 60%;
  height: 140%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255,255,255,0.02) 20%,
    rgba(255,255,255,0.09) 45%,
    rgba(255,255,255,0.14) 50%,
    rgba(255,255,255,0.09) 55%,
    rgba(255,255,255,0.02) 80%,
    transparent 100%
  );
  animation: heroShimmer 8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
}
.hero-prompt {
  font-family: var(--font);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.18);
  user-select: none;
}
/* â”€â”€ Sections â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.container {
  max-width: min(900px, 92vw);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

.section.alt-bg {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
/* Grid scoped to the code block area, outside the opacity-dimmed code-bg parent */
.section.alt-bg::before {
  content: none;
}
.section.alt-bg > .container {
  position: relative;
  z-index: 1;
}
.code-bg {
  position: absolute;
  top: 3.5rem;
  left: 1.5rem;
  z-index: 0;
  opacity: 0.15;
  pointer-events: none;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  max-width: min(620px, 88vw);
  overflow: visible;
}

/* Grid handled by section::before outside the opacity context */
.code-bg::before {
  content: none;
}

/* ── Section particle canvas ───────────────────────────── */
.section-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

/* ── Section scroll progress (vertical left bar) ────────── */
#section-progress {
  position: fixed;
  left: 0;
  top: 0;
  width: 2px;
  height: 100vh;
  background: rgba(255,255,255,0.05);
  z-index: 300;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
#section-progress.visible {
  opacity: 1;
}
#section-progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0%;
  background: rgba(255,255,255,0.35);
  transition: height 0.1s linear;
}

/* ── Copyable about card values ─────────────────────────── */
.copyable {
  cursor: pointer;
  position: relative;
  transition: color 0.15s ease;
  padding-left: 1.1rem;
}
.copyable::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 11px;
  height: 11px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='13' height='13' rx='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.15s ease;
  pointer-events: none;
}
.copyable:hover {
  color: var(--text);
}
.copyable:hover::before {
  opacity: 1;
}
.code-bg pre {
  margin: 0;
  font-family: "Courier New", ui-monospace, monospace;
  font-size: clamp(0.7rem, 2vw, 1rem);
  line-height: 1.6;
  color: rgba(210,220,240,0.9);
  text-shadow: 0 0 12px rgba(120,140,190,0.15);
}
.code-bg code {
  display: block;
  white-space: pre;
}
.code-token.keyword { color: #8ab4ff; }
.code-token.string { color: #f6d365; }
.code-token.number { color: #9bdc98; }
.code-token.comment { color: rgba(160,170,190,0.65); font-style: italic; }
.code-token.func { color: #f59f9f; }
.code-cursor {
  display: inline-block;
  width: 0.6ch;
  color: rgba(220,230,245,0.9);
  animation: blinkCursor 1s steps(1) infinite;
}

@keyframes blinkCursor {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@keyframes sectionGlow {
  0% { transform: translateY(0) scale(1); opacity: 0.7; }
  50% { transform: translateY(-12px) scale(1.02); opacity: 0.9; }
  100% { transform: translateY(0) scale(1); opacity: 0.7; }
}


.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 1.25rem;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}

/* â”€â”€ About â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  align-items: start;
}

.about-text h2 {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.about-text p {
  color: var(--muted-2);
  margin-bottom: 1rem;
  line-height: 1.75;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.about-tags .tag {
  font-family: var(--font);
  font-size: 0.75rem;
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  background: var(--tag-bg);
  border: 1px solid var(--tag-border);
  color: #d4d4d4;
  box-shadow: none;
  letter-spacing: 0;
}
.about-tags .tag::before { content: none; }
.about-tags .tag-token {
  display: inline-flex;
  align-items: center;
  padding: 0.1rem 0.35rem;
  margin-right: 0.4rem;
  font-size: 0.68rem;
  color: #9aa0a6;
  background: #151515;
  border: 1px solid #1f1f1f;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.about-tags .tag-discord { color: #7aa2f7; }
.about-tags .tag-node    { color: #9bdc98; }
.about-tags .tag-js      { color: #f6d365; }
.about-tags .tag-express { color: #cbd5e1; }
.about-tags .tag-oauth   { color: #f59f9f; }

.tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.74rem;
  padding: 0.3rem 0.75rem;
  background: var(--tag-bg);
  border: 1px solid var(--tag-border);
  border-radius: 999px;
  color: var(--muted-2);
  letter-spacing: 0.02em;
  box-shadow: none;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  box-shadow: none;
}
.tag:hover {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.18);
  color: var(--text);
}
.tag-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.tag-icon-svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}


/* Shared card background = bot tech tag background */
.about-card,
.bot-card,
.contact-info-card,
.contact-form,
.contact-user-row {
  background-color: var(--tag-bg) !important;
  border-color: var(--tag-border) !important;
  background-image: none !important;
  box-shadow: none !important;
}
/* Remove container fill between contact elements */
.contact-form {
  background: transparent !important;
  border-color: transparent !important;
}
.footer-note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.82rem;
  flex-wrap: wrap;
}
.footer-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(58,169,244,0.45);
  background: rgba(58,169,244,0.12);
  color: #3aa9f4;
  font-size: 0.78rem;
  font-family: var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.footer-pill:hover {
  background: rgba(58,169,244,0.18);
  border-color: rgba(58,169,244,0.65);
  transform: translateY(-1px);
}

.about-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.about-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1.1rem;
  transition: background 0.15s ease;
}
.about-card-row:hover {
  background: rgba(255, 255, 255, 0.025);
}

.about-card-label {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.about-card-value {
  font-size: 0.85rem;
  font-weight: 500;
}

.status-open { color: var(--green); }

.about-card-divider {
  height: 1px;
  background: var(--border);
}

/* â€”â€”â€” Tech Carousel â€”â€”â€” */
.tech-carousel {
  margin-top: 2.5rem;
}
.tech-carousel-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.tech-carousel-title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.tech-carousel-controls {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.tech-carousel-divider {
  color: var(--muted-2);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  margin: 0 0.15rem;
}
.tech-carousel-stage {
  position: relative;
  height: 300px;
}
.tech-card {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--tag-bg);
  border: 1px solid var(--tag-border);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  display: grid;
  gap: 0.35rem;
  width: min(520px, 92%);
  height: 280px;
  overflow: hidden;
  transition: transform 0.45s ease, opacity 0.45s ease;
  box-shadow: none;
}
.tech-card.front {
  transform: translateX(-50%) scale(1);
  opacity: 1;
  z-index: 3;
}
.tech-card.left {
  transform: translateX(calc(-50% - 190px)) scale(0.92);
  opacity: 0.5;
  z-index: 2;
}
.tech-card.right {
  transform: translateX(calc(-50% + 190px)) scale(0.92);
  opacity: 0.5;
  z-index: 2;
}
.tech-card.back {
  opacity: 0;
  z-index: 1;
}
.tech-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}
.tech-meta {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.tech-code {
  margin: 0.3rem 0 0;
  font-family: "Courier New", ui-monospace, monospace;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text);
  white-space: pre;
  overflow: hidden;
}

/* â”€â”€ Bot Card â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bot-card {
  background-color: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: clip;
  transition: background-color var(--ease), border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.bot-card:hover {
  border-color: rgba(85,85,255,0.5) !important;
  box-shadow: 0 0 0 1px rgba(85,85,255,0.2), 0 8px 40px rgba(85,85,255,0.18), 0 2px 12px rgba(0,0,0,0.5) !important;
  transform: translateY(-8px);
}

/* ── Ping status bar ─────────────────────────────────────── */
.bot-ping-bar {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 2rem;
  height: 0;
  overflow: hidden;
  border-top: 0px solid var(--border);
  background: rgba(85,85,255,0.04);
  opacity: 0;
  transition: height 0.3s cubic-bezier(0.4,0,0.2,1),
              opacity 0.25s ease,
              border-top-width 0.3s ease,
              padding-top 0.3s ease,
              padding-bottom 0.3s ease;
}
.bot-card:hover .bot-ping-bar {
  height: 44px;
  opacity: 1;
  border-top-width: 1px;
}
.bot-ping-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  gap: 1px;
}
.bot-ping-sep {
  width: 1px;
  height: 24px;
  background: var(--border);
  flex-shrink: 0;
}
.bot-ping-label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.bot-ping-val {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.bot-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: start;
}
.bot-cards {
  min-width: 0;
}
.bot-tech-rail-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 1.4rem;
  margin-top: 2.5rem;
  margin-left: auto;
  padding-left: 1rem;
  position: relative;
  justify-self: center;
  padding-right: 1.5rem;
}
.bot-tech-brace {
  width: 18px;
  height: 300px;
  position: relative;
  opacity: 0.7;
  margin-top: 0.98rem;
}
.bot-tech-brace::before,
.bot-tech-brace::after,
.bot-tech-brace span {
  content: '';
  position: absolute;
  left: 8px;
  width: 10px;
  border-left: 1px solid var(--muted-2);
}
.bot-tech-brace::before {
  top: 0;
  height: 18px;
  border-top: 1px solid var(--muted-2);
  border-top-left-radius: 8px;
}
.bot-tech-brace span {
  top: 18px;
  bottom: 18px;
}
.bot-tech-brace::after {
  bottom: 0;
  height: 18px;
  border-bottom: 1px solid var(--muted-2);
  border-bottom-left-radius: 8px;
}
.bot-tech-rail {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 3.5rem;
  padding-top: 0.8rem;
  padding-left: 0.25rem;
}
.bot-tech-rail .tag:not(:last-child) {
  margin-bottom: 1.5rem;
}

.bot-card-top {
  display: flex;
  gap: 1.75rem;
  padding: 2rem;
  align-items: flex-start;
}
.bot-card-top::after {
  content: none;
}

.bot-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.bot-avatar,
.bot-avatar-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  object-fit: cover;
}

.bot-avatar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
}

.bot-status-dot {
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--surface-2);
  color: #6b7280;
  background: currentColor;
  animation: botBlink 1.8s ease-out infinite;
}
.bot-status-dot.online { color: var(--green); }
.bot-status-dot.offline { color: #6b7280; }

@keyframes botBlink {
  0% { box-shadow: 0 0 0 0 currentColor; opacity: 1; }
  70% { box-shadow: 0 0 0 8px rgba(0,0,0,0); opacity: 1; }
  100% { box-shadow: 0 0 0 0 rgba(0,0,0,0); opacity: 1; }
}

.bot-name-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.bot-name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.bot-badge {
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border: 1px solid var(--discord);
  color: var(--discord);
  border-radius: 99px;
}

.bot-desc {
  font-size: 0.85rem;
  color: var(--muted-2);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.bot-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.bot-tech-shared {
  margin-top: 1.5rem;
}
.bot-tech .tag {
  font-family: var(--font);
  font-size: 0.75rem;
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  background: var(--tag-bg);
  border: 1px solid var(--tag-border);
  color: #d4d4d4;
  letter-spacing: 0;
}
.bot-tech .tag::before { content: none; }
.bot-tech .tag-token {
  display: inline-flex;
  align-items: center;
  padding: 0.1rem 0.35rem;
  margin-right: 0.4rem;
  font-size: 0.68rem;
  color: #9aa0a6;
  background: #151515;
  border: 1px solid #1f1f1f;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.bot-tech .tag-discord { color: #7aa2f7; }
.bot-tech .tag-node    { color: #9bdc98; }
.bot-tech .tag-js      { color: #f6d365; }
.bot-tech .tag-express { color: #cbd5e1; }
.bot-tech .tag-oauth   { color: #f59f9f; }

/* Tag hover-lift with accent border glow */
/* While waiting to be revealed: use smooth slide-up timing */
.bot-tech .tag.reveal {
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.18s ease, box-shadow 0.18s ease;
}
/* Once revealed: snap back to fast hover-only transitions */
.bot-tech .tag.reveal.visible {
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.bot-tech .tag:hover                 { transform: translateY(-3px); }
.bot-tech .tag-discord:hover         { border-color: rgba(122,162,247,0.35); box-shadow: 0 4px 12px rgba(122,162,247,0.12); }
.bot-tech .tag-node:hover            { border-color: rgba(155,220,152,0.35); box-shadow: 0 4px 12px rgba(155,220,152,0.12); }
.bot-tech .tag-js:hover              { border-color: rgba(246,211,101,0.35); box-shadow: 0 4px 12px rgba(246,211,101,0.12); }
.bot-tech .tag-express:hover         { border-color: rgba(203,213,225,0.35); box-shadow: 0 4px 12px rgba(203,213,225,0.12); }
.bot-tech .tag-oauth:hover           { border-color: rgba(245,159,159,0.35); box-shadow: 0 4px 12px rgba(245,159,159,0.12); }

.status-panel {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem 1.6rem;
  margin-bottom: 2rem;
}
.status-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.status-panel-header h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.status-panel-header p {
  font-size: 0.82rem;
  color: var(--muted-2);
}
.status-panel-tag {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted-2);
}
.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.status-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}
.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--muted);
  position: relative;
  box-shadow: 0 0 8px rgba(0,0,0,0.2);
}
.status-dot.pulse::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: 0.5;
  animation: statusPulse 1.8s ease-out infinite;
}
.status-dot.online { background: #22c55e; color: #22c55e; }
.status-dot.offline { background: #e11d48; color: #e11d48; }
.status-name { font-weight: 600; font-size: 0.9rem; }
.status-meta { font-size: 0.78rem; color: var(--muted-2); }
.status-metrics {
  margin-top: 0.45rem;
  display: grid;
  gap: 0.2rem;
  font-size: 0.75rem;
  color: var(--muted-2);
}
.status-metrics span {
  color: var(--text);
  font-weight: 600;
}

@keyframes statusPulse {
  0% { transform: scale(0.7); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}

.bot-stats {
  display: flex;
  border-top: 1px solid var(--border);
}

.bot-stat {
  flex: 1;
  text-align: center;
  padding: 1.25rem 1rem;
}

.bot-stat-value {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.bot-stat-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.bot-stat-divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
  margin: 0.75rem 0;
}

/* â”€â”€ Footer â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
footer {
  padding: 2rem 0;
}

.hero,
.section,
footer {
  position: relative;
  z-index: 1;
}

.scroll-fade {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.scroll-fade.in-view {
  opacity: 1;
  transform: none;
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--muted);
  justify-content: center;
  text-align: center;
  flex-wrap: wrap;
}

.footer-name { font-weight: 600; color: var(--muted-2); }

/* â”€â”€ Scroll reveal â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }

/* â”€â”€ Discord presence badge â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
#presence-value {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.presence-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--muted);
  transition: background 0.3s;
}
.presence-dot.online  { background: #23a55a; }
.presence-dot.idle    { background: #f0b232; }
.presence-dot.dnd     { background: #f23f42; }
.presence-dot.offline { background: #80848e; }
.footer-policy {
  color: var(--muted);
  font-size: 0.82rem;
  text-decoration: none;
  transition: color 0.15s;
}
.footer-policy:hover { color: var(--muted-2); }
.footer-link {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.82rem;
  font-family: var(--font);
  cursor: pointer;
  padding: 0;
  transition: color 0.15s;
}
.footer-link:hover { color: var(--muted-2); }
.footer-divider { color: var(--muted); }

/* â”€â”€ Responsive â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 700px) {
  .about-grid { grid-template-columns: 1fr; }
  .bot-card-top { flex-direction: column; gap: 1.25rem; }
  .bot-layout { grid-template-columns: 1fr; }
  .bot-tech-rail-wrap { margin-top: 1rem; padding-left: 0; }
  .bot-tech-rail { flex-direction: row; flex-wrap: wrap; padding-top: 0; }
  .nav-links { gap: 1rem; }
  .hero-title { font-size: 2.2rem; }
}

:root {
  --bg:         #0d0d0d;
  --surface:    #161616;
  --surface-2:  #1e1e1e;
  --surface-3:  #242424;
  --border:     #2a2a2a;
  --text:       #e8e8e8;
  --muted:      #666;
  --accent:     #ffffff;
  --danger:     #c0392b;
  --success:    #27ae60;
  --warning:    #f39c12;
  --discord:    #5865F2;
  --radius:     8px;
  --font:       'Inter', system-ui, sans-serif;
  --transition: 200ms ease;
  --nav-h:      56px;
  --sidebar-w:  260px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
code { font-family: 'Courier New', monospace; font-size: 0.85em; }

/* â”€â”€ Login Overlay â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
#login-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
}

.login-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2.5rem 2rem;
  width: 360px;
  text-align: center;
}

.login-logo {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.login-card h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.login-card > p {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.btn-discord {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.75rem;
  background: var(--discord);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font);
  transition: background var(--transition), transform var(--transition);
}

.btn-discord svg { transform: translateY(1px); }

.btn-discord:hover {
  background: #4752c4;
  transform: translateY(-1px);
}

.login-sub {
  margin-top: 1.2rem;
  font-size: 0.76rem;
  color: var(--muted);
}

/* â”€â”€ Top Nav â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  background: transparent;
  backdrop-filter: blur(6px) saturate(120%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-logo-icon { font-size: 1.2rem; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.83rem;
  color: var(--muted);
}

.user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
}

/* â”€â”€ Buttons â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition);
  background: none;
  font-family: var(--font);
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.btn-primary:hover { background: #d4d4d4; border-color: #d4d4d4; }

.btn-ghost {
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--muted); background: var(--surface); }

.btn-danger { border-color: var(--danger); color: var(--danger); }
.btn-danger:hover { background: var(--danger); color: #fff; }

.btn-sm { padding: 0.3rem 0.75rem; font-size: 0.78rem; }

/* â”€â”€ App Shell Layout â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
#app {
  display: flex;
  padding-top: var(--nav-h);
  min-height: 100vh;
}

/* â”€â”€ Guild Sidebar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.guild-sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  border-right: 1px solid var(--border);
  height: calc(100vh - var(--nav-h));
  position: sticky;
  top: var(--nav-h);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.guild-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1rem 0.75rem;
  border-bottom: 1px solid var(--border);
}

.sidebar-title {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.refresh-btn {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  padding: 2px 4px;
  border-radius: 4px;
  transition: color var(--transition), background var(--transition);
}
.refresh-btn:hover { color: var(--text); background: var(--surface-2); }

.guild-list {
  padding: 0.5rem 0;
  flex: 1;
}

.guild-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  cursor: pointer;
  transition: background var(--transition);
  border-radius: 0;
  position: relative;
}

.guild-item:hover { background: var(--surface-2); }

.guild-item.active {
  background: var(--surface-2);
}
.guild-item.active::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
  border-radius: 0 2px 2px 0;
}

.guild-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface-3);
  border: 1px solid var(--border);
  flex-shrink: 0;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  overflow: hidden;
}

.guild-item-info { min-width: 0; flex: 1; }
.guild-item-name {
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.guild-item-meta {
  font-size: 0.72rem;
  color: var(--muted);
}

.guild-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.guild-status-dot.online  { background: var(--success); box-shadow: 0 0 5px var(--success); }
.guild-status-dot.offline { background: var(--muted); }

.loading-row {
  padding: 1rem;
  font-size: 0.83rem;
  color: var(--muted);
}

/* â”€â”€ Main Content â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.main-content {
  flex: 1;
  min-width: 0;
  padding: 2rem;
  overflow-y: auto;
}

/* â”€â”€ Empty State â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 60vh;
  color: var(--muted);
}
.empty-icon { font-size: 3rem; margin-bottom: 1rem; }
.empty-state h2 { font-size: 1.2rem; font-weight: 600; color: var(--text); margin-bottom: 0.5rem; }
.empty-state p  { font-size: 0.85rem; }

/* â”€â”€ Guild Dashboard Header â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 1rem;
}

.dash-header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.guild-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  object-fit: cover;
}

.dash-guild-name {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.dash-guild-meta {
  font-size: 0.8rem;
  color: var(--muted);
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  padding: 0.35rem 0.9rem;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted);
}
.status-dot.online  { background: var(--success); box-shadow: 0 0 6px var(--success); }
.status-dot.offline { background: var(--danger);  box-shadow: 0 0 6px var(--danger); }

/* â”€â”€ Stats Row â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}

.stat-card-value {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-card-label {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* â”€â”€ Settings Grid â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.settings-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.settings-card-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.settings-card-icon {
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.settings-card-title {
  font-size: 0.95rem;
  font-weight: 600;
}

.settings-card-desc {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

/* â”€â”€ Toggle / Switch â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.toggle-info { min-width: 0; flex: 1; }
.toggle-name { font-size: 0.88rem; font-weight: 500; }
.toggle-desc { font-size: 0.78rem; color: var(--muted); margin-top: 0.15rem; }

.switch { position: relative; display: inline-block; width: 40px; height: 22px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: var(--border);
  transition: var(--transition);
  border-radius: 22px;
}
.slider::before {
  content: '';
  position: absolute;
  height: 16px; width: 16px;
  left: 3px; bottom: 3px;
  background: var(--muted);
  border-radius: 50%;
  transition: var(--transition);
}
.switch input:checked + .slider { background: rgba(255,255,255,0.15); }
.switch input:checked + .slider::before {
  transform: translateX(18px);
  background: var(--accent);
}

/* â”€â”€ Form elements â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.form-group { margin-bottom: 0; }

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-sub {
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 0.35rem;
}

.form-input {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.88rem;
  padding: 0.55rem 0.85rem;
  transition: border-color var(--transition);
  outline: none;
}
.contact-form .form-input,
.contact-form .form-textarea {
  background: var(--tag-bg);
  border-color: var(--tag-border);
}
.form-input:focus { border-color: var(--muted); }

.prefix-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.prefix-input { width: 80px; }

.prefix-preview {
  font-size: 0.85rem;
  color: var(--muted);
  padding: 0.4rem 0.7rem;
  background: var(--surface-3);
  border-radius: 5px;
  border: 1px solid var(--border);
}

/* â”€â”€ Modules Section â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.modules-section {
  margin-bottom: 2rem;
}

.section-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.section-icon { font-size: 1.4rem; margin-top: 2px; }

.section-title {
  font-size: 1.1rem;
  font-weight: 600;
}

.section-desc {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.1rem;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}

.module-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: border-color var(--transition);
}

.module-card:hover { border-color: #3a3a3a; }

.module-card.disabled {
  opacity: 0.55;
}

.module-card-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.module-icon { font-size: 1.3rem; flex-shrink: 0; }

.module-info { flex: 1; min-width: 0; }
.module-name { font-size: 0.9rem; font-weight: 600; }
.module-desc { font-size: 0.78rem; color: var(--muted); margin-top: 0.15rem; line-height: 1.4; }

.module-commands {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.cmd-tag {
  font-family: 'Courier New', monospace;
  font-size: 0.7rem;
  padding: 0.15rem 0.45rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--muted);
}

/* â”€â”€ Save Bar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.save-bar {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  opacity: 0;
  transform: translateY(16px);
  transition: all var(--transition);
  pointer-events: none;
  z-index: 200;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.save-bar.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* â”€â”€ Toast â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.65rem 1.25rem;
  font-size: 0.85rem;
  opacity: 0;
  transition: all var(--transition);
  pointer-events: none;
  z-index: 300;
  white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.error { border-color: var(--danger); }
.toast.success { border-color: var(--success); }

/* â”€â”€ Animations â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
  opacity: 0;
  animation: fadeUp 0.4s ease forwards;
}

.fade-up:nth-child(1) { animation-delay: 0.04s; }
.fade-up:nth-child(2) { animation-delay: 0.10s; }
.fade-up:nth-child(3) { animation-delay: 0.16s; }
.fade-up:nth-child(4) { animation-delay: 0.22s; }
.fade-up:nth-child(5) { animation-delay: 0.28s; }
.fade-up:nth-child(6) { animation-delay: 0.34s; }

/* â”€â”€ Responsive â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 768px) {
  nav {
    height: auto;
    padding: 0.5rem 0.9rem;
    flex-wrap: wrap;
    row-gap: 0.4rem;
  }
  .nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: 0.6rem;
    flex-wrap: wrap;
  }
  .nav-links-track {
    width: 100%;
    order: 2;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }
  .nav-links-track::-webkit-scrollbar { display: none; }
  .nav-links a { font-size: 0.78rem; }
  .nav-bell, .nav-menu-btn {
    flex: 0 0 auto;
  }
  .nav-active-indicator { display: none; }
  .nav-links-track a.nav-active {
    background: var(--tag-bg);
    border: 1px solid var(--tag-border);
    color: var(--text);
  }
  .nav-menu {
    margin-left: auto;
  }
  .nav-menu-panel {
    right: 0;
    left: auto;
  }
  .guild-sidebar {
    width: 64px;
  }
  .guild-item-info,
  .guild-status-dot,
  .sidebar-title,
  .guild-item-name,
  .guild-item-meta { display: none; }
  .guild-item { justify-content: center; padding: 0.7rem 0; }
  .main-content { padding: 1rem; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .settings-grid { grid-template-columns: 1fr; }
  .modules-grid  { grid-template-columns: 1fr; }
  .save-bar { left: 1rem; right: 1rem; bottom: 1rem; width: auto; text-align: center; }
}

/* â”€â”€ Nav extras â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.nav-contact {
  font-size: 0.83rem;
  color: var(--muted-2);
  transition: color var(--ease);
}
.nav-contact:hover { color: var(--text); }

.nav-inbox {
  position: relative;
  font-size: 0.78rem !important;
}

.inbox-badge {
  display: none;
  position: absolute;
  top: -4px; right: -4px;
  background: var(--discord);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 99px;
  padding: 0 4px;
  text-align: center;
  line-height: 16px;
}
.inbox-badge.visible { display: block; }

/* â”€â”€ Contact Section â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 2rem;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted-2);
}

.form-input {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.88rem;
  padding: 0.6rem 0.85rem;
  outline: none;
  transition: border-color var(--ease);
  width: 100%;
}
.form-input:focus { border-color: var(--muted-2); }

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: 0.78rem;
  color: var(--muted-2);
  min-height: 1em;
}
.form-note.error   { color: #e74c3c; }
.form-note.success { color: var(--green); }

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.contact-info-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem;
}
.cic-icon  { font-size: 1.4rem; margin-bottom: 0.4rem; }
.cic-title { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 600; margin-bottom: 0.2rem; }
.cic-value { font-size: 0.88rem; font-weight: 500; }

.note-card .note-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.note-card .note-text {
  font-size: 0.9rem;
  color: var(--text);
}


/* â”€â”€ Modal â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 400;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 4rem 1rem 1rem;
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.modal-overlay::-webkit-scrollbar { width: 0; height: 0; }

.modal {
  background: var(--tag-bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  width: 100%;
  max-width: 640px;
  min-height: 200px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem 1.6rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
}

.modal-title { font-size: 1rem; font-weight: 700; }

.modal-close {
  background: var(--tag-bg);
  border: 1px solid var(--border);
  font-size: 1.4rem;
  color: var(--muted-2);
  cursor: pointer;
  line-height: 1;
  padding: 0.15rem 0.5rem;
  border-radius: 10px;
}
.modal-close:hover { color: var(--text); }

.modal-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.modal-body::-webkit-scrollbar { width: 0; height: 0; }

/* -- Analytics dashboard (matches site design language) -- */
#owner-dashboard-modal .modal {
  max-width: 820px;
  background: var(--bg);
  border-color: var(--border);
}
#owner-dashboard-modal .modal-body {
  max-height: 74vh;
  overflow-y: auto;
  padding: 1.4rem 1.6rem 1.6rem;
  gap: 1.4rem;
}
#owner-dashboard-modal .modal-title {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.modal-wide { max-width: 820px !important; }

/* Loading / warning states */
.dash-loading {
  text-align: center;
  color: var(--muted);
  padding: 2.5rem 0;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
.dash-note {
  font-size: 0.75rem;
  color: var(--muted-2);
  background: rgba(255,200,50,0.04);
  border: 1px solid rgba(255,200,50,0.14);
  border-radius: var(--radius);
  padding: 0.6rem 0.9rem;
  letter-spacing: 0.01em;
}

/* Top metric tiles */
.dash-top-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
}
.dash-top-bar .dash-metrics {
  margin-bottom: 0;
  flex: 1;
}
.dash-reset-btn {
  flex-shrink: 0;
  align-self: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  padding: 0.45rem 1rem;
  color: #e07070;
}
.dash-reset-btn::before {
  background: linear-gradient(135deg, rgba(220,80,80,0.25), rgba(220,80,80,0.05), rgba(220,80,80,0.16));
}
.dash-reset-btn:hover {
  color: #ff9898;
  box-shadow: 0 0 22px rgba(220,80,80,0.18), 0 6px 20px rgba(0,0,0,0.45);
}
.dash-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}
.dash-metric {
  background: var(--tag-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem 1.15rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.dash-metric::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(200,216,255,0.45) 35%, rgba(136,224,184,0.4) 65%, transparent 100%);
  opacity: 0.7;
  transition: opacity 0.25s;
}
.dash-metric:hover {
  border-color: rgba(200,216,255,0.22);
  box-shadow: 0 4px 28px rgba(0,0,0,0.32), 0 0 0 1px rgba(200,216,255,0.05) inset;
}
.dash-metric:hover::before { opacity: 1; }
.dash-metric-icon {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  opacity: 0.7;
  line-height: 1;
}
.dash-metric-value {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.dash-metric-label {
  font-size: 0.68rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.45rem;
}

/* Section columns */
.dash-sections {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  align-items: start;
}

/* Each panel -- matches about-card style */
.dash-section {
  background: var(--tag-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

/* Column wrapper for stacked cards within a grid cell */
.dash-col {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

/* 2-col variant for fallback view */
.dash-sections-2col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Section header */
.dash-section-title {
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.015);
}

/* Data rows -- matches about-card-row */
.dash-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s ease;
  min-width: 0;
}
.dash-row:last-child { border-bottom: none; }
.dash-row:hover { background: rgba(255,255,255,0.03); }

.dash-row-label {
  font-size: 0.83rem;
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.dash-row-count {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted-2);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.dash-row-time {
  font-size: 0.74rem;
  color: var(--muted);
  flex-shrink: 0;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.dash-row-sm {
  padding: 0.5rem 1rem;
}

.dash-empty {
  font-size: 0.78rem;
  color: var(--muted-2);
  padding: 0.75rem 1rem;
  font-style: italic;
}

@media (max-width: 680px) {
  .dash-metrics            { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-sections           { grid-template-columns: 1fr; }
  .dash-sections-2col      { grid-template-columns: 1fr; }
  #owner-dashboard-modal .modal { max-width: 98vw; }
}

/* keep old classes inert */
.dashboard-metrics { display: none; }

/* ── Donut chart ─────────────────────────────────────────── */
.donut-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem 1rem;
}
.donut-svg {
  flex-shrink: 0;
  width: 94px;
  height: 94px;
  filter: drop-shadow(0 0 10px rgba(136,224,184,0.08));
}
.donut-seg {
  transition: stroke-dasharray 0.8s cubic-bezier(0.4,0,0.2,1),
              stroke-dashoffset 0.8s cubic-bezier(0.4,0,0.2,1),
              opacity 0.3s ease;
}
.donut-seg:hover { opacity: 0.8; }
.donut-center-val {
  fill: var(--text);
  font-size: 20px;
  font-weight: 700;
  font-family: inherit;
  font-variant-numeric: tabular-nums;
}
.donut-center-sub {
  fill: var(--muted);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: inherit;
}
.donut-legend {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
  flex: 1;
  min-width: 0;
}
.donut-legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
}
.donut-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 6px currentColor;
}
.donut-legend-label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text);
  font-weight: 500;
}
.donut-legend-count {
  color: var(--muted-2);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  font-size: 0.76rem;
}

/* ── Horizontal bar chart rows ───────────────────────────── */
.dash-bar-row {
  padding: 0.58rem 1rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.dash-bar-row:last-child { border-bottom: none; }
.dash-bar-row:hover { background: rgba(255,255,255,0.025); }
.dash-bar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.3rem;
}
.dash-bar-label {
  font-size: 0.82rem;
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 1;
}
.dash-bar-count {
  font-size: 0.76rem;
  color: var(--muted-2);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  margin-left: 0.5rem;
}
.dash-bar-track {
  height: 3px;
  background: rgba(255,255,255,0.07);
  border-radius: 2px;
  overflow: hidden;
}
.dash-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, rgba(200,216,255,0.65), rgba(136,224,184,0.45));
  border-radius: 2px;
  transition: width 0.9s cubic-bezier(0.4,0,0.2,1);
  transform-origin: left;
}
.dashboard-views   { display: none; }

#inbox-body {
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
#inbox-body::-webkit-scrollbar { width: 0; height: 0; }

.minigame-modal { max-width: 560px; }
.minigame-panel {
  display: grid;
  gap: 1rem;
}
.minigame-hud {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(235, 240, 250, 0.9);
  letter-spacing: 0.02em;
  text-transform: none;
  font-family: var(--font);
}
.minigame-score,
.minigame-timer,
.minigame-best {
  background: var(--tag-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.3rem 0.6rem;
  font-family: var(--font);
}
.minigame-stage {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.6rem;
}
.minigame-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}
.minigame-card {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--tag-bg);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.minigame-card.is-matched {
  border-color: rgba(34,197,94,0.5);
}
.minigame-card.is-disabled {
  cursor: default;
  opacity: 0.6;
}
.minigame-card-inner {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font);
  font-size: 1.35rem;
  color: rgba(240, 244, 255, 0.95);
  background: var(--tag-bg);
  transform: rotateY(180deg);
  transition: transform 0.25s ease;
  backface-visibility: hidden;
}
.minigame-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.02);
  border-radius: 10px;
  backface-visibility: hidden;
  transition: transform 0.25s ease;
}
.minigame-card.is-flipped .minigame-card-inner {
  transform: rotateY(0deg);
}
.minigame-card.is-flipped::before {
  transform: rotateY(180deg);
}
.minigame-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.minigame-help {
  font-size: 0.78rem;
  color: rgba(235, 240, 250, 0.9);
  letter-spacing: 0.02em;
  text-transform: none;
  font-family: var(--font);
}


.inbox-loading { color: var(--muted); font-size: 0.85rem; }

.inbox-empty {
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
  padding: 2rem 0;
}

.inbox-msg {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}

.inbox-msg-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.inbox-msg-name  { font-size: 0.9rem; font-weight: 600; }
.inbox-msg-email { font-size: 0.75rem; color: var(--muted-2); }
.inbox-msg-time  { font-size: 0.72rem; color: var(--muted); margin-left: auto; }

.inbox-msg-body {
  font-size: 0.85rem;
  color: var(--muted-2);
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}

.inbox-msg-delete {
  margin-top: 0.6rem;
  background: none;
  border: 1px solid #c0392b44;
  color: #c0392b;
  border-radius: 5px;
  font-size: 0.72rem;
  padding: 0.2rem 0.6rem;
  cursor: pointer;
  font-family: var(--font);
  transition: background var(--ease), color var(--ease);
}
.inbox-msg-delete:hover { background: #c0392b; color: #fff; }

.inbox-msg-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.6rem;
  flex-wrap: wrap;
}
.inbox-msg-reply {
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 5px;
  font-size: 0.72rem;
  padding: 0.2rem 0.6rem;
  cursor: pointer;
  font-family: var(--font);
  transition: background var(--ease), border-color var(--ease);
}
.inbox-msg-reply:hover { background: var(--surface); border-color: var(--muted-2); }
.inbox-msg-unread {
  background: var(--discord);
  color: #fff;
  font-size: 0.64rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  margin-left: 0.45rem;
}

.chat-modal { max-width: 720px; }
.chat-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.chat-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
}
.chat-subtitle {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.1rem;
}
.chat-body {
  gap: 1rem;
}
.chat-empty {
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
  padding: 1.5rem 0 0.5rem;
}
.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-height: 360px;
  overflow-y: auto;
  padding-right: 0.5rem;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.chat-messages::-webkit-scrollbar { width: 0; height: 0; }
.chat-bubble {
  max-width: 75%;
  padding: 0.6rem 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font-size: 0.85rem;
  line-height: 1.5;
  align-self: flex-start;
}
.chat-bubble.admin {
  background: color-mix(in srgb, var(--discord) 18%, var(--surface-2));
  border-color: color-mix(in srgb, var(--discord) 40%, var(--border));
}
.chat-bubble.user {
  align-self: flex-end;
  background: color-mix(in srgb, var(--accent) 10%, var(--surface-2));
}
.chat-meta {
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 0.35rem;
}
.chat-form {
  display: flex;
  gap: 0.75rem;
  align-items: flex-end;
  margin-top: 0.5rem;
}
.chat-input {
  min-height: 70px;
  resize: vertical;
  flex: 1;
}

/* â”€â”€ Toast â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.65rem 1.25rem;
  font-size: 0.85rem;
  opacity: 0;
  transition: opacity 200ms ease, transform 200ms ease;
  pointer-events: none;
  z-index: 500;
  white-space: nowrap;
}
.toast.show   { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.error  { border-color: #c0392b; }
.toast.success{ border-color: var(--green); }

/* â”€â”€ Contact: Discord identity row â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.contact-user-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.9rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}
.contact-sender-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.contact-sender-info { display: flex; flex-direction: column; gap: 0.05rem; }
.contact-sending-as { font-size: 0.72rem; color: var(--muted); }
.contact-sender-name { font-size: 0.88rem; font-weight: 600; color: var(--text); }

/* â”€â”€ Contact: sign-in prompt â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.contact-signin-prompt {
  margin-bottom: 1rem;
}
.contact-signin-prompt .btn-discord {
  width: 100%;
}

/* â”€â”€ Inbox: Discord sender info â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.inbox-sender-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.inbox-sender-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* â”€â”€ Responsive additions â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 700px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-side { flex-direction: row; }
  .minigame-card-header { flex-direction: column; align-items: flex-start; }
  .code-bg {
    top: 2.5rem;
    left: 1rem;
    max-width: 92vw;
  }
  .code-bg pre {
    font-size: clamp(0.65rem, 3vw, 0.9rem);
  }
}

/* ── Owner Dashboard page section ─────────────────────────── */

/* Tab bar */
.odash-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2.4rem;
  flex-wrap: wrap;
}
.odash-tab-btn {
  position: relative;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  padding: 0.48rem 1.25rem;
  transition: color 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
  overflow: hidden;
}
/* gradient border glow (same mask trick as hero-cta-link) */
.odash-tab-btn::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(255,255,255,0.16), rgba(255,255,255,0.03), rgba(255,255,255,0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.odash-tab-btn:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.18);
}
.odash-tab-btn:hover::before { opacity: 0.55; }
.odash-tab-btn.active {
  color: var(--text);
  background: linear-gradient(135deg, rgba(200,216,255,0.09), rgba(136,224,184,0.06));
  border-color: rgba(200,216,255,0.3);
  box-shadow: 0 0 22px rgba(200,216,255,0.08), 0 2px 12px rgba(0,0,0,0.4);
}
.odash-tab-btn.active::before {
  opacity: 1;
  background: linear-gradient(135deg, rgba(200,216,255,0.35), rgba(200,216,255,0.06), rgba(136,224,184,0.22));
}

.odash-pane { display: none; }
.odash-pane.active { display: block; }

/* ── Fancy action buttons (mirror hero-cta-link exactly) ──── */
.odash-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55rem 1.55rem;
  border-radius: 5px;
  border: 1px solid transparent;
  background: rgba(255,255,255,0.02);
  cursor: pointer;
  transition: color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease, background 0.25s ease;
}
.odash-btn::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0.04), rgba(255,255,255,0.12));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.6;
  transition: opacity 0.25s ease, background 0.25s ease;
}
.odash-btn:hover {
  color: var(--text);
  background: rgba(255,255,255,0.03);
  transform: translateY(-2px);
  box-shadow: 0 0 22px rgba(255,255,255,0.09), 0 6px 20px rgba(0,0,0,0.45);
}
.odash-btn:hover::before {
  opacity: 1;
  background: linear-gradient(135deg, rgba(255,255,255,0.35), rgba(255,255,255,0.08), rgba(255,255,255,0.22));
}
/* Primary variant */
@keyframes odash-glow-pulse {
  0%,100% { box-shadow: 0 0 10px rgba(200,216,255,0.06), 0 2px 8px rgba(0,0,0,0.25); }
  50%      { box-shadow: 0 0 22px rgba(200,216,255,0.14), 0 4px 16px rgba(0,0,0,0.38); }
}
.odash-btn-primary {
  color: var(--text);
  background: linear-gradient(135deg, rgba(200,216,255,0.07), rgba(136,224,184,0.04));
  animation: odash-glow-pulse 4s ease-in-out infinite;
}
.odash-btn-primary::before {
  opacity: 1;
  background: linear-gradient(135deg, rgba(200,216,255,0.3), rgba(200,216,255,0.06), rgba(136,224,184,0.2));
}
.odash-btn-primary:hover {
  background: linear-gradient(135deg, rgba(200,216,255,0.12), rgba(136,224,184,0.08));
  box-shadow: 0 0 32px rgba(200,216,255,0.16), 0 6px 24px rgba(0,0,0,0.5);
  animation: none;
}

/* ── Editor pane ──────────────────────────────────────────── */
.odash-editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  margin-bottom: 1.8rem;
}
.odash-field-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--muted);
  margin-bottom: 0.45rem;
}
.odash-field-textarea,
.odash-field-input {
  width: 100%;
  background: var(--tag-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font: inherit;
  font-size: 0.83rem;
  line-height: 1.55;
  padding: 0.65rem 0.9rem;
  resize: vertical;
  box-sizing: border-box;
  transition: border-color 0.18s;
}
.odash-field-textarea:focus,
.odash-field-input:focus {
  outline: none;
  border-color: rgba(255,255,255,0.3);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06);
}
.odash-editor-bar {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
}
.odash-editor-hint {
  font-size: 0.73rem;
  color: var(--muted-2);
  margin-top: 0.8rem;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .odash-editor-grid { grid-template-columns: 1fr; }
  .odash-btn { padding: 0.5rem 1.1rem; font-size: 0.72rem; }
}
