:root {
      --bg-dark: #050816;
      --bg-card: #0f172a;
      --accent: #38bdf8;
      --accent-soft: rgba(56, 189, 248, 0.12);
      --text-main: #e5e7eb;
      --text-muted: #9ca3af;
      --border-subtle: rgba(148, 163, 184, 0.25);
      --danger: #f97373;
      --radius-xl: 1.25rem;
      --shadow-soft: 0 24px 60px rgba(15, 23, 42, 0.85);
      --shadow-card: 0 18px 40px rgba(15, 23, 42, 0.8);
      --transition-fast: 0.18s ease-out;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      position: relative;
      background: radial-gradient(circle at top left, #0f172a 0, #020617 45%, #020617 100%);
      overflow-x: hidden;
      font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
      color: var(--text-main);
      min-height: 100vh;
      line-height: 1.6;
    }
    a { color: inherit; text-decoration: none; }
    .hidden { display: none !important; }
    .page-wrap { max-width: 1120px; margin: 0 auto; padding: 1.5rem 1.25rem 3rem; }

    /* HEADER */
    header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
      padding: 0.75rem 1.25rem;
      margin-bottom: 1.5rem;
      border-radius: 999px;
      background: rgba(15, 23, 42, 0.92);
      border: 1px solid rgba(148, 163, 184, 0.4);
      box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
      backdrop-filter: blur(18px);
      position: sticky;
      top: 0.75rem;
      z-index: 20;
    }
    .logo { display: flex; align-items: center; gap: 0.8rem; }
    .logo-text-main { font-weight: 700; letter-spacing: 0.03em; font-size: 1.05rem; }
    .logo-text-sub { font-size: 0.72rem; color: var(--text-muted); opacity: 0.9; }

    nav { display: flex; align-items: center; gap: 0.25rem; font-size: 0.8rem; }
    nav a {
      padding: 0.4rem 0.75rem;
      border-radius: 999px;
      color: var(--text-muted);
      border: 1px solid transparent;
      transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform 0.12s ease-out;
    }
    nav a:hover {
      background: rgba(15, 23, 42, 0.9);
      color: var(--text-main);
      border-color: rgba(148, 163, 184, 0.6);
      transform: translateY(-1px);
    }
    .nav-cta {
      background: var(--accent-soft);
      color: var(--accent);
      border-color: rgba(56, 189, 248, 0.5);
      font-weight: 600;
    }
    .nav-cta:hover { background: rgba(56, 189, 248, 0.15); }

    /* JOIN FORM */
    .join-form-card {
      margin-top: 1.25rem;
      margin-bottom: 1.75rem;
      border-radius: 1.25rem;
      background: rgba(15, 23, 42, 0.96);
      border: 1px solid rgba(148, 163, 184, 0.45);
      box-shadow: var(--shadow-card);
      padding: 1rem 1.1rem;
      display: grid;
      grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
      gap: 0.75rem;
      align-items: center;
    }
    .join-form-text { font-size: 0.9rem; }
    .join-form-title {
      font-size: 1rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      margin-bottom: 0.4rem;
      color: var(--accent);
      padding: 0.18rem 0.6rem;
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      background: rgba(56, 189, 248, 0.12);
      border: 1px solid rgba(56, 189, 248, 0.4);
    }
    .join-form-text strong { color: var(--accent); }
    .join-form-hint { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.25rem; }
    .join-form-controls {
      display: flex;
      flex-wrap: wrap;
      gap: 0.6rem;
      align-items: center;
      justify-content: flex-end;
    }
    .join-controls-row {
      display: flex;
      flex-wrap: wrap;
      gap: 0.6rem;
      align-items: center;
      justify-content: flex-end;
      width: 100%;
    }
    
    /* Logged-in görünüm: butonlar hep yan yana kalsın */
    .join-actions{
      display:flex;
      align-items:center;
      gap:0.6rem;
      flex:0 0 auto;
    }
    .join-actions .btn{ white-space:nowrap; }
    #join-controls-loggedin .join-user-pill{
      min-width: 0;             /* dar ekranda küçülebilsin */
      flex: 1 1 auto;
      max-width: 420px;
      justify-content: flex-start;
      overflow: hidden;
    }
    #join-controls-loggedin .join-user-name{
      display:block;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 100%;
    }
