a.btn {
    text-decoration: none;
}



.container { /* Container spacing */
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 1.25rem;
}
/* ===== Daily Quest chip ===== */
.daily-quest {
    max-width: var(--maxw);
    margin: .5rem auto 0;
    padding: 0 1rem;
    display: flex;
    justify-content: flex-end;
}

.quest-chip {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border-radius: 999px;
    padding: .35rem .65rem;
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(0,0,0,.35);
    color: #f4ecd6;
    box-shadow: 0 4px 10px rgba(0,0,0,.25);
}

    .quest-chip button {
        border: none;
        background: transparent;
        color: inherit;
        cursor: pointer;
        font-size: 1rem;
    }

body.light .quest-chip {
    background: #fff1cf;
    color: #2a1b08;
    border-color: rgba(0,0,0,.15);
}

/* ===== Artifact of the Week ===== */
.artifact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: center;
}

    .artifact .media {
        aspect-ratio: 4/3;
        background: #0002 center/cover no-repeat;
        border-radius: 14px;
        border: 1px solid rgba(255,255,255,.12);
    }

.countdown {
    font-variant-numeric: tabular-nums;
    opacity: .95;
}

@media (max-width: 800px) {
    .artifact {
        grid-template-columns: 1fr;
    }
}
/* ===== Map Teaser ===== */

.map-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.14)
}

body.light .map-card {
    border-color: rgba(0,0,0,.14)
}

.map-card img {
    display: block;
    width: 100%;
    height: auto;
    filter: saturate(.98)
}

.map-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    padding: .25rem .55rem;
    border-radius: 999px;
    background: rgba(0,0,0,.55);
    color: #fff;
    font-size: .9rem;
    border: 1px solid rgba(255,255,255,.25)
}

body.light .map-badge {
    background: #fff1cf;
    color: #2a1b08;
    border-color: rgba(0,0,0,.15)
}

.map-cta {
    position: absolute;
    right: 12px;
    bottom: 12px
}

/* ===============================
        GRID SECTIONS
        =============================== */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .9rem;
}

@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .grid-4 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

.parch-card {
    border-radius: 2rem;
    background-color: #01000B;
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: var(--elev);
    position: relative;
}

body.light .parch-card {
    background: url(/assets/day.jpg)
}

.parch-card::before {
    content: "";
    position: absolute;
    inset: 0;
    mix-blend-mode: multiply;
    opacity: 1;
    pointer-events: none;
    border-radius: inherit;
}

.parch-card .inner {
    padding: 1rem;
}
/* ===============================
        CAROUSEL: New & Noteworthy
        =============================== */
.carousel {
    margin: 2rem 1.25rem;
}

.carousel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: .75rem;
}

.scroller {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(240px, 300px);
    gap: .9rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: .25rem;
}

.card {
    scroll-snap-align: start;
    border-radius: var(--radius);
    background: url(assets/night.jpg);
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: var(--elev);
}

body.light .card {
    background: url(assets/day.jpg)
}

.card .media {
    aspect-ratio: 4/3;
    background: #0001;
    border-bottom: 1px solid rgba(0,0,0,.08);
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
    background-size: cover;
    background-position: center;
}

.card .body {
    padding: .8rem;
}

    .card .body h4 {
        margin: .1rem 0 .35rem;
    }

/* ===============================
        MODALS (Deal + Dice)
        =============================== */
.modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.6);
    z-index: 80;
}

    .modal[open] {
        display: flex;
    }

    .modal .dialog {
        width: min(520px, 92vw);
        background: linear-gradient(var(--bg-0), var(--bg-1));
        border: 1px solid rgba(0,0,0,.15);
        border-radius: var(--radius-lg);
        box-shadow: var(--elev);
        padding: 1rem;
    }

#diceResults, .dialog h3, label {
    color: black;
}
