/* Shared public-site theme, based on the approved VCMC product page. */
:root {
    --primary: #1769d2;
    --primary-hover: #1257b2;
    --primary-dark: #1257b2;
    --primary-soft: #eaf2ff;
    --dark: #17243b;
    --light: #f4f6fa;
    --ink: #17243b;
    --muted: #59677b;
    --text-main: #17243b;
    --text-muted: #59677b;
    --background: #f4f6fa;
    --surface: #fff;
    --border: #d9e0eb;
    --line: #d9e0eb;
    --vcmc-primary: #1769d2;
    --vcmc-primary-dark: #1257b2;
    --vcmc-primary-soft: #eaf2ff;
    --vcmc-ink: #17243b;
    --vcmc-muted: #59677b;
    --vcmc-border: #d9e0eb;
    --vcmc-background: #f4f6fa;
}
.antoic-theme { background: #f4f6fa; color: #17243b; font: 16px/1.6 "Segoe UI", Arial, sans-serif; }
.antoic-theme a { text-underline-offset: 3px; }
.antoic-theme :is(a, button, select):focus-visible { outline: 3px solid #2581ef; outline-offset: 4px; }
.antoic-theme [hidden] { display: none !important; }
.antoic-theme .topbar { background: #0c1931; color: white; border-bottom: 3px solid #1769d2; box-shadow: none; backdrop-filter: none; }
.antoic-theme .topbar:not(.vcmc-topbar) { min-height: 65px; height: auto; padding: 12px max(24px, calc((100% - 1120px) / 2)); gap: 20px; }
.antoic-theme .vcmc-nav-inner { width: min(1120px, calc(100% - 48px)); }
.antoic-theme :is(.topbar-logo, .topbar .brand, .vcmc-brand) { color: white; font-size: 20px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.antoic-theme :is(.topbar-logo, .topbar .brand, .vcmc-brand) span { color: #a7b8d3; }
.antoic-theme .vcmc-brand img { width: 28px; height: 28px; border-radius: 5px; box-shadow: none; }
.antoic-theme :is(.topbar-links, .topbar-nav, .topbar nav, .vcmc-nav-links) a { color: #c9d5e8; font-size: 14px; font-weight: 400; }
.antoic-theme :is(.topbar-links, .topbar-nav, .topbar nav, .vcmc-nav-links) a:hover { color: white; text-decoration: underline; }
.antoic-theme .vcmc-nav-links .vcmc-nav-cta { background: #1769d2; color: white; border-radius: 4px; box-shadow: none; }
.antoic-theme :is(.hero h1, .wrap h1, .legal h1, .profile-section h1) { color: #103b77; font-size: clamp(30px, 4vw, 44px); line-height: 1.15; font-weight: 750; letter-spacing: -.8px; }
.antoic-theme :is(.hero, .about, .contact-card, .release-card, .change-section, .release-nav-link, .status-card, .member-card, .support-card) { box-shadow: none; border-radius: 4px; }
.antoic-theme :is(.contact-card, .release-card, .release-nav-link, .member-card):hover { box-shadow: none; transform: none; border-color: #1769d2; }
.antoic-theme :is(.eyebrow, .section-eyebrow) { color: #426ca3; font-size: 14px; font-weight: 500; text-transform: none; letter-spacing: 0; }
.antoic-theme :is(.pill, .release-status, .sidebar-badge, .docs-status-chip, .badge) { border-radius: 4px; }
.antoic-theme :is(.btn-hero, .primary-button, .secondary-button, .btn-main) { border-radius: 4px; box-shadow: none; font-size: 16px; font-weight: 600; }
.antoic-theme :is(.btn-hero, .primary-button, .secondary-button, .btn-main):hover { transform: none; box-shadow: none; }
.antoic-theme :is(.btn-primary, .primary-button, .btn-main) { background: #1769d2; color: white; }
.antoic-theme :is(.btn-primary, .primary-button, .btn-main):hover { background: #1257b2; }
.antoic-theme :is(footer, .vcmc-footer) { background: #e8edf5; color: #17243b; border-top: 1px solid #d2dceb; box-shadow: none; padding-bottom: 75px; }
.antoic-theme footer p { color: #59677b; opacity: 1; }
.antoic-theme :is(footer a, .vcmc-footer-links a) { color: #1769d2; }
.antoic-theme .vcmc-footer-main { border-bottom-color: #d2dceb; }
.antoic-theme .vcmc-footer-legal { color: #59677b; font-size: 13px; }
.antoic-theme .antoic-language-switcher { border-radius: 4px; box-shadow: none; background: white; }

/* Home: one featured project rather than an almost empty app grid. */
.antoic-home .hero { width: min(1120px, calc(100% - 48px)); margin: auto; padding: 42px 0 28px; background: transparent; border: 0; text-align: center; }
.antoic-home .hero h1 span { color: #103b77; }
.antoic-home .hero > p { max-width: 590px; margin: 20px auto 0; padding-top: 18px; border-top: 1px solid #d9e0eb; color: #59677b; font-size: 16px; }
.antoic-home .hero-actions { margin-top: 18px; gap: 24px; }
.antoic-home .btn-hero { background: transparent; color: #1769d2; padding: 4px 0; border: 0; min-height: 36px; }
.antoic-home .btn-hero:hover { text-decoration: underline; }
.antoic-home .apps-section { width: min(1120px, calc(100% - 48px)); max-width: 1120px; margin: 0 auto; padding: 20px 0 48px; }
.antoic-home .section-header { margin-bottom: 18px; }
.antoic-home .section-header h2 { font-size: 22px; font-weight: 600; }
.antoic-home .app-count { color: #59677b; background: transparent; }
.antoic-home .apps-grid.few-apps { display: block; }
.antoic-home .app-card { max-width: none; display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 16px 36px; padding: 30px; background: white; border: 1px solid #d9e0eb; border-radius: 4px; box-shadow: none; }
.antoic-home .app-card:hover { transform: none; box-shadow: none; border-color: #1769d2; }
.antoic-home .card-top { grid-row: 1 / 3; margin: 0; align-self: center; }
.antoic-home .app-icon { width: 88px; height: 88px; border-radius: 15px; box-shadow: none; image-rendering: pixelated; }
.antoic-home .app-meta h3 { color: #103b77; font-size: 32px; font-weight: 750; }
.antoic-home .app-subtitle { font-size: 14px; color: #59677b; text-transform: none; letter-spacing: 0; }
.antoic-home .app-desc { margin: 0; font-size: 16px; color: #45556b; }
.antoic-home .card-tags { margin: 0; }
.antoic-home .tag { background: #eaf2ff; color: #426ca3; border-radius: 4px; font-size: 13px; font-weight: 500; }
.antoic-home .card-footer { grid-column: 1 / -1; border-top-color: #d9e0eb; padding-top: 18px; }
.antoic-home .card-link { font-size: 16px; }
.antoic-home .card-platforms { color: #59677b; }

/* Contact and legal content keep their text and use a readable column. */
.antoic-theme :is(.legal, .wrap) { width: min(840px, calc(100% - 48px)); max-width: 840px; padding: 40px 0 48px; }
.antoic-theme .legal h1 { margin-bottom: 12px; }
.antoic-theme .legal .updated { padding-bottom: 22px; border-bottom: 1px solid #d9e0eb; }
.antoic-theme .legal h2 { border-bottom: 1px solid #d9e0eb; color: #17243b; font-size: 22px; font-weight: 600; }
.antoic-theme .legal :is(p, li) { font-size: 16px; color: #45556b; }
.antoic-theme .callout { background: #eaf2ff; border-radius: 4px; }
.antoic-contact .wrap .lead { max-width: 590px; padding-top: 20px; border-top: 1px solid #d9e0eb; margin-top: 22px; }
.antoic-contact .contact-grid { gap: 0; background: white; border: 1px solid #d9e0eb; border-radius: 4px; }
.antoic-contact .contact-card { border: 0; border-bottom: 1px solid #d9e0eb; border-radius: 0; }
.antoic-contact .contact-card:hover { background: #eaf2ff; }
.antoic-contact .contact-card p { font-size: 14px; overflow-wrap: anywhere; }
.antoic-contact .contact-icon { background: transparent; color: #286bbe; width: 36px; }
.antoic-contact .about { padding: 24px 0 0; border: 0; border-top: 1px solid #d9e0eb; background: transparent; }
.antoic-contact .about p { font-size: 16px; }

/* Documentation: preserve sidebar, tabs, copy actions and status meanings. */
.antoic-docs .topbar.vcmc-topbar { position: fixed; }
.antoic-docs .menu-toggle span { background: #c9d5e8; }
.antoic-docs .sidebar { background: #edf2f9; border-right: 1px solid #d9e0eb; }
.antoic-docs .sidebar-section-title { color: #59677b; font-size: 13px; letter-spacing: 0; text-transform: none; }
.antoic-docs .sidebar a { color: #45556b; font-size: 14px; }
.antoic-docs .sidebar-label { min-width: 0; flex: 1; }
.antoic-docs .sidebar-badge { margin-left: 0; margin-inline-start: auto; }
.antoic-docs .sidebar a:hover { color: #1769d2; background: #e3ecfa; }
.antoic-docs .sidebar a.active { color: #1257b2; background: #dce9fc; border-left-color: #1769d2; }
.antoic-docs .sb-native { background: #dce9fc; color: #275eaa; }
.antoic-docs .sb-bedrock { background: #e0eee5; color: #276146; }
.antoic-docs .sb-java { background: #f5e8d8; color: #855015; }
.antoic-docs .section-title { color: #103b77; font-size: clamp(28px, 3vw, 38px); font-weight: 750; border-bottom: 1px solid #d9e0eb; padding-bottom: 18px; }
.antoic-docs .content { background: #fff; }
.antoic-docs .content :is(p, li) { font-size: 16px; }
.antoic-docs :is(.info-box, .alert-box, .danger-box, .success-box, .platform-switch, .doc-img, pre) { border-radius: 4px; box-shadow: none; }
.antoic-docs .info-box { background: #eaf2ff; border-left-color: #1769d2; color: #304f79; }
.antoic-docs .platform-switch-button { border-radius: 4px; font-size: 14px; font-weight: 600; }
.antoic-docs .platform-switch-button[aria-selected="true"] { background: #1769d2; box-shadow: none; }
.antoic-docs .code-copy-button { border-radius: 4px; font-size: 13px; }
.antoic-docs .docs-status-platform { background: #eaf2ff; color: #275eaa; }
.antoic-docs .doc-mode-icon { display: inline-block; vertical-align: middle; margin-inline-end: 12px; image-rendering: pixelated; }
.antoic-docs .doc-server-icon { filter: brightness(0); }

/* Releases: flat version rows and simple reading sections. */
.antoic-changelog .page { width: min(1120px, calc(100% - 48px)); }
.antoic-changelog .hero { padding: 24px 0; border: 0; border-bottom: 1px solid #d9e0eb; background: transparent; border-radius: 0; }
.antoic-changelog .hero::after { content: none; }
.antoic-changelog .hero-copy { font-size: 16px; margin-top: 16px; }
.antoic-changelog .release-list { gap: 0; background: white; border: 1px solid #d9e0eb; border-radius: 4px; overflow: hidden; }
.antoic-changelog .release-card { padding: 22px; border: 0; border-bottom: 1px solid #d9e0eb; border-radius: 0; }
.antoic-changelog .release-card:last-child { border: 0; }
.antoic-changelog .release-card:hover { background: #eaf2ff; }
.antoic-changelog .release-card p { font-size: 16px; }
.antoic-changelog .release-card-date { font-size: 13px; }
.antoic-changelog .change-grid { grid-template-columns: 1fr; gap: 0; }
.antoic-changelog .change-section { padding: 24px 0; border: 0; border-bottom: 1px solid #d9e0eb; background: transparent; }
.antoic-changelog .change-section h2 { font-size: 22px; font-weight: 600; }
.antoic-changelog .change-section li { font-size: 16px; }
.antoic-changelog :is(.notice, .current-docs-cta, .empty-state) { border-radius: 4px; box-shadow: none; }
.antoic-changelog .current-docs-cta { background: #eaf2ff; border-color: #cbd8eb; color: #17243b; }
.antoic-changelog .current-docs-cta span { color: #59677b; }
.antoic-changelog .current-docs-cta a { background: #1769d2; color: white; border-radius: 4px; }

/* Members and support retain their live data and original art. */
.antoic-members { --paper: #f4f6fa; --card: #fff; --patreon: #1769d2; --patreon-dark: #1257b2; --soft-red: #eaf2ff; --shadow: none; }
.antoic-members .hero { min-height: 0; padding: 32px 24px; background: transparent; }
.antoic-members .hero::before, .antoic-members .hero::after { content: none; }
.antoic-members .hero-art { width: min(420px, 100%); margin-bottom: 18px; }
.antoic-members .hero h1 { max-width: 700px; margin: 12px auto 18px; }
.antoic-members .hero h1 span { color: #103b77; }
.antoic-members .hero-copy { font-size: 16px; border-top: 1px solid #d9e0eb; padding-top: 20px; margin-bottom: 22px; }
.antoic-members .members-section { padding: 32px 0 40px; }
.antoic-members :is(.section-heading h2, .support-card h2) { font-size: 26px; font-weight: 600; letter-spacing: -.4px; }
.antoic-members :is(.member-total, .member-avatar, .status-icon) { border-radius: 4px; }
.antoic-members .member-total { border-color: #cbd8eb; }
.antoic-members .member-tier { font-size: 14px; }
.antoic-members .privacy-note { font-size: 14px; }
.antoic-members .support-card { padding: 28px; margin-bottom: 40px; background: #e7eef8; color: #17243b; border: 1px solid #cbd8eb; }
.antoic-members .support-card :is(.eyebrow, p:not(.eyebrow)) { color: #45556b; }
.antoic-members .secondary-button { background: white; color: #1769d2; border: 1px solid #cbd8eb; }
.antoic-support { display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; padding: 0; }
.antoic-support .container { margin: 40px auto; width: min(650px, calc(100% - 48px)); }
.antoic-support .profile-section { margin-bottom: 24px; }
.antoic-support .description { border: 0; border-top: 1px solid #d9e0eb; border-radius: 0; background: transparent; padding: 20px 0 0; backdrop-filter: none; }
.antoic-support .link-card { color: #17243b; background: white; border: 1px solid #d9e0eb; border-radius: 4px; }
.antoic-support .link-card:hover { transform: none; box-shadow: none; background: #eaf2ff; border-color: #1769d2; }
.antoic-support .icon-box:not(.icon-patreon) { background: transparent; color: #286bbe; }
.antoic-support .text-content p { font-size: 14px; }
.antoic-support .footer { color: #59677b; font-size: 13px; }
.antoic-support #toast { border-radius: 4px; background: #0c1931; }
.antoic-callback .card { background: white; border: 1px solid #d9e0eb; border-radius: 4px; box-shadow: none; }
.antoic-callback h1 { color: #103b77; font-size: 30px; }
.antoic-callback .mark { color: #1769d2; background: #eaf2ff; border-radius: 4px; }
.antoic-callback .card a { background: #1769d2; color: white; border-radius: 4px; }
.antoic-download header { background: #0c1931; border-bottom: 3px solid #1769d2; box-shadow: none; }
.antoic-download .container { width: min(800px, calc(100% - 32px)); min-height: 0; box-shadow: none; border: 1px solid #d9e0eb; border-radius: 4px; }
.antoic-download .project-img { box-shadow: none; image-rendering: pixelated; }
.antoic-download .project-header { border-bottom-color: #d9e0eb; }
.antoic-download .project-header h2 { color: #103b77; }
.antoic-download .text-section p { text-align: start; font-size: 16px; }
.antoic-download .naru-message { border: 1px solid #d9e0eb; background: #edf2f9; color: #45556b; border-radius: 4px; }
.antoic-download .important-message { border-radius: 4px; background: #eaf2ff; }
.antoic-download .download-area { background: #e7eef8; color: #17243b; }
@media (max-width: 760px) {
    .antoic-theme .topbar:not(.vcmc-topbar) { padding: 12px 16px; flex-wrap: wrap; gap: 10px 18px; }
    .antoic-theme :is(.topbar-links, .topbar-nav) { gap: 14px; flex-wrap: wrap; }
    .antoic-theme .topbar-logo { font-size: 18px; }
    .antoic-theme :is(.legal, .wrap), .antoic-home :is(.hero, .apps-section), .antoic-changelog .page { width: calc(100% - 32px); }
    .antoic-home .app-card { grid-template-columns: 1fr; padding: 22px; gap: 18px; }
    .antoic-home .card-top { grid-row: auto; }
    .antoic-home .card-footer { grid-column: 1; }
    .antoic-contact .contact-grid { grid-template-columns: 1fr; }
    .antoic-docs .topbar.vcmc-topbar .vcmc-nav-links a:not(.vcmc-nav-cta) { display: none; }
    .antoic-changelog .vcmc-nav-inner { flex-wrap: wrap; gap: 10px 20px; padding-block: 10px; }
    .antoic-changelog .vcmc-nav-links a:last-child { display: inline-flex; }
    .antoic-members .hero { padding: 24px 16px; }
    .antoic-members .support-card { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
    .antoic-theme { scroll-behavior: auto; }
    .antoic-theme *, .antoic-theme *::before, .antoic-theme *::after { transition: none !important; animation: none !important; }
}
