/* GG위키 2026.09 — 독립 스킨. 전역 한생 CSS와 충돌하지 않도록 body.gg-dark 아래로 한정한다. */

html body.gg-dark,
html body.gg-dark:not(.landing-page):not(.login-page):not(.register-page) {
  --gg-bg: #080b12;
  --gg-bg-soft: #0b101a;
  --gg-surface: #101622;
  --gg-surface-2: #151d2b;
  --gg-surface-3: #1b2535;
  --gg-line: #283449;
  --gg-line-soft: #1b2535;
  --gg-text: #f7f9fc;
  --gg-text-2: #c8d0dc;
  --gg-muted: #8f9db2;
  --gg-accent: #a8ff35;
  --gg-accent-ink: #0b1204;
  --gg-purple: #7c6cff;
  --gg-cyan: #35d7ff;
  --gg-danger: #ff6b78;
  --gg-success: #4de1a3;
  --gg-warning: #ffca5c;
  --gg-radius: 18px;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 100%;
  background: var(--gg-bg) !important;
  background-image: radial-gradient(circle at 12% 0%, rgba(124,108,255,.13), transparent 32%), radial-gradient(circle at 88% 12%, rgba(53,215,255,.07), transparent 28%) !important;
  color: var(--gg-text) !important;
  color-scheme: dark;
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  overflow-x: hidden;
}

body.gg-dark *, body.gg-dark *::before, body.gg-dark *::after { box-sizing: border-box; }
body.gg-dark a { color: inherit; }
body.gg-dark button, body.gg-dark input, body.gg-dark textarea, body.gg-dark select { font: inherit; }
body.gg-dark button, body.gg-dark a { -webkit-tap-highlight-color: transparent; }
body.gg-dark [hidden] { display: none !important; }
body.gg-dark :focus-visible { outline: 3px solid rgba(168,255,53,.55) !important; outline-offset: 3px; }
body.gg-dark::before, body.gg-dark::after { display: none !important; }
.gg-svg-icon { width: 19px; height: 19px; display: block; fill: none; }

.gg-sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.gg-skip-link { position: fixed; left: 16px; top: -80px; z-index: 10000; padding: 11px 16px; border-radius: 10px; background: var(--gg-accent); color: var(--gg-accent-ink) !important; font-weight: 800; text-decoration: none; transition: top .15s ease; }
.gg-skip-link:focus { top: 12px; }

