/*
 * Decorative tabletop details. Pointer events stay disabled on ornaments.
 */

/* Quiet botanical geometry; decorative layers never capture board gestures. */
@font-face {
    font-family: Zodiak;
    src: url('../webfonts/zodiak/Zodiak-Light.woff2') format('woff2');
    font-weight: 300;
    font-display: swap;
}
:root {
    --druid-heading: Zodiak, Georgia, serif;
    --druid-line: #c9b37e42;
}
.lobby-intro h1,
.saved-rooms h2,
.dialog-header h2,
.room-heading > button,
.panel-heading h2,
.inspector-heading h2,
.intro h1,
.filter-row h2,
.dialog-top h2,
.token-library h2 {
    font-family: var(--druid-heading);
    font-weight: 300;
    letter-spacing: 0.015em;
}
#lobby {
    position: relative;
    background: radial-gradient(ellipse at 87% 25%, #61744913, transparent 44%);
}
.lobby-intro {
    position: relative;
    max-width: none;
    padding-right: 285px;
}
.lobby-intro::after {
    content: '';
    position: absolute;
    right: 4px;
    top: 28px;
    width: 245px;
    height: 245px;
    background: url('../images/site/druidic-seal.svg') center/contain no-repeat;
    opacity: 0.58;
    pointer-events: none;
}
.lobby-intro h1 {
    font-size: 58px;
    letter-spacing: -1px;
    color: #f0e4c8;
}
.lobby-header {
    border-bottom-color: var(--druid-line);
}
.lobby-header > a:last-child {
    color: #cdbc96;
}
.create-room {
    position: relative;
    border-color: var(--druid-line);
    box-shadow:
        inset 0 0 0 4px #151917,
        inset 0 0 0 5px #bda67312;
}
.saved-rooms > h2 {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 25px;
    color: #e4d3ae;
}
.saved-rooms > h2::after {
    content: '';
    width: 110px;
    height: 1px;
    background: linear-gradient(90deg, #c9b37e66, transparent);
}
.room-card {
    border-color: #85785538;
}
.room-card:hover {
    border-color: #c9b37e88;
}
.gm-header {
    border-bottom-color: var(--druid-line);
    background-image: linear-gradient(90deg, #9f8e4d0d, transparent 45%);
}
.room-heading > button {
    color: #ebd9b0;
    font-size: 18px;
}
.workspace .panel-heading h2,
.workspace .inspector-heading h2 {
    color: #dfcfaa;
    font-size: 17px;
}
.board-toolbar,
.action-dock,
.scene-bar {
    border-color: var(--druid-line);
}
.board-host::after {
    content: '';
    position: absolute;
    inset: 7px;
    pointer-events: none;
    background: url('../images/site/druidic-corner.svg') top left/65px 65px no-repeat;
    opacity: 0.55;
}
.board-host::before {
    content: '';
    position: absolute;
    inset: 7px;
    pointer-events: none;
    background: url('../images/site/druidic-corner.svg') top left/65px 65px no-repeat;
    transform: rotate(180deg);
    opacity: 0.55;
    z-index: 1;
}
#display .board-host::before,
#display .board-host::after {
    opacity: 0.38;
    background-size: 54px 54px;
}
#display-cover {
    background: #0b100c url('../images/site/druidic-seal.svg') center/240px no-repeat;
}
#display-cover > span {
    font-family: var(--druid-heading);
    font-size: 21px;
    padding: 12px 20px;
    background: #0b100ce8;
    color: #cfbd94;
}
.dialog-header {
    border-bottom: 1px solid var(--druid-line);
    padding-bottom: 15px;
}
.intro h1 {
    color: #efdfbd;
    letter-spacing: -0.8px;
}
.intro {
    position: relative;
}
.intro::after {
    content: '';
    position: absolute;
    right: 210px;
    top: 18px;
    width: 160px;
    height: 160px;
    background: url('../images/site/druidic-seal.svg') center/contain no-repeat;
    opacity: 0.14;
    pointer-events: none;
}
.topbar {
    border-bottom-color: var(--druid-line);
}
@media (max-width: 760px) {
    .lobby-intro {
        padding-right: 150px;
    }
    .lobby-intro::after {
        width: 145px;
        height: 145px;
        top: 55px;
        right: -6px;
    }
    .lobby-intro h1 {
        font-size: 44px;
    }
    .lobby-intro > p:last-child {
        font-size: 16px;
    }
    .intro::after {
        display: none;
    }
}
@media (max-width: 480px) {
    .lobby-intro {
        padding-right: 0;
    }
    .lobby-intro::after {
        width: 80px;
        height: 80px;
        right: 0;
        top: 10px;
        opacity: 0.32;
    }
    .lobby-intro h1 {
        font-size: 40px;
    }
    .lobby-intro .eyebrow {
        padding-right: 80px;
    }
    .board-host::before,
    .board-host::after {
        background-size: 42px 42px;
        opacity: 0.4;
    }
    .room-heading > button {
        font-size: 13px;
    }
}
@media (forced-colors: active) {
    .lobby-intro::after,
    .intro::after,
    .board-host::before,
    .board-host::after {
        display: none;
    }
}
