Jump to content

MediaWiki:Common.css: Difference between revisions

From Crucible Codex
No edit summary
No edit summary
Line 509: Line 509:
.nightcats-theme h3 {
.nightcats-theme h3 {
     font-size: 1.2em !important;
     font-size: 1.2em !important;
}


}
.nightcats-theme h1 {
    font-size: 2.3em !important;
}
.nightcats-theme h2 {
    font-size: 1.75em !important;
}
.nightcats-theme h3 {
    font-size: 1.35em !important;
}
.nightcats-theme h1,
.nightcats-theme h2 {
    border-bottom: 1px solid #6d4c22 !important;
    padding-bottom: 4px !important;
}


.nightcats-theme a,
.nightcats-theme a,

Revision as of 19:14, 31 March 2026

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Libre+Baskerville:wght@400;700&family=Crimson+Pro:wght@400;600;700&display=swap');

/* =========================================================
   CRUCIBLE CODEX - FULL SITE CSS
   Cleaned and consolidated master stylesheet

   Includes:
   - Global Codex styling
   - Nightcats themed wrapper
   - Five Fists of the Burning Temple themed wrapper

   Notes:
   - FFBT styles are scoped with the ffbt- prefix
   - FFBT pages are designed to use:
     <div class="ffbt-wrapper"><div class="ffbt-scroll texture">...</div></div>
   ========================================================= */


/* =========================
   GLOBAL PAGE / BODY
   ========================= */

html,
body,
.mw-page-container,
.vector-body {
    background: #15110e;
    color: #e7dcc5;
    font-family: 'Libre Baskerville', Georgia, "Times New Roman", serif;
}

body {
    margin: 0;
    padding: 0;
}

/* Main content area */
.mw-body,
.vector-body {
    background: #211914;
    color: #e7dcc5;
    border: 1px solid #5c4630;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.25);
}


/* =========================
   GLOBAL HEADINGS / TEXT
   ========================= */

#firstHeading,
.mw-first-heading,
.mw-parser-output h1,
.mw-parser-output h2,
.mw-parser-output h3,
.mw-parser-output h4,
.mw-parser-output h5,
.mw-parser-output h6,
h1, h2, h3, h4, h5, h6 {
    color: #c9a15a !important;
    font-family: 'Cinzel', Georgia, serif !important;
    font-weight: 600;
    letter-spacing: 0.04em;
    visibility: visible !important;
    opacity: 1 !important;
}

h1,
h2,
.mw-parser-output h1,
.mw-parser-output h2 {
    border-bottom: 1px solid #5c4630;
    padding-bottom: 0.2em;
}

h1 {
    font-size: 2em;
}

h2 {
    font-size: 1.6em;
}

h3 {
    font-size: 1.25em;
}

h4 {
    font-size: 1.1em;
}

p, li, dt, dd, td, th {
    color: #e7dcc5;
}

small,
.mw-footer,
#siteSub,
.catlinks {
    color: #bfae8e;
}


/* =========================
   LINKS
   ========================= */

a {
    color: #d8b06a;
    text-decoration: none;
}

a:visited {
    color: #a88552;
}

a:hover,
a:focus {
    color: #e0bf7a;
    text-decoration: underline;
}


/* =========================
   SIDEBAR / VECTOR NAV
   ========================= */

.vector-pinned-container,
.vector-column-start,
#mw-panel,
.vector-menu,
.vector-user-links {
    background: #1a1410;
    color: #e7dcc5;
}

.vector-menu-heading,
#mw-panel h3 {
    color: #c9a15a;
}


/* =========================
   TOP HEADER / TOOLBAR / TABS
   ========================= */

.vector-header-container,
.vector-header,
.mw-header,
.vector-page-toolbar,
.vector-sticky-header,
.vector-page-titlebar {
    background: #15110e !important;
    background-color: #15110e !important;
    border-bottom: 1px solid #5c4630 !important;
}

.vector-header a,
.vector-header span,
.mw-header a,
.mw-header span,
.vector-user-links,
.vector-user-links a,
.vector-page-toolbar button,
.vector-page-toolbar a {
    color: #e7dcc5 !important;
}