/* Header */
.gg-header { position: sticky !important; top: 0 !important; z-index: 1000; width: 100%; height: 70px; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(8,11,18,.86) !important; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.gg-header-inner { width: min(1440px, 100%); height: 70px; margin: 0 auto; padding: 0 40px; display: flex; align-items: center; gap: 32px; }
.gg-logo { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; color: var(--gg-text) !important; font-size: 18px; font-weight: 900; letter-spacing: -.03em; text-decoration: none; }
.gg-logo-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px 5px 11px 5px; color: var(--gg-accent-ink); background: var(--gg-accent); box-shadow: 0 0 28px rgba(168,255,53,.18); font-size: 17px; font-style: italic; }
.gg-logo-sub { margin-left: 2px; color: var(--gg-accent); }
.gg-nav { display: flex; align-items: stretch; gap: 3px; height: 100%; }
.gg-nav a { position: relative; display: flex; align-items: center; padding: 0 13px; color: var(--gg-muted) !important; font-size: 13px; font-weight: 750; text-decoration: none; white-space: nowrap; transition: color .15s ease; }
.gg-nav a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: -1px; height: 2px; border-radius: 2px 2px 0 0; background: transparent; }
.gg-nav a:hover, .gg-nav a.active { color: var(--gg-text) !important; }
.gg-nav a.active::after { background: var(--gg-accent); }
.gg-header-search { position: relative; width: min(330px, 27vw); margin-left: auto; }
.gg-header-search .gg-search-icon, .gg-hero-search-wrap > .gg-search-icon { position: absolute; z-index: 2; left: 14px; top: 50%; transform: translateY(-50%); color: var(--gg-muted); font-size: 20px; pointer-events: none; }
body.gg-dark .gg-header-search input, body.gg-dark #ggHeaderSearch { width: 100% !important; height: 40px; margin: 0 !important; padding: 0 14px 0 41px !important; border: 1px solid var(--gg-line) !important; border-radius: 12px !important; background: rgba(255,255,255,.045) !important; color: var(--gg-text) !important; font-size: 13px !important; box-shadow: none !important; }
body.gg-dark .gg-header-search input::placeholder { color: var(--gg-muted) !important; }
body.gg-dark .gg-header-search input:focus { border-color: rgba(168,255,53,.6) !important; background: var(--gg-surface) !important; }
.gg-header-right { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; }
.gg-icon-btn { display: grid; place-items: center; min-width: 40px; height: 40px; margin: 0; padding: 0; border: 1px solid var(--gg-line); border-radius: 12px; background: transparent; color: var(--gg-text-2) !important; text-decoration: none; cursor: pointer; }
.gg-icon-btn:hover { border-color: var(--gg-muted); background: var(--gg-surface-2); }
.gg-header-tool { position: relative; display: grid; place-items: center; width: 40px; height: 40px; margin: 0; padding: 0; border: 0; border-radius: 10px; background: transparent; text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, filter .15s ease; }
.gg-header-tool .gg-svg-icon { width: 21px; height: 21px; }
.gg-header-tool:hover { background: rgba(255,255,255,.065); filter: brightness(1.12); transform: translateY(-1px); }
.gg-header-tool:active { background: rgba(255,255,255,.1); transform: translateY(0) scale(.94); }
.gg-header-tool:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.gg-notification-btn { color: #ffad2f !important; }
.gg-profile-btn { color: #2f78ad !important; }
.gg-login-btn { min-height: 40px; display: inline-flex; align-items: center; padding: 0 17px; border-radius: 12px; background: var(--gg-accent); color: var(--gg-accent-ink) !important; font-size: 13px; font-weight: 850; text-decoration: none; }
.gg-mobile-search-button { display: none; }

/* Search */
.gg-search-dropdown { position: absolute; top: calc(100% + 9px); left: 0; right: 0; z-index: 1200; max-height: min(470px, 70vh); overflow-y: auto; border: 1px solid var(--gg-line); border-radius: 16px; background: rgba(16,22,34,.98); box-shadow: 0 24px 70px rgba(0,0,0,.5); text-align: left; }
.gg-search-group { padding: 7px; border-bottom: 1px solid var(--gg-line-soft); }
.gg-search-group:last-child { border-bottom: 0; }
.gg-search-group-title { padding: 7px 9px 5px; color: var(--gg-muted); font-size: 12px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.gg-search-item { display: grid; grid-template-columns: 35px 1fr auto; align-items: center; gap: 10px; min-height: 52px; padding: 7px 9px; border-radius: 10px; color: var(--gg-text) !important; text-decoration: none; }
.gg-search-item:hover, .gg-search-item.active { background: var(--gg-surface-3); }
.gg-search-item > span:nth-child(2) { min-width: 0; display: flex; flex-direction: column; }
.gg-search-item strong { overflow: hidden; font-size: 13px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.gg-search-item small { color: var(--gg-muted); font-size: 12px; }
.gg-search-item > i { color: var(--gg-muted); font-style: normal; }
.gg-search-kind { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 9px; font-size: 12px; font-weight: 900; }
.gg-search-kind.game { color: var(--gg-accent); background: rgba(168,255,53,.1); }
.gg-search-kind.doc { color: var(--gg-cyan); background: rgba(53,215,255,.1); }
.gg-search-kind.talk { color: #aa9fff; background: rgba(124,108,255,.14); }
.gg-search-empty { display: flex; flex-direction: column; gap: 3px; padding: 24px 18px; }
.gg-search-empty strong { font-size: 13px; }
.gg-search-empty span { color: var(--gg-muted); font-size: 12px; }
.gg-search-loading { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 72px; color: var(--gg-muted); font-size: 12px; }
.gg-search-loading i { width: 16px; height: 16px; border: 2px solid var(--gg-line); border-top-color: var(--gg-accent); border-radius: 50%; animation: gg-spin .7s linear infinite; }
@keyframes gg-spin { to { transform: rotate(360deg); } }
.gg-mobile-search { position: fixed; inset: 0; z-index: 2000; }
.gg-mobile-search-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.7); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.gg-mobile-search-dialog { position: relative; width: min(620px, calc(100% - 28px)); margin: max(18px, env(safe-area-inset-top)) auto 0; padding: 16px; border: 1px solid var(--gg-line); border-radius: 20px; background: var(--gg-surface); box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.gg-mobile-search-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.gg-mobile-search-head strong { font-size: 16px; }
.gg-mobile-search-head button { width: 38px; height: 38px; border: 0; border-radius: 10px; background: var(--gg-surface-2); color: var(--gg-text); font-size: 24px; cursor: pointer; }
body.gg-dark #ggMobileSearch { width: 100%; height: 52px; padding: 0 15px !important; border: 1px solid var(--gg-line) !important; border-radius: 13px !important; background: var(--gg-bg-soft) !important; color: var(--gg-text) !important; box-shadow: none !important; }
.gg-search-dropdown-mobile { position: static; margin-top: 10px; max-height: 60vh; box-shadow: none; }
body.gg-search-open { overflow: hidden !important; }

/* Foundations */
.gg-page, .wiki-page { position: relative; width: min(1320px, calc(100% - 64px)); margin: 0 auto; padding: 0 0 100px; }
.wiki-page { width: min(1180px, calc(100% - 64px)); padding-top: 28px; }
.gg-kicker { margin: 0 0 7px !important; color: var(--gg-accent) !important; font-size: 12px !important; font-weight: 900 !important; letter-spacing: .16em !important; text-transform: uppercase; }
.gg-section { margin: 74px 0; }
.gg-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.gg-section-head.compact { align-items: center; margin-bottom: 17px; }
.gg-section-head h2, .gg-feed-group-head h2 { margin: 0; color: var(--gg-text); font-size: clamp(21px, 2vw, 28px); font-weight: 850; letter-spacing: -.035em; }
.gg-section-head a { color: var(--gg-text-2) !important; font-size: 12px; font-weight: 750; text-decoration: none; }
.gg-section-head a:hover { color: var(--gg-accent) !important; }
.gg-panel { border: 1px solid var(--gg-line); border-radius: var(--gg-radius); background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.012)); }
.gg-empty-inline { padding: 38px 6px; color: var(--gg-muted); font-size: 13px; }
.gg-empty-state { display: flex; min-height: 210px; flex-direction: column; align-items: center; justify-content: center; padding: 34px; border: 1px dashed var(--gg-line); border-radius: var(--gg-radius); background: rgba(255,255,255,.018); text-align: center; }
.gg-empty-state > span { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 15px; border-radius: 15px; background: var(--gg-surface-2); color: var(--gg-accent); font-size: 22px; }
.gg-empty-state h2, .gg-empty-state h3 { margin: 0 0 5px; color: var(--gg-text); font-size: 18px; }
.gg-empty-state p { margin: 0 0 18px; color: var(--gg-muted); font-size: 13px; }
.gg-button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 18px; border: 1px solid var(--gg-line); border-radius: 12px; background: transparent; color: var(--gg-text) !important; font-size: 13px; font-weight: 850; text-decoration: none; cursor: pointer; transition: transform .15s ease, border-color .15s ease, background .15s ease; }
.gg-button:hover { transform: translateY(-1px); border-color: var(--gg-muted); }
.gg-button.primary { border-color: var(--gg-accent); background: var(--gg-accent); color: var(--gg-accent-ink) !important; }
.gg-button.ghost { background: var(--gg-surface); }
.gg-button:disabled { cursor: not-allowed; opacity: .45; transform: none; }

/* Home */
.gg-hero { min-height: 620px; display: grid; grid-template-columns: minmax(0, 1.38fr) minmax(320px, .62fr); align-items: center; gap: clamp(48px, 7vw, 100px); padding: 76px 0 66px; border-bottom: 1px solid var(--gg-line-soft); }
.gg-eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; color: var(--gg-text-2); font-size: 12px; font-weight: 700; }
.gg-eyebrow span { width: 23px; height: 2px; background: var(--gg-accent); }
.gg-hero h1, .gg-page-hero h1 { margin: 0; color: var(--gg-text); font-size: clamp(42px, 5.25vw, 76px); font-weight: 900; line-height: 1.08; letter-spacing: -.06em; }
.gg-hero h1 em, .gg-page-hero h1 em { color: var(--gg-accent); font-style: normal; }
.gg-hero-sub { max-width: 660px; margin: 23px 0 30px; color: var(--gg-muted); font-size: 15px; line-height: 1.75; }
.gg-hero-search-wrap { position: relative; width: min(640px, 100%); }
body.gg-dark #ggHeroSearch { width: 100% !important; height: 60px; margin: 0 !important; padding: 0 78px 0 49px !important; border: 1px solid var(--gg-line) !important; border-radius: 16px !important; background: var(--gg-surface) !important; color: var(--gg-text) !important; font-size: 15px !important; box-shadow: 0 16px 45px rgba(0,0,0,.2) !important; }
body.gg-dark #ggHeroSearch:focus { border-color: rgba(168,255,53,.65) !important; }
.gg-hero-search-wrap kbd { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); padding: 4px 7px; border: 1px solid var(--gg-line); border-radius: 7px; background: var(--gg-surface-2); color: var(--gg-muted); font-size: 12px; font-family: inherit; }
.gg-hero-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 15px; }
.gg-hero-quick > span { margin-right: 3px; color: var(--gg-muted); font-size: 12px; }
.gg-hero-quick a { padding: 5px 9px; border-radius: 7px; color: var(--gg-text-2) !important; background: rgba(255,255,255,.035); font-size: 12px; text-decoration: none; }
.gg-hero-quick a:hover { color: var(--gg-accent) !important; }
.gg-hero-panel { position: relative; min-height: 430px; display: flex; flex-direction: column; justify-content: flex-end; padding: 25px; border: 1px solid var(--gg-line); border-radius: 30px 10px 30px 10px; background: linear-gradient(150deg, rgba(124,108,255,.16), rgba(16,22,34,.38) 55%, rgba(168,255,53,.045)); overflow: hidden; }
.gg-hero-panel::before { content: ""; position: absolute; inset: 0; opacity: .14; background-image: linear-gradient(var(--gg-line) 1px, transparent 1px), linear-gradient(90deg, var(--gg-line) 1px, transparent 1px); background-size: 34px 34px; mask-image: linear-gradient(to bottom, black, transparent 75%); }
.gg-hero-art { position: absolute; inset: 0 0 120px; margin: 0; overflow: hidden; }
.gg-hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 48%, rgba(8,11,18,.92) 96%); }
.gg-hero-art img { width: 100%; height: 100%; display: block; object-fit: cover; filter: saturate(.92) contrast(1.04); }
.gg-live-label { position: relative; display: flex; align-items: center; gap: 8px; margin-bottom: 12px; color: var(--gg-muted); font-size: 12px; font-weight: 900; letter-spacing: .14em; }
.gg-live-label i { width: 7px; height: 7px; border-radius: 50%; background: var(--gg-accent); box-shadow: 0 0 12px var(--gg-accent); }
.gg-hero-stats { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0; border: 1px solid var(--gg-line); border-radius: 14px; background: var(--gg-line); overflow: hidden; }
.gg-hero-stats > div { padding: 13px 15px; background: rgba(8,11,18,.88); }
.gg-hero-stats dt { color: var(--gg-muted); font-size: 12px; }
.gg-hero-stats dd { margin: 2px 0 0; color: var(--gg-text); font-size: 20px; font-weight: 900; }
.gg-game-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 13px; }
.gg-game-card { position: relative; min-height: 245px; display: flex; flex-direction: column; padding: 21px; border: 1px solid var(--gg-line); border-radius: var(--gg-radius); background: var(--gg-surface); color: var(--gg-text) !important; text-decoration: none; overflow: hidden; transition: transform .18s ease, border-color .18s ease; }
.gg-game-card::before { content: ""; position: absolute; right: -45px; top: -55px; width: 170px; height: 170px; border-radius: 50%; background: var(--card-glow, rgba(124,108,255,.16)); filter: blur(3px); }
.gg-game-card:hover { transform: translateY(-5px); border-color: rgba(168,255,53,.42); }
.gg-game-tone-2 { --card-glow: rgba(53,215,255,.14); }.gg-game-tone-3 { --card-glow: rgba(255,107,120,.13); }.gg-game-tone-4 { --card-glow: rgba(168,255,53,.11); }
.gg-game-rank { color: var(--gg-muted); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.gg-game-symbol { position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin: 24px 0 17px; border: 1px solid rgba(255,255,255,.08); border-radius: 16px 7px 16px 7px; background: rgba(255,255,255,.055); color: var(--gg-text); font-size: 23px; font-weight: 900; }
.gg-game-card-name { position: relative; font-size: 16px; font-weight: 850; }
.gg-game-card-desc { position: relative; height: 38px; margin-top: 4px; overflow: hidden; color: var(--gg-muted); font-size: 12px; line-height: 1.65; }
.gg-game-card-meta { position: relative; margin-top: auto; color: var(--gg-muted); font-size: 12px; }
.gg-game-card-meta b { color: var(--gg-text-2); }.gg-game-card-meta i { display: inline-block; width: 3px; height: 3px; margin: 0 6px 2px; border-radius: 50%; background: var(--gg-muted); }
.gg-card-arrow { position: absolute; right: 19px; top: 18px; color: var(--gg-muted); }
.gg-content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.gg-content-grid > .gg-section { margin: 0; padding: 25px; }
.gg-trending-list { margin: 0; padding: 0; list-style: none; counter-reset: trend; }
.gg-trending-list li { counter-increment: trend; }
.gg-trending-list a { display: grid; grid-template-columns: 28px 72px 1fr auto; align-items: center; gap: 10px; min-height: 56px; border-bottom: 1px solid var(--gg-line-soft); text-decoration: none; }
.gg-trending-list li:last-child a { border-bottom: 0; }
.gg-trending-list a::before { content: counter(trend, decimal-leading-zero); color: var(--gg-accent); font-size: 12px; font-weight: 900; }
.gg-trending-game { overflow: hidden; color: var(--gg-muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.gg-trending-title { overflow: hidden; color: var(--gg-text); font-size: 13px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.gg-trending-views { color: var(--gg-muted); font-size: 12px; text-transform: uppercase; }
.gg-changes-list { margin: 0; padding: 0; list-style: none; }
.gg-changes-list li { min-height: 56px; display: grid; grid-template-columns: 8px minmax(0,1fr) auto 55px; align-items: center; gap: 10px; border-bottom: 1px solid var(--gg-line-soft); }
.gg-changes-list li:last-child { border-bottom: 0; }
.gg-change-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gg-cyan); box-shadow: 0 0 10px rgba(53,215,255,.45); }
.gg-change-copy { min-width: 0; display: flex; flex-direction: column; }
.gg-change-copy a { overflow: hidden; color: var(--gg-text) !important; font-size: 13px; font-weight: 750; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.gg-change-copy small, .gg-changes-list time { color: var(--gg-muted); font-size: 12px; }
.gg-changes-diff { font-size: 12px; font-weight: 850; }.gg-diff-pos { color: var(--gg-success) !important; }.gg-diff-neg { color: var(--gg-danger) !important; }.gg-diff-zero { color: var(--gg-muted) !important; }
.gg-community { padding-top: 16px; }
.gg-discussion-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 13px; }
.gg-discussion-card { min-height: 190px; display: flex; flex-direction: column; padding: 21px; border: 1px solid var(--gg-line); border-radius: var(--gg-radius); background: var(--gg-surface); text-decoration: none; transition: border-color .15s ease; }
.gg-discussion-card:hover { border-color: rgba(124,108,255,.6); }
.gg-discussion-board { color: #ada4ff; font-size: 12px; font-weight: 750; }
.gg-discussion-title { margin: 11px 0 22px; color: var(--gg-text); font-size: 15px; font-weight: 800; line-height: 1.5; }
.gg-discussion-bar { display: flex; width: 100%; height: 5px; margin-top: auto; border-radius: 99px; background: var(--gg-line); overflow: hidden; }
.gg-discussion-bar i { height: 100%; }.gg-discussion-bar .agree { background: var(--gg-success); }.gg-discussion-bar .disagree { background: var(--gg-danger); }.gg-discussion-bar .neutral { background: var(--gg-muted); }
.gg-discussion-meta { display: flex; gap: 12px; margin-top: 9px; color: var(--gg-muted); font-size: 12px; }.gg-discussion-meta b { font-weight: 700; }.gg-discussion-meta small { margin-left: auto; font-size: inherit; }
.gg-final-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 86px; padding: 45px 48px; border: 1px solid rgba(168,255,53,.22); border-radius: 26px 10px 26px 10px; background: linear-gradient(110deg, rgba(168,255,53,.09), rgba(124,108,255,.09)); }
.gg-final-cta h2 { margin: 0 0 5px; color: var(--gg-text); font-size: 29px; letter-spacing: -.04em; }.gg-final-cta p:not(.gg-kicker) { margin: 0; color: var(--gg-muted); font-size: 13px; }

/* Footer + mobile nav */
.gg-footer { border-top: 1px solid var(--gg-line-soft); background: rgba(8,11,18,.72); }
.gg-footer-inner { width: min(1320px, calc(100% - 64px)); min-height: 116px; display: flex; align-items: center; justify-content: space-between; gap: 30px; margin: 0 auto; }
.gg-footer-inner > div { display: flex; flex-direction: column; }.gg-footer-inner strong { font-size: 14px; }.gg-footer-inner span { color: var(--gg-muted); font-size: 12px; }
.gg-footer nav { display: flex; gap: 22px; }.gg-footer a { color: var(--gg-muted) !important; font-size: 12px; text-decoration: none; }.gg-footer a:hover { color: var(--gg-text) !important; }
.gg-mobile-nav { display: none; }

/* Wiki shared */
.wiki-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 36px; margin-bottom: 24px; color: var(--gg-muted); font-size: 12px; }
.wiki-breadcrumb a { color: var(--gg-text-2) !important; text-decoration: none; }.wiki-breadcrumb a:hover { color: var(--gg-accent) !important; }.wiki-breadcrumb span { color: var(--gg-muted); }
.wiki-muted, .wiki-muted-sm { color: var(--gg-muted); }.wiki-muted-sm { font-size: 12px; }
.wiki-alert { display: flex; gap: 8px; margin: 0 0 20px; padding: 13px 15px; border: 1px solid var(--gg-line); border-radius: 12px; background: var(--gg-surface); color: var(--gg-text-2); font-size: 12px; }
.wiki-alert.error { border-color: rgba(255,107,120,.35); background: rgba(255,107,120,.08); color: #ffb2ba; }.wiki-alert.success { border-color: rgba(77,225,163,.35); background: rgba(77,225,163,.08); color: #a8f5d3; }

/* Game */
.wiki-game-hero { min-height: 280px; display: grid; grid-template-columns: 112px 1fr auto; align-items: center; gap: 28px; padding: 40px; border: 1px solid var(--gg-line); border-radius: 28px 10px 28px 10px; background: linear-gradient(125deg, rgba(124,108,255,.15), rgba(16,22,34,.68) 55%, rgba(168,255,53,.055)); }
.wiki-game-symbol { display: grid; place-items: center; width: 112px; height: 112px; border: 1px solid rgba(255,255,255,.1); border-radius: 28px 10px 28px 10px; background: rgba(255,255,255,.045); color: var(--gg-accent); font-size: 42px; font-weight: 950; }
.wiki-game-copy h1 { margin: 0; color: var(--gg-text); font-size: clamp(32px,5vw,52px); font-weight: 900; letter-spacing: -.055em; }.wiki-game-copy > p:last-child { max-width: 620px; margin: 8px 0 0; color: var(--gg-muted); font-size: 13px; }
.wiki-game-stats { display: grid; grid-template-columns: repeat(4,1fr); margin: 16px 0 58px; border: 1px solid var(--gg-line); border-radius: 15px; background: var(--gg-line); gap: 1px; overflow: hidden; }
.wiki-game-stats > div { padding: 16px 20px; background: var(--gg-surface); }.wiki-game-stats dt { color: var(--gg-muted); font-size: 12px; }.wiki-game-stats dd { margin: 4px 0 0; color: var(--gg-text); font-size: 20px; font-weight: 850; }
.wiki-game-empty { margin-bottom: 50px; }
.wiki-game-layout { display: grid; grid-template-columns: 245px minmax(0,1fr); align-items: start; gap: 40px; }
.wiki-game-side { position: sticky; top: 92px; padding: 20px; border: 1px solid var(--gg-line); border-radius: 16px; background: var(--gg-surface); }.wiki-game-side h2 { margin: 0 0 14px; font-size: 16px; }.wiki-game-side ol { margin: 0; padding: 0; list-style: none; counter-reset: recent; }.wiki-game-side li { counter-increment: recent; }.wiki-game-side a { display: grid; grid-template-columns: 20px 1fr; gap: 7px; padding: 10px 0; border-bottom: 1px solid var(--gg-line-soft); text-decoration: none; }.wiki-game-side a::before { content: counter(recent, decimal-leading-zero); color: var(--gg-accent); font-size: 12px; font-weight: 900; }.wiki-game-side a strong, .wiki-game-side a span { grid-column: 2; }.wiki-game-side a strong { overflow: hidden; color: var(--gg-text); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }.wiki-game-side a span { color: var(--gg-muted); font-size: 12px; }
.wiki-result-count { color: var(--gg-muted); font-size: 12px; }
.wiki-category-block { margin: 0 0 24px; }.wiki-category-block.depth-1 { margin-left: 18px; }.wiki-category-block.depth-2 { margin-left: 36px; }
.wiki-category-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 0 10px; border-bottom: 1px solid var(--gg-line); }.wiki-category-head h2 { margin: 0; font-size: 16px; }.wiki-category-head span { color: var(--gg-muted); font-size: 12px; }
.wiki-doc-list { margin: 0; padding: 0; list-style: none; }.wiki-doc-list li { border-bottom: 1px solid var(--gg-line-soft); }.wiki-doc-list a { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 4px; text-decoration: none; }.wiki-doc-list a > span { display: flex; flex-direction: column; }.wiki-doc-list a > span:last-child { flex-direction: row; gap: 10px; color: var(--gg-muted); font-size: 12px; }.wiki-doc-list strong { color: var(--gg-text); font-size: 13px; }.wiki-doc-list small { color: var(--gg-muted); font-size: 12px; }.wiki-doc-list i { color: var(--gg-muted); font-style: normal; }.wiki-doc-list a:hover strong, .wiki-doc-list a:hover i { color: var(--gg-accent); }

/* Document */
.wiki-doc-head { padding: 22px 0 0; border-bottom: 1px solid var(--gg-line); }
.wiki-doc-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }.wiki-doc-title-row h1 { margin: 0; color: var(--gg-text); font-size: clamp(34px,5vw,58px); font-weight: 900; line-height: 1.12; letter-spacing: -.06em; }
.wiki-quality-badge { width: 82px; min-width: 82px; height: 82px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--gg-line); border-radius: 24px 8px 24px 8px; background: var(--gg-surface); text-decoration: none; }.wiki-quality-badge span { color: var(--gg-warning); font-size: 25px; font-weight: 900; line-height: 1; }.wiki-quality-badge small { margin-top: 5px; color: var(--gg-muted); font-size: 12px; font-weight: 800; }.wiki-quality-badge.verified span, .wiki-quality-badge.strong span { color: var(--gg-success); }.wiki-quality-badge.needs_fix span { color: var(--gg-danger); }
.wiki-doc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 18px; color: var(--gg-muted); font-size: 12px; }.wiki-doc-meta i { width: 3px; height: 3px; border-radius: 50%; background: var(--gg-muted); }
.wiki-doc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 13px; }.wiki-doc-tags span { padding: 4px 8px; border-radius: 7px; background: rgba(124,108,255,.12); color: #b9b1ff; font-size: 12px; }
.wiki-version-note { display: inline-flex; align-items: center; gap: 8px; margin-top: 13px; color: var(--gg-text-2); font-size: 12px; }.wiki-version-note span { padding: 3px 6px; border-radius: 5px; background: rgba(168,255,53,.12); color: var(--gg-accent); font-weight: 800; }
.wiki-doc-actions { min-height: 64px; display: flex; align-items: center; gap: 7px; margin-top: 15px; }.wiki-doc-actions a, .wiki-doc-actions button, .wiki-doc-actions > span { min-height: 38px; display: inline-flex; align-items: center; padding: 0 13px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: var(--gg-text-2) !important; font-size: 12px; font-weight: 750; text-decoration: none; cursor: pointer; }.wiki-doc-actions a:hover, .wiki-doc-actions button:hover { background: var(--gg-surface); }.wiki-doc-actions a.primary { border-color: var(--gg-accent); background: var(--gg-accent); color: var(--gg-accent-ink) !important; }.wiki-doc-actions b { margin-left: 5px; color: var(--gg-muted); }
.wiki-doc-layout { display: grid; grid-template-columns: minmax(0,1fr) 260px; align-items: start; gap: 50px; padding-top: 36px; }
.wiki-doc-aside { position: sticky; top: 94px; grid-column: 2; grid-row: 1; }
.wiki-doc-content { grid-column: 1; min-width: 0; color: var(--gg-text-2); font-size: 15px; line-height: 1.88; word-break: keep-all; overflow-wrap: anywhere; }
.wiki-doc-content .wiki-heading { margin: 42px 0 16px; padding-bottom: 9px; border-bottom: 1px solid var(--gg-line); color: var(--gg-text); font-size: 22px; font-weight: 850; scroll-margin-top: 94px; }.wiki-doc-content .wiki-heading:first-child { margin-top: 0; }.wiki-heading-num { margin-right: 5px; color: var(--gg-accent) !important; text-decoration: none; font-size: .6em; vertical-align: .2em; }.wiki-p { margin: 0 0 15px; }.wiki-list { margin: 0 0 18px; padding-left: 24px; }.wiki-list li { margin: 5px 0; }.wiki-quote { margin: 20px 0; padding: 15px 18px; border-left: 3px solid var(--gg-purple); border-radius: 0 10px 10px 0; background: rgba(124,108,255,.08); color: var(--gg-text-2); }.wiki-inline-code { padding: 2px 6px; border: 1px solid var(--gg-line); border-radius: 6px; background: var(--gg-surface-2); color: var(--gg-cyan); font-size: .88em; }.wiki-link { color: var(--gg-cyan) !important; text-decoration: none; }.wiki-link:hover { text-decoration: underline; }.wiki-link-missing { color: var(--gg-danger) !important; border-bottom: 1px dashed currentColor; }.wiki-image { margin: 24px 0; text-align: center; }.wiki-image img { max-width: 100%; max-height: 560px; border: 1px solid var(--gg-line); border-radius: 16px; background: var(--gg-surface); }.wiki-image figcaption { margin-top: 7px; color: var(--gg-muted); font-size: 12px; }
.wiki-toc { padding: 18px; border: 1px solid var(--gg-line); border-radius: 15px; background: var(--gg-surface); }.wiki-toc-title { margin-bottom: 10px; color: var(--gg-text); font-size: 12px; font-weight: 850; }.wiki-toc ol { margin: 0; padding: 0; list-style: none; }.wiki-toc li { margin: 3px 0; }.wiki-toc-lv3 { padding-left: 10px; }.wiki-toc-lv4 { padding-left: 20px; }.wiki-toc a { display: block; padding: 3px 0; color: var(--gg-muted) !important; font-size: 12px; text-decoration: none; }.wiki-toc a:hover { color: var(--gg-accent) !important; }.wiki-toc-empty p { margin: 0; color: var(--gg-muted); font-size: 12px; }
.wiki-trust-card { margin-top: 12px; padding: 18px; border: 1px solid var(--gg-line); border-radius: 15px; background: rgba(168,255,53,.035); }.wiki-trust-card strong { display: block; font-size: 14px; }.wiki-trust-card > div { height: 4px; margin: 10px 0; border-radius: 99px; background: var(--gg-line); overflow: hidden; }.wiki-trust-card > div i { display: block; height: 100%; background: var(--gg-success); }.wiki-trust-card small { display: block; color: var(--gg-muted); font-size: 12px; line-height: 1.55; }.wiki-trust-card a { display: inline-block; margin-top: 10px; color: var(--gg-accent) !important; font-size: 12px; font-weight: 800; text-decoration: none; }
.wiki-doc-footer { display: flex; justify-content: space-between; gap: 30px; margin-top: 50px; padding: 22px 0; border-top: 1px solid var(--gg-line); }.wiki-doc-footer div { display: flex; flex-direction: column; }.wiki-doc-footer span, .wiki-doc-footer p { color: var(--gg-muted); font-size: 12px; }.wiki-doc-footer strong { font-size: 12px; }.wiki-doc-footer p { max-width: 560px; margin: 0; text-align: right; }
.wiki-missing-doc { min-height: 480px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }.wiki-missing-mark { display: grid; place-items: center; width: 78px; height: 78px; margin-bottom: 20px; border: 1px solid var(--gg-line); border-radius: 24px 8px 24px 8px; background: var(--gg-surface); color: var(--gg-accent); font-size: 34px; font-weight: 900; }.wiki-missing-doc h1 { margin: 0; font-size: 32px; }.wiki-missing-doc > p:not(.gg-kicker) { margin: 7px 0 20px; color: var(--gg-muted); }

/* Editor */
.wiki-editor-head, .wiki-subpage-head, .gg-page-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; margin: 8px 0 28px; }.wiki-editor-head h1, .wiki-subpage-head h1, .gg-page-title h1 { margin: 0; color: var(--gg-text); font-size: clamp(31px,4vw,46px); letter-spacing: -.05em; }.wiki-editor-head p:not(.gg-kicker), .wiki-subpage-head p:not(.gg-kicker), .gg-page-title p:not(.gg-kicker) { margin: 6px 0 0; color: var(--gg-muted); font-size: 12px; }.wiki-save-state { padding: 6px 10px; border-radius: 8px; background: var(--gg-surface); color: var(--gg-muted); font-size: 12px; }.wiki-save-state.dirty { background: rgba(255,202,92,.1); color: var(--gg-warning); }
.wiki-edit-form { margin: 0; }.wiki-editor-grid { display: grid; grid-template-columns: minmax(0,1fr) 300px; align-items: start; gap: 20px; }.wiki-editor-main, .wiki-editor-card { border: 1px solid var(--gg-line); border-radius: var(--gg-radius); background: var(--gg-surface); }.wiki-editor-main { padding: 21px; }.wiki-editor-side { display: flex; flex-direction: column; gap: 13px; }.wiki-editor-card { padding: 19px; }.wiki-editor-card h2 { margin: 0 0 15px; font-size: 14px; }.wiki-editor-card > p { margin: 10px 0 0; color: var(--gg-muted); font-size: 12px; line-height: 1.6; }
.wiki-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; color: var(--gg-text-2); font-size: 12px; font-weight: 750; }.wiki-field:last-child { margin-bottom: 0; }.wiki-field > span { display: flex; justify-content: space-between; gap: 10px; }.wiki-field b { color: var(--gg-accent); font-size: 12px; text-transform: uppercase; }.wiki-field small { color: var(--gg-muted); font-size: 12px; font-weight: 500; }
body.gg-dark .wiki-field input, body.gg-dark .wiki-field textarea, body.gg-dark .wiki-field select, body.gg-dark .gg-verify-controls input { width: 100% !important; margin: 0 !important; padding: 11px 12px !important; border: 1px solid var(--gg-line) !important; border-radius: 10px !important; background: var(--gg-bg-soft) !important; color: var(--gg-text) !important; font-size: 13px !important; box-shadow: none !important; }.wiki-field textarea { resize: vertical; line-height: 1.65; }.wiki-field input:focus, .wiki-field textarea:focus, .wiki-field select:focus { border-color: rgba(168,255,53,.55) !important; }
.wiki-editor-tabs { display: flex; align-items: center; gap: 4px; margin-top: 20px; border-bottom: 1px solid var(--gg-line); }.wiki-editor-tabs button { min-height: 39px; padding: 0 14px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--gg-muted); font-size: 12px; font-weight: 800; cursor: pointer; }.wiki-editor-tabs button.active { border-bottom-color: var(--gg-accent); color: var(--gg-text); }.wiki-editor-tabs > span { margin-left: auto; color: var(--gg-muted); font-size: 12px; }
.wiki-content-field { position: relative; margin: 0; }.wiki-content-field textarea { min-height: 560px; padding: 18px !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; font-family: ui-monospace, SFMono-Regular, Consolas, monospace !important; font-size: 13px !important; line-height: 1.75; }.wiki-content-field > small { align-self: flex-end; padding-top: 8px; }
.wiki-preview { min-height: 560px; padding: 24px 16px; }.wiki-preview .wiki-doc-content { max-width: 780px; }
.wiki-edit-actions { display: flex; gap: 9px; }.wiki-edit-actions .gg-button { flex: 1; }

