/* =========================
   IRON & DICE — SSI/TSR UI
   ========================= */

* {
    box-sizing: border-box;
}

/* =========================
   PAGE
   ========================= */

body {
    margin: 0;
    font-family: "Perfect DOS VGA 437", monospace;
font-weight: normal;
font-size: 20px;

    background-color: #070b12;
    background-image: url("dungeon wall.png");
    background-repeat: repeat;
    background-position: top left;

    color: #e7eaf0;
    line-height: 1.8;
}

.screen {
    padding: 24px 14px;
}

.slab {
    max-width: 980px;
    margin: 0 auto;
    position: relative;
}

/* =========================
   GENERIC PANEL
   ========================= */

.panel {
    background: transparent;
    border: none;
}

/* =========================
   HEADER
   ========================= */

.panel-title {
    text-align: center;
    padding: 60px 58px 12px;
    
    
}

.site-logo {
    display: block;
    width: 100%;
    max-width: 480px;
    height: auto;
    margin: 0 auto;
}

.site-tagline {
    margin: 2px 0 0;
    font-size: 1rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #cfd6e4;
}

/* =========================
   NAVIGATION
   ========================= */


.panel-nav {
    padding: 14px 58px 28px;
    margin: 0 auto 12px;

    background: rgba(0, 0, 0, 0.22);
backdrop-filter: blur(4px);
-webkit-backdrop-filter: blur(4px);

    border-top: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(0,0,0,.80);
    border-radius: 10px;
}

.panel-nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;

    gap: 30px;

    list-style: none;
    margin: 0;
    padding: 0;
}

.panel-nav a {
    display: inline-block;

    padding: 6px 10px;

    color: #d7b35c;
    text-decoration: none;

    font-weight: 700;
    letter-spacing: .03em;

    text-shadow:
        0 1px 0 #000,
        0 0 4px rgba(0,0,0,.45);

    transition:
        color .15s ease,
        background .15s ease,
        transform .15s ease;
}

.panel-nav a:hover {
    color: #f5d98b;

    background: rgba(255,255,255,.06);

    border-radius: 3px;

    transform: translateY(-2px);
}

/* =========================
   MAIN CONTENT
   ========================= */

.panel-main {
    padding: 24px 58px;
font-size: 24px;
    background: rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);

    border-top: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(0,0,0,.80);

    border-radius: 10px;
}

.panel-main h2,
.panel-main h3 {
    font-weight: bold;
}

.panel-main h2 {
    margin: 0 0 18px;
}

.panel-main h3 {
    margin: 32px 0 10px;
}

.panel-main p {
    margin: 0 0 12px;
    text-align: justify;
    hyphens: auto;
}

.panel-main a {
    color: #e7eaf0;
    text-decoration: underline;
}

/* =========================
   FOOTER
   ========================= */

.panel-footer {
    padding: 40px 58px 24px;

    text-align: center;
    font-size: 20px;
    color: #c7ccd6;
}

/* =========================
   TABLES
   ========================= */

.table-wrap {
    width: 100%;
    overflow-x: auto;
    margin: 22px 0 32px;
}

.rule-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .95rem;
}

.rule-table th,
.rule-table td {
    padding: 6px 8px;
    border: 1px solid #101a28;
    text-align: center;
}

.rule-table thead th {
  background: rgba(27, 38, 54, 0.85);
    color: #e7eaf0;
}

.rule-table tbody th[scope="row"] {
  background: rgba(31, 43, 60, 0.85);
    color: #e7eaf0;
    font-weight: bold;
}

.rule-table td {
    background: rgba(34, 48, 66, 0.85);
    color: #e7eaf0;
}

.rule-table tbody tr:nth-child(even) td {
    background: rgba(34, 48, 66, 0.85);
}

.rule-table tbody tr:nth-child(odd) td {
    background: rgba(34, 48, 66, 0.85);
}



