/* Native Index gameplay previews, framed by the homepage's editorial system. */
.dungeons-section {
    --dg-muted: #9ba8b9;
    --dg-line: #293240;
    --dg-blue: #87cded;
    position: relative;
    padding: 84px 0 0;
    color: var(--home-paper);
    border-block: 1px solid var(--home-line);
    isolation: isolate;
    background:
        radial-gradient(ellipse at 90% 5%, #14344885, transparent 32%),
        radial-gradient(ellipse at 0% 65%, #15294675, transparent 35%),
        #090d14;
}

.dungeons-section > .shell {
    position: relative;
    z-index: 1;
}

/* Tile-map lines, drifting light and small encounter markers behind the gameplay. */
.dg-atmosphere {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    user-select: none;
}

.dg-atmosphere-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(#87cded0b 1px, transparent 1px),
        linear-gradient(90deg, #87cded0b 1px, transparent 1px);
    background-size: 76px 76px;
    mask-image: linear-gradient(#000, #0003 35%, #0009 70%, transparent);
}

.dg-atmosphere-glow {
    position: absolute;
    inset: -80px -10%;
    background: radial-gradient(ellipse 45% 16% at 80% 12%, #58c9ef22, transparent),
        radial-gradient(ellipse 40% 20% at 5% 70%, #477fea1c, transparent);
    animation: dg-light-drift 20s ease-in-out infinite alternate;
}

.dg-atmosphere-word {
    position: absolute;
    right: -1%;
    top: 8px;
    color: transparent;
    -webkit-text-stroke: 1px #87cded14;
    font: 900 clamp(6rem, 17vw, 20rem)/1 var(--home-display);
    letter-spacing: -.035em;
}

.dg-atmosphere i {
    position: absolute;
    left: 6%;
    top: 8%;
    width: 7px;
    height: 7px;
    border: 1px solid #87cded80;
    box-shadow: 0 0 15px #87cded55;
    animation: dg-marker-drift 9s ease-in-out infinite;
}

.dg-atmosphere i:nth-of-type(2) { left: 93%; top: 19%; animation-delay: -3s; }
.dg-atmosphere i:nth-of-type(3) { left: 3%; top: 35%; animation-delay: -6s; }
.dg-atmosphere i:nth-of-type(4) { left: 96%; top: 45%; animation-delay: -2s; }
.dg-atmosphere i:nth-of-type(5) { left: 8%; top: 57%; animation-delay: -7s; }
.dg-atmosphere i:nth-of-type(6) { left: 92%; top: 70%; animation-delay: -4s; }
.dg-atmosphere i:nth-of-type(7) { left: 4%; top: 85%; animation-delay: -1s; }
.dg-atmosphere i:nth-of-type(8) { left: 95%; top: 96%; animation-delay: -5s; }

@keyframes dg-light-drift {
    from { transform: translate3d(-3%, -25px, 0); opacity: .55; }
    to { transform: translate3d(3%, 25px, 0); opacity: 1; }
}

@keyframes dg-marker-drift {
    0%, 100% { transform: translateY(20px) rotate(45deg); opacity: .15; }
    50% { transform: translateY(-20px) rotate(45deg); opacity: .8; }
}

.dungeons-section, .dungeons-section [id] {
    scroll-margin-top: 108px;
}

.dungeons-section * {
    min-width: 0;
}

.dungeons-section [hidden] {
    display: none !important;
}

.dungeons-section figure {
    margin: 0;
}

.dungeons-section p {
    color: var(--dg-muted);
    font-size: .9rem;
    line-height: 1.75;
}

.dungeons-section a {
    color: inherit;
}

.dungeons-section :is(a, button, [tabindex]):focus-visible {
    outline: 2px solid var(--dg-blue);
    outline-offset: 5px;
}

.dungeons-section button {
    font: inherit;
    cursor: pointer;
}

.dungeons-section :is(h2, h3, h4) {
    color: var(--home-paper-bright);
    text-transform: none;
    letter-spacing: -.015em;
}

.dg-kicker {
    display: block;
    color: var(--home-red);
    font-size: .64rem;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: .17em;
}

.dg-micro {
    color: var(--dg-muted);
    font-size: .6rem;
    letter-spacing: .14em;
}

.dg-heading {
    position: relative;
    padding-bottom: 36px;
}

.index-home-v3 .dg-heading h2 {
    margin: 18px 0;
    font: 800 clamp(3.8rem, 6.2vw, 6.6rem)/.98 var(--home-display);
}

.dg-heading h2 em {
    color: var(--home-red);
    font-style: normal;
    white-space: nowrap;
}

.dg-heading p {
    max-width: 620px;
    margin: 0;
    font-size: 1rem;
}

.dg-event-link {
    position: absolute;
    right: 0;
    bottom: 39px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .7rem;
}

.dg-event-link span:first-child {
    color: var(--dg-blue);
    font-size: 1.4rem;
}

.dg-contents {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-block: 1px solid var(--dg-line);
}

.dg-contents a {
    padding: 21px 18px;
    font-size: .84rem;
    border-right: 1px solid var(--dg-line);
    transition: background .2s;
}

.dg-contents a:first-child {
    padding-left: 0;
}

.dg-contents a:last-child {
    border-right: 0;
}

.dg-contents a:hover {
    background: #ffffff08;
}

.dg-contents span {
    color: var(--home-red);
    margin-right: 12px;
    font: 700 1.1rem var(--home-display);
}

.dg-exploration {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr);
    align-items: center;
    gap: clamp(28px, 4vw, 62px);
    padding: 42px 0 46px;
}

.dg-frame {
    overflow: hidden;
    border: 1px solid #354653;
    background: #0a111b;
}

.dg-frame-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 15px;
    border-bottom: 1px solid var(--dg-line);
    font-size: .74rem;
}

.dg-frame-bar strong {
    font-weight: 600;
}

.dg-frame-bar strong span {
    color: var(--dg-muted);
    font-weight: 400;
}

.dg-frame-bar > span {
    color: var(--dg-muted);
    font-size: .54rem;
    letter-spacing: .09em;
    text-align: right;
}

.dg-zoom {
    display: block;
    position: relative;
    cursor: zoom-in;
}

.dg-zoom img {
    display: block;
    width: 100%;
    height: auto;
}

.dg-enlarge {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 7px 10px;
    border: 1px solid #617282;
    background: #080d18e8;
    color: #ebf5ff;
    font-size: .59rem;
    font-weight: 600;
    letter-spacing: .04em;
    transition: background .2s;
}

.dg-zoom:hover .dg-enlarge {
    background: #254354;
}

.dg-map-key {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    padding: 12px 15px;
    color: var(--dg-muted);
    font-size: .63rem;
    border-top: 1px solid var(--dg-line);
}

.dg-map-key > span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dg-map-key i {
    display: inline-block;
    width: 9px;
    height: 9px;
}

.dg-key-party {
    border-radius: 50%;
    border: 2px solid #74efd5;
}

.dg-key-enemy {
    background: #f64360;
    transform: rotate(45deg);
}

.dg-key-fog {
    border: 1px dashed #8191a9;
}

.index-home-v3 .dg-field-guide h3 {
    margin: 12px 0 26px;
    font: 700 clamp(2.7rem, 3.5vw, 3.9rem)/1 var(--home-display);
}

.dg-notes {
    display: grid;
    gap: 22px;
    padding: 0;
    margin: 0 0 25px;
    list-style: none;
}

.dg-notes li {
    display: flex;
    gap: 14px;
}

.dg-notes li > span {
    color: var(--home-red);
    font: 600 .8rem/1.8 var(--home-display);
}

.dg-notes strong {
    display: block;
    font-size: .88rem;
    font-weight: 600;
}

.dg-notes p {
    margin: 5px 0 0;
    font-size: .8rem;
    line-height: 1.65;
}

.dg-text-link {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    color: var(--home-paper) !important;
    font-size: .77rem;
}

.dg-text-link span {
    color: var(--home-red);
}

.dg-text-link:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
}

.dg-chapter {
    padding: 40px 0 44px;
    border-top: 1px solid var(--dg-line);
}

.dg-chapter-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
}

.index-home-v3 .dg-chapter-heading h3 {
    margin: 10px 0 0;
    font: 700 clamp(2.3rem, 3.6vw, 3.7rem)/1.08 var(--home-display);
}

.dg-tabs {
    display: flex;
    gap: 0;
}

.dg-tabs button {
    border: 0;
    border-bottom: 2px solid transparent;
    padding: 13px 18px;
    background: transparent;
    color: var(--dg-muted);
    font-size: .76rem;
    white-space: nowrap;
}

.dg-tabs button:hover, .dg-tabs button[aria-selected="true"] {
    color: var(--home-paper-bright);
}

.dg-tabs button[aria-selected="true"] {
    border-bottom-color: var(--home-red);
    background: #ff536409;
}

.dg-battle-boards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.dg-example-note {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    margin: 0;
}

.dungeons-section .dg-example-note {
    font-size: .77rem;
}

.dg-example-note strong {
    color: var(--home-paper);
    font-weight: 600;
}

.dg-countdown {
    display: grid;
    place-items: center;
    flex: 0 0 27px;
    height: 30px;
    border: 1px solid #8ba2b6;
    color: var(--dg-blue);
    font: 700 1rem var(--home-display);
}

.dg-hand > .dg-zoom {
    display: grid;
    place-items: center;
}

.dg-hand img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 410px;
}

.dg-combat-rules {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--dg-line);
}

