/* 🌌 Groyt Galaksisi (5 Kasım 2026) — galaksi.html / js/galaksi.js. k-evren.css üstüne. */
.gx-canvas { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; touch-action: none; cursor: grab; }
.gx-canvas.is-hover { cursor: pointer; }
.gx-label { font-size: 11.5px; color: #fff1c0; }

.gx-intro { position: fixed; left: 16px; bottom: 16px; width: min(340px, calc(100vw - 32px)); background: var(--ev-panel); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--ev-line); border-radius: 18px; padding: 16px; transition: opacity .4s, transform .4s; }
.gx-intro.is-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; }
.gx-intro h1 { font-family: Sora, sans-serif; font-size: 20px; margin: 0 0 4px; }
.gx-intro p { margin: 0 0 8px; color: var(--ev-muted); font-size: 13px; }
.gx-intro #gxCount { color: var(--ev-accent); font-weight: 700; }
.gx-add { display: inline-flex; margin-top: 4px; font-size: 13px; font-weight: 700; color: var(--ev-accent); text-decoration: none; }

.gx-card { position: fixed; right: 16px; bottom: 16px; width: min(380px, calc(100vw - 32px)); background: var(--ev-panel); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255, 201, 77, .35); border-radius: 20px; padding: 18px; box-shadow: 0 20px 60px rgba(0, 0, 0, .55), 0 0 40px rgba(255, 190, 60, .12); opacity: 0; transform: translateY(18px) scale(.97); transition: opacity .35s, transform .45s cubic-bezier(.2, 1.3, .4, 1); z-index: 5; }
.gx-card[hidden] { display: none; }
.gx-card.is-open { opacity: 1; transform: none; }
.gx-x { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--ev-line); background: rgba(255, 255, 255, .06); color: var(--ev-text); cursor: pointer; }
.gx-head { display: flex; gap: 12px; align-items: center; padding-right: 30px; }
.gx-head img { width: 64px; height: 64px; border-radius: 18px; flex: none; box-shadow: 0 0 24px rgba(255, 201, 77, .3); }
.gx-head h2 { font-family: Sora, sans-serif; font-size: 19px; margin: 0; overflow-wrap: anywhere; }
.gx-head p { margin: 4px 0 0; font-size: 12.5px; color: var(--ev-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.gx-stats { margin: 14px 0 10px; }
.gx-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.gx-tags span { font-size: 11.5px; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--ev-line); color: var(--ev-muted); }
.gx-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gx-btn { display: inline-flex; justify-content: center; padding: 11px 10px; border-radius: 12px; font-weight: 700; font-size: 13.5px; text-decoration: none; color: var(--ev-text); background: rgba(255, 255, 255, .07); border: 1px solid var(--ev-line); }
.gx-btn.is-main { background: var(--ev-accent); color: #1a1406; border-color: transparent; }

@media (max-width: 700px) {
  .gx-card { left: 16px; right: 16px; width: auto; bottom: 12px; }
  .gx-intro { bottom: 12px; }
  .gx-legend { display: none; }
}
