@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-main: #f3f3f3;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f8f8f8;
    --bg-soft: #efefef;
    --card: rgba(255, 255, 255, 0.96);
    --border: rgba(0, 0, 0, 0.08);
    --border-soft: rgba(0, 0, 0, 0.06);
    --text-main: #0a0a0a;
    --text-secondary: rgba(0, 0, 0, 0.72);
    --text-muted: rgba(0, 0, 0, 0.46);
    --accent: #e4b300;
    --accent-strong: #f4c400;
    --accent-soft: rgba(228, 179, 0, 0.08);
    --accent-soft-2: rgba(228, 179, 0, 0.14);
    --shadow-soft: 0 18px 48px rgba(0, 0, 0, 0.08);
    --radius-xl: 24px;
    --radius-lg: 20px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --sidebar-width: 320px;
    --content-width: 1580px;
    font-family: Inter, Arial, Helvetica, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #ffffff;
    color: var(--text-main);
    min-height: 100vh;
    position: relative;
    font-family: 'Inter', sans-serif;
}

body::-webkit-scrollbar {
    width: 12px;
}

body::-webkit-scrollbar-track {
    background: #e7e7e7;
}

body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(228, 179, 0, 0.75), rgba(228, 179, 0, 0.4));
    border: 3px solid #e7e7e7;
    border-radius: 999px;
}

button,
input,
a {
    font: inherit;
}

button {
    border: none;
    background: none;
    color: inherit;
}

.hidden {
    display: none !important;
}

.app-shell {
    min-height: 100vh;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    height: 84px;
    display: flex;
    align-items: center;
    gap: 243px;
    padding: 0 82px;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
}

.topbar-search {
    position: relative;
    width: min(100%, 520px);
    flex: 1;
    max-width: 520px;
}

.topbar-search input {
    width: 100%;
    height: 54px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    background: #ffffff;
    color: var(--text-main);
    padding: 0 18px;
    outline: none;
    transition: 0.18s ease;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
}

.topbar-search input::placeholder {
    color: var(--text-muted);
}