.dg-combat-rules > div {
    padding: 23px 28px 0;
    border-right: 1px solid var(--dg-line);
}

.dg-combat-rules > div:first-child {
    padding-left: 0;
}

.dg-combat-rules > div:last-child {
    padding-right: 0;
    border: 0;
}

.dg-combat-rules span {
    color: var(--dg-blue);
    font-size: .55rem;
    letter-spacing: .1em;
}

.dg-combat-rules strong {
    display: block;
    margin-top: 8px;
    font: 600 1.6rem var(--home-display);
}

.dg-combat-rules p {
    margin: 8px 0 0;
    font-size: .78rem;
}

.dg-card-tabs {
    border-bottom: 1px solid var(--dg-line);
    margin-bottom: 28px;
}

.dg-card-tabs button {
    padding-inline: 23px;
}

.dg-card-shelf {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.dg-card {
    display: grid;
    grid-template-columns: minmax(110px, .86fr) minmax(0, 1fr);
    align-items: center;
    gap: 18px;
}

.dg-card-art {
    max-width: 190px;
    margin-inline: auto;
}

.dg-card-art img {
    transition: transform .2s;
    filter: drop-shadow(0 8px 16px #0008);
}

.dg-card-art:hover img {
    transform: translateY(-5px);
}

.dg-card-art .dg-enlarge {
    bottom: 6px;
    right: 4px;
    font-size: .53rem;
    padding: 5px 7px;
}

.dg-card-type {
    display: block;
    margin-bottom: 6px;
    color: var(--dg-blue);
    font-size: .61rem;
    letter-spacing: .055em;
}

.index-home-v3 .dg-card h4 {
    margin: 0 0 14px;
    font: 600 1.75rem/1.05 var(--home-display);
}

.dg-card-copy > strong {
    display: block;
    font-size: .73rem;
    font-weight: 600;
}

.dg-card-copy p {
    font-size: .74rem;
    line-height: 1.65;
    margin: 8px 0 0;
}

.dg-monster-note {
    grid-column: span 2;
    align-self: center;
    padding: 20px 35px;
    max-width: 650px;
    border-left: 1px solid var(--dg-line);
}

.index-home-v3 .dg-monster-note h4 {
    margin: 12px 0;
    font: 600 2.5rem/1.1 var(--home-display);
}

.dg-build-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(35px, 5vw, 80px);
}

.dg-build-intro {
    max-width: 470px;
    margin: 0 0 22px;
}

.dg-class-tabs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

.dg-class-tabs button {
    padding: 10px 4px;
    border: 1px solid var(--dg-line);
    background: #101822;
    color: var(--dg-muted);
    font-size: .67rem;
    transition: border-color .2s, background .2s;
}

.dg-class-tabs button:hover {
    border-color: #60748a;
}

.dg-class-tabs button[aria-selected="true"] {
    border-color: #83cce9;
    color: white;
    background: #1a2b40;
    box-shadow: inset 0 -2px #83cce9;
}

.dg-class-tabs img {
    display: block;
    width: 58px;
    max-width: 100%;
    height: auto;
    margin: 0 auto 8px;
}

.dg-class-description {
    padding: 23px 0 18px;
    min-height: 188px;
}

.index-home-v3 .dg-class-description h4 {
    margin: 0 0 10px;
    font: 700 2.7rem/1 var(--home-display);
}

.dg-class-description p {
    margin: 0;
    max-width: 490px;
    font-size: .85rem;
}

.dg-team-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-block: 1px solid var(--dg-line);
    padding-block: 16px;
}

