/* Opt-in classic Vector skin. Every rule is scoped so Go back restores the site. */
html.wiki-site { font-size: 14px; background: var(--wiki-canvas); }
html.wiki-site body {
    --text: var(--wiki-ink); --bg: var(--wiki-page); --muted: var(--wiki-muted);
    --rule: var(--wiki-rule); --rule-strong: var(--wiki-rule);
    --accent-pink: var(--wiki-blue); --accent-purple: var(--wiki-blue); --accent-gold: var(--wiki-blue);
    --accent-blue: var(--wiki-blue); --accent-green: var(--wiki-blue); --accent-stat: var(--wiki-ink);
    --nav-local: var(--wiki-blue); --nav-blog: var(--wiki-blue); --nav-shelf: var(--wiki-blue); --nav-tutoring: var(--wiki-blue);
    padding: 40px 0 0 176px; margin: 0; display: block;
    background: var(--wiki-canvas); color: var(--wiki-ink); font: 14px/1.6 Arial, Helvetica, sans-serif; transition: none;
}
html.wiki-site[data-wiki-color="dark"] { color-scheme: dark; }
html.wiki-site body > main { width: 100%; max-width: none; min-height: 0; margin: 0; padding: 16px 24px; background: var(--wiki-page); border: 1px solid var(--wiki-frame); }
html.wiki-site .container { width: 100%; max-width: none; }
html.wiki-site body > header { position: absolute; left: 0; top: 0; width: 176px; max-width: none; margin: 0; padding: 18px 24px; }
html.wiki-site .wiki-site-logo { display: flex; flex-direction: column; align-items: center; margin: 0 -8px 30px; color: var(--wiki-ink) !important; text-decoration: none; }
html.wiki-site .wiki-site-logo img { object-fit: contain; margin-bottom: 4px; }
html.wiki-site .wiki-site-logo > span { font: small-caps 28px/1 Georgia, 'Times New Roman', serif; }
html.wiki-site .wiki-site-logo small { font: 12px/1.5 Georgia, 'Times New Roman', serif; white-space: nowrap; }
html.wiki-site .nav-links { display: flex; flex-direction: column; gap: 0; }
html.wiki-site .nav-links li { display: block; margin: 0; padding: 0; line-height: 1.55; }
html.wiki-site .nav-links li::before, html.wiki-site .nav-links li::after { display: none; }
html.wiki-site .nav-links a { display: block; font-size: 14px; line-height: 1.55; font-weight: normal; color: var(--wiki-blue); }
html.wiki-site .theme-toggle, html.wiki-site .mobile-menu-toggle, html.wiki-site .mobile-menu-panel { display: none; }
html.wiki-site .wiki-site-toolbar { position: absolute; top: 0; left: 176px; right: 0; height: 40px; padding: 7px 24px; border-bottom: 1px solid var(--wiki-frame); background: linear-gradient(var(--wiki-page), var(--wiki-canvas)); }
html.wiki-site main section { padding-top: 0; margin: 0 0 18px; }
html.wiki-site main :is(h1,h2) { color: var(--wiki-ink); font-family: Georgia, 'Times New Roman', serif; font-weight: normal; text-transform: none; border-bottom: 1px solid var(--wiki-rule); }
html.wiki-site main h1 { font-size: 29px; line-height: 1.3; margin: 0 0 14px; padding-bottom: 4px; }
html.wiki-site main h2 { font-size: 23px; line-height: 1.35; margin: 24px 0 12px; padding-bottom: 3px; }
html.wiki-site main :is(h3,h4) { font-family: Arial, Helvetica, sans-serif; color: var(--wiki-ink); font-size: 16px; line-height: 1.4; }
html.wiki-site main p, html.wiki-site main li { font-size: 14px; line-height: 1.6; }
html.wiki-site main p { max-width: none; margin-bottom: 14px; }
html.wiki-site a { color: var(--wiki-blue); font-weight: normal; transition: none; }
html.wiki-site main a { color: var(--wiki-blue) !important; }
html.wiki-site :is(a,button):focus-visible { outline-color: var(--wiki-blue); }
html.wiki-site .highlight-number, html.wiki-site .highlight-stat, html.wiki-site [class*="tone-"] { color: var(--wiki-ink); }
html.wiki-site .home-more-link :is(a,span) { font-size: 14px; }
html.wiki-site .entry-meta, html.wiki-site .blog-meta, html.wiki-site .post-meta, html.wiki-site .tag { font-size: 12px; color: var(--wiki-muted); }
html.wiki-site .entry, html.wiki-site .award-item, html.wiki-site .blog-card { margin-bottom: 20px; }
html.wiki-site .btn, html.wiki-site .course-nav-link { min-height: 32px; padding: 5px 12px; border: 1px solid var(--wiki-rule); border-radius: 2px; background: var(--wiki-box); color: var(--wiki-ink) !important; font-size: 14px; }
html.wiki-site .media-heading { display: block; margin-bottom: 12px; }
html.wiki-site .media-list { gap: 0; }
html.wiki-site .media-item { padding: 8px 12px; background: var(--wiki-box); border: 1px solid var(--wiki-rule); }
html.wiki-site .media-item + .media-item { border-top: 0; }
html.wiki-site .media-rank { float: left; width: 28px; margin: 4px 0 0; color: var(--wiki-muted); font-size: 12px; }
html.wiki-site .media-copy p { margin: 2px 0 0 28px; font-size: 13px; }
html.wiki-site .media-copy h3 { font-size: 14px; }
html.wiki-site .structure-grid, html.wiki-site .weeks-section { background: var(--wiki-box); border: 1px solid var(--wiki-rule); }
html.wiki-site .structure-card, html.wiki-site .week-card { padding: 12px; }
html.wiki-site .week-card:last-child { border-bottom: 0; }
html.wiki-site body > footer { width: 100%; max-width: none; margin: 0; padding: 18px 24px 28px; text-align: left; font-size: 12px; }
html.wiki-site .footer-links, html.wiki-site .footer-bottom { justify-content: flex-start; }
html.wiki-site body > footer p { font-size: 12px; line-height: 1.6; }
html.wiki-site .game-launcher { display: none; }
@media (max-width: 680px) {
    html.wiki-site body { padding: 0; }
    html.wiki-site body > header { position: static; width: auto; padding: 12px 16px; }
    html.wiki-site .wiki-site-logo { width: max-content; flex-direction: row; gap: 8px; margin: 0 0 10px; }
    html.wiki-site .wiki-site-logo img { width: 32px; height: 32px; margin: 0; }
    html.wiki-site .wiki-site-logo > span { font-size: 24px; }
    html.wiki-site .wiki-site-logo small { display: none; }
    html.wiki-site .nav-links { flex-direction: row; flex-wrap: wrap; gap: 4px 16px; }
    html.wiki-site .wiki-site-toolbar { position: absolute; top: 12px; left: auto; right: 16px; height: 32px; padding: 0; border: 0; background: none; }
    html.wiki-site .wiki-site-toolbar .wiki-appearance { height: 100%; gap: 8px; font-size: 12px; }
    html.wiki-site .wiki-site-toolbar fieldset { gap: 6px; }
    html.wiki-site body > main { min-height: 0; padding: 16px; border-left: 0; border-right: 0; }
    html.wiki-site body > footer { padding: 16px; }
}
/* Override section-specific accent and heading rules from the normal skin. */
html.wiki-site main :is(h1,h2) { color: var(--wiki-ink) !important; font-weight: normal !important; }
html.wiki-site main h1 { font-size: 29px !important; }
html.wiki-site main h2 { font-size: 23px !important; }