/* =========================
   SEARCH / FORM ELEMENTS
   ========================= */

.vector-search-box,
.vector-search-box-vue,
.vector-typeahead-search-container {
    background: transparent !important;
}

input,
textarea,
select,
.vector-search-box input,
#searchInput {
    background: #2a2018 !important;
    color: #e7dcc5 !important;
    border: 1px solid #5c4630 !important;
    font-family: 'Libre Baskerville', Georgia, serif;
}

input:focus,
textarea:focus,
select:focus {
    border-color: #c9a15a !important;
    outline: none;
}

.vector-search-box input::placeholder,
#searchInput::placeholder {
    color: #bfae8e !important;
}

input:-webkit-autofill,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #2a2018 inset !important;
    -webkit-text-fill-color: #e7dcc5 !important;
}


/* =========================
   TABLES / WIKITABLES
   ========================= */

table,
.wikitable {
    background: #211914;
    color: #e7dcc5;
    border: 1px solid #5c4630;
    border-collapse: collapse;
}

.wikitable th {
    background: #2a2018;
    color: #c9a15a;
    border: 1px solid #5c4630;
}

.wikitable td {
    border: 1px solid #5c4630;
}


/* =========================
   INFOBOXES
   ========================= */

.infobox,
table.infobox,
.portable-infobox {
    background: #1d1612;
    color: #e7dcc5;
    border: 1px solid #5c4630;
}

.infobox th,
table.infobox th,
.portable-infobox .pi-title {
    background: #2a2018;
    color: #c9a15a;
}

.infobox td,
table.infobox td,
.portable-infobox .pi-data {
    color: #e7dcc5;
}


/* =========================
   TOC / CATEGORY
   ========================= */

.catlinks,
#toc,
.toc {
    background: #1d1612;
    border: 1px solid #5c4630;
    color: #e7dcc5;
}

#toc .toctitle,
.toc .toctitle,
#toc .toctitle h2,
.toc .toctitle h2 {
    color: #c9a15a;
    border-bottom: 0;
}

#toc a,
.toc a {
    color: #d8b06a;
}


/* =========================
   IMAGE HANDLING - GLOBAL
   ========================= */