.topbar-search input:focus {
    border-color: rgba(228, 179, 0, 0.42);
    box-shadow: 0 0 0 4px rgba(228, 179, 0, 0.08);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.logo-text {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.logo-badge {
    height: 23px;
    padding: 0 7px;
    border-radius: 5px;
    background: #ffc300;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    letter-spacing: 1px;
    font-weight: 700;
    margin-top: 40px;
    animation: wikiFloatMini 3.2s ease-in-out infinite;
}


@keyframes wikiFloatMini {
    0%, 100% {
        transform: translateY(-18px);
    }
    50% {
        transform: translateY(-17px);
    }
}

.search-results {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    padding: 10px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    gap: 8px;
	z-index: 50;
}

.search-item {
    width: 100%;
    text-align: left;
    padding: 14px 16px;
    border-radius: 16px;
    cursor: pointer;
    transition: 0.18s ease;
}

.search-item:hover {
    background: var(--accent-soft);
}

.search-item small {
    display: block;
    color: var(--text-muted);
    font-size: 12px;
    margin-bottom: 4px;
}

.search-item strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
}

.search-item span {
    display: block;
    color: var(--text-secondary);
    font-size: 13px;
}

.page {
    min-height: calc(100vh - 84px);
}

body.home-view .topbar {
    display: none;
}

body.home-view .topbar-search {
    display: none;
}

body.home-view .page {
    min-height: 100vh;
}

body.article-view .topbar {
    display: flex;
}

.home-page {
    width: 100%;
    margin: 0 auto;
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 110px 24px 120px;
    background: linear-gradient(180deg, #f7f7f7 0%, #f3f3f3 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(100%, 980px);
    text-align: center;
    margin-top: -4vh;
}

.hero-title {
    font-size: 86px;
    line-height: 0.95;
    font-weight: 900;
    margin-bottom: 26px;
    letter-spacing: -0.05em;
}

.hero-title span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 16px;
    border-radius: 5px;
    background: #ffc300;
    color: white;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.04em;
    transform: translateY(-10px);
    animation: wikiFloat 3.2s ease-in-out infinite alternate;
	box-shadow: 0 0 10px rgba(0,0,0,0.1);
	margin-left: 10px;
}

@keyframes wikiFloat {
    0%, 100% {
        transform: translateY(-20px);
    }
    50% {
        transform: translateY(-15px);
    }
}

.hero-description {
    max-width: 780px;
    margin: 0 auto 34px;
    color: #4e5563;
    font-size: 20px;
    line-height: 1.65;
}

.hero-search-wrap {
    max-width: 760px;
    margin: 0 auto 22px;
}

.hero-search {
    position: relative;
}

.hero-search-icon {
    position: absolute;
    top: 50%;
    left: 22px;
    transform: translateY(-50%);
    font-size: 28px;
    color: #8e96a3;
    pointer-events: none;
    z-index: 2;
}

.hero-search input {
    width: 100%;
    height: 62px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #ffffff;
    padding: 0 24px 0 56px;
    color: var(--text-main);
    outline: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.hero-search input:focus {
    border-color: rgba(228, 179, 0, 0.38);
    box-shadow: 0 0 0 4px rgba(228, 179, 0, 0.06), 0 14px 36px rgba(0, 0, 0, 0.09);
}

.hero-search input::placeholder {
    color: #9da4b0;
}

.hero-tags,
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-tags {
    gap: 10px;
    margin-bottom: 46px;
}

.hero-tags span {
    color: var(--text-secondary);
    font-weight: 600;
}

.hero-tags button {
    height: 40px;
    padding: 0 18px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--text-main);
    cursor: pointer;
    transition: 0.18s ease;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
}

.hero-tags button:hover {
    border-color: rgba(228, 179, 0, 0.3);
    background: var(--accent-soft);
}

.hero-stats {
    gap: 60px;
}

.hero-stats > div {
    position: relative;
    min-width: 130px;
}

.hero-stats > div:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -30px;
    top: 8px;
    width: 1px;
    height: 56px;
    background: rgba(0, 0, 0, 0.1);
}

.hero-stats strong {
    display: block;
    font-size: 56px;
    line-height: 1;
    margin-bottom: 10px;
    font-weight: 900;
}

.hero-stats p {
    color: #737b88;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
}

.hero-character {
    position: absolute;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
    user-select: none;
}

.hero-character-left {
    left: max(18px, calc(50% - 790px));
    max-height: 60vh;
    max-width: 340px;
}

.hero-character-right {
    right: max(18px, calc(50% - 790px));
    max-height: 66vh;
    max-width: 320px;
}

.scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    z-index: 3;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.scroll-indicator:hover {
    transform: translateX(-50%) translateY(-4px);
}

.scroll-indicator-mouse {
    width: 30px;
    height: 52px;
    border-radius: 999px;
    border: 2px solid rgba(0, 0, 0, 0.26);
    background: rgba(255, 255, 255, 0.65);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 9px;
}

.scroll-indicator-wheel {
    width: 5px;
    height: 11px;
    border-radius: 999px;
    background: #8f97a2;
    animation: mouseWheel 1.7s ease-in-out infinite;
}

.scroll-indicator-text {
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #8a919d;
    font-weight: 700;
}

