﻿    :root {
      --kg-yellow: #f5c800;
      --kg-yellow-strong: #ffd000;
      --kg-bg: #0e0e0e;
      --kg-surface: #171717;
      --kg-surface-soft: #1f1f1f;
      --kg-border: rgba(245, 200, 0, 0.18);
      --kg-text: #f5f5f5;
      --kg-muted: #a1a1aa;
      --kg-cream: #fff8e1;
      --kg-success: #35c76f;
      --kg-danger: #ef4444;
      --kg-radius-card: 24px;
      --kg-radius-pill: 999px;
      --bg: var(--kg-bg);
      --panel: var(--kg-surface);
      --card: var(--kg-surface-soft);
      --primary: var(--kg-yellow);
      --primary-dark: #d4ac00;
      --cream: var(--kg-cream);
      --white: #ffffff;
      --muted: var(--kg-muted);
      --text: var(--kg-text);
      --app-text-secondary: #b7bac4;
      --success: var(--kg-success);
      --danger: var(--kg-danger);
      --border-soft: var(--kg-border);
      --touch-min: 44px;
      --kg-radius-button: var(--kg-radius-pill);
      --kg-radius-icon: 14px;
      --kg-radius-panel: 28px;
      --kg-shadow-soft: 0 18px 48px rgba(0, 0, 0, 0.28);
      --kg-shadow-glow: 0 8px 18px rgba(245, 200, 0, 0.22);
      --kg-shadow-glow-strong: 0 10px 30px rgba(245, 200, 0, 0.22);
      --kg-spacing-section: clamp(24px, 4vw, 48px);
      --kg-spacing-card: 24px;
      --kg-content-max: 1280px;
      --kg-shell-max: 1280px;
      --kg-app-main-max: 1120px;
      --kg-app-shell-max: 1180px;
      --kg-sidebar-width: 260px;
      --kg-page-gutter: 24px;
      --kg-header-height: 76px;
      --kg-header-scroll-pad: 16px;
      --kg-scroll-under-header: calc(env(safe-area-inset-top, 0px) + var(--kg-header-height) + var(--kg-header-scroll-pad));
      /* Mobil /app: sabit alt navbar + gÃ¼venli alan iÃ§in iÃ§erik alt boÅŸluÄŸu (footer/shell ile uyumlu). */
      --kg-app-mobile-nav-clearance: 142px;
      --kg-bottom-nav-height: 82px;
      --kg-sticky-cta-height: 96px;
      --kg-safe-bottom: env(safe-area-inset-bottom, 0px);
      --kg-motion-fast: 120ms;
      --kg-motion-base: 180ms;
      --kg-motion-slow: 260ms;
      --kg-ease-standard: cubic-bezier(0.2, 0.8, 0.2, 1);
      --kg-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    }

    .kg-page-title {
      font-size: clamp(40px, 4vw, 56px);
      line-height: 1.05;
      font-weight: 900;
      letter-spacing: -0.03em;
      color: var(--text);
    }

    .kg-section-title {
      margin: 0 0 14px;
      font-size: 20px;
      font-weight: 800;
      letter-spacing: -0.02em;
      color: var(--text);
    }

    .kg-card-title {
      margin: 0 0 8px;
      font-size: 17px;
      font-weight: 800;
      color: var(--text);
    }

    .kg-body {
      margin: 0;
      font-size: 15px;
      line-height: 1.6;
      color: var(--app-text-secondary);
    }

    .kg-muted {
      margin: 0;
      font-size: 14px;
      line-height: 1.55;
      color: var(--muted);
    }

    .kg-label {
      font-size: 13px;
      font-weight: 700;
      color: var(--app-text-secondary);
    }

    .kg-card {
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
      border: 1px solid rgba(245, 196, 0, 0.14);
      border-radius: 24px;
      padding: clamp(20px, 2.5vw, 28px);
      box-shadow: 0 12px 42px rgba(0, 0, 0, 0.22);
    }

    .kg-card--clickable {
      cursor: pointer;
      text-align: left;
      font: inherit;
      color: inherit;
      transition:
        border-color var(--kg-motion-base) var(--kg-ease-standard),
        background var(--kg-motion-fast) var(--kg-ease-standard),
        transform var(--kg-motion-fast) var(--kg-ease-standard);
    }

    .kg-card--clickable:hover {
      border-color: rgba(245, 196, 0, 0.28);
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
      transform: translateY(-1px);
    }

    * { box-sizing: border-box; }
    html {
      -webkit-text-size-adjust: 100%;
      text-size-adjust: 100%;
      color-scheme: dark;
      scroll-padding-top: var(--kg-scroll-under-header);
      max-width: 100%;
      overflow-x: hidden;
    }
    html, body { margin: 0; min-height: 100%; min-height: 100dvh; }
    body {
      font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
      background: var(--bg);
      color: var(--text);
      display: flex;
      flex-direction: column;
      min-height: 100vh;
      min-height: 100dvh;
      min-height: 100svh;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
      position: relative;
    }

    #app-page.active .app-dashboard.app-shell {
      min-height: 100dvh;
      min-height: 100svh;
    }

    @supports not (height: 100dvh) {
      #app-page.active .app-dashboard.app-shell {
        min-height: 100vh;
      }
    }

    body.menu-open,
    body.modal-open {
      overflow: hidden;
      touch-action: none;
    }
    body.modal-open footer.site-footer,
    body.modal-open .app-bottom-nav,
    body.modal-open .public-mobile-cta,
    body.modal-open .web-notif-soft-banner {
      pointer-events: none;
    }

    body.kg-notification-open {
      overflow: hidden;
      touch-action: none;
    }

    body.kg-notification-open .app-bottom-nav,
    body.kg-notification-open #appBottomNav,
    body.kg-notification-open .app-mobile-bottom-nav,
    body.kg-notification-open .mobile-bottom-nav,
    body.kg-notification-open .kg-bottom-nav {
      display: none !important;
      opacity: 0 !important;
      visibility: hidden !important;
      pointer-events: none !important;
      transform: translateY(24px);
    }
    body.modal-open .toast.visible {
      z-index: 10050;
    }
    body::before {
      content: "";
      position: fixed;
      inset: 0;
      z-index: 0;
      pointer-events: none;
      background:
        radial-gradient(ellipse 100% 58% at 50% -12%, rgba(245, 200, 0, 0.11) 0%, transparent 56%),
        radial-gradient(ellipse 46% 40% at 8% 22%, rgba(245, 200, 0, 0.045) 0%, transparent 52%),
        radial-gradient(ellipse 52% 36% at 94% 12%, rgba(245, 200, 0, 0.06) 0%, transparent 55%),
        radial-gradient(ellipse 50% 32% at 92% 102%, rgba(245, 200, 0, 0.042) 0%, transparent 48%);
    }
    body::after {
      content: "";
      position: fixed;
      inset: 0;
      z-index: 0;
      pointer-events: none;
      opacity: 0.35;
      background-image:
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
      background-size: 52px 52px;
      mask-image: radial-gradient(ellipse 72% 62% at 50% 28%, #000 0%, transparent 72%);
      -webkit-mask-image: radial-gradient(ellipse 72% 62% at 50% 28%, #000 0%, transparent 72%);
    }
    /* Aktif sayfa, footer'dan sonra gelen katmanda Ã¼stte kalsÄ±n; aksi halde fixed/z-index'li iÃ§erik footer altÄ±nda kalÄ±r. */
    section.page {
      position: relative;
      z-index: 5;
    }
    footer.site-footer {
      position: relative;
      z-index: 10;
    }

    a { color: var(--primary); text-decoration: none; }
    a:hover { text-decoration: underline; }

    a:focus-visible,
    button:focus-visible,
    .legal-back:focus-visible,
    .legal-toc a:focus-visible,
    .faq-trigger:focus-visible {
      outline: 2px solid var(--primary);
      outline-offset: 3px;
    }

    a, button, .legal-back, .legal-toc a, .faq-back {
      -webkit-tap-highlight-color: rgba(245, 200, 0, 0.18);
      touch-action: manipulation;
    }

    /* Toast */
    .toast {
      position: fixed;
      bottom: calc(24px + env(safe-area-inset-bottom, 0px));
      left: 16px;
      right: 16px;
      margin: 0 auto;
      width: fit-content;
      max-width: calc(100% - 32px);
      transform: translateY(120px);
      background: rgba(26, 26, 26, 0.96);
      color: #f4f4f5;
      padding: 14px 22px;
      border-radius: 14px;
      border: 1px solid rgba(245, 200, 0, 0.28);
      box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
      z-index: 2000;
      font-size: 14px;
      font-weight: 600;
      text-align: center;
      font-family: "Inter", system-ui, sans-serif;
      opacity: 0;
      pointer-events: none;
      transition:
        transform var(--kg-motion-slow) var(--kg-ease-out),
        opacity var(--kg-motion-slow) var(--kg-ease-out);
    }
    .toast.toast--info {
      border-color: rgba(245, 200, 0, 0.28);
    }
    .toast.toast--success {
      border-color: rgba(76, 175, 80, 0.45);
      box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(76, 175, 80, 0.12);
    }
    .toast.toast--error {
      border-color: rgba(244, 67, 54, 0.45);
      box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(244, 67, 54, 0.1);
    }
    .toast.visible {
      transform: translateY(0);
      opacity: 1;
    }

    /* Web bildirim soft prompt (viewport; .page iÃ§inde deÄŸil) */
    .web-notif-soft-banner {
      position: fixed;
      left: max(12px, env(safe-area-inset-left, 0px));
      right: max(12px, env(safe-area-inset-right, 0px));
      bottom: max(12px, env(safe-area-inset-bottom, 0px));
      z-index: 1600;
      padding: 14px 16px;
      border-radius: 16px;
      border: 1px solid rgba(245, 200, 0, 0.28);
      background: linear-gradient(165deg, rgba(28, 28, 28, 0.98), rgba(17, 17, 17, 0.98));
      box-shadow: 0 16px 44px rgba(0, 0, 0, 0.5);
      max-width: 520px;
      margin: 0 auto;
    }
    .web-notif-soft-banner[hidden] {
      display: none !important;
    }
    .web-notif-soft-inner {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    @media (min-width: 560px) {
      .web-notif-soft-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
      }
    }
    .web-notif-soft-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      flex-shrink: 0;
    }

    /* Site header */
    /* Uzun sayfa ekran gÃ¶rÃ¼ntÃ¼lerinde sticky Ã¼st bar birden fazla kez yakalanabilir; canlÄ± scrollâ€™da iÃ§erik Ã¼stÃ¼ne binmesi beklenmez. */
    nav.site-header {
      position: sticky;
      top: 0;
      z-index: 1100;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      min-height: calc(var(--kg-header-height) + env(safe-area-inset-top, 0px));
      padding:
        max(8px, env(safe-area-inset-top, 0px))
        max(28px, env(safe-area-inset-right, 0px))
        8px
        max(28px, env(safe-area-inset-left, 0px));
      background: rgba(14, 14, 14, 0.92);
      backdrop-filter: blur(18px) saturate(1.1);
      -webkit-backdrop-filter: blur(18px) saturate(1.1);
      border-bottom: 1px solid rgba(245, 200, 0, 0.1);
      flex-wrap: nowrap;
      flex-shrink: 0;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
      min-width: 0;
      flex-shrink: 1;
    }
    .logo:hover { text-decoration: none; }

    .logo-img {
      width: 44px;
      height: 44px;
      flex: 0 0 auto;
      display: block;
      border-radius: 14px;
      filter: drop-shadow(var(--kg-shadow-glow));
    }

    .logo-text {
      font-family: "Syne", "Inter", sans-serif;
      font-weight: 800;
      font-size: clamp(18px, 3.5vw, 22px);
      letter-spacing: -0.04em;
      color: #fff;
      white-space: nowrap;
    }
    .logo-text .logo-accent { color: var(--primary); }

    .nav-btn {
      min-height: 40px;
      padding: 8px 16px;
      font-size: 13px;
      font-weight: 700;
      font-family: inherit;
      border-radius: 999px;
      border: 1px solid var(--border-soft);
      background: var(--panel);
      color: var(--cream);
      cursor: pointer;
      white-space: nowrap;
      transition: background 0.2s, border-color 0.2s;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }
    .nav-btn:hover {
      background: var(--card);
      border-color: rgba(245, 200, 0, 0.45);
    }
    .nav-btn[hidden] {
      display: none !important;
    }

    .nav-pwa-chip {
      font-size: 12px;
      font-weight: 700;
      padding: 6px 12px;
      border-radius: 999px;
      border: 1px solid rgba(245, 200, 0, 0.45);
      color: var(--primary);
      background: rgba(245, 200, 0, 0.12);
      white-space: nowrap;
    }
    .nav-pwa-chip[hidden] {
      display: none !important;
    }

    .nav-right {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-wrap: nowrap;
      justify-content: flex-end;
      min-width: 0;
    }

    .nav-header-actions {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: nowrap;
      flex-shrink: 0;
      min-width: 0;
    }

    .kg-lang-switch {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      flex-shrink: 0;
    }
    .kg-lang-switch-label {
      font-size: 11px;
      font-weight: 700;
      color: var(--muted);
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }
    .kg-lang-btn {
      appearance: none;
      border: 1px solid rgba(255, 255, 255, 0.12);
      background: rgba(255, 255, 255, 0.04);
      color: var(--muted);
      font-size: 12px;
      font-weight: 700;
      padding: 6px 10px;
      border-radius: 999px;
      cursor: pointer;
      min-height: var(--touch-min);
      font-family: inherit;
    }
    .kg-lang-btn:hover {
      border-color: rgba(245, 200, 0, 0.35);
      color: var(--cream);
    }
    .kg-lang-btn.is-active {
      border-color: rgba(245, 200, 0, 0.55);
      background: rgba(245, 200, 0, 0.12);
      color: var(--cream);
    }
    .mobile-menu-lang {
      padding: 8px 16px 12px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
      margin-bottom: 8px;
    }
    .mobile-menu-lang-row {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
    }
    .mobile-menu-lang .kg-lang-btn {
      min-width: 44px;
      min-height: 44px;
      padding: 10px 14px;
      font-size: 13px;
    }

    .kg-lang-dropdown {
      position: relative;
      flex-shrink: 0;
    }
    .kg-lang-dropdown > summary {
      list-style: none;
      cursor: pointer;
      appearance: none;
      border: 1px solid rgba(255, 255, 255, 0.12);
      background: rgba(255, 255, 255, 0.04);
      color: var(--cream);
      font-size: 12px;
      font-weight: 700;
      padding: 6px 12px;
      border-radius: 999px;
      font-family: inherit;
      min-height: 36px;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }
    .kg-lang-dropdown > summary::-webkit-details-marker {
      display: none;
    }
    .kg-lang-dropdown[open] > summary {
      border-color: rgba(245, 200, 0, 0.45);
      background: rgba(245, 200, 0, 0.1);
    }
    .kg-lang-dropdown-panel {
      position: absolute;
      right: 0;
      top: calc(100% + 8px);
      min-width: 148px;
      padding: 6px;
      border-radius: 14px;
      background: var(--kg-surface-soft);
      border: 1px solid rgba(255, 255, 255, 0.1);
      box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
      z-index: 80;
    }
    .kg-lang-dropdown-panel .kg-lang-btn {
      display: block;
      width: 100%;
      text-align: left;
      margin-bottom: 4px;
      border-radius: 10px;
    }
    .kg-lang-dropdown-panel .kg-lang-btn:last-child {
      margin-bottom: 0;
    }

    .footer-lang-hint {
      margin: 4px 0 0;
      font-size: 11px;
      color: var(--muted);
      opacity: 0.85;
    }

    .nav-link {
      color: rgba(180, 180, 180, 0.95);
      font-size: 13px;
      font-weight: 600;
      min-height: var(--touch-min);
      padding: 8px 10px;
      border-radius: 10px;
      text-decoration: none !important;
      border: 1px solid transparent;
      transition: color 0.2s, background 0.2s, border-color 0.2s;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }
    .nav-link:hover {
      color: var(--primary);
      background: rgba(255, 255, 255, 0.04);
      border-color: rgba(255, 255, 255, 0.06);
    }

    .nav-auth-link[hidden] {
      display: none !important;
    }

    .desktop-only {
      display: inline;
    }

    .mobile-only {
      display: none;
    }

    .nav-auth-link--panel {
      white-space: nowrap;
    }

    @media (min-width: 769px) {
      nav.site-header {
        padding-left: max(24px, env(safe-area-inset-left, 0px));
        padding-right: max(24px, env(safe-area-inset-right, 0px));
      }

      .nav-header-actions {
        gap: 10px;
      }

      a.nav-link.nav-auth-link--login.desktop-only {
        padding: 8px 18px;
        border-radius: 999px;
        border: 1px solid rgba(245, 200, 0, 0.38);
        background: rgba(245, 200, 0, 0.07);
        color: #fff8e1;
        font-weight: 700;
        font-size: 13px;
      }

      a.nav-link.nav-auth-link--login.desktop-only:hover {
        background: rgba(245, 200, 0, 0.14);
        border-color: rgba(245, 200, 0, 0.52);
        color: var(--cream);
      }

      a.nav-link.nav-auth-link--panel.desktop-only {
        padding: 8px 16px;
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, 0.14);
        background: rgba(255, 255, 255, 0.05);
        color: var(--cream);
        font-weight: 700;
      }

      a.nav-link.nav-auth-link--panel.desktop-only:hover {
        border-color: rgba(245, 200, 0, 0.35);
        background: rgba(245, 200, 0, 0.08);
      }
    }

  .mobile-menu-button,
  .mobile-menu-overlay,
  .mobile-menu {
    display: none;
  }

  .mobile-menu-button {
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 14px;
    border: 1px solid rgba(245, 200, 0, 0.18);
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    transition:
      background var(--kg-motion-fast) var(--kg-ease-standard),
      border-color var(--kg-motion-base) var(--kg-ease-standard);
  }

  .mobile-menu-button:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(245, 200, 0, 0.32);
  }

  .mobile-menu-button span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: rgba(245, 200, 0, 0.88);
  }

  .mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--kg-motion-base) var(--kg-ease-standard);
    z-index: 1340;
  }

  .mobile-menu-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu {
    position: fixed;
    top: max(12px, env(safe-area-inset-top, 0px));
    right: max(12px, env(safe-area-inset-right, 0px));
    width: min(360px, calc(100vw - 24px));
    max-height: calc(100svh - max(24px, env(safe-area-inset-top, 0px)) - max(12px, env(safe-area-inset-bottom, 0px)));
    max-height: calc(100dvh - max(24px, env(safe-area-inset-top, 0px)) - max(12px, env(safe-area-inset-bottom, 0px)));
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: rgba(18, 18, 18, 0.96);
    border: 1px solid rgba(245, 200, 0, 0.18);
    border-radius: 28px;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.55);
    transform: translateY(-10px) scale(0.98);
    opacity: 0;
    pointer-events: none;
    transition:
      transform var(--kg-motion-base) var(--kg-ease-out),
      opacity var(--kg-motion-base) var(--kg-ease-standard);
    z-index: 1350;
    padding: 16px;
  }

  .mobile-menu.is-open {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    flex-shrink: 0;
  }

  .mobile-menu-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
  }

  .mobile-menu-brand img {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    flex: 0 0 auto;
  }

  .mobile-menu-brand strong {
    font-family: "Syne", "Inter", sans-serif;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #fff;
    white-space: nowrap;
  }

  .mobile-menu-close {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: var(--cream);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
  }

  .mobile-menu-info {
    flex-shrink: 0;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mobile-menu-session-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
  }

  .mobile-menu-install-wrap[hidden] {
    display: none !important;
  }

  .mobile-menu-session-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid rgba(245, 200, 0, 0.28);
    background: rgba(255, 255, 255, 0.03);
    color: var(--cream);
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition:
      border-color var(--kg-motion-fast) var(--kg-ease-standard),
      background var(--kg-motion-fast) var(--kg-ease-standard),
      color var(--kg-motion-fast) var(--kg-ease-standard);
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-menu-session-logout:hover,
  .mobile-menu-session-logout:focus-visible {
    outline: none;
    border-color: rgba(245, 200, 0, 0.42);
    background: rgba(245, 200, 0, 0.07);
    color: #fff;
  }

  .mobile-menu-install-btn {
    width: 100%;
    min-height: 44px;
    justify-content: center;
    font-weight: 700;
  }

  .mobile-menu-info-card {
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.035);
  }

  .mobile-menu-info-kicker {
    margin: 0 0 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(245, 200, 0, 0.9);
  }

  .mobile-menu-info-email {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--cream);
    word-break: break-word;
  }

  .mobile-menu-info-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--kg-muted, #a1a1aa);
  }

  .mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 214, 0, 0.35) transparent;
    padding-right: 2px;
  }

  .mobile-menu-links::-webkit-scrollbar {
    width: 6px;
  }

  .mobile-menu-links::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(255, 214, 0, 0.28);
  }

  .mobile-menu-links::-webkit-scrollbar-track {
    background: transparent;
  }

  .mobile-menu-section-title {
    margin: 0 0 6px;
    padding: 4px 2px 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(161, 161, 170, 0.95);
  }

  .mobile-menu-section {
    padding: 10px 0 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .mobile-menu-section:first-child {
    border-top: none;
    padding-top: 0;
  }

  .mobile-menu-link {
    min-height: 46px;
    height: auto;
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid transparent;
    background: transparent;
    color: #f4f4f5;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: center;
    transition:
      background var(--kg-motion-fast) var(--kg-ease-standard),
      color var(--kg-motion-fast) var(--kg-ease-standard),
      border-color var(--kg-motion-base) var(--kg-ease-standard);
  }

  .mobile-menu-link--muted {
    font-weight: 600;
    color: rgba(228, 228, 231, 0.92);
    border-color: rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
  }

  .mobile-menu-link--muted:hover,
  .mobile-menu-link--muted:focus-visible {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.1);
    color: #fff;
  }

  .mobile-menu-link--auth {
    font-weight: 700;
    font-size: 15px;
    color: #fafafa;
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
  }

  .mobile-menu-link--auth:hover,
  .mobile-menu-link--auth:focus-visible {
    background: rgba(245, 200, 0, 0.09);
    border-color: rgba(245, 200, 0, 0.22);
    color: var(--cream);
  }

  .mobile-menu-auth-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 2px;
  }

  .mobile-menu-auth-row .mobile-menu-link {
    justify-content: center;
    text-align: center;
    font-size: 14px;
    padding: 12px 10px;
  }

  .mobile-menu-link--featured {
    background: rgba(245, 200, 0, 0.08);
    border-color: rgba(245, 200, 0, 0.26);
    color: #f5c800;
  }

  .mobile-menu-link:hover:not(.mobile-menu-link--muted):not(.mobile-menu-link--auth),
  .mobile-menu-link:focus-visible:not(.mobile-menu-link--muted):not(.mobile-menu-link--auth) {
    background: rgba(245, 200, 0, 0.1);
    border-color: rgba(245, 200, 0, 0.18);
    color: var(--primary);
    outline: none;
  }

  .mobile-menu-link.is-active {
    color: var(--primary);
    background: rgba(245, 200, 0, 0.08);
    border-color: rgba(245, 200, 0, 0.2);
  }

  .mobile-menu-accordion {
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
  }

  .mobile-menu-accordion-summary {
    min-height: 48px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
    color: #f4f4f5;
    cursor: pointer;
    list-style: none;
    user-select: none;
  }

  .mobile-menu-accordion-summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu-accordion-summary::after {
    content: "+";
    font-size: 18px;
    line-height: 1;
    color: rgba(245, 200, 0, 0.85);
    transition: transform var(--kg-motion-fast) var(--kg-ease-standard);
  }

  .mobile-menu-accordion[open] .mobile-menu-accordion-summary::after {
    transform: rotate(45deg);
  }

  .mobile-menu-accordion-panel {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 6px 10px;
  }

  .mobile-menu-accordion-panel .mobile-menu-link {
    min-height: 42px;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 12px;
  }

    .kg-icon {
      width: 44px;
      height: 44px;
      border-radius: 14px;
      display: inline-grid;
      place-items: center;
      flex-shrink: 0;
      color: #f5c800;
      background: rgba(245, 200, 0, 0.1);
      border: 1px solid rgba(245, 200, 0, 0.18);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    }

    .kg-icon svg {
      width: 22px;
      height: 22px;
      display: block;
      stroke: currentColor;
      fill: none;
    }

    .kg-icon--sm {
      width: 36px;
      height: 36px;
      border-radius: 12px;
    }

    .kg-icon--sm svg {
      width: 18px;
      height: 18px;
    }

    .kg-icon--sidebar {
      width: 36px;
      height: 36px;
      border-radius: 12px;
      background: transparent;
      border-color: transparent;
      box-shadow: none;
    }

    .kg-icon--sidebar svg {
      width: 20px;
      height: 20px;
    }

    .kg-icon--card {
      width: 48px;
      height: 48px;
    }

    .kg-icon--legal {
      width: 44px;
      height: 44px;
    }

    .kg-icon--btn {
      width: 20px;
      height: 20px;
      border: 0;
      background: transparent;
      box-shadow: none;
      border-radius: 0;
    }

    .kg-icon--btn svg {
      width: 18px;
      height: 18px;
    }

    .kg-icon--input {
      width: 18px;
      height: 18px;
      border: 0;
      background: transparent;
      box-shadow: none;
      border-radius: 0;
      color: #9ca3af;
    }

    .kg-icon--input svg {
      width: 18px;
      height: 18px;
    }

    .kg-icon--success {
      color: #4caf50;
    }

    .kg-icon--muted {
      color: #9ca3af;
    }

    .kg-icon--danger {
      color: #f44336;
    }

    .auth-field-icon {
      position: absolute;
      left: 14px;
      top: 50%;
      transform: translateY(-50%);
      pointer-events: none;
    }

    .auth-field--icon {
      position: relative;
    }

    .auth-field--icon .auth-input {
      padding-left: 44px;
    }

    .auth-field--icon .auth-password-wrap .auth-input {
      padding-left: 44px;
    }

    .rsvp-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }

    .btn-with-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }

    /* Pages */
    @keyframes kg-page-in {
      from {
        opacity: 0;
        transform: translateY(4px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .page {
      display: none;
      flex: 1;
      flex-direction: column;
    }
    .page.active {
      display: flex;
      contain: layout style;
    }
    .page.page-enter {
      animation: kg-page-in 120ms var(--kg-ease-out) both;
    }
    @media (prefers-reduced-motion: reduce) {
      .page.page-enter {
        animation: none;
      }
    }

    .legal-route,
    .faq-route,
    .auth-route {
      flex: 1;
      flex-direction: column;
    }

    #app-page.page.auth-route.active {
      flex: 1 1 auto;
      min-height: 0;
      width: 100%;
    }

    #app-page {
      overflow: visible;
    }

    /* Ana sayfa bÃ¶lÃ¼mÃ¼ viewport'u zorla doldurmasÄ±n; altta boÅŸ siyah ÅŸerit oluÅŸmasÄ±n */
    section#landing-page.page {
      flex: 0 1 auto;
    }

    /* Landing â€” davet terminali */
    .hero {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding:
        clamp(16px, 3.5vh, 28px)
        max(20px, env(safe-area-inset-right, 0px))
        clamp(18px, 3vh, 28px)
        max(20px, env(safe-area-inset-left, 0px));
      max-width: min(560px, 100%);
      margin: 0 auto;
      width: 100%;
    }

    /* Ana sayfa: iÃ§erik kadar yÃ¼kseklik; bÃ¼yÃ¼k boÅŸ siyah alan oluÅŸmasÄ±n */
    #landing-page .landing-shell {
      width: 100%;
      max-width: 1120px;
      margin: 0 auto;
      padding-left: max(16px, env(safe-area-inset-left, 0px));
      padding-right: max(16px, env(safe-area-inset-right, 0px));
      padding-bottom: clamp(20px, 4vh, 36px);
      box-sizing: border-box;
    }

    @media (min-width: 900px) {
      #landing-page .landing-shell {
        padding-left: max(24px, env(safe-area-inset-left, 0px));
        padding-right: max(24px, env(safe-area-inset-right, 0px));
        padding-top: 12px;
      }
    }

    @media (max-width: 768px) {
      #landing-page .landing-shell {
        padding-top: calc(20px + env(safe-area-inset-top, 0px));
      }
    }

    .landing-hero-top {
      width: 100%;
    }

    .landing-hero-grid {
      display: flex;
      flex-direction: column;
      gap: 24px;
      align-items: stretch;
      width: 100%;
    }

    @media (min-width: 900px) {
      .landing-hero-grid {
        display: grid;
        grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
        gap: clamp(28px, 4vw, 48px);
        align-items: start;
      }
    }

    .landing-hero-col {
      min-width: 0;
      width: 100%;
    }

    .landing-hero-col--primary {
      display: flex;
      flex-direction: column;
      gap: clamp(12px, 2vh, 20px);
    }

    .landing-hero-col--examples {
      display: flex;
      flex-direction: column;
      align-self: stretch;
    }

    @media (min-width: 900px) {
      #landing-page .landing-hero-col--primary .landing-hero.hero {
        padding-bottom: 10px;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
      }

      #landing-page .landing-hero-col--primary .landing-invite-wrap {
        margin-left: 0;
        margin-right: auto;
        width: 100%;
        max-width: 640px;
      }

      .landing-hero-col--examples .landing-plan-examples {
        margin-top: 0;
        margin-bottom: 0;
      }

      .landing-hero-col--examples .landing-example-card {
        max-width: min(460px, 100%);
      }
    }

    @media (max-width: 899px) {
      .landing-hero-grid {
        gap: 20px;
      }

      #landing-page .landing-hero-col--primary .landing-invite-wrap {
        max-width: 100%;
      }

      .landing-plan-examples-lead .mobile-only {
        display: block;
        width: 100%;
      }
    }

    #landing-page .landing-hero.hero {
      flex: 0 1 auto;
      max-width: min(1040px, 100%);
      padding-bottom: 24px;
      align-items: stretch;
      text-align: left;
    }

    @media (min-width: 900px) {
      #landing-page .landing-hero.hero {
        min-height: 0;
      }
    }

    @media (max-width: 899px) {
      #landing-page .landing-hero.hero {
        text-align: center;
        align-items: center;
        min-height: auto;
      }
    }

    @media (min-width: 900px) {
      #landing-page .landing-hero.hero h1 {
        max-width: none;
      }
      #landing-page .landing-hero.hero .hero-lead,
      #landing-page .landing-hero.hero .hero-slogan {
        text-align: left;
        margin-left: 0;
        margin-right: 0;
      }
      #landing-page .landing-hero.hero .hero-badge {
        align-self: flex-start;
      }
    }

    @media (max-width: 899px) {
      #landing-page .landing-hero.hero .hero-lead,
      #landing-page .landing-hero.hero .hero-slogan {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
      }
      #landing-page .landing-hero.hero .hero-badge {
        align-self: center;
      }
    }

    .hero-slogan {
      margin: 0 0 22px;
      font-size: 14px;
      font-weight: 600;
      line-height: 1.45;
      color: rgba(155, 155, 155, 0.95);
      letter-spacing: 0.01em;
      max-width: 40ch;
    }

    .landing-example-card {
      position: relative;
      width: 100%;
      max-width: 400px;
      margin: 0 auto;
      padding: 24px;
      border-radius: 28px;
      border: 1px solid rgba(245, 200, 0, 0.35);
      background: linear-gradient(165deg, rgba(40, 40, 40, 0.95) 0%, rgba(20, 20, 20, 0.98) 100%);
      box-shadow: 
        0 32px 80px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(245, 200, 0, 0.12);
      text-align: left;
      overflow: hidden;
      transition: transform var(--kg-motion-base) var(--kg-ease-out);
    }

    .landing-example-card:hover {
      transform: translateY(-4px) scale(1.02);
      border-color: rgba(245, 200, 0, 0.5);
    }

    .premium-glow {
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: radial-gradient(circle at center, rgba(245, 200, 0, 0.08) 0%, transparent 70%);
      pointer-events: none;
      z-index: 0;
    }

    .landing-example-card .card-content {
      position: relative;
      z-index: 1;
    }

    .landing-example-card::before {
      content: "";
      position: absolute;
      inset: -1px;
      border-radius: inherit;
      pointer-events: none;
      background: radial-gradient(ellipse 80% 70% at 80% 0%, rgba(245, 200, 0, 0.14) 0%, transparent 55%);
      opacity: 0.9;
      z-index: 0;
    }

    .landing-example-card > * {
      position: relative;
      z-index: 1;
    }

    .landing-example-card-kicker {
      margin: 0 0 10px;
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: rgba(245, 200, 0, 0.88);
    }

    .landing-example-card-title {
      margin: 0 0 6px;
      font-size: 20px;
      font-weight: 800;
      letter-spacing: -0.02em;
      color: var(--white);
      line-height: 1.15;
    }

    .landing-example-card-when {
      margin: 0 0 4px;
      font-size: 15px;
      font-weight: 700;
      color: rgba(230, 230, 230, 0.96);
    }

    .landing-example-card-venue {
      margin: 0 0 14px;
      font-size: 14px;
      font-weight: 600;
      color: rgba(165, 165, 165, 0.98);
      line-height: 1.4;
    }

    .landing-example-card-stats {
      margin: 0 0 16px;
      font-size: 13px;
      font-weight: 600;
      line-height: 1.45;
      color: rgba(185, 185, 185, 0.98);
    }

    .landing-example-card-stats strong {
      font-weight: 800;
      color: rgba(245, 200, 0, 0.95);
    }

    .landing-example-rsvp {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .landing-example-rsvp-btn {
      flex: 1 1 90px;
      min-height: 44px;
      padding: 10px 12px;
      border-radius: 14px;
      font-size: 13px;
      font-weight: 800;
      font-family: inherit;
      border: 1px solid rgba(255, 255, 255, 0.12);
      background: rgba(255, 255, 255, 0.05);
      color: rgba(200, 200, 200, 0.95);
      cursor: default;
      opacity: 0.85;
    }

    .landing-example-rsvp-btn--yes {
      border-color: rgba(76, 175, 80, 0.45);
      background: rgba(76, 175, 80, 0.14);
      color: #c8f7c9;
    }

    .landing-example-rsvp-btn--maybe {
      border-color: rgba(245, 200, 0, 0.4);
      background: rgba(245, 200, 0, 0.12);
      color: rgba(255, 240, 180, 0.98);
    }

    .landing-example-rsvp-btn--no {
      border-color: rgba(244, 67, 54, 0.35);
      background: rgba(244, 67, 54, 0.1);
      color: #ffcdd2;
    }

    .landing-example-card-note {
      margin: 14px 0 0;
      font-size: 12px;
      font-weight: 600;
      color: rgba(130, 130, 130, 0.95);
    }

    .landing-invite-wrap {
      width: 100%;
      max-width: min(560px, 100%);
      margin: 0 auto;
    }

    @media (min-width: 900px) {
      .landing-invite-wrap {
        margin: 0;
        max-width: min(640px, 100%);
      }
    }

    .landing-plan-examples {
      width: 100%;
      margin-top: 8px;
      margin-bottom: 8px;
    }

    .landing-plan-examples-title {
      margin: 0 0 6px;
      font-size: 18px;
      font-weight: 800;
      letter-spacing: -0.02em;
      color: var(--text);
      text-align: center;
    }

    .landing-plan-examples-lead {
      margin: 0 0 14px;
      font-size: 13px;
      line-height: 1.45;
      font-weight: 500;
      color: rgba(155, 155, 165, 0.98);
      text-align: center;
    }

    @media (min-width: 900px) {
      .landing-plan-examples-title,
      .landing-plan-examples-lead {
        text-align: left;
      }
    }

    .landing-examples-carousel {
      position: relative;
      outline: none;
    }

    .landing-examples-viewport {
      overflow: hidden;
      border-radius: 22px;
    }

    .landing-examples-track {
      position: relative;
      width: 100%;
    }

    .landing-example-slide {
      width: 100%;
      box-sizing: border-box;
    }

    .landing-example-slide .landing-example-card {
      max-width: 400px;
      margin: 0 auto;
    }

    @keyframes landing-example-card-in {
      from {
        opacity: 0.88;
        transform: translateY(8px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .landing-example-slide--flash .landing-example-card {
      animation: landing-example-card-in 0.38s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .landing-examples-dots {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 8px;
      margin-top: 16px;
    }

    .landing-example-dot {
      width: 9px;
      height: 9px;
      padding: 0;
      border: 0;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.18);
      cursor: pointer;
      transition:
        background 0.2s ease,
        transform 0.2s var(--kg-ease-standard);
    }

    .landing-example-dot[aria-selected="true"] {
      background: rgba(245, 200, 0, 0.9);
      transform: scale(1.15);
    }

    .landing-use-cases {
      width: 100%;
      max-width: min(900px, 100%);
      margin: 22px auto 0;
      padding: 18px 16px 20px;
      border-radius: 20px;
      border: 1px solid rgba(255, 255, 255, 0.08);
      background: linear-gradient(165deg, rgba(34, 34, 36, 0.96) 0%, rgba(18, 18, 20, 0.99) 100%);
      box-shadow:
        0 18px 50px rgba(0, 0, 0, 0.38),
        0 0 0 1px rgba(245, 200, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    }

    @media (min-width: 900px) {
      .landing-use-cases {
        margin-left: 0;
        margin-right: 0;
      }
    }

    .landing-use-cases-title {
      margin: 0 0 6px;
      font-size: 18px;
      font-weight: 800;
      letter-spacing: -0.02em;
      color: var(--text);
      text-align: center;
    }

    .landing-use-cases-lead {
      margin: 0 0 16px;
      font-size: 13px;
      line-height: 1.5;
      font-weight: 500;
      color: rgba(161, 161, 170, 0.98);
      text-align: center;
      max-width: 36rem;
      margin-left: auto;
      margin-right: auto;
    }

    @media (min-width: 769px) {
      .landing-use-cases-title,
      .landing-use-cases-lead {
        text-align: left;
        margin-left: 0;
        margin-right: 0;
      }

      .landing-use-cases-lead {
        max-width: none;
      }
    }

    .landing-use-case-chips {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
      margin: 0;
      width: 100%;
      list-style: none;
      padding: 0;
    }

    @media (min-width: 900px) {
      .landing-use-case-chips {
        grid-template-columns: repeat(4, minmax(0, 1fr));
      }
    }

    .use-case-chip {
      display: flex;
      align-items: center;
      gap: 10px;
      min-height: 52px;
      height: 100%;
      padding: 10px 12px;
      border-radius: 14px;
      font-size: 13px;
      font-weight: 700;
      color: rgba(228, 228, 231, 0.98);
      letter-spacing: 0.01em;
      border: 1px solid rgba(255, 255, 255, 0.08);
      background: rgba(0, 0, 0, 0.22);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
      transition:
        border-color 0.18s ease,
        background 0.18s ease,
        transform 0.2s var(--kg-ease-standard),
        box-shadow 0.2s ease;
    }

    .use-case-chip-ic {
      font-size: 18px;
      line-height: 1;
      width: 36px;
      height: 36px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      border-radius: 12px;
      background: rgba(245, 200, 0, 0.08);
      border: 1px solid rgba(245, 200, 0, 0.2);
      box-shadow: 0 0 20px rgba(245, 200, 0, 0.08);
    }

    .use-case-chip-txt {
      min-width: 0;
      line-height: 1.25;
    }

    .use-case-chip:hover {
      border-color: rgba(245, 200, 0, 0.32);
      background: rgba(245, 200, 0, 0.06);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 0 0 1px rgba(245, 200, 0, 0.08);
      transform: translateY(-2px);
    }

    @media (prefers-reduced-motion: reduce) {
      .use-case-chip {
        transition: border-color 0.15s ease, background 0.15s ease;
      }

      .use-case-chip:hover {
        transform: none;
      }
    }

    .landing-text-btn {
      display: inline-flex;
      align-items: center;
      padding: 0;
      border: none;
      background: none;
      font: inherit;
      font-size: 14px;
      font-weight: 700;
      color: var(--primary);
      cursor: pointer;
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    .landing-text-btn:hover {
      color: #ffe066;
    }

    .invite-quick-back-row {
      margin: 0 0 14px;
    }

    .landing-invite-code-foot {
      margin: 18px 0 0;
      font-size: 13px;
      font-weight: 600;
      color: rgba(150, 150, 150, 0.98);
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 8px 12px;
    }

    .landing-invite-code-foot-hint {
      font-size: 12px;
      font-weight: 600;
      color: rgba(120, 120, 120, 0.95);
    }

    #landing-page .invite-card {
      max-width: 100%;
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--primary);
      border: 1px solid rgba(245, 200, 0, 0.22);
      padding: 7px 14px;
      border-radius: 999px;
      background: rgba(245, 200, 0, 0.05);
      margin-bottom: 14px;
    }

    .hero h1 {
      margin: 0 0 10px;
      font-family: "Inter", system-ui, sans-serif;
      font-size: clamp(34px, 5.5vw, 58px);
      font-weight: 800;
      line-height: 1.04;
      letter-spacing: -0.03em;
      color: var(--white);
      max-width: 18ch;
    }

    .hero-tagline {
      margin: 0 0 16px;
      font-family: "Inter", system-ui, sans-serif;
      font-size: 14px;
      font-weight: 600;
      line-height: 1.45;
      color: rgba(160, 160, 160, 0.92);
      letter-spacing: 0.01em;
      max-width: 36ch;
    }

    .hero-lead {
      margin: 0 0 20px;
      max-width: 42ch;
      text-align: center;
    }
    .hero-lead p {
      margin: 0 0 8px;
      font-size: 15px;
      line-height: 1.5;
      color: rgba(190, 190, 190, 0.95);
      font-weight: 500;
    }
    .hero-lead p:last-child {
      margin-bottom: 0;
    }

    .invite-card {
      width: 100%;
      max-width: 520px;
      background: #1f1f1f;
      border: 1px solid rgba(245, 200, 0, 0.18);
      border-radius: 28px;
      padding: 32px;
      text-align: left;
      box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
    }
    .invite-card h2 {
      margin: 0 0 8px;
      font-size: 22px;
      font-weight: 800;
      font-family: "Inter", system-ui, sans-serif;
      color: var(--white);
      overflow-wrap: break-word;
      letter-spacing: -0.02em;
    }
    .invite-card .invite-card-main > p.sub {
      margin: 0 0 24px;
      font-size: 15px;
      color: rgba(165, 165, 165, 0.98);
      font-weight: 500;
      line-height: 1.45;
    }

    .code-row {
      display: flex;
      flex-direction: row;
      align-items: stretch;
      gap: 12px;
      flex-wrap: wrap;
    }

    .invite-code-field {
      width: 100%;
    }

    .code-invite-error {
      margin: 10px 0 0;
      min-height: 1.25em;
      font-size: 13px;
      font-weight: 600;
      line-height: 1.45;
      color: #f44336;
    }

    .code-invite-error[hidden] {
      display: none !important;
    }

    .invite-code-input.invite-code-input--error,
    #codeInput.invite-code-input--error {
      border-color: #f44336 !important;
      box-shadow: 0 0 0 2px rgba(244, 67, 54, 0.2);
    }

    .code-row.is-busy .join-plan-btn-label {
      opacity: 0.72;
    }

    #joinPlanBtn:disabled {
      cursor: not-allowed;
      opacity: 0.85;
    }

    .invite-code-input,
    #codeInput {
      flex: 1 1 160px;
      min-width: 0;
      width: 100%;
      max-width: 100%;
      height: 58px;
      min-height: 58px;
      max-height: 58px;
      box-sizing: border-box;
      padding: 0 18px;
      font-size: 18px;
      font-weight: 700;
      letter-spacing: 0.14em;
      line-height: 58px;
      text-transform: uppercase;
      font-family: ui-monospace, "Cascadia Code", "SF Mono", Consolas, monospace;
      border-radius: 16px;
      border: 1px solid rgba(245, 200, 0, 0.28);
      background: #171717;
      color: var(--cream);
      outline: none;
      resize: none;
      transition: border-color 0.2s, box-shadow 0.2s;
    }
    .invite-code-input:focus,
    #codeInput:focus {
      border-color: rgba(245, 200, 0, 0.45);
      box-shadow: 0 0 0 3px rgba(245, 200, 0, 0.12);
    }
    #codeInput::placeholder {
      color: rgba(150, 150, 150, 0.55);
      letter-spacing: 0.14em;
      font-weight: 600;
    }

    .invite-card .btn-yellow {
      min-height: 56px;
    }

    .invite-card-tabs {
      display: flex;
      flex-wrap: nowrap;
      gap: 8px;
      margin: 0 0 20px;
    }

    .invite-card-tab {
      flex: 1 1 0;
      min-width: 0;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.12);
      background: rgba(255, 255, 255, 0.04);
      color: rgba(200, 200, 200, 0.95);
      font-size: 13px;
      font-weight: 700;
      padding: 10px 12px;
      cursor: pointer;
      font-family: inherit;
      transition:
        background 0.2s,
        border-color 0.2s,
        color 0.2s;
    }

    .invite-card-tab[aria-selected="true"] {
      border-color: rgba(245, 200, 0, 0.75);
      background: rgba(245, 200, 0, 0.22);
      color: var(--cream);
      box-shadow: 0 0 0 1px rgba(245, 200, 0, 0.18);
      font-weight: 800;
      font-size: 13.5px;
    }

    .invite-tab-panel {
      width: 100%;
    }

    .invite-quick-wait {
      font-size: 14px;
      color: rgba(180, 180, 180, 0.95);
      padding: 8px 0 4px;
    }

    .invite-quick-guest-title {
      margin: 0 0 10px;
      font-size: 18px;
      font-weight: 800;
      color: var(--white);
    }

    .invite-quick-guest-desc {
      margin: 0 0 18px;
      font-size: 14px;
      line-height: 1.55;
      color: rgba(165, 165, 165, 0.98);
    }

    .invite-quick-guest-actions {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .invite-quick-guest-actions .btn-yellow,
    .invite-quick-guest-actions .btn-outline {
      width: 100%;
      justify-content: center;
      text-decoration: none !important;
      text-align: center;
      box-sizing: border-box;
    }

    .invite-quick-field {
      margin-bottom: 14px;
    }

    .invite-quick-field label {
      display: block;
      margin: 0 0 6px;
      font-size: 12px;
      font-weight: 700;
      color: rgba(200, 200, 200, 0.95);
      letter-spacing: 0.02em;
    }

    .invite-quick-label {
      display: block;
      margin: 0 0 6px;
      font-size: 12px;
      font-weight: 700;
      color: rgba(200, 200, 200, 0.95);
      letter-spacing: 0.02em;
    }

    .invite-quick-optional {
      font-weight: 600;
      font-size: 11px;
      opacity: 0.72;
    }

    .invite-quick-field input,
    .invite-quick-field select,
    .invite-quick-field textarea {
      width: 100%;
      box-sizing: border-box;
      min-height: 48px;
      border-radius: 14px;
      border: 1px solid rgba(245, 200, 0, 0.22);
      background: #171717;
      color: var(--cream);
      padding: 0 14px;
      font-size: 15px;
      font-weight: 600;
      font-family: inherit;
    }

    .invite-quick-field textarea {
      min-height: 72px;
      padding: 12px 14px;
      resize: vertical;
      line-height: 1.45;
    }

    .invite-quick-field input[type="date"],
    .invite-quick-field input[type="time"] {
      color-scheme: dark;
    }

    .invite-quick-field select {
      cursor: pointer;
    }

    .invite-quick-field input.input-error,
    .invite-quick-field select.input-error,
    .invite-quick-field textarea.input-error {
      border-color: rgba(255, 100, 100, 0.55);
      box-shadow: 0 0 0 2px rgba(255, 100, 100, 0.12);
    }

    .invite-quick-hint {
      margin: 6px 0 0;
      font-size: 12px;
      font-weight: 600;
      color: rgba(245, 200, 0, 0.85);
      line-height: 1.35;
    }

    .quick-plan-title-suggestions-panel {
      margin-top: 8px;
      padding: 10px 12px;
      border-radius: 14px;
      border: 1px solid rgba(255, 255, 255, 0.08);
      background: rgba(255, 255, 255, 0.04);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    }

    .quick-plan-title-suggestions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin: 0;
    }

    .quick-plan-title-suggestions .quick-chip--ghost {
      font-size: 12px;
      font-weight: 700;
      padding: 9px 12px;
      border-radius: 12px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      background: rgba(0, 0, 0, 0.2);
      color: rgba(210, 210, 215, 0.98);
      cursor: pointer;
      font-family: inherit;
      transition:
        border-color 0.18s ease,
        background 0.18s ease,
        color 0.18s ease,
        transform 0.18s var(--kg-ease-standard);
    }

    .quick-plan-title-suggestions .quick-chip--ghost:hover {
      border-color: rgba(245, 200, 0, 0.38);
      background: rgba(245, 200, 0, 0.08);
      color: var(--cream);
      transform: translateY(-1px);
    }

    .quick-plan-chips-panel {
      margin-top: 6px;
      padding: 10px 10px 12px;
      border-radius: 16px;
      border: 1px solid rgba(255, 255, 255, 0.08);
      background: rgba(255, 255, 255, 0.04);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 12px 36px rgba(0, 0, 0, 0.22);
    }

    .quick-plan-chips {
      display: flex;
      flex-wrap: nowrap;
      gap: 10px;
      margin: 0;
      padding: 2px 4px 4px;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      scroll-snap-type: x proximity;
      scrollbar-width: thin;
      scrollbar-color: rgba(245, 200, 0, 0.35) transparent;
    }

    .quick-plan-chips::-webkit-scrollbar {
      height: 4px;
    }

    .quick-plan-chips::-webkit-scrollbar-thumb {
      background: rgba(245, 200, 0, 0.28);
      border-radius: 999px;
    }

    .quick-plan-chips .quick-chip {
      flex: 0 0 auto;
      scroll-snap-align: start;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      min-height: 44px;
      padding: 8px 14px;
      border-radius: 14px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      background: rgba(0, 0, 0, 0.22);
      color: rgba(225, 225, 230, 0.98);
      font-size: 13px;
      font-weight: 700;
      font-family: inherit;
      cursor: pointer;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
      transition:
        border-color 0.18s ease,
        background 0.18s ease,
        color 0.18s ease,
        box-shadow 0.2s ease,
        transform 0.2s var(--kg-ease-standard);
    }

    .quick-chip-ic {
      font-size: 17px;
      line-height: 1;
      width: 32px;
      height: 32px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      border-radius: 10px;
      background: rgba(245, 200, 0, 0.08);
      border: 1px solid rgba(245, 200, 0, 0.18);
    }

    .quick-chip-txt {
      white-space: nowrap;
      line-height: 1.2;
    }

    .quick-plan-chips .quick-chip:hover {
      border-color: rgba(245, 200, 0, 0.28);
      background: rgba(245, 200, 0, 0.07);
      transform: translateY(-1px);
    }

    .quick-plan-chips .quick-chip[aria-pressed="true"] {
      border-color: rgba(245, 200, 0, 0.55);
      background: rgba(245, 200, 0, 0.14);
      color: var(--cream);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 0 0 1px rgba(245, 200, 0, 0.12);
    }

    .quick-plan-chips .quick-chip[aria-pressed="true"] .quick-chip-ic {
      background: rgba(245, 200, 0, 0.2);
      border-color: rgba(245, 200, 0, 0.45);
    }

    @media (prefers-reduced-motion: reduce) {
      .quick-plan-chips .quick-chip,
      .quick-plan-title-suggestions .quick-chip--ghost {
        transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
      }

      .quick-plan-chips .quick-chip:hover,
      .quick-plan-title-suggestions .quick-chip--ghost:hover {
        transform: none;
      }
    }

    .quick-plan-preview {
      margin-top: 6px;
      margin-bottom: 4px;
      padding: 14px 16px;
      border-radius: 16px;
      border: 1px solid rgba(245, 200, 0, 0.2);
      background: rgba(0, 0, 0, 0.35);
    }

    .quick-plan-preview-label {
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: rgba(165, 165, 165, 0.95);
      margin-bottom: 10px;
    }

    .quick-plan-preview-chip {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0.04em;
      color: rgba(245, 200, 0, 0.95);
      margin-bottom: 6px;
    }

    .quick-plan-preview-title {
      font-size: 17px;
      font-weight: 800;
      color: var(--white);
      margin: 0 0 6px;
      line-height: 1.25;
      word-break: break-word;
    }

    .quick-plan-preview-meta {
      font-size: 14px;
      font-weight: 600;
      color: rgba(200, 200, 200, 0.95);
      margin: 0 0 4px;
      line-height: 1.4;
    }

    .quick-plan-preview-venue {
      font-size: 13px;
      font-weight: 600;
      color: rgba(165, 165, 165, 0.98);
      margin: 0;
      line-height: 1.4;
    }

    .quick-plan-preview-desc {
      margin-top: 8px;
      font-size: 13px;
      color: rgba(180, 180, 180, 0.95);
      line-height: 1.45;
      display: none;
    }

    .quick-plan-preview-desc.is-visible {
      display: block;
    }

    #quickPlanSubmitBtn.is-loading {
      opacity: 0.85;
      pointer-events: none;
    }

    .invite-quick-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
    }

    @media (max-width: 520px) {
      .invite-quick-row {
        grid-template-columns: 1fr;
      }
    }

    .landing-quick-success h2 {
      margin: 0 0 10px;
      font-size: 22px;
      font-weight: 800;
      color: var(--white);
    }

    .landing-quick-success > p.sub {
      margin: 0 0 18px;
    }

    .landing-quick-summary {
      text-align: left;
      font-size: 14px;
      line-height: 1.55;
      color: rgba(210, 210, 210, 0.98);
      margin: 0 0 18px;
      padding: 14px 16px;
      border-radius: 16px;
      border: 1px solid rgba(255, 255, 255, 0.08);
      background: rgba(0, 0, 0, 0.25);
    }

    .landing-quick-summary dt {
      font-weight: 700;
      color: rgba(245, 200, 0, 0.9);
      margin-top: 10px;
    }

    .landing-quick-summary dt:first-child {
      margin-top: 0;
    }

    .landing-quick-summary dd {
      margin: 4px 0 0;
      font-weight: 600;
      color: var(--cream);
      overflow-wrap: anywhere;
    }

    .landing-quick-link {
      font-family: ui-monospace, "Cascadia Code", "SF Mono", Consolas, monospace;
      font-size: 13px;
    }

    .landing-quick-actions {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .landing-quick-actions .btn-yellow,
    .landing-quick-actions .btn-outline {
      width: 100%;
      justify-content: center;
    }

    @media (min-width: 560px) {
      .landing-quick-actions {
        flex-direction: row;
        flex-wrap: wrap;
      }

      .landing-quick-actions .btn-yellow,
      .landing-quick-actions .btn-outline {
        flex: 1 1 160px;
      }
    }

    .how-it-works {
      width: 100%;
      max-width: min(900px, 100%);
      margin-top: 22px;
      text-align: left;
    }

    .how-it-works-title {
      margin: 0 0 8px;
      font-size: 20px;
      font-weight: 800;
      letter-spacing: -0.02em;
      text-transform: none;
      color: var(--text);
      text-align: center;
    }

    .how-it-works-lead {
      margin: 0 auto 16px;
      max-width: 40rem;
      font-size: 14px;
      line-height: 1.55;
      font-weight: 500;
      color: rgba(161, 161, 170, 0.98);
      text-align: center;
    }

    @media (min-width: 769px) {
      .how-it-works-lead {
        margin-left: 0;
        margin-right: 0;
        text-align: left;
      }

      .how-it-works-title {
        text-align: left;
      }
    }

    .how-it-works-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 10px;
    }

    .how-card {
      display: flex;
      flex-direction: column;
      gap: 10px;
      padding: 16px 16px 16px 18px;
      border-radius: 20px;
      border: 1px solid var(--kg-border);
      background: linear-gradient(165deg, rgba(30, 30, 30, 0.98), rgba(20, 20, 20, 0.99));
      box-shadow:
        0 10px 36px rgba(0, 0, 0, 0.32),
        0 0 0 1px rgba(245, 200, 0, 0.05),
        0 0 40px rgba(245, 200, 0, 0.06);
    }

    .how-card-head {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .how-card-badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 34px;
      height: 34px;
      flex-shrink: 0;
      border-radius: 999px;
      font-size: 14px;
      font-weight: 800;
      color: #111;
      background: linear-gradient(180deg, var(--primary), var(--primary-dark));
      border: 1px solid rgba(245, 200, 0, 0.5);
      box-shadow: 0 0 22px rgba(245, 200, 0, 0.22);
    }

    .how-card-icon {
      width: 28px;
      height: 28px;
      color: rgba(245, 200, 0, 0.95);
      flex-shrink: 0;
      filter: drop-shadow(0 0 10px rgba(245, 200, 0, 0.35));
    }

    .how-card-icon svg {
      width: 28px;
      height: 28px;
      display: block;
      stroke: currentColor;
      fill: none;
    }

    .how-card h3 {
      margin: 0;
      font-size: 15px;
      font-weight: 800;
      color: var(--white);
      letter-spacing: -0.02em;
    }

    .how-card p {
      margin: 0;
      font-size: 13px;
      line-height: 1.5;
      color: rgba(165, 165, 165, 0.98);
      font-weight: 500;
    }

    .how-card p strong {
      color: rgba(228, 228, 231, 0.98);
      font-weight: 700;
    }

    .app-profile-fields {
      display: grid;
      gap: 14px;
      margin: 16px 0 18px;
      text-align: left;
    }

    .app-profile-fields .auth-field span {
      display: block;
      margin-bottom: 6px;
      font-size: 13px;
      font-weight: 700;
      color: #d1d5db;
    }

    .app-profile-textarea {
      min-height: 88px;
      resize: vertical;
      line-height: 1.45;
      padding-top: 12px;
      padding-bottom: 12px;
    }

    @media (min-width: 769px) {
      .how-it-works-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
      }
    }

    .btn-yellow {
      min-height: var(--touch-min);
      padding: 16px 24px;
      font-size: 16px;
      font-weight: 800;
      font-family: inherit;
      border: none;
      border-radius: 16px;
      background: linear-gradient(180deg, var(--primary), var(--primary-dark));
      color: #111;
      cursor: pointer;
      box-shadow: var(--kg-shadow-glow-strong);
      transition:
        transform var(--kg-motion-fast) var(--kg-ease-standard),
        filter var(--kg-motion-fast) var(--kg-ease-standard),
        box-shadow var(--kg-motion-base) var(--kg-ease-standard);
      white-space: nowrap;
      flex: 0 0 auto;
    }
    .btn-yellow:hover { filter: brightness(1.05); transform: translateY(-1px); }
    .btn-yellow:active { transform: translateY(0); }

    .secondary-block {
      margin-top: 26px;
      text-align: center;
      max-width: 100%;
    }
    .secondary-block .secondary-line {
      margin: 0;
      font-size: 14px;
      line-height: 1.5;
      color: rgba(175, 175, 175, 0.98);
      font-weight: 500;
    }
    .secondary-block .secondary-line + .secondary-line {
      margin-top: 8px;
      color: rgba(155, 155, 155, 0.95);
      font-weight: 600;
      max-width: 46ch;
      margin-left: auto;
      margin-right: auto;
    }

    .secondary-block .secondary-auth {
      margin: 10px 0 0;
      font-size: 13px;
      line-height: 1.5;
      color: rgba(165, 165, 165, 0.98);
      font-weight: 600;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
      gap: 6px 10px;
    }

    .secondary-block .secondary-auth a {
      color: var(--primary);
      text-decoration: none;
      font-weight: 700;
    }

    .secondary-block .secondary-auth a:hover {
      text-decoration: underline;
    }

    .secondary-cta-row {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      justify-content: center;
      align-items: stretch;
      margin-top: 14px;
    }

    .secondary-cta-row--solo {
      justify-content: center;
    }

    .secondary-cta-row--solo .secondary-cta-btn {
      flex: 1 1 auto;
      max-width: min(340px, 100%);
    }

    .secondary-cta-btn {
      flex: 1 1 160px;
      max-width: 260px;
      min-height: 44px;
      justify-content: center;
      text-decoration: none !important;
    }

    .secondary-line--muted {
      margin-top: 14px;
      font-size: 13px;
      line-height: 1.5;
      color: rgba(125, 125, 125, 0.96);
      font-weight: 500;
      max-width: 48ch;
      margin-left: auto;
      margin-right: auto;
    }

    .landing-text-btn--inline {
      font-size: inherit;
      vertical-align: baseline;
    }

    #landing-page .how-it-works {
      margin-top: 28px;
    }

    /* —— Landing motion (yalnızca ana sayfa) —— */
    #landing-page {
      position: relative;
      overflow: clip;
    }

    #landing-page .landing-shell {
      position: relative;
      z-index: 1;
    }

    .landing-ambient {
      position: absolute;
      inset: 0;
      pointer-events: none;
      overflow: hidden;
      z-index: 0;
    }

    .landing-ambient-orb {
      position: absolute;
      border-radius: 50%;
      filter: blur(72px);
      opacity: 0.55;
      will-change: transform;
    }

    .landing-ambient-orb--1 {
      width: min(420px, 70vw);
      height: min(420px, 70vw);
      top: -12%;
      left: -8%;
      background: radial-gradient(circle, rgba(245, 200, 0, 0.28) 0%, transparent 68%);
      animation: kg-landing-orb-drift-a 18s ease-in-out infinite;
    }

    .landing-ambient-orb--2 {
      width: min(360px, 62vw);
      height: min(360px, 62vw);
      top: 8%;
      right: -10%;
      background: radial-gradient(circle, rgba(245, 200, 0, 0.16) 0%, transparent 70%);
      animation: kg-landing-orb-drift-b 22s ease-in-out infinite;
    }

    .landing-ambient-orb--3 {
      width: min(300px, 55vw);
      height: min(300px, 55vw);
      bottom: 6%;
      left: 28%;
      background: radial-gradient(circle, rgba(255, 255, 255, 0.07) 0%, transparent 72%);
      animation: kg-landing-orb-drift-c 26s ease-in-out infinite;
    }

    @keyframes kg-landing-orb-drift-a {
      0%, 100% { transform: translate(0, 0) scale(1); }
      50% { transform: translate(28px, 18px) scale(1.06); }
    }

    @keyframes kg-landing-orb-drift-b {
      0%, 100% { transform: translate(0, 0) scale(1); }
      50% { transform: translate(-22px, 26px) scale(1.04); }
    }

    @keyframes kg-landing-orb-drift-c {
      0%, 100% { transform: translate(0, 0) scale(1); }
      50% { transform: translate(16px, -20px) scale(1.05); }
    }

    @keyframes kg-landing-rise {
      from {
        opacity: 0;
        transform: translateY(18px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes kg-landing-glow-pulse {
      0%, 100% {
        box-shadow:
          0 28px 80px rgba(0, 0, 0, 0.38),
          0 0 0 rgba(245, 200, 0, 0);
      }
      50% {
        box-shadow:
          0 32px 88px rgba(0, 0, 0, 0.42),
          0 0 48px rgba(245, 200, 0, 0.1);
      }
    }

    @keyframes kg-badge-shimmer {
      0%, 100% {
        box-shadow: 0 0 0 rgba(245, 200, 0, 0);
        border-color: rgba(245, 200, 0, 0.22);
      }
      50% {
        box-shadow: 0 0 28px rgba(245, 200, 0, 0.18);
        border-color: rgba(245, 200, 0, 0.42);
      }
    }

    @keyframes kg-example-float {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-7px); }
    }

    #landing-page .landing-shell.landing-motion-on .landing-hero .hero-badge {
      animation: kg-landing-rise 0.65s cubic-bezier(0.22, 1, 0.36, 1) both, kg-badge-shimmer 4s ease-in-out 0.8s infinite;
      animation-delay: 0.04s, 0.8s;
    }

    #landing-page .landing-shell.landing-motion-on .landing-hero h1 {
      animation: kg-landing-rise 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
      animation-delay: 0.1s;
      text-shadow: 0 0 48px rgba(245, 200, 0, 0.12);
    }

    #landing-page .landing-shell.landing-motion-on .landing-hero .hero-lead {
      animation: kg-landing-rise 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
      animation-delay: 0.18s;
    }

    #landing-page .landing-shell.landing-motion-on .landing-hero .hero-slogan {
      animation: kg-landing-rise 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
      animation-delay: 0.24s;
    }

    #landing-page .landing-shell.landing-motion-on .landing-invite-wrap {
      animation: kg-landing-rise 0.78s cubic-bezier(0.22, 1, 0.36, 1) both, kg-landing-glow-pulse 5s ease-in-out 1s infinite;
      animation-delay: 0.32s, 1s;
    }

    #landing-page .landing-shell.landing-motion-on .invite-card {
      background: linear-gradient(165deg, rgba(34, 34, 36, 0.96) 0%, rgba(20, 20, 22, 0.99) 100%);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      transition:
        border-color 0.25s ease,
        transform 0.25s var(--kg-ease-out);
    }

    #landing-page .landing-shell.landing-motion-on .invite-card:focus-within {
      border-color: rgba(245, 200, 0, 0.38);
      transform: translateY(-2px);
    }

    #landing-page .landing-shell.landing-motion-on .invite-code-input:focus {
      box-shadow:
        0 0 0 3px rgba(245, 200, 0, 0.14),
        0 0 24px rgba(245, 200, 0, 0.12);
    }

    #landing-page .landing-example-slide:not([hidden]) .landing-example-card {
      animation: kg-example-float 5.5s ease-in-out infinite;
    }

    #landing-page .landing-example-card:hover {
      animation: none;
    }

    .landing-reveal {
      opacity: 0;
      transform: translateY(22px);
      transition:
        opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .landing-reveal.is-visible {
      opacity: 1;
      transform: translateY(0);
    }

    .landing-reveal--delay-1.is-visible { transition-delay: 0.06s; }
    .landing-reveal--delay-2.is-visible { transition-delay: 0.14s; }
    .landing-reveal--delay-3.is-visible { transition-delay: 0.22s; }

    #landing-page .how-card {
      transition:
        transform 0.28s var(--kg-ease-out),
        border-color 0.22s ease,
        box-shadow 0.28s ease;
    }

    #landing-page .how-card:hover {
      transform: translateY(-4px);
      border-color: rgba(245, 200, 0, 0.22);
      box-shadow:
        0 16px 44px rgba(0, 0, 0, 0.36),
        0 0 0 1px rgba(245, 200, 0, 0.1),
        0 0 36px rgba(245, 200, 0, 0.08);
    }

    #landing-page .use-case-chip {
      transition:
        border-color 0.22s ease,
        background 0.22s ease,
        transform 0.28s var(--kg-ease-out),
        box-shadow 0.28s ease;
    }

    #landing-page .use-case-chip:hover .use-case-chip-ic {
      transform: scale(1.08) rotate(-4deg);
    }

    #landing-page .use-case-chip-ic {
      transition: transform 0.28s var(--kg-ease-out);
    }

    @media (prefers-reduced-motion: reduce) {
      #landing-page .landing-ambient-orb,
      #landing-page .landing-shell.landing-motion-on .landing-hero .hero-badge,
      #landing-page .landing-shell.landing-motion-on .landing-hero h1,
      #landing-page .landing-shell.landing-motion-on .landing-hero .hero-lead,
      #landing-page .landing-shell.landing-motion-on .landing-hero .hero-slogan,
      #landing-page .landing-shell.landing-motion-on .landing-invite-wrap,
      #landing-page .landing-example-slide:not([hidden]) .landing-example-card {
        animation: none !important;
      }

      .landing-reveal {
        opacity: 1;
        transform: none;
        transition: none;
      }

      #landing-page .how-card:hover,
      #landing-page .use-case-chip:hover,
      #landing-page .landing-shell.landing-motion-on .invite-card:focus-within {
        transform: none;
      }
    }

    .plan-wrap {
      flex: 1;
      width: 100%;
      max-width: min(560px, 100%);
      margin: 0 auto;
      padding:
        24px
        max(20px, env(safe-area-inset-right, 0px))
        max(32px, env(safe-area-inset-bottom, 0px))
        max(20px, env(safe-area-inset-left, 0px));
      box-sizing: border-box;
      min-width: 0;
    }

    /* Plan davet detayÄ± â€” bÃ¶lÃ¼mler arasÄ± tutarlÄ± boÅŸluk (mobil + web) */
    #plan-page #planDetailWrap {
      display: flex;
      flex-direction: column;
      gap: 20px;
      width: 100%;
      min-width: 0;
    }
    #plan-page #planDetailWrap > * {
      min-width: 0;
    }
    #plan-page .plan-intro {
      margin: 0;
    }
    #plan-page .plan-time-banner {
      margin: 0;
    }
    #plan-page .plan-card {
      margin-bottom: 0;
    }
    #plan-page .rsvp-block {
      display: flex;
      flex-direction: column;
      gap: 14px;
      margin: 0;
    }
    #plan-page .plan-arrival-block {
      margin: 0;
    }
    #plan-page .plan-participants-rollup {
      margin: 0;
    }
    #plan-page .plan-rsvp-self-summary {
      margin: 0;
      padding: 12px 14px;
      border-radius: 14px;
      border: 1px solid rgba(245, 200, 0, 0.14);
      background: rgba(22, 22, 22, 0.55);
    }
    #plan-page .plan-rsvp-participant-preview {
      margin: 0;
    }
    #plan-page .rsvp-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      text-align: center;
      box-sizing: border-box;
    }
    #plan-page .plan-arrival-actions .btn-outline {
      width: 100%;
      min-width: 0;
      box-sizing: border-box;
      justify-content: center;
      text-align: center;
    }
    .plan-intro {
      font-size: clamp(16px, 4vw, 18px);
      font-weight: 700;
      font-family: "Inter", system-ui, sans-serif;
      margin: 0 0 22px;
      line-height: 1.45;
      color: var(--white);
      overflow-wrap: break-word;
    }

    .plan-time-banner {
      position: relative;
      margin: 0 0 18px;
      padding: 16px 18px 16px 50px;
      border-radius: 16px;
      border: 1px solid rgba(245, 200, 0, 0.28);
      background: rgba(26, 26, 26, 0.92);
    }
    .plan-time-banner::before {
      content: "";
      position: absolute;
      left: 14px;
      top: 16px;
      width: 26px;
      height: 26px;
      background: center / contain no-repeat;
      opacity: 0.95;
    }
    .plan-time-banner--upcoming::before {
      background-image: url("/assets/states/plan-active.svg?v=1");
    }
    .plan-time-banner--ongoing::before {
      background-image: url("/assets/states/plan-started.svg?v=1");
    }
    .plan-time-banner--completed::before {
      background-image: url("/assets/states/plan-expired.svg?v=1");
    }
    .plan-time-banner--cancelled::before {
      background-image: url("/assets/states/plan-cancelled.svg?v=1");
    }
    .plan-time-banner--unknown::before {
      background-image: url("/assets/states/plan-pending.svg?v=1");
    }
    .plan-time-banner--upcoming {
      border-color: rgba(74, 222, 128, 0.35);
      background: rgba(22, 40, 28, 0.55);
    }
    .plan-time-banner--ongoing {
      border-color: rgba(245, 200, 0, 0.45);
      background: rgba(40, 32, 10, 0.55);
    }
    .plan-time-banner--completed {
      border-color: rgba(156, 163, 175, 0.35);
      background: rgba(24, 24, 28, 0.75);
    }
    .plan-time-banner--cancelled {
      border-color: rgba(248, 113, 113, 0.4);
      background: rgba(48, 22, 22, 0.55);
    }
    .plan-time-banner--unknown {
      border-color: rgba(147, 197, 253, 0.35);
      background: rgba(22, 28, 40, 0.55);
    }
    .plan-time-banner__title {
      margin: 0;
      font-size: 16px;
      font-weight: 800;
      color: var(--cream);
      line-height: 1.35;
    }
    .plan-time-banner__sub {
      margin: 8px 0 0;
      font-size: 14px;
      font-weight: 500;
      line-height: 1.45;
      color: #c4c9d4;
    }
    .plan-time-banner__sub[hidden] {
      display: none !important;
    }

    .plan-arrival-block {
      margin: 0 0 22px;
      padding: 16px 18px;
      border-radius: 16px;
      border: 1px solid rgba(245, 200, 0, 0.22);
      background: rgba(20, 20, 22, 0.88);
    }
    .plan-arrival-block h3 {
      margin: 0 0 6px;
      font-size: 15px;
      font-weight: 800;
      color: var(--cream);
    }
    .plan-arrival-hint {
      margin: 0 0 12px;
      font-size: 13px;
      line-height: 1.45;
      color: #9ca3af;
    }
    .plan-arrival-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .plan-arrival-actions button {
      flex: 1 1 120px;
      min-height: 44px;
    }

    .plan-meta-extra {
      position: relative;
      z-index: 1;
      margin: 10px 0 0;
      font-size: 14px;
      font-weight: 600;
      color: #d4d4d8;
    }

    .plan-rsvp-self-summary {
      margin: 12px 0 0;
      font-size: 15px;
      line-height: 1.45;
      color: #e5e7eb;
      font-weight: 500;
    }

    .plan-rsvp-self-summary strong {
      display: block;
      margin-bottom: 4px;
      font-size: 13px;
      font-weight: 700;
      color: #d4d4d8;
      letter-spacing: 0.02em;
      text-transform: uppercase;
    }

    .plan-rsvp-participant-preview {
      margin: 14px 0 0;
      padding: 12px 14px;
      border-radius: 14px;
      border: 1px solid rgba(245, 200, 0, 0.16);
      background: rgba(22, 22, 22, 0.65);
      list-style: none;
    }

    .plan-rsvp-participant-preview li {
      margin: 0;
      font-size: 14px;
      font-weight: 600;
      color: var(--cream);
    }

    .plan-participants-rollup {
      margin: 18px 0 0;
      padding: 14px 16px;
      border-radius: 16px;
      border: 1px solid rgba(245, 200, 0, 0.14);
      background: rgba(18, 18, 18, 0.72);
    }

    .plan-participants-rollup__title {
      margin: 0 0 10px;
      font-size: 13px;
      font-weight: 800;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      color: var(--muted);
    }

    .plan-participants-footnote {
      margin: 0 0 12px;
      font-size: 12px;
      font-weight: 600;
      line-height: 1.45;
      color: rgba(180, 180, 190, 0.95);
    }

    .plan-participants-rollup-list {
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .plan-participant-row {
      display: flex;
      flex-wrap: wrap;
      align-items: baseline;
      gap: 6px 10px;
      width: 100%;
      margin: 0;
      padding: 10px 12px;
      text-align: left;
      border-radius: 12px;
      border: 1px solid rgba(255, 255, 255, 0.08);
      background: rgba(255, 255, 255, 0.03);
      color: var(--cream);
      font-size: 14px;
      font-weight: 600;
      font-family: inherit;
      cursor: pointer;
      box-sizing: border-box;
    }

    .plan-participant-row:hover {
      border-color: rgba(245, 200, 0, 0.22);
      background: rgba(245, 200, 0, 0.05);
    }

    .plan-participant-row__name {
      font-weight: 800;
      color: #f4f4f5;
    }

    .plan-participant-badge {
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      padding: 3px 8px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.08);
      color: rgba(220, 220, 228, 0.95);
    }

    .plan-participant-badge--guest {
      background: rgba(120, 160, 255, 0.12);
      color: #b8c8ff;
    }

    .plan-participant-badge--auth {
      background: rgba(80, 200, 140, 0.12);
      color: #9ee0c0;
    }

    .plan-participant-badge--pending {
      background: rgba(245, 200, 0, 0.15);
      color: #f5c800;
    }

    .participant-detail-kv {
      margin: 0 0 10px;
      font-size: 14px;
      line-height: 1.45;
      color: var(--cream);
    }

    .participant-detail-kv span {
      display: block;
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 2px;
    }

    .plan-status {
      margin: 0 0 20px;
    }

    .plan-status--loading {
      padding: 18px 20px;
      border-radius: 18px;
      border: 1px solid rgba(245, 200, 0, 0.22);
      background: rgba(26, 26, 26, 0.92);
      font-size: 15px;
      font-weight: 600;
      color: var(--cream);
      text-align: center;
    }

    .plan-missing-card {
      padding: 28px 22px;
      border-radius: 24px;
      border: 1px solid rgba(245, 200, 0, 0.18);
      background: linear-gradient(180deg, rgba(31, 31, 31, 0.96), rgba(17, 17, 17, 0.96));
      box-shadow: 0 20px 56px rgba(0, 0, 0, 0.34);
      text-align: center;
    }

    .plan-missing-title {
      margin: 0 0 12px;
      font-size: clamp(20px, 5vw, 24px);
      font-weight: 800;
      color: var(--cream);
      letter-spacing: -0.02em;
    }

    .plan-missing-desc {
      margin: 0 0 20px;
      font-size: 15px;
      line-height: 1.6;
      color: #9ca3af;
      font-weight: 500;
    }

    .plan-missing-card .btn-outline {
      min-height: 48px;
      justify-content: center;
      margin: 0 auto;
      max-width: 280px;
    }

    /* Davet hata / bulunamadÄ± â€” yalnÄ±zca KimGeliyo kartÄ±; dÄ±ÅŸ sÄ±zÄ±ntÄ±ya karÅŸÄ± izolasyon */
    #plan-page.plan-page--invite-state .plan-wrap {
      max-width: 640px;
      padding-top: 32px;
      padding-bottom: max(48px, env(safe-area-inset-bottom, 0px));
    }

    .invite-error-page {
      margin: 0 0 24px;
    }

    .invite-error-card {
      margin: 0 auto;
      max-width: 640px;
      padding: 32px;
      border-radius: 28px;
      border: 1px solid rgba(245, 200, 0, 0.35);
      background: linear-gradient(180deg, rgba(28, 28, 28, 0.98), rgba(12, 12, 12, 0.98));
      box-shadow:
        0 0 0 1px rgba(245, 200, 0, 0.08),
        0 24px 72px rgba(0, 0, 0, 0.45);
      text-align: center;
    }

    .invite-error-brand {
      margin: 0 0 8px;
      font-size: 13px;
      font-weight: 800;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: rgba(245, 200, 0, 0.85);
    }

    .invite-error-mark {
      display: flex;
      justify-content: center;
      margin: 0 0 16px;
    }

    .invite-error-mark img {
      display: block;
      width: 48px;
      height: 48px;
    }

    .invite-error-title {
      margin: 0 0 12px;
      font-size: clamp(20px, 5vw, 26px);
      font-weight: 800;
      color: var(--cream);
      letter-spacing: -0.02em;
      line-height: 1.25;
    }

    .invite-error-desc {
      margin: 0 0 24px;
      font-size: 15px;
      line-height: 1.65;
      color: #b8bcc4;
      font-weight: 500;
    }

    .invite-error-desc-lead {
      display: inline;
    }

    .invite-error-desc-follow {
      display: inline;
    }

    .invite-error-actions {
      display: flex;
      flex-direction: column;
      align-items: stretch;
      gap: 12px;
      max-width: 360px;
      margin: 0 auto;
    }

    .invite-error-btn {
      width: 100%;
      justify-content: center;
      min-height: 48px;
    }

    .invite-error-btn.btn-outline.btn-with-icon {
      max-width: none;
    }

    @media (min-width: 769px) {
      .invite-error-actions {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        max-width: 520px;
      }

      .invite-error-btn--full {
        flex: 1 1 200px;
        min-width: 160px;
      }

      .invite-error-btn.btn-outline.btn-with-icon {
        flex: 1 1 220px;
      }
    }

    @media (max-width: 768px) {
      #plan-page.plan-page--invite-state .plan-wrap {
        margin: 96px 16px 32px;
        padding: 24px 18px max(32px, env(safe-area-inset-bottom, 0px));
      }

      .invite-error-card {
        width: 100%;
        padding: 24px 18px;
        border-radius: 22px;
      }

      .invite-error-desc-lead {
        display: none;
      }
    }

    #plan-page.plan-page--invite-state .invite-error-page canvas,
    #plan-page.plan-page--invite-state .invite-error-page iframe,
    #plan-page.plan-page--invite-state .invite-error-page .test-chart,
    #plan-page.plan-page--invite-state .invite-error-page .plot-output,
    #plan-page.plan-page--invite-state .invite-error-page img.chart {
      display: none !important;
      visibility: hidden !important;
      width: 0 !important;
      height: 0 !important;
      overflow: hidden !important;
      pointer-events: none !important;
    }

    .nav-auth-link--support {
      opacity: 0.78;
      font-weight: 600 !important;
      font-size: 12px !important;
    }

    .plan-card {
      position: relative;
      overflow: hidden;
      background: #1f1f1f;
      border: 1px solid rgba(245, 200, 0, 0.18);
      border-radius: 24px;
      padding: 24px 24px 22px;
      margin-bottom: 22px;
      box-shadow: 0 24px 64px rgba(0, 0, 0, 0.36);
    }
    .plan-card::after {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      opacity: 0.22;
      background-image: url("/assets/patterns/invite-soft-noise.svg?v=1");
      background-size: 80px 80px;
      mix-blend-mode: overlay;
    }
    .plan-card__head {
      position: relative;
      z-index: 1;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 12px;
      margin-bottom: 12px;
    }
    .plan-category-icon {
      position: relative;
      z-index: 1;
      flex-shrink: 0;
      width: 40px;
      height: 40px;
      padding: 6px;
      border-radius: 14px;
      background: rgba(0, 0, 0, 0.28);
      border: 1px solid rgba(245, 200, 0, 0.2);
      box-sizing: content-box;
      object-fit: contain;
    }
    .plan-card--cat-coffee {
      background:
        radial-gradient(120% 70% at 12% 0%, rgba(139, 90, 43, 0.42), transparent 52%),
        linear-gradient(168deg, rgba(245, 196, 0, 0.14), transparent 42%),
        #1f1f1f;
    }
    .plan-card--cat-football {
      background:
        radial-gradient(90% 60% at 80% 10%, rgba(22, 101, 52, 0.45), transparent 55%),
        linear-gradient(195deg, rgba(12, 46, 24, 0.55), transparent 50%),
        #1f1f1f;
    }
    .plan-card--cat-walk {
      background:
        radial-gradient(100% 55% at 20% 0%, rgba(34, 197, 94, 0.18), transparent 50%),
        repeating-linear-gradient(
          -18deg,
          transparent,
          transparent 10px,
          rgba(245, 200, 0, 0.04) 10px,
          rgba(245, 200, 0, 0.04) 11px
        ),
        #1f1f1f;
    }
    .plan-card--cat-food {
      background:
        radial-gradient(95% 60% at 50% -5%, rgba(245, 158, 11, 0.22), transparent 48%),
        linear-gradient(175deg, rgba(245, 200, 0, 0.1), transparent 45%),
        #1f1f1f;
    }
    .plan-card--cat-cinema {
      background:
        radial-gradient(80% 50% at 90% 20%, rgba(99, 102, 241, 0.22), transparent 55%),
        linear-gradient(200deg, rgba(15, 23, 42, 0.65), transparent 55%),
        #1f1f1f;
    }
    .plan-card--cat-birthday {
      background:
        radial-gradient(85% 55% at 30% 0%, rgba(236, 72, 153, 0.2), transparent 50%),
        radial-gradient(70% 50% at 85% 15%, rgba(245, 200, 0, 0.22), transparent 48%),
        #1f1f1f;
    }
    .plan-card--cat-wedding {
      background:
        radial-gradient(100% 65% at 50% -10%, rgba(245, 200, 0, 0.18), transparent 52%),
        linear-gradient(160deg, rgba(44, 36, 58, 0.55), transparent 50%),
        url("/assets/patterns/invite-dark-grid.svg?v=1"),
        #1a1820;
      background-size:
        auto,
        auto,
        32px 32px,
        auto;
    }
    .plan-card--cat-meeting {
      background:
        radial-gradient(90% 55% at 70% 0%, rgba(59, 130, 246, 0.16), transparent 52%),
        linear-gradient(185deg, rgba(245, 200, 0, 0.08), transparent 48%),
        #1f1f1f;
    }
    .plan-card--cat-game {
      background:
        radial-gradient(75% 50% at 15% 10%, rgba(168, 85, 247, 0.18), transparent 50%),
        linear-gradient(195deg, rgba(245, 200, 0, 0.09), transparent 46%),
        #1f1f1f;
    }
    .plan-card--cat-travel {
      background:
        radial-gradient(100% 60% at 50% 0%, rgba(56, 189, 248, 0.14), transparent 52%),
        linear-gradient(175deg, rgba(245, 200, 0, 0.08), transparent 45%),
        #1f1f1f;
    }
    .plan-card--cat-other {
      background:
        radial-gradient(80% 50% at 50% -5%, rgba(245, 200, 0, 0.12), transparent 50%),
        url("/assets/patterns/invite-yellow.svg?v=1"),
        #1f1f1f;
      background-size: auto, 64px 64px, auto;
    }
    .plan-chip {
      position: relative;
      z-index: 1;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 12px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: #111;
      background: var(--primary);
      padding: 6px 12px;
      border-radius: 999px;
      margin-bottom: 0;
    }
    .plan-card h2 {
      position: relative;
      z-index: 1;
      margin: 0 0 10px;
      font-size: clamp(20px, 5vw, 24px);
      font-weight: 800;
      font-family: "Inter", system-ui, sans-serif;
      color: var(--white);
      letter-spacing: -0.02em;
      overflow-wrap: break-word;
    }
    .plan-desc {
      position: relative;
      z-index: 1;
      margin: 0 0 18px;
      font-size: 15px;
      line-height: 1.55;
      color: #9ca3af;
      font-weight: 500;
    }
    .plan-meta {
      position: relative;
      z-index: 1;
      display: flex;
      flex-direction: column;
      gap: 8px;
      font-size: 14px;
      font-weight: 700;
      color: var(--text);
      padding-top: 14px;
      border-top: 1px solid rgba(255, 255, 255, 0.06);
    }
    .plan-meta span { color: var(--muted); font-weight: 600; margin-right: 6px; }

    .counts-row {
      position: relative;
      z-index: 1;
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 16px;
      font-size: 13px;
      font-weight: 700;
      color: var(--muted);
    }
    .counts-row strong { color: var(--cream); }

    .rsvp-block h3 {
      margin: 0 0 12px;
      font-size: 14px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--muted);
    }
    .rsvp-group {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }
    .rsvp-btn {
      flex: 1;
      min-width: min(100px, 30%);
      min-height: var(--touch-min);
      padding: 14px 12px;
      font-family: inherit;
      font-size: max(15px, 14px);
      font-weight: 800;
      border-radius: 12px;
      border: 1px solid rgba(255, 255, 255, 0.12);
      background: var(--panel);
      color: var(--text);
      cursor: pointer;
      transition:
        border-color var(--kg-motion-base) var(--kg-ease-standard),
        background var(--kg-motion-fast) var(--kg-ease-standard),
        color var(--kg-motion-fast) var(--kg-ease-standard);
    }
    .rsvp-btn:hover {
      border-color: var(--border-soft);
      background: var(--card);
    }
    .rsvp-btn.selected {
      border-color: var(--primary);
      background: rgba(245, 200, 0, 0.12);
      color: var(--primary);
    }
    .rsvp-btn .rsvp-checkmark {
      display: none;
      margin-left: 6px;
      font-weight: 900;
    }
    .rsvp-btn.selected .rsvp-checkmark {
      display: inline;
    }

    .rsvp-btn:disabled,
    .rsvp-btn[aria-disabled="true"],
    .rsvp-btn.is-disabled {
      opacity: 0.45;
      cursor: not-allowed;
      filter: grayscale(0.25);
      box-shadow: none;
    }

    .rsvp-btn:disabled:hover,
    .rsvp-btn[aria-disabled="true"]:hover,
    .rsvp-btn.is-disabled:hover {
      transform: none;
      box-shadow: none;
    }

    .plan-expired-note {
      margin: 0 0 14px;
      border: 1px solid rgba(255, 255, 255, 0.12);
      background: rgba(255, 255, 255, 0.04);
      border-radius: 18px;
      padding: 16px 18px;
      font-size: 14px;
      line-height: 1.5;
      font-weight: 600;
      color: var(--muted);
    }

    .plan-expired-note-sub {
      display: block;
      margin-top: 6px;
      font-size: 13px;
      font-weight: 500;
      color: rgba(160, 160, 170, 0.95);
    }

    .plan-app-open-extra {
      margin: 10px 0 0;
      font-size: 14px;
      line-height: 1.5;
      color: var(--muted);
    }

    .guest-rsvp-modal {
      position: fixed;
      inset: 0;
      z-index: 9000;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
      background: rgba(0, 0, 0, 0.72);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      cursor: pointer;
    }

    /* [hidden] + author display:flex â€” kapalÄ± modal ilk yÃ¼klemede gÃ¶rÃ¼nmesin (.kg-modal-backdrop ile aynÄ± dÃ¼zeltme). */
    .guest-rsvp-modal[hidden] {
      display: none !important;
    }

    .guest-rsvp-dialog {
      position: relative;
      z-index: 9010;
      width: min(400px, 100%);
      padding: 22px;
      border-radius: 16px;
      background: var(--card);
      border: 1px solid var(--border-soft);
      box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
      cursor: default;
    }

    #participantDetailModal .guest-rsvp-dialog {
      max-height: min(85vh, 560px);
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
    }
    .guest-rsvp-dialog h3 {
      margin: 0 0 8px;
      font-size: 18px;
    }
    .guest-rsvp-dialog .guest-rsvp-desc {
      margin: 0 0 16px;
      font-size: 14px;
      color: var(--muted);
      line-height: 1.45;
    }
    .guest-rsvp-dialog label {
      display: block;
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: var(--muted);
      margin-bottom: 6px;
    }
    .guest-rsvp-inline-error {
      margin: 0 0 12px;
      font-size: 13px;
      font-weight: 600;
      color: #ffb4b4;
      line-height: 1.35;
    }
    .guest-rsvp-dialog input {
      width: 100%;
      box-sizing: border-box;
      padding: 12px 14px;
      border-radius: 12px;
      border: 1px solid rgba(255, 255, 255, 0.12);
      background: var(--panel);
      color: var(--text);
      font-family: inherit;
      font-size: 16px;
      margin-bottom: 16px;
    }
    .guest-rsvp-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }
    .guest-rsvp-actions button {
      flex: 1;
      min-height: var(--touch-min);
    }

    .participant-detail-body {
      min-height: 1.5em;
    }

    .participant-detail-actions .btn-yellow {
      min-height: var(--touch-min);
    }

    @media (max-width: 768px) {
      .guest-rsvp-modal {
        align-items: flex-end;
        justify-content: center;
        padding: 16px;
        padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
      }

      .guest-rsvp-dialog {
        width: auto;
        left: 16px;
        right: 16px;
        max-width: none;
        max-height: calc(100svh - 32px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 28px;
        margin: 0;
      }

      .guest-rsvp-actions {
        flex-direction: column;
      }

      .guest-rsvp-actions button {
        width: 100%;
        min-height: 48px;
      }

      #plan-page .plan-wrap,
      .invite-detail-shell {
        padding-left: max(16px, env(safe-area-inset-left, 0px));
        padding-right: max(16px, env(safe-area-inset-right, 0px));
        padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
        box-sizing: border-box;
      }

      .faq-answer p {
        font-size: 15px;
      }
    }

    .landing-quick-code-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      flex-wrap: wrap;
    }
    .landing-quick-code-row span {
      font-weight: 800;
      letter-spacing: 0.06em;
    }
    .btn-copy-code {
      flex-shrink: 0;
      padding: 8px 12px;
      font-size: 13px;
      font-weight: 700;
      border-radius: 10px;
      border: 1px solid rgba(255, 255, 255, 0.14);
      background: var(--panel);
      color: var(--text);
      cursor: pointer;
      font-family: inherit;
    }
    .btn-copy-code:hover {
      border-color: var(--primary);
      color: var(--primary);
    }

    .app-open-block {
      margin-top: 0;
      padding: 18px;
      border-radius: 16px;
      background: var(--panel);
      border: 1px solid rgba(255, 255, 255, 0.06);
    }
    .app-open-block p {
      margin: 0 0 12px;
      font-size: 14px;
      line-height: 1.5;
      color: var(--muted);
      font-weight: 600;
    }

    #plan-page .plan-chat-section {
      margin-top: 0;
      padding: 16px;
      border-radius: 16px;
      border: 1px solid rgba(255, 255, 255, 0.08);
      background: var(--panel);
      display: flex;
      flex-direction: column;
      gap: 12px;
      min-height: 0;
    }
    #plan-page .plan-chat-head {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }
    #plan-page .plan-chat-title {
      margin: 0;
      font-size: 17px;
      font-weight: 800;
      color: var(--text);
    }
    #plan-page .plan-chat-hint {
      margin: 0;
      font-size: 13px;
      color: var(--muted);
      font-weight: 600;
      line-height: 1.45;
    }
    #plan-page .plan-chat-archive-banner {
      margin: 0;
      padding: 10px 12px;
      border-radius: 12px;
      background: rgba(245, 196, 0, 0.1);
      border: 1px solid rgba(245, 196, 0, 0.25);
      font-size: 13px;
      font-weight: 700;
      color: var(--text);
      line-height: 1.4;
    }
    #plan-page .plan-chat-messages {
      max-height: min(42svh, 360px);
      min-height: 120px;
      overflow-y: auto;
      overflow-x: hidden;
      display: flex;
      flex-direction: column;
      gap: 10px;
      padding: 8px 4px;
      border-radius: 12px;
      background: rgba(0, 0, 0, 0.12);
      scroll-behavior: smooth;
    }
    #plan-page .plan-chat-row {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      max-width: 100%;
    }
    #plan-page .plan-chat-row--mine {
      align-items: flex-end;
    }
    #plan-page .plan-chat-sender {
      font-size: 11px;
      font-weight: 800;
      color: var(--muted);
      padding: 0 4px 2px;
      max-width: 100%;
      overflow-wrap: anywhere;
    }
    #plan-page .plan-chat-bubble {
      max-width: min(92%, 320px);
      padding: 10px 12px;
      border-radius: 16px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      background: rgba(255, 255, 255, 0.06);
    }
    #plan-page .plan-chat-row--mine .plan-chat-bubble {
      background: rgba(245, 196, 0, 0.22);
      border-color: rgba(245, 196, 0, 0.35);
    }
    #plan-page .plan-chat-text {
      font-size: 14px;
      line-height: 1.45;
      color: var(--text);
      overflow-wrap: anywhere;
      word-break: break-word;
      white-space: pre-wrap;
    }
    #plan-page .plan-chat-meta {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 8px;
      padding: 6px 4px 0;
      max-width: 100%;
    }
    #plan-page .plan-chat-row--mine .plan-chat-meta {
      justify-content: flex-end;
    }
    #plan-page .plan-chat-row:not(.plan-chat-row--mine) .plan-chat-meta {
      justify-content: flex-start;
    }
    #plan-page .plan-chat-meta__time {
      font-size: 12px;
      line-height: 1.35;
      color: var(--muted);
      font-weight: 600;
    }
    #plan-page .plan-chat-delete {
      flex-shrink: 0;
      margin: 0;
      padding: 7px 14px;
      min-height: 34px;
      font-family: inherit;
      font-size: 13px;
      font-weight: 800;
      line-height: 1.2;
      letter-spacing: 0.02em;
      color: #fecaca;
      background: rgba(239, 68, 68, 0.14);
      border: 1px solid rgba(248, 113, 113, 0.45);
      border-radius: 999px;
      cursor: pointer;
      -webkit-tap-highlight-color: transparent;
      transition:
        background var(--kg-motion-fast) var(--kg-ease-standard),
        border-color var(--kg-motion-fast) var(--kg-ease-standard),
        color var(--kg-motion-fast) var(--kg-ease-standard);
    }
    #plan-page .plan-chat-delete:hover {
      background: rgba(239, 68, 68, 0.26);
      border-color: rgba(252, 165, 165, 0.65);
      color: #fff;
    }
    #plan-page .plan-chat-delete:active {
      transform: scale(0.98);
    }
    #plan-page .plan-chat-composer {
      display: flex;
      gap: 8px;
      align-items: flex-end;
      position: sticky;
      bottom: 0;
      z-index: 2;
      padding-bottom: max(4px, env(safe-area-inset-bottom, 0px));
      margin-top: auto;
      background: linear-gradient(to top, var(--panel) 70%, transparent);
    }
    #plan-page .plan-chat-composer textarea {
      flex: 1 1 0%;
      min-width: 0;
      min-height: 44px;
      max-height: 120px;
      resize: vertical;
      padding: 12px;
      border-radius: 12px;
      border: 1px solid var(--border-soft);
      background: rgba(0, 0, 0, 0.18);
      color: var(--text);
      font-family: inherit;
      font-size: max(16px, 15px);
      line-height: 1.35;
      box-sizing: border-box;
    }
    #plan-page .plan-chat-composer textarea:focus {
      outline: none;
      border-color: var(--primary);
    }
    #plan-page .plan-chat-send.btn-yellow {
      flex: 0 0 auto;
      flex-shrink: 0;
      width: auto;
      max-width: 38%;
      min-height: 44px;
      padding: 10px 14px;
      font-weight: 800;
      white-space: nowrap;
    }
    /* Plan davet â€” tablet / masaÃ¼stÃ¼ */
    @media (min-width: 601px) {
      #plan-page .plan-wrap {
        max-width: min(640px, calc(100vw - 40px));
      }
      #plan-page #planDetailWrap {
        gap: 22px;
      }
      #plan-page .rsvp-group {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        width: 100%;
      }
      #plan-page .rsvp-btn {
        width: 100%;
        min-width: 0;
        flex: none;
        min-height: 52px;
      }
      #plan-page .plan-arrival-actions {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
      }
      #plan-page .plan-chat-composer {
        flex-direction: row;
        align-items: flex-end;
      }
      #plan-page .plan-chat-composer textarea {
        flex: 1 1 0%;
        min-width: 0;
        width: auto;
      }
      #plan-page .plan-chat-send.btn-yellow {
        width: auto;
        max-width: none;
        min-width: 5.5rem;
        flex: 0 0 auto;
      }
    }

    /* Plan davet â€” dar mobil */
    @media (max-width: 600px) {
      #plan-page .plan-wrap {
        padding-left: max(14px, env(safe-area-inset-left, 0px));
        padding-right: max(14px, env(safe-area-inset-right, 0px));
      }
      #plan-page #planDetailWrap {
        gap: 16px;
      }
      #plan-page .plan-card {
        padding: 18px 16px 16px;
        border-radius: 20px;
      }
      #plan-page .plan-time-banner {
        padding: 14px 14px 14px 46px;
      }
      #plan-page .plan-time-banner__title {
        font-size: 15px;
      }
      #plan-page .rsvp-group {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 10px;
      }
      #plan-page .rsvp-btn {
        width: 100%;
        min-height: 52px;
        flex: none;
      }
      #plan-page .plan-arrival-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
      }
      #plan-page .plan-arrival-actions .btn-outline:last-child {
        grid-column: 1 / -1;
      }
      #plan-page .plan-arrival-actions .btn-outline {
        min-height: 48px;
      }
      #plan-page .plan-chat-composer {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
      }
      #plan-page .plan-chat-composer textarea {
        width: 100%;
        flex: none;
        max-height: 100px;
        resize: none;
        font-size: 16px;
      }
      #plan-page .plan-chat-send.btn-yellow {
        width: 100%;
        max-width: none;
        min-height: 48px;
      }
      #plan-page .plan-participant-row {
        align-items: flex-start;
      }
      #plan-page .plan-chat-meta {
        gap: 10px;
        padding-top: 8px;
      }
      #plan-page .plan-chat-meta__time {
        font-size: 13px;
      }
      #plan-page .plan-chat-delete {
        min-height: 40px;
        padding: 9px 16px;
        font-size: 14px;
      }
      #plan-page .plan-participants-rollup,
      #plan-page .plan-chat-section,
      #plan-page .plan-arrival-block {
        padding: 14px;
      }
      #plan-page .app-open-block {
        padding: 16px;
      }
    }
    #plan-page .plan-chat-footnote {
      margin: 0;
      font-size: 12px;
      color: var(--muted);
      font-weight: 600;
      line-height: 1.45;
    }

    .btn-outline {
      width: 100%;
      min-height: var(--touch-min);
      padding: 14px;
      font-family: inherit;
      font-size: max(15px, 14px);
      font-weight: 800;
      border-radius: 12px;
      border: 1px solid var(--border-soft);
      background: transparent;
      color: var(--primary);
      cursor: pointer;
      transition:
        transform var(--kg-motion-fast) var(--kg-ease-standard),
        background var(--kg-motion-fast) var(--kg-ease-standard),
        border-color var(--kg-motion-base) var(--kg-ease-standard);
    }
    .btn-outline:hover {
      background: rgba(245, 200, 0, 0.08);
      transform: translateY(-1px);
    }
    .btn-outline:active {
      transform: translateY(0);
    }

    /* â€”â€”â€” Legal routes: premium panel â€”â€”â€” */
    .legal-shell {
      flex: 1;
      width: 100%;
      max-width: 1120px;
      margin: 0 auto;
      padding:
        20px
        max(20px, env(safe-area-inset-right, 0px))
        max(28px, env(safe-area-inset-bottom, 0px))
        max(20px, env(safe-area-inset-left, 0px));
    }

    .legal-layout {
      display: flex;
      align-items: flex-start;
      justify-content: center;
      gap: clamp(0px, 3vw, 36px);
    }

    .legal-toc {
      display: none;
      width: 196px;
      flex-shrink: 0;
      align-self: flex-start;
      position: sticky;
      top: calc(env(safe-area-inset-top, 0px) + 84px);
      padding: 14px 0;
      border-radius: 18px;
      border: 1px solid rgba(245, 200, 0, 0.14);
      background: rgba(26, 26, 26, 0.88);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
    }

    @media (min-width: 769px) {
      .legal-toc {
        display: block;
      }
    }

    .legal-toc-title {
      margin: 0 0 10px;
      padding: 0 14px;
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 0.11em;
      text-transform: uppercase;
      color: #9ca3af;
    }

    .legal-toc nav {
      display: flex;
      flex-direction: column;
      gap: 2px;
      position: static;
      top: auto;
      z-index: auto;
      min-height: 0;
      margin: 0;
      padding: 0;
      background: transparent;
      backdrop-filter: none;
      -webkit-backdrop-filter: none;
      border: 0;
      box-shadow: none;
    }

    .legal-toc a {
      display: block;
      padding: 7px 14px;
      font-size: 13px;
      font-weight: 600;
      color: #9ca3af;
      text-decoration: none !important;
      border-radius: 8px;
      transition: color 0.15s, background 0.15s;
    }

    .legal-toc a:hover {
      color: #f5c800;
      background: rgba(245, 200, 0, 0.07);
    }

    .legal-panel {
      flex: 1;
      min-width: 0;
      width: 100%;
      max-width: 980px;
      padding: 48px;
      border-radius: 28px;
      border: 1px solid rgba(245, 200, 0, 0.16);
      background: linear-gradient(180deg, rgba(26, 26, 26, 0.96), rgba(17, 17, 17, 0.96));
      box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
      font-family: "Inter", system-ui, sans-serif;
      overflow-wrap: anywhere;
    }

    .legal-back {
      display: inline-flex;
      align-items: center;
      min-height: var(--touch-min);
      margin-bottom: 16px;
      padding: 4px 0;
      font-size: 14px;
      font-weight: 700;
      font-family: "Inter", system-ui, sans-serif;
      color: #f5c800 !important;
      text-decoration: none !important;
      letter-spacing: 0.01em;
    }

    .legal-back:hover {
      color: #ffe066 !important;
      text-decoration: underline !important;
    }

    .legal-eyebrow {
      margin: 0 0 14px;
      font-size: 13px;
      font-weight: 600;
      line-height: 1.45;
      color: #9ca3af;
      letter-spacing: 0.02em;
    }

    .legal-h1 {
      margin: 0 0 14px;
      font-size: clamp(24px, 4.2vw, 32px);
      font-weight: 800;
      line-height: 1.22;
      letter-spacing: -0.03em;
      color: #f4f4f5;
    }

    .legal-intro {
      margin: 0 0 8px;
      max-width: 48ch;
    }

    .legal-intro p {
      margin: 0 0 10px;
      font-size: 16px;
      line-height: 1.65;
      font-weight: 500;
      color: #9ca3af;
    }

    .legal-intro p:last-child {
      margin-bottom: 0;
    }

    .legal-intro strong {
      color: #d1d5db;
      font-weight: 700;
    }

    .legal-section {
      margin-top: 24px;
      padding-top: 24px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      scroll-margin-top: calc(env(safe-area-inset-top, 0px) + 88px);
    }

    .legal-section-head {
      display: flex;
      align-items: flex-start;
      gap: 14px;
      margin-bottom: 12px;
    }

    .legal-section-icon {
      flex-shrink: 0;
    }

    .legal-h2 {
      margin: 0;
      padding-top: 2px;
      font-size: 22px;
      font-weight: 800;
      line-height: 1.28;
      letter-spacing: -0.02em;
      color: #f4f4f5;
    }

    .legal-section-body p {
      margin: 0 0 14px;
      font-size: 16px;
      line-height: 1.7;
      font-weight: 500;
      color: #d1d5db;
    }

    .legal-section-body p:last-child {
      margin-bottom: 0;
    }

    .legal-section-body ul {
      margin: 0;
      padding-left: 1.2em;
      font-size: 16px;
      line-height: 1.65;
      font-weight: 500;
      color: #d1d5db;
    }

    .legal-section-body li {
      margin-bottom: 8px;
    }

    .legal-section-body li::marker {
      color: #f5c800;
    }

    .legal-callout {
      margin-top: 26px;
      padding: 16px 18px;
      border-radius: 16px;
      background: rgba(245, 200, 0, 0.1);
      border: 1px solid rgba(245, 200, 0, 0.28);
      font-size: 15px;
      line-height: 1.55;
      font-weight: 500;
      color: #e8e8ea;
    }

    .legal-callout strong {
      color: #f4f4f5;
      font-weight: 700;
    }

    .legal-callout a {
      color: #f5c800;
      font-weight: 600;
      word-break: break-all;
    }

    .legal-code {
      display: inline-block;
      margin: 0 2px;
      padding: 2px 8px;
      font-family: ui-monospace, monospace;
      font-size: 13px;
      font-weight: 600;
      color: #f5c800;
      background: rgba(0, 0, 0, 0.35);
      border-radius: 8px;
      border: 1px solid rgba(245, 200, 0, 0.2);
    }

    .legal-panel .legal-inline-link {
      color: #f5c800;
      font-weight: 600;
      cursor: pointer;
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    .delete-form {
      display: flex;
      flex-direction: column;
      gap: 14px;
      margin-top: 6px;
      max-width: 100%;
    }

    .delete-form-row {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 12px;
      align-items: end;
    }

    .delete-form .delete-field {
      display: flex;
      flex-direction: column;
      gap: 8px;
      flex: 1;
      min-width: 0;
    }

    .delete-form label {
      font-size: 13px;
      font-weight: 700;
      color: #d4d4d8;
      letter-spacing: 0.02em;
    }

    .delete-form input[type="email"] {
      width: 100%;
      min-height: 54px;
      padding: 16px 18px;
      border-radius: 14px;
      border: 1px solid rgba(255, 255, 255, 0.12);
      background: rgba(23, 23, 23, 0.95);
      color: #f4f4f5;
      font-size: max(16px, 15px);
      font-family: inherit;
      outline: none;
      transition: border-color 0.2s, box-shadow 0.2s;
    }

    .delete-form input[type="email"]:focus {
      border-color: rgba(245, 200, 0, 0.35);
      box-shadow: 0 0 0 3px rgba(245, 200, 0, 0.1);
    }

    .delete-form input[type="email"].input-error {
      border-color: rgba(244, 67, 54, 0.55);
    }

    .delete-form textarea {
      width: 100%;
      min-height: 100px;
      padding: 14px 18px;
      border-radius: 14px;
      border: 1px solid rgba(255, 255, 255, 0.12);
      background: rgba(23, 23, 23, 0.95);
      color: #f4f4f5;
      font-size: max(16px, 15px);
      font-family: inherit;
      line-height: 1.45;
      resize: vertical;
      outline: none;
      transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .delete-form textarea:focus {
      border-color: rgba(245, 200, 0, 0.35);
      box-shadow: 0 0 0 3px rgba(245, 200, 0, 0.1);
    }

    .delete-form textarea.input-error {
      border-color: rgba(244, 67, 54, 0.55);
    }

    .delete-form .btn-yellow {
      width: 100%;
      max-width: 100%;
      min-height: 56px;
      justify-content: center;
    }

    @media (min-width: 640px) {
      .delete-form-row {
        grid-template-columns: 1fr auto;
      }
      .delete-form .delete-field {
        min-width: 0;
      }
      .delete-form .btn-yellow {
        width: auto;
        min-width: 200px;
      }
    }

    @media (max-width: 600px) {
      .legal-shell {
        padding: 16px max(16px, env(safe-area-inset-right, 0px)) 24px max(16px, env(safe-area-inset-left, 0px));
      }
      .legal-panel {
        padding: 24px 20px;
        border-radius: 22px;
      }
      .legal-h1 {
        font-size: clamp(22px, 5.5vw, 28px);
      }
      .legal-h2 {
        font-size: 19px;
      }
      .legal-section-icon {
        width: 38px;
        height: 38px;
        font-size: 15px;
      }
    }

    /* â€”â€”â€” FAQ (/faq) â€”â€”â€” */
    .faq-shell {
      flex: 1;
      width: 100%;
      max-width: 900px;
      margin: 0 auto;
      padding:
        20px
        max(20px, env(safe-area-inset-right, 0px))
        max(28px, env(safe-area-inset-bottom, 0px))
        max(20px, env(safe-area-inset-left, 0px));
    }

    .faq-panel {
      padding: 40px 40px 36px;
      border-radius: 24px;
      border: 1px solid rgba(245, 200, 0, 0.18);
      background: linear-gradient(180deg, rgba(26, 26, 26, 0.96), rgba(17, 17, 17, 0.96));
      box-shadow: 0 24px 72px rgba(0, 0, 0, 0.34);
      font-family: "Inter", system-ui, sans-serif;
    }

    .faq-back {
      display: inline-flex;
      align-items: center;
      min-height: var(--touch-min);
      margin-bottom: 16px;
      padding: 4px 0;
      font-size: 14px;
      font-weight: 700;
      color: #f5c800 !important;
      text-decoration: none !important;
    }

    .faq-back:hover {
      color: #ffe066 !important;
      text-decoration: underline !important;
    }

    .faq-badge {
      display: inline-flex;
      align-items: center;
      margin: 0 0 14px;
      padding: 7px 14px;
      border-radius: 999px;
      border: 1px solid rgba(245, 200, 0, 0.22);
      background: rgba(245, 200, 0, 0.06);
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: #f5c800;
    }

    .faq-h1 {
      margin: 0 0 12px;
      font-size: clamp(24px, 4.2vw, 32px);
      font-weight: 800;
      line-height: 1.22;
      letter-spacing: -0.03em;
      color: #f4f4f5;
    }

    .faq-lead {
      margin: 0 0 28px;
      max-width: 52ch;
      font-size: 16px;
      line-height: 1.65;
      font-weight: 500;
      color: #9ca3af;
    }

    .faq-help-hub {
      margin: -12px 0 24px;
      max-width: 52ch;
      font-size: 15px;
      line-height: 1.6;
      color: #9ca3af;
    }

    .faq-help-hub a {
      color: #f5c518;
      text-decoration: underline;
      text-underline-offset: 2px;
    }

    .faq-guide-links {
      margin-top: 28px;
      padding-top: 20px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      display: flex;
      flex-wrap: wrap;
      gap: 12px 20px;
      font-size: 14px;
    }

    .faq-guide-links a {
      color: #f5c518;
      text-decoration: none;
    }

    .faq-guide-links a:hover {
      text-decoration: underline;
    }

    .faq-accordion {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .faq-item {
      border-radius: 20px;
      border: 1px solid rgba(255, 255, 255, 0.08);
      background: rgba(26, 26, 26, 0.92);
      overflow: hidden;
      transition: border-color 0.2s, box-shadow 0.2s;
    }

    .faq-item:hover {
      border-color: rgba(245, 200, 0, 0.22);
    }

    .faq-item.is-open {
      border-color: rgba(245, 200, 0, 0.32);
      box-shadow: inset 3px 0 0 #f5c800;
    }

    .faq-trigger {
      position: relative;
      width: 100%;
      min-height: 52px;
      display: flex;
      align-items: center;
      padding: 16px 18px;
      border: none;
      background: transparent;
      color: #f4f4f5;
      font-family: inherit;
      font-size: 16px;
      font-weight: 700;
      line-height: 1.35;
      text-align: left;
      cursor: pointer;
    }

    .faq-trigger-text {
      display: block;
      min-width: 0;
      padding-right: 48px;
    }

    .faq-icon {
      position: absolute;
      right: 16px;
      top: 50%;
      transform: translateY(-50%);
      flex-shrink: 0;
      width: 28px;
      height: 28px;
      border-radius: 999px;
      border: 1px solid rgba(245, 200, 0, 0.28);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      font-weight: 700;
      line-height: 1;
      color: #f5c800;
      background: rgba(245, 200, 0, 0.08);
      transition:
        transform var(--kg-motion-base) var(--kg-ease-standard),
        background var(--kg-motion-fast) var(--kg-ease-standard),
        border-color var(--kg-motion-fast) var(--kg-ease-standard);
    }

    .faq-icon::before {
      content: "+";
      display: inline-block;
      transition: transform var(--kg-motion-base) var(--kg-ease-standard);
    }

    .faq-item.is-open .faq-icon::before {
      content: "âˆ’";
      transform: rotate(180deg);
    }

    .faq-answer {
      padding: 0 20px;
      overflow: hidden;
      max-height: 0;
      opacity: 0;
      pointer-events: none;
      transition:
        opacity var(--kg-motion-base) var(--kg-ease-standard),
        max-height var(--kg-motion-base) var(--kg-ease-standard),
        padding var(--kg-motion-base) var(--kg-ease-standard);
    }

    .faq-item.is-open .faq-answer {
      max-height: min(2400px, 80vh);
      opacity: 1;
      padding: 0 20px 18px;
      pointer-events: auto;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
    }

    .faq-answer p {
      margin: 0;
      font-size: 16px;
      line-height: 1.7;
      font-weight: 500;
      color: #d1d5db;
      overflow-wrap: anywhere;
    }

    .faq-answer a {
      color: #f5c800;
      font-weight: 600;
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    @media (max-width: 600px) {
      .faq-shell {
        padding: 16px max(22px, env(safe-area-inset-right, 0px)) 24px max(22px, env(safe-area-inset-left, 0px));
      }
      .faq-panel {
        padding: 18px 16px 18px;
        border-radius: 20px;
      }
    }

    /* Ä°letiÅŸim */
    .contact-support-card {
      margin: 0 0 24px;
      padding: 20px;
      border-radius: 20px;
      border: 1px solid rgba(245, 200, 0, 0.2);
      background: rgba(26, 26, 26, 0.95);
    }
    .contact-support-card h2 {
      margin: 0 0 10px;
      font-size: 15px;
      font-weight: 800;
      color: #f4f4f5;
    }
    .contact-addr-heading {
      margin: 0 0 4px;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: rgba(180, 180, 180, 0.95);
    }
    .contact-support-card p {
      margin: 0 0 8px;
      font-size: 15px;
      line-height: 1.55;
      color: #9ca3af;
      font-weight: 500;
    }
    .contact-support-card a {
      color: #f5c800;
      font-weight: 700;
      text-decoration: none;
    }
    .contact-support-card a:hover {
      text-decoration: underline;
    }
    .contact-mail-line {
      margin: 0 0 8px !important;
      font-size: 16px !important;
      font-weight: 700 !important;
      color: #9ca3af !important;
    }
    .contact-mail-hint {
      margin: 0 !important;
      font-size: 14px !important;
      line-height: 1.55 !important;
      color: rgba(175, 175, 175, 0.98) !important;
      font-weight: 500 !important;
    }
    .contact-form {
      display: flex;
      flex-direction: column;
      gap: 16px;
      max-width: 520px;
    }
    .contact-field label {
      display: block;
      margin-bottom: 6px;
      font-size: 13px;
      font-weight: 700;
      color: #d1d5db;
    }
    .contact-field input,
    .contact-field select,
    .contact-field textarea {
      width: 100%;
      min-height: 48px;
      padding: 12px 14px;
      border-radius: 14px;
      border: 1px solid rgba(255, 255, 255, 0.12);
      background: #171717;
      color: var(--cream);
      font-family: inherit;
      font-size: 15px;
      font-weight: 600;
      outline: none;
    }
    .contact-field textarea {
      min-height: 140px;
      resize: vertical;
      line-height: 1.5;
    }
    .contact-field input:focus,
    .contact-field select:focus,
    .contact-field textarea:focus {
      border-color: rgba(245, 200, 0, 0.45);
      box-shadow: 0 0 0 3px rgba(245, 200, 0, 0.12);
    }

    /* Auth */
    .auth-shell {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      padding:
        clamp(20px, 4vh, 40px)
        max(20px, env(safe-area-inset-right, 0px))
        max(28px, env(safe-area-inset-bottom, 0px))
        max(20px, env(safe-area-inset-left, 0px));
    }

    .auth-card {
      width: 100%;
      max-width: 420px;
      padding: clamp(24px, 5vw, 32px);
      border-radius: 24px;
      border: 1px solid var(--border-soft);
      background: linear-gradient(165deg, rgba(28, 28, 28, 0.98), rgba(17, 17, 17, 0.98));
      box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
    }

    .auth-logo {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 22px;
      text-decoration: none !important;
      color: var(--cream);
    }

    .auth-logo img {
      width: 48px;
      height: 48px;
      border-radius: 14px;
    }

    .auth-logo-text {
      font-family: "Syne", sans-serif;
      font-size: 22px;
      font-weight: 800;
      letter-spacing: -0.02em;
    }

    .auth-eyebrow {
      display: inline-flex;
      margin: 0 0 10px;
      padding: 6px 12px;
      border-radius: 999px;
      border: 1px solid rgba(245, 200, 0, 0.28);
      background: rgba(245, 200, 0, 0.08);
      color: var(--primary);
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    .auth-title {
      margin: 0 0 8px;
      font-family: "Syne", sans-serif;
      font-size: clamp(28px, 6vw, 34px);
      line-height: 1.1;
      letter-spacing: -0.03em;
      color: var(--cream);
    }

    .auth-subtitle {
      margin: 0 0 22px;
      font-size: 15px;
      line-height: 1.6;
      color: #b4b4b4;
    }

    .auth-form {
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .auth-field {
      display: flex;
      flex-direction: column;
      gap: 8px;
      font-size: 13px;
      font-weight: 600;
      color: #d1d5db;
    }

    .auth-input {
      width: 100%;
      min-height: var(--touch-min);
      padding: 12px 14px;
      border-radius: 14px;
      border: 1px solid rgba(245, 200, 0, 0.22);
      background: rgba(0, 0, 0, 0.35);
      color: var(--cream);
      font-size: 16px;
      font-family: inherit;
      transition: border-color 0.2s, box-shadow 0.2s;
    }

    .auth-input:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(245, 200, 0, 0.16);
    }

    .auth-input.input-error {
      border-color: #f44336;
      box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.14);
    }

    .auth-password-wrap {
      position: relative;
      display: block;
    }

    .auth-password-wrap.password-field .auth-input {
      padding-right: 56px;
    }

    .auth-password-toggle.password-toggle {
      position: absolute;
      top: 50%;
      right: 12px;
      transform: translateY(-50%);
      z-index: 2;
      width: 44px;
      height: 44px;
      min-height: 44px;
      min-width: 44px;
      padding: 0;
      border: 0;
      border-radius: 10px;
      background: transparent;
      color: var(--kg-muted);
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      -webkit-tap-highlight-color: transparent;
    }

    .auth-password-toggle.password-toggle svg,
    .auth-password-toggle.password-toggle .kg-icon,
    .auth-password-toggle.password-toggle span {
      pointer-events: none;
    }

    .auth-password-toggle.password-toggle:hover,
    .auth-password-toggle.password-toggle:focus-visible {
      outline: none;
      color: var(--kg-yellow);
    }

    .auth-password-toggle.password-toggle.is-visible {
      color: var(--kg-yellow);
    }

    .auth-check {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      font-size: 13px;
      line-height: 1.5;
      color: #b4b4b4;
      font-weight: 500;
    }

    .auth-check input {
      margin-top: 3px;
      accent-color: var(--primary);
    }

    .auth-check a {
      color: var(--primary);
      font-weight: 600;
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    .auth-submit {
      width: 100%;
      margin-top: 4px;
    }

    .auth-links {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-top: 18px;
    }

    .auth-links a {
      color: #b4b4b4;
      font-size: 14px;
      font-weight: 600;
      text-decoration: none !important;
    }

    .auth-links a:hover {
      color: var(--primary);
    }

    .app-dashboard,
    .app-shell {
      flex: 1 1 auto;
      display: grid;
      grid-template-columns: var(--kg-sidebar-width) minmax(0, 1fr);
      gap: 28px;
      align-items: stretch;
      width: 100%;
      max-width: min(var(--kg-app-shell-max), 100%);
      margin: 0 auto;
      padding:
        28px
        max(var(--kg-page-gutter), env(safe-area-inset-right, 0px))
        40px
        max(var(--kg-page-gutter), env(safe-area-inset-left, 0px));
      min-height: 0;
    }

    .app-content {
      min-width: 0;
      width: 100%;
    }

    .app-panels {
      margin-top: 4px;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    /* Tek aktif panel: .app-panel-stack ayrÄ± display vermez; aksi halde display:flex
       tÃ¼m panellerde .app-panel { display:none } kuralÄ±nÄ± ezer ve hepsi gÃ¶rÃ¼nÃ¼r. */
    .app-panel {
      display: none !important;
      flex-direction: column;
      gap: 18px;
    }

    .app-panel.is-active {
      display: flex !important;
    }

    .app-account-email-display {
      margin: 0;
      font-size: 16px;
      font-weight: 700;
      color: var(--cream);
      letter-spacing: 0.02em;
    }

    .account-email-value {
      overflow-wrap: anywhere;
      word-break: break-word;
    }

    .app-account-settings-stack {
      display: flex;
      flex-direction: column;
      gap: 18px;
      padding-bottom: max(28px, env(safe-area-inset-bottom, 0px));
    }

    .app-account-card {
      padding: 20px;
      border-radius: 20px;
    }

    .app-account-card__title {
      margin: 0 0 12px;
      font-size: 18px;
      font-weight: 800;
      color: #f4f4f5;
    }

    .app-account-card__subtitle {
      margin: 0 0 8px;
      font-size: 15px;
      font-weight: 700;
      color: var(--cream);
    }

    .app-account-card__label {
      margin: 0 0 4px;
      font-size: 13px;
    }

    .app-account-card__desc {
      margin: 12px 0 0;
      font-size: 14px;
      line-height: 1.45;
    }

    .app-account-verify {
      margin: 8px 0 0;
      font-size: 14px;
    }

    .app-account-session {
      margin: 10px 0 0;
      font-size: 14px;
    }

    .app-account-actions {
      margin-top: 14px;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .app-account-btn-primary,
    .app-account-btn-secondary,
    .app-account-install-btn {
      min-height: 44px;
      box-sizing: border-box;
    }

    button[data-send-email-verification].is-loading {
      opacity: 0.72;
      pointer-events: none;
    }

    @media (max-width: 559px) {
      .app-account-btn-primary,
      .app-account-btn-secondary,
      .app-account-install-btn {
        width: 100%;
        justify-content: center;
      }
    }

    @media (min-width: 560px) {
      .app-account-actions {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
      }

      .app-account-notif-actions {
        align-items: flex-start;
      }

      .app-account-install-btn {
        width: auto;
        min-width: 160px;
      }
    }

    .btn-account-danger-outline {
      border-color: rgba(248, 113, 113, 0.42);
      color: rgba(253, 224, 224, 0.96);
    }

    .btn-account-danger-outline:hover {
      border-color: rgba(248, 113, 113, 0.62);
      background: rgba(248, 113, 113, 0.07);
      color: #fff;
    }

    .app-account-notif-status {
      font-weight: 800;
      margin: 10px 0 6px;
      color: var(--cream);
    }

    .app-account-notif-hint {
      margin: 0 0 12px;
      line-height: 1.45;
      font-size: 14px;
    }

    .app-account-notif-hint--detail {
      margin: 4px 0 12px;
      font-size: 12px;
      line-height: 1.45;
      color: rgba(186, 186, 194, 0.92);
    }

    .kg-checkbox-row {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      margin: 12px 0;
      cursor: pointer;
      font-size: 14px;
      color: #f4f4f5;
      line-height: 1.35;
    }

    .kg-checkbox-row input[type="checkbox"] {
      margin-top: 3px;
      flex-shrink: 0;
    }

    .kg-checkbox-row--muted {
      opacity: 0.9;
    }

    .app-account-install-wrap {
      width: 100%;
    }

    @media (min-width: 560px) {
      .app-account-install-wrap {
        width: auto;
      }
    }

    .app-account-privacy-links {
      margin-top: 12px;
    }

    #appPanelSecurity .kg-card:hover {
      border-color: rgba(245, 200, 0, 0.22);
      box-shadow: 0 10px 32px rgba(0, 0, 0, 0.2);
      transition:
        border-color var(--kg-motion-fast) var(--kg-ease-standard),
        box-shadow var(--kg-motion-base) var(--kg-ease-standard);
    }

    .app-security-kv-list {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-bottom: 14px;
    }

    .app-security-kv {
      display: flex;
      flex-wrap: wrap;
      align-items: baseline;
      justify-content: space-between;
      gap: 8px 16px;
      padding: 10px 14px;
      border-radius: 14px;
      border: 1px solid rgba(255, 255, 255, 0.06);
      background: rgba(255, 255, 255, 0.03);
    }

    .app-security-kv__k {
      font-size: 13px;
      font-weight: 600;
      color: rgba(245, 245, 245, 0.55);
    }

    .app-security-kv__v {
      font-size: 15px;
      font-weight: 700;
      color: var(--cream);
      text-align: right;
      word-break: break-word;
    }

    .app-security-session-note {
      margin: 0;
      font-size: 14px;
      line-height: 1.45;
    }

    .app-security-card-head {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 12px;
    }

    .app-security-card-head__title {
      margin: 0 !important;
    }

    .app-security-badge {
      flex-shrink: 0;
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 0.07em;
      text-transform: uppercase;
      padding: 7px 12px;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.12);
      background: rgba(255, 255, 255, 0.05);
      color: #c8c8c8;
    }

    .app-security-muted-action {
      margin-top: 14px;
    }

    .app-security-info-btn {
      min-height: 44px;
      padding-left: 18px;
      padding-right: 18px;
      font-weight: 700;
    }

    .app-security-logout-btn {
      border-color: rgba(245, 200, 0, 0.28);
      color: var(--cream);
      background: rgba(255, 255, 255, 0.02);
      font-weight: 700;
      min-height: 44px;
    }

    .app-security-logout-btn:hover {
      border-color: rgba(245, 200, 0, 0.42);
      background: rgba(245, 200, 0, 0.06);
      color: #fff;
    }

    @media (max-width: 559px) {
      .app-security-info-btn,
      .app-security-logout-btn {
        width: 100%;
        justify-content: center;
      }
    }

    .app-hero-lead {
      margin: 0;
      margin-top: 4px;
      font-size: 16px;
      line-height: 1.6;
      color: var(--app-text-secondary);
    }

    .app-invite-card {
      padding: 20px;
      border-radius: 20px;
      border: 1px solid rgba(245, 200, 0, 0.16);
      background: rgba(31, 31, 31, 0.92);
    }

    .app-invite-card h3 {
      margin: 0 0 6px;
      font-size: 17px;
      font-weight: 800;
      color: #f4f4f5;
    }

    .app-invite-card .app-invite-meta {
      margin: 0 0 14px;
      font-size: 14px;
      line-height: 1.55;
      color: #9ca3af;
    }

    .app-invite-card-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .app-invite-card-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
      flex-wrap: wrap;
      margin-bottom: 8px;
    }
    .app-invite-card-head h3 {
      margin: 0;
      flex: 1 1 auto;
      min-width: 0;
    }
    .app-invite-status {
      flex: 0 0 auto;
      font-size: 12px;
      font-weight: 700;
      padding: 4px 10px;
      border-radius: 999px;
      line-height: 1.3;
    }
    .app-invite-status--pending {
      background: rgba(234, 179, 8, 0.18);
      color: #facc15;
    }
    .app-invite-status--going {
      background: rgba(76, 175, 80, 0.2);
      color: #86efac;
    }
    .app-invite-status--maybe {
      background: rgba(245, 200, 0, 0.16);
      color: #fde047;
    }
    .app-invite-status--not {
      background: rgba(244, 67, 54, 0.15);
      color: #fca5a5;
    }

    .app-invite-status--noreply {
      background: rgba(255, 255, 255, 0.06);
      color: var(--muted);
    }

    .app-plan-row-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 10px;
      flex-wrap: wrap;
      margin-bottom: 4px;
    }

    .app-plan-code-pill {
      flex-shrink: 0;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 0.08em;
      padding: 4px 8px;
      border-radius: 8px;
      border: 1px solid rgba(245, 196, 0, 0.28);
      color: var(--primary);
      background: rgba(245, 200, 0, 0.08);
    }

    .app-plan-row-venue {
      margin: 4px 0 0;
      font-size: 13px;
      line-height: 1.45;
      color: var(--muted);
    }

    .app-plan-row-meta--time {
      margin-top: 4px !important;
    }

    .app-plan-row-code-line {
      margin: 6px 0 0;
      font-size: 13px;
      line-height: 1.45;
      color: #d1d5db;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 8px;
    }

    .app-plan-row-code-label {
      font-weight: 700;
      color: var(--muted);
    }

    .app-calendar-panel__title {
      margin-bottom: 10px !important;
    }

    .app-calendar-empty__foot {
      margin-top: 14px !important;
      margin-bottom: 0 !important;
      font-size: 13px !important;
      line-height: 1.5 !important;
      max-width: 40ch;
      margin-left: auto !important;
      margin-right: auto !important;
    }

    .app-plan-lifecycle-badges {
      display: inline-flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 6px;
    }
    .app-plan-cancelled-note {
      width: 100%;
      margin: 6px 0 0;
      font-size: 13px;
      line-height: 1.45;
      color: rgba(248, 113, 113, 0.85);
    }
    .app-plan-lifecycle-badge--cancelled {
      border-style: dashed;
      opacity: 0.95;
    }

    .app-profile-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 14px 18px;
    }

    @media (min-width: 769px) {
      .app-profile-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .app-profile-grid .app-profile-field--full {
        grid-column: 1 / -1;
      }
    }

    .app-interest-chips {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 8px;
      min-height: 28px;
    }

    .app-interest-chip {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 6px 8px 6px 12px;
      border-radius: 999px;
      font-size: 13px;
      font-weight: 600;
      color: var(--cream);
      border: 1px solid rgba(245, 196, 0, 0.22);
      background: rgba(245, 200, 0, 0.08);
    }

    .app-interest-chip-remove {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 28px;
      height: 28px;
      margin: 0;
      padding: 0;
      border: none;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.06);
      color: #d4d4d8;
      font-size: 18px;
      line-height: 1;
      cursor: pointer;
      touch-action: manipulation;
    }

    .app-interest-chip-remove:hover {
      background: rgba(248, 113, 113, 0.15);
      color: #fecaca;
    }

    .app-interest-chip-remove:focus-visible {
      outline: 2px solid rgba(245, 196, 0, 0.65);
      outline-offset: 1px;
    }

    .app-interest-suggestions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin: 0 0 10px;
    }

    .app-interest-suggestion {
      border-radius: 999px;
      border: 1px dashed rgba(255, 255, 255, 0.16);
      background: rgba(255, 255, 255, 0.03);
      color: #e5e7eb;
      font-size: 12px;
      font-weight: 700;
      padding: 8px 14px;
      min-height: 40px;
      cursor: pointer;
      touch-action: manipulation;
      transition:
        border-color 0.15s ease,
        background 0.15s ease;
    }

    .app-interest-suggestion:hover {
      border-color: rgba(245, 196, 0, 0.35);
      background: rgba(245, 196, 0, 0.08);
    }

    .app-interest-suggestion:focus-visible {
      outline: 2px solid rgba(245, 196, 0, 0.65);
      outline-offset: 2px;
    }

    .app-profile-subsection {
      margin: 0;
      padding: 14px 0 16px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .app-profile-subsection:last-of-type {
      border-bottom: none;
      padding-bottom: 4px;
    }

    .app-profile-subsection-title {
      margin: 0 0 12px;
      font-size: 13px;
      font-weight: 800;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: #a1a1aa;
    }

    .app-profile-subsection-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 14px 18px;
    }

    @media (min-width: 769px) {
      .app-profile-subsection-grid--pair {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    .app-profile-intro {
      margin: 0 0 8px;
      font-size: 14px;
      line-height: 1.55;
    }

    .app-profile-form-card {
      position: relative;
    }

    .app-profile-save-row {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      justify-content: flex-end;
      margin-top: 6px;
      padding-top: 4px;
    }

    .app-profile-save-row .btn-yellow {
      min-height: 48px;
      min-width: min(100%, 200px);
    }

    #app-page #appPanelProfile .auth-input:focus,
    #app-page #appPanelProfile .auth-input:focus-visible {
      outline: none;
      border-color: rgba(245, 196, 0, 0.55);
      box-shadow: 0 0 0 2px rgba(245, 196, 0, 0.12);
    }

    #app-page #profileBio.app-profile-textarea {
      min-height: 96px;
      resize: vertical;
      max-height: 220px;
    }

    .web-profile-notif-card--compact {
      padding: 14px 16px !important;
      border-radius: 18px !important;
      border: 1px solid rgba(255, 255, 255, 0.07) !important;
      background: rgba(10, 10, 10, 0.35) !important;
      box-shadow: none !important;
    }

    .web-profile-notif-card--compact .kg-section-title {
      font-size: 15px !important;
      margin-bottom: 8px !important;
      letter-spacing: -0.02em;
      text-transform: none;
      font-weight: 800;
      color: #e5e7eb;
    }

    .web-profile-notif-card--compact #webProfileNotifStatus {
      font-size: 14px !important;
      font-weight: 700 !important;
      color: #d4d4d8 !important;
    }

    .web-profile-notif-card--compact #webProfileNotifHint {
      font-size: 13px !important;
      line-height: 1.45 !important;
      margin-bottom: 0 !important;
    }

    .web-profile-notif-card--compact .web-profile-notif-actions {
      margin-top: 10px !important;
    }

    .web-profile-notif-card--compact .btn-yellow {
      min-height: 44px;
      padding-left: 16px;
      padding-right: 16px;
      font-size: 13px;
    }

    @media (max-width: 900px) {
      #appPanelProfile.app-panel {
        padding-bottom: calc(var(--kg-app-mobile-nav-clearance) + env(safe-area-inset-bottom, 0px));
      }

      .app-profile-save-row {
        position: sticky;
        bottom: calc(56px + env(safe-area-inset-bottom, 0px));
        z-index: 8;
        margin: 18px -8px -8px;
        padding: 12px 10px calc(12px + env(safe-area-inset-bottom, 0px));
        justify-content: stretch;
        background: linear-gradient(180deg, transparent, rgba(10, 10, 10, 0.92) 28%, rgba(10, 10, 10, 0.98));
        border-top: 1px solid rgba(245, 200, 0, 0.12);
        backdrop-filter: blur(10px);
      }

      .app-profile-save-row .btn-yellow {
        width: 100%;
        min-width: 0;
      }
    }

    .app-create-sections {
      display: flex;
      flex-direction: column;
      gap: 18px;
    }

    .app-create-section .kg-section-title {
      margin-bottom: 12px;
    }

    .app-create-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 14px 18px;
    }

    @media (min-width: 769px) {
      .app-create-grid--time {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }

      .app-create-grid--pair {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .app-create-grid--triple {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }
    }

    #app-page .auth-field > span:first-of-type {
      font-size: 13px;
      font-weight: 700;
      color: var(--app-text-secondary);
    }

    #app-page .auth-input,
    #app-page .auth-input option {
      font-size: 15px;
    }

    .app-form-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      justify-content: flex-end;
      margin-top: 8px;
    }

    #appPanelCreatePlan {
      position: relative;
      display: flex;
      flex-direction: column;
      min-height: min(70vh, 640px);
      min-height: min(70dvh, 640px);
      padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
    }

    @media (max-width: 900px) {
      #appPanelCreatePlan {
        min-height: 0;
        padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
      }
    }

    @media (max-width: 900px) and (min-height: 701px) {
      #app-page #appPanelCreatePlan .app-create-plan-scroll {
        padding-bottom: calc(
          var(--kg-bottom-nav-height) + var(--kg-sticky-cta-height) + 40px + env(safe-area-inset-bottom, 0px)
        ) !important;
      }

      #app-page #appPanelCreatePlan .plan-sticky-submit {
        position: fixed;
        left: max(14px, env(safe-area-inset-left, 0px));
        right: max(14px, env(safe-area-inset-right, 0px));
        bottom: calc(var(--kg-bottom-nav-height) + 16px + env(safe-area-inset-bottom, 0px));
        z-index: 1105;
        max-width: min(520px, calc(100vw - 28px));
        margin: 0 auto !important;
        margin-bottom: 0 !important;
        padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px));
        border-radius: 22px;
        border: 1px solid rgba(245, 200, 0, 0.22);
        background: linear-gradient(180deg, rgba(22, 22, 22, 0.98), rgba(12, 12, 12, 0.99));
        box-shadow:
          0 14px 38px rgba(0, 0, 0, 0.45),
          0 1px 0 rgba(255, 255, 255, 0.05) inset;
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
      }
    }

    @media (max-height: 700px) {
      #app-page #appPanelCreatePlan .plan-sticky-submit {
        position: static !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        margin-top: 14px !important;
        margin-inline: auto !important;
        max-width: 920px !important;
        width: 100% !important;
        z-index: auto !important;
        border-radius: 22px;
        padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px)) !important;
        box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
      }

      #app-page #appPanelCreatePlan .plan-sticky-hint {
        display: none;
      }

      #app-page #appPanelCreatePlan .app-create-plan-scroll {
        padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)) !important;
      }

      #appPanelCreatePlan {
        padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)) !important;
      }
    }

    #appPanelCreatePlan .app-create-plan-scroll {
      flex: 1 1 auto;
      min-height: 0;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      padding-right: 2px;
    }

    #appPanelCreatePlan .plan-success-card,
    #appPanelCreatePlan .app-create-plan-scroll,
    #appPanelCreatePlan .plan-sticky-submit {
      max-width: 920px;
      width: 100%;
      margin-inline: auto;
      box-sizing: border-box;
    }

    @media (max-width: 900px) {
      #appPanelCreatePlan .plan-success-card,
      #appPanelCreatePlan .app-create-plan-scroll,
      #appPanelCreatePlan .plan-sticky-submit {
        max-width: 100%;
      }

      #app-page .plan-chip-row {
        gap: 10px;
      }

      #app-page .plan-chip {
        min-height: 40px;
        padding-inline: 12px;
        white-space: nowrap;
      }
    }

    .plan-form-section {
      border-radius: 24px;
      border: 1px solid rgba(245, 200, 0, 0.18);
      background: linear-gradient(165deg, rgba(34, 34, 34, 0.96), rgba(18, 18, 18, 0.98));
      box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
      padding: 18px 18px 20px;
      margin-bottom: 16px;
    }

    .plan-section-header {
      margin: 0 0 6px;
      font-size: 17px;
      font-weight: 800;
      letter-spacing: -0.02em;
      color: var(--cream);
    }

    .plan-section-sub {
      margin: 0 0 14px;
      font-size: 13px;
      line-height: 1.45;
      color: #a1a1aa;
      font-weight: 500;
    }

    .plan-field-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 14px;
    }

    @media (min-width: 640px) {
      .plan-field-grid--pair {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    .plan-chip-row {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 10px;
    }

    .plan-chip {
      appearance: none;
      border: 1px solid rgba(245, 200, 0, 0.22);
      background: rgba(26, 26, 26, 0.92);
      color: var(--cream);
      font-size: 14px;
      font-weight: 600;
      padding: 10px 14px;
      border-radius: 999px;
      cursor: pointer;
      min-height: 44px;
      transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    }

    .plan-chip:hover {
      border-color: rgba(245, 200, 0, 0.45);
    }

    .plan-chip.is-selected {
      background: linear-gradient(135deg, rgba(245, 200, 0, 0.95), rgba(230, 175, 0, 0.92));
      border-color: rgba(245, 200, 0, 0.65);
      color: #1a1a1a;
    }

    .plan-chip-more {
      width: 100%;
      margin-top: 4px;
    }

    .plan-more-cats {
      margin-top: 10px;
      padding-top: 10px;
      border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

    .plan-step-row {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
    }

    .plan-step-btn {
      min-width: 44px;
      min-height: 44px;
      border-radius: 12px;
      border: 1px solid rgba(245, 200, 0, 0.28);
      background: rgba(30, 30, 30, 0.95);
      color: var(--cream);
      font-size: 20px;
      font-weight: 700;
      cursor: pointer;
      line-height: 1;
    }

    .plan-step-btn:disabled {
      opacity: 0.35;
      cursor: not-allowed;
    }

    .plan-duration-label {
      flex: 1 1 140px;
      text-align: center;
      font-weight: 700;
      font-size: 15px;
      color: #e4e4e7;
    }

    .plan-choice-list {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .plan-choice-card {
      display: block;
      border-radius: 16px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      background: rgba(22, 22, 22, 0.75);
      padding: 12px 14px;
      cursor: pointer;
      transition: border-color 0.15s ease, background 0.15s ease;
    }

    .plan-choice-card:hover {
      border-color: rgba(245, 200, 0, 0.35);
    }

    .plan-choice-card input {
      position: absolute;
      opacity: 0;
      width: 1px;
      height: 1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
    }

    .plan-choice-card.is-selected {
      border-color: rgba(245, 200, 0, 0.55);
      background: rgba(245, 200, 0, 0.1);
    }

    .plan-choice-card--disabled {
      opacity: 0.55;
      cursor: not-allowed;
    }

    .plan-choice-card--disabled:hover {
      border-color: rgba(255, 255, 255, 0.1);
      background: rgba(22, 22, 22, 0.75);
    }

    .plan-choice-card--disabled.plan-choice-card--vis-soon {
      min-height: 44px;
      box-sizing: border-box;
    }

    .plan-choice-card--disabled .plan-choice-card__title {
      width: 100%;
      justify-content: space-between;
    }

    .plan-vis-soon-group {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-top: 14px;
    }

    .plan-v1-vis-footnote {
      margin: 14px 0 0;
      font-size: 12px;
      line-height: 1.45;
      color: #a1a1aa;
    }

    .plan-vis-quick-teams-heading {
      margin: 0 0 8px;
      font-size: 15px;
      font-weight: 700;
      color: var(--cream);
    }

    .plan-vis-quick-teams-desc {
      margin: 0 0 12px !important;
    }

    .plan-choice-card__title {
      font-weight: 700;
      font-size: 15px;
      color: var(--cream);
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
    }

    .plan-choice-card__desc {
      margin: 4px 0 0;
      font-size: 13px;
      color: #a1a1aa;
      line-height: 1.4;
    }

    .plan-badge-soon {
      font-size: 11px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      padding: 3px 8px;
      border-radius: 999px;
      border: 1px solid rgba(245, 200, 0, 0.35);
      color: #facc15;
    }

    .plan-invite-placeholder {
      border-radius: 16px;
      border: 1px dashed rgba(245, 200, 0, 0.28);
      background: rgba(18, 18, 18, 0.65);
      padding: 14px;
    }

    .plan-invite-placeholder p {
      margin: 0 0 10px;
      font-size: 13px;
      color: #a1a1aa;
    }

    .plan-invite-fallback {
      margin-top: 12px;
      padding: 12px;
      border-radius: 14px;
      border: 1px solid rgba(245, 200, 0, 0.2);
      background: rgba(0, 0, 0, 0.35);
    }

    .plan-invite-fallback p {
      margin: 0 0 12px;
      font-size: 13px;
      line-height: 1.45;
      color: #d4d4d8;
      font-weight: 600;
    }

    .plan-invite-fallback-sub {
      margin: 0 0 12px !important;
      font-size: 12px !important;
      font-weight: 500 !important;
      color: #a1a1aa !important;
    }

    .plan-invite-placeholder__cta {
      width: 100%;
      min-height: 48px;
      justify-content: center;
    }

    .plan-invite-placeholder__hint {
      margin: 0 0 12px !important;
      font-size: 13px !important;
      line-height: 1.45;
    }

    .plan-invite-placeholder__lead {
      margin: 0 0 6px !important;
      font-size: 14px !important;
      color: var(--text) !important;
    }

    .plan-invite-action-stack {
      display: flex;
      flex-direction: column;
      gap: 12px;
      margin-top: 4px;
    }

    .plan-invite-action-stack__label {
      margin: 0;
      font-size: 12px;
      font-weight: 700;
      color: #a1a1aa;
      letter-spacing: 0.02em;
    }

    .plan-invite-action-stack__primary .btn-yellow {
      width: 100%;
      min-height: 48px;
      justify-content: center;
    }

    .plan-invite-share-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
    }

    .plan-invite-share-grid .btn-outline {
      width: 100%;
      min-height: 44px;
      padding: 10px 10px;
      font-size: 13px;
      font-weight: 800;
      justify-content: center;
      text-align: center;
      line-height: 1.25;
    }

    .plan-invite-share-grid__wide {
      grid-column: 1 / -1;
    }

    .plan-invite-text-link {
      display: block;
      width: 100%;
      margin: 0;
      padding: 6px 4px;
      border: none;
      background: transparent;
      color: #facc15;
      font-family: inherit;
      font-size: 13px;
      font-weight: 700;
      line-height: 1.4;
      text-align: center;
      text-decoration: underline;
      text-underline-offset: 3px;
      cursor: pointer;
      -webkit-tap-highlight-color: transparent;
    }

    .plan-invite-text-link:hover {
      color: #fde047;
    }

    .plan-success-actions {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .plan-success-actions .btn-yellow {
      width: 100%;
      min-height: 48px;
      justify-content: center;
    }

    .plan-success-actions .plan-invite-share-grid {
      width: 100%;
    }

    .plan-success-actions .plan-invite-text-link {
      margin-top: 2px;
    }

    .create-plan-quick-teams-wrap {
      margin-top: 14px;
      padding-top: 14px;
      border-top: 1px solid rgba(245, 200, 0, 0.12);
    }

    .create-plan-quick-teams-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      align-items: stretch;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      padding-bottom: 2px;
    }

    .create-plan-quick-team-cell {
      flex: 1 1 calc(50% - 10px);
      min-width: 140px;
    }

    @media (max-width: 480px) {
      .create-plan-quick-team-cell {
        flex: 1 1 min(160px, 100%);
      }
    }

    .create-plan-quick-team-chip {
      width: 100%;
      min-width: 0;
      min-height: 44px;
      box-sizing: border-box;
      padding: 10px 12px;
      border-radius: 14px;
      border: 2px solid rgba(245, 200, 0, 0.18);
      background: rgba(0, 0, 0, 0.35);
      color: #f4f4f5;
      font-size: 13px;
      font-weight: 700;
      text-align: left;
      cursor: pointer;
      line-height: 1.35;
      transition:
        border-color 0.15s ease,
        background 0.15s ease;
    }

    .create-plan-quick-team-chip span.kg-muted {
      display: block;
      margin-top: 2px;
      font-weight: 600;
      font-size: 11px;
      color: #9ca3af;
    }

    .create-plan-quick-team-chip.is-selected {
      border-color: rgba(245, 196, 0, 0.85);
      background: rgba(245, 196, 0, 0.14);
    }

    .create-plan-quick-team-chip:focus-visible {
      outline: 2px solid rgba(245, 196, 0, 0.75);
      outline-offset: 2px;
    }

    .kg-quick-team-card {
      border-radius: 16px;
      border: 1px solid rgba(245, 200, 0, 0.2);
      background: rgba(18, 18, 18, 0.82);
      padding: 14px;
      margin-bottom: 0;
      transition:
        border-color 0.18s ease,
        box-shadow 0.22s ease;
    }

    .kg-quick-team-card:hover {
      border-color: rgba(245, 196, 0, 0.48);
      box-shadow:
        0 0 0 1px rgba(245, 196, 0, 0.08),
        0 10px 28px rgba(0, 0, 0, 0.35);
    }

    .app-teams-panel-head {
      display: flex;
      flex-wrap: wrap;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 10px;
    }

    .app-teams-panel-head .kg-section-title {
      margin-bottom: 6px;
    }

    .app-teams-lead {
      margin: 0;
      font-size: 14px;
      line-height: 1.55;
      max-width: 52ch;
    }

    .app-teams-head-cta {
      min-height: 44px;
      padding-left: 18px;
      padding-right: 18px;
      flex-shrink: 0;
    }

    .app-teams-card-lead {
      margin: 0 0 16px;
      font-size: 13px;
      line-height: 1.5;
    }

    .app-teams-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
      gap: 14px;
      align-items: start;
    }

    .app-teams-empty-visual {
      margin-bottom: 10px;
      opacity: 0.92;
    }

    .app-teams-empty-note {
      margin: 14px 0 0;
      font-size: 12px;
      line-height: 1.45;
      color: var(--app-text-secondary, #9ca3af);
      max-width: 36rem;
    }

    .app-teams-empty-lead {
      margin: 0 0 8px !important;
      font-size: 14px;
      line-height: 1.5;
    }

    .app-teams-head-cta-wrap {
      width: 100%;
    }

    .app-teams-head-cta-wrap[hidden] {
      display: none !important;
    }

    .kg-quick-team-btn-danger {
      border-color: rgba(248, 113, 113, 0.42) !important;
      color: #fecaca !important;
    }

    .kg-quick-team-btn-danger:hover {
      border-color: rgba(248, 113, 113, 0.65) !important;
      background: rgba(248, 113, 113, 0.08) !important;
    }

    .kg-quick-team-card-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 8px;
    }

    .kg-quick-team-card-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
      margin-top: 12px;
    }

    .kg-quick-team-card-actions .kg-quick-team-card-primary {
      grid-column: 1 / -1;
    }

    .kg-quick-team-card-actions .btn-outline,
    .kg-quick-team-card-actions .btn-yellow {
      min-height: 44px;
      width: 100%;
    }

    .kg-quick-team-member-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      padding: 8px 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
      font-size: 13px;
    }

    .kg-quick-team-member-row:last-child {
      border-bottom: none;
    }

    .plan-success-extra {
      margin: 14px 0 0;
      text-align: left;
      font-size: 13px;
      color: #d4d4d8;
      line-height: 1.45;
    }

    .plan-success-extra ul {
      margin: 8px 0 0;
      padding-left: 18px;
    }

    .plan-sticky-submit {
      position: sticky;
      bottom: 0;
      left: 0;
      right: 0;
      z-index: 6;
      margin: 0 -4px -8px;
      padding: 12px 4px calc(12px + env(safe-area-inset-bottom, 0px));
      background: linear-gradient(180deg, transparent, rgba(10, 10, 10, 0.92) 18%, rgba(10, 10, 10, 0.98));
      border-top: 1px solid rgba(245, 200, 0, 0.12);
    }

    #appPanelCreatePlan .plan-sticky-submit {
      margin-left: auto;
      margin-right: auto;
      margin-bottom: 0;
    }

    .plan-sticky-hint {
      margin: 0 0 10px;
      font-size: 12px;
      color: var(--kg-muted, #9ca3af);
      text-align: center;
      font-weight: 500;
      display: block;
    }

    #createPlanSubmitBtn:disabled {
      opacity: 0.45;
      filter: grayscale(0.25);
      cursor: not-allowed;
    }

    .plan-success-card {
      border-radius: 24px;
      border: 1px solid rgba(245, 200, 0, 0.35);
      background: linear-gradient(165deg, rgba(36, 36, 28, 0.98), rgba(18, 18, 14, 0.99));
      padding: 22px 18px 20px;
      margin-bottom: 16px;
      text-align: center;
    }

    .plan-success-card h3 {
      margin: 0 0 12px;
      font-size: 20px;
      font-weight: 800;
      color: var(--cream);
    }

    .plan-success-meta {
      font-size: 14px;
      color: #d4d4d8;
      line-height: 1.55;
      margin: 0 0 16px;
      word-break: break-all;
    }

    #appPanelCreatePlan .auth-input,
    #appPanelCreatePlan .auth-input option,
    #appPanelCreatePlan select.auth-input {
      font-size: 16px;
    }

    .app-empty-state {
      text-align: left;
    }

    .app-empty-visual {
      margin: 0 0 14px;
      max-width: 140px;
      opacity: 0.95;
    }

    .app-empty-visual img {
      display: block;
      width: 120px;
      height: auto;
    }

    .app-empty-actions {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-top: 16px;
    }

    @media (min-width: 769px) {
      .app-empty-actions {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
      }
    }

    .app-join-hint-card {
      opacity: 0.92;
    }

    .app-join-hint-card .btn-outline {
      margin-top: 4px;
    }

    @media (min-width: 769px) {
      #app-page .kg-card .btn-outline:not(.btn-wide),
      #app-page .kg-card .btn-yellow:not(.btn-wide),
      #app-page .app-setting-block > .btn-outline:not(.btn-wide),
      #app-page .app-setting-block > .btn-yellow:not(.btn-wide),
      #app-page .app-form-actions .btn-yellow,
      #app-page .app-form-actions .btn-outline,
      #app-page .app-plan-row-actions .btn-outline,
      #app-page .app-plan-row-actions .btn-yellow {
        width: auto;
        min-width: 0;
      }
    }

    @media (max-width: 768px) {
      #app-page .kg-card .btn-outline,
      #app-page .kg-card .btn-yellow,
      #app-page .app-setting-block > .btn-outline,
      #app-page .app-setting-block > .btn-yellow,
      #app-page .app-empty-actions .btn-outline,
      #app-page .app-empty-actions .btn-yellow,
      #app-page .app-form-actions .btn-yellow,
      #app-page .app-form-actions .btn-outline {
        width: 100%;
      }
    }

    #app-page .btn-yellow,
    #app-page .btn-outline {
      min-height: 46px;
      padding: 12px 20px;
      font-size: 14px;
      border-radius: 14px;
    }

    #app-page .btn-yellow {
      box-shadow: 0 8px 22px rgba(245, 200, 0, 0.18);
    }

    #app-page .app-logout.btn-outline {
      color: var(--app-text-secondary);
      border-color: rgba(255, 255, 255, 0.16);
    }

    #app-page .app-logout.btn-outline:hover {
      color: var(--cream);
      border-color: rgba(255, 255, 255, 0.28);
      background: rgba(255, 255, 255, 0.04);
    }

    .auth-hint-note {
      margin: 0 0 16px;
      font-size: 13px;
      line-height: 1.5;
      color: #9ca3af;
    }

    .app-setting-block {
      padding: clamp(20px, 2.5vw, 28px);
      border-radius: 24px;
      border: 1px solid rgba(245, 196, 0, 0.14);
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
      box-shadow: 0 12px 42px rgba(0, 0, 0, 0.2);
    }

    .app-setting-block h3 {
      margin: 0 0 8px;
      font-size: 17px;
      font-weight: 800;
      color: var(--text);
    }

    .app-setting-block p {
      margin: 0 0 12px;
      font-size: 14px;
      line-height: 1.55;
      color: var(--app-text-secondary);
    }

    .app-setting-block ul {
      margin: 0;
      padding-left: 18px;
      color: #d1d5db;
      font-size: 14px;
      line-height: 1.55;
    }

    .app-setting-block a {
      font-weight: 700;
    }

    .app-setting-block--joined {
      margin-bottom: 16px;
    }

    .app-sidebar {
      width: var(--kg-sidebar-width);
      flex-shrink: 0;
      display: flex;
      flex-direction: column;
      gap: 0;
      min-height: 0;
      padding: 16px 14px 14px;
      border-radius: 24px;
      border: 1px solid var(--kg-border, rgba(245, 200, 0, 0.18));
      background: linear-gradient(180deg, rgba(31, 31, 31, 0.94), rgba(17, 17, 17, 0.98));
      box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
    }

    .app-sidebar-menu {
      flex: 1 1 auto;
      min-height: 0;
      display: flex;
      flex-direction: column;
      overflow-x: hidden;
      overflow-y: auto;
      overscroll-behavior: contain;
      padding-bottom: 12px;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: thin;
      scrollbar-color: rgba(255, 214, 0, 0.28) transparent;
    }

    .app-sidebar-menu::-webkit-scrollbar {
      width: 5px;
    }

    .app-sidebar-menu::-webkit-scrollbar-thumb {
      border-radius: 999px;
      background: rgba(255, 214, 0, 0.24);
    }

    .app-sidebar-menu::-webkit-scrollbar-thumb:hover {
      background: rgba(255, 214, 0, 0.42);
    }

    .app-sidebar-menu::-webkit-scrollbar-track {
      background: transparent;
    }

    .app-sidebar-brand {
      display: flex;
      align-items: center;
      gap: 10px;
      width: 100%;
      margin: 0 0 4px;
      padding: 8px 10px 12px;
      border: none;
      border-radius: 14px;
      background: transparent;
      cursor: pointer;
      font: inherit;
      text-align: left;
      color: inherit;
      flex-shrink: 0;
      transition:
        background var(--kg-motion-fast) var(--kg-ease-standard),
        border-color var(--kg-motion-base) var(--kg-ease-standard);
    }

    .app-sidebar-brand:hover {
      background: rgba(245, 200, 0, 0.06);
    }

    .app-sidebar-brand:focus-visible {
      outline: 2px solid var(--primary);
      outline-offset: 2px;
    }

    .app-sidebar-brand img {
      width: 36px;
      height: 36px;
      border-radius: 11px;
    }

    .app-sidebar-brand-stack {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 2px;
      min-width: 0;
    }

    .app-sidebar-brand-title {
      font-family: "Syne", sans-serif;
      font-size: 15px;
      font-weight: 800;
      color: var(--cream);
      letter-spacing: -0.02em;
      line-height: 1.15;
    }

    .app-sidebar-brand-badge {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--muted);
    }

    .app-sidebar-nav {
      display: flex;
      flex-direction: column;
      gap: 4px;
      flex-shrink: 0;
      min-height: 0;
    }

    .app-sidebar-nav-label {
      margin: 2px 4px 6px;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #6b7280;
    }

    .app-sidebar-divider {
      flex-shrink: 0;
      height: 1px;
      margin: 10px 4px 8px;
      background: linear-gradient(90deg, transparent, rgba(245, 200, 0, 0.2), transparent);
      border: none;
      padding: 0;
    }

    .app-sidebar-link {
      display: flex;
      align-items: center;
      gap: 10px;
      width: 100%;
      min-height: 46px;
      height: auto;
      padding: 9px 12px;
      border: 1px solid transparent;
      border-radius: 13px;
      background: transparent;
      color: #d1d5db;
      font-size: 14px;
      font-weight: 600;
      font-family: inherit;
      text-align: left;
      cursor: pointer;
      transition:
        border-color var(--kg-motion-base) var(--kg-ease-standard),
        background var(--kg-motion-fast) var(--kg-ease-standard),
        color var(--kg-motion-fast) var(--kg-ease-standard);
    }

    .app-sidebar-link:hover {
      border-color: rgba(245, 200, 0, 0.22);
      background: rgba(245, 200, 0, 0.05);
      color: var(--cream);
    }

    .app-sidebar-link.is-active {
      border-color: rgba(245, 200, 0, 0.18);
      background: rgba(245, 200, 0, 0.07);
      color: var(--cream);
      box-shadow: inset 2px 0 0 rgba(245, 200, 0, 0.75);
    }

    .app-sidebar-link.is-active .kg-icon {
      color: var(--primary);
    }

    .app-sidebar-link--plan:not(.is-active) .kg-icon--sidebar,
    .app-sidebar-link--plan:not(.is-active) .kg-icon {
      color: var(--primary);
    }

    .app-sidebar-link--plan:not(.is-active):hover {
      border-color: rgba(245, 200, 0, 0.28);
      background: rgba(245, 200, 0, 0.08);
    }

    .app-sidebar-link:focus-visible {
      outline: 2px solid var(--primary);
      outline-offset: 2px;
    }

    .app-sidebar-nav-label--ops {
      margin-top: 10px;
    }

    .app-sidebar-link--admin:not(.is-active) {
      border: 1px solid rgba(245, 200, 0, 0.18);
      background: rgba(245, 200, 0, 0.04);
    }

    .app-sidebar-link--admin:not(.is-active):hover {
      border-color: rgba(245, 200, 0, 0.32);
      background: rgba(245, 200, 0, 0.08);
    }

    .app-sidebar-link--admin .app-sidebar-link-label {
      color: #f5c800;
    }

    .app-sidebar-icon {
      width: 20px;
      text-align: center;
      font-size: 15px;
      line-height: 1;
    }

    .app-sidebar-session-actions {
      display: flex;
      flex-direction: column;
      gap: 8px;
      margin-top: 10px;
    }

    .app-sidebar-session-actions .app-sidebar-install {
      margin-top: 0;
    }

    .app-sidebar-logout-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      width: 100%;
      min-height: 44px;
      padding: 0 14px;
      border-radius: 12px;
      border: 1px solid rgba(245, 200, 0, 0.28);
      background: rgba(255, 255, 255, 0.02);
      color: var(--cream);
      font-size: 13px;
      font-weight: 700;
      font-family: inherit;
      cursor: pointer;
      transition:
        border-color var(--kg-motion-fast) var(--kg-ease-standard),
        background var(--kg-motion-fast) var(--kg-ease-standard),
        color var(--kg-motion-fast) var(--kg-ease-standard);
      -webkit-tap-highlight-color: transparent;
    }

    .app-sidebar-logout-btn:hover,
    .app-sidebar-logout-btn:focus-visible {
      outline: none;
      border-color: rgba(245, 200, 0, 0.42);
      background: rgba(245, 200, 0, 0.06);
      color: #fff;
    }

    .app-sidebar-session {
      padding: 10px 11px;
      border-radius: 14px;
      border: 1px solid rgba(245, 200, 0, 0.16);
      background: rgba(0, 0, 0, 0.24);
      flex-shrink: 0;
    }

    .app-sidebar-quick {
      display: flex;
      flex-direction: column;
      gap: 4px;
      margin-top: 10px;
      padding-top: 10px;
      border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

    .app-sidebar-quick a {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 8px 10px;
      border-radius: 10px;
      font-size: 13px;
      font-weight: 600;
      color: #9ca3af;
      text-decoration: none;
      transition:
        background var(--kg-motion-fast) var(--kg-ease-standard),
        color var(--kg-motion-fast) var(--kg-ease-standard);
    }

    .app-sidebar-quick a:hover {
      background: rgba(255, 255, 255, 0.04);
      color: var(--cream);
    }

    .app-sidebar-session-label {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 4px;
      font-size: 11px;
      font-weight: 700;
      color: var(--app-text-secondary);
      letter-spacing: 0.04em;
    }

    .app-status-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--kg-success);
      box-shadow: 0 0 0 2px rgba(53, 199, 111, 0.2);
    }

    .app-sidebar-session-email {
      margin: 0;
      font-size: 13px;
      line-height: 1.45;
      color: var(--cream);
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .app-mobile-nav {
      display: none !important;
    }

    .app-bottom-nav {
      display: none;
      position: fixed;
      z-index: 1190;
      left: max(14px, env(safe-area-inset-left, 0px));
      right: max(14px, env(safe-area-inset-right, 0px));
      bottom: calc(12px + env(safe-area-inset-bottom, 0px));
      box-sizing: border-box;
      padding: 8px 10px 12px;
      max-width: min(520px, 100%);
      margin-inline: auto;
      border-radius: 28px;
      border: 1px solid rgba(255, 204, 0, 0.22);
      background: rgba(18, 18, 18, 0.92);
      box-shadow:
        0 14px 44px rgba(0, 0, 0, 0.42),
        0 1px 0 rgba(255, 255, 255, 0.05) inset;
      backdrop-filter: blur(18px) saturate(1.08);
      -webkit-backdrop-filter: blur(18px) saturate(1.08);
      align-items: flex-end;
      justify-content: space-between;
      gap: 4px;
    }

    /* Alt menÃ¼ #app-page dÄ±ÅŸÄ±nda (transform/page-enter containing block hatasÄ± yok). */
    #appBottomNav[hidden] {
      display: none !important;
    }

    .app-bottom-nav__cluster {
      display: flex;
      flex: 1;
      align-items: flex-end;
      justify-content: space-around;
      gap: 2px;
      min-width: 0;
    }

    .app-bottom-nav__fab-wrap {
      flex: 0 0 auto;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-end;
      padding: 0 2px;
      margin-bottom: 2px;
    }

    .app-bottom-nav__fab {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      width: 56px;
      height: 56px;
      padding: 0;
      border-radius: 999px;
      border: 3px solid rgba(14, 14, 14, 0.96);
      background: linear-gradient(145deg, var(--kg-yellow-strong), var(--primary));
      color: #141414;
      cursor: pointer;
      box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.48),
        0 0 0 1px rgba(245, 200, 0, 0.35);
      transform: translateY(-16px);
      -webkit-tap-highlight-color: rgba(245, 200, 0, 0.2);
      transition:
        transform 0.15s var(--kg-ease-standard),
        box-shadow var(--kg-motion-fast) var(--kg-ease-standard),
        filter var(--kg-motion-fast) var(--kg-ease-standard);
    }

    .app-bottom-nav__fab:active {
      transform: translateY(-13px) scale(0.96);
    }

    .app-bottom-nav__fab .kg-icon {
      width: 26px;
      height: 26px;
      color: inherit;
      flex-shrink: 0;
    }

    .app-bottom-nav__fab.is-active {
      box-shadow:
        0 14px 38px rgba(245, 200, 0, 0.32),
        0 0 0 2px rgba(245, 200, 0, 0.42);
      filter: brightness(1.06);
    }

    .app-bottom-nav__btn {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 4px;
      min-height: 44px;
      min-width: 44px;
      flex: 1 1 0;
      max-width: 88px;
      padding: 6px 2px 8px;
      border: 1px solid transparent;
      border-radius: 17px;
      background: transparent;
      color: rgba(161, 161, 170, 0.85);
      font-size: 10px;
      font-weight: 600;
      font-family: inherit;
      letter-spacing: 0.01em;
      line-height: 1.12;
      cursor: pointer;
      -webkit-tap-highlight-color: rgba(245, 200, 0, 0.12);
      transition:
        background var(--kg-motion-fast) var(--kg-ease-standard),
        color var(--kg-motion-fast) var(--kg-ease-standard),
        border-color var(--kg-motion-fast) var(--kg-ease-standard),
        box-shadow var(--kg-motion-fast) var(--kg-ease-standard),
        transform 0.15s var(--kg-ease-standard);
    }

    .app-bottom-nav__btn .kg-icon {
      width: 22px;
      height: 22px;
      color: inherit;
      flex-shrink: 0;
    }

    @media (hover: hover) and (pointer: fine) {
      .app-bottom-nav__btn:hover:not(.is-active) {
        color: rgba(228, 228, 231, 0.95);
        background: rgba(255, 255, 255, 0.05);
      }
    }

    .app-bottom-nav__btn:active {
      transform: scale(0.97);
    }

    .app-bottom-nav__btn.is-active {
      color: #f4f4f5;
      background: rgba(245, 200, 0, 0.1);
      border-color: rgba(245, 200, 0, 0.2);
      box-shadow:
        0 0 0 1px rgba(245, 200, 0, 0.12),
        0 4px 14px rgba(245, 200, 0, 0.08);
    }

    .app-bottom-nav__btn.is-active .kg-icon {
      color: var(--primary);
    }

    .app-bottom-nav__label {
      display: block;
      line-height: 1.12;
      text-align: center;
      max-width: 100%;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      font-size: 10px;
      font-weight: inherit;
    }

    .app-bottom-nav__btn.is-active .app-bottom-nav__label {
      font-weight: 700;
      letter-spacing: 0.02em;
    }

    .public-mobile-cta {
      position: fixed;
      left: max(16px, env(safe-area-inset-left, 0px));
      right: max(16px, env(safe-area-inset-right, 0px));
      bottom: calc(12px + env(safe-area-inset-bottom, 0px));
      z-index: 820;
      display: none;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
      padding: 8px;
      border-radius: 22px;
      background: rgba(18, 18, 18, 0.92);
      border: 1px solid rgba(245, 200, 0, 0.18);
      box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
      backdrop-filter: blur(18px) saturate(1.05);
      -webkit-backdrop-filter: blur(18px) saturate(1.05);
      box-sizing: border-box;
      max-width: min(520px, 100%);
      margin-inline: auto;
    }

    .public-mobile-cta:not([hidden]) {
      display: grid;
    }

    @media (min-width: 769px) {
      .public-mobile-cta {
        display: none !important;
      }
    }

    .public-mobile-cta__btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 52px;
      border-radius: 16px;
      font-weight: 800;
      font-size: 14px;
      font-family: inherit;
      text-decoration: none !important;
      cursor: pointer;
      border: none;
      box-sizing: border-box;
      padding: 8px 10px;
      text-align: center;
      line-height: 1.15;
      -webkit-tap-highlight-color: rgba(245, 200, 0, 0.15);
    }

    .public-mobile-cta__btn--primary {
      background: var(--kg-yellow, #f5c800);
      color: #0e0e0e;
    }

    .public-mobile-cta__btn--secondary {
      background: rgba(255, 255, 255, 0.04);
      color: var(--kg-yellow, #f5c800);
      border: 1px solid rgba(245, 200, 0, 0.22);
    }

    @media (max-width: 768px) {
      body.kg-public-mobile-cta-on #landing-page.page.active .landing-shell {
        padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px));
      }
    }

    .app-profile-hub {
      margin-top: 20px;
      padding: 18px;
      border-radius: 18px;
      border: 1px solid rgba(245, 200, 0, 0.16);
      background: rgba(0, 0, 0, 0.28);
    }

    .app-profile-hub h3 {
      margin: 0 0 12px;
      font-size: 15px;
      font-weight: 800;
      color: #f4f4f5;
    }

    .app-profile-hub-email {
      margin: 0 0 16px;
      font-size: 15px;
      font-weight: 700;
      color: var(--cream);
      letter-spacing: 0.02em;
    }

    .app-profile-hub-links {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .app-profile-hub-links a,
    .app-profile-hub-links button {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      width: 100%;
      min-height: 46px;
      padding: 0 14px;
      border-radius: 12px;
      border: 1px solid rgba(255, 255, 255, 0.08);
      background: rgba(255, 255, 255, 0.03);
      color: #d1d5db;
      font-size: 14px;
      font-weight: 600;
      font-family: inherit;
      text-decoration: none !important;
      cursor: pointer;
      text-align: left;
      box-sizing: border-box;
    }

    .app-profile-hub-links a:hover,
    .app-profile-hub-links button:hover {
      border-color: rgba(245, 200, 0, 0.28);
      color: var(--cream);
    }

    .app-profile-hub-links--tail {
      margin-top: 12px;
    }

    .app-profile-hub-install {
      margin-top: 10px;
    }

    .app-profile-hub-install[hidden] {
      display: none !important;
    }

    .app-sidebar-install {
      margin-top: 8px;
    }

    .app-sidebar-install[hidden] {
      display: none !important;
    }

    .app-sidebar-install .nav-btn {
      width: 100%;
      justify-content: center;
      font-size: 12px;
      min-height: 44px;
    }

    @media (min-width: 901px) {
      .app-profile-hub {
        display: none !important;
      }
    }

    #app-page.active ~ footer .footer-play-cta {
      display: none !important;
    }

    /* Mobil + dar tablet: sol sidebar tamamen kapalÄ±; iÃ§erik tam geniÅŸlik; alt nav aktif (â‰¤900px). */
    @media (max-width: 900px) {
      body:has(#app-page.active) {
        overflow-x: clip;
        max-width: 100%;
      }

      #app-page .app-dashboard,
      #app-page .app-shell {
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
        min-height: 0;
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        grid-template-columns: none;
        gap: 16px;
        overflow-x: hidden;
        padding:
          calc(12px + env(safe-area-inset-top, 0px))
          max(14px, env(safe-area-inset-right, 0px))
          calc(var(--kg-app-mobile-nav-clearance) + env(safe-area-inset-bottom, 0px))
          max(14px, env(safe-area-inset-left, 0px));
      }

      #app-page .app-sidebar {
        display: none !important;
      }

      #app-page .app-content {
        width: 100%;
        max-width: 100%;
      }

      #app-page .app-main {
        width: 100%;
        max-width: 100%;
        gap: 18px;
        flex: 1 1 auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
      }

      #app-page .app-hero {
        flex-shrink: 0;
      }

      #app-page .app-panels {
        flex: 1 1 auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
      }

      /* Plan Kur: iÃ§ scroll alanÄ± + alttaki CTA; dÄ±ÅŸ panel taÅŸmasÄ±n. */
      #app-page #appPanelCreatePlan.app-panel.is-active {
        flex: 1 1 auto;
        min-height: 0;
        overflow: hidden;
      }

      /* DiÄŸer /app panelleri: Ã¼stte hero sabit, gÃ¶vde tek sÃ¼tunda kayar â€” alt navbar iÃ§eriÄŸi kapatmaz. */
      #app-page .app-panel.is-active:not(#appPanelCreatePlan) {
        flex: 1 1 auto;
        min-height: 0;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
      }

      #app-page .app-overview-columns,
      #app-page .app-stats-row {
        grid-template-columns: 1fr;
      }

      #app-page .app-grid {
        grid-template-columns: 1fr !important;
      }

      #appBottomNav.app-bottom-nav:not([hidden]) {
        display: flex !important;
      }

      body.kg-notification-open #appBottomNav.app-bottom-nav,
      body.kg-notification-open #appBottomNav.app-bottom-nav:not([hidden]) {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateY(24px);
      }

      #app-page .app-hero,
      #app-page .app-setting-block,
      #app-page .app-plan-section,
      #app-page .kg-card {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
      }

      #app-page .app-teams-panel-head {
        flex-direction: column;
        align-items: stretch;
      }

      #app-page .app-teams-head-cta-wrap {
        width: 100%;
      }

      #app-page .app-teams-head-cta {
        width: 100%;
      }

      #app-page .app-plan-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 13px 14px;
      }

      #app-page .app-plan-row-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
      }

      #app-page .app-plan-row-actions:not(.app-plan-row-actions--overview) {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        align-items: stretch;
      }

      #app-page .app-plan-row-actions.app-plan-row-actions--overview {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
      }

      #app-page .app-plan-row-actions.app-plan-row-actions--overview > .btn-yellow.app-plan-cta {
        width: 100%;
        min-height: 48px;
      }

      #app-page .app-plan-row-actions--overview .app-plan-row-secondary-actions {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
        width: 100%;
      }

      #app-page .app-plan-row-actions--overview .app-plan-row-secondary-actions .app-plan-cta--compact {
        width: 100%;
        min-width: 0;
        min-height: 40px !important;
        padding: 6px 4px !important;
        font-size: 11px !important;
      }

      #app-page .app-plan-row-actions.app-plan-row-actions--n2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      #app-page .app-plan-row-actions.app-plan-row-actions--n3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      #app-page .app-plan-row-actions .app-plan-cta--full {
        grid-column: 1 / -1;
      }

      #app-page .app-plan-row-actions:not(.app-plan-row-actions--overview) .app-plan-cta,
      #app-page .app-plan-row-actions:not(.app-plan-row-actions--overview) .btn-outline,
      #app-page .app-plan-row-actions:not(.app-plan-row-actions--overview) .btn-yellow {
        width: 100%;
        min-height: 48px;
      }

      #app-page .app-plan-code-pill {
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: break-all;
        align-self: flex-start;
      }

      #app-page .app-plan-row-title {
        display: block;
        overflow-wrap: anywhere;
        word-break: break-word;
      }

      #app-page .app-invite-card-head {
        flex-direction: column;
        align-items: flex-start;
      }

      #app-page .app-invite-status {
        align-self: flex-start;
      }

      #app-page .app-create-grid--time,
      #app-page .app-create-grid--pair,
      #app-page .app-create-grid--triple {
        grid-template-columns: 1fr !important;
      }

      #app-page input:not([type="hidden"]),
      #app-page select,
      #app-page textarea {
        font-size: 16px !important;
      }

      #app-page .app-overview-quick-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
      }

      #app-page .app-overview-quick-card {
        min-height: 0;
        padding: 12px;
      }

      #app-page .app-overview-preview-list .app-plan-row--overview {
        padding: 10px 12px;
        gap: 10px;
      }

      #app-page .app-setting-block {
        padding: 16px 14px;
        border-radius: 18px;
      }

      #app-page .app-account-card {
        padding: 16px 14px;
        border-radius: 18px;
      }

      #app-page .plan-form-section {
        padding: 14px 14px 16px;
        border-radius: 18px;
        margin-bottom: 12px;
      }

      #app-page .app-plans-filter-empty {
        margin: 4px 0 10px;
        padding: 14px 12px;
      }

      #app-page .app-plans-tabs--scroll {
        overscroll-behavior-x: contain;
        margin-left: -4px;
        margin-right: -4px;
        padding-left: 4px;
        padding-right: 4px;
      }

      #app-page #appPanelInvites > .app-setting-block + .app-setting-block {
        margin-top: 12px;
      }

      #app-page .app-profile-hub {
        padding: 14px;
      }

      #app-page .app-profile-hub-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
      }

      #app-page .app-profile-hub-links a,
      #app-page .app-profile-hub-links button {
        min-height: 44px;
        padding: 0 10px;
        font-size: 13px;
        justify-content: center;
        text-align: center;
      }

      #app-page .app-account-privacy-links {
        display: flex;
        flex-direction: column;
        gap: 8px;
      }

      #app-page .app-account-privacy-links a {
        min-height: 44px;
        justify-content: flex-start;
        text-align: left;
      }

      #app-page .app-interest-chips {
        max-height: 6.5rem;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 2px;
      }

      #app-page .app-interest-suggestions {
        max-height: 7.5rem;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
      }

      #app-page #profileInterests {
        max-width: 100%;
      }

      #app-page .app-security-kv {
        flex-direction: column;
        align-items: flex-start;
      }

      #app-page .app-security-kv__v {
        text-align: left;
        width: 100%;
      }

      #app-page .app-empty-visual {
        margin-bottom: 10px;
      }

      #app-page .app-empty-actions {
        margin-top: 12px;
      }

      #app-page .app-form-actions {
        flex-direction: column;
        align-items: stretch;
      }
    }

    @media (min-width: 901px) and (max-width: 1199px) {
      #app-page .app-dashboard,
      #app-page .app-shell {
        grid-template-columns: 82px minmax(0, 1fr);
        gap: 16px;
        padding:
          24px
          max(18px, env(safe-area-inset-right, 0px))
          44px
          max(18px, env(safe-area-inset-left, 0px));
      }

      #app-page .app-sidebar {
        width: 82px !important;
        min-width: 82px !important;
        max-width: 82px !important;
        padding: 12px 8px !important;
        align-items: center;
      }

      #app-page .app-sidebar-brand {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 8px 4px;
        width: 100%;
      }

      #app-page .app-sidebar-brand-stack,
      #app-page .app-sidebar-brand-label,
      #app-page .app-sidebar-nav-label,
      #app-page .app-sidebar-link-label,
      #app-page .app-sidebar-session,
      #app-page .app-sidebar-divider {
        display: none !important;
      }

      #app-page .app-sidebar-link {
        justify-content: center;
        align-items: center;
        padding: 0;
        width: 48px;
        min-width: 48px;
        min-height: 48px;
        margin-inline: auto;
      }

      #app-page .app-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
      }

      #appBottomNav.app-bottom-nav {
        display: none !important;
      }
    }

    @media (min-width: 901px) {
      #app-page .app-main {
        max-width: var(--kg-app-main-max, 1120px);
      }
    }

    @media (min-width: 1200px) {
      #app-page .app-sidebar {
        position: sticky;
        top: var(--kg-scroll-under-header);
        align-self: start;
        display: flex;
        flex-direction: column;
        height: calc(100svh - var(--kg-scroll-under-header) - 24px);
        max-height: calc(100svh - var(--kg-scroll-under-header) - 24px);
        min-height: 0;
        padding: 12px 11px 12px;
        overflow-x: hidden;
        overflow-y: hidden;
        overscroll-behavior: contain;
        border-radius: 28px;
      }

      #app-page .app-sidebar-brand {
        flex-shrink: 0;
        margin-bottom: 0;
        padding: 6px 8px 8px;
      }

      #app-page .app-sidebar-menu {
        flex: 1 1 auto;
        min-height: 0;
        padding-bottom: 6px;
      }

      #app-page .app-sidebar-nav {
        gap: 3px;
      }

      #app-page .app-sidebar-nav-label {
        margin: 0 4px 5px;
      }

      #app-page .app-sidebar-link {
        min-height: 46px;
        padding: 8px 11px;
        border-radius: 12px;
      }

      #app-page .app-sidebar-link.is-active {
        border-color: rgba(245, 200, 0, 0.26);
        background: rgba(245, 200, 0, 0.09);
        box-shadow: inset 3px 0 0 rgba(245, 200, 0, 0.85);
      }

      #app-page .app-sidebar-divider {
        flex-shrink: 0;
        margin: 8px 4px;
      }

      #app-page .app-sidebar-session {
        flex-shrink: 0;
        margin-top: auto;
        padding: 9px 10px;
      }

      #app-page .app-sidebar-session-actions {
        margin-top: 8px;
        gap: 7px;
      }

      #app-page .app-sidebar-install .nav-btn {
        min-height: 44px;
        padding: 9px 12px;
        font-size: 12px;
        font-weight: 700;
      }

      #app-page .app-sidebar-logout-btn {
        min-height: 44px;
        padding: 0 12px;
        font-size: 12px;
      }

      #appBottomNav.app-bottom-nav {
        display: none !important;
      }
    }

    @media (min-width: 1200px) and (max-height: 760px) {
      #app-page .app-sidebar-brand img {
        width: 32px;
        height: 32px;
      }

      #app-page .app-sidebar-brand-title {
        font-size: 14px;
      }

      #app-page .app-sidebar-nav {
        gap: 2px;
      }

      #app-page .app-sidebar-link {
        min-height: 42px;
        padding: 6px 10px;
        font-size: 13px;
      }

      #app-page .app-sidebar-session-email {
        font-size: 12px;
      }
    }

    .app-main {
      flex: 1;
      min-width: 0;
      max-width: var(--kg-app-main-max, 1120px);
      width: 100%;
      align-self: start;
      display: flex;
      flex-direction: column;
      gap: 24px;
    }

    .app-hero {
      position: relative;
      overflow: visible;
      padding: clamp(14px, 2.2vw, 24px) clamp(18px, 2.6vw, 28px);
      margin-bottom: 4px;
      min-height: 0;
      border-radius: 28px;
      border: 1px solid var(--kg-border, rgba(245, 200, 0, 0.18));
      background: linear-gradient(180deg, rgba(31, 31, 31, 0.96), rgba(17, 17, 17, 0.98));
      box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
    }

    .app-hero::before {
      content: "";
      position: absolute;
      top: 0;
      right: 0;
      width: 180px;
      height: 180px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(245, 200, 0, 0.08) 0%, rgba(245, 200, 0, 0) 72%);
      pointer-events: none;
      z-index: 0;
    }

    .app-hero::after {
      content: "";
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
      background-size: 28px 28px;
      opacity: 0.05;
      mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 85%);
      pointer-events: none;
      z-index: 0;
    }

    .app-hero-content {
      position: relative;
      z-index: 1;
    }

    .app-hero h1 {
      margin: 0 0 8px;
    }

    .app-hero h1.kg-page-title {
      font-family: "Inter", system-ui, sans-serif;
    }

    #app-page .app-hero#app-hero-anchor {
      scroll-margin-top: var(--kg-scroll-under-header);
    }

    #app-page .app-hero .kg-page-title {
      font-size: clamp(40px, 5vw, 64px);
      line-height: 1.04;
      letter-spacing: -0.035em;
      overflow-wrap: anywhere;
    }

    @media (max-width: 900px) {
      #app-page .app-hero .kg-page-title {
        font-size: clamp(32px, 9vw, 44px);
      }
    }

    .app-hero-sub {
      margin-top: 8px !important;
      font-size: 14px !important;
      color: var(--muted) !important;
    }

    .app-hero-welcome {
      margin: 0 0 8px;
      font-size: 15px;
      font-weight: 700;
      color: var(--primary);
    }

    .app-hero-welcome[hidden],
    .app-stats-row[hidden] {
      display: none !important;
    }

    .app-hero-title-row {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 8px;
      position: relative;
    }

    .app-hero-title-row .kg-page-title {
      flex: 1;
      min-width: 0;
      margin-bottom: 0 !important;
    }

    .app-hero-actions {
      flex-shrink: 0;
      display: flex;
      align-items: center;
      gap: 8px;
      position: relative;
    }

    .app-notif-bell {
      width: 44px;
      height: 44px;
      border-radius: 14px;
      border: 1px solid rgba(245, 196, 0, 0.22);
      background: rgba(255, 255, 255, 0.04);
      color: #f4f4f5;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      padding: 0;
      position: relative;
    }

    .app-notif-badge {
      position: absolute;
      top: -3px;
      right: -3px;
      min-width: 18px;
      height: 18px;
      padding: 0 5px;
      border-radius: 99px;
      background: linear-gradient(135deg, #f59e0b, #eab308);
      color: #111;
      font-size: 11px;
      font-weight: 800;
      line-height: 18px;
      text-align: center;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
      pointer-events: none;
    }

    .app-notif-badge[hidden] {
      display: none !important;
    }

    .app-notif-bell:hover {
      border-color: rgba(245, 196, 0, 0.45);
      background: rgba(245, 196, 0, 0.08);
    }

    .app-notif-bell .kg-icon {
      width: 22px;
      height: 22px;
    }

    .notification-backdrop,
    .kg-notification-backdrop {
      position: fixed;
      inset: 0;
      z-index: 8990;
      background: rgba(0, 0, 0, 0.68);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
    }

    .notification-backdrop[hidden] {
      display: none !important;
    }

    .app-notif-popover,
    .kg-notification-sheet,
    .notification-sheet {
      position: absolute;
      top: calc(100% + 4px);
      right: 0;
      width: min(380px, calc(100vw - 32px));
      padding: 0;
      border-radius: 16px;
      border: 1px solid rgba(245, 196, 0, 0.2);
      background: #141414;
      box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
      z-index: 9010;
      font-size: 14px;
      line-height: 1.5;
      color: #e5e7eb;
      max-height: min(480px, calc(100vh - 120px));
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }

    .app-notif-sheet__body {
      flex: 1 1 auto;
      min-height: 0;
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }

    /* display:flex Ã¼stÃ¼nde [hidden]'Ä± garanti altÄ±na al (yenilemede modal takÄ±lÄ± kalmasÄ±n). */
    .app-notif-popover[hidden] {
      display: none !important;
    }

    .app-notif-popover__head {
      flex: 0 0 auto;
      display: flex;
      justify-content: space-between;
      gap: 10px;
      padding: 14px 16px 10px;
      border-bottom: 1px solid rgba(245, 196, 0, 0.12);
    }

    .app-notif-popover__head h4 {
      margin: 0 0 4px;
      font-size: 16px;
      font-weight: 800;
      color: #fff;
    }

    .app-notif-popover__lead {
      margin: 0;
      color: #9ca3af;
      font-size: 13px;
      line-height: 1.45;
    }

    .app-notif-close {
      flex-shrink: 0;
      width: 36px;
      height: 36px;
      border-radius: 12px;
      border: 1px solid rgba(245, 196, 0, 0.15);
      background: rgba(255, 255, 255, 0.04);
      color: #e5e7eb;
      font-size: 22px;
      line-height: 1;
      cursor: pointer;
      padding: 0;
    }

    .app-notif-close:hover {
      border-color: rgba(245, 196, 0, 0.35);
      background: rgba(245, 196, 0, 0.08);
    }

    .app-notif-list,
    .kg-notification-list {
      flex: 1 1 auto;
      overflow-y: auto;
      padding: 10px;
      padding-bottom: 12px;
      min-height: 0;
      -webkit-overflow-scrolling: touch;
    }

    .app-notif-list::-webkit-scrollbar,
    .kg-notification-list::-webkit-scrollbar {
      width: 6px;
    }

    .app-notif-list::-webkit-scrollbar-thumb,
    .kg-notification-list::-webkit-scrollbar-thumb {
      background: rgba(245, 196, 0, 0.25);
      border-radius: 99px;
    }

    .app-notif-row {
      display: flex;
      gap: 10px;
      padding: 10px 8px;
      border-radius: 12px;
      cursor: pointer;
      border: 1px solid transparent;
      text-align: left;
      width: 100%;
      background: transparent;
      color: inherit;
      font: inherit;
      align-items: flex-start;
    }

    .app-notif-row:hover {
      background: rgba(245, 196, 0, 0.06);
      border-color: rgba(245, 196, 0, 0.12);
    }

    .app-notif-row--unread {
      background: rgba(245, 196, 0, 0.04);
    }

    .app-notif-row--synthetic {
      cursor: default;
    }

    .app-notif-row--synthetic:hover {
      background: rgba(245, 196, 0, 0.04);
    }

    .app-notif-row__icon {
      flex-shrink: 0;
      width: 28px;
      height: 28px;
      border-radius: 10px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
    }

    .app-notif-row__icon--going {
      background: rgba(34, 197, 94, 0.18);
    }
    .app-notif-row__icon--maybe {
      background: rgba(245, 158, 11, 0.2);
    }
    .app-notif-row__icon--declined {
      background: rgba(248, 113, 113, 0.16);
    }
    .app-notif-row__icon--system {
      background: rgba(245, 196, 0, 0.16);
    }
    .app-notif-row__icon--chat {
      background: rgba(168, 85, 247, 0.2);
    }

    .app-notif-row__body {
      flex: 1;
      min-width: 0;
    }

    .app-notif-row__title {
      margin: 0 0 2px;
      font-size: 14px;
      font-weight: 700;
      color: #fff;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .app-notif-dot {
      width: 8px;
      height: 8px;
      border-radius: 99px;
      background: #f59e0b;
      flex-shrink: 0;
    }

    .app-notif-dot[hidden] {
      display: none !important;
    }

    .app-notif-row__msg {
      margin: 0;
      font-size: 13px;
      color: #a1a1aa;
      line-height: 1.4;
    }

    .app-notif-row__meta {
      margin: 6px 0 0;
      font-size: 11px;
      color: #71717a;
    }

    .app-notif-empty {
      flex: 1 1 auto;
      min-height: 120px;
      padding: 18px 16px;
      text-align: center;
      overflow-y: auto;
    }

    .app-notif-empty p {
      margin: 0 0 8px;
      color: #e5e7eb;
      font-size: 14px;
    }

    .app-notif-empty .kg-muted {
      font-size: 13px;
      margin-bottom: 6px;
    }

    .app-notif-empty-hint {
      font-size: 12px !important;
      margin-top: 10px !important;
    }

    .app-notif-footer,
    .kg-notification-footer,
    .notification-footer {
      display: flex;
      flex-direction: column;
      gap: 8px;
      flex: 0 0 auto;
      z-index: 3;
      padding: 12px;
      padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
      border-top: 1px solid rgba(255, 204, 0, 0.12);
      background: linear-gradient(180deg, rgba(20, 20, 18, 0.82), rgba(20, 20, 18, 0.98));
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
    }

    .notification-mark-all-read,
    .mark-all-read-button {
      width: 100%;
      min-height: 48px;
      border-radius: 16px;
      border: 1px solid rgba(255, 204, 0, 0.28);
      background: rgba(0, 0, 0, 0.24);
      color: #ffd400;
      font-weight: 800;
      font-size: 14px;
      justify-content: center;
    }

    .notification-mark-all-read:active,
    .mark-all-read-button:active {
      transform: scale(0.98);
    }

    .app-notif-footer .btn-outline,
    .app-notif-footer .btn-yellow,
    .app-notif-footer .notification-mark-all-read {
      width: 100%;
      justify-content: center;
    }

    @media (max-width: 768px) {
      .app-notif-popover,
      .kg-notification-sheet,
      .notification-sheet {
        position: fixed !important;
        left: 14px !important;
        right: 14px !important;
        bottom: calc(14px + env(safe-area-inset-bottom, 0px)) !important;
        top: auto !important;
        width: auto !important;
        max-height: min(82svh, 720px);
        border-radius: 28px;
        overflow: hidden;
        background: rgba(20, 20, 18, 0.96);
        border: 1px solid rgba(255, 204, 0, 0.22);
        box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        z-index: 9000 !important;
      }

      body.kg-notification-open .app-notif-popover,
      body.kg-notification-open .kg-notification-sheet {
        bottom: calc(14px + env(safe-area-inset-bottom, 0px)) !important;
      }

      .kg-notification-sheet.is-empty,
      .app-notif-popover.is-empty {
        max-height: min(52svh, 420px);
      }

      .app-notif-list:empty {
        min-height: 120px;
      }
    }

    .app-quick-actions {
      display: flex;
      gap: 10px;
      overflow-x: auto;
      padding: 4px 0 8px;
      margin: 0 0 8px;
      scroll-snap-type: x proximity;
      -webkit-overflow-scrolling: touch;
    }

    .app-quick-actions::-webkit-scrollbar {
      height: 4px;
    }

    .app-quick-actions::-webkit-scrollbar-thumb {
      background: rgba(245, 196, 0, 0.25);
      border-radius: 99px;
    }

    .app-quick-action {
      flex: 0 0 auto;
      scroll-snap-align: start;
      min-width: 118px;
      max-width: 160px;
      padding: 12px 12px;
      border-radius: 16px;
      border: 1px solid rgba(245, 196, 0, 0.18);
      background: rgba(17, 17, 17, 0.72);
      text-align: left;
      cursor: pointer;
      color: #f4f4f5;
    }

    .app-quick-action:hover {
      border-color: rgba(245, 196, 0, 0.4);
      background: rgba(245, 196, 0, 0.07);
    }

    .app-quick-action--soon {
      opacity: 0.7;
      border-color: rgba(255, 255, 255, 0.08);
      background: rgba(12, 12, 12, 0.55);
      cursor: pointer;
    }

    .app-quick-action--soon:hover {
      border-color: rgba(255, 255, 255, 0.12);
      background: rgba(20, 20, 20, 0.65);
    }

    .app-quick-action--soon .app-quick-action-kicker {
      color: #6b7280;
    }

    .app-quick-action--soon .app-quick-action-title {
      color: #9ca3af;
    }

    .app-quick-action--soon .app-quick-action-desc {
      color: #6b7280;
    }

    .app-quick-action-kicker {
      display: block;
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      color: rgba(245, 196, 0, 0.85);
      margin-bottom: 4px;
    }

    .app-quick-action-title {
      display: block;
      font-size: 14px;
      font-weight: 800;
      line-height: 1.25;
    }

    .app-quick-action-desc {
      display: block;
      margin-top: 6px;
      font-size: 12px;
      line-height: 1.35;
      color: #9ca3af;
      font-weight: 600;
    }

    .app-plans-tabs {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin: 0 0 14px;
    }

    .app-plans-tabs--scroll {
      flex-wrap: nowrap;
      overflow-x: auto;
      overflow-y: hidden;
      gap: 10px;
      padding-bottom: 6px;
      margin-right: -2px;
      max-width: 100%;
      scrollbar-width: thin;
      -webkit-overflow-scrolling: touch;
    }

    .app-plans-tabs--scroll::-webkit-scrollbar {
      height: 4px;
    }

    .app-plans-tabs--scroll .app-plans-tab {
      flex: 0 0 auto;
    }

    .app-plans-tab {
      border-radius: 999px;
      border: 1px solid rgba(245, 196, 0, 0.2);
      background: rgba(255, 255, 255, 0.03);
      color: #e5e7eb;
      font-weight: 700;
      font-size: 13px;
      padding: 10px 16px;
      min-height: 44px;
      cursor: pointer;
      touch-action: manipulation;
      transition:
        border-color var(--kg-motion-base) var(--kg-ease-standard),
        background var(--kg-motion-fast) var(--kg-ease-standard),
        box-shadow var(--kg-motion-fast) var(--kg-ease-standard);
    }

    .app-plans-tab[aria-selected="false"] {
      opacity: 0.82;
      color: #cbd5e1;
    }

    .app-plans-tab[aria-selected="true"] {
      border-color: rgba(245, 196, 0, 0.72);
      background: rgba(245, 196, 0, 0.16);
      color: #fffbeb;
      box-shadow:
        0 0 0 1px rgba(245, 196, 0, 0.35),
        0 8px 22px rgba(245, 196, 0, 0.12);
    }

    .app-plans-tab:focus-visible {
      outline: 2px solid var(--primary);
      outline-offset: 2px;
    }

    .app-calendar-panel .app-calendar-intro {
      margin: 0 0 14px;
      font-size: 14px;
      line-height: 1.55;
      max-width: 52ch;
    }

    .app-muted-inline-link {
      display: inline;
      padding: 0;
      margin: 0 2px;
      border: none;
      background: none;
      font: inherit;
      font-weight: 700;
      font-size: inherit;
      color: #a3a3a3;
      text-decoration: underline;
      text-underline-offset: 3px;
      cursor: pointer;
      touch-action: manipulation;
    }

    .app-muted-inline-link:hover {
      color: #e5e7eb;
    }

    .app-calendar-empty {
      text-align: center;
      padding: 8px 4px 12px;
    }

    .app-calendar-empty .app-calendar-empty__visual {
      margin-left: auto;
      margin-right: auto;
    }

    .app-calendar-empty__title {
      margin-top: 4px !important;
    }

    .app-calendar-empty__desc {
      margin-top: 8px !important;
      max-width: 38ch;
      margin-left: auto !important;
      margin-right: auto !important;
    }

    .app-calendar-empty__actions {
      margin-top: 18px !important;
      align-items: stretch;
    }

    @media (min-width: 769px) {
      .app-calendar-empty__actions {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
      }
    }

    .btn-text-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      min-height: 44px;
      padding: 10px 12px;
      border: none;
      border-radius: 12px;
      background: transparent;
      font: inherit;
      font-size: 14px;
      font-weight: 600;
      color: #9ca3af;
      text-decoration: underline;
      text-underline-offset: 3px;
      cursor: pointer;
      touch-action: manipulation;
    }

    .btn-text-link:hover {
      color: var(--cream);
      background: rgba(255, 255, 255, 0.03);
    }

    @media (min-width: 769px) {
      .btn-text-link {
        width: auto;
      }
    }

    #app-page .app-panel-calendar .app-calendar-panel {
      max-width: 100%;
      overflow-x: hidden;
    }

    .kg-modal-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.55);
      z-index: 9000;
      display: flex;
      align-items: flex-end;
      justify-content: center;
      padding: 12px;
    }

    /* [hidden] tek baÅŸÄ±na UA'da display:none; .kg-modal-backdrop display:flex daha gÃ¼Ã§lÃ¼ geldiÄŸi iÃ§in
       kapalÄ±yken sheet ilk yÃ¼klemede gÃ¶rÃ¼nÃ¼yordu. */
    .kg-modal-backdrop[hidden] {
      display: none !important;
    }

    @media (min-width: 560px) {
      .kg-modal-backdrop {
        align-items: center;
      }
    }

    .kg-modal-sheet {
      width: min(420px, 100%);
      max-height: min(88vh, 640px);
      overflow: auto;
      border-radius: 20px 20px 12px 12px;
      border: 1px solid rgba(245, 196, 0, 0.22);
      background: #111;
      color: #f4f4f5;
      padding: 18px 18px 20px;
      box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
    }

    @media (min-width: 560px) {
      .kg-modal-sheet {
        border-radius: 20px;
      }
    }

    .kg-modal-sheet h3 {
      margin: 0 0 6px;
      font-size: 18px;
      font-weight: 800;
    }

    .kg-modal-meta {
      font-size: 13px;
      color: #9ca3af;
      margin: 0 0 12px;
      line-height: 1.45;
      word-break: break-word;
    }

    .kg-modal-code {
      font-family: ui-monospace, monospace;
      font-size: 20px;
      font-weight: 800;
      letter-spacing: 0.12em;
      color: var(--primary, #f5c400);
      margin: 8px 0 12px;
    }

    .kg-qr-frame {
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: 200px;
      border-radius: 16px;
      border: 1px dashed rgba(245, 196, 0, 0.25);
      background: rgba(255, 255, 255, 0.02);
      margin: 12px 0;
      padding: 12px;
    }

    .kg-qr-frame img {
      width: 200px;
      height: 200px;
      display: block;
      border-radius: 12px;
      background: #fff;
    }

    .kg-modal-actions {
      display: flex;
      flex-direction: column;
      gap: 8px;
      margin-top: 12px;
    }

    .kg-modal-actions .btn-outline,
    .kg-modal-actions .btn-yellow {
      width: 100%;
      min-height: 48px;
      font-size: 16px;
    }

    .kg-modal-actions--danger {
      margin-top: 14px;
      padding-top: 14px;
      border-top: 1px solid rgba(248, 113, 113, 0.2);
    }

    .kg-modal-actions--danger .app-plan-cta--cancel {
      width: 100%;
    }

    .kg-chip-picker {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 6px;
    }

    .kg-chip-picker__btn {
      flex: 1 1 calc(50% - 8px);
      min-width: 0;
      min-height: 44px;
      padding: 8px 10px;
      border-radius: 12px;
      border: 1px solid rgba(255, 255, 255, 0.14);
      background: rgba(255, 255, 255, 0.04);
      color: var(--text);
      font-family: inherit;
      font-size: 13px;
      font-weight: 700;
      line-height: 1.25;
      text-align: center;
      cursor: pointer;
      -webkit-tap-highlight-color: transparent;
      transition:
        border-color var(--kg-motion-fast) var(--kg-ease-standard),
        background var(--kg-motion-fast) var(--kg-ease-standard);
    }

    .kg-chip-picker__btn:hover {
      border-color: rgba(245, 196, 0, 0.35);
      background: rgba(245, 196, 0, 0.08);
    }

    .kg-chip-picker__btn.is-selected {
      border-color: rgba(245, 196, 0, 0.55);
      background: rgba(245, 196, 0, 0.14);
      color: var(--cream);
    }

    @media (max-width: 380px) {
      .kg-chip-picker__btn {
        flex: 1 1 100%;
      }
    }

    .app-stats-row {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 12px;
      margin-top: 0;
      align-items: stretch;
    }

    .app-stat {
      display: flex;
      flex-direction: column;
      justify-content: center;
      min-height: 92px;
      padding: 14px 16px;
      border-radius: 16px;
      border: 1px solid var(--kg-border, rgba(245, 200, 0, 0.18));
      background: rgba(255, 255, 255, 0.03);
    }

    .app-stat strong {
      display: block;
      font-size: 26px;
      line-height: 1.05;
      color: var(--text);
      margin-bottom: 4px;
    }

    .app-stat span {
      font-size: 12px;
      line-height: 1.35;
      color: var(--app-text-secondary);
    }

    .app-overview-action {
      padding: clamp(16px, 2.2vw, 22px) clamp(18px, 2.5vw, 24px);
      border-radius: var(--kg-radius-card, 24px);
      border: 1px solid var(--kg-border, rgba(245, 200, 0, 0.18));
      background: linear-gradient(135deg, rgba(245, 200, 0, 0.1), rgba(31, 31, 31, 0.92));
      box-shadow: 0 10px 32px rgba(0, 0, 0, 0.2);
    }

    .app-overview-action h2 {
      margin: 0 0 6px;
      font-size: clamp(17px, 2.1vw, 20px);
      font-weight: 800;
      color: var(--cream);
      letter-spacing: -0.02em;
    }

    .app-overview-action > p {
      margin: 0 0 14px;
      font-size: 14px;
      line-height: 1.55;
      color: var(--app-text-secondary);
    }

    .app-overview-action-row {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      align-items: center;
    }

    .app-overview-action-row .btn-yellow {
      min-height: 48px;
      padding-left: 22px;
      padding-right: 22px;
    }

    .app-overview-action-row .btn-outline {
      min-height: 44px;
      padding: 10px 16px;
      font-size: 14px;
      font-weight: 700;
    }

    .app-overview-invite-code-btn {
      background: rgba(255, 255, 255, 0.04) !important;
      border-color: rgba(255, 255, 255, 0.12) !important;
      color: #d1d5db !important;
      box-shadow: none !important;
    }

    .app-overview-invite-code-btn:hover {
      border-color: rgba(245, 196, 0, 0.35) !important;
      background: rgba(245, 196, 0, 0.06) !important;
      color: var(--cream) !important;
    }

    .app-overview-columns {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
    }

    .app-overview-col {
      min-width: 0;
      padding: 16px 16px 14px;
      border-radius: var(--kg-radius-card, 24px);
      border: 1px solid var(--kg-border, rgba(245, 200, 0, 0.16));
      background: rgba(23, 23, 23, 0.65);
    }

    .app-overview-col-head {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 12px;
    }

    .app-overview-col-head h3 {
      margin: 0;
      font-size: 15px;
      font-weight: 800;
      color: var(--cream);
      letter-spacing: -0.01em;
    }

    .app-overview-col-link {
      flex-shrink: 0;
      padding: 0;
      border: none;
      background: none;
      font: inherit;
      font-size: 12px;
      font-weight: 700;
      color: var(--primary);
      cursor: pointer;
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    .app-overview-col-link:hover {
      color: var(--cream);
    }

    .app-overview-empty {
      padding: 12px 0 4px;
    }

    .app-overview-empty p {
      margin: 0 0 8px;
      font-size: 14px;
      line-height: 1.5;
      color: var(--app-text-secondary);
    }

    .app-overview-empty p + p {
      margin-top: 4px;
      font-size: 13px;
      color: var(--muted);
    }

    .app-overview-empty--joined {
      padding: 8px 0 4px;
    }

    .app-overview-empty--joined > p:first-child {
      margin: 0 0 6px;
      font-size: 14px;
      font-weight: 800;
      color: var(--cream);
    }

    .app-overview-empty--joined > p:nth-child(2) {
      margin: 0 0 10px;
      font-size: 13px;
      color: var(--app-text-secondary);
    }

    .app-overview-preview-list {
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .app-overview-preview-list .app-plan-row {
      border-radius: 14px;
      border: 1px solid rgba(255, 255, 255, 0.06);
      background: rgba(0, 0, 0, 0.2);
    }

    .app-overview-quick-row {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
    }

    .app-overview-quick-card {
      min-height: 156px;
      display: flex;
      flex-direction: column;
      padding: 14px 16px;
      border-radius: 18px;
      border: 1px solid var(--kg-border, rgba(245, 200, 0, 0.16));
      background: rgba(255, 255, 255, 0.03);
    }

    .app-overview-quick-card .btn-outline {
      margin-top: auto;
      width: 100%;
      min-height: 46px;
    }

    .app-overview-quick-card h3 {
      margin: 0 0 6px;
      font-size: 14px;
      font-weight: 800;
      color: var(--cream);
    }

    .app-overview-quick-card p {
      margin: 0 0 12px;
      font-size: 13px;
      line-height: 1.5;
      color: var(--app-text-secondary);
    }

    .app-overview-sync-hint {
      margin: 0;
      padding: 12px 14px;
      border-radius: 14px;
      border: 1px solid rgba(255, 255, 255, 0.08);
      background: rgba(255, 255, 255, 0.03);
      font-size: 13px;
      line-height: 1.5;
      color: var(--muted);
    }

    .app-overview-empty .btn-yellow,
    .app-overview-empty .btn-outline {
      margin-top: 10px;
    }

    @media (max-width: 900px) {
      .app-overview-columns,
      .app-overview-quick-row {
        grid-template-columns: 1fr;
      }
    }

    .app-session-chip {
      display: inline-flex;
      align-items: center;
      max-width: 100%;
      margin-top: 12px;
      padding: 6px 12px;
      border-radius: 999px;
      border: 1px solid rgba(245, 200, 0, 0.28);
      background: rgba(245, 200, 0, 0.08);
      color: var(--primary);
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.02em;
    }

    .app-session-chip[hidden] {
      display: none !important;
    }

    .app-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
    }

    .app-card {
      display: block;
      width: 100%;
      min-height: 170px;
      padding: 22px;
      border-radius: 22px;
      border: 1px solid rgba(245, 200, 0, 0.18);
      background: linear-gradient(180deg, rgba(31, 31, 31, 0.96), rgba(17, 17, 17, 0.96));
      box-shadow: 0 12px 36px rgba(0, 0, 0, 0.24);
      text-align: left;
      font-family: inherit;
      color: inherit;
      cursor: pointer;
      transition:
        border-color var(--kg-motion-base) var(--kg-ease-standard),
        transform var(--kg-motion-base) var(--kg-ease-standard),
        box-shadow var(--kg-motion-base) var(--kg-ease-standard);
    }

    @media (hover: hover) and (pointer: fine) {
      .app-card:hover {
        border-color: rgba(245, 200, 0, 0.42);
        transform: translateY(-2px);
        box-shadow:
          0 16px 40px rgba(0, 0, 0, 0.28),
          0 8px 20px rgba(245, 200, 0, 0.06);
      }
    }

    .app-card-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 12px;
    }

    .app-card-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 48px;
      height: 48px;
      border-radius: 14px;
      border: 1px solid rgba(245, 200, 0, 0.18);
      background: rgba(245, 200, 0, 0.08);
      font-size: 18px;
      line-height: 1;
    }

    .app-card h2 {
      margin: 0 0 8px;
      font-size: 20px;
      font-weight: 700;
      color: #f4f4f5;
    }

    .app-badge {
      flex-shrink: 0;
      padding: 6px 10px;
      border-radius: 999px;
      border: 1px solid rgba(245, 200, 0, 0.28);
      background: rgba(245, 200, 0, 0.08);
      color: var(--primary);
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    .app-card p {
      margin: 0;
      font-size: 15px;
      line-height: 1.55;
      color: #9ca3af;
    }

    .app-plan-board {
      display: flex;
      flex-direction: column;
      gap: 28px;
      margin-top: 8px;
    }

    .app-plan-loading {
      margin: 0;
      padding: 12px 16px;
      font-size: 14px;
      line-height: 1.45;
      color: #d4d4d8;
      border-radius: 14px;
      border: 1px solid rgba(245, 200, 0, 0.2);
      background: rgba(245, 200, 0, 0.06);
    }

    .app-plan-section {
      padding: 20px 22px;
      border-radius: 22px;
      border: 1px solid rgba(255, 255, 255, 0.08);
      background: rgba(255, 255, 255, 0.02);
      scroll-margin-top: var(--kg-scroll-under-header);
    }

    .app-plan-heading {
      margin: 0 0 14px;
      font-size: 18px;
      font-weight: 800;
      color: #f4f4f5;
      letter-spacing: -0.02em;
    }

    .app-plan-empty {
      margin: 0;
      font-size: 14px;
      line-height: 1.5;
      color: #9ca3af;
    }

    .app-plan-list {
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .app-setting-block .app-plan-list {
      margin-top: 10px;
    }

    .app-plan-row {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 14px;
      padding: 14px 16px;
      border-radius: 18px;
      border: 1px solid rgba(245, 196, 0, 0.14);
      background: rgba(17, 17, 17, 0.65);
    }

    .app-plan-row--timeline,
    .app-plan-row--manage {
      border-color: rgba(245, 196, 0, 0.22);
      background: linear-gradient(180deg, rgba(28, 28, 28, 0.92), rgba(12, 12, 12, 0.96));
      transition:
        border-color var(--kg-motion-base) var(--kg-ease-standard),
        box-shadow var(--kg-motion-base) var(--kg-ease-standard);
    }

    .app-plan-row--timeline:hover,
    .app-plan-row--manage:hover {
      border-color: rgba(245, 196, 0, 0.42);
      box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.38),
        0 0 28px rgba(245, 196, 0, 0.07);
    }

    .app-plan-lifecycle-badge {
      flex-shrink: 0;
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 0.02em;
      padding: 5px 10px;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .app-plan-lifecycle-badge--active {
      color: #bbf7d0;
      border-color: rgba(74, 222, 128, 0.35);
      background: rgba(34, 197, 94, 0.12);
    }

    .app-plan-lifecycle-badge--upcoming {
      color: #fef08a;
      border-color: rgba(245, 196, 0, 0.4);
      background: rgba(245, 196, 0, 0.12);
    }

    .app-plan-lifecycle-badge--past {
      color: #cbd5e1;
      border-color: rgba(148, 163, 184, 0.28);
      background: rgba(148, 163, 184, 0.1);
    }

    .app-plan-row-actions--compact .app-plan-cta {
      min-width: 120px;
    }

    .app-plan-row-main {
      min-width: 0;
      flex: 1;
    }

    .app-plan-row-title {
      display: block;
      font-size: 16px;
      font-weight: 700;
      color: #f4f4f5;
      margin-bottom: 4px;
    }

    .app-plan-row-meta {
      margin: 0;
      font-size: 13px;
      color: #9ca3af;
    }

    .app-plan-row-actions {
      flex-shrink: 0;
      display: flex;
      flex-direction: column;
      align-items: stretch;
      gap: 8px;
    }

    @media (min-width: 520px) {
      .app-plan-row-actions {
        align-items: flex-end;
      }
    }

    .app-overview-preview-list .app-plan-row--overview {
      flex-direction: column;
      align-items: stretch;
      gap: 12px;
      padding: 12px 14px;
    }

    .app-overview-preview-list .app-plan-row--overview .app-plan-row-actions {
      width: 100%;
      align-items: stretch !important;
    }

    .app-plan-row-actions--overview {
      gap: 10px;
    }

    .app-plan-row-secondary-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      justify-content: stretch;
    }

    .app-plan-row-secondary-actions .app-plan-cta--compact {
      flex: 1 1 calc(33.333% - 6px);
      min-width: 0;
      justify-content: center;
    }

    .app-plan-cta--compact {
      min-height: 42px !important;
      padding: 8px 10px !important;
      font-size: 13px !important;
    }

    .app-plan-row-actions--overview > .btn-yellow.app-plan-cta {
      width: 100%;
      justify-content: center;
      display: inline-flex;
      align-items: center;
      box-sizing: border-box;
    }

    .app-plan-owner-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
      width: 100%;
      margin-top: 6px;
    }
    .app-plan-owner-actions .app-plan-cta {
      width: 100%;
      min-height: 44px;
      justify-content: center;
    }
    .app-plan-cta--edit {
      color: var(--primary) !important;
      border-color: rgba(245, 200, 0, 0.45) !important;
      background: rgba(245, 200, 0, 0.06);
    }
    .app-plan-cta--edit:hover {
      background: rgba(245, 200, 0, 0.14) !important;
    }
    .plan-owner-actions-bar {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin: 0 0 18px;
    }
    .plan-owner-actions-bar .btn-outline {
      flex: 1 1 140px;
      min-height: 44px;
      justify-content: center;
    }
    .plan-report-bar {
      margin: 0 0 12px;
      text-align: right;
    }
    @media (max-width: 520px) {
      .app-plan-owner-actions {
        grid-template-columns: 1fr;
      }
    }
    .app-plan-cancel-row {
      width: 100%;
      margin-top: 4px;
    }
    .app-plan-cta--cancel {
      width: 100%;
      min-height: 44px;
      justify-content: center;
      color: #fecaca !important;
      border-color: rgba(248, 113, 113, 0.5) !important;
      background: rgba(239, 68, 68, 0.08);
    }
    .app-plan-cta--cancel:hover {
      background: rgba(239, 68, 68, 0.18) !important;
      border-color: rgba(252, 165, 165, 0.65) !important;
      color: #fff !important;
    }
    .kg-cancel-plan-confirm.btn-outline {
      color: #fecaca;
      border-color: rgba(248, 113, 113, 0.55);
      background: rgba(239, 68, 68, 0.14);
    }
    .kg-cancel-plan-confirm.btn-outline:hover {
      background: rgba(239, 68, 68, 0.26);
      color: #fff;
    }

    @media (max-width: 420px) {
      .app-plan-row-actions:not(.app-plan-row-actions--overview) .app-plan-row-secondary-actions .app-plan-cta--compact {
        flex: 1 1 100%;
      }

      .app-plan-row-actions--manage .app-plan-row-secondary-actions {
        grid-template-columns: 1fr;
      }
    }

    .app-plan-cta {
      min-height: 48px !important;
      padding: 10px 14px !important;
      font-size: 14px !important;
    }

    .app-plan-row-actions--manage .app-plan-row-secondary-actions {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
    }

    .app-plan-row-actions--manage .app-plan-row-secondary-actions .app-plan-cta--compact {
      flex: none;
      width: 100%;
      min-height: 44px !important;
    }

    .app-plans-filter-empty {
      margin: 4px 0 14px;
      padding: 16px 18px;
      border-radius: 18px;
      border: 1px dashed rgba(245, 196, 0, 0.22);
      background: rgba(0, 0, 0, 0.2);
    }

    .app-plans-filter-empty .kg-card-title {
      margin: 0 0 8px;
      font-size: 17px;
    }

    .app-plans-filter-empty__desc {
      margin: 0 0 14px;
      font-size: 14px;
      line-height: 1.55;
    }

    .app-plans-filter-empty__actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      align-items: center;
    }

    .app-plans-calendar-hint {
      margin: 0 0 14px;
      font-size: 12px;
      line-height: 1.45;
    }

    .app-plan-no-code {
      font-size: 12px;
      font-weight: 600;
      color: rgba(156, 163, 175, 0.85);
    }

    .app-account-links {
      margin: 12px 0 0;
      padding: 0;
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .app-account-links a {
      color: var(--primary);
      font-weight: 700;
      font-size: 14px;
      text-decoration: none;
    }

    .app-account-links a:hover {
      text-decoration: underline;
    }

    @media (max-width: 1100px) {
      .app-plan-board {
        gap: 22px;
      }
    }

    @media (max-width: 768px) {
      #plan-page .plan-wrap {
        max-width: none;
        width: 100%;
      }

      .app-plan-board {
        gap: 18px;
      }

      .app-hero {
        padding: 24px 20px;
        margin-bottom: 18px;
      }

      .app-hero h1 {
        font-size: clamp(32px, 9vw, 44px);
        line-height: 1.08;
      }

      .legal-route .legal-shell,
      .faq-route .faq-shell {
        width: 100%;
        max-width: min(480px, 100%) !important;
        margin-left: auto;
        margin-right: auto;
        padding:
          16px
          max(22px, env(safe-area-inset-right, 0px))
          max(24px, env(safe-area-inset-bottom, 0px))
          max(22px, env(safe-area-inset-left, 0px));
      }

      .legal-route .legal-layout {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
      }

      .legal-toc {
        display: none !important;
      }

      .legal-intro,
      .faq-lead {
        max-width: none;
      }

      .legal-panel,
      .faq-panel {
        width: 100%;
        max-width: none !important;
        margin-left: 0;
        margin-right: 0;
        padding: 18px 18px 20px;
        border-radius: 20px;
      }

      .legal-h1 {
        font-size: clamp(34px, 9vw, 46px);
        line-height: 1.05;
      }

      .legal-h2 {
        font-size: clamp(22px, 6vw, 28px);
        line-height: 1.22;
      }

      .legal-section {
        margin-top: 18px;
        padding-top: 18px;
        scroll-margin-top: var(--kg-scroll-under-header);
      }

      .legal-section-body li {
        margin-bottom: 6px;
      }

      .legal-section-body p,
      .legal-intro p,
      .legal-section-body li,
      .faq-answer p,
      .faq-lead {
        font-size: 16px;
        line-height: 1.58;
      }

      .legal-section-body p {
        margin-bottom: 10px;
      }

      .legal-callout {
        margin-top: 18px;
        padding: 14px 14px;
      }

      .faq-h1 {
        font-size: clamp(34px, 9vw, 46px);
        line-height: 1.05;
      }

      .faq-lead {
        margin-bottom: 18px;
      }

      .faq-badge {
        margin-bottom: 10px;
        padding: 6px 12px;
      }

      .faq-accordion {
        gap: 8px;
      }

      .faq-item {
        border-radius: 16px;
      }

      .faq-trigger {
        min-height: 44px;
        padding: 12px 52px 12px 14px;
        align-items: center;
        font-size: 15px;
      }

      .faq-trigger-text {
        padding-right: 0;
        line-height: 1.35;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;
      }

      .faq-icon {
        width: 40px;
        height: 40px;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 17px;
      }

      .faq-answer {
        padding: 0 14px;
      }

      .faq-item.is-open .faq-answer {
        padding: 0 14px 14px;
        max-height: min(2000px, 75vh);
      }

      .contact-support-card {
        margin-bottom: 16px;
        padding: 14px 16px;
        border-radius: 16px;
      }

      .contact-support-card h2 {
        margin-bottom: 6px;
        font-size: 14px;
      }

      .contact-form {
        gap: 12px;
        max-width: none;
      }

      .contact-field textarea {
        min-height: 148px;
      }

      .contact-field.contact-field--invalid input,
      .contact-field.contact-field--invalid textarea,
      .contact-field.contact-field--invalid select {
        border-color: rgba(248, 113, 113, 0.55);
      }

      .contact-submit-btn {
        width: 100%;
        min-height: 48px;
        justify-content: center;
      }

      body.kg-public-doc-route footer.site-footer {
        padding-top: 10px;
      }

      body.kg-public-doc-route footer.site-footer nav.footer-links {
        gap: 8px 12px;
      }

      body.kg-public-doc-route .footer-cta.site-footer-install.nav-btn {
        min-height: 44px;
        padding: 9px 16px;
        font-size: 12px;
        font-weight: 700;
      }
    }

    @media (min-width: 769px) and (max-width: 1099px) {
      .legal-panel {
        padding: 36px;
        border-radius: var(--kg-radius-panel);
      }

      section:not(#landing-page) .hero {
        max-width: min(100%, 560px);
      }
    }

    @media (min-width: 601px) and (max-width: 1199px) {
      #app-page .app-dashboard,
      #app-page .app-shell {
        max-width: min(var(--kg-app-shell-max), 100%);
        gap: 24px;
      }

      section:not(#landing-page) .hero {
        max-width: 520px;
      }
    }

    @media (max-width: 390px) {
      #app-page .app-dashboard,
      #app-page .app-shell {
        padding:
          16px
          max(14px, env(safe-area-inset-right, 0px))
          calc(var(--kg-app-mobile-nav-clearance) + env(safe-area-inset-bottom, 0px))
          max(14px, env(safe-area-inset-left, 0px));
      }

      .auth-card {
        padding: 20px 16px;
        border-radius: 20px;
      }
      .auth-password-wrap.password-field .auth-input {
        padding-right: 56px;
      }
      .nav-auth-link {
        padding: 8px 8px;
        font-size: 12px;
      }
    }

    /* Cookie consent */
    .cookie-banner {
      position: fixed;
      left: max(16px, env(safe-area-inset-left, 0px));
      right: max(16px, env(safe-area-inset-right, 0px));
      bottom: max(16px, env(safe-area-inset-bottom, 0px));
      z-index: 1200;
      display: flex;
      flex-wrap: wrap;
      align-items: flex-start;
      gap: 14px 16px;
      padding: 16px 18px;
      border-radius: 18px;
      border: 1px solid rgba(245, 200, 0, 0.22);
      background: linear-gradient(165deg, rgba(28, 28, 28, 0.98), rgba(17, 17, 17, 0.98));
      box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
    }

    .cookie-banner[hidden],
    .cookie-panel[hidden] {
      display: none !important;
    }

    .cookie-banner-text {
      flex: 1 1 240px;
      margin: 0;
      font-size: 14px;
      line-height: 1.6;
      color: #d1d5db;
    }

    .cookie-banner-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: center;
    }

    .cookie-btn {
      min-height: 40px;
      padding: 8px 14px;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.12);
      background: rgba(255, 255, 255, 0.04);
      color: var(--cream);
      font-size: 13px;
      font-weight: 700;
      font-family: inherit;
      cursor: pointer;
      white-space: nowrap;
    }

    .cookie-btn:hover {
      border-color: rgba(245, 200, 0, 0.35);
      color: var(--primary);
    }

    .cookie-btn--primary {
      border-color: rgba(245, 200, 0, 0.45);
      background: var(--primary);
      color: #111111;
    }

    .cookie-btn--primary:hover {
      color: #111111;
      filter: brightness(1.05);
    }

    .cookie-close {
      position: absolute;
      top: 10px;
      right: 10px;
      width: 44px;
      height: 44px;
      border: 0;
      border-radius: 10px;
      background: transparent;
      color: #b4b4b4;
      font-size: 22px;
      line-height: 1;
      cursor: pointer;
      display: inline-grid;
      place-items: center;
    }

    .cookie-close:hover {
      color: var(--primary);
      background: rgba(255, 255, 255, 0.05);
    }

    .cookie-panel {
      position: fixed;
      inset: 0;
      z-index: 1300;
      display: flex;
      align-items: center;
      justify-content: center;
      padding:
        max(16px, env(safe-area-inset-top, 0px))
        max(16px, env(safe-area-inset-right, 0px))
        max(16px, env(safe-area-inset-bottom, 0px))
        max(16px, env(safe-area-inset-left, 0px));
      background: rgba(0, 0, 0, 0.72);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
    }

    .cookie-panel-card {
      width: min(100%, 440px);
      max-height: calc(100svh - 32px);
      max-height: calc(100dvh - 32px);
      overflow-y: auto;
      padding: 22px 20px;
      border-radius: 20px;
      border: 1px solid var(--border-soft);
      background: var(--panel);
    }

    .cookie-panel-card h2 {
      margin: 0 0 8px;
      font-family: "Syne", sans-serif;
      font-size: 22px;
      letter-spacing: -0.02em;
    }

    .cookie-panel-card p {
      margin: 0 0 16px;
      font-size: 14px;
      line-height: 1.6;
      color: #b4b4b4;
    }

    .cookie-pref {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
      padding: 12px 0;
      border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

    .cookie-pref strong {
      display: block;
      margin-bottom: 4px;
      font-size: 14px;
      color: var(--cream);
    }

    .cookie-pref span {
      font-size: 13px;
      line-height: 1.5;
      color: #9ca3af;
    }

    .cookie-pref input {
      margin-top: 4px;
      accent-color: var(--primary);
    }

    .cookie-panel-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 16px;
    }

    @media (max-width: 600px) {
      .cookie-banner {
        padding: 44px 16px 16px;
      }
      .cookie-banner-actions {
        width: 100%;
      }
      .cookie-btn {
        flex: 1 1 auto;
        justify-content: center;
      }
    }

    #app-page.active ~ footer.site-footer {
      margin-top: 0;
      border-top-color: rgba(255, 255, 255, 0.06);
    }

    #app-page.active ~ footer.site-footer .site-footer-inner {
      max-width: min(var(--kg-app-shell-max), 100%);
      padding-left: max(var(--kg-page-gutter), env(safe-area-inset-left, 0px));
      padding-right: max(var(--kg-page-gutter), env(safe-area-inset-right, 0px));
    }

    footer.site-footer {
      border-top: 1px solid rgba(255, 255, 255, 0.06);
      background: rgba(10, 10, 10, 0.92);
      padding-top: 22px;
      padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px));
      padding-left: max(28px, env(safe-area-inset-left, 0px));
      padding-right: max(28px, env(safe-area-inset-right, 0px));
      font-size: 13px;
      font-weight: 600;
      color: var(--muted);
    }

    .site-footer-inner {
      width: 100%;
      max-width: 1280px;
      margin: 0 auto;
      box-sizing: border-box;
    }

    .site-footer-inner--bar {
      display: flex;
      flex-direction: row;
      flex-wrap: nowrap;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }

    .site-footer-brand {
      flex: 0 0 auto;
      min-width: 0;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 2px;
    }

    .footer-copy {
      font-weight: 700;
      color: rgba(165, 165, 165, 0.95);
      letter-spacing: 0.02em;
      font-size: 13px;
      white-space: nowrap;
    }

    footer.site-footer nav.footer-links {
      flex: 1 1 auto;
      min-width: 0;
      margin: 0;
      display: flex;
      flex-wrap: nowrap;
      align-items: center;
      justify-content: center;
      gap: 10px 28px;
      padding: 0;
      border: none;
      background: transparent;
      box-shadow: none;
    }

    footer.site-footer nav.footer-links a {
      margin: 0;
      color: var(--kg-muted);
      font-weight: 700;
      font-size: 13px;
      text-decoration: none !important;
      display: inline-flex;
      align-items: center;
      min-height: auto;
      padding: 4px 0;
      border-radius: 0;
      transition: color 0.15s ease;
      white-space: nowrap;
    }

    footer.site-footer nav.footer-links a:hover {
      color: var(--kg-yellow);
      background: transparent;
    }

    footer.site-footer nav.footer-links a.is-active {
      color: var(--kg-yellow);
      text-decoration: underline !important;
      text-decoration-thickness: 1px;
      text-underline-offset: 4px;
    }

    .site-footer-actions-end {
      flex: 0 0 auto;
      display: flex;
      align-items: center;
      justify-content: flex-end;
    }

    .footer-cta.nav-btn.footer-play-cta.site-footer-install {
      min-height: 44px;
      padding: 12px 22px;
      font-size: 13px;
      font-weight: 800;
      border-radius: 999px;
      border: 1px solid rgba(245, 200, 0, 0.32);
      color: var(--kg-text);
      background: rgba(245, 200, 0, 0.04);
      box-shadow: none;
    }

    .footer-cta.nav-btn.footer-play-cta.site-footer-install:hover {
      border-color: rgba(245, 200, 0, 0.65);
      background: rgba(245, 200, 0, 0.1);
    }

    @media (max-width: 900px) {
      .site-footer-inner--bar {
        flex-direction: column;
        align-items: stretch;
        flex-wrap: wrap;
        text-align: center;
        gap: 18px;
      }

      .site-footer-brand {
        text-align: center;
      }

      footer.site-footer nav.footer-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 20px;
        justify-items: center;
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
      }

      footer.site-footer nav.footer-links a {
        justify-content: center;
        width: 100%;
        white-space: normal;
        text-align: center;
      }

      footer.site-footer nav.footer-links a:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
        max-width: 280px;
      }

      .site-footer-actions-end {
        justify-content: center;
      }

      .footer-cta.nav-btn.footer-play-cta.site-footer-install {
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
        justify-content: center;
      }
    }

    @media (max-width: 900px) {
      #app-page.active ~ footer.site-footer .site-footer-inner {
        max-width: 100%;
        padding-left: max(14px, env(safe-area-inset-left, 0px));
        padding-right: max(14px, env(safe-area-inset-right, 0px));
      }

      footer.site-footer {
        padding-top: 14px;
        padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px));
        padding-left: max(14px, env(safe-area-inset-left, 0px));
        padding-right: max(14px, env(safe-area-inset-right, 0px));
        font-size: 12px;
      }

      .footer-copy {
        font-size: 12px;
      }

      footer.site-footer nav.footer-links {
        gap: 8px 14px;
      }

      footer.site-footer nav.footer-links a {
        min-height: 44px;
        padding: 8px 4px;
        font-size: 12px;
      }

      .site-footer-inner--bar {
        gap: 14px;
      }

      #app-page.active ~ footer.site-footer {
        padding-bottom: calc(var(--kg-app-mobile-nav-clearance) + env(safe-area-inset-bottom, 0px));
      }
    }

    @media (max-width: 480px) {
      .rsvp-group {
        flex-direction: column;
      }
      .rsvp-btn {
        width: 100%;
        min-width: 0;
      }
    }

    @media (max-width: 600px) {
      .nav-right {
        margin-left: auto;
        flex-wrap: nowrap;
        gap: 0;
      }
      nav.site-header {
        min-height: calc(var(--kg-header-height) + env(safe-area-inset-top, 0px));
        padding:
          max(6px, env(safe-area-inset-top, 0px))
          max(16px, env(safe-area-inset-right, 0px))
          6px
          max(16px, env(safe-area-inset-left, 0px));
      }
      .logo-img {
        width: 40px;
        height: 40px;
        border-radius: 12px;
      }
      .hero {
        padding:
          clamp(14px, 3vh, 24px)
          max(16px, env(safe-area-inset-right, 0px))
          max(20px, env(safe-area-inset-bottom, 0px))
          max(16px, env(safe-area-inset-left, 0px));
        align-items: stretch;
        text-align: center;
      }
      .hero h1 {
        font-size: clamp(32px, 8vw, 48px);
        line-height: 1.05;
        max-width: none;
        align-self: center;
      }
      .hero-tagline {
        font-size: 13px;
        margin-bottom: 14px;
        align-self: center;
      }
      .hero-slogan {
        font-size: 13px;
        margin-bottom: 14px;
        align-self: center;
      }
      .hero-lead {
        align-self: center;
        text-align: center;
      }
      .hero-lead p {
        font-size: 14px;
      }
      .invite-card {
        padding: 24px 20px;
        border-radius: 24px;
        align-self: stretch;
      }
      .invite-card h2 {
        font-size: 20px;
      }
      .invite-card .invite-card-main > p.sub {
        font-size: 14px;
        margin-bottom: 20px;
      }
      .code-row {
        flex-direction: column;
      }
      .btn-yellow:not(.plan-chat-send) {
        width: 100%;
        justify-content: center;
      }
      .secondary-block {
        align-self: center;
        max-width: 36ch;
      }

      #landing-page .landing-hero.hero .hero-slogan {
        display: none;
      }

      #landing-page .how-it-works {
        margin-top: 20px;
      }

      #landing-page .landing-hero.hero {
        padding-bottom: 28px;
      }
    }

    @media (max-width: 390px) {
      .invite-card {
        padding: 20px 16px;
      }
      .invite-card-tab {
        font-size: 11px;
        padding: 9px 6px;
      }
      .invite-code-input,
      #codeInput {
        padding-left: 14px;
        padding-right: 14px;
      }
    }

    @media (max-height: 600px) and (orientation: landscape) {
      .hero {
        padding-top: 10px;
        padding-bottom: 16px;
      }
      .hero-badge {
        margin-bottom: 10px;
      }
      .hero h1 {
        font-size: clamp(28px, 7vh, 44px);
        margin-bottom: 6px;
      }
      .hero-tagline {
        margin-bottom: 10px;
      }
      .hero-lead {
        margin-bottom: 14px;
      }
      .plan-wrap {
        padding-top: 12px;
      }
      #app-page .app-dashboard,
      #app-page .app-shell {
        padding-top: 20px;
        padding-bottom: max(28px, calc(var(--kg-app-mobile-nav-clearance) + 12px + env(safe-area-inset-bottom, 0px)));
      }
    }

    @media (max-width: 768px) {
      #landing-page .landing-hero.hero {
        max-width: min(1040px, 100%);
        min-height: auto;
        padding-bottom: 28px;
      }

      nav.site-header {
        position: sticky;
        top: 0;
        z-index: 100;
        min-height: calc(var(--kg-header-height) + env(safe-area-inset-top, 0px));
        padding:
          max(0px, env(safe-area-inset-top, 0px))
          16px
          0
          16px;
      }

      nav.site-header .nav-right {
        margin-left: auto;
        flex-wrap: nowrap;
        flex-shrink: 0;
        gap: 6px;
      }

      nav.site-header .nav-header-actions {
        border-left: none !important;
        padding-left: 0 !important;
        margin-left: 0 !important;
      }

      nav.site-header .nav-auth-link {
        font-size: 12px;
        padding: 8px 10px;
        min-height: 38px;
      }

      nav.site-header .logo {
        min-width: 0;
        flex-shrink: 1;
      }

      nav.site-header .logo-img {
        width: 36px;
        height: 36px;
        border-radius: 11px;
      }

      nav.site-header .logo-text {
        font-size: clamp(17px, 4.8vw, 20px);
        max-width: 160px;
        overflow: hidden;
        text-overflow: ellipsis;
      }

      nav.site-header .nav-btn {
        min-height: 38px;
        padding: 8px 12px;
        font-size: 12px;
      }

      .mobile-menu-button {
        display: inline-flex;
      }

      .mobile-menu-overlay {
        display: block;
      }

      .mobile-menu {
        display: flex;
        flex-direction: column;
      }

      .desktop-only {
        display: none;
      }

      .mobile-only {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        vertical-align: middle;
      }

      .hero {
        padding-top: clamp(12px, 2.5vh, 20px);
      }

      .hero-lead {
        margin-bottom: 14px;
      }

      .invite-card {
        padding: 22px;
        border-radius: 22px;
      }

      .invite-card .invite-card-main > p.sub {
        margin-bottom: 12px;
      }

      .code-row {
        flex-direction: column;
        gap: 12px;
      }

      .invite-code-input,
      #codeInput {
        height: 58px;
        min-height: 58px;
        max-height: 58px;
        line-height: 58px;
        font-size: 18px;
      }

      .invite-card .btn-yellow {
        min-height: 56px;
        width: 100%;
      }

      .auth-route .auth-shell {
        padding:
          20px
          max(16px, env(safe-area-inset-right, 0px))
          max(28px, env(safe-area-inset-bottom, 0px))
          max(16px, env(safe-area-inset-left, 0px));
      }

      .legal-section-icon {
        width: 40px;
        height: 40px;
      }

      .legal-section-head {
        align-items: flex-start;
        gap: 12px;
      }

      .legal-section-head .legal-h2 {
        min-width: 0;
      }

      .delete-form-row {
        grid-template-columns: 1fr;
      }

      .delete-form-row .btn-yellow {
        width: 100%;
      }

      .legal-code {
        display: inline-flex;
        max-width: 100%;
        overflow-wrap: anywhere;
      }
    }

    @media (max-width: 360px) {
      .logo-text {
        font-size: 17px;
      }
      .invite-card {
        padding: 18px 14px;
      }
      .legal-panel {
        padding: 16px 14px;
        border-radius: 18px;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      *,
      *::before,
      *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
      }

      .page.page-enter {
        animation: none !important;
      }

      .faq-item.is-open .faq-answer,
      .faq-answer {
        transition: none !important;
      }
    }