.thumb,
.image,
.thumbinner,
.thumbimage,
.gallerybox .thumb,
.gallerybox .thumbinner {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.thumbinner,
.gallerybox .thumbinner {
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

img,
.mw-file-element {
    display: inline-block;
    max-width: 100%;
    height: auto;
    border: 2px solid #d7ad47 !important;
    background: transparent !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
}

.codex-header img,
.nightcats-header img,
.ffbt-header img {
    max-width: 100% !important;
    height: auto;
    display: block;
    margin: 0 auto;
}

.floatright,
.tright,
.thumb.tright,
.thumb.floatright {
    float: right !important;
    clear: right !important;
    display: block !important;
    margin: 28px 0 12px 16px !important;
}

.floatleft,
.tleft,
.thumb.tleft,
.thumb.floatleft {
    float: left !important;
    clear: left !important;
    display: block !important;
    margin: 12px 16px 12px 0 !important;
}

.floatright img,
.tright img,
.thumb.tright img,
.thumb.floatright img,
.floatleft img,
.tleft img,
.thumb.tleft img,
.thumb.floatleft img,
.floatright .mw-file-element,
.tright .mw-file-element,
.thumb.tright .mw-file-element,
.thumb.floatright .mw-file-element,
.floatleft .mw-file-element,
.tleft .mw-file-element,
.thumb.tleft .mw-file-element,
.thumb.floatleft .mw-file-element {
    display: block !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}


/* =========================
   CODE / PRE
   ========================= */

pre,
code {
    background: #181311;
    color: #e7dcc5;
    border: 1px solid #4b3928;
}

pre {
    padding: 10px;
    overflow: auto;
}


/* =========================
   HR / PAGE POLISH
   ========================= */

hr {
    border: 0;
    border-top: 1px solid #5c4630;
    clear: both;
}


/* =========================
   MAIN PAGE
   ========================= */

.page-Main_Page #firstHeading {
    display: none;
}

.page-Main_Page .mw-body {
    margin-top: 0;
}

.codex-header,
.nightcats-header,
.ffbt-header {
    margin-top: 0;
    max-width: 100%;
    overflow: hidden;
}


/* =========================
   HIDE SECTION EDIT LINKS
   ========================= */

.mw-editsection,
.mw-editsection-like,
.mw-editsection-bracket,
.mw-editsection-divider,
.mw-parser-output .mw-editsection,
.mw-parser-output .mw-editsection-like,
.vector-body .mw-editsection,
.vector-body .mw-editsection-like,
h1 .mw-editsection,
h2 .mw-editsection,
h3 .mw-editsection,
h4 .mw-editsection,
h5 .mw-editsection,
h6 .mw-editsection,
h1 .mw-editsection-like,
h2 .mw-editsection-like,
h3 .mw-editsection-like,
h4 .mw-editsection-like,
h5 .mw-editsection-like,
h6 .mw-editsection-like {
    display: none !important;
}

.mw-editsection::before,
.mw-editsection::after,
.mw-editsection-like::before,
.mw-editsection-like::after {
    display: none !important;
    content: none !important;
}

/* =========================
   NIGHTCATS SECTION THEME (REVISED TO MATCH ACTUAL MARKUP)
   ========================= */

.nightcats-theme {
    max-width: 960px !important;
    margin: 30px auto !important;
    padding: 32px 40px !important;
    background: #1a120c !important;
    border: 2px solid #8b6730 !important;
    border-radius: 14px !important;
    box-shadow:
        0 0 0 3px rgba(0,0,0,0.35),
        0 10px 26px rgba(0,0,0,0.45) !important;
    color: #e6d7b0 !important;
    font-family: 'Crimson Pro', Georgia, serif !important;
    line-height: 1.7 !important;
    font-size: 18px !important;
    overflow: hidden !important;
}

.nightcats-theme p,
.nightcats-theme li,
.nightcats-theme td,
.nightcats-theme th,
.nightcats-theme dt,
.nightcats-theme dd {
    color: #e6d7b0 !important;
    font-size: 1em !important;
}
.nightcats-theme h1,
.nightcats-theme h2,
.nightcats-theme h3,
.nightcats-theme h4,
.nightcats-theme h5,
.nightcats-theme h6,
.nightcats-theme .mw-headline {
    font-family: 'Cinzel', Georgia, serif !important;
    color: #d7ad47 !important;
    letter-spacing: 0.04em !important;
    visibility: visible !important;
    opacity: 1 !important;
    line-height: 1.25 !important;
}

.nightcats-theme h1 {
    font-size: 1.8em !important;
}

.nightcats-theme h2 {
    font-size: 1.45em !important;
}

.nightcats-theme h3 {
    font-size: 1.2em !important;


.nightcats-theme a,
.nightcats-theme a:visited {
    color: #e6c76a !important;
    text-decoration: none !important;
}

.nightcats-theme a:hover,
.nightcats-theme a:focus {
    color: #ffd97d !important;
    text-decoration: underline !important;
}

.nightcats-theme table,
.nightcats-theme .wikitable {
    background: #1f160f !important;
    color: #e6d7b0 !important;
    border: 1px solid #5a3b1f !important;
    border-collapse: collapse !important;
}

.nightcats-theme .wikitable th {
    background: #5a2a12 !important;
    color: #f0d38d !important;
    border: 1px solid #5a3b1f !important;
}

.nightcats-theme .wikitable td {
    background: #1f160f !important;
    color: #e6d7b0 !important;
    border: 1px solid #5a3b1f !important;
}

.nightcats-theme blockquote {
    background: #3a2414 !important;
    border-left: 4px solid #b8842f !important;
    color: #e6d7b0 !important;
    padding: 0.8em 1em !important;
    margin: 1em 0 1em 1.2em !important;
    font-style: italic !important;
}

.nightcats-theme hr,
.nightcats-theme .mw-parser-output hr {
    border: 0 !important;
    border-top: 1px solid #6d4c22 !important;
    margin: 16px 0 !important;
    clear: both !important;
}

.nightcats-theme #toc,
.nightcats-theme .toc,
.nightcats-theme .catlinks {
    background: #1f160f !important;
    border: 1px solid #5a3b1f !important;
    color: #e6d7b0 !important;
}

.nightcats-theme #toc .toctitle,
.nightcats-theme .toc .toctitle,
.nightcats-theme #toc .toctitle h2,
.nightcats-theme .toc .toctitle h2 {
    color: #d7ad47 !important;
    border-bottom: 0 !important;
}

.nightcats-theme img,
.nightcats-theme .mw-file-element {
    border: 2px solid #d7ad47 !important;
    background: transparent !important;
    box-shadow: none !important;
    max-width: 100% !important;
    height: auto !important;
}

.nightcats-theme ul {
    margin-left: 1.2em !important;
}



/* =========================
   FIVE FISTS OF THE BURNING TEMPLE
   Use on pages wrapped in:
   <div class="ffbt-wrapper"><div class="ffbt-scroll texture">...</div></div>
   ========================= */

.ffbt-wrapper {
    background:
        linear-gradient(to bottom, #2a120e 0%, #3b1a14 40%, #1a0a07 100%);
    background-image: url("/images/ash_texture.png");
    background-blend-mode: multiply;
    padding: 24px;
    color: #1a1a1a;
    font-family: Georgia, "Times New Roman", serif;
}

/* Main scroll panel */
.ffbt-scroll {
    max-width: 960px;
    margin: 0 auto;
    padding: 32px;
    background: #fffaf0;
    border: 2px solid #6e1f16;
    box-shadow:
        0 0 18px rgba(0,0,0,0.2),
        0 0 40px rgba(255,120,40,0.15);
    position: relative;
    color: #1a1a1a;
}

/* Optional paper texture */
.ffbt-scroll.texture {
    background-image: url("/images/ricepaper.png");
    background-size: cover;
    background-repeat: repeat;
}

/* Burned edge overlay */
.ffbt-scroll::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: url("/images/burned_edges.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    opacity: 0.9;
}

.ffbt-scroll::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(
        ellipse at center,
        rgba(0,0,0,0) 60%,
        rgba(0,0,0,0.25) 100%
    );
}

/* Typography inside parchment */
.ffbt-scroll,
.ffbt-scroll p,
.ffbt-scroll li,
.ffbt-scroll td,
.ffbt-scroll th,
.ffbt-scroll dt,
.ffbt-scroll dd {
    color: #2a1a12;
    font-family: 'Libre Baskerville', Georgia, serif;
}

.ffbt-scroll h1,
.ffbt-scroll h2,
.ffbt-scroll h3,
.ffbt-scroll h4,
.ffbt-scroll h5,
.ffbt-scroll h6 {
    font-family: 'Cinzel', Georgia, serif !important;
    color: #1a1a1a !important;
    font-weight: 600;
}

.ffbt-scroll h1 {
    font-size: 2.3em;
    border-bottom: 4px solid #8f2318;
    padding-bottom: 8px;
    margin-bottom: 18px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ffbt-scroll h2 {
    color: #1a1a1a !important;
    border-left: 6px solid #8f2318;
    border-bottom: 0;
    padding-left: 12px;
    margin-top: 32px;
    margin-bottom: 12px;
    font-weight: normal;
}

.ffbt-scroll h3 {
    color: #5c2a18 !important;
    margin-top: 24px;
    margin-bottom: 8px;
    font-weight: bold;
}

/* Links inside parchment */
.ffbt-scroll a,
.ffbt-scroll a:visited {
    color: #8f2318;
    text-decoration: none;
}

.ffbt-scroll a:hover,
.ffbt-scroll a:focus {
    color: #c13a2a;
    text-decoration: underline;
}

/* Callouts and boxes */
.ffbt-callout {
    border: 1px solid #c79b4b;
    background: #f9f1df;
    color: #2a1a12;
    padding: 14px 16px;
    margin: 18px 0;
    font-style: italic;
}

.ffbt-seal {
    display: inline-block;
    background: #8f2318;
    color: #fff;
    padding: 4px 10px;
    font-size: 0.8em;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 2px;
    margin-bottom: 10px;
}

.ffbt-stylebox {
    border: 2px solid #5c2a18;
    background: #f8f0e2;
    color: #2a1a12;
    padding: 14px 16px;
    margin: 18px 0;
}

.ffbt-statblock {
    border: 2px solid #1a1a1a;
    background: #fdf8ef;
    color: #2a1a12;
    padding: 14px 16px;
    margin: 18px 0;
    line-height: 1.5;
}

.ffbt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.ffbt-card {
    background: #fbf4e8;
    border: 1px solid #c9b08c;
    color: #2a1a12;
    padding: 14px;
    box-shadow: 0 0 6px rgba(0,0,0,0.06);
}

.ffbt-card h3 {
    margin-top: 0;
    color: #8f2318 !important;
}

.ffbt-divider {
    border-bottom: 2px solid rgba(0,0,0,0.15);
    margin: 28px 0;
}

.ffbt-quicklinks ul {
    list-style: none;
    padding-left: 0;
}

.ffbt-quicklinks li {
    margin: 6px 0;
}

.ffbt-quote {
    font-style: italic;
    color: #444;
}

.ffbt-table table {
    width: 100%;
    border-collapse: collapse;
    background: #fffaf0;
    color: #2a1a12;
}

.ffbt-table th {
    background: #8f2318;
    color: #fff;
    padding: 8px;
    text-align: left;
    border: 1px solid #c9b08c;
}

.ffbt-table td {
    border: 1px solid #c9b08c;
    padding: 8px;
    color: #2a1a12;
}

.ffbt-tag {
    display: inline-block;
    border: 1px solid #c79b4b;
    background: #f9f1df;
    color: #2a1a12;
    padding: 2px 8px;
    margin-right: 6px;
    margin-bottom: 6px;
    font-size: 0.85em;
}

.ffbt-navbox {
    border: 1px solid #c9b08c;
    background: #f8efe1;
    color: #2a1a12;
    padding: 12px 16px;
    margin-top: 28px;
}

/* Outer chrome reskin for FFBT pages nested inside wrapper */
.ffbt-wrapper #content,
.ffbt-wrapper #mw-content-text {
    background: transparent;
}

.ffbt-wrapper #mw-panel {
    background: #2a140f;
    border-right: 2px solid #6e1f16;
    box-shadow: inset -2px 0 8px rgba(0,0,0,0.4);
}

.ffbt-wrapper #mw-panel a {
    color: #e6d3a3;
}