/* History + diff */
.wiki-diff-section { margin: 30px 0; }.wiki-diff { max-height: 520px; overflow: auto; padding: 9px 0; border: 1px solid var(--gg-line); border-radius: 14px; background: var(--gg-surface); font: 11px/1.65 ui-monospace, SFMono-Regular, Consolas, monospace; }.wiki-diff > div { min-width: 640px; padding: 2px 13px; white-space: pre-wrap; }.wiki-diff-add { background: rgba(77,225,163,.1); color: #b9f4d8; }.wiki-diff-del { background: rgba(255,107,120,.1); color: #ffc1c7; }.wiki-diff-marker { display: inline-block; width: 20px; font-weight: 900; }
.wiki-history-toolbar { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 11px 15px; border: 1px solid var(--gg-line); border-bottom: 0; border-radius: 14px 14px 0 0; background: var(--gg-surface); }.wiki-history-toolbar span { color: var(--gg-muted); font-size: 12px; }.wiki-history-wrap { overflow-x: auto; border: 1px solid var(--gg-line); border-radius: 0 0 14px 14px; }.wiki-history-table { width: 100%; min-width: 850px; border-collapse: collapse; background: rgba(255,255,255,.012); font-size: 12px; }.wiki-history-table th { padding: 10px 12px; background: var(--gg-surface-2); color: var(--gg-muted); font-size: 12px; letter-spacing: .06em; text-align: left; }.wiki-history-table td { padding: 13px 12px; border-top: 1px solid var(--gg-line-soft); color: var(--gg-text-2); vertical-align: middle; }.wiki-history-table tr.current { background: rgba(168,255,53,.035); }.wiki-history-table td:first-child { white-space: nowrap; }.wiki-history-table td:first-child label { position: relative; display: inline-grid; place-items: center; width: 25px; height: 25px; margin-right: 3px; }.wiki-history-table td:first-child input { position: absolute; opacity: 0; }.wiki-history-table td:first-child label span { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--gg-line); border-radius: 7px; color: var(--gg-muted); font-size: 12px; }.wiki-history-table td:first-child input:checked + span { border-color: var(--gg-accent); background: var(--gg-accent); color: var(--gg-accent-ink); }.wiki-history-table td:nth-child(2) { display: flex; flex-direction: column; }.wiki-history-table td:nth-child(2) small { color: var(--gg-muted); font-size: 12px; }.wiki-history-table em { margin-left: 5px; padding: 2px 4px; border-radius: 4px; background: rgba(168,255,53,.12); color: var(--gg-accent); font-size: 12px; font-style: normal; }.wiki-source-pill { display: inline-block; margin-right: 7px; padding: 3px 6px; border-radius: 5px; background: rgba(124,108,255,.13); color: #b9b1ff; font-size: 12px; }.wiki-text-button { padding: 0; border: 0; background: transparent; color: var(--gg-danger); font-size: 12px; font-weight: 750; cursor: pointer; }

/* Discuss */
.wiki-discuss-layout { min-height: 580px; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(45px,8vw,110px); }.wiki-discuss-layout > section h1 { margin: 0; font-size: clamp(36px,5vw,60px); line-height: 1.13; letter-spacing: -.06em; }.wiki-discuss-layout > section > p:not(.gg-kicker) { max-width: 480px; margin: 18px 0 28px; color: var(--gg-muted); font-size: 13px; line-height: 1.75; }.wiki-discuss-source { display: flex; flex-direction: column; padding: 17px; border-left: 2px solid var(--gg-purple); background: rgba(124,108,255,.065); }.wiki-discuss-source small, .wiki-discuss-source span { color: var(--gg-muted); font-size: 12px; }.wiki-discuss-source strong { margin: 3px 0; font-size: 13px; }
.wiki-discuss-form { padding: 27px; border: 1px solid var(--gg-line); border-radius: 24px 8px 24px 8px; background: var(--gg-surface); }.wiki-discuss-form h2 { margin: 0 0 20px; font-size: 20px; }.wiki-stance-field { margin: 0 0 17px; padding: 0; border: 0; }.wiki-stance-field legend { margin-bottom: 8px; color: var(--gg-text-2); font-size: 12px; font-weight: 750; }.wiki-stance-field legend b { color: var(--gg-accent); font-size: 12px; }.wiki-stance-field > div { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; }.wiki-stance-field label { position: relative; }.wiki-stance-field input { position: absolute; opacity: 0; }.wiki-stance-field span { min-height: 42px; display: grid; place-items: center; border: 1px solid var(--gg-line); border-radius: 10px; color: var(--gg-muted); font-size: 12px; cursor: pointer; }.wiki-stance-field input:checked + span { border-color: var(--gg-accent); background: rgba(168,255,53,.1); color: var(--gg-accent); }

/* Page heroes, Tracker */
.gg-page-hero { min-height: 390px; display: grid; grid-template-columns: 1fr 330px; align-items: center; gap: 50px; padding: 55px 0 45px; }.gg-page-hero > div:first-child > p:not(.gg-kicker) { max-width: 600px; margin: 20px 0 0; color: var(--gg-muted); font-size: 13px; }.gg-page-orbit { position: relative; width: 265px; height: 265px; justify-self: end; border: 1px solid var(--gg-line); border-radius: 50%; box-shadow: inset 0 0 0 42px rgba(124,108,255,.04), inset 0 0 0 84px rgba(53,215,255,.025); }.gg-page-orbit::before { content: ""; position: absolute; width: 14px; height: 14px; left: 50%; top: -7px; border-radius: 50%; background: var(--gg-accent); box-shadow: 0 0 20px var(--gg-accent); }.gg-page-orbit span { position: absolute; inset: 0; display: grid; place-items: center; color: var(--gg-muted); font-size: 12px; font-weight: 900; letter-spacing: .18em; }
.gg-metric-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; margin: 0 0 18px; border: 1px solid var(--gg-line); border-radius: 16px; background: var(--gg-line); overflow: hidden; }.gg-metric-grid > div { padding: 22px; background: var(--gg-surface); }.gg-metric-grid dt { color: var(--gg-muted); font-size: 12px; }.gg-metric-grid dd { margin: 5px 0 0; font-size: 29px; font-weight: 900; }.gg-metric-grid small { color: var(--gg-muted); font-size: 12px; }
.gg-dashboard-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 18px; }.gg-dashboard-grid > section { min-height: 360px; padding: 24px; }.gg-activity-chart .gg-section-head > span { color: var(--gg-muted); font-size: 12px; }.gg-bars { height: 250px; display: flex; align-items: flex-end; gap: 8px; padding-top: 25px; }.gg-bars > div { height: 100%; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 8px; }.gg-bars i { width: min(18px,75%); min-height: 4px; border-radius: 6px 6px 2px 2px; background: linear-gradient(to top, var(--gg-purple), var(--gg-cyan)); }.gg-bars span { color: var(--gg-muted); font-size: 12px; transform: rotate(-45deg); transform-origin: center; }
.gg-contributor-board ol { margin: 0; padding: 0; list-style: none; }.gg-contributor-board li { display: grid; grid-template-columns: 18px 34px 1fr auto; align-items: center; gap: 9px; min-height: 48px; border-bottom: 1px solid var(--gg-line-soft); }.gg-contributor-board .rank { color: var(--gg-accent); font-size: 12px; font-weight: 900; }.gg-contributor-board .avatar { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--gg-surface-3); font-size: 12px; font-weight: 800; }.gg-contributor-board .name { min-width: 0; display: grid; grid-template-columns: 1fr auto; }.gg-contributor-board .name strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }.gg-contributor-board .name small { color: var(--gg-muted); font-size: 12px; }.gg-contributor-board .name i { grid-column: 1 / -1; height: 2px; margin-top: 5px; background: var(--gg-line); }.gg-contributor-board .name b { display: block; height: 100%; background: var(--gg-purple); }.gg-contributor-board .score { display: flex; flex-direction: column; align-items: flex-end; font-size: 12px; font-weight: 800; }.gg-contributor-board .score small { color: var(--gg-muted); font-size: 12px; }
.gg-tracker-table-wrap { overflow-x: auto; border: 1px solid var(--gg-line); border-radius: 16px; }.gg-tracker-table { width: 100%; min-width: 720px; border-collapse: collapse; }.gg-tracker-table th { padding: 11px 16px; background: var(--gg-surface-2); color: var(--gg-muted); font-size: 12px; text-align: left; }.gg-tracker-table td { padding: 14px 16px; border-top: 1px solid var(--gg-line-soft); color: var(--gg-text-2); font-size: 12px; }.gg-tracker-table td:first-child { display: flex; align-items: center; gap: 10px; }.gg-mini-symbol { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 9px; background: var(--gg-surface-3); color: var(--gg-accent); font-weight: 900; }.gg-tracker-table a { color: var(--gg-accent) !important; font-weight: 750; text-decoration: none; }
.gg-recent-stream ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 25px; margin: 0; padding: 0; list-style: none; }.gg-recent-stream li { min-height: 57px; display: grid; grid-template-columns: 8px 1fr auto; align-items: center; gap: 11px; border-bottom: 1px solid var(--gg-line-soft); }.gg-recent-stream li div { display: flex; flex-direction: column; }.gg-recent-stream a { color: var(--gg-text) !important; font-size: 12px; font-weight: 750; text-decoration: none; }.gg-recent-stream small, .gg-recent-stream time { color: var(--gg-muted); font-size: 12px; }

