/* Generated by admin/theme.php — do not hand-edit, changes will be overwritten on the next save. */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&display=swap');
html {
  font-size: 100%;
}

:root {
  --accent-purple: #2f6fed;
  --accent-cyan: #6192f1;
  --accent-magenta: #2454b4;
  --accent-gradient: linear-gradient(90deg, #60a5fa, #2f6fed);
  --btn-radius: 999px;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius: 14px;
  --radius-sm: 10px;
}

[data-theme="light"] {
  --accent-cyan: #6192f1;
  --accent-magenta: #2454b4;
}

/* Heading weight — applies to the same elements .hero-title and section
   titles already use, without touching body copy weight. */
.hero-title, .section-title, .post-title, h1, h2, h3 {
  font-weight: 800;
}

/* Site name shimmer disabled in Appearance settings — solid color instead. */
.nav-logo-text {
  color: #2f6fed;
  background: none;
  -webkit-text-fill-color: inherit;
  animation: none;
}
.nav-logo-text .accent-text {
  color: inherit;
}

/* Hero tagline shimmer colors — configured in Appearance settings. */
.hero-title {
  background-image: linear-gradient(90deg, #38bdf8, #a78bfa, #f472b6, #38bdf8);
}

/* Primary button hover style — Appearance settings. */
.btn-primary:hover {
  transform: none;
  box-shadow: none;
}
.btn-primary:hover::after { left: -75%; }

/* Logo size — Appearance settings. */
.nav-logo-mark {
  width: 52px;
  height: 52px;
}

.navbar { --navbar-mode: ios-dock; }
  /* Hide original navbar completely */
  body.ios-dock-navbar-active .navbar {
    display: none !important;
  }
  /* Floating iOS/iPadOS 18 style Pill */
  .navbar-ios {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    height: 60px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(28px) saturate(200%);
    -webkit-backdrop-filter: blur(28px) saturate(200%);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 8px;
    gap: 4px;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 1;
    visibility: visible;
  }
  body.dock-scrolled .navbar-ios {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(-20px);
  }
  [data-theme="dark"] .navbar-ios, [data-admin-theme="dark"] .navbar-ios {
    background: rgba(30, 30, 30, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  }
  [data-theme="dark"] .navbar-ios-item, [data-admin-theme="dark"] .navbar-ios-item {
    color: rgba(255, 255, 255, 0.5);
  }
  .navbar-ios-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    border-radius: 22px;
    color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0 12px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  }
  .navbar-ios-item .nav-label-grid {
    display: grid;
    grid-template-columns: 0fr;
    opacity: 0;
    margin-left: 0;
    transition: grid-template-columns 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1), margin-left 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  }
  .navbar-ios-item .nav-label-inner {
    overflow: hidden;
    white-space: nowrap;
    font-size: 0.9rem;
    font-weight: 500;
  }
  .navbar-ios-item:hover .nav-label-grid, .navbar-ios-item:focus-visible .nav-label-grid {
    grid-template-columns: 1fr;
    opacity: 1;
    margin-left: 8px;
  }
  .navbar-ios-item svg { flex-shrink: 0; }
  .navbar-ios-item svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.5; }
  .navbar-ios-item:hover, .navbar-ios-item:focus-visible { background: var(--glass-bg-hover); color: var(--text-primary); }
  .navbar-ios-item:active { transform: scale(0.92); }
  .navbar-ios-item--active { background: var(--accent-purple) !important; color: #fff !important; }
  .navbar-ios-item--active svg { stroke: #fff; }
  .navbar-ios-item .icon-moon { display: none; }
  [data-theme="light"] .navbar-ios-item .icon-sun { display: none; }
  [data-theme="light"] .navbar-ios-item .icon-moon { display: block; }
  .navbar-ios-item .icon-moon { fill: currentColor; stroke: none; }
  /* Fix layout spacing since we hid the 72px sticky navbar */
  /* Compensate app-page hero for the fixed floating pill — see the
     matching comment in admin/inc/navbars/ios.php for the full
     explanation. Scoped to .app-hero only so the homepage and other
     page heroes are untouched. */
  body.ios-dock-navbar-active .app-hero {
    padding-top: 140px;
  }
  /* --- Dock Styles --- */
  :root { --navbar-glass-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.16); }
  [data-theme="light"] { --navbar-glass-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.8); }
  .navbar-dock {
    position: fixed; left: 50%; bottom: 20px;
    transform: translateX(-50%) translateY(20px);
    opacity: 0; visibility: hidden; pointer-events: none;
    display: flex; gap: 8px; padding: 8px;
    background: rgba(255,255,255,0.7); backdrop-filter: blur(28px) saturate(200%); -webkit-backdrop-filter: blur(28px) saturate(200%);
    border-radius: 24px; z-index: 999; box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  }
  [data-theme="dark"] .navbar-dock, [data-admin-theme="dark"] .navbar-dock { background: rgba(30,30,30,0.75); border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 10px 40px rgba(0,0,0,0.5); }
  body.dock-scrolled .navbar-dock { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
  body.dock-scrolled .site-footer { margin-top: 80px; }
  .navbar-dock--docked { position: absolute; bottom: auto; transform: translateX(-50%); }
  .navbar-dock-item { position: relative; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: transparent; border: none; padding: 0; cursor: pointer; color: var(--text-secondary); transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1); }
  a.navbar-dock-item { text-decoration: none; }
  .navbar-dock-item img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
  .navbar-dock-item--logo img { width: 32px; height: auto; border-radius: 0; object-fit: contain; }
  .navbar-dock-item svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 1.5; fill: none; }
  .navbar-dock-item .icon-moon { display: none; }
  [data-theme="light"] .navbar-dock-item .icon-sun { display: none; }
  [data-theme="light"] .navbar-dock-item .icon-moon { display: block; }
  .navbar-dock-item .icon-moon { fill: currentColor; stroke: none; }
  .navbar-dock-item--active::after { content: ""; position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%); width: 4px; height: 4px; border-radius: 50%; background: var(--text-primary); opacity: 0.8; pointer-events: none; }
  .navbar-dock-item:hover, .navbar-dock-item:focus-visible { transform: scale(1.15) translateY(-4px); z-index: 2; color: var(--text-primary); }
  @media (prefers-reduced-motion: reduce) { .navbar-dock-item:hover, .navbar-dock-item:focus-visible { transform: scale(1.05); } }
  .navbar-dock-divider { width: 1px; height: 32px; background: rgba(128,128,128,0.2); margin: 8px 4px; border-radius: 1px; }
  .navbar-dock-tooltip { position: absolute; bottom: calc(100% + 12px); left: 50%; transform: translateX(-50%); background: var(--bg-primary); border: 1px solid var(--border-color); color: var(--text-primary); padding: 6px 10px; border-radius: 6px; font-size: 0.75rem; font-weight: 500; white-space: nowrap; opacity: 0; visibility: hidden; transition: opacity 0.2s, transform 0.2s; pointer-events: none; box-shadow: var(--glass-shadow-sm); z-index: 3; }
  .navbar-dock-item:hover .navbar-dock-tooltip, .navbar-dock-item:focus-visible .navbar-dock-tooltip { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(-2px); transition-delay: 0.1s; }
  .navbar-dock-item[aria-expanded="true"] .navbar-dock-tooltip { opacity: 0 !important; visibility: hidden !important; }
  .navbar-dock-more-panel {
    position: absolute;
    bottom: calc(100% + 16px);
    right: 0;
    width: max-content;
    min-width: 200px;
    max-width: 280px;
    max-height: 50vh;
    overflow-y: auto;
    padding: 10px;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(28px) saturate(200%);
    -webkit-backdrop-filter: blur(28px) saturate(200%);
    background-color: var(--nav-bg);
    display: flex;
    flex-direction: column;
    gap: 2px;
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity 0.18s var(--ease-premium), transform 0.18s var(--ease-premium);
  }
  .navbar-dock-more-panel::-webkit-scrollbar { width: 4px; }
  .navbar-dock-more-panel::-webkit-scrollbar-thumb { background: rgba(128, 128, 128, 0.25); border-radius: 4px; }
  .navbar-dock-item[aria-expanded="true"] .navbar-dock-more-panel {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .navbar-dock-more-panel a {
    padding: 8px 10px;
    border-radius: 9px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.88rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .navbar-dock-more-panel a:hover {
    background: var(--glass-bg-hover);
  }
/* App icon backdrop + shape — Appearance settings. */
/* App card container style — Appearance settings. */
/* App card hover effect — Appearance settings. */
.app-card:hover {
  transform: none;
  background: var(--glass-bg);
  border-color: var(--glass-border);
  box-shadow: var(--glass-shadow-sm);
}
.app-card:hover .app-icon { transform: none; }

/* Post card hover effect — Appearance settings. */
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--glass-shadow-sm);
}