.dg-team-split > div:last-child {
    padding-left: 20px;
    border-left: 1px solid var(--dg-line);
}

.dg-team-split strong {
    color: var(--dg-blue);
    font: 700 2.7rem/.9 var(--home-display);
}

.dg-team-split strong span {
    margin-left: 6px;
    color: var(--home-paper);
    font: 500 1.2rem var(--home-display);
}

.dg-team-split p {
    font-size: .72rem;
    margin: 6px 0 0;
}

.dungeons-section .dg-fine-print {
    font-size: .7rem;
    line-height: 1.6;
    margin: 14px 0 0;
    max-width: 440px;
}

.dg-tree-window {
    aspect-ratio: 3 / 2;
    background: #2b2d31;
}

.dg-tree-window > img {
    display: block;
    width: 100%;
    height: auto;
}

.dg-frame-bar [data-dungeon-tree-name] {
    color: inherit;
}

.dg-tree-caption {
    padding: 12px 15px;
    border-top: 1px solid var(--dg-line);
}

.dg-tree-caption strong {
    display: block;
    font-size: .8rem;
    font-weight: 600;
}

.dg-tree-caption > span {
    display: block;
    margin-top: 5px;
    color: var(--dg-muted);
    font-size: .68rem;
}

.dg-tree-types {
    display: flex;
    gap: 8px;
    margin-top: 18px;
}