/* Feed */
.gg-page-title { min-height: 215px; align-items: center; margin: 0; }.gg-filter-tabs { display: flex; align-items: center; gap: 4px; overflow-x: auto; }.gg-filter-tabs a { min-height: 38px; display: inline-flex; align-items: center; padding: 0 14px; border: 1px solid transparent; border-radius: 10px; color: var(--gg-muted) !important; font-size: 12px; font-weight: 750; text-decoration: none; white-space: nowrap; }.gg-filter-tabs a:hover { color: var(--gg-text) !important; }.gg-filter-tabs a.active { border-color: var(--gg-line); background: var(--gg-surface); color: var(--gg-accent) !important; }
.gg-feed-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; align-items: start; gap: 28px; margin-top: 24px; }.gg-feed-group-head { display: flex; align-items: center; justify-content: space-between; min-height: 54px; border-bottom: 1px solid var(--gg-line); }.gg-feed-group-head h2 { font-size: 18px; }.gg-feed-group-head span { color: var(--gg-muted); font-size: 12px; }
.gg-feed-item { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 23px 4px; border-bottom: 1px solid var(--gg-line-soft); }.gg-feed-type { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px 6px 14px 6px; background: rgba(53,215,255,.1); color: var(--gg-cyan); font-size: 12px; font-weight: 900; letter-spacing: .07em; }.gg-feed-type.popular { color: var(--gg-accent); background: rgba(168,255,53,.09); font-size: 12px; }.gg-feed-type.discuss { color: #b6adff; background: rgba(124,108,255,.12); }.gg-feed-body { min-width: 0; }.gg-feed-overline { display: flex; justify-content: space-between; gap: 20px; color: var(--gg-muted); font-size: 12px; }.gg-feed-overline > span:first-child { color: var(--gg-cyan); font-weight: 750; }.gg-feed-body h3 { margin: 5px 0 6px; font-size: 16px; }.gg-feed-body h3 a { color: var(--gg-text) !important; text-decoration: none; }.gg-feed-body h3 a:hover { color: var(--gg-accent) !important; }.gg-feed-body > p { margin: 0; color: var(--gg-muted); font-size: 12px; }.gg-feed-body .gg-discussion-bar { margin-top: 13px; }.gg-feed-meta { display: flex; justify-content: space-between; gap: 15px; margin-top: 10px; color: var(--gg-muted); font-size: 12px; }.gg-feed-meta b { font-weight: 750; }
.gg-feed-side { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 14px; }.gg-feed-side .gg-panel { padding: 19px; }.gg-feed-side h2 { margin: 0 0 12px; font-size: 15px; }.gg-feed-side ol { margin: 0; padding: 0; list-style: none; }.gg-feed-side li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--gg-line-soft); }.gg-feed-side li > span { color: var(--gg-accent); font-size: 12px; font-weight: 900; }.gg-feed-side li a { min-width: 0; display: flex; flex-direction: column; text-decoration: none; }.gg-feed-side li strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }.gg-feed-side li small { color: var(--gg-muted); font-size: 12px; }.gg-side-discussion { display: flex; flex-direction: column; gap: 5px; padding: 10px 0; border-bottom: 1px solid var(--gg-line-soft); text-decoration: none; }.gg-side-discussion strong { font-size: 12px; line-height: 1.45; }.gg-side-discussion span { color: var(--gg-muted); font-size: 12px; }