.join-user-pill {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      padding: 0.45rem 0.85rem;
      border-radius: 999px;
      background: rgba(15, 23, 42, 0.9);
      border: 1px solid rgba(148, 163, 184, 0.55);
      box-shadow: 0 10px 24px rgba(15, 23, 42, 0.65);
      min-width: 220px;
      justify-content: center;
    }
    .join-user-prefix { color: var(--accent); font-weight: 700; }
    .join-user-name { font-weight: 600; color: var(--text-main); }

    .join-input-wrap {
      display: inline-flex;
      align-items: center;
      border-radius: 999px;
      overflow: hidden;
      background: rgba(15, 23, 42, 0.9);
      border: 1px solid rgba(148, 163, 184, 0.55);
      min-width: 220px;
    }
    .join-input-prefix {
      padding: 0.5rem 0.7rem;
      font-weight: 600;
      font-size: 0.9rem;
      color: var(--accent);
      background: rgba(15, 23, 42, 0.98);
    }
    .join-input {
      border: none;
      outline: none;
      background: transparent;
      padding: 0.45rem 0.75rem 0.45rem 0.35rem;
      color: var(--text-main);
      font-size: 0.85rem;
      min-width: 0;
      width: 100%;
      box-shadow: none;
      -webkit-appearance: none;
      appearance: none;
    }
    input:-webkit-autofill,
    input:-webkit-autofill:hover,
    input:-webkit-autofill:focus {
      -webkit-box-shadow: 0 0 0 1000px rgba(15, 23, 42, 0.9) inset !important;
      -webkit-text-fill-color: var(--text-main) !important;
      transition: background-color 5000s ease-in-out 0s;
    }
    .join-input::placeholder { color: var(--text-muted); opacity: 0.75; }
    .join-input.input-error { color: #fecaca; }

    /* HERO */
    .hero-avatar-wrap {
      border-radius: 1.5rem;
      background: radial-gradient(circle at top, rgba(248, 113, 113, 0.3), transparent 60%),
                  radial-gradient(circle at bottom, rgba(59, 130, 246, 0.25), transparent 55%),
                  #020617;
      padding: 0.9rem;
      border: 1px solid rgba(148, 163, 184, 0.5);
      box-shadow: 0 24px 60px rgba(15, 23, 42, 0.95);
    }
    .hero-avatar-img { display: block; width: 100%; border-radius: 1.2rem; object-fit: cover; }
    .hero-avatar-caption { margin-top: 0.5rem; font-size: 0.78rem; color: #9ca3af; text-align: center; }

    .hero {
      display: grid;
      grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
      gap: 2rem;
      margin-top: 1.2rem;
      margin-bottom: 2.8rem;
      align-items: center;
    }
    .hero-text h1 { font-size: clamp(2.1rem, 3vw, 2.6rem); margin-bottom: 0.75rem; }
    .hero-text h1 span {
      display: inline-block;
      background: linear-gradient(120deg, #38bdf8, #a855f7);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }
    .hero-tag {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.25rem 0.7rem;
      border-radius: 999px;
      background: rgba(15, 23, 42, 0.9);
      border: 1px solid rgba(148, 163, 184, 0.4);
      font-size: 0.75rem;
      color: var(--text-muted);
      margin-bottom: 0.8rem;
    }
    .hero-tag-dot {
      width: 6px; height: 6px;
      border-radius: 999px;
      background: #22c55e;
      box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.15);
    }
    .hero p { color: var(--text-muted); font-size: 0.95rem; max-width: 32rem; }
    .hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.4rem; }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.45rem;
      padding: 0.6rem 1.2rem;
      border-radius: 999px;
      border: 1px solid transparent;
      font-size: 0.85rem;
      cursor: pointer;
      font-weight: 600;
      transition: background var(--transition-fast), transform 0.12s ease-out, border-color var(--transition-fast), box-shadow var(--transition-fast);
      background: rgba(15, 23, 42, 0.95);
      color: var(--text-main);
    }
    .btn-primary {
      background: linear-gradient(120deg, #38bdf8, #6366f1);
      color: white;
      box-shadow: 0 16px 40px rgba(56, 189, 248, 0.45);
    }
    .btn-primary:hover {
      transform: translateY(-1px) translateX(1px);
      box-shadow: 0 20px 52px rgba(56, 189, 248, 0.55);
    }
    .btn-ghost {
      border-color: rgba(148, 163, 184, 0.5);
      background: rgba(15, 23, 42, 0.9);
      color: var(--text-muted);
    }
    .btn-ghost:hover { border-color: rgba(148, 163, 184, 0.8); color: var(--text-main); }
    .btn-sm { padding: 0.45rem 0.85rem; font-size: 0.78rem; }
    .hero-note { margin-top: 0.9rem; font-size: 0.78rem; color: var(--text-muted); }
    .hero-note span { color: var(--accent); }

    /* YOUTUBE SUBSCRIBER CARD */
    .yt-sub-row {
      max-width: 1120px;
      margin: 1.5rem auto 0;
      padding: 0;
      display: flex;
      justify-content: center;
    }
    @media (max-width: 768px) {
      .yt-sub-row { justify-content: center; padding: 0 1rem; }
    }

    .yt-sub-card {
      margin-top: 0.9rem;
      padding: 0.55rem 1.2rem;
      border-radius: 999px;
      background: radial-gradient(circle at top left,
        rgba(248, 113, 113, 0.25),
        rgba(15, 23, 42, 0.98)
      );
      border: 1px solid rgba(248, 113, 113, 0.7);
      display: flex;
      align-items: center;
      gap: 0.9rem;
      box-shadow:
        0 0 0 1px rgba(15, 23, 42, 0.9),
        0 18px 35px rgba(15, 23, 42, 0.85);
      backdrop-filter: blur(16px);

      width: 100%;
      min-height: 60px;
      transition:
        transform 0.18s ease-out,
        box-shadow 0.18s ease-out,
        border-color 0.18s ease-out,
        background 0.18s ease-out;
    }
    .yt-sub-card:hover {
      transform: translateY(-1px);
      box-shadow:
        0 0 0 1px rgba(248, 113, 113, 0.5),
        0 22px 45px rgba(15, 23, 42, 0.95);
      border-color: rgba(248, 113, 113, 0.95);
      background: radial-gradient(circle at top left,
        rgba(248, 150, 113, 0.32),
        rgba(15, 23, 42, 0.98)
      );
    }
    .yt-sub-icon {
      width: 32px; height: 32px;
      border-radius: 999px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, #ef4444, #f97316);
      font-size: 1rem;
      font-weight: 700;
      color: #fff;
      box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.9);
      flex-shrink: 0;
    }
    .yt-sub-text {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1.25rem;
    }
    .yt-sub-top { display: flex; align-items: baseline; gap: 0.75rem; }
    .yt-sub-label {
      font-size: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--text-muted);
    }
    .yt-sub-count { font-size: 1.5rem; font-weight: 700; line-height: 1.1; }
    .yt-sub-meta {
      font-size: 0.75rem;
      color: var(--text-muted);
      display: flex;
      align-items: center;
      gap: 0.35rem;
    }
    .yt-sub-dot {
      width: 8px; height: 8px;
      border-radius: 999px;
      background: #22c55e;
      box-shadow: 0 0 10px rgba(34, 197, 94, 0.9);
      flex-shrink: 0;
    }
    .yt-sub-count-bump { animation: ytSubBump 0.35s ease-out; }
    @keyframes ytSubBump {
      0%   { transform: scale(1); }
      35%  { transform: scale(1.08); }
      100% { transform: scale(1); }
    }

    .yt-sub-main { flex: 1; display: flex; flex-direction: column; gap: 0.18rem; }
    .yt-sub-label-row { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }
    .yt-sub-daily { font-size: 0.75rem; color: var(--text-muted); opacity: 0.9; }
    .yt-sub-count-row { display: flex; align-items: baseline; gap: 0.4rem; }

    .yt-sub-delta {
      font-size: 0.9rem;
      font-weight: 600;
      color: #22c55e;
      opacity: 0;
      transform: translateY(4px);
      transition: opacity 0.3s ease-out, transform 0.3s ease-out;
    }
    .yt-sub-delta-show { opacity: 1; transform: translateY(0); }
    @media (max-width: 600px) {
      .yt-sub-label-row { flex-direction: column; align-items: flex-start; }
    }

    /* SECTION HEADERS */
    .section-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 1rem;
      margin-top: 1rem;
      gap: 0.75rem;
    }
    .section-header h2 { font-size: 1.15rem; }
    .section-header p { font-size: 0.8rem; color: var(--text-muted); }

    /* PRODUCTS */
    .products { margin-top: 1.2rem; margin-bottom: 2.5rem; }
    .product-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 1.25rem;
    }
    .product-card {
      background: rgba(15, 23, 42, 0.95);
      border-radius: var(--radius-xl);
      overflow: hidden;
      border: 1px solid var(--border-subtle);
      box-shadow: var(--shadow-card);
      display: flex;
      flex-direction: column;
      transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, border-color 0.18s ease-out;
    }
    .product-card:hover {
      transform: translateY(-4px) translateX(1px);
      box-shadow: 0 22px 55px rgba(15, 23, 42, 0.95);
      border-color: rgba(56, 189, 248, 0.55);
    }
    .product-image-wrap { position: relative; padding: 0.85rem; }
    .product-tag {
      position: absolute;
      left: 1.4rem;
      top: 1.4rem;
      padding: 0.25rem 0.55rem;
      border-radius: 999px;
      font-size: 0.7rem;
      background: rgba(15, 23, 42, 0.9);
      border: 1px solid rgba(148, 163, 184, 0.55);
      color: var(--text-muted);
    }
    .product-body {
      padding: 0.75rem 0.9rem 0.9rem;
      display: flex;
      flex-direction: column;
      gap: 0.45rem;
      font-size: 0.82rem;
    }
    .product-title { font-weight: 600; }
    .product-meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 0.4rem;
    }
    .product-price {
      display: inline-flex;
      align-items: baseline;
      gap: 0.18rem;
      font-weight: 600;
    }
    .product-price span { font-size: 0.78rem; font-weight: 500; color: var(--text-muted); }

    .product-cta { margin-top: 0.4rem; }
    .product-cta a {
      width: 100%;
      display: inline-flex;
      justify-content: center;
      align-items: center;
      gap: 0.35rem;
      padding: 0.55rem 0.85rem;
      border-radius: 999px;
      font-size: 0.8rem;
      font-weight: 600;
      background: linear-gradient(120deg, #38bdf8, #6366f1);
      border: 1px solid rgba(56, 189, 248, 0.6);
      color: white;
      box-shadow: 0 15px 35px rgba(56, 189, 248, 0.4);
      transition: transform 0.16s ease-out, box-shadow 0.16s ease-out, opacity 0.16s ease-out;
    }
    .product-cta a:hover {
      transform: translateY(-2px);
      box-shadow: 0 18px 42px rgba(56, 189, 248, 0.55);
      opacity: 0.96;
    }
    .product-note {
      font-size: 0.75rem;
      color: var(--text-muted);
      margin-top: 0.2rem;
      opacity: 0.8;
      transition: opacity 0.25s ease, transform 0.25s ease, color 0.25s ease;
    }
    .product-card:hover .product-note { opacity: 1; transform: translateY(-1px); color: #e5e7eb; }

    /* INFO */
    .info-grid {
      display: grid;
      grid-template-columns: minmax(0, 2.1fr) minmax(0, 2fr);
      gap: 1.5rem;
      font-size: 0.82rem;
    }
    .info-card {
      background: rgba(15, 23, 42, 0.95);
      border-radius: var(--radius-xl);
      border: 1px solid var(--border-subtle);
      padding: 1.1rem 1.1rem 1.15rem;
      box-shadow: var(--shadow-card);
    }
    .info-card h3 { font-size: 0.95rem; margin-bottom: 0.3rem; }
    .info-steps { margin-top: 0.6rem; list-style: none; display: grid; gap: 0.35rem; }
    .info-steps li { display: flex; align-items: flex-start; gap: 0.45rem; }
    .info-step-badge {
      width: 18px; height: 18px;
      border-radius: 999px;
      background: rgba(56, 189, 248, 0.15);
      border: 1px solid rgba(56, 189, 248, 0.8);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 0.7rem;
      font-weight: 600;
      flex-shrink: 0;
    }
    .info-metadata { margin-top: 0.7rem; font-size: 0.78rem; color: var(--text-muted); }

    /* FOOTER */
    footer {
      margin-top: 2.3rem;
      padding-top: 1.2rem;
      border-top: 1px solid rgba(30, 64, 175, 0.7);
      font-size: 0.75rem;
      color: var(--text-muted);
      display: flex;
      flex-wrap: wrap;
      gap: 0.8rem;
      justify-content: space-between;
      align-items: center;
    }
    .footer-links { display: flex; gap: 0.8rem; flex-wrap: wrap; }
    .footer-links a { text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 3px; }

    /* ADMIN PANEL */
    #redirect-links-container { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.75rem; }
    .redirect-row { display: grid; grid-template-columns: 0.7fr 1.4fr auto; gap: 0.5rem; align-items: center; }
    .redirect-row input { width: 100%; }
    .redirect-delete-btn { white-space: nowrap; }

    .btn-danger { background: rgba(248, 113, 113, 0.08); border-color: rgba(248, 113, 113, 0.8); color: #fecaca; }
    .btn-danger:hover { background: rgba(248, 113, 113, 0.18); border-color: rgba(248, 113, 113, 1); }

    /* MODAL & TOAST */
    .modal-overlay {
      position: fixed; top: 0; left: 0; right: 0; bottom: 0;
      width: 100%; height: 100%;
      background: rgba(15, 23, 42, 0.85);
      backdrop-filter: blur(8px);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 9999;
    }
    .modal-card {
      width: 100%;
      max-width: 420px;
      background: rgba(15, 23, 42, 0.98);
      border-radius: 1.2rem;
      border: 1px solid rgba(148, 163, 184, 0.6);
      box-shadow: 0 24px 70px rgba(15, 23, 42, 0.95);
      padding: 1.1rem 1.15rem 1rem;
    }

.modal-label { display:block; font-size:0.85rem; color: var(--text-muted); }

.modal-input{
  width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.55);
  background: rgba(15,23,42,0.9);
  padding: 0.55rem 0.8rem;
  color: var(--text-main);
  outline: none;
  font-size: 0.85rem;
}
.modal-input:focus{
  border-color: rgba(56,189,248,0.8);
  box-shadow: 0 0 0 3px rgba(56,189,248,0.15);
}

/* Admin "Doğru" seçeneği: seçili (doğru) input'u yeşil göster */
.modal-input.modal-input.modal-title { font-size: 1rem; margin-bottom: 0.25rem; }
    .modal-body-text { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.75rem; }
    .modal-footer { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.6rem; }

    /* SADECE ENDEKS (join-step-4) açıkken modal büyüsün */
    .modal-card.endeks-large {
      width: min(1200px, 96vw);
      max-width: none;
      min-height: min(700px, 88vh);
      max-height: 92vh;
      overflow: hidden;
    }

    .copy-handle {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      padding: 0.35rem 0.6rem;
      border-radius: 999px;
      border: 1px dashed rgba(148, 163, 184, 0.7);
      font-size: 0.8rem;
      cursor: pointer;
      background: rgba(15, 23, 42, 0.9);
      color: var(--accent);
      margin: 0.4rem 0;
    }
    .copy-handle span:first-child { font-weight: 600; }
    .copy-handle:hover { border-style: solid; }
    .modal-subtext { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.2rem; }

    .toast {
      position: fixed;
      bottom: 1.25rem;
      left: 50%;
      transform: translateX(-50%);
      background: rgba(15, 23, 42, 0.98);
      border-radius: 999px;
      border: 1px solid rgba(56, 189, 248, 0.7);
      padding: 0.5rem 0.9rem;
      font-size: 0.78rem;
      color: var(--text-main);
      box-shadow: 0 18px 40px rgba(15, 23, 42, 0.95);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.2s ease-out, transform 0.2s ease-out;
      z-index: 60;
    }
    .toast.show { opacity: 1; transform: translateX(-50%) translateY(-4px); }

    /* RESPONSIVE */
    @media (max-width: 840px) {
      header { border-radius: 1rem; }
      .hero { grid-template-columns: minmax(0, 1fr); }
      .info-grid { grid-template-columns: minmax(0, 1fr); }
      .join-form-card { grid-template-columns: minmax(0,1fr); align-items: flex-start; }
      .join-form-controls { justify-content: flex-start; }
    }
    @media (max-width: 600px) {
      .page-wrap { padding-inline: 0.9rem; }
      header { padding-inline: 0.9rem; }
      nav { display: none; }
      .hero { margin-top: 1.0rem; }
    }

    body::before {
      content: "";
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background-image: url('/AvatarImages/kanka-avatar.png');
      background-size: 75%;
      background-repeat: no-repeat;
      background-position: center center;
      opacity: 0.14;
      filter: blur(22px);
      z-index: 0;
      pointer-events: none;
    }

    /* PRODUCT FRONT/BACK IMAGE FLIP */
    .product-image-wrap { position: relative; width: 100%; padding-top: 125%; border-radius: 1rem; overflow: hidden; }
    .product-card:hover .product-image-front,
    .product-card:hover .product-image-back { transform: scale(1.04); }
    .product-image-front,
    .product-image-back {
      width: 100%;
      height: 100%;
      border-radius: 0.8rem;
      position: absolute;
      top: 0; left: 0;
      object-fit: cover;
      transition: opacity 0.35s ease, transform 0.35s ease;
      transform-origin: center center;
    }
    .product-image-back { opacity: 0; }
    .product-image-wrap:hover .product-image-back { opacity: 1; }
    .product-image-wrap:hover .product-image-front { opacity: 0; }

    @media (max-width: 840px) { .yt-sub-card { padding-inline: 1rem; } }
    @media (max-width: 480px) { .yt-sub-count { font-size: 1.3rem; } }

    /* Endeks kullanıcı tablosu (join-step-4) */
    #endeks-user-table th, #endeks-user-table td{
      border: 1px solid rgba(255,255,255,.10);
      padding: 8px;
      text-align: center;
      font-size: 0.9rem;
    }
    #endeks-user-table thead th{
      position: sticky;
      top: 0;
      background: rgba(10,10,18,.95);
      z-index: 2;
    }
    #endeks-user-table td.cell-var{ opacity: .55; cursor: not-allowed; }
    #endeks-user-table td.cell-yok{ cursor: pointer; text-decoration: underline; }
  
    /* MOBILE COSMETIC FIXES (desktop etkilenmez) */
    @media (max-width: 520px) {
      /* Abone kartı: sayıyı dikey ortala (baseline yerine center) */
      .yt-sub-top { align-items: center; }
      .yt-sub-text { align-items: center; }
      .yt-sub-count { line-height: 1.05; }

      /* Canlı yayın form başlığı: emojileri gizle + tek satır */
      .join-form-title {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        font-size: 0.88rem;
        letter-spacing: 0.08em;
      }
      .join-title-emoji { display: none; }

      /* Hero başlık: mobilde tek satır kalsın */
      .hero-text h1 {
        white-space: nowrap;
        font-size: clamp(1.45rem, 7vw, 1.9rem);
        line-height: 1.15;
      }
      .hero-text h1 span { white-space: nowrap; }
    }


    /* YOKLAMA */
    .yoklama-list {
      display: flex;
      flex-direction: column;
      gap: 0.9rem;
      margin-top: 0.9rem;
    }
    .yoklama-card {
      padding: 0.85rem 0.95rem;
      border-radius: 14px;
      border: 1px solid rgba(148, 163, 184, 0.28);
      background: rgba(2, 6, 23, 0.35);
    }
    .yoklama-card-title {
      font-weight: 700;
      color: var(--text-main);
      margin-bottom: 0.35rem;
    }
    .yoklama-row {
      display: flex;
      align-items: center;
      gap: 0.55rem;
      flex-wrap: wrap;
      margin-top: 0.35rem;
    }
    .yoklama-name-link {
      background: transparent;
      border: 0;
      padding: 0;
      font: inherit;
      color: var(--accent);
      text-decoration: underline;
      cursor: pointer;
    }
    .yoklama-name-text {
      color: var(--text-main);
      font-weight: 600;
    }
    .yoklama-meta {
      color: var(--text-muted);
      font-size: 0.82rem;
    }
    .yoklama-pill {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      padding: 0.18rem 0.55rem;
      border-radius: 999px;
      border: 1px solid rgba(148, 163, 184, 0.28);
      background: rgba(15, 23, 42, 0.65);
      font-size: 0.78rem;
      color: var(--text-muted);
    }
        /* --- Etkinlik: tek butonda 3 seçenek --- */
