:root {
  --wiki-bg: #0b0c0e;
  --wiki-surface: #1b1e22;
  --wiki-line: #2b2f34;
  --wiki-text: #f4f5f7;
  --wiki-muted: #9ca3ad;
}

html { color-scheme: dark; background: var(--wiki-bg); }
body.wiki-page { display: flex; min-height: 100vh; flex-direction: column; color: var(--wiki-text); font-family: Inter, Arial, "Noto Sans", sans-serif; }
[data-network-shell][data-site-slug="wiki"] { --site-accent: #15171a; --site-accent-ink: #f4f5f7; }
[data-network-shell="top"][data-site-slug="wiki"] { border-bottom: 1px solid #3a3f46; }
[data-network-shell="top"][data-site-slug="wiki"] .network-ad-slot__eyebrow { color: var(--wiki-muted); }
[data-network-shell="top"] .network-language-menu a { display: block; padding: .65rem; color: var(--network-text); font: 700 .78rem/1 "Space Grotesk", sans-serif; text-decoration: none; }
[data-network-shell="top"] .network-language-menu a:hover,
[data-network-shell="top"] .network-language-menu a:focus-visible { background: #f4f5f7; color: #0b0c0e; outline: 0; }

.wiki-main { box-sizing: border-box; width: min(100% - 48px, 732px); margin: 0 auto; padding: 52px 0 80px; flex: 1 0 auto; }
.wiki-main a { color: inherit; }
.wiki-directory h1, .wiki-reading h1 { margin: 0; font-family: "Space Grotesk", Inter, sans-serif; font-weight: 700; letter-spacing: -.055em; }
.wiki-directory h1 { font-size: 40px; line-height: 1.1; }
.wiki-lede { margin: 14px 0 0; color: var(--wiki-muted); font-size: 15px; line-height: 1.65; }
.wiki-lede a { color: var(--wiki-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.wiki-rule { height: 1px; margin-top: 32px; background: var(--wiki-line); }
.wiki-breadcrumb { display: flex; align-items: baseline; gap: 10px; margin-bottom: 36px; color: var(--wiki-muted); font-size: 13px; line-height: 1.4; }
.wiki-breadcrumb a, .wiki-breadcrumb span { display: inline-block; line-height: inherit; }
.wiki-breadcrumb a { text-decoration: none; }
.wiki-breadcrumb a:hover, .wiki-breadcrumb a:focus-visible { color: var(--wiki-text); text-decoration: underline; text-underline-offset: 3px; }
.wiki-section-gates { display: grid; grid-template-columns: 1fr; margin-top: 20px; border-top: 1px solid var(--wiki-line); }
.wiki-home .wiki-rule { display: none; }
.wiki-section-gate { --gate: #f4f5f7; display: grid; grid-template-columns: 152px minmax(0, 1fr); min-height: 64px; align-items: center; column-gap: 18px; padding: 0 22px; border-bottom: 1px solid var(--wiki-line); color: var(--wiki-text); text-decoration: none; }
.wiki-section-gate strong { font-family: "Space Grotesk", Inter, sans-serif; font-size: 17px; }
.wiki-section-gate span { color: var(--wiki-muted); font-size: 14px; }
.wiki-section-gate:hover, .wiki-section-gate:focus-visible { background: var(--gate); color: #050505; outline: 0; }
.wiki-section-gate:hover span, .wiki-section-gate:focus-visible span { color: inherit; }
.wiki-section-gate[data-section="ai"] { --gate: #0066ff; color-scheme: dark; }
.wiki-section-gate[data-section="buy"] { --gate: #ffb800; }
.wiki-section-gate[data-section="cash"] { --gate: #00a878; }
.wiki-section-gate[data-section="coin"] { --gate: #c99a2e; }
.wiki-section-gate[data-section="coupon"] { --gate: #00c9c2; }
.wiki-section-gate[data-section="diet"] { --gate: #8dbf3c; }
.wiki-section-gate[data-section="fans"] { --gate: #b5175b; }
.wiki-section-gate[data-section="game"] { --gate: #ccff00; }
.wiki-section-gate[data-section="girl"] { --gate: #ff2d9a; }
.wiki-section-gate[data-section="movie"] { --gate: #e1063a; }
.wiki-section-gate[data-section="sports"] { --gate: #00a6d6; }
.wiki-section-gate[data-section="vpn"] { --gate: #eaf7ff; }
.wiki-section-gate[data-section="ai"]:hover, .wiki-section-gate[data-section="ai"]:focus-visible,
.wiki-section-gate[data-section="fans"]:hover, .wiki-section-gate[data-section="fans"]:focus-visible,
.wiki-section-gate[data-section="movie"]:hover, .wiki-section-gate[data-section="movie"]:focus-visible { color: #fff; }

.wiki-index { margin-top: 20px; }
.wiki-list-head, .wiki-row { display: grid; grid-template-columns: minmax(0, 1fr) 160px; align-items: center; }
.wiki-index--article { display: grid; grid-template-columns: minmax(0, 1fr) max-content max-content; column-gap: 20px; }
.wiki-index--article .wiki-list-head--article, .wiki-index--article .wiki-list, .wiki-index--article .wiki-row--article { grid-column: 1 / -1; grid-template-columns: subgrid; }
.wiki-index--article .wiki-list { display: grid; }
.wiki-list-head { min-height: 44px; padding: 0 22px; color: var(--wiki-muted); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.wiki-list-head span:last-child { text-align: right; }
.wiki-list { border-top: 1px solid var(--wiki-line); }
.wiki-row { position: relative; min-height: 64px; padding: 0 22px; border-bottom: 1px solid var(--wiki-line); text-decoration: none; }
.wiki-row::before { position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--wiki-text); content: ""; opacity: 0; }
.wiki-row__name { font-size: 16px; font-weight: 700; }
.wiki-row__type { color: var(--wiki-muted); font-size: 13px; font-weight: 700; }
.wiki-row__date { color: var(--wiki-muted); font-size: 13px; font-variant-numeric: tabular-nums; text-align: right; }
.wiki-row:hover, .wiki-row:focus-visible { background: var(--wiki-surface); outline: 0; }
.wiki-row:hover::before, .wiki-row:focus-visible::before { opacity: 1; }
.wiki-row:hover .wiki-row__date, .wiki-row:focus-visible .wiki-row__date { color: var(--wiki-text); }
.wiki-empty { margin: 36px 0; color: var(--wiki-muted); font-size: 16px; }
.wiki-pagination { display: flex; gap: 10px; margin-top: 38px; }
.wiki-pagination a, .wiki-pagination > span:not([aria-hidden]) { display: grid; width: 44px; height: 44px; place-items: center; box-sizing: border-box; border: 1px solid var(--wiki-line); text-decoration: none; }
.wiki-pagination > span[aria-current="page"] { background: var(--wiki-text); color: var(--wiki-bg); font-weight: 800; }
.wiki-pagination a:hover, .wiki-pagination a:focus-visible { background: var(--wiki-surface); outline: 2px solid var(--wiki-text); outline-offset: 2px; }
.wiki-pagination > span[aria-hidden] { align-self: center; color: var(--wiki-muted); }

.wiki-reading { width: min(100% - 48px, 732px); }
.wiki-reading > * { box-sizing: border-box; width: min(100%, 732px); }
.wiki-reading h1 { font-size: 34px; line-height: 1.22; }
.wiki-byline { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 22px; margin-top: 20px; color: var(--wiki-muted); font-size: 13px; }
.wiki-byline__meta, .wiki-dates { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.wiki-article-type { color: var(--wiki-text); font-weight: 700; }
.wiki-dates { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.wiki-byline a { color: var(--wiki-text); }
.wiki-article { padding-top: 26px; font-size: 16px; line-height: 1.75; }
.wiki-article h2 { margin: 42px 0 14px; font-size: 22px; line-height: 1.35; }
.wiki-article h3 { margin: 30px 0 12px; font-size: 18px; line-height: 1.4; }
.wiki-article p, .wiki-article ul, .wiki-article ol, .wiki-article blockquote, .wiki-article table, .wiki-article pre { margin: 0 0 22px; }
.wiki-article a, .wiki-related a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.wiki-article blockquote { margin-left: 0; padding-left: 20px; border-left: 4px solid var(--wiki-line); color: var(--wiki-muted); }
.wiki-article table { width: 100%; border-collapse: collapse; }
.wiki-article th, .wiki-article td { padding: 10px; border: 1px solid var(--wiki-line); text-align: left; }
.wiki-article code { background: var(--wiki-surface); padding: 2px 5px; }
.wiki-related { margin-top: 52px; padding-top: 28px; border-top: 1px solid var(--wiki-line); }
.wiki-related h2 { margin: 0 0 16px; font-size: 16px; }
.wiki-related div { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.wiki-language-root { max-width: 732px; }
.wiki-language-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 32px; border-top: 1px solid var(--wiki-line); }
.wiki-language-grid a { padding: 20px; border-right: 1px solid var(--wiki-line); border-bottom: 1px solid var(--wiki-line); text-decoration: none; }
.wiki-language-grid a:hover, .wiki-language-grid a:focus-visible { background: var(--wiki-surface); outline: 0; }

@media (max-width: 719px) {
  .wiki-main, .wiki-reading { width: calc(100% - 32px); padding: 42px 0 64px; }
  .wiki-directory h1 { font-size: 30px; line-height: 1.12; }
  .wiki-reading h1 { font-size: 28px; line-height: 1.18; }
  .wiki-lede { font-size: 15px; }
  .wiki-breadcrumb { margin-bottom: 30px; overflow-wrap: anywhere; }
  .wiki-section-gate { grid-template-columns: 1fr; min-height: 72px; align-content: center; gap: 3px; padding: 12px 16px; }
  .wiki-list-head { display: none; }
  .wiki-index--article, .wiki-index--article .wiki-list { display: block; }
  .wiki-row { grid-template-columns: 1fr; align-content: center; min-height: 76px; gap: 6px; padding: 12px 16px; }
  .wiki-row--article { grid-template-columns: 1fr auto; }
  .wiki-row--article .wiki-row__name { grid-column: 1 / -1; }
  .wiki-row--article .wiki-row__date { text-align: right; }
  .wiki-row__date { text-align: left; }
  .wiki-article { font-size: 16px; line-height: 1.72; }
  .wiki-article h2 { font-size: 22px; line-height: 1.35; }
  .wiki-language-grid { grid-template-columns: 1fr; }
}