.ffbt-wrapper #mw-panel a:hover {
    color: #ffcc66;
}

.ffbt-wrapper #mw-panel h3 {
    color: #ffcc66;
    border-bottom: 1px solid #6e1f16;
    padding-bottom: 3px;
}

.ffbt-wrapper #mw-head,
.ffbt-wrapper #mw-page-base {
    background: #1a0a07;
    border-bottom: 2px solid #6e1f16;
}

.ffbt-wrapper .vectorTabs li a {
    color: #e6d3a3;
}

.ffbt-wrapper .vectorTabs li.selected a {
    background: #3b1a14;
    color: #ffcc66;
}


/* =========================
   RESPONSIVE
   ========================= */

@media screen and (max-width: 720px) {
    .nightcats-frame.right,
    .floatright,
    .tright,
    .thumb.tright,
    .thumb.floatright,
    .career-portrait {
        float: none !important;
        clear: both !important;
        display: block !important;
        margin: 12px auto !important;
        text-align: center;
    }

    .nightcats-frame.right img,
    .floatright img,
    .tright img,
    .thumb.tright img,
    .thumb.floatright img,
    .floatright .mw-file-element,
    .tright .mw-file-element,
    .career-portrait img,
    .career-portrait .mw-file-element {
        margin: 0 auto !important;
    }

    .nightcats-theme {
        padding: 16px 18px;
    }

    .ffbt-wrapper {
        padding: 16px;
    }

    .ffbt-scroll {
        padding: 20px;
    }
}