/* kp-fix-download: re-exported file with centered orange peak + click-safe overlays */
.tri-choice-btn{
  padding:0 !important;
  border-radius:999px;
  overflow:hidden;
  display:flex;
  align-items:stretch;
  justify-content:stretch;
  gap:0;
  position:relative;

  /* Gradient focuses under labels: cyan→blue, orange peak at center (Event), purple on right */
  background:
    radial-gradient(circle at 50% 55%,
      rgba(249,115,22,.95) 0%,
      rgba(249,115,22,.55) 22%,
      rgba(249,115,22,0) 55%
    ),
    linear-gradient(90deg,
      rgba(56,189,248,.98) 0%,
      rgba(96,165,250,.98) 42%,
      rgba(249,115,22,.92) 48%,
      rgba(249,115,22,.92) 52%,
      rgba(168,85,247,.98) 100%
    ) !important;

  border:1px solid rgba(255,255,255,.18);
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
}

/* subtle top highlight to avoid "blocky" look */
.tri-choice-btn::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,0));
  pointer-events:none;
}

.tri-choice-btn .tri-seg{
  flex:1;
  /* match .btn-sm vertical sizing so this row isn't taller than the others */
  padding: 0.45rem 0.85rem;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  letter-spacing:.2px;
  user-select:none;

  /* keep segments transparent so gradient stays continuous */
  background: transparent;
  color: rgba(255,255,255,.94);
  text-shadow: 0 1px 2px rgba(0,0,0,.35);

  position:relative;
  isolation:isolate;
  z-index:1;
  line-height: 1.1;
  box-sizing: border-box;
}

/* tiny per-segment gloss so it doesn't look flat */
.tri-choice-btn .tri-seg::after{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(circle at 30% 18%, rgba(255,255,255,.20), rgba(255,255,255,0) 58%);
  opacity:.55;
  pointer-events:none;
  z-index:-1;
}

/* softer dividers (no harsh blocks) */
.tri-choice-btn .tri-seg + .tri-seg{
  border-left:1px solid rgba(255,255,255,.10);
}

.tri-choice-btn:hover{ transform: translateY(-1px); }
.tri-choice-btn:active{ transform: translateY(0px) scale(.99); }

/* --- Admin / Uçan Halı Videoları: 7 TAB edit UI --- */
      @media (max-width: 820px){
        }
