/* ==========================================================================
   COMMUNITY PORTAL DESIGN SYSTEM
   Slate Gray Dark Theme — Premium, Neutral, Clean
   ========================================================================== */

/* Font & Color Variables */
:root {
  --font-display: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

  /* Color Palette - Slate Gray Dark Theme */
  --accent-color: #94a3b8;
  --accent-color-rgb: 148, 163, 184;

  --bg-primary: #050507;
  --bg-secondary: #08080d;
  --bg-tertiary: #0e0e16;
  --bg-glass: rgba(8, 8, 14, 0.65);
  --bg-glass-nested: rgba(5, 5, 8, 0.5);

  --border-glass: rgba(255, 255, 255, 0.05);
  --border-glass-focused: rgba(255, 255, 255, 0.12);

  --text-primary: #e8eaf0;
  --text-secondary: #9aa5b4;
  --text-muted: #5a6478;

  --color-online: #34d399;
  --color-offline: #4b5563;
  --shadow-glow: 0 0 22px rgba(var(--accent-color-rgb), 0.18);
  --shadow-card: 0 8px 36px 0 rgba(0, 0, 0, 0.55);

  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(var(--accent-color-rgb), 0.5);
}

/* Background Glow Effects */
.bg-glow {
  position: absolute;
  border-radius: var(--radius-full);
  filter: blur(140px);
  z-index: -1;
  opacity: 0.45;
  pointer-events: none;
  mix-blend-mode: screen;
}

.bg-glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, rgba(99, 102, 241, 0) 70%);
  top: -15%;
  right: -8%;
  animation: float 22s infinite alternate ease-in-out;
}

.bg-glow-2 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.1) 0%, rgba(45, 212, 191, 0) 70%);
  bottom: 5%;
  left: -12%;
  animation: float 28s infinite alternate-reverse ease-in-out;
}

.bg-glow-3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(var(--accent-color-rgb), 0.12) 0%, rgba(var(--accent-color-rgb), 0) 70%);
  top: 40%;
  right: 10%;
  animation: float 20s infinite alternate ease-in-out 3s;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -50px) scale(1.1); }
  100% { transform: translate(-30px, 30px) scale(0.9); }
}

/* Glassmorphism Card Style Base */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255,255,255,0.04);
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.glass-card:hover {
  border-color: rgba(var(--accent-color-rgb), 0.12);
}

.glass-card-nested {
  background: var(--bg-glass-nested);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  z-index: 3000;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
  pointer-events: none;
}

.toast.hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(40px);
}

.toast-content {
  background: rgba(15, 17, 26, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-online);
  border-radius: var(--radius-md);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 15px rgba(46, 213, 115, 0.2);
}

.toast-icon {
  color: var(--color-online);
  width: 20px;
  height: 20px;
}

.toast-message {
  font-weight: 500;
  font-size: 0.95rem;
}

/* App Layout Container */
.app-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 100vh;
}

/* Buttons System */
.btn {
  font-family: var(--font-display);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  font-size: 0.95rem;
}

.btn-icon {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: var(--radius-md);
}

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

.btn-primary {
  background-color: var(--accent-color);
  color: white;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(var(--accent-color-rgb), 0.45);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-secondary:active {
  transform: translateY(0);
}

.btn-close {
  background: transparent;
  color: var(--text-secondary);
}

.btn-close:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-full {
  width: 100%;
}

.flex-end {
  align-self: flex-end;
}

/* Main Header Layout */
.main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  gap: 20px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.status-indicator-wrapper {
  position: relative;
}

.header-server-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: var(--accent-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: var(--font-display);
  font-size: 0.95rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.status-dot {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background-color: var(--color-online);
  border: 2px solid var(--bg-secondary);
}

.status-dot.pulsing {
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(46, 213, 115, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(46, 213, 115, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 213, 115, 0); }
}

.server-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

/* Navigation Tabs */
.header-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.25);
  padding: 4px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
}

.nav-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.nav-tab-btn svg {
  width: 16px;
  height: 16px;
}

.nav-tab-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
}

.nav-tab-btn.active {
  color: white;
  background: var(--accent-color);
  box-shadow: 0 4px 12px rgba(var(--accent-color-rgb), 0.25);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.glow-button {
  box-shadow: 0 0 15px rgba(var(--accent-color-rgb), 0.4);
}

/* User Profile Widget in Header */
.user-profile-widget {
  display: flex;
  align-items: center;
}

.header-user-menu {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.03);
  padding: 4px 6px 4px 10px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
}

.header-avatar {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: white;
}