.bt-card {
    background: rgba(255, 248, 220, 0.85);
    border: 2px solid #8b6f3d;
    padding: 12px 16px;
    margin: 12px 0;
    border-radius: 6px;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.25);
}
.bt-card em {
    display: block;
    font-style: italic;
    margin-bottom: 6px;
    color: #5a3e1b;
}
.ffbt-scroll h2 {
    border-bottom: 2px solid #8b6f3d;
    padding-bottom: 4px;
    margin-top: 24px;
}

.bt-table {
    background: rgba(255, 250, 235, 0.9);
    border: 1px solid #8b6f3d;
}

.bt-navbox {
    margin-top: 30px;
    padding: 12px;
    border-top: 2px solid #8b6f3d;
    text-align: center;
    font-size: 0.9em;
}

.bt-navbox a {
    margin: 0 6px;
}


/* =========================================================
   SIGIL LANDS SUBWIKI STYLES
   For use only on pages wrapped in .sigil-wrapper
   ========================================================= */

.sigil-wrapper {
  --sigil-bg: #19130f;
  --sigil-panel: #e7d9b7;
  --sigil-panel-dark: #d8c7a0;
  --sigil-ink: #2a1d14;
  --sigil-muted: #5a4b3d;
  --sigil-gold: #b38a3d;
  --sigil-blue: #5d7fa3;
  --sigil-red: #7a2e2a;
  --sigil-green: #314235;
  --sigil-gray: #6c655d;
  --sigil-border: #4a3626;

  color: var(--sigil-ink);
  font-family: Georgia, "Palatino Linotype", "Book Antiqua", Palatino, serif;
  line-height: 1.65;
  background:
    radial-gradient(circle at top, rgba(179,138,61,0.08), transparent 35%),
    linear-gradient(to bottom, #241b15 0%, #19130f 100%);
  padding: 24px;
  border-radius: 16px;
}

.sigil-wrapper .mw-parser-output {
  max-width: 1100px;
  margin: 0 auto;
}

.sigil-page {
  background:
    linear-gradient(rgba(255,255,255,0.06), rgba(0,0,0,0.03)),
    var(--sigil-panel);
  border: 1px solid var(--sigil-border);
  border-radius: 18px;
  box-shadow:
    0 0 0 3px rgba(74,54,38,0.18),
    0 10px 30px rgba(0,0,0,0.35);
  padding: 28px 34px 36px;
  position: relative;
}

.sigil-page::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(74,54,38,0.25);
  border-radius: 12px;
  pointer-events: none;
}

