@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Cinzel+Decorative:wght@400;700&family=Atkinson+Hyperlegible:wght@400;700&family=Spectral:wght@400;700&display=swap');
/*
.markdown-reading-view,
.markdown-preview-view,
.markdown-preview-view .markdown-preview-sizer {
    background-color: #d1bea7;
}
*/

.markdown-preview-view,
.markdown-preview-view * {
    font-family: 'Spectral', serif;
    font-weight: 1000;
    color: #000000;
    line-height: 1.5;
    text-rendering: optimizeLegibility;
    text-shadow: 0 0 4px rgba(0,0,0,0.445);
}

.markdown-preview-view p,
.markdown-preview-view li,
.markdown-preview-view td,
.markdown-preview-view th,
.markdown-preview-view span,
.markdown-preview-view div {
    font-size: 1rem;
    text-shadow: 0 0 4px rgba(0,0,0,0.445);
}

.markdown-preview-view p {
    text-indent: 2rem;
    text-align: justify;
    margin: 0;
}

.markdown-preview-view li,
.markdown-preview-view li p,
.markdown-preview-view td,
.markdown-preview-view th,
.markdown-preview-view div,
.markdown-preview-view span,
.markdown-preview-view small {
    text-indent: 0;
}

/* HEADINGS — CLEANED + TIGHT SPACING */
.markdown-preview-view h1,
.markdown-preview-view h2,
.markdown-preview-view h3,
.markdown-preview-view h4,
.markdown-preview-view h5,
.markdown-preview-view h6 {
    font-family: 'Cinzel Decorative', serif;
    font-weight: 1000;
    color: #000000;
    text-shadow: none;
    text-align: center;
    letter-spacing: 0;
    font-kerning: normal;
    font-feature-settings: "kern";
    line-height: 1.1;
    margin-top: 0;
    margin-bottom: 0;
}

.markdown-preview-view h1 a,
.markdown-preview-view h2 a,
.markdown-preview-view h3 a,
.markdown-preview-view h4 a,
.markdown-preview-view h5 a,
.markdown-preview-view h6 a {
    font-family: 'Cinzel Decorative', serif !important;
    font-weight: 1000 !important;
    text-shadow: none !important;
    color: #000 !important;
}

.markdown-preview-view h1 a:hover,
.markdown-preview-view h2 a:hover,
.markdown-preview-view h3 a:hover,
.markdown-preview-view h4 a:hover,
.markdown-preview-view h5 a:hover,
.markdown-preview-view h6 a:hover {
    color: rgb(0, 255, 255) !important;
    text-shadow:
        0 0 12px rgba(0, 255, 255, 0.9),
        0 0 24px rgba(0, 255, 255, 0.7),
        0 0 48px rgba(0, 255, 255, 0.5),
        0 0 96px rgba(0, 255, 255, 0.4) !important;
    border-bottom-color: rgb(0, 255, 255) !important;
}

.markdown-preview-view h1 { font-size: 3rem; }
.markdown-preview-view h2 { font-size: 2.5rem; }
.markdown-preview-view h3 { font-size: 2rem; }
.markdown-preview-view h4 { font-size: 1.75rem; }
.markdown-preview-view h5 { font-size: 1.5rem; }
.markdown-preview-view h6 { font-size: 1.25rem; }

.markdown-preview-view a,
.markdown-preview-view .internal-link {
    color: #000000;
    font-weight: 1000;
    text-indent: 0;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.212);

    /* ⭐ Wrapped dotted underline */
    text-decoration-line: underline;
    text-decoration-style: dotted;
    text-decoration-thickness: 3px;
    text-underline-offset: 2px;
    text-decoration-color: rgba(0, 0, 0, 0.4);

    display: inline;
    line-height: 1.1;

    transition:
        color 0.3s,
        text-shadow 0.3s,
        text-decoration-color 0.3s;
}