.header-username {
  font-size: 0.85rem;
  font-weight: 600;
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Auth Shield Section */
.auth-shield {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 480px;
  padding: 40px 20px;
  animation: fade-in 0.3s ease-out;
}

.auth-box {
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.auth-logo {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: rgba(var(--accent-color-rgb), 0.1);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  border: 1px solid rgba(var(--accent-color-rgb), 0.2);
  box-shadow: var(--shadow-glow);
}

.auth-logo svg {
  width: 28px;
  height: 28px;
}

.auth-box h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.auth-box p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 28px;
  line-height: 1.5;
}

.auth-form {
  text-align: left;
}

.auth-switch-text {
  text-align: center;
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--text-muted) !important;
}

.auth-switch-text a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
}

.auth-switch-text a:hover {
  text-decoration: underline;
}

/* Google Sign-In Styles */
.google-btn-wrapper {
  width: 100%;
  min-height: 44px;
  display: flex;
  justify-content: center;
  margin-bottom: 4px;
}

.google-btn-wrapper.hidden {
  display: none !important;
}

.google-signin-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.google-signin-divider::before,
.google-signin-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-glass);
}

.google-divider-hidden {
  display: none !important;
}

.avatar-color-selector {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar-color-selector input[type="color"] {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-glass);
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.avatar-preview-circle {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
}

.auth-error-msg {
  color: #ff4757;
  font-size: 0.82rem;
  margin-top: -10px;
  margin-bottom: 15px;
  font-weight: 500;
}

/* HERO SECTION */
.hero-section {
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
}

.hero-banner-wrapper {
  position: relative;
  height: 160px;
  width: 100%;
}

.hero-banner {
  background: linear-gradient(135deg, var(--accent-color) 0%, #f368e0 100%);
  height: 100%;
  width: 100%;
  transition: background var(--transition-normal);
}

.hero-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 30%, rgba(15, 17, 26, 0.8) 100%);
}

.hero-body {
  padding: 0 32px 32px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  margin-top: -50px;
}

.server-avatar-container {
  position: relative;
  margin-bottom: 16px;
}

.server-avatar {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  background: var(--bg-tertiary);
  color: white;
  border: 4px solid var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-family: var(--font-display);
  font-weight: 900;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-normal), background var(--transition-normal);
}

.server-avatar-container:hover .server-avatar {
  transform: scale(1.05) rotate(2deg);
}

.verified-badge {
  position: absolute;
  bottom: 2px;
  right: 2px;
  background: var(--accent-color);
  color: white;
  border-radius: var(--radius-full);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-secondary);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.verified-badge svg {
  width: 14px;
  height: 14px;
  stroke-width: 3px;
}

.hero-info {
  margin-bottom: 24px;
  width: 100%;
}

.server-heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.server-stats {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.stat-badge {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 6px;
}

.stat-badge.online {
  background: rgba(46, 213, 115, 0.1);
  color: var(--color-online);
}

.stat-badge.online .stat-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background-color: var(--color-online);
}

.stat-badge.total {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
}

.server-description {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 760px;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  width: 100%;
}

/* FEATURE INTRODUCTIONS */
.features-intro-section {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
}

.features-intro-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 24px;
}

.intro-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all var(--transition-normal);
}

.intro-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(var(--accent-color-rgb), 0.25);
  transform: translateY(-4px);
}

.intro-card-icon-wrapper {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 0 15px var(--card-glow-color);
}

.intro-card-icon-wrapper svg {
  width: 22px;
  height: 22px;
}

.intro-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.intro-card p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* FEATURES GRID & CARD */
.features-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.features-card {
  display: flex;
  flex-direction: column;
}

.card-header {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-glass);
}

