/* guides: /guides/, /guides/<game>/, /guides/<game>/<slug>/ */
.gd .tag-hero { margin-bottom: 22px; }
.gd-games { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin: 10px 0 30px; }
.gd-game { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 22px; text-decoration: none; overflow: hidden;
  background: linear-gradient(135deg, rgba(168, 85, 247, .22), rgba(255, 79, 216, .06)); border: 1px solid var(--line); transition: transform .2s, border-color .2s; }
.gd-game::after { content: ''; position: absolute; right: -50px; top: -50px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, var(--acc), transparent 70%); opacity: .35; pointer-events: none; }
.gd-game:hover { transform: translateY(-3px); border-color: var(--acc); }
.gd-game .eyebrow { color: var(--acc); }
.gd-game b { font-family: var(--font-display); font-size: 28px; }
.gd-game small { color: var(--muted); line-height: 1.5; font-size: 14px; }
.gd-game .btn { align-self: flex-start; margin-top: 6px; }

.gd-tabs { display: flex; gap: 8px; margin: 0 0 20px; padding: 4px 0; overflow-x: auto; scrollbar-width: none; }
.gd-tabs::-webkit-scrollbar { display: none; }
.gd-panel { scroll-margin-top: 90px; }
.gd-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 800; font-size: 15px;
  flex: none; background: var(--card); border: 1px solid var(--line); color: var(--muted); transition: color .2s, border-color .2s, background .2s; }
.gd-tabs a span { font-size: 12px; padding: 2px 7px; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.gd-tabs a:hover { color: var(--text); border-color: var(--line-hi); }
.gd-tabs a.on { color: #160b33; background: var(--acc, var(--lime)); border-color: transparent; }
.gd-tabs a.on span { background: rgba(22, 11, 51, .15); }
.gd-panel > h2 { font-family: var(--font-display); font-size: 22px; margin: 0 0 14px; }
.gd-panel { margin-bottom: 30px; }

.gd-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.gd-card { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); text-decoration: none; transition: transform .2s, border-color .2s; }
.gd-card:hover { transform: translateY(-3px); border-color: var(--acc, var(--line-hi)); }
.gd-card > span:last-child { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.gd-card b { font-family: var(--font-display); font-size: 16px; line-height: 1.3; }
.gd-card small { color: var(--muted); line-height: 1.45; font-size: 13px; }
.gd-ico { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; font-size: 22px; background: rgba(168, 85, 247, .2); border: 1px solid var(--line); }

.gd-body { max-width: 980px; }
.gd-body > p, .gd-body > ul, .gd-body > h2 { max-width: 780px; }
.gd-body ul { padding-left: 20px; margin: 0 0 14px; }
.gd-body li { margin-bottom: 6px; }
.gd-tip { margin: 18px 0; padding: 14px 18px; border-radius: 16px; max-width: 780px; background: rgba(184, 255, 60, .08); border: 1px solid rgba(184, 255, 60, .35); }
.gd-tip b { color: var(--lime); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.gd-tip p { margin: 4px 0 0; }
.gd-src { color: var(--dim); font-size: 14px; }

.gd-table { margin: 16px 0 22px; }
.gd-filter { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.gd-filter button { font: inherit; font-size: 13px; font-weight: 800; padding: 6px 12px; border-radius: 999px; cursor: pointer; color: var(--muted); background: var(--card); border: 1px solid var(--line); }
.gd-filter button.on { color: #160b33; background: var(--acc, var(--lime)); border-color: transparent; }
.gd-scroll { overflow-x: auto; border-radius: 16px; border: 1px solid var(--line); background: rgba(10, 4, 30, .45); -webkit-overflow-scrolling: touch; }
.gd-table table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.35; }
.gd-table caption { text-align: left; padding: 10px 14px; color: var(--dim); font-size: 12px; font-weight: 700; caption-side: top; }
.gd-table th, .gd-table td { padding: 9px 12px; text-align: left; border-top: 1px solid rgba(196, 170, 255, .1); white-space: nowrap; }
.gd-table td[data-v] { font-variant-numeric: tabular-nums; }
.gd-table thead th { position: sticky; top: 0; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: #1d0e40; border-top: 0; }
.gd-table table.sortable thead th { cursor: pointer; user-select: none; }
.gd-table table.sortable thead th:hover { color: #fff; }
.gd-table thead th::after { content: ''; margin-left: 4px; }
.gd-table thead th[aria-sort=ascending]::after { content: '▲'; color: var(--acc, var(--lime)); }
.gd-table thead th[aria-sort=descending]::after { content: '▼'; color: var(--acc, var(--lime)); }
.gd-table tbody th { font-weight: 800; color: #fff; }
.gd-table tbody th small { display: block; color: var(--dim); font-weight: 600; font-size: 11px; white-space: normal; }
.gd-table tbody tr:hover { background: rgba(168, 85, 247, .1); }

.gd-faq { display: flex; flex-direction: column; gap: 8px; max-width: 780px; }
.gd-faq details { border-radius: 14px; background: var(--card); border: 1px solid var(--line); padding: 0 16px; }
.gd-faq summary { cursor: pointer; padding: 14px 0; font-weight: 800; color: #fff; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.gd-faq summary::-webkit-details-marker { display: none; }
.gd-faq summary::after { content: '+'; color: var(--acc, var(--lime)); font-size: 20px; line-height: 1; }
.gd-faq details[open] summary::after { content: '–'; }
.gd-faq details p { margin: 0 0 14px; }
@media (max-width: 560px) { .gd-tabs a { padding: 8px 12px; font-size: 14px; } }
