        * {
            cursor: default;
        }
        a, button, input[type="button"], input[type="submit"], select, .cursor-pointer, [data-action] {
            cursor: pointer !important;
        }
        input[type="text"], input[type="number"], textarea {
            -webkit-user-select: text;
            -moz-user-select: text;
            -ms-user-select: text;
            user-select: text;
            cursor: text !important;
        }
        .select-all, code.select-all, code {
            -webkit-user-select: all;
            -moz-user-select: all;
            -ms-user-select: all;
            user-select: all;
            cursor: text;
        }
        *:focus-visible {
            outline: 2px solid #2563eb !important;
            outline-offset: 2px;
        }
        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after {
                scroll-behavior: auto !important;
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }
        /* Custom markdown typography */
        .markdown-body .wiki-mining-guide strong,
        .markdown-body .wiki-pvp-guide strong,
        .markdown-body .wiki-system-guide strong {
            font-weight: 700;
            font-synthesis: weight;
        }
        .wiki-article-images {
            display: grid;
            gap: 1.5rem;
            margin: 1.5rem 0;
        }
        .wiki-article-images img {
            display: block;
            max-width: 100%;
            height: auto;
            image-rendering: pixelated;
        }
        .markdown-body h1 {
            font-size: 1.875rem;
            font-weight: 400;
            padding-bottom: 0.5rem;
            border-bottom: 1px solid #e5e7eb;
            margin-bottom: 1.25rem;
        }
        .dark .markdown-body h1 {
            border-bottom-color: #334155;
        }
        .markdown-body h2 {
            font-size: 1.4rem;
            font-weight: 400;
            margin-top: 1.75rem;
            margin-bottom: 0.75rem;
            padding-bottom: 0.35rem;
            border-bottom: 1px solid #f1f5f9;
        }
        .dark .markdown-body h2 {
            border-bottom-color: #1e293b;
        }
        .markdown-body h3 {
            font-size: 1.15rem;
            font-weight: 400;
            margin-top: 1.25rem;
            margin-bottom: 0.5rem;
        }
        .markdown-body p {
            line-height: 1.75;
            margin-bottom: 1rem;
            color: #4b5563;
        }
        .dark .markdown-body p {
            color: #cbd5e1;
        }
        .markdown-body ul {
            list-style-type: disc;
            padding-left: 1.5rem;
            margin-bottom: 1rem;
            line-height: 1.75;
            color: #4b5563;
        }
        .dark .markdown-body ul {
            color: #cbd5e1;
        }
        .markdown-body ol {
            list-style-type: decimal;
            padding-left: 1.5rem;
            margin-bottom: 1rem;
            line-height: 1.75;
            color: #4b5563;
        }
        .dark .markdown-body ol {
            color: #cbd5e1;
        }
        .markdown-body table {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 1.5rem;
        }
        .markdown-body th, .markdown-body td {
            border: 1px solid #e2e8f0;
            padding: 0.65rem 1rem;
            text-align: left;
            font-size: 0.875rem;
        }
        .dark .markdown-body th, .dark .markdown-body td {
            border-color: #334155;
        }
        .markdown-body th {
            background-color: #f8fafc;
            font-weight: 400;
        }
        .dark .markdown-body th {
            background-color: #1e293b;
            color: #f1f5f9;
        }

        /* Command reference: readable rows, with native collapsible sections. */
        .wiki-command-guide {
            --command-ink: #1e293b;
            --command-muted: #4b5563;
            --command-line: #e2e8f0;
            --command-code: #1d4ed8;
            --command-surface: #f8fafc;
            --command-input: #ffffff;
            --command-input-border: #94a3b8;
            --command-placeholder: #64748b;
            color: var(--command-ink);
            font-size: 1rem;
            line-height: 1.75;
        }
        .dark .wiki-command-guide {
            --command-ink: #f1f5f9;
            --command-muted: #cbd5e1;
            --command-line: #334155;
            --command-code: #93c5fd;
            --command-surface: #020617;
            --command-input: #0f172a;
            --command-input-border: #64748b;
            --command-placeholder: #94a3b8;
        }
        .wiki-command-guide [hidden] {
            display: none !important;
        }
        .wiki-command-guide p,
        .wiki-command-guide ul {
            max-width: 70ch;
        }
        .wiki-command-guide code {
            font-family: inherit;
            font-size: 1rem;
            color: var(--command-code);
            overflow-wrap: anywhere;
            white-space: normal;
        }
        .wiki-command-notation {
            margin: 1.5rem 0;
            padding: 0 0 1.25rem;
            border-bottom: 1px solid var(--command-line);
        }
        .wiki-command-notation > strong {
            display: block;
            margin-bottom: 0.375rem;
        }
        .wiki-command-notation p:last-child {
            margin-bottom: 0;
        }
        .wiki-command-search {
            margin: 1.5rem 0 0.75rem;
        }
        .wiki-command-search label {
            display: block;
            margin-bottom: 0.5rem;
        }
        .wiki-command-search input {
            display: block;
            box-sizing: border-box;
            width: 100%;
            min-width: 0;
            min-height: 48px;
            padding: 0.65rem 0.875rem;
            border: 1px solid var(--command-input-border);
            border-radius: 0.5rem;
            background: var(--command-input);
            color: var(--command-ink);
            font: inherit;
            cursor: text !important;
            user-select: text;
            -webkit-user-select: text;
        }
        .wiki-command-search input::placeholder {
            color: var(--command-placeholder);
            opacity: 1;
        }
        .wiki-command-search #wikiCommandSearchStatus {
            margin: 0.5rem 0 0;
            color: var(--command-muted);
            font-size: 0.875rem;
        }
        .wiki-command-guide #wikiCommandEmpty {
            padding: 1.5rem 0;
        }
        .wiki-command-group {
            border-bottom: 1px solid var(--command-line);
        }
        .wiki-command-group > summary {
            display: list-item;
            padding: 1.25rem 0;
            cursor: pointer !important;
        }
        .wiki-command-group > summary * {
            cursor: pointer !important;
        }
        .wiki-command-group > summary::marker {
            color: var(--command-muted);
            font-size: 0.875rem;
        }
        .markdown-body .wiki-command-group > summary h2 {
            display: inline;
            margin: 0;
            padding: 0;
            border: 0;
            font-size: 1.25rem;
            line-height: 1.5;
        }
        .wiki-command-count {
            display: inline-block;
            margin-left: 0.75rem;
            font-size: 0.875rem;
            color: var(--command-muted);
            vertical-align: baseline;
        }
        .wiki-command-list {
            margin: 0 0 0.5rem;
        }
        .wiki-command-row {
            display: grid;
            grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
            gap: 1.5rem;
            padding: 0.875rem 0;
            border-top: 1px solid var(--command-line);
        }
        .wiki-command-row dt,
        .wiki-command-row dd {
            min-width: 0;
            margin: 0;
            overflow-wrap: anywhere;
            line-height: 1.65;
        }
        .wiki-command-row dd {
            color: var(--command-muted);
        }
        .wiki-command-examples pre {
            margin: 1rem 0;
            padding: 1rem;
            border-radius: 0.5rem;
            background: var(--command-surface);
        }
        .wiki-command-examples pre,
        .wiki-command-examples pre code {
            font-family: inherit;
            white-space: pre-wrap;
            overflow-wrap: anywhere;
        }
        @media (max-width: 767px) {
            .wiki-command-row {
                grid-template-columns: minmax(0, 1fr);
                gap: 0.375rem;
            }
            .markdown-body .wiki-command-group > summary h2 {
                font-size: 1.125rem;
            }
        }