/* Verify */
.gg-page-hero.verify { grid-template-columns: 1fr 270px; }.gg-verify-seal { width: 220px; height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; justify-self: end; border: 1px solid rgba(77,225,163,.34); border-radius: 50%; box-shadow: inset 0 0 0 12px var(--gg-bg), inset 0 0 0 13px rgba(77,225,163,.16), 0 0 70px rgba(77,225,163,.08); }.gg-verify-seal span { color: var(--gg-success); font-size: 58px; font-weight: 900; }.gg-verify-seal small { color: var(--gg-muted); font-size: 12px; font-weight: 900; letter-spacing: .16em; text-align: center; }
.gg-verify-metrics { display: grid; grid-template-columns: repeat(3,1fr); margin: 0 0 22px; border: 1px solid var(--gg-line); border-radius: 14px; background: var(--gg-line); gap: 1px; overflow: hidden; }.gg-verify-metrics > div { padding: 17px 20px; background: var(--gg-surface); }.gg-verify-metrics dt { color: var(--gg-muted); font-size: 12px; }.gg-verify-metrics dd { margin: 3px 0 0; font-size: 22px; font-weight: 850; }
.gg-verify-controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }.gg-verify-controls > label { display: flex; min-width: 280px; }.gg-verify-controls input { height: 40px; border-radius: 10px 0 0 10px !important; }.gg-verify-controls button { padding: 0 13px; border: 1px solid var(--gg-line); border-left: 0; border-radius: 0 10px 10px 0; background: var(--gg-surface-2); color: var(--gg-text); font-size: 12px; font-weight: 800; cursor: pointer; }
.gg-verify-list { display: flex; flex-direction: column; gap: 10px; }.gg-verify-card { display: grid; grid-template-columns: 86px minmax(0,1fr) 190px; align-items: center; gap: 20px; padding: 18px; border: 1px solid var(--gg-line); border-radius: 16px; background: var(--gg-surface); }.gg-verify-score { width: 72px; height: 72px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--gg-line); border-radius: 20px 7px 20px 7px; background: var(--gg-bg-soft); }.gg-verify-score strong { color: var(--gg-warning); font-size: 23px; line-height: 1; }.gg-verify-score small { margin-top: 5px; color: var(--gg-muted); font-size: 12px; }.gg-verify-score.verified strong, .gg-verify-score.strong strong { color: var(--gg-success); }.gg-verify-score.needs_fix strong { color: var(--gg-danger); }.gg-verify-overline { display: flex; align-items: center; gap: 8px; color: var(--gg-cyan); font-size: 12px; font-weight: 800; }.gg-verify-overline .status { padding: 3px 6px; border-radius: 5px; background: rgba(255,202,92,.09); color: var(--gg-warning); }.gg-verify-overline .status.verified, .gg-verify-overline .status.strong { color: var(--gg-success); background: rgba(77,225,163,.09); }.gg-verify-overline .status.needs_fix { color: var(--gg-danger); background: rgba(255,107,120,.09); }.gg-verify-body h2 { margin: 5px 0 3px; font-size: 15px; }.gg-verify-body h2 a { text-decoration: none; }.gg-verify-body > p { margin: 0; color: var(--gg-muted); font-size: 12px; }.gg-vote-summary { display: flex; gap: 9px; margin-top: 8px; }.gg-vote-summary span { font-size: 12px; }.gg-vote-summary .yes { color: var(--gg-success); }.gg-vote-summary .no { color: var(--gg-danger); }
.gg-verify-action { position: relative; }.gg-verify-action summary { min-height: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--gg-line); border-radius: 10px; color: var(--gg-text-2); font-size: 12px; font-weight: 800; cursor: pointer; list-style: none; }.gg-verify-action summary::-webkit-details-marker { display: none; }.gg-verify-action[open] summary { border-color: var(--gg-accent); color: var(--gg-accent); }.gg-verify-action form, .gg-verify-action > p, .gg-verify-action > a { position: absolute; right: 0; top: 47px; z-index: 20; width: 320px; padding: 14px; border: 1px solid var(--gg-line); border-radius: 13px; background: var(--gg-surface-2); box-shadow: 0 18px 45px rgba(0,0,0,.45); }.gg-verify-action form > div { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }.gg-verify-action form label { position: relative; }.gg-verify-action form input { position: absolute; opacity: 0; }.gg-verify-action form label span { min-height: 36px; display: grid; place-items: center; border: 1px solid var(--gg-line); border-radius: 8px; color: var(--gg-muted); font-size: 12px; cursor: pointer; }.gg-verify-action form input:checked + span { border-color: var(--gg-accent); color: var(--gg-accent); }.gg-verify-action textarea { width: 100%; margin: 8px 0 !important; padding: 9px !important; border: 1px solid var(--gg-line) !important; border-radius: 8px !important; background: var(--gg-bg-soft) !important; color: var(--gg-text) !important; font-size: 12px !important; resize: vertical; }.gg-verify-action .gg-button { width: 100%; min-height: 38px; }.gg-verify-action > p { color: var(--gg-muted); font-size: 12px; }