/* Banner block */
.sigil-banner {
  text-align: center;
  margin: 0 0 28px;
}

.sigil-banner img {
  width: 100%;
  max-width: 1000px;
  height: auto;
  border: 1px solid var(--sigil-border);
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* Titles */
.sigil-wrapper h1,
.sigil-wrapper h2,
.sigil-wrapper h3,
.sigil-wrapper h4 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--sigil-ink);
}

.sigil-wrapper h1 {
  font-size: 2.2rem;
  text-align: center;
  margin: 0.4em 0 0.7em;
  color: #23160f;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sigil-wrapper h2 {
  font-size: 1.45rem;
  margin-top: 1.8em;
  margin-bottom: 0.65em;
  padding-bottom: 0.3em;
  border-bottom: 2px solid var(--sigil-gold);
  position: relative;
}

.sigil-wrapper h2::after {
  content: "✦";
  color: var(--sigil-gold);
  font-size: 0.95rem;
  position: absolute;
  bottom: -0.7em;
  left: 0;
  background: var(--sigil-panel);
  padding-right: 8px;
}

.sigil-wrapper h3 {
  font-size: 1.15rem;
  margin-top: 1.4em;
  margin-bottom: 0.45em;
  color: var(--sigil-red);
}

.sigil-wrapper h4 {
  font-size: 1rem;
  margin-top: 1.2em;
  margin-bottom: 0.35em;
  color: var(--sigil-green);
}

/* Paragraphs and lists */
.sigil-wrapper p,
.sigil-wrapper li {
  font-size: 1.03rem;
  color: var(--sigil-ink);
}

.sigil-wrapper p {
  margin: 0.75em 0;
}

.sigil-wrapper ul,
.sigil-wrapper ol {
  margin: 0.75em 0 0.9em 1.5em;
}

.sigil-wrapper li {
  margin-bottom: 0.3em;
}

/* Links */
.sigil-wrapper a {
  color: #6c261f;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dotted rgba(108,38,31,0.45);
}