.dg-tree-types span {
    padding: 7px 13px;
    border: 1px solid #3b485c;
    font-size: .65rem;
    color: #b8cce2;
}

.dg-progression > p {
    font-size: .8rem;
    margin-bottom: 0;
}

.dg-start {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 34px 0 40px;
    border-top: 1px solid var(--dg-line);
}

.index-home-v3 .dg-start h3 {
    margin: 8px 0 0;
    font: 700 2.4rem/1 var(--home-display);
}

.dg-start .button {
    flex-shrink: 0;
}

.dg-start code {
    font: inherit;
    font-weight: 700;
    color: inherit;
    background: none;
    padding: 0;
}

.dg-lightbox {
    position: fixed;
    inset: 0;
    width: min(1300px, calc(100vw - 32px));
    max-width: none;
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 55px 20px 20px;
    border: 1px solid #56687e;
    background: #0b1019;
    color: #f1ede4;
    overflow: auto;
}

.dg-lightbox::backdrop {
    background: #02050bec;
    backdrop-filter: blur(6px);
}

.dg-lightbox-art > img {
    display: block;
    max-width: 100%;
    width: auto;
    max-height: calc(100dvh - 180px);
    margin: auto;
    object-fit: contain;
}

.dg-lightbox-close {
    position: absolute;
    top: 12px;
    right: 14px;
    border: 1px solid #687c8e;
    padding: 6px 12px;
    background: #172435;
    color: white;
    font-size: .8rem !important;
}