@media (max-width: 1100px) {
  .gg-header-inner { padding: 0 24px; gap: 18px; }.gg-nav a { padding: 0 8px; }.gg-nav a::after { left: 8px; right: 8px; }.gg-header-search { width: 240px; }
  .gg-hero { grid-template-columns: 1fr 340px; gap: 45px; }.gg-game-grid { grid-template-columns: repeat(2,1fr); }.gg-game-card { min-height: 215px; }
  .gg-dashboard-grid { grid-template-columns: 1fr; }.gg-contributor-board { min-height: auto !important; }
}

@media (max-width: 900px) {
  html body.gg-dark, html body.gg-dark:not(.landing-page):not(.login-page):not(.register-page) { padding: 0 0 calc(66px + env(safe-area-inset-bottom)) !important; }
  .gg-header, .gg-header-inner { height: 62px; }.gg-header-inner { padding: 0 16px; }.gg-logo { font-size: 16px; }.gg-logo-mark { width: 32px; height: 32px; }.gg-nav, .gg-header-search { display: none; }.gg-header-right { margin-left: auto; }.gg-mobile-search-button { display: grid; }.gg-icon-btn { min-width: 38px; height: 38px; }
  .gg-page, .wiki-page { width: min(100% - 30px, 760px); padding-bottom: 65px; }.wiki-page { padding-top: 17px; }
  .gg-hero { min-height: auto; grid-template-columns: 1fr; gap: 35px; padding: 55px 0 45px; }.gg-hero h1, .gg-page-hero h1 { font-size: clamp(39px,10vw,58px); }.gg-hero-panel { min-height: 410px; }
  .gg-content-grid { grid-template-columns: 1fr; }.gg-discussion-grid { grid-template-columns: 1fr; }.gg-discussion-card { min-height: 160px; }.gg-final-cta { padding: 32px; }
  .gg-footer { display: none; }.gg-mobile-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1100; min-height: 62px; display: flex; padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid var(--gg-line); background: rgba(8,11,18,.95); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }.gg-mobile-nav a { min-width: 0; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--gg-muted) !important; font-size: 12px; font-weight: 750; text-decoration: none; }.gg-mobile-nav a .gg-svg-icon { width: 18px; height: 18px; }.gg-mobile-nav a.active { color: var(--gg-accent) !important; }
  .wiki-game-hero { grid-template-columns: 82px 1fr; padding: 26px; }.wiki-game-symbol { width: 82px; height: 82px; }.wiki-game-hero .gg-button { grid-column: 1 / -1; width: 100%; }.wiki-game-layout { grid-template-columns: 1fr; gap: 28px; }.wiki-game-side { position: static; }.wiki-game-stats { grid-template-columns: 1fr 1fr; }
  .wiki-doc-layout { grid-template-columns: 1fr; gap: 24px; }.wiki-doc-aside { position: static; grid-column: 1; grid-row: 1; }.wiki-doc-content { grid-row: 2; }.wiki-trust-card { display: none; }
  .wiki-editor-grid { grid-template-columns: 1fr; }.wiki-editor-side { order: -1; }.wiki-editor-card { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }.wiki-editor-card h2, .wiki-editor-card > p { grid-column: 1 / -1; }.wiki-content-field textarea, .wiki-preview { min-height: 460px; }
  .wiki-discuss-layout { grid-template-columns: 1fr; gap: 30px; padding: 35px 0; }
  .gg-page-hero { grid-template-columns: 1fr; min-height: auto; padding: 55px 0; }.gg-page-orbit, .gg-verify-seal { display: none; }.gg-metric-grid { grid-template-columns: 1fr 1fr; }.gg-recent-stream ul { grid-template-columns: 1fr; }
  .gg-feed-layout { grid-template-columns: 1fr; }.gg-feed-side { position: static; display: grid; grid-template-columns: 1fr 1fr; }.gg-verify-card { grid-template-columns: 75px 1fr; }.gg-verify-action { grid-column: 1 / -1; }.gg-verify-action form, .gg-verify-action > p, .gg-verify-action > a { position: static; width: 100%; margin-top: 8px; }.gg-verify-controls { align-items: stretch; flex-direction: column; }.gg-verify-controls > label { min-width: 0; }
}