html.wiki-site main > section:last-child { margin-bottom: 0; }
html.wiki-site main > section:last-child > :last-child, html.wiki-site .home-more-link { margin-bottom: 0; }

/* Classic Wikipedia contents box. */
html.wiki-site .wiki-site-toc { display: table; max-width: 100%; margin: 16px 0 24px; padding: 7px 12px; border: 1px solid var(--wiki-rule); background: var(--wiki-box); font-size: 13px; }
html.wiki-site .wiki-site-toc-title { display: flex; justify-content: center; align-items: baseline; gap: 6px; }
html.wiki-site .wiki-site-toc button { border: 0; background: none; color: var(--wiki-blue); cursor: pointer; font: inherit; }
html.wiki-site .wiki-site-toc ol { margin: 5px 0 0; padding: 0; list-style: none; counter-reset: wiki-section; }
html.wiki-site .wiki-site-toc li { counter-increment: wiki-section; font-size: 13px; line-height: 1.7; }
html.wiki-site .wiki-site-toc li a::before { content: counter(wiki-section) " "; color: var(--wiki-ink); margin-right: 5px; }
html.wiki-site .wiki-site-toc [hidden], html.wiki-site .main-page.home-collapsed .wiki-site-toc { display: none; }

html.wiki-site .wiki-site-categories { clear: both; margin-top: 16px; padding: 5px 8px; border: 1px solid var(--wiki-rule); background: var(--wiki-box); font-size: 14px; line-height: 1.6; }