.dg-lightbox-close span {
    margin-left: 14px;
}

.dg-lightbox p {
    max-width: 850px;
    margin: 16px auto 0;
    font-size: .83rem;
    color: #c3cfdf;
}

body:has(.dg-lightbox[open]) {
    overflow: hidden;
}

@media (min-width: 1500px) {
    .dg-card {
        gap: 22px;
    }

    .dg-card-copy p {
        font-size: .8rem;
    }
}

@media (max-width: 1180px) {
    .dg-event-link {
        position: static;
        margin-top: 20px;
    }

    .dg-exploration {
        grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr);
        gap: 30px;
    }

    .dg-notes {
        gap: 15px;
    }

    .dg-field-guide .dg-text-link {
        font-size: .7rem;
    }

    .dg-card {
        grid-template-columns: 1fr;
        gap: 16px;
        align-content: start;
    }

    .dg-card-art {
        width: 165px;
    }

    .dg-card-copy {
        padding-inline: 12px;
    }

    .dg-card-copy p {
        font-size: .81rem;
    }

    .dg-class-tabs {
        grid-template-columns: repeat(3, 1fr);
    }

    .dg-class-tabs button {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 10px 8px;
    }

    .dg-class-tabs img {
        width: 38px;
        margin: 0;
    }

    .dg-build-grid {
        gap: 32px;
        align-items: center;
    }

    .dg-contents a {
        font-size: .74rem;
        padding-inline: 12px;
    }

    .dg-start {
        flex-wrap: wrap;
    }
}