.markdown-preview-view a:hover,
.markdown-preview-view .internal-link:hover {
    color: #2ce7f8;
    text-shadow: 0 0 6px rgb(0, 174, 255);
    border-bottom-color: #2ce7f8;
}

/* LISTS */
.markdown-preview-view ul {
    list-style: none;
    padding-left: 2rem;
    margin-bottom: 0;
}

.markdown-preview-view ul li {
    position: relative;
    margin-bottom: 0;
}

.markdown-preview-view ul li::before {
    content: "•";
    position: absolute;
    left: -1rem;
    top: 0;
    font-size: 1rem;
    color: #000000;
    text-shadow: 0 0 4px rgba(0,0,0,0.445);
}

/* BLOCKQUOTES */
.markdown-preview-view blockquote {
    margin: 1rem 0;
    padding-left: 1rem;
    border-left: 3px solid #c46bff;
    font-style: italic;
    opacity: 0.9;
}

/* CODE */
.markdown-preview-view code {
    font-family: 'Atkinson Hyperlegible', monospace;
    background: rgba(255,255,255,0.05);
    padding: 0.15rem 0.3rem;
    border-radius: 4px;
    font-size: 0.9em;
    text-shadow: none;
}

.markdown-preview-view pre code {
    display: block;
    padding: 1rem;
    background: rgba(0,0,0,0.1);
    border-radius: 6px;
}

/* TABLES */
.markdown-preview-view table {
    border-collapse: collapse;
    margin: 0 auto;
    margin-top: 0;
}

.markdown-preview-view table th,
.markdown-preview-view table td {
    text-align: center !important;
    vertical-align: middle !important;
    font-size: 1rem !important;
    color: #000000 !important;
    text-shadow: 0 0 4px rgba(0,0,0,0.445);
}

.markdown-preview-view table th {
    /*background-color: rgba(255, 255, 255, 0.35) !important;*/
    border-bottom: 2px solid rgba(0,0,0,0.4) !important;
}

.markdown-preview-view table th h6 {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 1.25rem !important;
    font-family: 'Cinzel Decorative', serif !important;
    font-weight: 1000 !important;
    color: #000000 !important;
    text-shadow: none !important;
    line-height: 1.5rem !important;
    letter-spacing: 0 !important;
    text-align: center !important;
}

.markdown-preview-view h1 + table,
.markdown-preview-view h2 + table,
.markdown-preview-view h3 + table,
.markdown-preview-view h4 + table,
.markdown-preview-view h5 + table,
.markdown-preview-view h6 + table {
    margin-top: 0;
    padding-top: 0;
}

.markdown-preview-view hr {
    border: none;
    border-top: 3px solid #000000;
    margin: 0.5rem 0;
}

.markdown-preview-view h1 + hr {
    margin-top: 0;
}

.markdown-preview-view img {
    max-width: 100%;
    margin: 1rem auto;
    display: block;
}

.markdown-preview-view .infobox {
    float: right;
    width: 300px;
    margin: 0 0 1.5rem 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.35);
    border: 3px solid rgba(0, 0, 0, 0.4);
    border-radius: 17px;
    box-sizing: border-box;
}

@media (max-width: 500px) {
    .markdown-preview-view .infobox {
        float: none;
        width: 100%;
        margin: 1rem 0;
    }
}

.markdown-preview-view .infobox > .infobox-section > h6 {
    margin: 0 0 0.15rem 0;
    padding: 0;
    text-align: center;
    font-weight: 700;
    line-height: 1.2;
}

.markdown-preview-view .infobox-row {
    margin-bottom: 0.1rem;
    text-align: left;
    line-height: 1.3;
}

.markdown-preview-view .infobox-row .label {
    display: inline-block;
    padding-right: 0.3rem;
    white-space: nowrap;
    font-weight: 600;
}

.markdown-preview-view .infobox-row .value {
    display: inline;
    font-weight: normal;
    text-align: left;
}