.card-title-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.card-header-icon {
  color: var(--accent-color);
  width: 24px;
  height: 24px;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.card-subtitle {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 2px;
}

/* CHANNEL EXPLORER MOCK DISCORD */
.discord-browser {
  display: grid;
  grid-template-columns: 200px 1fr;
  margin: 24px;
  height: 380px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.discord-sidebar {
  background: rgba(16, 18, 27, 0.4);
  border-right: 1px solid var(--border-glass);
  padding: 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
}

.discord-sidebar-header {
  padding: 0 8px;
}

.discord-header-text {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.discord-channels-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.discord-channel-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.discord-channel-item svg {
  width: 16px;
  height: 16px;
  opacity: 0.6;
}

.discord-channel-item:hover {
  background-color: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
}

.discord-channel-item:hover svg {
  opacity: 0.9;
}

.discord-channel-item.active {
  background-color: rgba(var(--accent-color-rgb), 0.15);
  color: var(--text-primary);
  font-weight: 600;
}

.discord-channel-item.active svg {
  color: var(--accent-color);
  opacity: 1;
}

.discord-chat-area {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.chat-header {
  height: 48px;
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
}

.chat-header-hash {
  color: var(--text-muted);
  width: 18px;
  height: 18px;
}

.chat-header-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.chat-body {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.chat-welcome-msg {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.hash-circle {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hash-circle svg {
  width: 24px;
  height: 24px;
  color: var(--text-primary);
}

.welcome-heading {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-top: 4px;
}

.welcome-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.channel-topic-card {
  background: rgba(255,255,255,0.02);
  border-left: 3px solid var(--accent-color);
  padding: 10px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.88rem;
}

.topic-label {
  font-weight: 600;
  color: var(--text-primary);
  display: block;
  margin-bottom: 2px;
}

.topic-text {
  color: var(--text-secondary);
}

/* Chat Messages Mock */
.mock-messages-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.message-item {
  display: flex;
  gap: 12px;
}

.message-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: white;
}

.message-details {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.message-meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.message-author {
  font-weight: 600;
  font-size: 0.88rem;
}

.message-bot-badge {
  background: var(--accent-color);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 3px;
}

.message-time {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.message-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* COMMUNITY ROLES LIST */
.roles-list {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  justify-content: center;
}

.role-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  transition: all var(--transition-fast);
}

.role-card:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateX(4px);
}

.role-indicator {
  width: 14px;
  height: 14px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
  box-shadow: 0 0 10px var(--role-color);
}

.role-info {
  flex: 1;
}

.role-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.role-perk {
  color: var(--text-secondary);
  font-size: 0.82rem;
}

/* BOTTOM GRID (RULES & FEED) */
.bottom-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
}

.rules-list-container {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rule-item {
  display: flex;
  gap: 14px;
  padding: 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
}

.rule-number {
  width: 28px;
  height: 28px;
  background: rgba(var(--accent-color-rgb), 0.15);
  color: var(--accent-color);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.rule-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  display: flex;
  align-items: center;
}

/* ACTIVITY FEED */
.live-badge {
  background: rgba(235, 94, 85, 0.15);
  color: #eb5e55;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.05em;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background-color: #eb5e55;
  animation: pulse-red 1.5s infinite;
}

@keyframes pulse-red {
  0% { transform: scale(0.9); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.5; }
  100% { transform: scale(0.9); opacity: 1; }
}

.activity-terminal {
  margin: 24px;
  flex: 1;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 16px;
  height: 240px;
  overflow-y: auto;
  font-family: 'Courier New', Courier, monospace;
}

.activity-feed-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.activity-line {
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--text-secondary);
  animation: fade-in 0.3s ease-out forwards;
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.activity-time {
  color: var(--text-muted);
  margin-right: 8px;
}

.activity-icon {
  margin-right: 6px;
}

.activity-event {
  color: var(--text-primary);
}

.activity-highlight {
  color: var(--accent-color);
  font-weight: bold;
}

/* ==========================================
   TAB: FORUM (フォーラム) STYLING
   ========================================== */
.forum-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: start;
}

.forum-sidebar {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.btn-create-thread {
  box-shadow: 0 4px 15px rgba(var(--accent-color-rgb), 0.3);
}

.forum-categories-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.forum-sidebar-header {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  padding: 0 10px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.forum-category-btn {
  background: transparent;
  border: none;
  text-align: left;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.forum-category-btn:hover {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
}

.forum-category-btn.active {
  background: rgba(var(--accent-color-rgb), 0.12);
  color: var(--accent-color);
  font-weight: 600;
}

.forum-feed-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.forum-feed-header {
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.forum-feed-header h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}

.thread-count-badge {
  background: rgba(255,255,255,0.05);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.forum-threads-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.thread-card {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.thread-card:hover {
  transform: translateY(-2px);
  background: rgba(var(--accent-color-rgb), 0.03);
  border-color: rgba(var(--accent-color-rgb), 0.15);
}

.thread-card-left {
  display: flex;
  gap: 16px;
  align-items: center;
}

.thread-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.95rem;
  color: white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.thread-info-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.thread-title-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.thread-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
  line-height: 1.4;
}

.forum-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.forum-badge-general { background: rgba(88, 101, 242, 0.15); color: #5865F2; }
.forum-badge-dev { background: rgba(46, 213, 115, 0.15); color: #2ed573; }
.forum-badge-design { background: rgba(255, 165, 2, 0.15); color: #ffa502; }
.forum-badge-chat { background: rgba(243, 104, 224, 0.15); color: #f368e0; }

.thread-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.thread-meta-author {
  color: var(--text-secondary);
  font-weight: 600;
}

.thread-card-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.thread-stats-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.thread-stats-item svg {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
}

.btn-upvote {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.btn-upvote:hover {
  background: rgba(255,255,255,0.08);
  color: var(--text-primary);
}

.btn-upvote.active {
  background: rgba(46, 213, 115, 0.15);
  border-color: rgba(46, 213, 115, 0.3);
  color: var(--color-online);
}

.btn-upvote.active svg {
  fill: var(--color-online);
  stroke: var(--color-online);
}

/* Modals sizing override */
.thread-modal-content, .thread-details-content {
  width: 580px !important;
}

/* Thread Details Layout */
.thread-details-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.thread-original-post-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.post-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.post-author-meta {
  display: flex;
  flex-direction: column;
}

.post-author-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.post-time {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.post-body-text {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text-primary);
  white-space: pre-wrap;
}

.comments-section h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 260px;
  overflow-y: auto;
  margin-bottom: 16px;
  padding-right: 6px;
}

.comment-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
}

.comment-meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 2px;
}

.comment-author {
  font-weight: 600;
  font-size: 0.88rem;
}

.comment-time {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.comment-content {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.add-comment-box {
  background: rgba(0,0,0,0.15);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 14px;
}

.add-comment-box form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.add-comment-box textarea {
  background: transparent;
  border: none;
  padding: 0;
  width: 100%;
}

.add-comment-box textarea:focus {
  box-shadow: none;
  border-color: transparent;
}

/* ==========================================
   TAB: EVENTS (イベント) STYLING
   ========================================== */
.events-timeline {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.event-card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  transition: all var(--transition-fast);
}

.event-card:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
}

.event-date-badge {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  background: rgba(var(--accent-color-rgb), 0.12);
  border: 1px solid rgba(var(--accent-color-rgb), 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-display);
}

.event-month {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-color);
  text-transform: uppercase;
}

.event-day {
  font-size: 1.8rem;
  font-weight: 900;
  color: white;
  line-height: 1.1;
}

.event-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.event-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
}

.event-time-info {
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.event-time-info svg {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
}

.event-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 4px;
}

.event-people {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.rsvp-avatars {
  display: flex;
  align-items: center;
}

.rsvp-avatar {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-secondary);
  margin-left: -6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  color: white;
}

.rsvp-avatar:first-child {
  margin-left: 0;
}

.rsvp-text {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.btn-rsvp {
  min-width: 120px;
}

.btn-rsvp.active {
  background: var(--color-online);
  color: white;
  box-shadow: 0 4px 12px rgba(46, 213, 115, 0.25);
}

.btn-rsvp.active:hover {
  filter: brightness(0.9);
}

/* ==========================================
   TAB: MEMBERS (メンバー) STYLING
   ========================================== */
.members-directory-grid {
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.member-profile-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all var(--transition-normal);
}

.member-profile-card:hover {
  transform: translateY(-4px);
  border-color: var(--role-color);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 0 0 15px rgba(var(--role-color-rgb), 0.15);
}

.member-avatar-wrapper {
  position: relative;
  margin-bottom: 14px;
}

.member-card-avatar {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  color: white;
  border: 2px solid var(--border-glass);
}

.member-status-indicator {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-secondary);
}

.member-status-indicator.online { background-color: var(--color-online); }
.member-status-indicator.offline { background-color: var(--color-offline); }

.member-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 2px;
}

.member-role-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.member-bio {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 14px;
  height: 3.0em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.member-skills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.skill-tag {
  background: rgba(255,255,255,0.04);
  color: var(--text-secondary);
  font-size: 0.68rem;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid var(--border-glass);
}

/* ==========================================
   CONTACT INQUIRY MODAL STYLING
   ========================================== */
.contact-modal-content {
  width: 480px !important;
}

.footer-link-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  transition: color var(--transition-fast);
}

.footer-link-btn:hover {
  color: var(--text-secondary);
  text-decoration: underline;
}

.contact-success-screen {
  text-align: center;
  padding: 30px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  animation: fade-in 0.3s ease-out;
}

.success-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: rgba(46, 213, 115, 0.1);
  color: var(--color-online);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(46, 213, 115, 0.25);
  box-shadow: 0 0 20px rgba(46, 213, 115, 0.2);
}

.success-icon-wrapper svg {
  width: 32px;
  height: 32px;
}

.contact-success-screen h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
}

.contact-success-screen p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

/* ==========================================
   CUSTOMIZER DRAWER OVERRIDES
   ========================================== */
.customizer-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2000;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0.3s;
}

.customizer-drawer.active {
  pointer-events: auto;
  visibility: visible;
}

.drawer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.customizer-drawer.active .drawer-overlay {
  opacity: 1;
}

.drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 380px;
  max-width: 100%;
  height: 100%;
  background: #111218;
  border-left: 1px solid var(--border-glass);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.customizer-drawer.active .drawer-content {
  transform: translateX(0);
}

.drawer-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.drawer-title-group h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.drawer-icon {
  color: var(--accent-color);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.drawer-divider {
  height: 1px;
  background: var(--border-glass);
  margin: 24px 0;
}

/* Form Styles */
.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-color);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 10px rgba(var(--accent-color-rgb), 0.15);
}

textarea.form-control {
  resize: vertical;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.badge {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

.badge-beta {
  background: rgba(var(--accent-color-rgb), 0.2);
  color: var(--accent-color);
  border: 1px solid rgba(var(--accent-color-rgb), 0.3);
}

.form-help-text {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 6px;
  line-height: 1.4;
}

/* Color Presets */
.color-preset-grid {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.color-preset-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.color-preset-btn:hover {
  transform: scale(1.1);
}

.color-preset-btn.active {
  border-color: white;
  transform: scale(1.05);
}

.custom-color-input-wrapper {
  display: flex;
  gap: 8px;
}

#custom-color-picker {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
}

#custom-color-hex {
  flex: 1;
}

/* Toggle Switch Styles */
.toggle-switch-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.toggle-checkbox {
  display: none;
}

.toggle-label {
  position: relative;
  width: 44px;
  height: 24px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background-color var(--transition-fast);
  display: inline-block;
  vertical-align: middle;
}

.toggle-label::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  background-color: white;
  transition: transform var(--transition-fast);
}

.toggle-checkbox:checked + .toggle-label {
  background-color: var(--accent-color);
}

.toggle-checkbox:checked + .toggle-label::after {
  transform: translateX(20px);
}

.toggle-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  user-select: none;
}

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

.hidden {
  display: none !important;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .bottom-grid {
    grid-template-columns: 1fr;
  }
  
  .features-intro-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .app-container {
    padding: 12px 10px;
    gap: 16px;
  }
  
  .main-header {
    padding: 12px 16px;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .header-nav {
    order: 3;
    width: 100%;
    justify-content: space-around;
    margin-top: 8px;
  }

  .nav-tab-btn {
    padding: 8px 10px;
    font-size: 0.8rem;
  }

  .header-actions span {
    display: none; /* Hide text, keep icon */
  }
  
  .header-right {
    gap: 8px;
  }
  
  .glow-button {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .hero-body {
    padding: 0 20px 24px 20px;
    margin-top: -40px;
  }

  .server-avatar {
    width: 80px;
    height: 80px;
    font-size: 1.8rem;
  }
  
  .server-heading {
    font-size: 1.6rem;
  }
  
  .server-description {
    font-size: 0.95rem;
  }
  
  .hero-cta-group .btn {
    flex: 1 1 100%;
  }

  .features-intro-grid {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 12px;
  }

  .intro-card {
    padding: 16px;
  }

  .discord-browser {
    grid-template-columns: 1fr;
    height: auto;
    margin: 16px;
  }

  .discord-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border-glass);
    flex-direction: row;
    padding: 10px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .discord-sidebar-header {
    display: none; /* Hide category title on mobile */
  }

  .discord-channels-list {
    flex-direction: row;
    gap: 8px;
  }

  .discord-chat-area {
    height: 300px;
  }

  .forum-layout {
    grid-template-columns: 1fr;
  }

  .forum-sidebar {
    padding: 16px;
  }

  .forum-categories-list {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 8px;
    white-space: nowrap;
  }

  .forum-category-btn {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .thread-card {
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .thread-card-right {
    width: 100%;
    justify-content: space-between;
    border-top: 1px solid var(--border-glass);
    padding-top: 10px;
  }

  .event-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    gap: 16px;
  }

  .event-date-badge {
    width: 64px;
    height: 64px;
  }

  .event-day {
    font-size: 1.4rem;
  }

  .btn-rsvp {
    width: 100%;
  }

  .roles-list {
    padding: 16px;
  }
  
  .rules-list-container {
    padding: 16px;
  }

  .activity-terminal {
    margin: 16px;
    height: 200px;
  }
  
  .drawer-content, .thread-modal-content, .thread-details-content, .contact-modal-content {
    width: 100% !important; /* Full screen drawers on mobile */
  }
}