@media (max-width: 800px) {
    .dungeons-section {
        padding-top: 52px;
    }

    .dg-heading h2 em {
        white-space: normal;
    }

    .dg-contents {
        grid-template-columns: repeat(2, 1fr);
    }

    .dg-contents a {
        font-size: .8rem;
        padding: 16px 10px;
    }

    .dg-contents a:first-child {
        padding-left: 10px;
    }

    .dg-contents a:nth-child(2) {
        border-right: 0;
    }

    .dg-contents a:nth-child(n + 3) {
        border-top: 1px solid var(--dg-line);
    }

    .dg-exploration {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-block: 28px 35px;
    }

    .index-home-v3 .dg-field-guide h3 {
        font-size: 2.8rem;
        margin-bottom: 20px;
    }

    .dg-field-guide h3 br {
        display: none;
    }

    .dg-notes {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .dg-notes li {
        display: block;
    }

    .dg-notes li > span {
        display: block;
        margin-bottom: 6px;
    }

    .dg-chapter-heading {
        flex-wrap: wrap;
        gap: 18px;
    }

    .dg-chapter-heading .dg-tabs {
        width: 100%;
    }

    .dg-chapter-heading .dg-tabs button {
        flex: 1;
    }

    .dg-build-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .dg-class-tabs {
        grid-template-columns: repeat(6, 1fr);
    }

    .dg-class-tabs button {
        display: block;
    }

    .dg-class-tabs img {
        width: 55px;
        margin: 0 auto 8px;
    }

    .dg-class-description {
        min-height: 0;
        padding-bottom: 25px;
    }

    .dg-build-intro, .dg-class-description p {
        max-width: none;
    }

    .dg-card-tabs {
        overflow-x: auto;
        scrollbar-width: thin;
    }

    .dg-card-tabs button {
        padding-inline: 19px;
    }

    .dg-combat-rules > div {
        padding-inline: 16px;
    }

    .dg-combat-rules strong {
        font-size: 1.4rem;
    }

    .dg-card-shelf {
        gap: 18px;
    }

    .dg-card-art {
        width: 100%;
        max-width: 165px;
    }

    .dg-card-copy {
        padding: 0;
    }

    .dg-card-copy > strong {
        font-size: .72rem;
    }

    .dg-monster-note {
        padding: 15px 24px;
    }

    .dg-start > div {
        flex-basis: 100%;
    }
}

@media (max-width: 540px) {
    .index-home-v3 .dg-heading h2 {
        font-size: clamp(3.1rem, 12.8vw, 4.4rem);
    }

    .dg-heading h2 em {
        display: block;
        margin-top: 2px;
    }

    .dg-heading p {
        font-size: .88rem;
    }

    .dg-heading {
        padding-bottom: 25px;
    }

    .dg-event-link {
        font-size: .65rem;
    }

    .dg-contents a {
        font-size: .65rem;
        padding: 16px 8px;
    }

    .dg-contents span {
        margin-right: 7px;
    }

    .dg-frame-bar {
        padding: 10px;
        font-size: .65rem;
        gap: 8px;
    }

    .dg-frame-bar > span {
        font-size: .47rem;
    }

    .dg-map-key {
        padding: 11px 10px;
        gap: 16px;
        font-size: .55rem;
    }

    .dg-enlarge {
        right: 8px;
        bottom: 8px;
        padding: 5px 7px;
        font-size: .54rem;
    }

    .dg-notes {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .dg-notes li {
        display: flex;
    }

    .dg-notes li > span {
        margin: 0;
    }

    .dg-notes p {
        font-size: .81rem;
    }

    .dg-chapter {
        padding-block: 30px;
    }

    .dg-battle-boards {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .dg-example-note {
        align-items: flex-start;
        font-size: .72rem !important;
    }

    .dg-combat-rules {
        grid-template-columns: 1fr;
        gap: 18px;
        padding-top: 20px;
    }

    .dg-combat-rules > div {
        border: 0;
        padding: 0;
    }

    .dg-combat-rules strong {
        display: inline;
        margin-left: 14px;
        font-size: 1.5rem;
    }

    .dg-combat-rules p {
        margin-top: 5px;
    }

    .dg-card-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin-bottom: 20px;
    }

    .dg-card-tabs button {
        padding: 13px 8px;
        font-size: .72rem;
    }

    .dg-card-shelf {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .dg-card {
        grid-template-columns: minmax(108px, .85fr) minmax(0, 1.2fr);
        align-items: center;
        gap: 18px;
    }

    .dg-card-copy p {
        font-size: .75rem;
    }

    .dg-card-type {
        font-size: .56rem;
    }

    .index-home-v3 .dg-card h4 {
        font-size: 1.7rem;
        margin-bottom: 10px;
    }

    .dg-card-copy > strong {
        font-size: .69rem;
    }

    .dg-monster-note {
        grid-column: auto;
        padding: 22px 0 0;
        border-left: 0;
        border-top: 1px solid var(--dg-line);
    }

    .dg-class-tabs {
        grid-template-columns: repeat(3, 1fr);
        gap: 9px;
    }

    .dg-class-tabs img {
        width: 58px;
    }

    .dg-class-tabs button {
        font-size: .74rem;
        padding: 12px 8px;
    }

    .dg-team-split strong {
        font-size: 2.4rem;
    }

    .dg-team-split strong span {
        font-size: 1.05rem;
    }

    .dg-team-split p {
        font-size: .63rem;
    }

    .dg-team-split > div:last-child {
        padding-left: 13px;
    }

    .dg-progression .dg-frame-bar > span {
        font-size: .43rem;
    }

    .dg-start {
        gap: 22px;
        padding-block: 30px 36px;
    }

    .dg-lightbox {
        width: calc(100vw - 16px);
        padding: 55px 12px 16px;
        max-height: calc(100dvh - 16px);
    }

    .dg-lightbox p {
        font-size: .75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dungeons-section *, .dungeons-section *::before, .dungeons-section *::after {
        animation: none !important;
        transition: none !important;
    }
}