.sigil-wrapper a:hover {
  color: var(--sigil-blue);
  border-bottom-color: var(--sigil-blue);
}

/* Intro text */
.sigil-lead {
  font-size: 1.1rem;
  text-align: center;
  color: var(--sigil-muted);
  max-width: 850px;
  margin: 0 auto 1.6em;
  font-style: italic;
}

/* Callout boxes */
.sigil-callout,
.sigil-chronicle,
.sigil-omen {
  margin: 1.4em 0;
  padding: 1em 1.1em;
  border-radius: 12px;
  border-left: 5px solid var(--sigil-gold);
  background: rgba(255,248,230,0.66);
  box-shadow: inset 0 0 0 1px rgba(74,54,38,0.10);
}

.sigil-chronicle {
  border-left-color: var(--sigil-blue);
}

.sigil-omen {
  border-left-color: var(--sigil-red);
  background: rgba(122,46,42,0.08);
}

/* Quote / verse blocks */
.sigil-verse,
.sigil-wrapper blockquote {
  margin: 1.5em auto;
  max-width: 840px;
  padding: 1em 1.4em;
  background: rgba(49,66,53,0.06);
  border-left: 4px solid var(--sigil-green);
  color: #2f241d;
  font-style: italic;
  border-radius: 10px;
}

.sigil-verse cite,
.sigil-wrapper blockquote cite {
  display: block;
  margin-top: 0.7em;
  font-style: normal;
  color: var(--sigil-muted);
  text-align: right;
}

/* Tables */
.sigil-wrapper table.wikitable {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4em 0;
  background: rgba(255,250,240,0.72);
  border: 1px solid var(--sigil-border);
  font-size: 0.98rem;
}

.sigil-wrapper table.wikitable th {
  background: linear-gradient(to bottom, #4c3828, #3a2a1f);
  color: #f2e4bf;
  padding: 10px 12px;
  border: 1px solid #2b1f17;
  text-align: left;
  letter-spacing: 0.04em;
}

.sigil-wrapper table.wikitable td {
  padding: 9px 12px;
  border: 1px solid rgba(74,54,38,0.30);
  color: var(--sigil-ink);
}

.sigil-wrapper table.wikitable tr:nth-child(even) td {
  background: rgba(179,138,61,0.06);
}

/* Infobox / side panels */
.sigil-infobox {
  float: right;
  width: 300px;
  margin: 0 0 1.2em 1.5em;
  padding: 0;
  background: #efe2bf;
  border: 1px solid var(--sigil-border);
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
  overflow: hidden;
}

.sigil-infobox-title {
  background: linear-gradient(to right, #4c3828, #664a33);
  color: #f2e4bf;
  font-weight: 700;
  text-align: center;
  padding: 0.75em 1em;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sigil-infobox-body {
  padding: 1em 1.1em;
  font-size: 0.96rem;
}

.sigil-infobox-body p:first-child {
  margin-top: 0;
}

/* Small nav cards */
.sigil-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 1.5em 0;
}

.sigil-card {
  background: linear-gradient(to bottom, rgba(255,248,230,0.95), rgba(223,206,170,0.95));
  border: 1px solid var(--sigil-border);
  border-radius: 14px;
  padding: 1em 1em 0.9em;
  box-shadow: 0 3px 12px rgba(0,0,0,0.12);
}

.sigil-card h3 {
  margin-top: 0;
  color: var(--sigil-ink);
}

.sigil-card p {
  color: var(--sigil-muted);
  font-size: 0.96rem;
}

/* Horizontal rule */
.sigil-wrapper hr {
  border: 0;
  height: 2px;
  margin: 2em 0;
  background: linear-gradient(to right, transparent, var(--sigil-gold), transparent);
}

/* Images */
.sigil-wrapper img {
  border-radius: 8px;
}

/* Responsive */
@media (max-width: 840px) {
  .sigil-page {
    padding: 20px 18px 24px;
  }

  .sigil-infobox {
    float: none;
    width: 100%;
    margin: 1em 0;
  }

  .sigil-wrapper h1 {
    font-size: 1.8rem;
  }

  .sigil-wrapper h2 {
    font-size: 1.25rem;
  }
}