/* Section headings already supply the article divider. */
html.wiki-site .error-suggestions { border-top: 0; padding-top: 0; }
html.wiki-site .tutoring-page .tutoring-hero { padding-top: 0; margin-bottom: 18px; }
html.wiki-site .tutoring-cta-section { border-top: 0; }

@media (max-width: 380px) {
    html.wiki-site .wiki-site-logo { gap: 6px; }
    html.wiki-site .wiki-site-logo img { width: 24px; height: 32px; }
    html.wiki-site .wiki-site-logo > span { font-size: 18px; }
}

/* Match Wikipedia's portrait and landscape page-preview proportions. */
.shelf-wiki-preview { display: none; }
html.wiki-site .shelf-wiki-preview { display: block; position: fixed; z-index: 100; width: 320px; max-width: calc(100vw - 24px); background: var(--wiki-page); color: var(--wiki-ink); border-radius: 3px; box-shadow: 0 30px 90px -20px #0005, 0 0 0 1px var(--wiki-rule); font: 14px/20px Arial, Helvetica, sans-serif; }
html.wiki-site .shelf-wiki-preview::before { content: ''; position: absolute; top: -8px; left: var(--pointer-left, 20px); width: 16px; height: 16px; background: var(--wiki-page); transform: rotate(45deg); border-top: 1px solid var(--wiki-rule); border-left: 1px solid var(--wiki-rule); z-index: -1; }
html.wiki-site .shelf-wiki-preview.is-above::before { top: auto; bottom: -8px; transform: rotate(225deg); }
html.wiki-site .shelf-wiki-preview > img { display: block; width: 100%; height: 200px; object-fit: cover; border-radius: 3px 3px 0 0; }
html.wiki-site .shelf-wiki-preview .shelf-preview-extract { display: block; position: relative; color: inherit; text-decoration: none; margin: 16px 16px 50px; max-height: 136px; overflow: hidden; font: inherit; }
html.wiki-site .shelf-preview-extract::after { content: ''; position: absolute; bottom: 0; right: 0; width: 25%; height: 20px; background: linear-gradient(to right, transparent, var(--wiki-page) 70%); }
html.wiki-site .shelf-wiki-preview.is-portrait { width: 450px; height: 242px; }
html.wiki-site .shelf-wiki-preview.is-portrait > img { float: right; width: 203px; height: 242px; border-radius: 0 3px 3px 0; }
html.wiki-site .shelf-wiki-preview.is-portrait .shelf-preview-extract { width: 215px; max-height: 180px; margin-bottom: 0; }
html.wiki-site .shelf-preview-settings { position: absolute; right: 16px; bottom: 12px; display: grid; place-items: center; width: 32px; height: 32px; padding: 6px; border: 0; background: none; color: inherit; cursor: pointer; }
html.wiki-site .is-portrait .shelf-preview-settings { right: 219px; }
html.wiki-site .shelf-preview-settings:hover { background: var(--wiki-box); }
html.wiki-site .shelf-preview-dialog { padding: 24px; max-width: calc(100vw - 32px); border: 1px solid var(--wiki-rule); border-radius: 3px; background: var(--wiki-page); color: var(--wiki-ink); font: 14px/1.5 Arial, sans-serif; }
html.wiki-site .shelf-preview-dialog h2 { margin: 0 0 16px; font-size: 20px; }
html.wiki-site .shelf-preview-dialog p { font-size: 12px; }
html.wiki-site .shelf-preview-dialog button { float: right; padding: 6px 16px; color: white; background: #36c; border: 1px solid #36c; border-radius: 2px; font: inherit; cursor: pointer; }

html.wiki-site .shelf-wiki-preview > .organization-preview-logo { object-fit: contain; padding: 24px; background: white; }