@media (max-width: 620px) {
  .gg-login-btn { min-height: 38px; padding: 0 13px; }.gg-section { margin: 54px 0; }.gg-section-head { align-items: flex-start; }.gg-section-head h2 { font-size: 22px; }.gg-section-head > a { padding-top: 4px; }
  .gg-hero { padding-top: 42px; }.gg-hero h1 { font-size: 39px; }.gg-hero-sub { font-size: 13px; }.gg-hero-panel { min-height: 330px; padding: 18px; }.gg-hero-search-wrap kbd { display: none; } body.gg-dark #ggHeroSearch { padding-right: 15px !important; }
  .gg-game-grid { grid-template-columns: 1fr; }.gg-game-card { min-height: 190px; }.gg-game-symbol { margin: 18px 0 12px; }.gg-content-grid > .gg-section { padding: 18px; }.gg-trending-list a { grid-template-columns: 25px 55px 1fr; }.gg-trending-views { display: none; }.gg-changes-list li { grid-template-columns: 7px 1fr auto; }.gg-changes-list time { display: none; }
  .gg-final-cta { align-items: stretch; flex-direction: column; padding: 26px 22px; }.gg-final-cta h2 { font-size: 24px; }
  .wiki-game-hero { grid-template-columns: 1fr; text-align: center; }.wiki-game-symbol { margin: 0 auto; }.wiki-game-copy > p:last-child { margin-left: auto; margin-right: auto; }.wiki-game-stats > div { padding: 13px; }.wiki-game-stats dd { font-size: 17px; }.wiki-category-block.depth-1, .wiki-category-block.depth-2 { margin-left: 12px; }.wiki-doc-list a > span:last-child { display: none; }
  .wiki-doc-title-row h1 { font-size: 37px; }.wiki-quality-badge { width: 66px; min-width: 66px; height: 66px; }.wiki-quality-badge span { font-size: 20px; }.wiki-doc-actions { overflow-x: auto; }.wiki-doc-actions a, .wiki-doc-actions button, .wiki-doc-actions > span { white-space: nowrap; }.wiki-doc-content { font-size: 14px; word-break: normal; }.wiki-doc-content .wiki-heading { font-size: 19px; }.wiki-doc-footer { flex-direction: column; }.wiki-doc-footer p { text-align: left; }
  .wiki-editor-head, .wiki-subpage-head, .gg-page-title { align-items: stretch; flex-direction: column; }.wiki-editor-card { display: block; }.wiki-editor-tabs > span { display: none; }.wiki-editor-main { padding: 14px; }.wiki-content-field textarea { min-height: 420px; padding: 14px !important; }
  .wiki-history-toolbar { align-items: stretch; flex-direction: column; }.wiki-discuss-form { padding: 20px; }.wiki-discuss-layout > section h1 { font-size: 38px; }
  .gg-metric-grid { grid-template-columns: 1fr 1fr; }.gg-metric-grid > div { padding: 16px; }.gg-metric-grid dd { font-size: 23px; }.gg-bars { gap: 3px; }.gg-bars span { display: none; }.gg-dashboard-grid > section { padding: 17px; }
  .gg-feed-side { grid-template-columns: 1fr; }.gg-feed-item { grid-template-columns: 42px 1fr; gap: 12px; }.gg-feed-type { width: 40px; height: 40px; }.gg-feed-body h3 { font-size: 14px; }
  .gg-verify-metrics { grid-template-columns: 1fr 1fr 1fr; }.gg-verify-metrics > div { padding: 12px; }.gg-verify-metrics dd { font-size: 18px; }.gg-verify-card { grid-template-columns: 58px 1fr; gap: 12px; padding: 13px; }.gg-verify-score { width: 55px; height: 55px; }.gg-verify-score strong { font-size: 18px; }.gg-vote-summary { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  body.gg-dark *, body.gg-dark *::before, body.gg-dark *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Readability and touch accessibility: override the legacy site's pixel font and tiny labels. */
html body.gg-dark,
html body.gg-dark *:not(code):not(pre):not(kbd) {
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}
html body.gg-dark { font-size: 16px !important; }
html body.gg-dark .wiki-content-field textarea,
html body.gg-dark .wiki-diff,
html body.gg-dark code,
html body.gg-dark pre,
html body.gg-dark kbd { font-family: ui-monospace, SFMono-Regular, Consolas, monospace !important; }

html body.gg-dark small,
html body.gg-dark time,
html body.gg-dark .gg-kicker,
html body.gg-dark .gg-search-group-title,
html body.gg-dark .gg-game-rank,
html body.gg-dark .gg-trending-game,
html body.gg-dark .gg-trending-views,
html body.gg-dark .gg-live-label,
html body.gg-dark .gg-feed-overline,
html body.gg-dark .gg-feed-meta,
html body.gg-dark .gg-feed-type,
html body.gg-dark .gg-verify-overline,
html body.gg-dark .gg-vote-summary span,
html body.gg-dark .wiki-source-pill,
html body.gg-dark .wiki-history-table em { font-size: 12px !important; line-height: 1.45; }

html body.gg-dark .gg-nav a,
html body.gg-dark .gg-button,
html body.gg-dark .gg-login-btn,
html body.gg-dark .gg-search-item strong,
html body.gg-dark .gg-search-empty strong,
html body.gg-dark .gg-filter-tabs a,
html body.gg-dark .wiki-field,
html body.gg-dark .wiki-editor-tabs button,
html body.gg-dark .wiki-text-button,
html body.gg-dark .wiki-stance-field span,
html body.gg-dark .gg-verify-action summary,
html body.gg-dark .gg-verify-action form label span,
html body.gg-dark .gg-verify-controls button { font-size: 14px !important; }

html body.gg-dark .gg-icon-btn,
html body.gg-dark .gg-header-tool,
html body.gg-dark .gg-login-btn,
html body.gg-dark .gg-button,
html body.gg-dark .gg-filter-tabs a,
html body.gg-dark .wiki-editor-tabs button,
html body.gg-dark .wiki-stance-field span,
html body.gg-dark .gg-verify-action summary,
html body.gg-dark .gg-verify-action form label span,
html body.gg-dark .gg-verify-controls button { min-height: 44px; }
html body.gg-dark .gg-header-tool { width: 44px; height: 44px; }
html body.gg-dark .gg-icon-btn { min-width: 44px; width: 44px; }
html body.gg-dark .gg-mobile-search-head button { width: 44px; height: 44px; }
html body.gg-dark .wiki-doc-actions a,
html body.gg-dark .wiki-doc-actions button,
html body.gg-dark .wiki-doc-actions > span,
html body.gg-dark .wiki-text-button { min-height: 44px; }
html body.gg-dark .wiki-history-table td:first-child label,
html body.gg-dark .wiki-history-table td:first-child label span { width: 44px; height: 44px; }
html body.gg-dark .wiki-history-table td:first-child input:focus-visible + span,
html body.gg-dark .wiki-stance-field input:focus-visible + span,
html body.gg-dark .gg-verify-action form input:focus-visible + span { outline: 3px solid rgba(168,255,53,.7); outline-offset: 2px; }
html body.gg-dark .gg-pagination { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 24px; }
html body.gg-dark .gg-pagination span { color: var(--gg-muted); font-size: 13px; }
html body.gg-dark .wiki-revision-meta { display: block; margin-top: 6px; color: var(--gg-muted); }
html body.gg-dark .gg-verify-notes { margin-top: 10px; }
html body.gg-dark .gg-verify-notes summary { color: var(--gg-text-2); font-size: 13px; cursor: pointer; }
html body.gg-dark .gg-verify-notes ul { margin: 8px 0 0; padding: 0; list-style: none; }
html body.gg-dark .gg-verify-notes li { display: grid; grid-template-columns: auto 1fr; gap: 4px 8px; padding: 8px 0; border-top: 1px solid var(--gg-line-soft); }
html body.gg-dark .gg-verify-notes li strong { font-size: 12px; }
html body.gg-dark .gg-verify-notes li strong.yes { color: var(--gg-success); }
html body.gg-dark .gg-verify-notes li strong.no { color: var(--gg-danger); }
html body.gg-dark .gg-verify-notes li span { min-width: 0; color: var(--gg-text-2); font-size: 13px; overflow-wrap: anywhere; }
html body.gg-dark .gg-verify-notes li small { grid-column: 2; color: var(--gg-muted); }

@media (max-width: 900px) {
  html body.gg-dark .gg-page,
  html body.gg-dark .wiki-page { padding-bottom: 28px; }
  html body.gg-dark .wiki-editor-side { order: 0; }
  html body.gg-dark input,
  html body.gg-dark textarea,
  html body.gg-dark select,
  html body.gg-dark #ggHeaderSearch,
  html body.gg-dark #ggHeroSearch,
  html body.gg-dark #ggMobileSearch,
  html body.gg-dark .wiki-field input,
  html body.gg-dark .wiki-field textarea,
  html body.gg-dark .wiki-field select,
  html body.gg-dark .gg-verify-controls input { font-size: 16px !important; }
  html body.gg-dark .gg-mobile-nav a { min-height: 62px; font-size: 12px !important; }
}