@keyframes mouseWheel {
    0% {
        transform: translateY(0);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    70% {
        transform: translateY(13px);
        opacity: 1;
    }
    100% {
        transform: translateY(16px);
        opacity: 0;
    }
}

.categories-section {
    width: min(100%, 1460px);
    margin: 0 auto;
    padding: 84px 22px 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 34px;
}

.section-heading h2 {
    font-size: 44px;
    font-weight: 900;
    margin-bottom: 10px;
    letter-spacing: -0.04em;
}

.section-heading p {
    font-size: 18px;
    color: var(--text-secondary);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.category-card {
    min-height: 320px;
    padding: 26px 24px 22px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: 0.2s ease;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.05);
}

.category-card:hover {
    transform: translateY(-4px);
    border-color: rgba(228, 179, 0, 0.26);
    box-shadow: 0 22px 46px rgba(0, 0, 0, 0.08);
}

.category-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

.category-emoji {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: var(--accent-soft);
    border: 1px solid rgba(228, 179, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.category-head h3 {
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 4px;
}

.category-head p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

.category-links {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.category-links button {
    text-align: left;
    color: #565d69;
    cursor: pointer;
    transition: 0.16s ease;
}

.category-links button:hover {
    color: #000000;
}

.category-more {
    margin-top: 20px;
    color: #000000;
    font-weight: 700;
    cursor: pointer;
}

.site-footer {
    width: min(100%, 1460px);
    margin: 88px auto 0;
    padding: 0 22px 34px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 38px;
    padding: 36px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-logo {
    font-size: 24px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.footer-logo span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 26px;
    padding: 0 12px;
    border-radius: 8px;
    background: #ffc300;
	color: white;
    font-size: 11px;
    letter-spacing: 0.08em;
}

.footer-brand p,
.footer-grid a,
.footer-bottom {
    color: #55606f;
}

.footer-grid h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 20px;
}

.footer-grid a {
    display: block;
    text-decoration: none;
    margin-bottom: 14px;
    transition: 0.18s ease;
}

.footer-grid a:hover {
    color: #000000;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 26px;
    font-size: 14px;
}

.article-layout {
    display: grid;
    grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
    min-height: calc(100vh - 84px);
}

.sidebar {
    border-right: 1px solid var(--border-soft);
    background: #f9fafb;
    padding: 22px 14px 22px 18px;
    height: calc(100vh - 84px);
    position: sticky;
    top: 84px;
    overflow: hidden;
}

.sidebar-inner {
    height: 100%;
    overflow-y: auto;
    padding-right: 8px;
}

.sidebar-inner::-webkit-scrollbar {
    width: 0;
}

.sidebar-inner::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 999px;
}

.sidebar-inner::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(228, 179, 0, 0.48), rgba(228, 179, 0, 0.2));
    border-radius: 999px;
    border: 0 solid transparent;
    background-clip: padding-box;
}

.sidebar-label {
    color: rgba(0,0,0,0.9);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.sidebar-group {
    margin-bottom: 10px;
    border-radius: 18px;
}

.sidebar-group-toggle {
    width: 100%;
    min-height: 48px;
    padding: 12px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-radius: 14px;
    cursor: pointer;
    transition: 0.18s ease;
}

.sidebar-group-toggle:hover,
.sidebar-group.open .sidebar-group-toggle {
    background: var(--accent-soft);
}

.sidebar-group-main {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-group-emoji {
    font-size: 20px;
    width: 28px;
    text-align: center;
}

.sidebar-group-title {
    font-size: 15px;
    font-weight: 700;
}

.sidebar-group-arrow {
    color: var(--text-muted);
    transition: 0.18s ease;
}

.sidebar-group.open .sidebar-group-arrow {
    transform: rotate(180deg);
    color: #000000;
}

.sidebar-articles {
    margin-left: 30px;
    margin-top: 6px;
    display: none;
    padding-left: 12px;
}

.sidebar-group.open .sidebar-articles {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sidebar-article-btn {
    text-align: left;
    padding: 10px 12px;
    border-radius: 12px;
    color: #5d6673;
    cursor: pointer;
    line-height: 1.35;
    transition: 0.18s ease;
}

.sidebar-article-btn:hover {
    color: var(--text-main);
    background: rgba(0, 0, 0, 0.03);
}

.sidebar-article-btn.active {
    color: #ffc300;
	font-weight: 550;
}

.article-main {
    width: min(100%, var(--content-width));
    padding: 52px 150px 90px;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 18px;
}

.breadcrumbs button {
    color: inherit;
    cursor: pointer;
}

.breadcrumbs button:hover {
    color: #000000;
}

.article-title {
    font-size: 33px;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.05em;
    margin-bottom: 18px;
}

.article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

.meta-badge {
    height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    border: 1px solid rgba(228, 179, 0, 0.16);
    color: #654d00;
    font-size: 14px;
    font-weight: 700;
}

.meta-badge.secondary {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
    color: var(--text-secondary);
}

.article-content p {
    color: rgba(0, 0, 0, 0.88);
    font-size: 19px;
    line-height: 1.82;
    margin-bottom: 26px;
}

.article-content ul,
.article-content ol {
    margin: 0 0 30px 24px;
}

.article-content li {
    color: rgba(0, 0, 0, 0.86);
    font-size: 18px;
    line-height: 1.75;
    margin-bottom: 12px;
    padding-left: 4px;
}

.article-content h2 {
    font-size: 34px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 48px 0 18px;
}

.article-content h3 {
    font-size: 26px;
    font-weight: 800;
    margin: 34px 0 14px;
}

.article-content .article-divider {
    text-align: center;
    color: rgba(0,0,0,0.5);
    letter-spacing: 0.45em;
    margin: 36px 0;
}

.article-content .article-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    overflow: hidden;
    margin: 32px 0;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.06);
}

.info-table {
    width: 100%;
}

.info-table-header {
    padding: 18px 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    color: rgba(0, 0, 0, 0.52);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.info-row {
    display: grid;
    grid-template-columns: 240px 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 18px 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.info-row:last-child {
    border-bottom: none;
}

.info-row-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
}

.info-row-value {
    color: var(--text-secondary);
    text-align: right;
    word-break: break-word;
}

.info-row-btn {
    min-width: 108px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #ffffff;
    color: var(--text-main);
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
}

@media (max-width: 1500px) {
    .hero-character-left {
        left: 12px;
        max-width: 300px;
    }

    .hero-character-right {
        right: 12px;
        max-width: 280px;
    }
}

@media (max-width: 1360px) {
    .categories-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .article-title {
        font-size: 48px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1120px) {
    .article-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: relative;
        top: 0;
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--border-soft);
    }

    .sidebar-inner {
        overflow: visible;
        max-height: none;
    }

    .article-main {
        padding: 34px 20px 70px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-title {
        font-size: 70px;
    }

    .hero-character {
        opacity: 0.55;
    }
}

@media (max-width: 980px) {
    .topbar {
        padding: 0 18px;
        gap: 16px;
    }

    .topbar-search {
        max-width: none;
    }

    .hero {
        padding: 96px 18px 108px;
        min-height: 92vh;
    }

    .hero-content {
        margin-top: -2vh;
    }

    .hero-title {
        font-size: 58px;
    }

    .hero-stats {
        gap: 26px;
    }

    .hero-stats > div:not(:last-child)::after {
        display: none;
    }

    .hero-character {
        display: none;
    }
}


@media (max-width: 980px) {
    .wiki-grid-card.span-5,
    .wiki-grid-card.span-6 {
        grid-column: span 12;
    }

    .wiki-grid-card.span-4 {
        grid-column: span 6;
    }

    .wiki-grid-card.span-3,
    .wiki-grid-card.span-2 {
        grid-column: span 4;
    }
}

@media (max-width: 780px) {
    .topbar {
        height: auto;
        padding: 14px;
        flex-wrap: wrap;
    }

    .home-page {
        padding: 0 0 44px;
    }

    .hero {
        min-height: 100vh;
        padding: 84px 16px 104px;
        border-radius: 0;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-title span {
		display: flex;
        width: fit-content;
        margin: 24px auto 0;
        transform: none;
        font-size: 18px;
        height: 38px;
    }

    .hero-description,
    .article-content p,
    .article-content li {
        font-size: 17px;
    }

    .section-heading h2 {
        font-size: 34px;
    }

    .scroll-indicator {
        bottom: 26px;
    }

    .scroll-indicator-text {
        font-size: 11px;
        letter-spacing: 0.18em;
    }

    .categories-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .article-title {
        font-size: 38px;
    }

    .article-main {
        padding: 28px 14px 56px;
    }

    .categories-section,
    .site-footer {
        padding-left: 14px;
        padding-right: 14px;
    }

    .info-row {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .wiki-content-grid {
        grid-template-columns: 1fr;
    }

    .wiki-grid-card[class*='span-'] {
        grid-column: span 1;
    }

    .wiki-table {
        min-width: 680px;
    }

    .info-row-value,
    .footer-bottom {
        text-align: left;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 720px) {
    .topbar {
        height: auto;
        padding: 14px 16px;
        align-items: stretch;
        flex-direction: column;
    }

    .topbar-search {
        width: 100%;
    }

    .topbar-search input {
        height: 48px;
    }

    .page {
        min-height: calc(100vh - 126px);
    }

    .hero-stats strong {
        font-size: 42px;
    }

    .hero-tags {
        margin-bottom: 30px;
    }
}


.article-image-block {
    margin: 32px 0;
}

.article-image {
    display: block;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.article-image-block figcaption {
    margin-top: 14px;
    color: var(--text-secondary);
    font-size: 14px;
    text-align: center;
}

.wiki-table-wrap {
    margin: 32px 0;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.06);
}

.wiki-table-title,
.wiki-grid-title {
    display: none;
}

.wiki-table-scroll {
    width: 100%;
    overflow-x: auto;
}

.wiki-table {
    width: 100%;
    min-width: 860px;
    border-collapse: collapse;
    background: transparent;
}

.wiki-table th,
.wiki-table td {
    padding: 18px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.wiki-table th {
    color: rgba(0, 0, 0, 0.72);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(0,0,0,0.06);
}

.wiki-table td {
    color: rgba(0, 0, 0, 0.88);
    font-size: 16px;
    line-height: 1.55;
    background: rgba(255, 255, 255, 0.72);
}

.wiki-table tbody tr:nth-child(even) td {
    background: rgba(0,0,0,0.03);
}

.wiki-table tr:last-child td {
    border-bottom: none;
}

.wiki-grid-wrap {
    margin: 32px 0;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.06);
}

.wiki-content-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px;
    padding: 18px;
}

.wiki-grid-card {
    min-height: 144px;
    padding: 22px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 248, 248, 0.98) 100%);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.wiki-grid-card h3 {
    margin: 0 0 12px;
    color: var(--text-main);
    font-size: 18px;
    font-weight: 800;
}

.wiki-grid-card p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
}

.wiki-grid-card.span-2 { grid-column: span 2; }
.wiki-grid-card.span-3 { grid-column: span 3; }
.wiki-grid-card.span-4 { grid-column: span 4; }
.wiki-grid-card.span-5 { grid-column: span 5; }
.wiki-grid-card.span-6 { grid-column: span 6; }

.article-code-block {
    margin: 32px 0;
    border-radius: 22px;
    overflow: hidden;
    background: #0c1222;
    border: 1px solid rgba(91, 108, 171, 0.22);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.12);
}

.article-code-block pre {
    margin: 0;
    padding: 22px;
    overflow-x: auto;
}

.article-code-block code {
    color: #dce6ff;
    font-size: 14px;
    line-height: 1.75;
    font-family: Consolas, Monaco, 'Courier New', monospace;
    white-space: pre;
}

.currarticle {
	cursor: pointer;
	font-weight: 700;
	color: rgba(0,0,0,0.7);
}